-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcomponents.ts
More file actions
397 lines (340 loc) · 22 KB
/
components.ts
File metadata and controls
397 lines (340 loc) · 22 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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
'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 ColorInfo, type DnnAutocompleteCustomEvent, type DnnButtonCustomEvent, type DnnCheckboxCustomEvent, type DnnChevronCustomEvent, type DnnCollapsibleCustomEvent, type DnnColorInfo, type DnnColorInputCustomEvent, type DnnColorPickerCustomEvent, type DnnDropzoneCustomEvent, type DnnImageCropperCustomEvent, type DnnInputCustomEvent, type DnnModalCustomEvent, type DnnMonacoEditorCustomEvent, type DnnPermissionsGridCustomEvent, type DnnRichtextCustomEvent, type DnnSearchboxCustomEvent, type DnnSelectCustomEvent, type DnnSortIconCustomEvent, type DnnTextareaCustomEvent, type DnnToggleChangeEventDetail, type DnnToggleCustomEvent, type DnnTreeviewItemCustomEvent, type DnnVerticalSplitviewCustomEvent, type IPermissions, type NeedMoreItemsEventArgs } from "@dnncommunity/dnn-elements";
import { DnnAutocomplete as DnnAutocompleteElement, defineCustomElement as defineDnnAutocomplete } from "@dnncommunity/dnn-elements/dist/components/dnn-autocomplete.js";
import { DnnButton as DnnButtonElement, defineCustomElement as defineDnnButton } from "@dnncommunity/dnn-elements/dist/components/dnn-button.js";
import { DnnCheckbox as DnnCheckboxElement, defineCustomElement as defineDnnCheckbox } from "@dnncommunity/dnn-elements/dist/components/dnn-checkbox.js";
import { DnnChevron as DnnChevronElement, defineCustomElement as defineDnnChevron } from "@dnncommunity/dnn-elements/dist/components/dnn-chevron.js";
import { DnnCollapsible as DnnCollapsibleElement, defineCustomElement as defineDnnCollapsible } from "@dnncommunity/dnn-elements/dist/components/dnn-collapsible.js";
import { DnnColorInput as DnnColorInputElement, defineCustomElement as defineDnnColorInput } from "@dnncommunity/dnn-elements/dist/components/dnn-color-input.js";
import { DnnColorPicker as DnnColorPickerElement, defineCustomElement as defineDnnColorPicker } from "@dnncommunity/dnn-elements/dist/components/dnn-color-picker.js";
import { DnnDropzone as DnnDropzoneElement, defineCustomElement as defineDnnDropzone } from "@dnncommunity/dnn-elements/dist/components/dnn-dropzone.js";
import { DnnExampleForm as DnnExampleFormElement, defineCustomElement as defineDnnExampleForm } from "@dnncommunity/dnn-elements/dist/components/dnn-example-form.js";
import { DnnFieldset as DnnFieldsetElement, defineCustomElement as defineDnnFieldset } from "@dnncommunity/dnn-elements/dist/components/dnn-fieldset.js";
import { DnnImageCropper as DnnImageCropperElement, defineCustomElement as defineDnnImageCropper } from "@dnncommunity/dnn-elements/dist/components/dnn-image-cropper.js";
import { DnnInput as DnnInputElement, defineCustomElement as defineDnnInput } from "@dnncommunity/dnn-elements/dist/components/dnn-input.js";
import { DnnModal as DnnModalElement, defineCustomElement as defineDnnModal } from "@dnncommunity/dnn-elements/dist/components/dnn-modal.js";
import { DnnMonacoEditor as DnnMonacoEditorElement, defineCustomElement as defineDnnMonacoEditor } from "@dnncommunity/dnn-elements/dist/components/dnn-monaco-editor.js";
import { DnnPermissionsGrid as DnnPermissionsGridElement, defineCustomElement as defineDnnPermissionsGrid } from "@dnncommunity/dnn-elements/dist/components/dnn-permissions-grid.js";
import { DnnProgressBar as DnnProgressBarElement, defineCustomElement as defineDnnProgressBar } from "@dnncommunity/dnn-elements/dist/components/dnn-progress-bar.js";
import { DnnRichtext as DnnRichtextElement, defineCustomElement as defineDnnRichtext } from "@dnncommunity/dnn-elements/dist/components/dnn-richtext.js";
import { DnnSearchbox as DnnSearchboxElement, defineCustomElement as defineDnnSearchbox } from "@dnncommunity/dnn-elements/dist/components/dnn-searchbox.js";
import { DnnSelect as DnnSelectElement, defineCustomElement as defineDnnSelect } from "@dnncommunity/dnn-elements/dist/components/dnn-select.js";
import { DnnSortIcon as DnnSortIconElement, defineCustomElement as defineDnnSortIcon } from "@dnncommunity/dnn-elements/dist/components/dnn-sort-icon.js";
import { DnnTab as DnnTabElement, defineCustomElement as defineDnnTab } from "@dnncommunity/dnn-elements/dist/components/dnn-tab.js";
import { DnnTabs as DnnTabsElement, defineCustomElement as defineDnnTabs } from "@dnncommunity/dnn-elements/dist/components/dnn-tabs.js";
import { DnnTextarea as DnnTextareaElement, defineCustomElement as defineDnnTextarea } from "@dnncommunity/dnn-elements/dist/components/dnn-textarea.js";
import { DnnToggle as DnnToggleElement, defineCustomElement as defineDnnToggle } from "@dnncommunity/dnn-elements/dist/components/dnn-toggle.js";
import { DnnTreeviewItem as DnnTreeviewItemElement, defineCustomElement as defineDnnTreeviewItem } from "@dnncommunity/dnn-elements/dist/components/dnn-treeview-item.js";
import { DnnVerticalOverflowMenu as DnnVerticalOverflowMenuElement, defineCustomElement as defineDnnVerticalOverflowMenu } from "@dnncommunity/dnn-elements/dist/components/dnn-vertical-overflow-menu.js";
import { DnnVerticalSplitview as DnnVerticalSplitviewElement, defineCustomElement as defineDnnVerticalSplitview } from "@dnncommunity/dnn-elements/dist/components/dnn-vertical-splitview.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 DnnAutocompleteEvents = {
onValueChange: EventName<DnnAutocompleteCustomEvent<number | string | string[]>>,
onValueInput: EventName<DnnAutocompleteCustomEvent<number | string | string[]>>,
onNeedMoreItems: EventName<DnnAutocompleteCustomEvent<NeedMoreItemsEventArgs>>,
onSearchQueryChanged: EventName<DnnAutocompleteCustomEvent<string>>,
onItemSelected: EventName<DnnAutocompleteCustomEvent<string>>
};
export const DnnAutocomplete: StencilReactComponent<DnnAutocompleteElement, DnnAutocompleteEvents> = /*@__PURE__*/ createComponent<DnnAutocompleteElement, DnnAutocompleteEvents>({
tagName: 'dnn-autocomplete',
elementClass: DnnAutocompleteElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onValueChange: 'valueChange',
onValueInput: 'valueInput',
onNeedMoreItems: 'needMoreItems',
onSearchQueryChanged: 'searchQueryChanged',
onItemSelected: 'itemSelected'
} as DnnAutocompleteEvents,
defineCustomElement: defineDnnAutocomplete
});
export type DnnButtonEvents = {
onConfirmed: EventName<DnnButtonCustomEvent<any>>,
onCanceled: EventName<DnnButtonCustomEvent<any>>
};
export const DnnButton: StencilReactComponent<DnnButtonElement, DnnButtonEvents> = /*@__PURE__*/ createComponent<DnnButtonElement, DnnButtonEvents>({
tagName: 'dnn-button',
elementClass: DnnButtonElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onConfirmed: 'confirmed',
onCanceled: 'canceled'
} as DnnButtonEvents,
defineCustomElement: defineDnnButton
});
export type DnnCheckboxEvents = { onCheckedchange: EventName<DnnCheckboxCustomEvent<"checked" | "unchecked" | "intermediate">> };
export const DnnCheckbox: StencilReactComponent<DnnCheckboxElement, DnnCheckboxEvents> = /*@__PURE__*/ createComponent<DnnCheckboxElement, DnnCheckboxEvents>({
tagName: 'dnn-checkbox',
elementClass: DnnCheckboxElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onCheckedchange: 'checkedchange' } as DnnCheckboxEvents,
defineCustomElement: defineDnnCheckbox
});
export type DnnChevronEvents = { onChanged: EventName<DnnChevronCustomEvent<any>> };
export const DnnChevron: StencilReactComponent<DnnChevronElement, DnnChevronEvents> = /*@__PURE__*/ createComponent<DnnChevronElement, DnnChevronEvents>({
tagName: 'dnn-chevron',
elementClass: DnnChevronElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onChanged: 'changed' } as DnnChevronEvents,
defineCustomElement: defineDnnChevron
});
export type DnnCollapsibleEvents = { onDnnCollapsibleHeightChanged: EventName<DnnCollapsibleCustomEvent<void>> };
export const DnnCollapsible: StencilReactComponent<DnnCollapsibleElement, DnnCollapsibleEvents> = /*@__PURE__*/ createComponent<DnnCollapsibleElement, DnnCollapsibleEvents>({
tagName: 'dnn-collapsible',
elementClass: DnnCollapsibleElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onDnnCollapsibleHeightChanged: 'dnnCollapsibleHeightChanged' } as DnnCollapsibleEvents,
defineCustomElement: defineDnnCollapsible
});
export type DnnColorInputEvents = {
onColorChange: EventName<DnnColorInputCustomEvent<DnnColorInfo>>,
onColorInput: EventName<DnnColorInputCustomEvent<DnnColorInfo>>
};
export const DnnColorInput: StencilReactComponent<DnnColorInputElement, DnnColorInputEvents> = /*@__PURE__*/ createComponent<DnnColorInputElement, DnnColorInputEvents>({
tagName: 'dnn-color-input',
elementClass: DnnColorInputElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onColorChange: 'colorChange',
onColorInput: 'colorInput'
} as DnnColorInputEvents,
defineCustomElement: defineDnnColorInput
});
export type DnnColorPickerEvents = { onColorChanged: EventName<DnnColorPickerCustomEvent<ColorInfo>> };
export const DnnColorPicker: StencilReactComponent<DnnColorPickerElement, DnnColorPickerEvents> = /*@__PURE__*/ createComponent<DnnColorPickerElement, DnnColorPickerEvents>({
tagName: 'dnn-color-picker',
elementClass: DnnColorPickerElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onColorChanged: 'colorChanged' } as DnnColorPickerEvents,
defineCustomElement: defineDnnColorPicker
});
export type DnnDropzoneEvents = { onFilesSelected: EventName<DnnDropzoneCustomEvent<File[]>> };
export const DnnDropzone: StencilReactComponent<DnnDropzoneElement, DnnDropzoneEvents> = /*@__PURE__*/ createComponent<DnnDropzoneElement, DnnDropzoneEvents>({
tagName: 'dnn-dropzone',
elementClass: DnnDropzoneElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onFilesSelected: 'filesSelected' } as DnnDropzoneEvents,
defineCustomElement: defineDnnDropzone
});
export type DnnExampleFormEvents = NonNullable<unknown>;
export const DnnExampleForm: StencilReactComponent<DnnExampleFormElement, DnnExampleFormEvents> = /*@__PURE__*/ createComponent<DnnExampleFormElement, DnnExampleFormEvents>({
tagName: 'dnn-example-form',
elementClass: DnnExampleFormElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as DnnExampleFormEvents,
defineCustomElement: defineDnnExampleForm
});
export type DnnFieldsetEvents = NonNullable<unknown>;
export const DnnFieldset: StencilReactComponent<DnnFieldsetElement, DnnFieldsetEvents> = /*@__PURE__*/ createComponent<DnnFieldsetElement, DnnFieldsetEvents>({
tagName: 'dnn-fieldset',
elementClass: DnnFieldsetElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as DnnFieldsetEvents,
defineCustomElement: defineDnnFieldset
});
export type DnnImageCropperEvents = {
onImageCropChanged: EventName<DnnImageCropperCustomEvent<string>>,
onImageFileCropChanged: EventName<DnnImageCropperCustomEvent<File>>
};
export const DnnImageCropper: StencilReactComponent<DnnImageCropperElement, DnnImageCropperEvents> = /*@__PURE__*/ createComponent<DnnImageCropperElement, DnnImageCropperEvents>({
tagName: 'dnn-image-cropper',
elementClass: DnnImageCropperElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onImageCropChanged: 'imageCropChanged',
onImageFileCropChanged: 'imageFileCropChanged'
} as DnnImageCropperEvents,
defineCustomElement: defineDnnImageCropper
});
export type DnnInputEvents = {
onValueChange: EventName<DnnInputCustomEvent<number | string | string[]>>,
onValueInput: EventName<DnnInputCustomEvent<number | string | string[]>>
};
export const DnnInput: StencilReactComponent<DnnInputElement, DnnInputEvents> = /*@__PURE__*/ createComponent<DnnInputElement, DnnInputEvents>({
tagName: 'dnn-input',
elementClass: DnnInputElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onValueChange: 'valueChange',
onValueInput: 'valueInput'
} as DnnInputEvents,
defineCustomElement: defineDnnInput
});
export type DnnModalEvents = { onDismissed: EventName<DnnModalCustomEvent<any>> };
export const DnnModal: StencilReactComponent<DnnModalElement, DnnModalEvents> = /*@__PURE__*/ createComponent<DnnModalElement, DnnModalEvents>({
tagName: 'dnn-modal',
elementClass: DnnModalElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onDismissed: 'dismissed' } as DnnModalEvents,
defineCustomElement: defineDnnModal
});
export type DnnMonacoEditorEvents = { onContentChanged: EventName<DnnMonacoEditorCustomEvent<string>> };
export const DnnMonacoEditor: StencilReactComponent<DnnMonacoEditorElement, DnnMonacoEditorEvents> = /*@__PURE__*/ createComponent<DnnMonacoEditorElement, DnnMonacoEditorEvents>({
tagName: 'dnn-monaco-editor',
elementClass: DnnMonacoEditorElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onContentChanged: 'contentChanged' } as DnnMonacoEditorEvents,
defineCustomElement: defineDnnMonacoEditor
});
export type DnnPermissionsGridEvents = {
onUserSearchQueryChanged: EventName<DnnPermissionsGridCustomEvent<string>>,
onPermissionsChanged: EventName<DnnPermissionsGridCustomEvent<IPermissions>>
};
export const DnnPermissionsGrid: StencilReactComponent<DnnPermissionsGridElement, DnnPermissionsGridEvents> = /*@__PURE__*/ createComponent<DnnPermissionsGridElement, DnnPermissionsGridEvents>({
tagName: 'dnn-permissions-grid',
elementClass: DnnPermissionsGridElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onUserSearchQueryChanged: 'userSearchQueryChanged',
onPermissionsChanged: 'permissionsChanged'
} as DnnPermissionsGridEvents,
defineCustomElement: defineDnnPermissionsGrid
});
export type DnnProgressBarEvents = NonNullable<unknown>;
export const DnnProgressBar: StencilReactComponent<DnnProgressBarElement, DnnProgressBarEvents> = /*@__PURE__*/ createComponent<DnnProgressBarElement, DnnProgressBarEvents>({
tagName: 'dnn-progress-bar',
elementClass: DnnProgressBarElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as DnnProgressBarEvents,
defineCustomElement: defineDnnProgressBar
});
export type DnnRichtextEvents = {
onValueChange: EventName<DnnRichtextCustomEvent<string>>,
onValueInput: EventName<DnnRichtextCustomEvent<string>>
};
export const DnnRichtext: StencilReactComponent<DnnRichtextElement, DnnRichtextEvents> = /*@__PURE__*/ createComponent<DnnRichtextElement, DnnRichtextEvents>({
tagName: 'dnn-richtext',
elementClass: DnnRichtextElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onValueChange: 'valueChange',
onValueInput: 'valueInput'
} as DnnRichtextEvents,
defineCustomElement: defineDnnRichtext
});
export type DnnSearchboxEvents = { onQueryChanged: EventName<DnnSearchboxCustomEvent<string>> };
export const DnnSearchbox: StencilReactComponent<DnnSearchboxElement, DnnSearchboxEvents> = /*@__PURE__*/ createComponent<DnnSearchboxElement, DnnSearchboxEvents>({
tagName: 'dnn-searchbox',
elementClass: DnnSearchboxElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onQueryChanged: 'queryChanged' } as DnnSearchboxEvents,
defineCustomElement: defineDnnSearchbox
});
export type DnnSelectEvents = { onValueChange: EventName<DnnSelectCustomEvent<string>> };
export const DnnSelect: StencilReactComponent<DnnSelectElement, DnnSelectEvents> = /*@__PURE__*/ createComponent<DnnSelectElement, DnnSelectEvents>({
tagName: 'dnn-select',
elementClass: DnnSelectElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onValueChange: 'valueChange' } as DnnSelectEvents,
defineCustomElement: defineDnnSelect
});
export type DnnSortIconEvents = { onSortChanged: EventName<DnnSortIconCustomEvent<"asc" | "desc" | "none">> };
export const DnnSortIcon: StencilReactComponent<DnnSortIconElement, DnnSortIconEvents> = /*@__PURE__*/ createComponent<DnnSortIconElement, DnnSortIconEvents>({
tagName: 'dnn-sort-icon',
elementClass: DnnSortIconElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onSortChanged: 'sortChanged' } as DnnSortIconEvents,
defineCustomElement: defineDnnSortIcon
});
export type DnnTabEvents = NonNullable<unknown>;
export const DnnTab: StencilReactComponent<DnnTabElement, DnnTabEvents> = /*@__PURE__*/ createComponent<DnnTabElement, DnnTabEvents>({
tagName: 'dnn-tab',
elementClass: DnnTabElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as DnnTabEvents,
defineCustomElement: defineDnnTab
});
export type DnnTabsEvents = NonNullable<unknown>;
export const DnnTabs: StencilReactComponent<DnnTabsElement, DnnTabsEvents> = /*@__PURE__*/ createComponent<DnnTabsElement, DnnTabsEvents>({
tagName: 'dnn-tabs',
elementClass: DnnTabsElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as DnnTabsEvents,
defineCustomElement: defineDnnTabs
});
export type DnnTextareaEvents = {
onValueInput: EventName<DnnTextareaCustomEvent<string>>,
onValueChange: EventName<DnnTextareaCustomEvent<string>>
};
export const DnnTextarea: StencilReactComponent<DnnTextareaElement, DnnTextareaEvents> = /*@__PURE__*/ createComponent<DnnTextareaElement, DnnTextareaEvents>({
tagName: 'dnn-textarea',
elementClass: DnnTextareaElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onValueInput: 'valueInput',
onValueChange: 'valueChange'
} as DnnTextareaEvents,
defineCustomElement: defineDnnTextarea
});
export type DnnToggleEvents = { onCheckChanged: EventName<DnnToggleCustomEvent<DnnToggleChangeEventDetail>> };
export const DnnToggle: StencilReactComponent<DnnToggleElement, DnnToggleEvents> = /*@__PURE__*/ createComponent<DnnToggleElement, DnnToggleEvents>({
tagName: 'dnn-toggle',
elementClass: DnnToggleElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onCheckChanged: 'checkChanged' } as DnnToggleEvents,
defineCustomElement: defineDnnToggle
});
export type DnnTreeviewItemEvents = {
onUserExpanded: EventName<DnnTreeviewItemCustomEvent<void>>,
onUserCollapsed: EventName<DnnTreeviewItemCustomEvent<void>>
};
export const DnnTreeviewItem: StencilReactComponent<DnnTreeviewItemElement, DnnTreeviewItemEvents> = /*@__PURE__*/ createComponent<DnnTreeviewItemElement, DnnTreeviewItemEvents>({
tagName: 'dnn-treeview-item',
elementClass: DnnTreeviewItemElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {
onUserExpanded: 'userExpanded',
onUserCollapsed: 'userCollapsed'
} as DnnTreeviewItemEvents,
defineCustomElement: defineDnnTreeviewItem
});
export type DnnVerticalOverflowMenuEvents = NonNullable<unknown>;
export const DnnVerticalOverflowMenu: StencilReactComponent<DnnVerticalOverflowMenuElement, DnnVerticalOverflowMenuEvents> = /*@__PURE__*/ createComponent<DnnVerticalOverflowMenuElement, DnnVerticalOverflowMenuEvents>({
tagName: 'dnn-vertical-overflow-menu',
elementClass: DnnVerticalOverflowMenuElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: {} as DnnVerticalOverflowMenuEvents,
defineCustomElement: defineDnnVerticalOverflowMenu
});
export type DnnVerticalSplitviewEvents = { onWidthChanged: EventName<DnnVerticalSplitviewCustomEvent<number>> };
export const DnnVerticalSplitview: StencilReactComponent<DnnVerticalSplitviewElement, DnnVerticalSplitviewEvents> = /*@__PURE__*/ createComponent<DnnVerticalSplitviewElement, DnnVerticalSplitviewEvents>({
tagName: 'dnn-vertical-splitview',
elementClass: DnnVerticalSplitviewElement,
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
react: React,
events: { onWidthChanged: 'widthChanged' } as DnnVerticalSplitviewEvents,
defineCustomElement: defineDnnVerticalSplitview
});