@watermarkinsights/ripple-react 5.13.1-alpha.1 → 5.13.1-alpha.4
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/dist/components/stencil-generated/components.js +485 -0
- package/dist/components/stencil-generated/components.js.map +1 -0
- package/dist/components.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/stencil-generated/components.js +485 -0
- package/dist/stencil-generated/components.js.map +1 -0
- package/dist/types/components/stencil-generated/components.d.ts +319 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-generated/components.d.ts +319 -0
- package/package.json +6 -5
- package/src/components/stencil-generated/components.ts +795 -0
- package/src/index.ts +1 -0
- package/dist/react-component-lib/createComponent.js +0 -69
- package/dist/react-component-lib/createComponent.js.map +0 -1
- package/dist/react-component-lib/createOverlayComponent.js +0 -97
- package/dist/react-component-lib/createOverlayComponent.js.map +0 -1
- package/dist/react-component-lib/index.js +0 -3
- package/dist/react-component-lib/index.js.map +0 -1
- package/dist/react-component-lib/interfaces.js +0 -2
- package/dist/react-component-lib/interfaces.js.map +0 -1
- package/dist/react-component-lib/utils/attachProps.js +0 -92
- package/dist/react-component-lib/utils/attachProps.js.map +0 -1
- package/dist/react-component-lib/utils/case.js +0 -7
- package/dist/react-component-lib/utils/case.js.map +0 -1
- package/dist/react-component-lib/utils/dev.js +0 -13
- package/dist/react-component-lib/utils/dev.js.map +0 -1
- package/dist/react-component-lib/utils/index.js +0 -31
- package/dist/react-component-lib/utils/index.js.map +0 -1
- package/dist/types/react-component-lib/createComponent.d.ts +0 -10
- package/dist/types/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/dist/types/react-component-lib/index.d.ts +0 -2
- package/dist/types/react-component-lib/interfaces.d.ts +0 -29
- package/dist/types/react-component-lib/utils/attachProps.d.ts +0 -9
- package/dist/types/react-component-lib/utils/case.d.ts +0 -2
- package/dist/types/react-component-lib/utils/dev.d.ts +0 -2
- package/dist/types/react-component-lib/utils/index.d.ts +0 -10
|
@@ -0,0 +1,795 @@
|
|
|
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 { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import { type PrivCalendarCustomEvent, type PrivChartPopoverCustomEvent, type PrivNavigatorItemCustomEvent, type PrivOptionListCustomEvent, type WmMenuitemCustomEvent, type WmOptionCustomEvent, type WmSnackbarCustomEvent, type WmTabItemCustomEvent, type WmUploaderCustomEvent } from "@watermarkinsights/ripple";
|
|
13
|
+
import { PrivCalendar as PrivCalendarElement, defineCustomElement as definePrivCalendar } from "@watermarkinsights/ripple/dist/components/priv-calendar.js";
|
|
14
|
+
import { PrivChartPopover as PrivChartPopoverElement, defineCustomElement as definePrivChartPopover } from "@watermarkinsights/ripple/dist/components/priv-chart-popover.js";
|
|
15
|
+
import { PrivNavigatorButton as PrivNavigatorButtonElement, defineCustomElement as definePrivNavigatorButton } from "@watermarkinsights/ripple/dist/components/priv-navigator-button.js";
|
|
16
|
+
import { PrivNavigatorItem as PrivNavigatorItemElement, defineCustomElement as definePrivNavigatorItem } from "@watermarkinsights/ripple/dist/components/priv-navigator-item.js";
|
|
17
|
+
import { PrivOptionList as PrivOptionListElement, defineCustomElement as definePrivOptionList } from "@watermarkinsights/ripple/dist/components/priv-option-list.js";
|
|
18
|
+
import { WmActionMenu as WmActionMenuElement, defineCustomElement as defineWmActionMenu } from "@watermarkinsights/ripple/dist/components/wm-action-menu.js";
|
|
19
|
+
import { WmButton as WmButtonElement, defineCustomElement as defineWmButton } from "@watermarkinsights/ripple/dist/components/wm-button.js";
|
|
20
|
+
import { WmChartSlice as WmChartSliceElement, defineCustomElement as defineWmChartSlice } from "@watermarkinsights/ripple/dist/components/wm-chart-slice.js";
|
|
21
|
+
import { WmChart as WmChartElement, defineCustomElement as defineWmChart } from "@watermarkinsights/ripple/dist/components/wm-chart.js";
|
|
22
|
+
import { WmDateRange as WmDateRangeElement, defineCustomElement as defineWmDateRange } from "@watermarkinsights/ripple/dist/components/wm-date-range.js";
|
|
23
|
+
import { WmDatepicker as WmDatepickerElement, defineCustomElement as defineWmDatepicker } from "@watermarkinsights/ripple/dist/components/wm-datepicker.js";
|
|
24
|
+
import { WmFileList as WmFileListElement, defineCustomElement as defineWmFileList } from "@watermarkinsights/ripple/dist/components/wm-file-list.js";
|
|
25
|
+
import { WmFile as WmFileElement, defineCustomElement as defineWmFile } from "@watermarkinsights/ripple/dist/components/wm-file.js";
|
|
26
|
+
import { WmFlyout as WmFlyoutElement, defineCustomElement as defineWmFlyout } from "@watermarkinsights/ripple/dist/components/wm-flyout.js";
|
|
27
|
+
import { WmInput as WmInputElement, defineCustomElement as defineWmInput } from "@watermarkinsights/ripple/dist/components/wm-input.js";
|
|
28
|
+
import { WmLineChart as WmLineChartElement, defineCustomElement as defineWmLineChart } from "@watermarkinsights/ripple/dist/components/wm-line-chart.js";
|
|
29
|
+
import { WmMenuitem as WmMenuitemElement, defineCustomElement as defineWmMenuitem } from "@watermarkinsights/ripple/dist/components/wm-menuitem.js";
|
|
30
|
+
import { WmModalFooter as WmModalFooterElement, defineCustomElement as defineWmModalFooter } from "@watermarkinsights/ripple/dist/components/wm-modal-footer.js";
|
|
31
|
+
import { WmModalHeader as WmModalHeaderElement, defineCustomElement as defineWmModalHeader } from "@watermarkinsights/ripple/dist/components/wm-modal-header.js";
|
|
32
|
+
import { WmModalPssFooter as WmModalPssFooterElement, defineCustomElement as defineWmModalPssFooter } from "@watermarkinsights/ripple/dist/components/wm-modal-pss-footer.js";
|
|
33
|
+
import { WmModalPssHeader as WmModalPssHeaderElement, defineCustomElement as defineWmModalPssHeader } from "@watermarkinsights/ripple/dist/components/wm-modal-pss-header.js";
|
|
34
|
+
import { WmModalPss as WmModalPssElement, defineCustomElement as defineWmModalPss } from "@watermarkinsights/ripple/dist/components/wm-modal-pss.js";
|
|
35
|
+
import { WmModal as WmModalElement, defineCustomElement as defineWmModal } from "@watermarkinsights/ripple/dist/components/wm-modal.js";
|
|
36
|
+
import { WmNavigationHamburger as WmNavigationHamburgerElement, defineCustomElement as defineWmNavigationHamburger } from "@watermarkinsights/ripple/dist/components/wm-navigation-hamburger.js";
|
|
37
|
+
import { WmNavigationItem as WmNavigationItemElement, defineCustomElement as defineWmNavigationItem } from "@watermarkinsights/ripple/dist/components/wm-navigation-item.js";
|
|
38
|
+
import { WmNavigation as WmNavigationElement, defineCustomElement as defineWmNavigation } from "@watermarkinsights/ripple/dist/components/wm-navigation.js";
|
|
39
|
+
import { WmNavigator as WmNavigatorElement, defineCustomElement as defineWmNavigator } from "@watermarkinsights/ripple/dist/components/wm-navigator.js";
|
|
40
|
+
import { WmNestedSelect as WmNestedSelectElement, defineCustomElement as defineWmNestedSelect } from "@watermarkinsights/ripple/dist/components/wm-nested-select.js";
|
|
41
|
+
import { WmOptgroup as WmOptgroupElement, defineCustomElement as defineWmOptgroup } from "@watermarkinsights/ripple/dist/components/wm-optgroup.js";
|
|
42
|
+
import { WmOption as WmOptionElement, defineCustomElement as defineWmOption } from "@watermarkinsights/ripple/dist/components/wm-option.js";
|
|
43
|
+
import { WmPagination as WmPaginationElement, defineCustomElement as defineWmPagination } from "@watermarkinsights/ripple/dist/components/wm-pagination.js";
|
|
44
|
+
import { WmProgressIndicator as WmProgressIndicatorElement, defineCustomElement as defineWmProgressIndicator } from "@watermarkinsights/ripple/dist/components/wm-progress-indicator.js";
|
|
45
|
+
import { WmProgressMonitor as WmProgressMonitorElement, defineCustomElement as defineWmProgressMonitor } from "@watermarkinsights/ripple/dist/components/wm-progress-monitor.js";
|
|
46
|
+
import { WmProgressSlice as WmProgressSliceElement, defineCustomElement as defineWmProgressSlice } from "@watermarkinsights/ripple/dist/components/wm-progress-slice.js";
|
|
47
|
+
import { WmSearch as WmSearchElement, defineCustomElement as defineWmSearch } from "@watermarkinsights/ripple/dist/components/wm-search.js";
|
|
48
|
+
import { WmSelect as WmSelectElement, defineCustomElement as defineWmSelect } from "@watermarkinsights/ripple/dist/components/wm-select.js";
|
|
49
|
+
import { WmSnackbar as WmSnackbarElement, defineCustomElement as defineWmSnackbar } from "@watermarkinsights/ripple/dist/components/wm-snackbar.js";
|
|
50
|
+
import { WmTabItem as WmTabItemElement, defineCustomElement as defineWmTabItem } from "@watermarkinsights/ripple/dist/components/wm-tab-item.js";
|
|
51
|
+
import { WmTabList as WmTabListElement, defineCustomElement as defineWmTabList } from "@watermarkinsights/ripple/dist/components/wm-tab-list.js";
|
|
52
|
+
import { WmTabPanel as WmTabPanelElement, defineCustomElement as defineWmTabPanel } from "@watermarkinsights/ripple/dist/components/wm-tab-panel.js";
|
|
53
|
+
import { WmTagInput as WmTagInputElement, defineCustomElement as defineWmTagInput } from "@watermarkinsights/ripple/dist/components/wm-tag-input.js";
|
|
54
|
+
import { WmTagOption as WmTagOptionElement, defineCustomElement as defineWmTagOption } from "@watermarkinsights/ripple/dist/components/wm-tag-option.js";
|
|
55
|
+
import { WmTextarea as WmTextareaElement, defineCustomElement as defineWmTextarea } from "@watermarkinsights/ripple/dist/components/wm-textarea.js";
|
|
56
|
+
import { WmTimepicker as WmTimepickerElement, defineCustomElement as defineWmTimepicker } from "@watermarkinsights/ripple/dist/components/wm-timepicker.js";
|
|
57
|
+
import { WmToggletip as WmToggletipElement, defineCustomElement as defineWmToggletip } from "@watermarkinsights/ripple/dist/components/wm-toggletip.js";
|
|
58
|
+
import { WmUploader as WmUploaderElement, defineCustomElement as defineWmUploader } from "@watermarkinsights/ripple/dist/components/wm-uploader.js";
|
|
59
|
+
import { WmWrapper as WmWrapperElement, defineCustomElement as defineWmWrapper } from "@watermarkinsights/ripple/dist/components/wm-wrapper.js";
|
|
60
|
+
import React from 'react';
|
|
61
|
+
|
|
62
|
+
export type PrivCalendarEvents = {
|
|
63
|
+
onCellTriggered: EventName<PrivCalendarCustomEvent<{ cal: HTMLPrivCalendarElement; cell: HTMLElement }>>,
|
|
64
|
+
onCellHovered: EventName<CustomEvent<string>>,
|
|
65
|
+
onOutOfCal: EventName<CustomEvent<string>>,
|
|
66
|
+
onPopupBlurred: EventName<PrivCalendarCustomEvent<{ relatedTarget: EventTarget | null }>>,
|
|
67
|
+
onDateFocus: EventName<CustomEvent<any>>
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const PrivCalendar: StencilReactComponent<PrivCalendarElement, PrivCalendarEvents> = /*@__PURE__*/ createComponent<PrivCalendarElement, PrivCalendarEvents>({
|
|
71
|
+
tagName: 'priv-calendar',
|
|
72
|
+
elementClass: PrivCalendarElement,
|
|
73
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
74
|
+
react: React,
|
|
75
|
+
events: {
|
|
76
|
+
onCellTriggered: 'cellTriggered',
|
|
77
|
+
onCellHovered: 'cellHovered',
|
|
78
|
+
onOutOfCal: 'outOfCal',
|
|
79
|
+
onPopupBlurred: 'popupBlurred',
|
|
80
|
+
onDateFocus: 'dateFocus'
|
|
81
|
+
} as PrivCalendarEvents,
|
|
82
|
+
defineCustomElement: definePrivCalendar
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export type PrivChartPopoverEvents = {
|
|
86
|
+
onWmChartPopoverButtonTriggered: EventName<PrivChartPopoverCustomEvent<HTMLWmChartSliceElement>>,
|
|
87
|
+
onWmProgressIndicatorButtonTriggered: EventName<PrivChartPopoverCustomEvent<HTMLWmProgressSliceElement>>,
|
|
88
|
+
onIntChartPopoverOpenChanged: EventName<CustomEvent<boolean>>
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export const PrivChartPopover: StencilReactComponent<PrivChartPopoverElement, PrivChartPopoverEvents> = /*@__PURE__*/ createComponent<PrivChartPopoverElement, PrivChartPopoverEvents>({
|
|
92
|
+
tagName: 'priv-chart-popover',
|
|
93
|
+
elementClass: PrivChartPopoverElement,
|
|
94
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
95
|
+
react: React,
|
|
96
|
+
events: {
|
|
97
|
+
onWmChartPopoverButtonTriggered: 'wmChartPopoverButtonTriggered',
|
|
98
|
+
onWmProgressIndicatorButtonTriggered: 'wmProgressIndicatorButtonTriggered',
|
|
99
|
+
onIntChartPopoverOpenChanged: 'intChartPopoverOpenChanged'
|
|
100
|
+
} as PrivChartPopoverEvents,
|
|
101
|
+
defineCustomElement: definePrivChartPopover
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
export type PrivNavigatorButtonEvents = { onButtonActivated: EventName<CustomEvent<any>> };
|
|
105
|
+
|
|
106
|
+
export const PrivNavigatorButton: StencilReactComponent<PrivNavigatorButtonElement, PrivNavigatorButtonEvents> = /*@__PURE__*/ createComponent<PrivNavigatorButtonElement, PrivNavigatorButtonEvents>({
|
|
107
|
+
tagName: 'priv-navigator-button',
|
|
108
|
+
elementClass: PrivNavigatorButtonElement,
|
|
109
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
110
|
+
react: React,
|
|
111
|
+
events: { onButtonActivated: 'buttonActivated' } as PrivNavigatorButtonEvents,
|
|
112
|
+
defineCustomElement: definePrivNavigatorButton
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
export type PrivNavigatorItemEvents = {
|
|
116
|
+
onKeydownOnNavItem: EventName<PrivNavigatorItemCustomEvent<{
|
|
117
|
+
navItem: HTMLPrivNavigatorItemElement;
|
|
118
|
+
key: string;
|
|
119
|
+
}>>
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export const PrivNavigatorItem: StencilReactComponent<PrivNavigatorItemElement, PrivNavigatorItemEvents> = /*@__PURE__*/ createComponent<PrivNavigatorItemElement, PrivNavigatorItemEvents>({
|
|
123
|
+
tagName: 'priv-navigator-item',
|
|
124
|
+
elementClass: PrivNavigatorItemElement,
|
|
125
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
126
|
+
react: React,
|
|
127
|
+
events: { onKeydownOnNavItem: 'keydownOnNavItem' } as PrivNavigatorItemEvents,
|
|
128
|
+
defineCustomElement: definePrivNavigatorItem
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
export type PrivOptionListEvents = {
|
|
132
|
+
onOptionListSearchChanged: EventName<PrivOptionListCustomEvent<Object>>,
|
|
133
|
+
onOptionListCloseRequested: EventName<CustomEvent<any>>,
|
|
134
|
+
onOptionListAllSelected: EventName<CustomEvent<any>>,
|
|
135
|
+
onOptionListAllDeselected: EventName<CustomEvent<any>>,
|
|
136
|
+
onWmEscKeyPressed: EventName<CustomEvent<any>>,
|
|
137
|
+
onWmKeyLeftPressed: EventName<CustomEvent<any>>
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
export const PrivOptionList: StencilReactComponent<PrivOptionListElement, PrivOptionListEvents> = /*@__PURE__*/ createComponent<PrivOptionListElement, PrivOptionListEvents>({
|
|
141
|
+
tagName: 'priv-option-list',
|
|
142
|
+
elementClass: PrivOptionListElement,
|
|
143
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
144
|
+
react: React,
|
|
145
|
+
events: {
|
|
146
|
+
onOptionListSearchChanged: 'optionListSearchChanged',
|
|
147
|
+
onOptionListCloseRequested: 'optionListCloseRequested',
|
|
148
|
+
onOptionListAllSelected: 'optionListAllSelected',
|
|
149
|
+
onOptionListAllDeselected: 'optionListAllDeselected',
|
|
150
|
+
onWmEscKeyPressed: 'wmEscKeyPressed',
|
|
151
|
+
onWmKeyLeftPressed: 'wmKeyLeftPressed'
|
|
152
|
+
} as PrivOptionListEvents,
|
|
153
|
+
defineCustomElement: definePrivOptionList
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
export type WmActionMenuEvents = {
|
|
157
|
+
onWmActionMenuLoaded: EventName<CustomEvent<any>>,
|
|
158
|
+
onMenuLoaded: EventName<CustomEvent<any>>
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
export const WmActionMenu: StencilReactComponent<WmActionMenuElement, WmActionMenuEvents> = /*@__PURE__*/ createComponent<WmActionMenuElement, WmActionMenuEvents>({
|
|
162
|
+
tagName: 'wm-action-menu',
|
|
163
|
+
elementClass: WmActionMenuElement,
|
|
164
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
165
|
+
react: React,
|
|
166
|
+
events: {
|
|
167
|
+
onWmActionMenuLoaded: 'wmActionMenuLoaded',
|
|
168
|
+
onMenuLoaded: 'menuLoaded'
|
|
169
|
+
} as WmActionMenuEvents,
|
|
170
|
+
defineCustomElement: defineWmActionMenu
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
export type WmButtonEvents = NonNullable<unknown>;
|
|
174
|
+
|
|
175
|
+
export const WmButton: StencilReactComponent<WmButtonElement, WmButtonEvents> = /*@__PURE__*/ createComponent<WmButtonElement, WmButtonEvents>({
|
|
176
|
+
tagName: 'wm-button',
|
|
177
|
+
elementClass: WmButtonElement,
|
|
178
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
179
|
+
react: React,
|
|
180
|
+
events: {} as WmButtonEvents,
|
|
181
|
+
defineCustomElement: defineWmButton
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
export type WmChartEvents = NonNullable<unknown>;
|
|
185
|
+
|
|
186
|
+
export const WmChart: StencilReactComponent<WmChartElement, WmChartEvents> = /*@__PURE__*/ createComponent<WmChartElement, WmChartEvents>({
|
|
187
|
+
tagName: 'wm-chart',
|
|
188
|
+
elementClass: WmChartElement,
|
|
189
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
190
|
+
react: React,
|
|
191
|
+
events: {} as WmChartEvents,
|
|
192
|
+
defineCustomElement: defineWmChart
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
export type WmChartSliceEvents = { onWmChartSliceUpdated: EventName<CustomEvent<void>> };
|
|
196
|
+
|
|
197
|
+
export const WmChartSlice: StencilReactComponent<WmChartSliceElement, WmChartSliceEvents> = /*@__PURE__*/ createComponent<WmChartSliceElement, WmChartSliceEvents>({
|
|
198
|
+
tagName: 'wm-chart-slice',
|
|
199
|
+
elementClass: WmChartSliceElement,
|
|
200
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
201
|
+
react: React,
|
|
202
|
+
events: { onWmChartSliceUpdated: 'wmChartSliceUpdated' } as WmChartSliceEvents,
|
|
203
|
+
defineCustomElement: defineWmChartSlice
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
export type WmDateRangeEvents = {
|
|
207
|
+
onWmRangeSelection: EventName<CustomEvent<any>>,
|
|
208
|
+
onWmStartInputBlur: EventName<CustomEvent<any>>,
|
|
209
|
+
onWmEndInputBlur: EventName<CustomEvent<any>>
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export const WmDateRange: StencilReactComponent<WmDateRangeElement, WmDateRangeEvents> = /*@__PURE__*/ createComponent<WmDateRangeElement, WmDateRangeEvents>({
|
|
213
|
+
tagName: 'wm-date-range',
|
|
214
|
+
elementClass: WmDateRangeElement,
|
|
215
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
216
|
+
react: React,
|
|
217
|
+
events: {
|
|
218
|
+
onWmRangeSelection: 'wmRangeSelection',
|
|
219
|
+
onWmStartInputBlur: 'wmStartInputBlur',
|
|
220
|
+
onWmEndInputBlur: 'wmEndInputBlur'
|
|
221
|
+
} as WmDateRangeEvents,
|
|
222
|
+
defineCustomElement: defineWmDateRange
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
export type WmDatepickerEvents = {
|
|
226
|
+
onWmDatepickerDateSelected: EventName<CustomEvent<any>>,
|
|
227
|
+
onWmDatepickerInputBlurred: EventName<CustomEvent<any>>
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
export const WmDatepicker: StencilReactComponent<WmDatepickerElement, WmDatepickerEvents> = /*@__PURE__*/ createComponent<WmDatepickerElement, WmDatepickerEvents>({
|
|
231
|
+
tagName: 'wm-datepicker',
|
|
232
|
+
elementClass: WmDatepickerElement,
|
|
233
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
234
|
+
react: React,
|
|
235
|
+
events: {
|
|
236
|
+
onWmDatepickerDateSelected: 'wmDatepickerDateSelected',
|
|
237
|
+
onWmDatepickerInputBlurred: 'wmDatepickerInputBlurred'
|
|
238
|
+
} as WmDatepickerEvents,
|
|
239
|
+
defineCustomElement: defineWmDatepicker
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
export type WmFileEvents = {
|
|
243
|
+
onWmFilePreview: EventName<CustomEvent<any>>,
|
|
244
|
+
onWmFileDownload: EventName<CustomEvent<any>>,
|
|
245
|
+
onWmFileDelete: EventName<CustomEvent<any>>,
|
|
246
|
+
onWmFileErrorCleared: EventName<CustomEvent<any>>
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
export const WmFile: StencilReactComponent<WmFileElement, WmFileEvents> = /*@__PURE__*/ createComponent<WmFileElement, WmFileEvents>({
|
|
250
|
+
tagName: 'wm-file',
|
|
251
|
+
elementClass: WmFileElement,
|
|
252
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
253
|
+
react: React,
|
|
254
|
+
events: {
|
|
255
|
+
onWmFilePreview: 'wmFilePreview',
|
|
256
|
+
onWmFileDownload: 'wmFileDownload',
|
|
257
|
+
onWmFileDelete: 'wmFileDelete',
|
|
258
|
+
onWmFileErrorCleared: 'wmFileErrorCleared'
|
|
259
|
+
} as WmFileEvents,
|
|
260
|
+
defineCustomElement: defineWmFile
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
export type WmFileListEvents = NonNullable<unknown>;
|
|
264
|
+
|
|
265
|
+
export const WmFileList: StencilReactComponent<WmFileListElement, WmFileListEvents> = /*@__PURE__*/ createComponent<WmFileListElement, WmFileListEvents>({
|
|
266
|
+
tagName: 'wm-file-list',
|
|
267
|
+
elementClass: WmFileListElement,
|
|
268
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
269
|
+
react: React,
|
|
270
|
+
events: {} as WmFileListEvents,
|
|
271
|
+
defineCustomElement: defineWmFileList
|
|
272
|
+
});
|
|
273
|
+
|
|
274
|
+
export type WmFlyoutEvents = {
|
|
275
|
+
onWmFlyoutCloseTriggered: EventName<CustomEvent<void>>,
|
|
276
|
+
onWmFlyoutPrimaryTriggered: EventName<CustomEvent<void>>,
|
|
277
|
+
onWmFlyoutSecondaryTriggered: EventName<CustomEvent<void>>,
|
|
278
|
+
onWmFlyoutBreadcrumbClicked: EventName<CustomEvent<{ breadcrumb: string; index: number }>>
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
export const WmFlyout: StencilReactComponent<WmFlyoutElement, WmFlyoutEvents> = /*@__PURE__*/ createComponent<WmFlyoutElement, WmFlyoutEvents>({
|
|
282
|
+
tagName: 'wm-flyout',
|
|
283
|
+
elementClass: WmFlyoutElement,
|
|
284
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
285
|
+
react: React,
|
|
286
|
+
events: {
|
|
287
|
+
onWmFlyoutCloseTriggered: 'wmFlyoutCloseTriggered',
|
|
288
|
+
onWmFlyoutPrimaryTriggered: 'wmFlyoutPrimaryTriggered',
|
|
289
|
+
onWmFlyoutSecondaryTriggered: 'wmFlyoutSecondaryTriggered',
|
|
290
|
+
onWmFlyoutBreadcrumbClicked: 'wmFlyoutBreadcrumbClicked'
|
|
291
|
+
} as WmFlyoutEvents,
|
|
292
|
+
defineCustomElement: defineWmFlyout
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
export type WmInputEvents = { onWmInputValueChanged: EventName<CustomEvent<{ value: string }>> };
|
|
296
|
+
|
|
297
|
+
export const WmInput: StencilReactComponent<WmInputElement, WmInputEvents> = /*@__PURE__*/ createComponent<WmInputElement, WmInputEvents>({
|
|
298
|
+
tagName: 'wm-input',
|
|
299
|
+
elementClass: WmInputElement,
|
|
300
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
301
|
+
react: React,
|
|
302
|
+
events: { onWmInputValueChanged: 'wmInputValueChanged' } as WmInputEvents,
|
|
303
|
+
defineCustomElement: defineWmInput
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
export type WmLineChartEvents = NonNullable<unknown>;
|
|
307
|
+
|
|
308
|
+
export const WmLineChart: StencilReactComponent<WmLineChartElement, WmLineChartEvents> = /*@__PURE__*/ createComponent<WmLineChartElement, WmLineChartEvents>({
|
|
309
|
+
tagName: 'wm-line-chart',
|
|
310
|
+
elementClass: WmLineChartElement,
|
|
311
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
312
|
+
react: React,
|
|
313
|
+
events: {} as WmLineChartEvents,
|
|
314
|
+
defineCustomElement: defineWmLineChart
|
|
315
|
+
});
|
|
316
|
+
|
|
317
|
+
export type WmMenuitemEvents = {
|
|
318
|
+
onWmMenuitemClicked: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
319
|
+
onWmKeyUpPressed: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
320
|
+
onWmKeyDownPressed: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
321
|
+
onWmEscKeyPressed: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
322
|
+
onWmHomeKeyPressed: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
323
|
+
onWmEndKeyPressed: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
324
|
+
onWmPageDownItems: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
325
|
+
onWmPageUpItems: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
326
|
+
onWmTabKeyPressed: EventName<WmMenuitemCustomEvent<HTMLWmMenuitemElement>>,
|
|
327
|
+
onWmLetterPressed: EventName<CustomEvent<any>>,
|
|
328
|
+
onWmMenuitemBlurred: EventName<WmMenuitemCustomEvent<{ relatedTarget: EventTarget | null }>>
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
export const WmMenuitem: StencilReactComponent<WmMenuitemElement, WmMenuitemEvents> = /*@__PURE__*/ createComponent<WmMenuitemElement, WmMenuitemEvents>({
|
|
332
|
+
tagName: 'wm-menuitem',
|
|
333
|
+
elementClass: WmMenuitemElement,
|
|
334
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
335
|
+
react: React,
|
|
336
|
+
events: {
|
|
337
|
+
onWmMenuitemClicked: 'wmMenuitemClicked',
|
|
338
|
+
onWmKeyUpPressed: 'wmKeyUpPressed',
|
|
339
|
+
onWmKeyDownPressed: 'wmKeyDownPressed',
|
|
340
|
+
onWmEscKeyPressed: 'wmEscKeyPressed',
|
|
341
|
+
onWmHomeKeyPressed: 'wmHomeKeyPressed',
|
|
342
|
+
onWmEndKeyPressed: 'wmEndKeyPressed',
|
|
343
|
+
onWmPageDownItems: 'wmPageDownItems',
|
|
344
|
+
onWmPageUpItems: 'wmPageUpItems',
|
|
345
|
+
onWmTabKeyPressed: 'wmTabKeyPressed',
|
|
346
|
+
onWmLetterPressed: 'wmLetterPressed',
|
|
347
|
+
onWmMenuitemBlurred: 'wmMenuitemBlurred'
|
|
348
|
+
} as WmMenuitemEvents,
|
|
349
|
+
defineCustomElement: defineWmMenuitem
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
export type WmModalEvents = {
|
|
353
|
+
onFocusLastElement: EventName<CustomEvent<any>>,
|
|
354
|
+
onFocusFirstElement: EventName<CustomEvent<any>>,
|
|
355
|
+
onWmModalCloseTriggered: EventName<CustomEvent<any>>,
|
|
356
|
+
onWmModalPrimaryTriggered: EventName<CustomEvent<any>>,
|
|
357
|
+
onWmModalSecondaryTriggered: EventName<CustomEvent<any>>
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
export const WmModal: StencilReactComponent<WmModalElement, WmModalEvents> = /*@__PURE__*/ createComponent<WmModalElement, WmModalEvents>({
|
|
361
|
+
tagName: 'wm-modal',
|
|
362
|
+
elementClass: WmModalElement,
|
|
363
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
364
|
+
react: React,
|
|
365
|
+
events: {
|
|
366
|
+
onFocusLastElement: 'focusLastElement',
|
|
367
|
+
onFocusFirstElement: 'focusFirstElement',
|
|
368
|
+
onWmModalCloseTriggered: 'wmModalCloseTriggered',
|
|
369
|
+
onWmModalPrimaryTriggered: 'wmModalPrimaryTriggered',
|
|
370
|
+
onWmModalSecondaryTriggered: 'wmModalSecondaryTriggered'
|
|
371
|
+
} as WmModalEvents,
|
|
372
|
+
defineCustomElement: defineWmModal
|
|
373
|
+
});
|
|
374
|
+
|
|
375
|
+
export type WmModalFooterEvents = NonNullable<unknown>;
|
|
376
|
+
|
|
377
|
+
export const WmModalFooter: StencilReactComponent<WmModalFooterElement, WmModalFooterEvents> = /*@__PURE__*/ createComponent<WmModalFooterElement, WmModalFooterEvents>({
|
|
378
|
+
tagName: 'wm-modal-footer',
|
|
379
|
+
elementClass: WmModalFooterElement,
|
|
380
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
381
|
+
react: React,
|
|
382
|
+
events: {} as WmModalFooterEvents,
|
|
383
|
+
defineCustomElement: defineWmModalFooter
|
|
384
|
+
});
|
|
385
|
+
|
|
386
|
+
export type WmModalHeaderEvents = NonNullable<unknown>;
|
|
387
|
+
|
|
388
|
+
export const WmModalHeader: StencilReactComponent<WmModalHeaderElement, WmModalHeaderEvents> = /*@__PURE__*/ createComponent<WmModalHeaderElement, WmModalHeaderEvents>({
|
|
389
|
+
tagName: 'wm-modal-header',
|
|
390
|
+
elementClass: WmModalHeaderElement,
|
|
391
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
392
|
+
react: React,
|
|
393
|
+
events: {} as WmModalHeaderEvents,
|
|
394
|
+
defineCustomElement: defineWmModalHeader
|
|
395
|
+
});
|
|
396
|
+
|
|
397
|
+
export type WmModalPssEvents = {
|
|
398
|
+
onFocusLastElement: EventName<CustomEvent<any>>,
|
|
399
|
+
onFocusFirstElement: EventName<CustomEvent<any>>,
|
|
400
|
+
onWmModalCloseTriggered: EventName<CustomEvent<any>>,
|
|
401
|
+
onWmModalPrimaryTriggered: EventName<CustomEvent<any>>,
|
|
402
|
+
onWmModalSecondaryTriggered: EventName<CustomEvent<any>>
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
export const WmModalPss: StencilReactComponent<WmModalPssElement, WmModalPssEvents> = /*@__PURE__*/ createComponent<WmModalPssElement, WmModalPssEvents>({
|
|
406
|
+
tagName: 'wm-modal-pss',
|
|
407
|
+
elementClass: WmModalPssElement,
|
|
408
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
409
|
+
react: React,
|
|
410
|
+
events: {
|
|
411
|
+
onFocusLastElement: 'focusLastElement',
|
|
412
|
+
onFocusFirstElement: 'focusFirstElement',
|
|
413
|
+
onWmModalCloseTriggered: 'wmModalCloseTriggered',
|
|
414
|
+
onWmModalPrimaryTriggered: 'wmModalPrimaryTriggered',
|
|
415
|
+
onWmModalSecondaryTriggered: 'wmModalSecondaryTriggered'
|
|
416
|
+
} as WmModalPssEvents,
|
|
417
|
+
defineCustomElement: defineWmModalPss
|
|
418
|
+
});
|
|
419
|
+
|
|
420
|
+
export type WmModalPssFooterEvents = NonNullable<unknown>;
|
|
421
|
+
|
|
422
|
+
export const WmModalPssFooter: StencilReactComponent<WmModalPssFooterElement, WmModalPssFooterEvents> = /*@__PURE__*/ createComponent<WmModalPssFooterElement, WmModalPssFooterEvents>({
|
|
423
|
+
tagName: 'wm-modal-pss-footer',
|
|
424
|
+
elementClass: WmModalPssFooterElement,
|
|
425
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
426
|
+
react: React,
|
|
427
|
+
events: {} as WmModalPssFooterEvents,
|
|
428
|
+
defineCustomElement: defineWmModalPssFooter
|
|
429
|
+
});
|
|
430
|
+
|
|
431
|
+
export type WmModalPssHeaderEvents = NonNullable<unknown>;
|
|
432
|
+
|
|
433
|
+
export const WmModalPssHeader: StencilReactComponent<WmModalPssHeaderElement, WmModalPssHeaderEvents> = /*@__PURE__*/ createComponent<WmModalPssHeaderElement, WmModalPssHeaderEvents>({
|
|
434
|
+
tagName: 'wm-modal-pss-header',
|
|
435
|
+
elementClass: WmModalPssHeaderElement,
|
|
436
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
437
|
+
react: React,
|
|
438
|
+
events: {} as WmModalPssHeaderEvents,
|
|
439
|
+
defineCustomElement: defineWmModalPssHeader
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
export type WmNavigationEvents = { onWmNavigationStateChanged: EventName<CustomEvent<any>> };
|
|
443
|
+
|
|
444
|
+
export const WmNavigation: StencilReactComponent<WmNavigationElement, WmNavigationEvents> = /*@__PURE__*/ createComponent<WmNavigationElement, WmNavigationEvents>({
|
|
445
|
+
tagName: 'wm-navigation',
|
|
446
|
+
elementClass: WmNavigationElement,
|
|
447
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
448
|
+
react: React,
|
|
449
|
+
events: { onWmNavigationStateChanged: 'wmNavigationStateChanged' } as WmNavigationEvents,
|
|
450
|
+
defineCustomElement: defineWmNavigation
|
|
451
|
+
});
|
|
452
|
+
|
|
453
|
+
export type WmNavigationHamburgerEvents = { onWmNavigationHamburgerClicked: EventName<CustomEvent<any>> };
|
|
454
|
+
|
|
455
|
+
export const WmNavigationHamburger: StencilReactComponent<WmNavigationHamburgerElement, WmNavigationHamburgerEvents> = /*@__PURE__*/ createComponent<WmNavigationHamburgerElement, WmNavigationHamburgerEvents>({
|
|
456
|
+
tagName: 'wm-navigation-hamburger',
|
|
457
|
+
elementClass: WmNavigationHamburgerElement,
|
|
458
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
459
|
+
react: React,
|
|
460
|
+
events: { onWmNavigationHamburgerClicked: 'wmNavigationHamburgerClicked' } as WmNavigationHamburgerEvents,
|
|
461
|
+
defineCustomElement: defineWmNavigationHamburger
|
|
462
|
+
});
|
|
463
|
+
|
|
464
|
+
export type WmNavigationItemEvents = { onWmNavigationItemClicked: EventName<CustomEvent<any>> };
|
|
465
|
+
|
|
466
|
+
export const WmNavigationItem: StencilReactComponent<WmNavigationItemElement, WmNavigationItemEvents> = /*@__PURE__*/ createComponent<WmNavigationItemElement, WmNavigationItemEvents>({
|
|
467
|
+
tagName: 'wm-navigation-item',
|
|
468
|
+
elementClass: WmNavigationItemElement,
|
|
469
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
470
|
+
react: React,
|
|
471
|
+
events: { onWmNavigationItemClicked: 'wmNavigationItemClicked' } as WmNavigationItemEvents,
|
|
472
|
+
defineCustomElement: defineWmNavigationItem
|
|
473
|
+
});
|
|
474
|
+
|
|
475
|
+
export type WmNavigatorEvents = { onWmNavigatorLogout: EventName<CustomEvent<any>> };
|
|
476
|
+
|
|
477
|
+
export const WmNavigator: StencilReactComponent<WmNavigatorElement, WmNavigatorEvents> = /*@__PURE__*/ createComponent<WmNavigatorElement, WmNavigatorEvents>({
|
|
478
|
+
tagName: 'wm-navigator',
|
|
479
|
+
elementClass: WmNavigatorElement,
|
|
480
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
481
|
+
react: React,
|
|
482
|
+
events: { onWmNavigatorLogout: 'wmNavigatorLogout' } as WmNavigatorEvents,
|
|
483
|
+
defineCustomElement: defineWmNavigator
|
|
484
|
+
});
|
|
485
|
+
|
|
486
|
+
export type WmNestedSelectEvents = { onWmNestedSelectBlurred: EventName<CustomEvent<void>> };
|
|
487
|
+
|
|
488
|
+
export const WmNestedSelect: StencilReactComponent<WmNestedSelectElement, WmNestedSelectEvents> = /*@__PURE__*/ createComponent<WmNestedSelectElement, WmNestedSelectEvents>({
|
|
489
|
+
tagName: 'wm-nested-select',
|
|
490
|
+
elementClass: WmNestedSelectElement,
|
|
491
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
492
|
+
react: React,
|
|
493
|
+
events: { onWmNestedSelectBlurred: 'wmNestedSelectBlurred' } as WmNestedSelectEvents,
|
|
494
|
+
defineCustomElement: defineWmNestedSelect
|
|
495
|
+
});
|
|
496
|
+
|
|
497
|
+
export type WmOptgroupEvents = {
|
|
498
|
+
onWmOptgroupAllSelected: EventName<CustomEvent<any>>,
|
|
499
|
+
onWmOptgroupAllDeselected: EventName<CustomEvent<any>>,
|
|
500
|
+
onOptgroupExpanded: EventName<CustomEvent<any>>,
|
|
501
|
+
onOptgroupHidden: EventName<CustomEvent<any>>
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
export const WmOptgroup: StencilReactComponent<WmOptgroupElement, WmOptgroupEvents> = /*@__PURE__*/ createComponent<WmOptgroupElement, WmOptgroupEvents>({
|
|
505
|
+
tagName: 'wm-optgroup',
|
|
506
|
+
elementClass: WmOptgroupElement,
|
|
507
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
508
|
+
react: React,
|
|
509
|
+
events: {
|
|
510
|
+
onWmOptgroupAllSelected: 'wmOptgroupAllSelected',
|
|
511
|
+
onWmOptgroupAllDeselected: 'wmOptgroupAllDeselected',
|
|
512
|
+
onOptgroupExpanded: 'optgroupExpanded',
|
|
513
|
+
onOptgroupHidden: 'optgroupHidden'
|
|
514
|
+
} as WmOptgroupEvents,
|
|
515
|
+
defineCustomElement: defineWmOptgroup
|
|
516
|
+
});
|
|
517
|
+
|
|
518
|
+
export type WmOptionEvents = {
|
|
519
|
+
onWmOptionSelected: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
520
|
+
onWmOptionDeselected: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
521
|
+
onIntCloneClicked: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
522
|
+
onWmKeyUpPressed: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
523
|
+
onWmKeyDownPressed: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
524
|
+
onWmKeyLeftPressed: EventName<CustomEvent<any>>,
|
|
525
|
+
onWmEscKeyPressed: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
526
|
+
onWmHomeKeyPressed: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
527
|
+
onWmEndKeyPressed: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
528
|
+
onWmEnterKeyPressed: EventName<WmOptionCustomEvent<HTMLWmOptionElement>>,
|
|
529
|
+
onWmLetterPressed: EventName<WmOptionCustomEvent<{ optionEl: HTMLElement; letter: string }>>,
|
|
530
|
+
onWmOptionBlurred: EventName<WmOptionCustomEvent<{ relatedTarget: EventTarget | null }>>
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
export const WmOption: StencilReactComponent<WmOptionElement, WmOptionEvents> = /*@__PURE__*/ createComponent<WmOptionElement, WmOptionEvents>({
|
|
534
|
+
tagName: 'wm-option',
|
|
535
|
+
elementClass: WmOptionElement,
|
|
536
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
537
|
+
react: React,
|
|
538
|
+
events: {
|
|
539
|
+
onWmOptionSelected: 'wmOptionSelected',
|
|
540
|
+
onWmOptionDeselected: 'wmOptionDeselected',
|
|
541
|
+
onIntCloneClicked: 'intCloneClicked',
|
|
542
|
+
onWmKeyUpPressed: 'wmKeyUpPressed',
|
|
543
|
+
onWmKeyDownPressed: 'wmKeyDownPressed',
|
|
544
|
+
onWmKeyLeftPressed: 'wmKeyLeftPressed',
|
|
545
|
+
onWmEscKeyPressed: 'wmEscKeyPressed',
|
|
546
|
+
onWmHomeKeyPressed: 'wmHomeKeyPressed',
|
|
547
|
+
onWmEndKeyPressed: 'wmEndKeyPressed',
|
|
548
|
+
onWmEnterKeyPressed: 'wmEnterKeyPressed',
|
|
549
|
+
onWmLetterPressed: 'wmLetterPressed',
|
|
550
|
+
onWmOptionBlurred: 'wmOptionBlurred'
|
|
551
|
+
} as WmOptionEvents,
|
|
552
|
+
defineCustomElement: defineWmOption
|
|
553
|
+
});
|
|
554
|
+
|
|
555
|
+
export type WmPaginationEvents = {
|
|
556
|
+
onWmPaginationPageClicked: EventName<CustomEvent<string>>,
|
|
557
|
+
onFocusCurrentPage: EventName<CustomEvent<any>>
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
export const WmPagination: StencilReactComponent<WmPaginationElement, WmPaginationEvents> = /*@__PURE__*/ createComponent<WmPaginationElement, WmPaginationEvents>({
|
|
561
|
+
tagName: 'wm-pagination',
|
|
562
|
+
elementClass: WmPaginationElement,
|
|
563
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
564
|
+
react: React,
|
|
565
|
+
events: {
|
|
566
|
+
onWmPaginationPageClicked: 'wmPaginationPageClicked',
|
|
567
|
+
onFocusCurrentPage: 'focusCurrentPage'
|
|
568
|
+
} as WmPaginationEvents,
|
|
569
|
+
defineCustomElement: defineWmPagination
|
|
570
|
+
});
|
|
571
|
+
|
|
572
|
+
export type WmProgressIndicatorEvents = NonNullable<unknown>;
|
|
573
|
+
|
|
574
|
+
export const WmProgressIndicator: StencilReactComponent<WmProgressIndicatorElement, WmProgressIndicatorEvents> = /*@__PURE__*/ createComponent<WmProgressIndicatorElement, WmProgressIndicatorEvents>({
|
|
575
|
+
tagName: 'wm-progress-indicator',
|
|
576
|
+
elementClass: WmProgressIndicatorElement,
|
|
577
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
578
|
+
react: React,
|
|
579
|
+
events: {} as WmProgressIndicatorEvents,
|
|
580
|
+
defineCustomElement: defineWmProgressIndicator
|
|
581
|
+
});
|
|
582
|
+
|
|
583
|
+
export type WmProgressMonitorEvents = { onWmProgressMonitorModeChange: EventName<CustomEvent<any>> };
|
|
584
|
+
|
|
585
|
+
export const WmProgressMonitor: StencilReactComponent<WmProgressMonitorElement, WmProgressMonitorEvents> = /*@__PURE__*/ createComponent<WmProgressMonitorElement, WmProgressMonitorEvents>({
|
|
586
|
+
tagName: 'wm-progress-monitor',
|
|
587
|
+
elementClass: WmProgressMonitorElement,
|
|
588
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
589
|
+
react: React,
|
|
590
|
+
events: { onWmProgressMonitorModeChange: 'wmProgressMonitorModeChange' } as WmProgressMonitorEvents,
|
|
591
|
+
defineCustomElement: defineWmProgressMonitor
|
|
592
|
+
});
|
|
593
|
+
|
|
594
|
+
export type WmProgressSliceEvents = { onWmProgressSliceUpdated: EventName<CustomEvent<void>> };
|
|
595
|
+
|
|
596
|
+
export const WmProgressSlice: StencilReactComponent<WmProgressSliceElement, WmProgressSliceEvents> = /*@__PURE__*/ createComponent<WmProgressSliceElement, WmProgressSliceEvents>({
|
|
597
|
+
tagName: 'wm-progress-slice',
|
|
598
|
+
elementClass: WmProgressSliceElement,
|
|
599
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
600
|
+
react: React,
|
|
601
|
+
events: { onWmProgressSliceUpdated: 'wmProgressSliceUpdated' } as WmProgressSliceEvents,
|
|
602
|
+
defineCustomElement: defineWmProgressSlice
|
|
603
|
+
});
|
|
604
|
+
|
|
605
|
+
export type WmSearchEvents = {
|
|
606
|
+
onWmSearchBrowseResults: EventName<CustomEvent<{ position: number }>>,
|
|
607
|
+
onWmSearchValueChanged: EventName<CustomEvent<{ value: string }>>
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
export const WmSearch: StencilReactComponent<WmSearchElement, WmSearchEvents> = /*@__PURE__*/ createComponent<WmSearchElement, WmSearchEvents>({
|
|
611
|
+
tagName: 'wm-search',
|
|
612
|
+
elementClass: WmSearchElement,
|
|
613
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
614
|
+
react: React,
|
|
615
|
+
events: {
|
|
616
|
+
onWmSearchBrowseResults: 'wmSearchBrowseResults',
|
|
617
|
+
onWmSearchValueChanged: 'wmSearchValueChanged'
|
|
618
|
+
} as WmSearchEvents,
|
|
619
|
+
defineCustomElement: defineWmSearch
|
|
620
|
+
});
|
|
621
|
+
|
|
622
|
+
export type WmSelectEvents = {
|
|
623
|
+
onWmSelectDidLoad: EventName<CustomEvent<void>>,
|
|
624
|
+
onWmSelectBlurred: EventName<CustomEvent<void>>,
|
|
625
|
+
onWmSelectAllSelected: EventName<CustomEvent<any>>,
|
|
626
|
+
onWmSelectAllDeselected: EventName<CustomEvent<any>>
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
export const WmSelect: StencilReactComponent<WmSelectElement, WmSelectEvents> = /*@__PURE__*/ createComponent<WmSelectElement, WmSelectEvents>({
|
|
630
|
+
tagName: 'wm-select',
|
|
631
|
+
elementClass: WmSelectElement,
|
|
632
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
633
|
+
react: React,
|
|
634
|
+
events: {
|
|
635
|
+
onWmSelectDidLoad: 'wmSelectDidLoad',
|
|
636
|
+
onWmSelectBlurred: 'wmSelectBlurred',
|
|
637
|
+
onWmSelectAllSelected: 'wmSelectAllSelected',
|
|
638
|
+
onWmSelectAllDeselected: 'wmSelectAllDeselected'
|
|
639
|
+
} as WmSelectEvents,
|
|
640
|
+
defineCustomElement: defineWmSelect
|
|
641
|
+
});
|
|
642
|
+
|
|
643
|
+
export type WmSnackbarEvents = {
|
|
644
|
+
onWmSnackbarSnackFinished: EventName<WmSnackbarCustomEvent<Object>>,
|
|
645
|
+
onWmSnackbarActionTriggered: EventName<WmSnackbarCustomEvent<Object>>
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
export const WmSnackbar: StencilReactComponent<WmSnackbarElement, WmSnackbarEvents> = /*@__PURE__*/ createComponent<WmSnackbarElement, WmSnackbarEvents>({
|
|
649
|
+
tagName: 'wm-snackbar',
|
|
650
|
+
elementClass: WmSnackbarElement,
|
|
651
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
652
|
+
react: React,
|
|
653
|
+
events: {
|
|
654
|
+
onWmSnackbarSnackFinished: 'wmSnackbarSnackFinished',
|
|
655
|
+
onWmSnackbarActionTriggered: 'wmSnackbarActionTriggered'
|
|
656
|
+
} as WmSnackbarEvents,
|
|
657
|
+
defineCustomElement: defineWmSnackbar
|
|
658
|
+
});
|
|
659
|
+
|
|
660
|
+
export type WmTabItemEvents = {
|
|
661
|
+
onWmTabSelected: EventName<CustomEvent<{ tabId: string }>>,
|
|
662
|
+
onKeydownOnTabItem: EventName<WmTabItemCustomEvent<{
|
|
663
|
+
tabItem: HTMLWmTabItemElement;
|
|
664
|
+
key: string;
|
|
665
|
+
}>>,
|
|
666
|
+
onTabItemLoaded: EventName<WmTabItemCustomEvent<{ tab: HTMLWmTabItemElement }>>
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
export const WmTabItem: StencilReactComponent<WmTabItemElement, WmTabItemEvents> = /*@__PURE__*/ createComponent<WmTabItemElement, WmTabItemEvents>({
|
|
670
|
+
tagName: 'wm-tab-item',
|
|
671
|
+
elementClass: WmTabItemElement,
|
|
672
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
673
|
+
react: React,
|
|
674
|
+
events: {
|
|
675
|
+
onWmTabSelected: 'wmTabSelected',
|
|
676
|
+
onKeydownOnTabItem: 'keydownOnTabItem',
|
|
677
|
+
onTabItemLoaded: 'tabItemLoaded'
|
|
678
|
+
} as WmTabItemEvents,
|
|
679
|
+
defineCustomElement: defineWmTabItem
|
|
680
|
+
});
|
|
681
|
+
|
|
682
|
+
export type WmTabListEvents = { onWmTabSelected: EventName<CustomEvent<{ tabId: string }>> };
|
|
683
|
+
|
|
684
|
+
export const WmTabList: StencilReactComponent<WmTabListElement, WmTabListEvents> = /*@__PURE__*/ createComponent<WmTabListElement, WmTabListEvents>({
|
|
685
|
+
tagName: 'wm-tab-list',
|
|
686
|
+
elementClass: WmTabListElement,
|
|
687
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
688
|
+
react: React,
|
|
689
|
+
events: { onWmTabSelected: 'wmTabSelected' } as WmTabListEvents,
|
|
690
|
+
defineCustomElement: defineWmTabList
|
|
691
|
+
});
|
|
692
|
+
|
|
693
|
+
export type WmTabPanelEvents = { onTabPanelLoaded: EventName<CustomEvent<{ tabId: string }>> };
|
|
694
|
+
|
|
695
|
+
export const WmTabPanel: StencilReactComponent<WmTabPanelElement, WmTabPanelEvents> = /*@__PURE__*/ createComponent<WmTabPanelElement, WmTabPanelEvents>({
|
|
696
|
+
tagName: 'wm-tab-panel',
|
|
697
|
+
elementClass: WmTabPanelElement,
|
|
698
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
699
|
+
react: React,
|
|
700
|
+
events: { onTabPanelLoaded: 'tabPanelLoaded' } as WmTabPanelEvents,
|
|
701
|
+
defineCustomElement: defineWmTabPanel
|
|
702
|
+
});
|
|
703
|
+
|
|
704
|
+
export type WmTagInputEvents = { onWmTagInputTagAdded: EventName<CustomEvent<any>> };
|
|
705
|
+
|
|
706
|
+
export const WmTagInput: StencilReactComponent<WmTagInputElement, WmTagInputEvents> = /*@__PURE__*/ createComponent<WmTagInputElement, WmTagInputEvents>({
|
|
707
|
+
tagName: 'wm-tag-input',
|
|
708
|
+
elementClass: WmTagInputElement,
|
|
709
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
710
|
+
react: React,
|
|
711
|
+
events: { onWmTagInputTagAdded: 'wmTagInputTagAdded' } as WmTagInputEvents,
|
|
712
|
+
defineCustomElement: defineWmTagInput
|
|
713
|
+
});
|
|
714
|
+
|
|
715
|
+
export type WmTagOptionEvents = {
|
|
716
|
+
onPrivTagOptionSelected: EventName<CustomEvent<void>>,
|
|
717
|
+
onPrivTagOptionDeselected: EventName<CustomEvent<void>>,
|
|
718
|
+
onWmTagOptionSelected: EventName<CustomEvent<any>>,
|
|
719
|
+
onWmTagOptionDeselected: EventName<CustomEvent<any>>
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
export const WmTagOption: StencilReactComponent<WmTagOptionElement, WmTagOptionEvents> = /*@__PURE__*/ createComponent<WmTagOptionElement, WmTagOptionEvents>({
|
|
723
|
+
tagName: 'wm-tag-option',
|
|
724
|
+
elementClass: WmTagOptionElement,
|
|
725
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
726
|
+
react: React,
|
|
727
|
+
events: {
|
|
728
|
+
onPrivTagOptionSelected: 'privTagOptionSelected',
|
|
729
|
+
onPrivTagOptionDeselected: 'privTagOptionDeselected',
|
|
730
|
+
onWmTagOptionSelected: 'wmTagOptionSelected',
|
|
731
|
+
onWmTagOptionDeselected: 'wmTagOptionDeselected'
|
|
732
|
+
} as WmTagOptionEvents,
|
|
733
|
+
defineCustomElement: defineWmTagOption
|
|
734
|
+
});
|
|
735
|
+
|
|
736
|
+
export type WmTextareaEvents = { onWmTextareaValueChanged: EventName<CustomEvent<{ value: string }>> };
|
|
737
|
+
|
|
738
|
+
export const WmTextarea: StencilReactComponent<WmTextareaElement, WmTextareaEvents> = /*@__PURE__*/ createComponent<WmTextareaElement, WmTextareaEvents>({
|
|
739
|
+
tagName: 'wm-textarea',
|
|
740
|
+
elementClass: WmTextareaElement,
|
|
741
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
742
|
+
react: React,
|
|
743
|
+
events: { onWmTextareaValueChanged: 'wmTextareaValueChanged' } as WmTextareaEvents,
|
|
744
|
+
defineCustomElement: defineWmTextarea
|
|
745
|
+
});
|
|
746
|
+
|
|
747
|
+
export type WmTimepickerEvents = {
|
|
748
|
+
onWmTimepickerInputBlurred: EventName<CustomEvent<any>>,
|
|
749
|
+
onWmTimepickerTimeSelected: EventName<CustomEvent<any>>
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
export const WmTimepicker: StencilReactComponent<WmTimepickerElement, WmTimepickerEvents> = /*@__PURE__*/ createComponent<WmTimepickerElement, WmTimepickerEvents>({
|
|
753
|
+
tagName: 'wm-timepicker',
|
|
754
|
+
elementClass: WmTimepickerElement,
|
|
755
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
756
|
+
react: React,
|
|
757
|
+
events: {
|
|
758
|
+
onWmTimepickerInputBlurred: 'wmTimepickerInputBlurred',
|
|
759
|
+
onWmTimepickerTimeSelected: 'wmTimepickerTimeSelected'
|
|
760
|
+
} as WmTimepickerEvents,
|
|
761
|
+
defineCustomElement: defineWmTimepicker
|
|
762
|
+
});
|
|
763
|
+
|
|
764
|
+
export type WmToggletipEvents = NonNullable<unknown>;
|
|
765
|
+
|
|
766
|
+
export const WmToggletip: StencilReactComponent<WmToggletipElement, WmToggletipEvents> = /*@__PURE__*/ createComponent<WmToggletipElement, WmToggletipEvents>({
|
|
767
|
+
tagName: 'wm-toggletip',
|
|
768
|
+
elementClass: WmToggletipElement,
|
|
769
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
770
|
+
react: React,
|
|
771
|
+
events: {} as WmToggletipEvents,
|
|
772
|
+
defineCustomElement: defineWmToggletip
|
|
773
|
+
});
|
|
774
|
+
|
|
775
|
+
export type WmUploaderEvents = { onWmUploaderFilesSelected: EventName<WmUploaderCustomEvent<File[]>> };
|
|
776
|
+
|
|
777
|
+
export const WmUploader: StencilReactComponent<WmUploaderElement, WmUploaderEvents> = /*@__PURE__*/ createComponent<WmUploaderElement, WmUploaderEvents>({
|
|
778
|
+
tagName: 'wm-uploader',
|
|
779
|
+
elementClass: WmUploaderElement,
|
|
780
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
781
|
+
react: React,
|
|
782
|
+
events: { onWmUploaderFilesSelected: 'wmUploaderFilesSelected' } as WmUploaderEvents,
|
|
783
|
+
defineCustomElement: defineWmUploader
|
|
784
|
+
});
|
|
785
|
+
|
|
786
|
+
export type WmWrapperEvents = { onWmWrapperLoaded: EventName<CustomEvent<void>> };
|
|
787
|
+
|
|
788
|
+
export const WmWrapper: StencilReactComponent<WmWrapperElement, WmWrapperEvents> = /*@__PURE__*/ createComponent<WmWrapperElement, WmWrapperEvents>({
|
|
789
|
+
tagName: 'wm-wrapper',
|
|
790
|
+
elementClass: WmWrapperElement,
|
|
791
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
792
|
+
react: React,
|
|
793
|
+
events: { onWmWrapperLoaded: 'wmWrapperLoaded' } as WmWrapperEvents,
|
|
794
|
+
defineCustomElement: defineWmWrapper
|
|
795
|
+
});
|