@wavemaker-ai/react-runtime 1.0.0-rc.322 → 1.0.0-rc.324
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/actions/login-action.js +1 -1
- package/components/advanced/carousel/index.d.ts +1 -0
- package/components/advanced/carousel/template.d.ts +1 -0
- package/components/advanced/login/index.d.ts +1 -0
- package/components/advanced/marquee/index.d.ts +1 -0
- package/components/basic/anchor/index.d.ts +1 -0
- package/components/basic/anchor/index.js +16 -14
- package/components/basic/audio/index.d.ts +1 -0
- package/components/basic/html/index.d.ts +1 -0
- package/components/basic/icon/index.d.ts +1 -0
- package/components/basic/icon/index.js +13 -16
- package/components/basic/iframe/index.d.ts +1 -0
- package/components/basic/label/index.d.ts +1 -0
- package/components/basic/label/index.js +5 -3
- package/components/basic/label/props.d.ts +1 -1
- package/components/basic/picture/index.d.ts +1 -0
- package/components/basic/picture/index.js +3 -2
- package/components/basic/progress-bar/index.d.ts +1 -0
- package/components/basic/progress-circle/index.d.ts +1 -0
- package/components/basic/richtexteditor/index.d.ts +2 -0
- package/components/basic/search/index.d.ts +6 -0
- package/components/basic/search/index.js +69 -9
- package/components/basic/search/props.d.ts +4 -0
- package/components/basic/spinner/index.d.ts +2 -0
- package/components/basic/spinner/index.js +11 -9
- package/components/basic/spinner/props.d.ts +5 -0
- package/components/basic/tile/index.d.ts +1 -0
- package/components/basic/tree/index.d.ts +1 -0
- package/components/basic/video/index.d.ts +1 -0
- package/components/chart/index.d.ts +2 -0
- package/components/chart/props.d.ts +1 -0
- package/components/chart/src/chart.js +12 -1
- package/components/chart/src/types.d.ts +2 -0
- package/components/common/WmAppIcon/index.d.ts +15 -0
- package/components/common/WmAppIcon/index.js +130 -0
- package/components/common/WmAppIcon/props.d.ts +17 -0
- package/components/common/WmAppIcon/props.js +0 -0
- package/components/common/index.d.ts +3 -1
- package/components/common/index.js +10 -2
- package/components/common/wm-skeleton.d.ts +7 -0
- package/components/common/wm-skeleton.js +11 -1
- package/components/container/accordion/accordion-pane/index.d.ts +2 -0
- package/components/container/accordion/accordion-pane/index.js +10 -1
- package/components/container/accordion/accordion-pane/props.d.ts +1 -0
- package/components/container/accordion/index.d.ts +1 -0
- package/components/container/accordion/index.js +2 -2
- package/components/container/index.d.ts +1 -0
- package/components/container/layout-grid/grid-column/index.d.ts +1 -0
- package/components/container/layout-grid/grid-row/index.d.ts +1 -0
- package/components/container/layout-grid/index.d.ts +1 -0
- package/components/container/linear-layout/index.d.ts +1 -0
- package/components/container/linear-layout/linear-layout-item/index.d.ts +1 -0
- package/components/container/panel/components/panel-header/index.js +16 -16
- package/components/container/panel/index.d.ts +1 -0
- package/components/container/repeat-template/index.d.ts +1 -0
- package/components/container/tabs/index.d.ts +1 -0
- package/components/container/tabs/index.js +18 -18
- package/components/container/tabs/props.d.ts +1 -0
- package/components/container/tabs/tab-pane/index.d.ts +2 -0
- package/components/container/tabs/tab-pane/index.js +2 -0
- package/components/container/tabs/tab-pane/props.d.ts +1 -0
- package/components/container/wizard/components/StepComponents.js +14 -6
- package/components/container/wizard/index.d.ts +2 -0
- package/components/container/wizard/index.js +2 -2
- package/components/container/wizard/props.d.ts +4 -0
- package/components/container/wizard/wizard-step/index.d.ts +1 -0
- package/components/container/wizard/wizard-step/index.js +6 -0
- package/components/data/card/card-actions/index.d.ts +1 -0
- package/components/data/card/card-content/index.d.ts +1 -0
- package/components/data/card/card-footer/index.d.ts +1 -0
- package/components/data/card/index.d.ts +1 -0
- package/components/data/card/index.js +13 -6
- package/components/data/form/dynamic-fields/index.js +1 -0
- package/components/data/form/form-action/index.d.ts +2 -0
- package/components/data/form/form-action/index.js +6 -4
- package/components/data/form/form-field/index.js +5 -4
- package/components/data/form/form-header/index.d.ts +1 -1
- package/components/data/form/form-header/index.js +10 -1
- package/components/data/form/index.js +5 -3
- package/components/data/form/props.d.ts +1 -0
- package/components/data/list/components/ListHeader.js +19 -3
- package/components/data/list/components/ListItemWithTemplate.js +5 -1
- package/components/data/list/components/ListItems.d.ts +1 -1
- package/components/data/list/components/ListItems.js +5 -1
- package/components/data/list/components/LoadMoreButton.js +14 -2
- package/components/data/list/components/StandardListItems.js +1 -1
- package/components/data/list/components/props.d.ts +11 -5
- package/components/data/list/hooks/props.d.ts +2 -2
- package/components/data/list/hooks/useListEventHandlers.js +3 -2
- package/components/data/list/index.d.ts +5 -1
- package/components/data/list/index.js +17 -4
- package/components/data/list/props.d.ts +14 -2
- package/components/data/list/utils/list-helpers.d.ts +5 -1
- package/components/data/list/utils/list-helpers.js +10 -0
- package/components/data/pagination/components/PageSizeSelector.js +49 -155
- package/components/data/pagination/hooks/usePagination.js +24 -1
- package/components/data/table/components/RowCells.js +1 -1
- package/components/data/table/components/TableDataRow.js +16 -3
- package/components/data/table/components/TableHeader.js +1 -1
- package/components/data/table/components/TablePanelHeading.js +14 -2
- package/components/data/table/hooks/useResponsiveColumns.d.ts +1 -0
- package/components/data/table/hooks/useTableColumns.js +2 -2
- package/components/data/table/hooks/useTableData.js +30 -1
- package/components/data/table/index.d.ts +4 -0
- package/components/data/table/index.js +47 -30
- package/components/data/table/live-table/index.d.ts +1 -0
- package/components/data/table/props.d.ts +11 -2
- package/components/data/table/table-action/index.d.ts +1 -0
- package/components/data/table/table-column/index.d.ts +1 -0
- package/components/data/table/table-row/index.d.ts +1 -0
- package/components/data/table/table-row-action/index.d.ts +1 -0
- package/components/data/table/utils/buildSelectionColumns.d.ts +1 -1
- package/components/data/table/utils/buildSelectionColumns.js +97 -71
- package/components/data/table/utils/columnBuilder.d.ts +13 -0
- package/components/data/table/utils/columnBuilder.js +27 -18
- package/components/data/table/utils/columnWidthDistribution.d.ts +1 -1
- package/components/data/table/utils/columnWidthDistribution.js +4 -1
- package/components/data/table/utils/constants.d.ts +1 -1
- package/components/data/table/utils/constants.js +1 -1
- package/components/dialogs/alert-dialog/index.d.ts +2 -0
- package/components/dialogs/confirm-dialog/index.d.ts +2 -0
- package/components/dialogs/dialog/index.d.ts +2 -0
- package/components/dialogs/dialog-actions/index.d.ts +1 -0
- package/components/dialogs/dialog-body/index.d.ts +1 -0
- package/components/dialogs/dialog-content/index.d.ts +1 -0
- package/components/dialogs/dialog-header/index.d.ts +1 -0
- package/components/dialogs/dialog-header/index.js +11 -12
- package/components/dialogs/iframe-dialog/index.d.ts +2 -0
- package/components/dialogs/login-dialog/index.d.ts +4 -0
- package/components/dialogs/login-dialog/index.js +2 -1
- package/components/dialogs/login-dialog/props.d.ts +1 -0
- package/components/dialogs/page-dialog/index.d.ts +4 -0
- package/components/dialogs/page-dialog/index.js +2 -1
- package/components/dialogs/page-dialog/props.d.ts +1 -0
- package/components/form/button/index.d.ts +1 -0
- package/components/form/button/index.js +29 -33
- package/components/form/button-group/index.d.ts +1 -0
- package/components/input/calendar/index.d.ts +2 -0
- package/components/input/chips/index.d.ts +2 -0
- package/components/input/chips/index.js +9 -3
- package/components/input/chips/utils.d.ts +5 -0
- package/components/input/chips/utils.js +29 -0
- package/components/input/color-picker/index.d.ts +2 -0
- package/components/input/composite/index.d.ts +1 -0
- package/components/input/composite/index.js +1 -0
- package/components/input/currency/index.d.ts +2 -0
- package/components/input/default/checkbox/index.d.ts +6 -0
- package/components/input/default/checkbox/index.js +48 -18
- package/components/input/default/checkbox/props.d.ts +8 -0
- package/components/input/default/checkboxset/index.d.ts +2 -0
- package/components/input/default/radioset/index.d.ts +2 -0
- package/components/input/default/switch/index.d.ts +6 -0
- package/components/input/default/switch/index.js +36 -9
- package/components/input/default/switch/prop.d.ts +2 -0
- package/components/input/epoch/date/index.d.ts +1 -0
- package/components/input/epoch/datetime/index.d.ts +1 -0
- package/components/input/epoch/time/index.d.ts +1 -0
- package/components/input/fileupload/components/ListItems.d.ts +5 -1
- package/components/input/fileupload/components/ListItems.js +27 -5
- package/components/input/fileupload/components/MultiUpload.js +12 -1
- package/components/input/fileupload/components/SingleUpload.js +12 -1
- package/components/input/fileupload/index.d.ts +3 -0
- package/components/input/fileupload/index.js +11 -0
- package/components/input/fileupload/props.d.ts +10 -0
- package/components/input/number/index.d.ts +2 -0
- package/components/input/rating/index.d.ts +6 -0
- package/components/input/rating/index.js +10 -5
- package/components/input/rating/props.d.ts +8 -0
- package/components/input/select/index.d.ts +2 -0
- package/components/input/slider/index.d.ts +6 -0
- package/components/input/slider/index.js +19 -2
- package/components/input/slider/props.d.ts +2 -0
- package/components/input/text/index.d.ts +7 -1
- package/components/input/text/index.js +25 -6
- package/components/input/text/props.d.ts +8 -0
- package/components/input/textarea/index.d.ts +2 -0
- package/components/input/textarea/index.js +9 -4
- package/components/input/textarea/util.d.ts +1 -0
- package/components/input/textarea/util.js +17 -0
- package/components/input/upload/index.d.ts +2 -0
- package/components/navbar/index.d.ts +7 -0
- package/components/navbar/index.js +21 -7
- package/components/navbar/nav/index.d.ts +1 -0
- package/components/navbar/nav-item/index.d.ts +1 -0
- package/components/navigation/breadcrumb/index.d.ts +1 -0
- package/components/navigation/menu/index.d.ts +3 -1
- package/components/navigation/menu/index.js +22 -4
- package/components/navigation/menu/props.d.ts +1 -0
- package/components/navigation/popover/index.d.ts +1 -0
- package/components/navigation/popover/index.js +8 -2
- package/components/page/partial/index.d.ts +1 -0
- package/core/appstore.d.ts +10 -0
- package/core/appstore.js +9 -1
- package/core/constants/events.d.ts +3 -0
- package/core/constants/events.js +13 -1
- package/core/proxy-service.js +1 -1
- package/core/util/index.d.ts +2 -0
- package/core/util/index.js +29 -0
- package/higherOrder/BasePage.js +81 -26
- package/higherOrder/props.d.ts +1 -0
- package/higherOrder/useActivePageReactivity.d.ts +21 -0
- package/higherOrder/useActivePageReactivity.js +57 -0
- package/higherOrder/withBaseWrapper.js +2 -0
- package/higherOrder/withRenderLogger.d.ts +15 -0
- package/higherOrder/withRenderLogger.js +53 -0
- package/hooks/useAuth.js +7 -1
- package/package-lock.json +219 -198
- package/package.json +4 -3
- package/runtime-dynamic/factories/dynamic-component.js +18 -5
- package/runtime-dynamic/factories/utils.js +7 -1
- package/runtime-dynamic/services/compile-render.js +2 -1
- package/store/slices/i18nSlice.d.ts +2 -0
- package/store/slices/i18nSlice.js +3 -1
- package/types/index.d.ts +6 -0
- package/utils/attr.js +4 -1
- package/utils/svg-icon.d.ts +27 -0
- package/utils/svg-icon.js +75 -0
|
@@ -15,7 +15,9 @@ declare const WmCheckboxStandalone: React.ComponentType<import("../../../data/fo
|
|
|
15
15
|
onFocus?: ((event: React.FocusEvent<HTMLElement> | React.ChangeEvent<HTMLInputElement>, widget?: Record<string, unknown>, newVal?: string | number | boolean | null, oldVal?: string | number | boolean | null) => void) & ((event: React.FocusEvent<HTMLElement>, widget?: Record<string, any>, newVal?: string | number | null, oldVal?: string | number | null) => void);
|
|
16
16
|
displayValue?: string;
|
|
17
17
|
selectedicon?: string;
|
|
18
|
+
selectediconurl?: string;
|
|
18
19
|
unselectedicon?: string;
|
|
20
|
+
unselectediconurl?: string;
|
|
19
21
|
fieldName?: string;
|
|
20
22
|
standalone?: boolean;
|
|
21
23
|
ref?: React.RefObject<HTMLElement> | React.RefObject<null>;
|
|
@@ -64,6 +66,7 @@ declare const WmCheckboxStandalone: React.ComponentType<import("../../../data/fo
|
|
|
64
66
|
prefabName?: string;
|
|
65
67
|
loading?: boolean;
|
|
66
68
|
showSkeleton?: boolean;
|
|
69
|
+
widget?: string;
|
|
67
70
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
68
71
|
export { WmCheckboxStandalone as WmCheckbox };
|
|
69
72
|
/**
|
|
@@ -104,7 +107,9 @@ declare const _default: React.ComponentType<{
|
|
|
104
107
|
onFocus?: ((event: React.FocusEvent<HTMLElement> | React.ChangeEvent<HTMLInputElement>, widget?: Record<string, unknown>, newVal?: string | number | boolean | null, oldVal?: string | number | boolean | null) => void) & ((event: React.FocusEvent<HTMLElement>, widget?: Record<string, any>, newVal?: string | number | null, oldVal?: string | number | null) => void);
|
|
105
108
|
displayValue?: string;
|
|
106
109
|
selectedicon?: string;
|
|
110
|
+
selectediconurl?: string;
|
|
107
111
|
unselectedicon?: string;
|
|
112
|
+
unselectediconurl?: string;
|
|
108
113
|
fieldName?: string;
|
|
109
114
|
ref?: React.RefObject<HTMLElement> | React.RefObject<null>;
|
|
110
115
|
animation?: string;
|
|
@@ -150,5 +155,6 @@ declare const _default: React.ComponentType<{
|
|
|
150
155
|
prefabName?: string;
|
|
151
156
|
loading?: boolean;
|
|
152
157
|
showSkeleton?: boolean;
|
|
158
|
+
widget?: string;
|
|
153
159
|
}>;
|
|
154
160
|
export default _default;
|
|
@@ -29,11 +29,12 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
32
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
33
33
|
import React, { useCallback, useEffect, useMemo, useRef, memo } from "react";
|
|
34
34
|
import { Input } from "@base-ui-components/react/input";
|
|
35
35
|
import Box from "@mui/material/Box";
|
|
36
36
|
import { withBaseWrapper } from "../../../../higherOrder/withBaseWrapper";
|
|
37
|
+
import { WmAppIcon } from "../../../common/WmAppIcon";
|
|
37
38
|
import withFormController from "../../../data/form/form-controller/withFormController";
|
|
38
39
|
import clsx from "clsx";
|
|
39
40
|
import withStandalone from "../../../../higherOrder/withStandalone";
|
|
@@ -57,7 +58,9 @@ const WmCheckbox = memo(
|
|
|
57
58
|
tabindex = 0,
|
|
58
59
|
type,
|
|
59
60
|
selectedicon,
|
|
61
|
+
selectediconurl,
|
|
60
62
|
unselectedicon,
|
|
63
|
+
unselectediconurl,
|
|
61
64
|
onChange,
|
|
62
65
|
onBlur,
|
|
63
66
|
className,
|
|
@@ -83,7 +86,9 @@ const WmCheckbox = memo(
|
|
|
83
86
|
"tabindex",
|
|
84
87
|
"type",
|
|
85
88
|
"selectedicon",
|
|
89
|
+
"selectediconurl",
|
|
86
90
|
"unselectedicon",
|
|
91
|
+
"unselectediconurl",
|
|
87
92
|
"onChange",
|
|
88
93
|
"onBlur",
|
|
89
94
|
"className",
|
|
@@ -112,7 +117,7 @@ const WmCheckbox = memo(
|
|
|
112
117
|
setActualValue(newValue);
|
|
113
118
|
prevRefValue.current = datavalue;
|
|
114
119
|
}
|
|
115
|
-
}, [datavalue]);
|
|
120
|
+
}, [datavalue, name]);
|
|
116
121
|
const handleChange = useCallback(
|
|
117
122
|
(event) => {
|
|
118
123
|
var _a2, _b2, _c;
|
|
@@ -210,12 +215,14 @@ const WmCheckbox = memo(
|
|
|
210
215
|
const events = __spreadValues(__spreadValues(__spreadValues(__spreadValues({}, props.onMouseEnter ? { onMouseEnter: handleMouseEnter } : {}), props.onMouseLeave ? { onMouseLeave: handleMouseLeave } : {}), props.onClick ? { onClick: handleClick } : {}), props.onFocus ? { onFocus: handleFocus } : {});
|
|
211
216
|
return /* @__PURE__ */ jsxs(
|
|
212
217
|
"div",
|
|
213
|
-
__spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
218
|
+
__spreadProps(__spreadValues(__spreadProps(__spreadValues(__spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
214
219
|
hidden: (_b = props.hidden) != null ? _b : false,
|
|
215
220
|
className: checkboxClasses
|
|
216
221
|
}, name ? { name } : {}), caption ? { caption } : {}), type === "toggle" ? { type: "toggle" } : type === "button" ? { type: "button" } : {}), {
|
|
217
|
-
"aria-disabled": disabled
|
|
218
|
-
|
|
222
|
+
"aria-disabled": disabled
|
|
223
|
+
}), disabled ? { disabled: "true" } : {}), {
|
|
224
|
+
style: props.styles
|
|
225
|
+
}), disabled ? { disabled: "true" } : {}), {
|
|
219
226
|
children: [
|
|
220
227
|
/* @__PURE__ */ jsxs(
|
|
221
228
|
Box,
|
|
@@ -246,25 +253,48 @@ const WmCheckbox = memo(
|
|
|
246
253
|
accessKey: shortcutkey,
|
|
247
254
|
tabIndex: tabindex,
|
|
248
255
|
title: hint,
|
|
249
|
-
className: `${disabled || readonly ? "disabled" : ""}
|
|
256
|
+
className: `${disabled || readonly ? "disabled" : ""}`,
|
|
257
|
+
id: name
|
|
250
258
|
})
|
|
251
259
|
),
|
|
252
|
-
type === "toggle" ? /* @__PURE__ */ jsx(Box, { component: "span", className: "caption fa-xs text-center", children: /* @__PURE__ */ jsx(
|
|
253
|
-
|
|
260
|
+
type === "toggle" ? /* @__PURE__ */ jsx(Box, { component: "span", className: "caption fa-xs text-center", children: !isChecked ? /* @__PURE__ */ jsx(
|
|
261
|
+
WmAppIcon,
|
|
254
262
|
{
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
)
|
|
263
|
+
iconclass: unselectedicon,
|
|
264
|
+
iconurl: unselectediconurl,
|
|
265
|
+
prefabName: props.prefabName,
|
|
266
|
+
defaultIconClass: "start-icon"
|
|
260
267
|
}
|
|
261
|
-
)
|
|
262
|
-
|
|
268
|
+
) : /* @__PURE__ */ jsx(
|
|
269
|
+
WmAppIcon,
|
|
263
270
|
{
|
|
264
|
-
|
|
265
|
-
|
|
271
|
+
iconclass: selectedicon,
|
|
272
|
+
iconurl: selectediconurl,
|
|
273
|
+
prefabName: props.prefabName,
|
|
274
|
+
defaultIconClass: "end-icon"
|
|
266
275
|
}
|
|
267
|
-
) : /* @__PURE__ */
|
|
276
|
+
) }) : type === "button" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
277
|
+
!isChecked && /* @__PURE__ */ jsx(
|
|
278
|
+
WmAppIcon,
|
|
279
|
+
{
|
|
280
|
+
iconclass: unselectedicon,
|
|
281
|
+
iconurl: unselectediconurl,
|
|
282
|
+
prefabName: props.prefabName,
|
|
283
|
+
defaultClasses: "toggle-icon",
|
|
284
|
+
alt: "Unselected icon"
|
|
285
|
+
}
|
|
286
|
+
),
|
|
287
|
+
isChecked && /* @__PURE__ */ jsx(
|
|
288
|
+
WmAppIcon,
|
|
289
|
+
{
|
|
290
|
+
iconclass: selectedicon,
|
|
291
|
+
iconurl: selectediconurl,
|
|
292
|
+
prefabName: props.prefabName,
|
|
293
|
+
defaultClasses: "toggle-icon",
|
|
294
|
+
alt: "Selected icon"
|
|
295
|
+
}
|
|
296
|
+
)
|
|
297
|
+
] }) : /* @__PURE__ */ jsx(
|
|
268
298
|
Box,
|
|
269
299
|
{
|
|
270
300
|
component: "span",
|
|
@@ -63,10 +63,18 @@ export interface CheckboxProps {
|
|
|
63
63
|
* CSS class for the selected state icon.
|
|
64
64
|
*/
|
|
65
65
|
selectedicon?: string;
|
|
66
|
+
/**
|
|
67
|
+
* URL for the selected state icon.
|
|
68
|
+
*/
|
|
69
|
+
selectediconurl?: string;
|
|
66
70
|
/**
|
|
67
71
|
* CSS class for the unselected state icon.
|
|
68
72
|
*/
|
|
69
73
|
unselectedicon?: string;
|
|
74
|
+
/**
|
|
75
|
+
* URL for the unselected state icon.
|
|
76
|
+
*/
|
|
77
|
+
unselectediconurl?: string;
|
|
70
78
|
/**
|
|
71
79
|
* Field name used by the form controller.
|
|
72
80
|
*/
|
|
@@ -86,6 +86,7 @@ declare const WmCheckboxsetStandalone: React.ComponentType<import("../../../data
|
|
|
86
86
|
prefabName?: string;
|
|
87
87
|
loading?: boolean;
|
|
88
88
|
showSkeleton?: boolean;
|
|
89
|
+
widget?: string;
|
|
89
90
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
90
91
|
export { WmCheckboxsetStandalone as WmCheckboxset };
|
|
91
92
|
/**
|
|
@@ -193,5 +194,6 @@ declare const _default: React.ComponentType<{
|
|
|
193
194
|
prefabName?: string;
|
|
194
195
|
loading?: boolean;
|
|
195
196
|
showSkeleton?: boolean;
|
|
197
|
+
widget?: string;
|
|
196
198
|
}>;
|
|
197
199
|
export default _default;
|
|
@@ -81,6 +81,7 @@ declare const WmRadiosetStandalone: React.ComponentType<import("../../../data/fo
|
|
|
81
81
|
prefabName?: string;
|
|
82
82
|
loading?: boolean;
|
|
83
83
|
showSkeleton?: boolean;
|
|
84
|
+
widget?: string;
|
|
84
85
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
85
86
|
export { WmRadiosetStandalone as WmRadioset };
|
|
86
87
|
/**
|
|
@@ -184,5 +185,6 @@ declare const _default: React.ComponentType<{
|
|
|
184
185
|
prefabName?: string;
|
|
185
186
|
loading?: boolean;
|
|
186
187
|
showSkeleton?: boolean;
|
|
188
|
+
widget?: string;
|
|
187
189
|
}>;
|
|
188
190
|
export default _default;
|
|
@@ -21,7 +21,9 @@ declare const WmSwitchStandalone: React.ComponentType<import("../../../data/form
|
|
|
21
21
|
required?: boolean;
|
|
22
22
|
name: string;
|
|
23
23
|
iconclass?: string;
|
|
24
|
+
iconurl?: string;
|
|
24
25
|
checkediconclass?: string;
|
|
26
|
+
checkediconurl?: string;
|
|
25
27
|
value?: string | string[];
|
|
26
28
|
toBeProcessedValue?: string | string[];
|
|
27
29
|
onChange?: (event: React.MouseEvent, widget: Record<string, unknown>, newVal: string | string[], oldVal: string | string[]) => void;
|
|
@@ -76,6 +78,7 @@ declare const WmSwitchStandalone: React.ComponentType<import("../../../data/form
|
|
|
76
78
|
prefabName?: string;
|
|
77
79
|
loading?: boolean;
|
|
78
80
|
showSkeleton?: boolean;
|
|
81
|
+
widget?: string;
|
|
79
82
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
80
83
|
export { WmSwitchStandalone as WmSwitch };
|
|
81
84
|
/**
|
|
@@ -122,7 +125,9 @@ declare const _default: React.ComponentType<{
|
|
|
122
125
|
multiple?: boolean;
|
|
123
126
|
disabled?: boolean;
|
|
124
127
|
iconclass?: string;
|
|
128
|
+
iconurl?: string;
|
|
125
129
|
checkediconclass?: string;
|
|
130
|
+
checkediconurl?: string;
|
|
126
131
|
value?: string | string[];
|
|
127
132
|
toBeProcessedValue?: string | string[];
|
|
128
133
|
onChange?: (event: React.MouseEvent, widget: Record<string, unknown>, newVal: string | string[], oldVal: string | string[]) => void;
|
|
@@ -174,5 +179,6 @@ declare const _default: React.ComponentType<{
|
|
|
174
179
|
prefabName?: string;
|
|
175
180
|
loading?: boolean;
|
|
176
181
|
showSkeleton?: boolean;
|
|
182
|
+
widget?: string;
|
|
177
183
|
}>;
|
|
178
184
|
export default _default;
|
|
@@ -42,6 +42,7 @@ import { find, findIndex, forEach, toString } from "lodash-es";
|
|
|
42
42
|
import {
|
|
43
43
|
withBaseWrapper
|
|
44
44
|
} from "../../../../higherOrder/withBaseWrapper";
|
|
45
|
+
import { WmAppIcon } from "../../../common/WmAppIcon";
|
|
45
46
|
import Box from "@mui/material/Box";
|
|
46
47
|
import { InputBase } from "@mui/material";
|
|
47
48
|
import { transformDataset } from "../../../../utils/transformedDataset-utils";
|
|
@@ -327,10 +328,13 @@ const SwitchOption = memo(
|
|
|
327
328
|
handleOnClick,
|
|
328
329
|
disabled = false,
|
|
329
330
|
iconclass,
|
|
331
|
+
iconurl,
|
|
330
332
|
checkediconclass,
|
|
331
|
-
|
|
333
|
+
checkediconurl,
|
|
334
|
+
displayfield,
|
|
335
|
+
prefabName
|
|
332
336
|
}) => {
|
|
333
|
-
var _a, _b;
|
|
337
|
+
var _a, _b, _c, _d;
|
|
334
338
|
return /* @__PURE__ */ jsxs(
|
|
335
339
|
Box,
|
|
336
340
|
__spreadProps(__spreadValues({
|
|
@@ -347,15 +351,22 @@ const SwitchOption = memo(
|
|
|
347
351
|
name: `wm-switch-${opt.key}`
|
|
348
352
|
}), {
|
|
349
353
|
children: [
|
|
350
|
-
iconclass && ((_a = opt.dataObject) == null ? void 0 : _a[iconclass]) && (!opt.selected || !checkediconclass) && /* @__PURE__ */ jsx(
|
|
351
|
-
|
|
354
|
+
iconclass && (((_a = opt.dataObject) == null ? void 0 : _a[iconclass]) || ((_b = opt.dataObject) == null ? void 0 : _b[iconurl]) || opt["icon"]) && (!opt.selected || !checkediconclass) && /* @__PURE__ */ jsx(
|
|
355
|
+
WmAppIcon,
|
|
352
356
|
{
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
357
|
+
iconclass: ((_c = opt.dataObject) == null ? void 0 : _c[iconclass]) || opt["icon"],
|
|
358
|
+
iconurl: ((_d = opt.dataObject) == null ? void 0 : _d[iconurl]) || opt["icon"],
|
|
359
|
+
prefabName
|
|
360
|
+
}
|
|
361
|
+
),
|
|
362
|
+
opt.selected && (checkediconclass || checkediconurl) && /* @__PURE__ */ jsx(
|
|
363
|
+
WmAppIcon,
|
|
364
|
+
{
|
|
365
|
+
iconclass: checkediconclass,
|
|
366
|
+
iconurl: checkediconurl,
|
|
367
|
+
prefabName
|
|
356
368
|
}
|
|
357
369
|
),
|
|
358
|
-
opt.selected && checkediconclass && /* @__PURE__ */ jsx(Box, { component: "i", "aria-hidden": "true", className: checkediconclass }),
|
|
359
370
|
/* @__PURE__ */ jsx(Box, { component: "span", className: "caption", children: displayfield && opt[displayfield] || opt.label })
|
|
360
371
|
]
|
|
361
372
|
}),
|
|
@@ -375,8 +386,11 @@ const WmSwitch = memo(
|
|
|
375
386
|
name,
|
|
376
387
|
hint,
|
|
377
388
|
iconclass,
|
|
389
|
+
iconurl,
|
|
378
390
|
checkediconclass = defaultProps.checkediconclass,
|
|
391
|
+
checkediconurl,
|
|
379
392
|
displayfield = defaultProps.displayfield,
|
|
393
|
+
prefabName,
|
|
380
394
|
datafield,
|
|
381
395
|
value,
|
|
382
396
|
onChange,
|
|
@@ -408,8 +422,11 @@ const WmSwitch = memo(
|
|
|
408
422
|
"name",
|
|
409
423
|
"hint",
|
|
410
424
|
"iconclass",
|
|
425
|
+
"iconurl",
|
|
411
426
|
"checkediconclass",
|
|
427
|
+
"checkediconurl",
|
|
412
428
|
"displayfield",
|
|
429
|
+
"prefabName",
|
|
413
430
|
"datafield",
|
|
414
431
|
"value",
|
|
415
432
|
"onChange",
|
|
@@ -508,8 +525,11 @@ const WmSwitch = memo(
|
|
|
508
525
|
selectOpt,
|
|
509
526
|
disabled,
|
|
510
527
|
iconclass,
|
|
528
|
+
iconurl,
|
|
511
529
|
checkediconclass,
|
|
530
|
+
checkediconurl,
|
|
512
531
|
displayfield,
|
|
532
|
+
prefabName,
|
|
513
533
|
handleOnMouseEnter,
|
|
514
534
|
handleOnMouseLeave,
|
|
515
535
|
handleOnClick
|
|
@@ -527,7 +547,14 @@ const WmSwitch = memo(
|
|
|
527
547
|
"aria-hidden": "true",
|
|
528
548
|
className: "btn btn-primary app-switch-overlay switch-handle",
|
|
529
549
|
children: [
|
|
530
|
-
checkediconclass && /* @__PURE__ */ jsx(
|
|
550
|
+
(checkediconclass || checkediconurl) && /* @__PURE__ */ jsx(
|
|
551
|
+
WmAppIcon,
|
|
552
|
+
{
|
|
553
|
+
iconclass: checkediconclass,
|
|
554
|
+
iconurl: checkediconurl,
|
|
555
|
+
prefabName
|
|
556
|
+
}
|
|
557
|
+
),
|
|
531
558
|
/* @__PURE__ */ jsx(Box, { component: "span", className: "caption", children: selectedItem ? selectedItem.label : modelByKey })
|
|
532
559
|
]
|
|
533
560
|
}
|
|
@@ -102,10 +102,12 @@ export interface SwitchProps {
|
|
|
102
102
|
* CSS class for the switch icon.
|
|
103
103
|
*/
|
|
104
104
|
iconclass?: string;
|
|
105
|
+
iconurl?: string;
|
|
105
106
|
/**
|
|
106
107
|
* CSS class for the checked state icon.
|
|
107
108
|
*/
|
|
108
109
|
checkediconclass?: string;
|
|
110
|
+
checkediconurl?: string;
|
|
109
111
|
/**
|
|
110
112
|
* The current value of the switch.
|
|
111
113
|
*/
|
|
@@ -2,10 +2,14 @@ import React from "react";
|
|
|
2
2
|
import { CommonFileProps, FileUploadState } from "../props";
|
|
3
3
|
declare const CommonFile: React.FC<CommonFileProps>;
|
|
4
4
|
export default CommonFile;
|
|
5
|
-
export declare const ListItem: ({ file, index, clearSelectedFile, onBeforedelete, onFileDelete, }: {
|
|
5
|
+
export declare const ListItem: ({ file, index, clearSelectedFile, onBeforedelete, onFileDelete, cleariconclass, cleariconurl, cleariconhint, prefabName, }: {
|
|
6
6
|
file: FileUploadState & File;
|
|
7
7
|
index: number;
|
|
8
8
|
clearSelectedFile: (file: FileUploadState & File) => void;
|
|
9
9
|
onBeforedelete?: (e: React.MouseEvent, file: FileUploadState & File) => void;
|
|
10
10
|
onFileDelete: (e: React.MouseEvent, file: FileUploadState & File) => void;
|
|
11
|
+
cleariconclass?: string;
|
|
12
|
+
cleariconurl?: string;
|
|
13
|
+
cleariconhint?: string;
|
|
14
|
+
prefabName?: string;
|
|
11
15
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,6 +7,7 @@ import List from "@mui/material/List";
|
|
|
7
7
|
import FolderIcon from "@mui/icons-material/Folder";
|
|
8
8
|
import ClearIcon from "@mui/icons-material/Clear";
|
|
9
9
|
import { getFileIconClass } from "../../../constants";
|
|
10
|
+
import { WmAppIcon } from "../../../common/WmAppIcon";
|
|
10
11
|
const CommonFile = ({
|
|
11
12
|
uploadedFiles,
|
|
12
13
|
selectedFolders,
|
|
@@ -15,7 +16,11 @@ const CommonFile = ({
|
|
|
15
16
|
clearSelectedFile,
|
|
16
17
|
onBeforedelete,
|
|
17
18
|
onFileDelete,
|
|
18
|
-
setSelectedFolders
|
|
19
|
+
setSelectedFolders,
|
|
20
|
+
cleariconclass,
|
|
21
|
+
cleariconurl,
|
|
22
|
+
cleariconhint,
|
|
23
|
+
prefabName
|
|
19
24
|
}) => {
|
|
20
25
|
const fileUploadComponents = [];
|
|
21
26
|
if (uploadedFiles.length > 0) {
|
|
@@ -34,7 +39,11 @@ const CommonFile = ({
|
|
|
34
39
|
index,
|
|
35
40
|
clearSelectedFile,
|
|
36
41
|
onBeforedelete,
|
|
37
|
-
onFileDelete
|
|
42
|
+
onFileDelete,
|
|
43
|
+
cleariconclass,
|
|
44
|
+
cleariconurl,
|
|
45
|
+
cleariconhint,
|
|
46
|
+
prefabName
|
|
38
47
|
},
|
|
39
48
|
file.uniqueId || `file-${index}`
|
|
40
49
|
)) })
|
|
@@ -70,7 +79,11 @@ const ListItem = ({
|
|
|
70
79
|
index,
|
|
71
80
|
clearSelectedFile,
|
|
72
81
|
onBeforedelete,
|
|
73
|
-
onFileDelete
|
|
82
|
+
onFileDelete,
|
|
83
|
+
cleariconclass,
|
|
84
|
+
cleariconurl,
|
|
85
|
+
cleariconhint,
|
|
86
|
+
prefabName
|
|
74
87
|
}) => {
|
|
75
88
|
return /* @__PURE__ */ jsx(
|
|
76
89
|
"li",
|
|
@@ -103,15 +116,24 @@ const ListItem = ({
|
|
|
103
116
|
"%"
|
|
104
117
|
] })
|
|
105
118
|
] }),
|
|
106
|
-
/* @__PURE__ */ jsx("div", { className: "media-right media-middle", children: /* @__PURE__ */ jsx(
|
|
119
|
+
(cleariconclass || cleariconurl) && file.status !== "onProgress" && /* @__PURE__ */ jsx("div", { className: "media-right media-middle", children: /* @__PURE__ */ jsx(
|
|
107
120
|
"a",
|
|
108
121
|
{
|
|
109
122
|
type: "button",
|
|
110
123
|
className: "btn btn-transparent btn-default status-icon",
|
|
124
|
+
title: cleariconhint,
|
|
111
125
|
onClick: () => {
|
|
112
126
|
clearSelectedFile(file);
|
|
113
127
|
},
|
|
114
|
-
children: /* @__PURE__ */ jsx(
|
|
128
|
+
children: /* @__PURE__ */ jsx(
|
|
129
|
+
WmAppIcon,
|
|
130
|
+
{
|
|
131
|
+
iconclass: cleariconclass,
|
|
132
|
+
iconurl: cleariconurl,
|
|
133
|
+
prefabName,
|
|
134
|
+
alt: "Clear"
|
|
135
|
+
}
|
|
136
|
+
)
|
|
115
137
|
}
|
|
116
138
|
) }),
|
|
117
139
|
file.status == "success" && /* @__PURE__ */ jsx("div", { className: "media-right media-middle", children: /* @__PURE__ */ jsx(
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Box from "@mui/material/Box";
|
|
3
|
+
import { WmAppIcon } from "../../../common/WmAppIcon";
|
|
3
4
|
const MultipleFileUpload = ({
|
|
4
5
|
fileInputRef,
|
|
5
6
|
multiple,
|
|
@@ -15,6 +16,8 @@ const MultipleFileUpload = ({
|
|
|
15
16
|
displayname,
|
|
16
17
|
tabindex,
|
|
17
18
|
iconclass,
|
|
19
|
+
iconurl,
|
|
20
|
+
prefabName,
|
|
18
21
|
fileuploadmessage,
|
|
19
22
|
highlightDropArea,
|
|
20
23
|
triggerFileSelect,
|
|
@@ -36,7 +39,15 @@ const MultipleFileUpload = ({
|
|
|
36
39
|
onDragLeave: () => setHighlightDropArea(false),
|
|
37
40
|
style: styles,
|
|
38
41
|
children: [
|
|
39
|
-
/* @__PURE__ */ jsx(
|
|
42
|
+
/* @__PURE__ */ jsx(
|
|
43
|
+
WmAppIcon,
|
|
44
|
+
{
|
|
45
|
+
iconclass,
|
|
46
|
+
iconurl,
|
|
47
|
+
prefabName,
|
|
48
|
+
alt: "Upload"
|
|
49
|
+
}
|
|
50
|
+
),
|
|
40
51
|
/* @__PURE__ */ jsxs("div", { className: "message", children: [
|
|
41
52
|
/* @__PURE__ */ jsx("label", { className: "upload-label", htmlFor: "Upload", children: caption }),
|
|
42
53
|
/* @__PURE__ */ jsxs(Box, { component: "form", className: "form-horizontal", children: [
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Box from "@mui/material/Box";
|
|
3
|
+
import { WmAppIcon } from "../../../common/WmAppIcon";
|
|
3
4
|
const SingleFileUpload = ({
|
|
4
5
|
fileInputRef,
|
|
5
6
|
caption,
|
|
@@ -14,6 +15,8 @@ const SingleFileUpload = ({
|
|
|
14
15
|
arialabel,
|
|
15
16
|
tabindex,
|
|
16
17
|
iconclass,
|
|
18
|
+
iconurl,
|
|
19
|
+
prefabName,
|
|
17
20
|
styles,
|
|
18
21
|
triggerFileSelect,
|
|
19
22
|
onFileSelect,
|
|
@@ -45,7 +48,15 @@ const SingleFileUpload = ({
|
|
|
45
48
|
disabled,
|
|
46
49
|
style: styles,
|
|
47
50
|
children: [
|
|
48
|
-
/* @__PURE__ */ jsx(
|
|
51
|
+
/* @__PURE__ */ jsx(
|
|
52
|
+
WmAppIcon,
|
|
53
|
+
{
|
|
54
|
+
iconclass,
|
|
55
|
+
iconurl,
|
|
56
|
+
prefabName,
|
|
57
|
+
alt: "Upload"
|
|
58
|
+
}
|
|
59
|
+
),
|
|
49
60
|
/* @__PURE__ */ jsx("span", { children: caption || displayname || "Select File" })
|
|
50
61
|
]
|
|
51
62
|
}
|
|
@@ -19,7 +19,9 @@ declare const _default: React.ComponentType<{
|
|
|
19
19
|
contenttype?: string;
|
|
20
20
|
maxfilesize?: string | number;
|
|
21
21
|
iconclass?: string;
|
|
22
|
+
iconurl?: string;
|
|
22
23
|
cleariconclass?: string;
|
|
24
|
+
cleariconurl?: string;
|
|
23
25
|
cleariconhint?: string;
|
|
24
26
|
uploadpath?: string;
|
|
25
27
|
datasource?: Record<string, unknown>;
|
|
@@ -90,5 +92,6 @@ declare const _default: React.ComponentType<{
|
|
|
90
92
|
prefabName?: string;
|
|
91
93
|
loading?: boolean;
|
|
92
94
|
showSkeleton?: boolean;
|
|
95
|
+
widget?: string;
|
|
93
96
|
}>;
|
|
94
97
|
export default _default;
|
|
@@ -51,6 +51,9 @@ const WmFileUpload = memo(
|
|
|
51
51
|
disabled = !fileUploadConstants.DEFAULT_VALUES.ENABLED,
|
|
52
52
|
contenttype = "",
|
|
53
53
|
iconclass = fileUploadConstants.DEFAULT_VALUES.ICON_CLASS,
|
|
54
|
+
iconurl,
|
|
55
|
+
cleariconclass,
|
|
56
|
+
cleariconurl,
|
|
54
57
|
extensions,
|
|
55
58
|
filetype,
|
|
56
59
|
readonly = false,
|
|
@@ -127,6 +130,8 @@ const WmFileUpload = memo(
|
|
|
127
130
|
arialabel,
|
|
128
131
|
tabindex,
|
|
129
132
|
iconclass,
|
|
133
|
+
iconurl,
|
|
134
|
+
prefabName: props.prefabName,
|
|
130
135
|
styles,
|
|
131
136
|
triggerFileSelect,
|
|
132
137
|
onFileSelect,
|
|
@@ -149,6 +154,8 @@ const WmFileUpload = memo(
|
|
|
149
154
|
displayname,
|
|
150
155
|
tabindex,
|
|
151
156
|
iconclass,
|
|
157
|
+
iconurl,
|
|
158
|
+
prefabName: props.prefabName,
|
|
152
159
|
styles,
|
|
153
160
|
fileuploadmessage,
|
|
154
161
|
highlightDropArea,
|
|
@@ -167,6 +174,10 @@ const WmFileUpload = memo(
|
|
|
167
174
|
selectedFolders,
|
|
168
175
|
filelistheight,
|
|
169
176
|
readonly,
|
|
177
|
+
cleariconclass,
|
|
178
|
+
cleariconurl,
|
|
179
|
+
cleariconhint: props.cleariconhint,
|
|
180
|
+
prefabName: props.prefabName,
|
|
170
181
|
clearSelectedFile,
|
|
171
182
|
onFileDelete,
|
|
172
183
|
setSelectedFolders,
|
|
@@ -56,10 +56,12 @@ export interface FileUploadProps {
|
|
|
56
56
|
* CSS class for the upload button icon.
|
|
57
57
|
*/
|
|
58
58
|
iconclass?: string;
|
|
59
|
+
iconurl?: string;
|
|
59
60
|
/**
|
|
60
61
|
* CSS class for the clear icon.
|
|
61
62
|
*/
|
|
62
63
|
cleariconclass?: string;
|
|
64
|
+
cleariconurl?: string;
|
|
63
65
|
/**
|
|
64
66
|
* Tooltip for the clear icon.
|
|
65
67
|
*/
|
|
@@ -169,6 +171,10 @@ export interface CommonFileProps {
|
|
|
169
171
|
onFileDelete: (e: React.MouseEvent, file: FileUploadState & File) => void;
|
|
170
172
|
/** Setter for the selected folders state. */
|
|
171
173
|
setSelectedFolders: React.Dispatch<React.SetStateAction<File[]>>;
|
|
174
|
+
cleariconclass?: string;
|
|
175
|
+
cleariconurl?: string;
|
|
176
|
+
cleariconhint?: string;
|
|
177
|
+
prefabName?: string;
|
|
172
178
|
}
|
|
173
179
|
/**
|
|
174
180
|
* Props for the SingleFileUpload sub-component.
|
|
@@ -200,6 +206,7 @@ export interface SingleFileUploadProps {
|
|
|
200
206
|
tabindex?: number;
|
|
201
207
|
/** CSS class for the icon. */
|
|
202
208
|
iconclass?: string;
|
|
209
|
+
iconurl?: string;
|
|
203
210
|
/** Inline styles. */
|
|
204
211
|
styles?: React.CSSProperties;
|
|
205
212
|
/** Triggers the native file select dialog. */
|
|
@@ -208,6 +215,7 @@ export interface SingleFileUploadProps {
|
|
|
208
215
|
onFileSelect: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
209
216
|
/** Handler invoked before file selection. Can be called with (e) from button or (e, widget, files) from file select. */
|
|
210
217
|
onBeforeselect?: (e: React.MouseEvent | React.ChangeEvent<HTMLInputElement>, widget?: Record<string, unknown>, selectedFiles?: File[]) => void;
|
|
218
|
+
prefabName?: string;
|
|
211
219
|
}
|
|
212
220
|
/**
|
|
213
221
|
* Props for the MultipleFileUpload sub-component.
|
|
@@ -241,6 +249,7 @@ export interface MultipleFileUploadProps {
|
|
|
241
249
|
tabindex?: number;
|
|
242
250
|
/** CSS class for the icon. */
|
|
243
251
|
iconclass?: string;
|
|
252
|
+
iconurl?: string;
|
|
244
253
|
/** Message displayed in the drop area. */
|
|
245
254
|
fileuploadmessage?: string;
|
|
246
255
|
/** Whether the drop area is highlighted. */
|
|
@@ -259,6 +268,7 @@ export interface MultipleFileUploadProps {
|
|
|
259
268
|
onBeforeselect?: (e: React.MouseEvent | React.ChangeEvent<HTMLInputElement>, widget?: Record<string, unknown>, selectedFiles?: File[]) => void;
|
|
260
269
|
/** Inline styles. */
|
|
261
270
|
styles?: React.CSSProperties;
|
|
271
|
+
prefabName?: string;
|
|
262
272
|
}
|
|
263
273
|
/**
|
|
264
274
|
* Configuration for the upload variable/service.
|
|
@@ -71,6 +71,7 @@ declare const WmNumberStandalone: React.ComponentType<import("../../data/form/fo
|
|
|
71
71
|
prefabName?: string;
|
|
72
72
|
loading?: boolean;
|
|
73
73
|
showSkeleton?: boolean;
|
|
74
|
+
widget?: string;
|
|
74
75
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
75
76
|
export { WmNumberStandalone as WmNumber };
|
|
76
77
|
/**
|
|
@@ -164,5 +165,6 @@ declare const _default: React.ComponentType<{
|
|
|
164
165
|
prefabName?: string;
|
|
165
166
|
loading?: boolean;
|
|
166
167
|
showSkeleton?: boolean;
|
|
168
|
+
widget?: string;
|
|
167
169
|
}>;
|
|
168
170
|
export default _default;
|