-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponents.ts
More file actions
266 lines (229 loc) · 13.3 KB
/
components.ts
File metadata and controls
266 lines (229 loc) · 13.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
'use client';
/**
* This file was automatically generated by the Stencil React Output Target.
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
*/
/* eslint-disable */
import { type ScoutCheckboxCustomEvent, type ScoutInputCustomEvent, type ScoutLinkCustomEvent, type ScoutRadioButtonCustomEvent, type ScoutSelectCustomEvent, type ScoutSwitchCustomEvent } from "@scouterna/ui-webc";
import { ScoutBottomBarItem as ScoutBottomBarItemElement, defineCustomElement as defineScoutBottomBarItem } from "@scouterna/ui-webc/dist/components/scout-bottom-bar-item.js";
import { ScoutBottomBar as ScoutBottomBarElement, defineCustomElement as defineScoutBottomBar } from "@scouterna/ui-webc/dist/components/scout-bottom-bar.js";
import { ScoutButton as ScoutButtonElement, defineCustomElement as defineScoutButton } from "@scouterna/ui-webc/dist/components/scout-button.js";
import { ScoutCard as ScoutCardElement, defineCustomElement as defineScoutCard } from "@scouterna/ui-webc/dist/components/scout-card.js";
import { ScoutCheckbox as ScoutCheckboxElement, defineCustomElement as defineScoutCheckbox } from "@scouterna/ui-webc/dist/components/scout-checkbox.js";
import { ScoutDivider as ScoutDividerElement, defineCustomElement as defineScoutDivider } from "@scouterna/ui-webc/dist/components/scout-divider.js";
import { ScoutField as ScoutFieldElement, defineCustomElement as defineScoutField } from "@scouterna/ui-webc/dist/components/scout-field.js";
import { ScoutInput as ScoutInputElement, defineCustomElement as defineScoutInput } from "@scouterna/ui-webc/dist/components/scout-input.js";
import { ScoutLink as ScoutLinkElement, defineCustomElement as defineScoutLink } from "@scouterna/ui-webc/dist/components/scout-link.js";
import { ScoutListViewItem as ScoutListViewItemElement, defineCustomElement as defineScoutListViewItem } from "@scouterna/ui-webc/dist/components/scout-list-view-item.js";
import { ScoutListViewSubheader as ScoutListViewSubheaderElement, defineCustomElement as defineScoutListViewSubheader } from "@scouterna/ui-webc/dist/components/scout-list-view-subheader.js";
import { ScoutListView as ScoutListViewElement, defineCustomElement as defineScoutListView } from "@scouterna/ui-webc/dist/components/scout-list-view.js";
import { ScoutLoader as ScoutLoaderElement, defineCustomElement as defineScoutLoader } from "@scouterna/ui-webc/dist/components/scout-loader.js";
import { ScoutRadioButton as ScoutRadioButtonElement, defineCustomElement as defineScoutRadioButton } from "@scouterna/ui-webc/dist/components/scout-radio-button.js";
import { ScoutSelect as ScoutSelectElement, defineCustomElement as defineScoutSelect } from "@scouterna/ui-webc/dist/components/scout-select.js";
import { ScoutStack as ScoutStackElement, defineCustomElement as defineScoutStack } from "@scouterna/ui-webc/dist/components/scout-stack.js";
import { ScoutSwitch as ScoutSwitchElement, defineCustomElement as defineScoutSwitch } from "@scouterna/ui-webc/dist/components/scout-switch.js";
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
import { createComponent } from '@stencil/react-output-target/runtime';
import React from 'react';
export type ScoutBottomBarEvents = NonNullable<unknown>;
export const ScoutBottomBar: StencilReactComponent<ScoutBottomBarElement, ScoutBottomBarEvents> = /*@__PURE__*/ createComponent<ScoutBottomBarElement, ScoutBottomBarEvents>({
tagName: 'scout-bottom-bar',
elementClass: ScoutBottomBarElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutBottomBarEvents,
defineCustomElement: defineScoutBottomBar
});
export type ScoutBottomBarItemEvents = { onScoutClick: EventName<CustomEvent<void>> };
export const ScoutBottomBarItem: StencilReactComponent<ScoutBottomBarItemElement, ScoutBottomBarItemEvents> = /*@__PURE__*/ createComponent<ScoutBottomBarItemElement, ScoutBottomBarItemEvents>({
tagName: 'scout-bottom-bar-item',
elementClass: ScoutBottomBarItemElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onScoutClick: 'scoutClick' } as ScoutBottomBarItemEvents,
defineCustomElement: defineScoutBottomBarItem
});
export type ScoutButtonEvents = { onScoutClick: EventName<CustomEvent<void>> };
export const ScoutButton: StencilReactComponent<ScoutButtonElement, ScoutButtonEvents> = /*@__PURE__*/ createComponent<ScoutButtonElement, ScoutButtonEvents>({
tagName: 'scout-button',
elementClass: ScoutButtonElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onScoutClick: 'scoutClick' } as ScoutButtonEvents,
defineCustomElement: defineScoutButton
});
export type ScoutCardEvents = NonNullable<unknown>;
export const ScoutCard: StencilReactComponent<ScoutCardElement, ScoutCardEvents> = /*@__PURE__*/ createComponent<ScoutCardElement, ScoutCardEvents>({
tagName: 'scout-card',
elementClass: ScoutCardElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutCardEvents,
defineCustomElement: defineScoutCard
});
export type ScoutCheckboxEvents = {
onScoutChecked: EventName<ScoutCheckboxCustomEvent<{
checked: boolean;
element: HTMLInputElement;
}>>,
on_fieldId: EventName<CustomEvent<string>>
};
export const ScoutCheckbox: StencilReactComponent<ScoutCheckboxElement, ScoutCheckboxEvents> = /*@__PURE__*/ createComponent<ScoutCheckboxElement, ScoutCheckboxEvents>({
tagName: 'scout-checkbox',
elementClass: ScoutCheckboxElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onScoutChecked: 'scoutChecked',
on_fieldId: '_fieldId'
} as ScoutCheckboxEvents,
defineCustomElement: defineScoutCheckbox
});
export type ScoutDividerEvents = NonNullable<unknown>;
export const ScoutDivider: StencilReactComponent<ScoutDividerElement, ScoutDividerEvents> = /*@__PURE__*/ createComponent<ScoutDividerElement, ScoutDividerEvents>({
tagName: 'scout-divider',
elementClass: ScoutDividerElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutDividerEvents,
defineCustomElement: defineScoutDivider
});
export type ScoutFieldEvents = NonNullable<unknown>;
export const ScoutField: StencilReactComponent<ScoutFieldElement, ScoutFieldEvents> = /*@__PURE__*/ createComponent<ScoutFieldElement, ScoutFieldEvents>({
tagName: 'scout-field',
elementClass: ScoutFieldElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutFieldEvents,
defineCustomElement: defineScoutField
});
export type ScoutInputEvents = {
onScoutInputChange: EventName<ScoutInputCustomEvent<{
value: string;
element: HTMLInputElement;
}>>,
onScoutBlur: EventName<CustomEvent<void>>,
on_fieldId: EventName<CustomEvent<string>>
};
export const ScoutInput: StencilReactComponent<ScoutInputElement, ScoutInputEvents> = /*@__PURE__*/ createComponent<ScoutInputElement, ScoutInputEvents>({
tagName: 'scout-input',
elementClass: ScoutInputElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onScoutInputChange: 'scoutInputChange',
onScoutBlur: 'scoutBlur',
on_fieldId: '_fieldId'
} as ScoutInputEvents,
defineCustomElement: defineScoutInput
});
export type ScoutLinkEvents = { onScoutLinkClick: EventName<ScoutLinkCustomEvent<HTMLButtonElement>> };
export const ScoutLink: StencilReactComponent<ScoutLinkElement, ScoutLinkEvents> = /*@__PURE__*/ createComponent<ScoutLinkElement, ScoutLinkEvents>({
tagName: 'scout-link',
elementClass: ScoutLinkElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onScoutLinkClick: 'scoutLinkClick' } as ScoutLinkEvents,
defineCustomElement: defineScoutLink
});
export type ScoutListViewEvents = NonNullable<unknown>;
export const ScoutListView: StencilReactComponent<ScoutListViewElement, ScoutListViewEvents> = /*@__PURE__*/ createComponent<ScoutListViewElement, ScoutListViewEvents>({
tagName: 'scout-list-view',
elementClass: ScoutListViewElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutListViewEvents,
defineCustomElement: defineScoutListView
});
export type ScoutListViewItemEvents = { onScoutClick: EventName<CustomEvent<void>> };
export const ScoutListViewItem: StencilReactComponent<ScoutListViewItemElement, ScoutListViewItemEvents> = /*@__PURE__*/ createComponent<ScoutListViewItemElement, ScoutListViewItemEvents>({
tagName: 'scout-list-view-item',
elementClass: ScoutListViewItemElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onScoutClick: 'scoutClick' } as ScoutListViewItemEvents,
defineCustomElement: defineScoutListViewItem
});
export type ScoutListViewSubheaderEvents = NonNullable<unknown>;
export const ScoutListViewSubheader: StencilReactComponent<ScoutListViewSubheaderElement, ScoutListViewSubheaderEvents> = /*@__PURE__*/ createComponent<ScoutListViewSubheaderElement, ScoutListViewSubheaderEvents>({
tagName: 'scout-list-view-subheader',
elementClass: ScoutListViewSubheaderElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutListViewSubheaderEvents,
defineCustomElement: defineScoutListViewSubheader
});
export type ScoutLoaderEvents = NonNullable<unknown>;
export const ScoutLoader: StencilReactComponent<ScoutLoaderElement, ScoutLoaderEvents> = /*@__PURE__*/ createComponent<ScoutLoaderElement, ScoutLoaderEvents>({
tagName: 'scout-loader',
elementClass: ScoutLoaderElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutLoaderEvents,
defineCustomElement: defineScoutLoader
});
export type ScoutRadioButtonEvents = {
onScoutChecked: EventName<ScoutRadioButtonCustomEvent<{
checked: boolean;
element: HTMLInputElement;
}>>,
on_fieldId: EventName<CustomEvent<string>>
};
export const ScoutRadioButton: StencilReactComponent<ScoutRadioButtonElement, ScoutRadioButtonEvents> = /*@__PURE__*/ createComponent<ScoutRadioButtonElement, ScoutRadioButtonEvents>({
tagName: 'scout-radio-button',
elementClass: ScoutRadioButtonElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onScoutChecked: 'scoutChecked',
on_fieldId: '_fieldId'
} as ScoutRadioButtonEvents,
defineCustomElement: defineScoutRadioButton
});
export type ScoutSelectEvents = {
onScoutInputChange: EventName<ScoutSelectCustomEvent<{
value: string;
element: HTMLSelectElement;
}>>,
onScoutBlur: EventName<CustomEvent<void>>,
on_fieldId: EventName<CustomEvent<string>>
};
export const ScoutSelect: StencilReactComponent<ScoutSelectElement, ScoutSelectEvents> = /*@__PURE__*/ createComponent<ScoutSelectElement, ScoutSelectEvents>({
tagName: 'scout-select',
elementClass: ScoutSelectElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onScoutInputChange: 'scoutInputChange',
onScoutBlur: 'scoutBlur',
on_fieldId: '_fieldId'
} as ScoutSelectEvents,
defineCustomElement: defineScoutSelect
});
export type ScoutStackEvents = NonNullable<unknown>;
export const ScoutStack: StencilReactComponent<ScoutStackElement, ScoutStackEvents> = /*@__PURE__*/ createComponent<ScoutStackElement, ScoutStackEvents>({
tagName: 'scout-stack',
elementClass: ScoutStackElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as ScoutStackEvents,
defineCustomElement: defineScoutStack
});
export type ScoutSwitchEvents = {
onScoutSwitchToggled: EventName<ScoutSwitchCustomEvent<{
toggled: boolean;
element: HTMLInputElement;
}>>,
on_fieldId: EventName<CustomEvent<string>>
};
export const ScoutSwitch: StencilReactComponent<ScoutSwitchElement, ScoutSwitchEvents> = /*@__PURE__*/ createComponent<ScoutSwitchElement, ScoutSwitchEvents>({
tagName: 'scout-switch',
elementClass: ScoutSwitchElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onScoutSwitchToggled: 'scoutSwitchToggled',
on_fieldId: '_fieldId'
} as ScoutSwitchEvents,
defineCustomElement: defineScoutSwitch
});