@beeq/react 1.8.0-beta.8 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +12 -0
- package/README.md +66 -25
- package/eslint.config.js +41 -0
- package/jest.config.ts +14 -0
- package/package.json +21 -22
- package/project.json +28 -0
- package/src/components.ts +721 -0
- package/src/{index.js → index.ts} +0 -1
- package/ssr/{index.js → index.ts} +0 -1
- package/tsconfig.json +19 -0
- package/tsconfig.lib.json +21 -0
- package/tsconfig.spec.json +20 -0
- package/src/components.d.ts +0 -291
- package/src/components.js +0 -445
- package/src/components.js.map +0 -1
- package/src/index.d.ts +0 -1
- package/src/index.js.map +0 -1
- package/ssr/components.d.ts +0 -5
- package/ssr/components.js +0 -8
- package/ssr/components.js.map +0 -1
- package/ssr/components.server.d.ts +0 -294
- package/ssr/components.server.js +0 -661
- package/ssr/components.server.js.map +0 -1
- package/ssr/index.d.ts +0 -1
- package/ssr/index.js.map +0 -1
|
@@ -0,0 +1,721 @@
|
|
|
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
|
+
import { BqAccordionGroup as BqAccordionGroupElement, defineCustomElement as defineBqAccordionGroup } from "@beeq/core/dist/components/bq-accordion-group.js";
|
|
12
|
+
import { BqAccordion as BqAccordionElement, defineCustomElement as defineBqAccordion } from "@beeq/core/dist/components/bq-accordion.js";
|
|
13
|
+
import { BqAlert as BqAlertElement, defineCustomElement as defineBqAlert } from "@beeq/core/dist/components/bq-alert.js";
|
|
14
|
+
import { BqAvatar as BqAvatarElement, defineCustomElement as defineBqAvatar } from "@beeq/core/dist/components/bq-avatar.js";
|
|
15
|
+
import { BqBadge as BqBadgeElement, defineCustomElement as defineBqBadge } from "@beeq/core/dist/components/bq-badge.js";
|
|
16
|
+
import { BqBreadcrumbItem as BqBreadcrumbItemElement, defineCustomElement as defineBqBreadcrumbItem } from "@beeq/core/dist/components/bq-breadcrumb-item.js";
|
|
17
|
+
import { BqBreadcrumb as BqBreadcrumbElement, defineCustomElement as defineBqBreadcrumb } from "@beeq/core/dist/components/bq-breadcrumb.js";
|
|
18
|
+
import { BqButton as BqButtonElement, defineCustomElement as defineBqButton } from "@beeq/core/dist/components/bq-button.js";
|
|
19
|
+
import { BqCard as BqCardElement, defineCustomElement as defineBqCard } from "@beeq/core/dist/components/bq-card.js";
|
|
20
|
+
import { BqCheckbox as BqCheckboxElement, defineCustomElement as defineBqCheckbox } from "@beeq/core/dist/components/bq-checkbox.js";
|
|
21
|
+
import { BqDatePicker as BqDatePickerElement, defineCustomElement as defineBqDatePicker } from "@beeq/core/dist/components/bq-date-picker.js";
|
|
22
|
+
import { BqDialog as BqDialogElement, defineCustomElement as defineBqDialog } from "@beeq/core/dist/components/bq-dialog.js";
|
|
23
|
+
import { BqDivider as BqDividerElement, defineCustomElement as defineBqDivider } from "@beeq/core/dist/components/bq-divider.js";
|
|
24
|
+
import { BqDrawer as BqDrawerElement, defineCustomElement as defineBqDrawer } from "@beeq/core/dist/components/bq-drawer.js";
|
|
25
|
+
import { BqDropdown as BqDropdownElement, defineCustomElement as defineBqDropdown } from "@beeq/core/dist/components/bq-dropdown.js";
|
|
26
|
+
import { BqEmptyState as BqEmptyStateElement, defineCustomElement as defineBqEmptyState } from "@beeq/core/dist/components/bq-empty-state.js";
|
|
27
|
+
import { BqIcon as BqIconElement, defineCustomElement as defineBqIcon } from "@beeq/core/dist/components/bq-icon.js";
|
|
28
|
+
import { BqInput as BqInputElement, defineCustomElement as defineBqInput } from "@beeq/core/dist/components/bq-input.js";
|
|
29
|
+
import { BqNotification as BqNotificationElement, defineCustomElement as defineBqNotification } from "@beeq/core/dist/components/bq-notification.js";
|
|
30
|
+
import { BqOptionGroup as BqOptionGroupElement, defineCustomElement as defineBqOptionGroup } from "@beeq/core/dist/components/bq-option-group.js";
|
|
31
|
+
import { BqOptionList as BqOptionListElement, defineCustomElement as defineBqOptionList } from "@beeq/core/dist/components/bq-option-list.js";
|
|
32
|
+
import { BqOption as BqOptionElement, defineCustomElement as defineBqOption } from "@beeq/core/dist/components/bq-option.js";
|
|
33
|
+
import { BqPageTitle as BqPageTitleElement, defineCustomElement as defineBqPageTitle } from "@beeq/core/dist/components/bq-page-title.js";
|
|
34
|
+
import { BqPanel as BqPanelElement, defineCustomElement as defineBqPanel } from "@beeq/core/dist/components/bq-panel.js";
|
|
35
|
+
import { BqProgress as BqProgressElement, defineCustomElement as defineBqProgress } from "@beeq/core/dist/components/bq-progress.js";
|
|
36
|
+
import { BqRadioGroup as BqRadioGroupElement, defineCustomElement as defineBqRadioGroup } from "@beeq/core/dist/components/bq-radio-group.js";
|
|
37
|
+
import { BqRadio as BqRadioElement, defineCustomElement as defineBqRadio } from "@beeq/core/dist/components/bq-radio.js";
|
|
38
|
+
import { BqSelect as BqSelectElement, defineCustomElement as defineBqSelect } from "@beeq/core/dist/components/bq-select.js";
|
|
39
|
+
import { BqSideMenuItem as BqSideMenuItemElement, defineCustomElement as defineBqSideMenuItem } from "@beeq/core/dist/components/bq-side-menu-item.js";
|
|
40
|
+
import { BqSideMenu as BqSideMenuElement, defineCustomElement as defineBqSideMenu } from "@beeq/core/dist/components/bq-side-menu.js";
|
|
41
|
+
import { BqSlider as BqSliderElement, defineCustomElement as defineBqSlider } from "@beeq/core/dist/components/bq-slider.js";
|
|
42
|
+
import { BqSpinner as BqSpinnerElement, defineCustomElement as defineBqSpinner } from "@beeq/core/dist/components/bq-spinner.js";
|
|
43
|
+
import { BqStatus as BqStatusElement, defineCustomElement as defineBqStatus } from "@beeq/core/dist/components/bq-status.js";
|
|
44
|
+
import { BqStepItem as BqStepItemElement, defineCustomElement as defineBqStepItem } from "@beeq/core/dist/components/bq-step-item.js";
|
|
45
|
+
import { BqSteps as BqStepsElement, defineCustomElement as defineBqSteps } from "@beeq/core/dist/components/bq-steps.js";
|
|
46
|
+
import { BqSwitch as BqSwitchElement, defineCustomElement as defineBqSwitch } from "@beeq/core/dist/components/bq-switch.js";
|
|
47
|
+
import { BqTabGroup as BqTabGroupElement, defineCustomElement as defineBqTabGroup } from "@beeq/core/dist/components/bq-tab-group.js";
|
|
48
|
+
import { BqTab as BqTabElement, defineCustomElement as defineBqTab } from "@beeq/core/dist/components/bq-tab.js";
|
|
49
|
+
import { BqTag as BqTagElement, defineCustomElement as defineBqTag } from "@beeq/core/dist/components/bq-tag.js";
|
|
50
|
+
import { BqTextarea as BqTextareaElement, defineCustomElement as defineBqTextarea } from "@beeq/core/dist/components/bq-textarea.js";
|
|
51
|
+
import { BqToast as BqToastElement, defineCustomElement as defineBqToast } from "@beeq/core/dist/components/bq-toast.js";
|
|
52
|
+
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
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
55
|
+
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>({
|
|
68
|
+
tagName: 'bq-accordion',
|
|
69
|
+
elementClass: BqAccordionElement,
|
|
70
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
71
|
+
react: React,
|
|
72
|
+
events: {
|
|
73
|
+
onBqBlur: 'bqBlur',
|
|
74
|
+
onBqFocus: 'bqFocus',
|
|
75
|
+
onBqOpen: 'bqOpen',
|
|
76
|
+
onBqAfterOpen: 'bqAfterOpen',
|
|
77
|
+
onBqClose: 'bqClose',
|
|
78
|
+
onBqAfterClose: 'bqAfterClose',
|
|
79
|
+
onBqClick: 'bqClick'
|
|
80
|
+
} as BqAccordionEvents,
|
|
81
|
+
defineCustomElement: defineBqAccordion
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
type BqAccordionGroupEvents = NonNullable<unknown>;
|
|
85
|
+
|
|
86
|
+
export const BqAccordionGroup: StencilReactComponent<BqAccordionGroupElement, BqAccordionGroupEvents> = /*@__PURE__*/ createComponent<BqAccordionGroupElement, BqAccordionGroupEvents>({
|
|
87
|
+
tagName: 'bq-accordion-group',
|
|
88
|
+
elementClass: BqAccordionGroupElement,
|
|
89
|
+
// @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
|
+
react: React,
|
|
91
|
+
events: {} as BqAccordionGroupEvents,
|
|
92
|
+
defineCustomElement: defineBqAccordionGroup
|
|
93
|
+
});
|
|
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>({
|
|
103
|
+
tagName: 'bq-alert',
|
|
104
|
+
elementClass: BqAlertElement,
|
|
105
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
106
|
+
react: React,
|
|
107
|
+
events: {
|
|
108
|
+
onBqHide: 'bqHide',
|
|
109
|
+
onBqShow: 'bqShow',
|
|
110
|
+
onBqAfterShow: 'bqAfterShow',
|
|
111
|
+
onBqAfterHide: 'bqAfterHide'
|
|
112
|
+
} as BqAlertEvents,
|
|
113
|
+
defineCustomElement: defineBqAlert
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
type BqAvatarEvents = NonNullable<unknown>;
|
|
117
|
+
|
|
118
|
+
export const BqAvatar: StencilReactComponent<BqAvatarElement, BqAvatarEvents> = /*@__PURE__*/ createComponent<BqAvatarElement, BqAvatarEvents>({
|
|
119
|
+
tagName: 'bq-avatar',
|
|
120
|
+
elementClass: BqAvatarElement,
|
|
121
|
+
// @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
|
+
react: React,
|
|
123
|
+
events: {} as BqAvatarEvents,
|
|
124
|
+
defineCustomElement: defineBqAvatar
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
type BqBadgeEvents = NonNullable<unknown>;
|
|
128
|
+
|
|
129
|
+
export const BqBadge: StencilReactComponent<BqBadgeElement, BqBadgeEvents> = /*@__PURE__*/ createComponent<BqBadgeElement, BqBadgeEvents>({
|
|
130
|
+
tagName: 'bq-badge',
|
|
131
|
+
elementClass: BqBadgeElement,
|
|
132
|
+
// @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
|
+
react: React,
|
|
134
|
+
events: {} as BqBadgeEvents,
|
|
135
|
+
defineCustomElement: defineBqBadge
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
type BqBreadcrumbEvents = NonNullable<unknown>;
|
|
139
|
+
|
|
140
|
+
export const BqBreadcrumb: StencilReactComponent<BqBreadcrumbElement, BqBreadcrumbEvents> = /*@__PURE__*/ createComponent<BqBreadcrumbElement, BqBreadcrumbEvents>({
|
|
141
|
+
tagName: 'bq-breadcrumb',
|
|
142
|
+
elementClass: BqBreadcrumbElement,
|
|
143
|
+
// @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
|
+
react: React,
|
|
145
|
+
events: {} as BqBreadcrumbEvents,
|
|
146
|
+
defineCustomElement: defineBqBreadcrumb
|
|
147
|
+
});
|
|
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>({
|
|
156
|
+
tagName: 'bq-breadcrumb-item',
|
|
157
|
+
elementClass: BqBreadcrumbItemElement,
|
|
158
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
159
|
+
react: React,
|
|
160
|
+
events: {
|
|
161
|
+
onBqBlur: 'bqBlur',
|
|
162
|
+
onBqFocus: 'bqFocus',
|
|
163
|
+
onBqClick: 'bqClick'
|
|
164
|
+
} as BqBreadcrumbItemEvents,
|
|
165
|
+
defineCustomElement: defineBqBreadcrumbItem
|
|
166
|
+
});
|
|
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>({
|
|
175
|
+
tagName: 'bq-button',
|
|
176
|
+
elementClass: BqButtonElement,
|
|
177
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
178
|
+
react: React,
|
|
179
|
+
events: {
|
|
180
|
+
onBqBlur: 'bqBlur',
|
|
181
|
+
onBqFocus: 'bqFocus',
|
|
182
|
+
onBqClick: 'bqClick'
|
|
183
|
+
} as BqButtonEvents,
|
|
184
|
+
defineCustomElement: defineBqButton
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
type BqCardEvents = NonNullable<unknown>;
|
|
188
|
+
|
|
189
|
+
export const BqCard: StencilReactComponent<BqCardElement, BqCardEvents> = /*@__PURE__*/ createComponent<BqCardElement, BqCardEvents>({
|
|
190
|
+
tagName: 'bq-card',
|
|
191
|
+
elementClass: BqCardElement,
|
|
192
|
+
// @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
|
+
react: React,
|
|
194
|
+
events: {} as BqCardEvents,
|
|
195
|
+
defineCustomElement: defineBqCard
|
|
196
|
+
});
|
|
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>({
|
|
205
|
+
tagName: 'bq-checkbox',
|
|
206
|
+
elementClass: BqCheckboxElement,
|
|
207
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
208
|
+
react: React,
|
|
209
|
+
events: {
|
|
210
|
+
onBqChange: 'bqChange',
|
|
211
|
+
onBqFocus: 'bqFocus',
|
|
212
|
+
onBqBlur: 'bqBlur'
|
|
213
|
+
} as BqCheckboxEvents,
|
|
214
|
+
defineCustomElement: defineBqCheckbox
|
|
215
|
+
});
|
|
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>({
|
|
225
|
+
tagName: 'bq-date-picker',
|
|
226
|
+
elementClass: BqDatePickerElement,
|
|
227
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
228
|
+
react: React,
|
|
229
|
+
events: {
|
|
230
|
+
onBqBlur: 'bqBlur',
|
|
231
|
+
onBqChange: 'bqChange',
|
|
232
|
+
onBqClear: 'bqClear',
|
|
233
|
+
onBqFocus: 'bqFocus'
|
|
234
|
+
} as BqDatePickerEvents,
|
|
235
|
+
defineCustomElement: defineBqDatePicker
|
|
236
|
+
});
|
|
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>({
|
|
247
|
+
tagName: 'bq-dialog',
|
|
248
|
+
elementClass: BqDialogElement,
|
|
249
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
250
|
+
react: React,
|
|
251
|
+
events: {
|
|
252
|
+
onBqCancel: 'bqCancel',
|
|
253
|
+
onBqClose: 'bqClose',
|
|
254
|
+
onBqOpen: 'bqOpen',
|
|
255
|
+
onBqAfterOpen: 'bqAfterOpen',
|
|
256
|
+
onBqAfterClose: 'bqAfterClose'
|
|
257
|
+
} as BqDialogEvents,
|
|
258
|
+
defineCustomElement: defineBqDialog
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
type BqDividerEvents = NonNullable<unknown>;
|
|
262
|
+
|
|
263
|
+
export const BqDivider: StencilReactComponent<BqDividerElement, BqDividerEvents> = /*@__PURE__*/ createComponent<BqDividerElement, BqDividerEvents>({
|
|
264
|
+
tagName: 'bq-divider',
|
|
265
|
+
elementClass: BqDividerElement,
|
|
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.
|
|
267
|
+
react: React,
|
|
268
|
+
events: {} as BqDividerEvents,
|
|
269
|
+
defineCustomElement: defineBqDivider
|
|
270
|
+
});
|
|
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>({
|
|
280
|
+
tagName: 'bq-drawer',
|
|
281
|
+
elementClass: BqDrawerElement,
|
|
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.
|
|
283
|
+
react: React,
|
|
284
|
+
events: {
|
|
285
|
+
onBqClose: 'bqClose',
|
|
286
|
+
onBqOpen: 'bqOpen',
|
|
287
|
+
onBqAfterOpen: 'bqAfterOpen',
|
|
288
|
+
onBqAfterClose: 'bqAfterClose'
|
|
289
|
+
} as BqDrawerEvents,
|
|
290
|
+
defineCustomElement: defineBqDrawer
|
|
291
|
+
});
|
|
292
|
+
|
|
293
|
+
type BqDropdownEvents = { onBqOpen: EventName<CustomEvent<{ open: boolean }>> };
|
|
294
|
+
|
|
295
|
+
export const BqDropdown: StencilReactComponent<BqDropdownElement, BqDropdownEvents> = /*@__PURE__*/ createComponent<BqDropdownElement, BqDropdownEvents>({
|
|
296
|
+
tagName: 'bq-dropdown',
|
|
297
|
+
elementClass: BqDropdownElement,
|
|
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.
|
|
299
|
+
react: React,
|
|
300
|
+
events: { onBqOpen: 'bqOpen' } as BqDropdownEvents,
|
|
301
|
+
defineCustomElement: defineBqDropdown
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
type BqEmptyStateEvents = NonNullable<unknown>;
|
|
305
|
+
|
|
306
|
+
export const BqEmptyState: StencilReactComponent<BqEmptyStateElement, BqEmptyStateEvents> = /*@__PURE__*/ createComponent<BqEmptyStateElement, BqEmptyStateEvents>({
|
|
307
|
+
tagName: 'bq-empty-state',
|
|
308
|
+
elementClass: BqEmptyStateElement,
|
|
309
|
+
// @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
|
+
react: React,
|
|
311
|
+
events: {} as BqEmptyStateEvents,
|
|
312
|
+
defineCustomElement: defineBqEmptyState
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
type BqIconEvents = { onSvgLoaded: EventName<CustomEvent<any>> };
|
|
316
|
+
|
|
317
|
+
export const BqIcon: StencilReactComponent<BqIconElement, BqIconEvents> = /*@__PURE__*/ createComponent<BqIconElement, BqIconEvents>({
|
|
318
|
+
tagName: 'bq-icon',
|
|
319
|
+
elementClass: BqIconElement,
|
|
320
|
+
// @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
|
+
react: React,
|
|
322
|
+
events: { onSvgLoaded: 'svgLoaded' } as BqIconEvents,
|
|
323
|
+
defineCustomElement: defineBqIcon
|
|
324
|
+
});
|
|
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>({
|
|
335
|
+
tagName: 'bq-input',
|
|
336
|
+
elementClass: BqInputElement,
|
|
337
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
338
|
+
react: React,
|
|
339
|
+
events: {
|
|
340
|
+
onBqBlur: 'bqBlur',
|
|
341
|
+
onBqChange: 'bqChange',
|
|
342
|
+
onBqClear: 'bqClear',
|
|
343
|
+
onBqFocus: 'bqFocus',
|
|
344
|
+
onBqInput: 'bqInput'
|
|
345
|
+
} as BqInputEvents,
|
|
346
|
+
defineCustomElement: defineBqInput
|
|
347
|
+
});
|
|
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>({
|
|
357
|
+
tagName: 'bq-notification',
|
|
358
|
+
elementClass: BqNotificationElement,
|
|
359
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
360
|
+
react: React,
|
|
361
|
+
events: {
|
|
362
|
+
onBqHide: 'bqHide',
|
|
363
|
+
onBqShow: 'bqShow',
|
|
364
|
+
onBqAfterOpen: 'bqAfterOpen',
|
|
365
|
+
onBqAfterClose: 'bqAfterClose'
|
|
366
|
+
} as BqNotificationEvents,
|
|
367
|
+
defineCustomElement: defineBqNotification
|
|
368
|
+
});
|
|
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>({
|
|
378
|
+
tagName: 'bq-option',
|
|
379
|
+
elementClass: BqOptionElement,
|
|
380
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
381
|
+
react: React,
|
|
382
|
+
events: {
|
|
383
|
+
onBqBlur: 'bqBlur',
|
|
384
|
+
onBqFocus: 'bqFocus',
|
|
385
|
+
onBqClick: 'bqClick',
|
|
386
|
+
onBqEnter: 'bqEnter'
|
|
387
|
+
} as BqOptionEvents,
|
|
388
|
+
defineCustomElement: defineBqOption
|
|
389
|
+
});
|
|
390
|
+
|
|
391
|
+
type BqOptionGroupEvents = NonNullable<unknown>;
|
|
392
|
+
|
|
393
|
+
export const BqOptionGroup: StencilReactComponent<BqOptionGroupElement, BqOptionGroupEvents> = /*@__PURE__*/ createComponent<BqOptionGroupElement, BqOptionGroupEvents>({
|
|
394
|
+
tagName: 'bq-option-group',
|
|
395
|
+
elementClass: BqOptionGroupElement,
|
|
396
|
+
// @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
|
+
react: React,
|
|
398
|
+
events: {} as BqOptionGroupEvents,
|
|
399
|
+
defineCustomElement: defineBqOptionGroup
|
|
400
|
+
});
|
|
401
|
+
|
|
402
|
+
type BqOptionListEvents = { onBqSelect: EventName<BqOptionListCustomEvent<{ value: string; item: HTMLBqOptionElement }>> };
|
|
403
|
+
|
|
404
|
+
export const BqOptionList: StencilReactComponent<BqOptionListElement, BqOptionListEvents> = /*@__PURE__*/ createComponent<BqOptionListElement, BqOptionListEvents>({
|
|
405
|
+
tagName: 'bq-option-list',
|
|
406
|
+
elementClass: BqOptionListElement,
|
|
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.
|
|
408
|
+
react: React,
|
|
409
|
+
events: { onBqSelect: 'bqSelect' } as BqOptionListEvents,
|
|
410
|
+
defineCustomElement: defineBqOptionList
|
|
411
|
+
});
|
|
412
|
+
|
|
413
|
+
type BqPageTitleEvents = NonNullable<unknown>;
|
|
414
|
+
|
|
415
|
+
export const BqPageTitle: StencilReactComponent<BqPageTitleElement, BqPageTitleEvents> = /*@__PURE__*/ createComponent<BqPageTitleElement, BqPageTitleEvents>({
|
|
416
|
+
tagName: 'bq-page-title',
|
|
417
|
+
elementClass: BqPageTitleElement,
|
|
418
|
+
// @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
|
+
react: React,
|
|
420
|
+
events: {} as BqPageTitleEvents,
|
|
421
|
+
defineCustomElement: defineBqPageTitle
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
type BqPanelEvents = NonNullable<unknown>;
|
|
425
|
+
|
|
426
|
+
export const BqPanel: StencilReactComponent<BqPanelElement, BqPanelEvents> = /*@__PURE__*/ createComponent<BqPanelElement, BqPanelEvents>({
|
|
427
|
+
tagName: 'bq-panel',
|
|
428
|
+
elementClass: BqPanelElement,
|
|
429
|
+
// @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
|
+
react: React,
|
|
431
|
+
events: {} as BqPanelEvents,
|
|
432
|
+
defineCustomElement: defineBqPanel
|
|
433
|
+
});
|
|
434
|
+
|
|
435
|
+
type BqProgressEvents = NonNullable<unknown>;
|
|
436
|
+
|
|
437
|
+
export const BqProgress: StencilReactComponent<BqProgressElement, BqProgressEvents> = /*@__PURE__*/ createComponent<BqProgressElement, BqProgressEvents>({
|
|
438
|
+
tagName: 'bq-progress',
|
|
439
|
+
elementClass: BqProgressElement,
|
|
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.
|
|
441
|
+
react: React,
|
|
442
|
+
events: {} as BqProgressEvents,
|
|
443
|
+
defineCustomElement: defineBqProgress
|
|
444
|
+
});
|
|
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>({
|
|
454
|
+
tagName: 'bq-radio',
|
|
455
|
+
elementClass: BqRadioElement,
|
|
456
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
457
|
+
react: React,
|
|
458
|
+
events: {
|
|
459
|
+
onBqClick: 'bqClick',
|
|
460
|
+
onBqFocus: 'bqFocus',
|
|
461
|
+
onBqBlur: 'bqBlur',
|
|
462
|
+
onBqKeyDown: 'bqKeyDown'
|
|
463
|
+
} as BqRadioEvents,
|
|
464
|
+
defineCustomElement: defineBqRadio
|
|
465
|
+
});
|
|
466
|
+
|
|
467
|
+
type BqRadioGroupEvents = { onBqChange: EventName<BqRadioGroupCustomEvent<{ value: string; target: HTMLBqRadioElement }>> };
|
|
468
|
+
|
|
469
|
+
export const BqRadioGroup: StencilReactComponent<BqRadioGroupElement, BqRadioGroupEvents> = /*@__PURE__*/ createComponent<BqRadioGroupElement, BqRadioGroupEvents>({
|
|
470
|
+
tagName: 'bq-radio-group',
|
|
471
|
+
elementClass: BqRadioGroupElement,
|
|
472
|
+
// @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
|
+
react: React,
|
|
474
|
+
events: { onBqChange: 'bqChange' } as BqRadioGroupEvents,
|
|
475
|
+
defineCustomElement: defineBqRadioGroup
|
|
476
|
+
});
|
|
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>({
|
|
486
|
+
tagName: 'bq-select',
|
|
487
|
+
elementClass: BqSelectElement,
|
|
488
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
489
|
+
react: React,
|
|
490
|
+
events: {
|
|
491
|
+
onBqBlur: 'bqBlur',
|
|
492
|
+
onBqClear: 'bqClear',
|
|
493
|
+
onBqFocus: 'bqFocus',
|
|
494
|
+
onBqSelect: 'bqSelect'
|
|
495
|
+
} as BqSelectEvents,
|
|
496
|
+
defineCustomElement: defineBqSelect
|
|
497
|
+
});
|
|
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>({
|
|
505
|
+
tagName: 'bq-side-menu',
|
|
506
|
+
elementClass: BqSideMenuElement,
|
|
507
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
508
|
+
react: React,
|
|
509
|
+
events: {
|
|
510
|
+
onBqCollapse: 'bqCollapse',
|
|
511
|
+
onBqSelect: 'bqSelect'
|
|
512
|
+
} as BqSideMenuEvents,
|
|
513
|
+
defineCustomElement: defineBqSideMenu
|
|
514
|
+
});
|
|
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>({
|
|
523
|
+
tagName: 'bq-side-menu-item',
|
|
524
|
+
elementClass: BqSideMenuItemElement,
|
|
525
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
526
|
+
react: React,
|
|
527
|
+
events: {
|
|
528
|
+
onBqBlur: 'bqBlur',
|
|
529
|
+
onBqFocus: 'bqFocus',
|
|
530
|
+
onBqClick: 'bqClick'
|
|
531
|
+
} as BqSideMenuItemEvents,
|
|
532
|
+
defineCustomElement: defineBqSideMenuItem
|
|
533
|
+
});
|
|
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>({
|
|
542
|
+
tagName: 'bq-slider',
|
|
543
|
+
elementClass: BqSliderElement,
|
|
544
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
545
|
+
react: React,
|
|
546
|
+
events: {
|
|
547
|
+
onBqChange: 'bqChange',
|
|
548
|
+
onBqBlur: 'bqBlur',
|
|
549
|
+
onBqFocus: 'bqFocus'
|
|
550
|
+
} as BqSliderEvents,
|
|
551
|
+
defineCustomElement: defineBqSlider
|
|
552
|
+
});
|
|
553
|
+
|
|
554
|
+
type BqSpinnerEvents = NonNullable<unknown>;
|
|
555
|
+
|
|
556
|
+
export const BqSpinner: StencilReactComponent<BqSpinnerElement, BqSpinnerEvents> = /*@__PURE__*/ createComponent<BqSpinnerElement, BqSpinnerEvents>({
|
|
557
|
+
tagName: 'bq-spinner',
|
|
558
|
+
elementClass: BqSpinnerElement,
|
|
559
|
+
// @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
|
+
react: React,
|
|
561
|
+
events: {} as BqSpinnerEvents,
|
|
562
|
+
defineCustomElement: defineBqSpinner
|
|
563
|
+
});
|
|
564
|
+
|
|
565
|
+
type BqStatusEvents = NonNullable<unknown>;
|
|
566
|
+
|
|
567
|
+
export const BqStatus: StencilReactComponent<BqStatusElement, BqStatusEvents> = /*@__PURE__*/ createComponent<BqStatusElement, BqStatusEvents>({
|
|
568
|
+
tagName: 'bq-status',
|
|
569
|
+
elementClass: BqStatusElement,
|
|
570
|
+
// @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
|
+
react: React,
|
|
572
|
+
events: {} as BqStatusEvents,
|
|
573
|
+
defineCustomElement: defineBqStatus
|
|
574
|
+
});
|
|
575
|
+
|
|
576
|
+
type BqStepItemEvents = { onBqClick: EventName<BqStepItemCustomEvent<{ target: HTMLBqStepItemElement; value: string }>> };
|
|
577
|
+
|
|
578
|
+
export const BqStepItem: StencilReactComponent<BqStepItemElement, BqStepItemEvents> = /*@__PURE__*/ createComponent<BqStepItemElement, BqStepItemEvents>({
|
|
579
|
+
tagName: 'bq-step-item',
|
|
580
|
+
elementClass: BqStepItemElement,
|
|
581
|
+
// @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
|
+
react: React,
|
|
583
|
+
events: { onBqClick: 'bqClick' } as BqStepItemEvents,
|
|
584
|
+
defineCustomElement: defineBqStepItem
|
|
585
|
+
});
|
|
586
|
+
|
|
587
|
+
type BqStepsEvents = NonNullable<unknown>;
|
|
588
|
+
|
|
589
|
+
export const BqSteps: StencilReactComponent<BqStepsElement, BqStepsEvents> = /*@__PURE__*/ createComponent<BqStepsElement, BqStepsEvents>({
|
|
590
|
+
tagName: 'bq-steps',
|
|
591
|
+
elementClass: BqStepsElement,
|
|
592
|
+
// @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
|
+
react: React,
|
|
594
|
+
events: {} as BqStepsEvents,
|
|
595
|
+
defineCustomElement: defineBqSteps
|
|
596
|
+
});
|
|
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>({
|
|
605
|
+
tagName: 'bq-switch',
|
|
606
|
+
elementClass: BqSwitchElement,
|
|
607
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
608
|
+
react: React,
|
|
609
|
+
events: {
|
|
610
|
+
onBqChange: 'bqChange',
|
|
611
|
+
onBqFocus: 'bqFocus',
|
|
612
|
+
onBqBlur: 'bqBlur'
|
|
613
|
+
} as BqSwitchEvents,
|
|
614
|
+
defineCustomElement: defineBqSwitch
|
|
615
|
+
});
|
|
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>({
|
|
625
|
+
tagName: 'bq-tab',
|
|
626
|
+
elementClass: BqTabElement,
|
|
627
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
628
|
+
react: React,
|
|
629
|
+
events: {
|
|
630
|
+
onBqClick: 'bqClick',
|
|
631
|
+
onBqFocus: 'bqFocus',
|
|
632
|
+
onBqBlur: 'bqBlur',
|
|
633
|
+
onBqKeyDown: 'bqKeyDown'
|
|
634
|
+
} as BqTabEvents,
|
|
635
|
+
defineCustomElement: defineBqTab
|
|
636
|
+
});
|
|
637
|
+
|
|
638
|
+
type BqTabGroupEvents = { onBqChange: EventName<BqTabGroupCustomEvent<{ target: HTMLBqTabElement; value: string }>> };
|
|
639
|
+
|
|
640
|
+
export const BqTabGroup: StencilReactComponent<BqTabGroupElement, BqTabGroupEvents> = /*@__PURE__*/ createComponent<BqTabGroupElement, BqTabGroupEvents>({
|
|
641
|
+
tagName: 'bq-tab-group',
|
|
642
|
+
elementClass: BqTabGroupElement,
|
|
643
|
+
// @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
|
+
react: React,
|
|
645
|
+
events: { onBqChange: 'bqChange' } as BqTabGroupEvents,
|
|
646
|
+
defineCustomElement: defineBqTabGroup
|
|
647
|
+
});
|
|
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>({
|
|
658
|
+
tagName: 'bq-tag',
|
|
659
|
+
elementClass: BqTagElement,
|
|
660
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
661
|
+
react: React,
|
|
662
|
+
events: {
|
|
663
|
+
onBqClose: 'bqClose',
|
|
664
|
+
onBqOpen: 'bqOpen',
|
|
665
|
+
onBqBlur: 'bqBlur',
|
|
666
|
+
onBqClick: 'bqClick',
|
|
667
|
+
onBqFocus: 'bqFocus'
|
|
668
|
+
} as BqTagEvents,
|
|
669
|
+
defineCustomElement: defineBqTag
|
|
670
|
+
});
|
|
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>({
|
|
681
|
+
tagName: 'bq-textarea',
|
|
682
|
+
elementClass: BqTextareaElement,
|
|
683
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
684
|
+
react: React,
|
|
685
|
+
events: {
|
|
686
|
+
onBqBlur: 'bqBlur',
|
|
687
|
+
onBqChange: 'bqChange',
|
|
688
|
+
onBqClear: 'bqClear',
|
|
689
|
+
onBqFocus: 'bqFocus',
|
|
690
|
+
onBqInput: 'bqInput'
|
|
691
|
+
} as BqTextareaEvents,
|
|
692
|
+
defineCustomElement: defineBqTextarea
|
|
693
|
+
});
|
|
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>({
|
|
701
|
+
tagName: 'bq-toast',
|
|
702
|
+
elementClass: BqToastElement,
|
|
703
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
704
|
+
react: React,
|
|
705
|
+
events: {
|
|
706
|
+
onBqHide: 'bqHide',
|
|
707
|
+
onBqShow: 'bqShow'
|
|
708
|
+
} as BqToastEvents,
|
|
709
|
+
defineCustomElement: defineBqToast
|
|
710
|
+
});
|
|
711
|
+
|
|
712
|
+
type BqTooltipEvents = NonNullable<unknown>;
|
|
713
|
+
|
|
714
|
+
export const BqTooltip: StencilReactComponent<BqTooltipElement, BqTooltipEvents> = /*@__PURE__*/ createComponent<BqTooltipElement, BqTooltipEvents>({
|
|
715
|
+
tagName: 'bq-tooltip',
|
|
716
|
+
elementClass: BqTooltipElement,
|
|
717
|
+
// @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
|
+
react: React,
|
|
719
|
+
events: {} as BqTooltipEvents,
|
|
720
|
+
defineCustomElement: defineBqTooltip
|
|
721
|
+
});
|