@wavemaker-ai/react-runtime 1.0.0-rc.314 → 1.0.0-rc.319
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/navigation-action.d.ts +1 -0
- package/actions/navigation-action.js +34 -9
- package/components/advanced/carousel/index.d.ts +2 -0
- package/components/advanced/carousel/template.d.ts +2 -0
- package/components/advanced/login/index.d.ts +2 -0
- package/components/advanced/marquee/index.d.ts +2 -0
- package/components/auth/RoleAuthGuard.d.ts +6 -0
- package/components/auth/RoleAuthGuard.js +66 -0
- package/components/basic/anchor/index.d.ts +2 -0
- package/components/basic/anchor/index.js +1 -1
- package/components/basic/audio/index.d.ts +2 -0
- package/components/basic/html/index.d.ts +2 -0
- package/components/basic/icon/index.d.ts +2 -0
- package/components/basic/iframe/index.d.ts +2 -0
- package/components/basic/label/index.d.ts +2 -0
- package/components/basic/label/index.js +17 -3
- package/components/basic/picture/index.d.ts +2 -0
- package/components/basic/picture/index.js +20 -1
- package/components/basic/progress-bar/index.d.ts +2 -0
- package/components/basic/progress-circle/index.d.ts +2 -0
- package/components/basic/progress-circle/index.js +2 -1
- package/components/basic/richtexteditor/index.d.ts +4 -0
- package/components/basic/richtexteditor/index.js +16 -15
- package/components/basic/search/index.d.ts +4 -0
- package/components/basic/search/index.js +2 -1
- package/components/basic/search/providers.js +2 -2
- package/components/basic/spinner/index.d.ts +2 -0
- package/components/basic/tile/index.d.ts +2 -0
- package/components/basic/tree/Components/TreeNodeComponent.d.ts +1 -1
- package/components/basic/tree/Components/TreeNodeComponent.js +14 -8
- package/components/basic/tree/hooks/useTreePersistedState.d.ts +3 -0
- package/components/basic/tree/hooks/useTreePersistedState.js +38 -0
- package/components/basic/tree/index.d.ts +3 -0
- package/components/basic/tree/index.js +105 -30
- package/components/basic/tree/props.d.ts +18 -1
- package/components/basic/tree/utils.d.ts +16 -1
- package/components/basic/tree/utils.js +111 -0
- package/components/basic/video/index.d.ts +2 -0
- package/components/chart/index.d.ts +2 -0
- package/components/chart/src/dataUtils.js +1 -1
- package/components/common/customTemplate/useCustomTemplate.js +1 -1
- package/components/common/index.d.ts +2 -0
- package/components/common/index.js +5 -1
- package/components/common/wm-skeleton.d.ts +95 -0
- package/components/common/wm-skeleton.js +346 -0
- package/components/container/accordion/accordion-pane/index.d.ts +2 -0
- package/components/container/accordion/index.d.ts +4 -0
- package/components/container/accordion/index.js +23 -1
- package/components/container/accordion/props.d.ts +10 -0
- package/components/container/index.d.ts +2 -0
- package/components/container/index.js +2 -4
- package/components/container/layout-grid/grid-column/index.d.ts +2 -0
- package/components/container/layout-grid/grid-column/index.js +2 -1
- package/components/container/layout-grid/grid-row/index.d.ts +2 -0
- package/components/container/layout-grid/index.d.ts +2 -0
- package/components/container/linear-layout/index.d.ts +2 -0
- package/components/container/linear-layout/linear-layout-item/index.d.ts +2 -0
- package/components/container/panel/index.d.ts +2 -0
- package/components/container/repeat-template/index.d.ts +2 -0
- package/components/container/tabs/index.d.ts +4 -0
- package/components/container/tabs/index.js +23 -1
- package/components/container/tabs/props.d.ts +10 -0
- package/components/container/tabs/tab-pane/index.d.ts +2 -0
- package/components/container/wizard/index.d.ts +8 -0
- package/components/container/wizard/index.js +27 -3
- package/components/container/wizard/props.d.ts +10 -0
- package/components/container/wizard/wizard-step/index.d.ts +2 -0
- package/components/data/card/card-actions/index.d.ts +2 -0
- package/components/data/card/card-content/index.d.ts +2 -0
- package/components/data/card/card-footer/index.d.ts +2 -0
- package/components/data/card/index.d.ts +2 -0
- package/components/data/card/index.js +12 -6
- package/components/data/form/base-form/hooks/useFormOperations.d.ts +1 -1
- package/components/data/form/base-form/hooks/useFormOperations.js +3 -3
- package/components/data/form/base-form/index.js +33 -26
- package/components/data/form/base-form/props.d.ts +1 -1
- package/components/data/form/dynamic-fields/index.js +3 -0
- package/components/data/form/form-action/index.d.ts +4 -0
- package/components/data/form/form-controller/hooks/index.js +2 -1
- package/components/data/form/form-controller/withFormController.js +14 -23
- package/components/data/form/form-field/base-field.js +0 -5
- package/components/data/form/form-field/index.js +99 -13
- package/components/data/form/form-field/props.d.ts +8 -0
- package/components/data/form/index.js +13 -0
- package/components/data/list/index.d.ts +7 -0
- package/components/data/list/index.js +18 -0
- package/components/data/list/props.d.ts +7 -0
- package/components/data/pagination/hooks/usePagination.js +0 -1
- package/components/data/table/components/RowCells.js +4 -1
- package/components/data/table/hooks/useDynamicColumns.js +3 -1
- package/components/data/table/hooks/useResponsiveColumns.d.ts +2 -0
- package/components/data/table/index.d.ts +8 -0
- package/components/data/table/index.js +20 -2
- package/components/data/table/live-table/index.d.ts +2 -0
- package/components/data/table/props.d.ts +10 -0
- package/components/data/table/table-action/index.d.ts +2 -0
- package/components/data/table/table-column/index.d.ts +2 -0
- package/components/data/table/table-row/index.d.ts +2 -0
- package/components/data/table/table-row-action/index.d.ts +2 -0
- package/components/data/table/utils/columnBuilder.d.ts +1 -1
- package/components/data/table/utils/columnBuilder.js +7 -4
- package/components/data/table/utils/crud-handlers.js +10 -10
- package/components/data/table/utils/index.d.ts +11 -8
- package/components/data/table/utils/index.js +90 -12
- package/components/dialogs/alert-dialog/index.d.ts +4 -0
- package/components/dialogs/confirm-dialog/index.d.ts +4 -0
- package/components/dialogs/dialog/index.d.ts +4 -0
- package/components/dialogs/dialog-actions/index.d.ts +2 -0
- package/components/dialogs/dialog-body/index.d.ts +2 -0
- package/components/dialogs/dialog-content/index.d.ts +2 -0
- package/components/dialogs/dialog-header/index.d.ts +2 -0
- package/components/dialogs/iframe-dialog/index.d.ts +4 -0
- package/components/dialogs/login-dialog/index.d.ts +4 -0
- package/components/dialogs/page-dialog/index.d.ts +4 -0
- package/components/form/button/index.d.ts +2 -0
- package/components/form/button/index.js +10 -1
- package/components/form/button-group/index.d.ts +2 -0
- package/components/input/calendar/index.d.ts +4 -0
- package/components/input/calendar/index.js +2 -1
- package/components/input/chips/index.d.ts +4 -0
- package/components/input/color-picker/index.d.ts +4 -0
- package/components/input/color-picker/index.js +18 -7
- package/components/input/composite/index.d.ts +2 -0
- package/components/input/currency/index.d.ts +4 -0
- package/components/input/default/checkbox/index.d.ts +4 -0
- package/components/input/default/checkboxset/index.d.ts +4 -0
- package/components/input/default/checkboxset/index.js +7 -5
- package/components/input/default/radioset/index.d.ts +4 -0
- package/components/input/default/radioset/index.js +2 -1
- package/components/input/default/switch/index.d.ts +4 -0
- package/components/input/default/switch/index.js +17 -13
- package/components/input/epoch/date/index.d.ts +2 -0
- package/components/input/epoch/date/index.js +30 -14
- package/components/input/epoch/datetime/index.d.ts +2 -0
- package/components/input/epoch/datetime/index.js +12 -8
- package/components/input/epoch/time/index.d.ts +2 -0
- package/components/input/epoch/time/index.js +21 -15
- package/components/input/fileupload/index.d.ts +2 -0
- package/components/input/number/index.d.ts +4 -0
- package/components/input/number/index.js +4 -3
- package/components/input/rating/index.d.ts +4 -0
- package/components/input/select/index.d.ts +4 -0
- package/components/input/slider/index.d.ts +4 -0
- package/components/input/slider/index.js +4 -2
- package/components/input/text/index.d.ts +4 -0
- package/components/input/text/index.js +16 -8
- package/components/input/textarea/index.d.ts +4 -0
- package/components/input/upload/index.d.ts +4 -0
- package/components/input/upload/index.js +6 -4
- package/components/layout/leftnav/index.js +21 -2
- package/components/layout/leftnav/props.d.ts +9 -0
- package/components/layout/leftnav/utils/page-class-util.d.ts +9 -0
- package/components/layout/leftnav/utils/page-class-util.js +28 -0
- package/components/navbar/index.d.ts +2 -0
- package/components/navbar/nav/index.d.ts +2 -0
- package/components/navbar/nav-item/index.d.ts +2 -0
- package/components/navigation/breadcrumb/index.d.ts +2 -0
- package/components/navigation/menu/index.d.ts +2 -0
- package/components/navigation/menu/index.js +2 -2
- package/components/navigation/popover/index.d.ts +2 -0
- package/components/navigation/popover/index.js +1 -0
- package/components/page/index.js +22 -6
- package/components/page/page-context.d.ts +4 -0
- package/components/page/page-context.js +5 -0
- package/components/page/partial/index.d.ts +2 -0
- package/components/page/partial-container/index.js +1 -4
- package/context/AppContext.d.ts +2 -0
- package/context/AppContext.js +20 -1
- package/context/WidgetProvider.js +0 -3
- package/core/proxy-service.d.ts +2 -0
- package/core/proxy-service.js +25 -0
- package/higherOrder/BaseApp.js +5 -6
- package/higherOrder/BaseAppProps.d.ts +1 -0
- package/higherOrder/BasePage.js +4 -12
- package/higherOrder/props.d.ts +10 -0
- package/higherOrder/withBaseWrapper.js +3 -0
- package/hooks/useAuth.js +3 -0
- package/hooks/useDataSourceSubscription.js +1 -1
- package/hooks/useHttp.js +0 -4
- package/hooks/useLayoutSize.d.ts +6 -0
- package/hooks/useLayoutSize.js +12 -0
- package/package-lock.json +229 -203
- package/package.json +3 -3
- package/runtime-dynamic/app-initializer.js +1 -1
- package/runtime-dynamic/components/use-dynamic-component.js +12 -31
- package/runtime-dynamic/factories/build-base-page-like-component.d.ts +1 -1
- package/runtime-dynamic/factories/dynamic-component.js +9 -1
- package/runtime-dynamic/factories/prefab-factory.d.ts +1 -1
- package/runtime-dynamic/factories/utils.d.ts +1 -1
- package/runtime-dynamic/main.js +1 -3
- package/runtime-dynamic/services/component-ref-provider.d.ts +19 -4
- package/runtime-dynamic/services/component-ref-provider.js +18 -38
- package/runtime-dynamic/services/index.d.ts +2 -3
- package/runtime-dynamic/services/index.js +1 -18
- package/runtime-dynamic/services/resource-manager.d.ts +2 -3
- package/runtime-dynamic/services/resource-manager.js +13 -17
- package/runtime-dynamic/services/script-executor.js +5 -8
- package/runtime-dynamic/services/variable-registry.js +3 -4
- package/utils/attr.js +1 -9
- package/utils/custom-expression/index.js +4 -1
- package/utils/custom-expression/parser.js +4 -2
- package/utils/format-util.js +2 -3
- package/utils/state-persistance.d.ts +1 -1
- package/runtime-dynamic/services/cache.d.ts +0 -29
- package/runtime-dynamic/services/cache.js +0 -51
- package/utils/form-state.util.d.ts +0 -62
- package/utils/form-state.util.js +0 -109
|
@@ -79,6 +79,8 @@ declare const WmRadiosetStandalone: React.ComponentType<import("../../../data/fo
|
|
|
79
79
|
formfield?: boolean;
|
|
80
80
|
updateon?: string;
|
|
81
81
|
prefabName?: string;
|
|
82
|
+
loading?: boolean;
|
|
83
|
+
showSkeleton?: boolean;
|
|
82
84
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
83
85
|
export { WmRadiosetStandalone as WmRadioset };
|
|
84
86
|
/**
|
|
@@ -180,5 +182,7 @@ declare const _default: React.ComponentType<{
|
|
|
180
182
|
formfield?: boolean;
|
|
181
183
|
updateon?: string;
|
|
182
184
|
prefabName?: string;
|
|
185
|
+
loading?: boolean;
|
|
186
|
+
showSkeleton?: boolean;
|
|
183
187
|
}>;
|
|
184
188
|
export default _default;
|
|
@@ -178,12 +178,13 @@ const WmRadioset = memo(
|
|
|
178
178
|
}, [datavalue]);
|
|
179
179
|
const handleGroupClick = useCallback(
|
|
180
180
|
(key, event) => {
|
|
181
|
+
var _a;
|
|
181
182
|
setExpandedItems((prevState) => __spreadProps(__spreadValues({}, prevState), { [key]: !prevState[key] }));
|
|
182
183
|
if (externalHandleHeaderClick && event) {
|
|
183
184
|
externalHandleHeaderClick(key);
|
|
184
185
|
}
|
|
185
186
|
if (onClick) {
|
|
186
|
-
onClick(event, listener == null ? void 0 : listener.Widgets[name]);
|
|
187
|
+
onClick(event, (_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]);
|
|
187
188
|
}
|
|
188
189
|
},
|
|
189
190
|
[externalHandleHeaderClick]
|
|
@@ -74,6 +74,8 @@ declare const WmSwitchStandalone: React.ComponentType<import("../../../data/form
|
|
|
74
74
|
formfield?: boolean;
|
|
75
75
|
updateon?: string;
|
|
76
76
|
prefabName?: string;
|
|
77
|
+
loading?: boolean;
|
|
78
|
+
showSkeleton?: boolean;
|
|
77
79
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
78
80
|
export { WmSwitchStandalone as WmSwitch };
|
|
79
81
|
/**
|
|
@@ -170,5 +172,7 @@ declare const _default: React.ComponentType<{
|
|
|
170
172
|
formfield?: boolean;
|
|
171
173
|
updateon?: string;
|
|
172
174
|
prefabName?: string;
|
|
175
|
+
loading?: boolean;
|
|
176
|
+
showSkeleton?: boolean;
|
|
173
177
|
}>;
|
|
174
178
|
export default _default;
|
|
@@ -186,6 +186,7 @@ const useSwitch = (props) => {
|
|
|
186
186
|
}, [selectedItem, updateHighlighter]);
|
|
187
187
|
const selectOpt = useCallback(
|
|
188
188
|
(event, index, option) => {
|
|
189
|
+
var _a, _b;
|
|
189
190
|
event.preventDefault();
|
|
190
191
|
if (disabled) return;
|
|
191
192
|
const selectedValue = {
|
|
@@ -206,17 +207,17 @@ const useSwitch = (props) => {
|
|
|
206
207
|
setDatasetItems(updatedItems);
|
|
207
208
|
setModelByKey(keys);
|
|
208
209
|
setModelByValue(keys.map((key) => {
|
|
209
|
-
var
|
|
210
|
-
return (
|
|
210
|
+
var _a2;
|
|
211
|
+
return (_a2 = find(updatedItems, { key })) == null ? void 0 : _a2.value;
|
|
211
212
|
}));
|
|
212
213
|
setSelectedItem(find(updatedItems, { selected: true }) || null);
|
|
213
214
|
const datavalueArray = keys.map((key) => {
|
|
214
|
-
var
|
|
215
|
-
return (
|
|
215
|
+
var _a2;
|
|
216
|
+
return (_a2 = find(updatedItems, { key })) == null ? void 0 : _a2.value;
|
|
216
217
|
});
|
|
217
218
|
const displayValueArray = keys.map((key) => {
|
|
218
|
-
var
|
|
219
|
-
return (
|
|
219
|
+
var _a2;
|
|
220
|
+
return (_a2 = find(updatedItems, { key })) == null ? void 0 : _a2.label;
|
|
220
221
|
});
|
|
221
222
|
selectedValue.datavalue = datavalueArray;
|
|
222
223
|
selectedValue.displayValue = displayValueArray;
|
|
@@ -229,10 +230,10 @@ const useSwitch = (props) => {
|
|
|
229
230
|
if (onChange) {
|
|
230
231
|
onChange(
|
|
231
232
|
event,
|
|
232
|
-
listener == null ? void 0 : listener.Widgets[name],
|
|
233
|
+
(_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name],
|
|
233
234
|
keys.map((key) => {
|
|
234
|
-
var
|
|
235
|
-
return (
|
|
235
|
+
var _a2;
|
|
236
|
+
return (_a2 = find(updatedItems, { key })) == null ? void 0 : _a2.value;
|
|
236
237
|
}),
|
|
237
238
|
keys
|
|
238
239
|
);
|
|
@@ -267,7 +268,7 @@ const useSwitch = (props) => {
|
|
|
267
268
|
if (onChange) {
|
|
268
269
|
onChange(
|
|
269
270
|
event,
|
|
270
|
-
listener == null ? void 0 : listener.Widgets[name],
|
|
271
|
+
(_b = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b[name],
|
|
271
272
|
selectedOption.value,
|
|
272
273
|
selectedItem == null ? void 0 : selectedItem.label
|
|
273
274
|
);
|
|
@@ -284,17 +285,20 @@ const useSwitch = (props) => {
|
|
|
284
285
|
[datasetItems, disabled, multiple, onChange, onBlur, onClick, selectedItem, btnWidth, listener]
|
|
285
286
|
);
|
|
286
287
|
const handleOnMouseEnter = (event, option) => {
|
|
288
|
+
var _a;
|
|
287
289
|
if (disabled || !onMouseEnter) return;
|
|
288
|
-
onMouseEnter(event, listener == null ? void 0 : listener.Widgets[name]);
|
|
290
|
+
onMouseEnter(event, (_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]);
|
|
289
291
|
};
|
|
290
292
|
const handleOnMouseLeave = (event, option) => {
|
|
293
|
+
var _a;
|
|
291
294
|
if (disabled || !onMouseLeave) return;
|
|
292
|
-
onMouseLeave(event, listener == null ? void 0 : listener.Widgets[name]);
|
|
295
|
+
onMouseLeave(event, (_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]);
|
|
293
296
|
};
|
|
294
297
|
const handleOnClick = (event, index, option) => {
|
|
298
|
+
var _a;
|
|
295
299
|
const selectedValue = selectOpt(event, index, option);
|
|
296
300
|
if (disabled || !onClick) return;
|
|
297
|
-
onClick(event, Object.assign({}, listener == null ? void 0 : listener.Widgets[name], selectedValue));
|
|
301
|
+
onClick(event, Object.assign({}, (_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name], selectedValue));
|
|
298
302
|
};
|
|
299
303
|
return {
|
|
300
304
|
datasetItems,
|
|
@@ -336,6 +336,7 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
336
336
|
);
|
|
337
337
|
const clearDateValue = useCallback(
|
|
338
338
|
(invokeOnChange2, updatePrevDatavalue2, updateBoundVariable2, setInputValue2, setSelectedDate2, setInvalidDateTimeFormat2, setDateNotInRange2) => {
|
|
339
|
+
var _a2, _b2;
|
|
339
340
|
const oldValue = inputValue;
|
|
340
341
|
invokeOnChange2 == null ? void 0 : invokeOnChange2("");
|
|
341
342
|
updatePrevDatavalue2 == null ? void 0 : updatePrevDatavalue2("");
|
|
@@ -351,8 +352,8 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
351
352
|
timestamp: null
|
|
352
353
|
}));
|
|
353
354
|
}
|
|
354
|
-
if (onChange && name && ((listener == null ? void 0 : listener.Widgets[name]) || props.standalone)) {
|
|
355
|
-
onChange({}, listener == null ? void 0 : listener.Widgets[name], "", oldValue);
|
|
355
|
+
if (onChange && name && (((_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]) || props.standalone)) {
|
|
356
|
+
onChange({}, (_b2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b2[name], "", oldValue);
|
|
356
357
|
}
|
|
357
358
|
},
|
|
358
359
|
[name, onChange, props, inputValue]
|
|
@@ -392,6 +393,7 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
392
393
|
}, [disabled, readonly]);
|
|
393
394
|
const updateDateValue = useCallback(
|
|
394
395
|
(date) => {
|
|
396
|
+
var _a2, _b2, _c;
|
|
395
397
|
const outputValue = formatDate(date.toDate(), outputformat);
|
|
396
398
|
const displayValue = moment(date.toDate()).locale(currentLocale).format(convertToMomentFormat(datepattern));
|
|
397
399
|
invokeOnChange == null ? void 0 : invokeOnChange(outputValue);
|
|
@@ -399,7 +401,7 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
399
401
|
updateBoundVariable == null ? void 0 : updateBoundVariable(outputValue);
|
|
400
402
|
setInputValue(displayValue);
|
|
401
403
|
const oldValue = inputValue;
|
|
402
|
-
if (name && (listener == null ? void 0 : listener.Widgets[name])) {
|
|
404
|
+
if (name && ((_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name])) {
|
|
403
405
|
listener.Widgets[name].displayValue = displayValue;
|
|
404
406
|
}
|
|
405
407
|
if (listener == null ? void 0 : listener.onChange) {
|
|
@@ -408,10 +410,10 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
408
410
|
timestamp: formatDate(date.toDate(), "timestamp")
|
|
409
411
|
}));
|
|
410
412
|
}
|
|
411
|
-
if (onChange && name && ((listener == null ? void 0 : listener.Widgets[name]) || props.standalone)) {
|
|
413
|
+
if (onChange && name && (((_b2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b2[name]) || props.standalone)) {
|
|
412
414
|
onChange(
|
|
413
415
|
{},
|
|
414
|
-
name && (listener == null ? void 0 : listener.Widgets[name]),
|
|
416
|
+
name && ((_c = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _c[name]),
|
|
415
417
|
outputValue,
|
|
416
418
|
oldValue
|
|
417
419
|
);
|
|
@@ -478,6 +480,7 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
478
480
|
);
|
|
479
481
|
const handleInputChange = useCallback(
|
|
480
482
|
(event) => {
|
|
483
|
+
var _a2, _b2, _c, _d;
|
|
481
484
|
if (dataentrymode === "picker") return;
|
|
482
485
|
const value = event.target.value;
|
|
483
486
|
setInputValue(value);
|
|
@@ -496,16 +499,16 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
496
499
|
const parsedDate = datepattern === "timestamp" ? moment(parseInt(value, 10)) : moment(value, convertToMomentFormat(datepattern), true);
|
|
497
500
|
if (!parsedDate.isValid()) {
|
|
498
501
|
handleValidationError("invalidFormat", props.required);
|
|
499
|
-
if (onChange && name && ((listener == null ? void 0 : listener.Widgets[name]) || props.standalone) && props.formfield) {
|
|
500
|
-
onChange({}, listener == null ? void 0 : listener.Widgets[name], value, inputValue);
|
|
502
|
+
if (onChange && name && (((_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]) || props.standalone) && props.formfield) {
|
|
503
|
+
onChange({}, (_b2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b2[name], value, inputValue);
|
|
501
504
|
}
|
|
502
505
|
return;
|
|
503
506
|
}
|
|
504
507
|
setInvalidDateTimeFormat(false);
|
|
505
508
|
const dateObj = parsedDate.toDate();
|
|
506
509
|
if (!validateDateWithProps(dateObj)) {
|
|
507
|
-
if (onChange && name && ((listener == null ? void 0 : listener.Widgets[name]) || props.standalone) && props.formfield) {
|
|
508
|
-
onChange({}, listener == null ? void 0 : listener.Widgets[name], value, inputValue);
|
|
510
|
+
if (onChange && name && (((_c = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _c[name]) || props.standalone) && props.formfield) {
|
|
511
|
+
onChange({}, (_d = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _d[name], value, inputValue);
|
|
509
512
|
}
|
|
510
513
|
return;
|
|
511
514
|
}
|
|
@@ -610,8 +613,9 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
610
613
|
);
|
|
611
614
|
const handleInputClick = useCallback(
|
|
612
615
|
(event) => {
|
|
616
|
+
var _a2;
|
|
613
617
|
if (onClick && name) {
|
|
614
|
-
onClick(event, listener == null ? void 0 : listener.Widgets[name]);
|
|
618
|
+
onClick(event, (_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]);
|
|
615
619
|
}
|
|
616
620
|
if (shouldOpenOnInput && !readonly && !disabled) {
|
|
617
621
|
handleIconButtonClick(event);
|
|
@@ -651,8 +655,14 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
651
655
|
name,
|
|
652
656
|
className: `form-control app-textbox app-dateinput display-input`,
|
|
653
657
|
style: __spreadValues({}, getWidthStyle(width)),
|
|
654
|
-
onMouseEnter: (event) =>
|
|
655
|
-
|
|
658
|
+
onMouseEnter: (event) => {
|
|
659
|
+
var _a2;
|
|
660
|
+
return onMouseEnter && name && onMouseEnter(event, (_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]);
|
|
661
|
+
},
|
|
662
|
+
onMouseLeave: (event) => {
|
|
663
|
+
var _a2;
|
|
664
|
+
return onMouseLeave && name && onMouseLeave(event, (_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]);
|
|
665
|
+
}
|
|
656
666
|
}
|
|
657
667
|
},
|
|
658
668
|
InputProps: {
|
|
@@ -675,8 +685,14 @@ const WmDate = forwardRef((props, ref) => {
|
|
|
675
685
|
onChange: handleInputChange,
|
|
676
686
|
onKeyDown: handleInputKeyDown,
|
|
677
687
|
onClick: handleInputClick,
|
|
678
|
-
onFocus: (event) =>
|
|
679
|
-
|
|
688
|
+
onFocus: (event) => {
|
|
689
|
+
var _a2;
|
|
690
|
+
return onFocus && name && onFocus(event, (_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]);
|
|
691
|
+
},
|
|
692
|
+
onBlur: (event) => {
|
|
693
|
+
var _a2;
|
|
694
|
+
return onBlur && name && onBlur(event, (_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]);
|
|
695
|
+
},
|
|
680
696
|
style: getWidthStyle(width)
|
|
681
697
|
}
|
|
682
698
|
),
|
|
@@ -173,9 +173,10 @@ const WmDateTime = memo(
|
|
|
173
173
|
);
|
|
174
174
|
const handleFinalDateChange = useCallback(
|
|
175
175
|
(date, event) => {
|
|
176
|
+
var _a2, _b2, _c, _d;
|
|
176
177
|
if (!date) {
|
|
177
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name]) && props.formfield) {
|
|
178
|
-
onChange(event, listener == null ? void 0 : listener.Widgets[name], "", displayValue);
|
|
178
|
+
if (onChange && name && ((_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]) && props.formfield) {
|
|
179
|
+
onChange(event, (_b2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b2[name], "", displayValue);
|
|
179
180
|
}
|
|
180
181
|
setValidationFailureMessage("");
|
|
181
182
|
setLocalDateValue(null);
|
|
@@ -197,8 +198,8 @@ const WmDateTime = memo(
|
|
|
197
198
|
return;
|
|
198
199
|
}
|
|
199
200
|
if (!validateDateWithProps(date)) {
|
|
200
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name]) && props.formfield && event) {
|
|
201
|
-
onChange(event, listener == null ? void 0 : listener.Widgets[name], dateString, displayValue);
|
|
201
|
+
if (onChange && name && ((_c = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _c[name]) && props.formfield && event) {
|
|
202
|
+
onChange(event, (_d = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _d[name], dateString, displayValue);
|
|
202
203
|
}
|
|
203
204
|
return;
|
|
204
205
|
}
|
|
@@ -325,6 +326,7 @@ const WmDateTime = memo(
|
|
|
325
326
|
}, [tempDateValue, handleFinalDateChange]);
|
|
326
327
|
const handleInputChange = useCallback(
|
|
327
328
|
(event) => {
|
|
329
|
+
var _a2, _b2;
|
|
328
330
|
if (dataentrymode === "picker") return;
|
|
329
331
|
const value = event.target.value;
|
|
330
332
|
setDisplayValue(value);
|
|
@@ -344,8 +346,8 @@ const WmDateTime = memo(
|
|
|
344
346
|
}
|
|
345
347
|
} else {
|
|
346
348
|
if (required) {
|
|
347
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name]) && props.formfield) {
|
|
348
|
-
onChange(event, listener == null ? void 0 : listener.Widgets[name], value, displayValue);
|
|
349
|
+
if (onChange && name && ((_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]) && props.formfield) {
|
|
350
|
+
onChange(event, (_b2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b2[name], value, displayValue);
|
|
349
351
|
}
|
|
350
352
|
setInvalidFormat(true);
|
|
351
353
|
}
|
|
@@ -551,17 +553,19 @@ const WmDateTime = memo(
|
|
|
551
553
|
label: floatinglabel,
|
|
552
554
|
onClick: handleInputClick,
|
|
553
555
|
onFocus: (event) => {
|
|
556
|
+
var _a2;
|
|
554
557
|
if (readonly || disabled || isCurrentDate) {
|
|
555
558
|
event.target.blur();
|
|
556
559
|
return;
|
|
557
560
|
}
|
|
558
561
|
if (onFocus && name) {
|
|
559
|
-
onFocus(event, listener == null ? void 0 : listener.Widgets[name]);
|
|
562
|
+
onFocus(event, (_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]);
|
|
560
563
|
}
|
|
561
564
|
},
|
|
562
565
|
onBlur: (event) => {
|
|
566
|
+
var _a2;
|
|
563
567
|
if (readonly) return;
|
|
564
|
-
onBlur && name && onBlur(event, listener == null ? void 0 : listener.Widgets[name]);
|
|
568
|
+
onBlur && name && onBlur(event, (_a2 = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a2[name]);
|
|
565
569
|
},
|
|
566
570
|
onChange: handleInputChange,
|
|
567
571
|
onMouseEnter: (event) => {
|
|
@@ -79,18 +79,19 @@ const WmTime = (props) => {
|
|
|
79
79
|
);
|
|
80
80
|
const handleTimeChange = useCallback(
|
|
81
81
|
(newTime, event2, shouldClosePicker = false) => {
|
|
82
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
82
83
|
if (!newTime) {
|
|
83
84
|
const oldValue = displayValue;
|
|
84
85
|
setInternalValue(null);
|
|
85
86
|
setDisplayValue("");
|
|
86
87
|
setValidationResult({ isValid: true });
|
|
87
88
|
invokeOnChange == null ? void 0 : invokeOnChange("", { $event: event2, type: "change" });
|
|
88
|
-
if (name && (listener == null ? void 0 : listener.Widgets[name])) {
|
|
89
|
+
if (name && ((_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name])) {
|
|
89
90
|
listener.Widgets[name].displayValue = "";
|
|
90
91
|
}
|
|
91
92
|
updateListener(name, listener, props, "", null, "");
|
|
92
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name])) {
|
|
93
|
-
onChange(event2, listener == null ? void 0 : listener.Widgets[name], "", oldValue);
|
|
93
|
+
if (onChange && name && ((_b = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b[name])) {
|
|
94
|
+
onChange(event2, (_c = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _c[name], "", oldValue);
|
|
94
95
|
}
|
|
95
96
|
if (shouldClosePicker) setShowPicker == null ? void 0 : setShowPicker(false);
|
|
96
97
|
return;
|
|
@@ -109,7 +110,7 @@ const WmTime = (props) => {
|
|
|
109
110
|
const outputFormattedValue = formatDisplayTimeValue(newTime, outputformat);
|
|
110
111
|
setDisplayValue(formattedValue);
|
|
111
112
|
invokeOnChange == null ? void 0 : invokeOnChange(outputFormattedValue, { $event: event2, type: "change" });
|
|
112
|
-
if (name && (listener == null ? void 0 : listener.Widgets[name])) {
|
|
113
|
+
if (name && ((_d = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _d[name])) {
|
|
113
114
|
listener.Widgets[name].displayValue = formattedValue;
|
|
114
115
|
}
|
|
115
116
|
updateListener(
|
|
@@ -120,13 +121,13 @@ const WmTime = (props) => {
|
|
|
120
121
|
formatDisplayTimeValue(newTime, "timestamp"),
|
|
121
122
|
outputFormattedValue
|
|
122
123
|
);
|
|
123
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name])) {
|
|
124
|
-
onChange(event2, name && (listener == null ? void 0 : listener.Widgets[name]), outputFormattedValue, displayValue);
|
|
124
|
+
if (onChange && name && ((_e = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _e[name])) {
|
|
125
|
+
onChange(event2, name && ((_f = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _f[name]), outputFormattedValue, displayValue);
|
|
125
126
|
}
|
|
126
127
|
} else {
|
|
127
128
|
const formattedValue = formatDisplayTimeValue(newTime, timepattern);
|
|
128
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name]) && props.formfield) {
|
|
129
|
-
onChange(event2, name && (listener == null ? void 0 : listener.Widgets[name]), formattedValue, displayValue);
|
|
129
|
+
if (onChange && name && ((_g = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _g[name]) && props.formfield) {
|
|
130
|
+
onChange(event2, name && ((_h = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _h[name]), formattedValue, displayValue);
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
133
|
if (shouldClosePicker) setShowPicker == null ? void 0 : setShowPicker(false);
|
|
@@ -166,6 +167,7 @@ const WmTime = (props) => {
|
|
|
166
167
|
}, [setShowPicker]);
|
|
167
168
|
const handleInputChange = useCallback(
|
|
168
169
|
(event2) => {
|
|
170
|
+
var _a, _b, _c, _d;
|
|
169
171
|
try {
|
|
170
172
|
const inputValue = event2.target.value;
|
|
171
173
|
if (!inputValue) {
|
|
@@ -180,8 +182,8 @@ const WmTime = (props) => {
|
|
|
180
182
|
);
|
|
181
183
|
if (!formatValidation.isValid) {
|
|
182
184
|
setValidationResult(formatValidation);
|
|
183
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name]) && props.formfield) {
|
|
184
|
-
onChange(event2, listener == null ? void 0 : listener.Widgets[name], inputValue, displayValue);
|
|
185
|
+
if (onChange && name && ((_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]) && props.formfield) {
|
|
186
|
+
onChange(event2, (_b = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _b[name], inputValue, displayValue);
|
|
185
187
|
}
|
|
186
188
|
setDisplayValue(inputValue);
|
|
187
189
|
return;
|
|
@@ -199,8 +201,8 @@ const WmTime = (props) => {
|
|
|
199
201
|
if (rangeValidation.isValid) {
|
|
200
202
|
handleTimeChange(parsedTime.toDate(), event2, false);
|
|
201
203
|
} else {
|
|
202
|
-
if (onChange && name && (listener == null ? void 0 : listener.Widgets[name]) && props.formfield) {
|
|
203
|
-
onChange(event2, listener == null ? void 0 : listener.Widgets[name], inputValue, displayValue);
|
|
204
|
+
if (onChange && name && ((_c = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _c[name]) && props.formfield) {
|
|
205
|
+
onChange(event2, (_d = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _d[name], inputValue, displayValue);
|
|
204
206
|
}
|
|
205
207
|
setDisplayValue(inputValue);
|
|
206
208
|
}
|
|
@@ -227,6 +229,7 @@ const WmTime = (props) => {
|
|
|
227
229
|
);
|
|
228
230
|
const handleClick = useCallback(
|
|
229
231
|
(event2) => {
|
|
232
|
+
var _a;
|
|
230
233
|
try {
|
|
231
234
|
if (disabled || readonly || isCurrentTime) return;
|
|
232
235
|
if (anchorRef.current && !anchorRef.current.contains(document.activeElement)) {
|
|
@@ -236,7 +239,7 @@ const WmTime = (props) => {
|
|
|
236
239
|
setShowPicker == null ? void 0 : setShowPicker(true);
|
|
237
240
|
}
|
|
238
241
|
if (onClick && name) {
|
|
239
|
-
onClick(event2, listener == null ? void 0 : listener.Widgets[name]);
|
|
242
|
+
onClick(event2, (_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]);
|
|
240
243
|
}
|
|
241
244
|
} catch (error) {
|
|
242
245
|
console.error("Error in handleClick:", error);
|
|
@@ -321,7 +324,7 @@ const WmTime = (props) => {
|
|
|
321
324
|
} else if (datavalue instanceof Date) {
|
|
322
325
|
parsed = moment(datavalue);
|
|
323
326
|
} else {
|
|
324
|
-
parsed = moment(datavalue, timepattern, true);
|
|
327
|
+
parsed = moment(parseTimeValue(datavalue, timepattern), timepattern, true);
|
|
325
328
|
}
|
|
326
329
|
setInternalValue(parsed);
|
|
327
330
|
if (parsed.isValid()) {
|
|
@@ -388,7 +391,10 @@ const WmTime = (props) => {
|
|
|
388
391
|
value: displayValue,
|
|
389
392
|
onChange: handleInputChange,
|
|
390
393
|
onClick: handleClick,
|
|
391
|
-
onFocus: (event2) =>
|
|
394
|
+
onFocus: (event2) => {
|
|
395
|
+
var _a;
|
|
396
|
+
return onFocus && name && onFocus(event2, (_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]);
|
|
397
|
+
},
|
|
392
398
|
onBlur: (event2) => {
|
|
393
399
|
var _a;
|
|
394
400
|
return onBlur && name && ((_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]) ? onBlur(event2, listener.Widgets[name]) : void 0;
|
|
@@ -69,6 +69,8 @@ declare const WmNumberStandalone: React.ComponentType<import("../../data/form/fo
|
|
|
69
69
|
formfield?: boolean;
|
|
70
70
|
dataset?: any;
|
|
71
71
|
prefabName?: string;
|
|
72
|
+
loading?: boolean;
|
|
73
|
+
showSkeleton?: boolean;
|
|
72
74
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
73
75
|
export { WmNumberStandalone as WmNumber };
|
|
74
76
|
/**
|
|
@@ -160,5 +162,7 @@ declare const _default: React.ComponentType<{
|
|
|
160
162
|
formfield?: boolean;
|
|
161
163
|
dataset?: any;
|
|
162
164
|
prefabName?: string;
|
|
165
|
+
loading?: boolean;
|
|
166
|
+
showSkeleton?: boolean;
|
|
163
167
|
}>;
|
|
164
168
|
export default _default;
|
|
@@ -347,12 +347,13 @@ const WmNumber = memo(
|
|
|
347
347
|
}
|
|
348
348
|
}, [initialDataValue, initialMaxDataValue, initialMaxValue, isMaxWidget]);
|
|
349
349
|
useEffect(() => {
|
|
350
|
+
var _a;
|
|
350
351
|
if (inputEl.current) {
|
|
351
352
|
const focus = () => {
|
|
352
|
-
var
|
|
353
|
-
(
|
|
353
|
+
var _a2;
|
|
354
|
+
(_a2 = inputEl.current) == null ? void 0 : _a2.focus();
|
|
354
355
|
};
|
|
355
|
-
if (listener == null ? void 0 : listener.Widgets[name]) {
|
|
356
|
+
if ((_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]) {
|
|
356
357
|
listener.Widgets[name].focus = focus;
|
|
357
358
|
}
|
|
358
359
|
}
|
|
@@ -91,6 +91,8 @@ declare const WmRatingStandalone: React.ComponentType<import("../../data/form/fo
|
|
|
91
91
|
formfield?: boolean;
|
|
92
92
|
updateon?: string;
|
|
93
93
|
prefabName?: string;
|
|
94
|
+
loading?: boolean;
|
|
95
|
+
showSkeleton?: boolean;
|
|
94
96
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
95
97
|
export { WmRatingStandalone as WmRating };
|
|
96
98
|
/**
|
|
@@ -204,5 +206,7 @@ declare const _default: React.ComponentType<{
|
|
|
204
206
|
formfield?: boolean;
|
|
205
207
|
updateon?: string;
|
|
206
208
|
prefabName?: string;
|
|
209
|
+
loading?: boolean;
|
|
210
|
+
showSkeleton?: boolean;
|
|
207
211
|
}>;
|
|
208
212
|
export default _default;
|
|
@@ -73,6 +73,8 @@ declare const WmSelectStandalone: React.ComponentType<import("../../data/form/fo
|
|
|
73
73
|
formfield?: boolean;
|
|
74
74
|
updateon?: string;
|
|
75
75
|
prefabName?: string;
|
|
76
|
+
loading?: boolean;
|
|
77
|
+
showSkeleton?: boolean;
|
|
76
78
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
77
79
|
export { WmSelectStandalone as WmSelect };
|
|
78
80
|
/**
|
|
@@ -169,5 +171,7 @@ declare const _default: React.ComponentType<{
|
|
|
169
171
|
formfield?: boolean;
|
|
170
172
|
updateon?: string;
|
|
171
173
|
prefabName?: string;
|
|
174
|
+
loading?: boolean;
|
|
175
|
+
showSkeleton?: boolean;
|
|
172
176
|
}>;
|
|
173
177
|
export default _default;
|
|
@@ -67,6 +67,8 @@ declare const WmSliderStandalone: React.ComponentType<import("../../data/form/fo
|
|
|
67
67
|
updateon?: string;
|
|
68
68
|
dataset?: any;
|
|
69
69
|
prefabName?: string;
|
|
70
|
+
loading?: boolean;
|
|
71
|
+
showSkeleton?: boolean;
|
|
70
72
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
71
73
|
export { WmSliderStandalone as WmSlider };
|
|
72
74
|
/**
|
|
@@ -158,5 +160,7 @@ declare const _default: React.ComponentType<{
|
|
|
158
160
|
updateon?: string;
|
|
159
161
|
dataset?: any;
|
|
160
162
|
prefabName?: string;
|
|
163
|
+
loading?: boolean;
|
|
164
|
+
showSkeleton?: boolean;
|
|
161
165
|
}>;
|
|
162
166
|
export default _default;
|
|
@@ -83,9 +83,10 @@ const WmSlider = memo(
|
|
|
83
83
|
);
|
|
84
84
|
const handleInputChange = useCallback(
|
|
85
85
|
(event) => {
|
|
86
|
+
var _a;
|
|
86
87
|
const newVal = Number(event.target.value);
|
|
87
88
|
setValue(newVal);
|
|
88
|
-
if (listener == null ? void 0 : listener.Widgets[name]) {
|
|
89
|
+
if ((_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]) {
|
|
89
90
|
listener.Widgets[name].displayValue = newVal;
|
|
90
91
|
}
|
|
91
92
|
if (onChange) {
|
|
@@ -172,10 +173,11 @@ const WmSlider = memo(
|
|
|
172
173
|
}, [props.minvalue, props.maxvalue, step, markerlabeltext, showmarkers]);
|
|
173
174
|
const applyValue = useCallback(
|
|
174
175
|
(newVal) => {
|
|
176
|
+
var _a;
|
|
175
177
|
const oldVal = prevDatavalueRef.current;
|
|
176
178
|
setValue(newVal);
|
|
177
179
|
prevDatavalueRef.current = newVal;
|
|
178
|
-
if (listener == null ? void 0 : listener.Widgets[name]) {
|
|
180
|
+
if ((_a = listener == null ? void 0 : listener.Widgets) == null ? void 0 : _a[name]) {
|
|
179
181
|
listener.Widgets[name].displayValue = newVal;
|
|
180
182
|
}
|
|
181
183
|
if (onChange) {
|
|
@@ -76,6 +76,8 @@ declare const WmTextStandalone: import("react").ComponentType<import("../../data
|
|
|
76
76
|
formfield?: boolean;
|
|
77
77
|
dataset?: any;
|
|
78
78
|
prefabName?: string;
|
|
79
|
+
loading?: boolean;
|
|
80
|
+
showSkeleton?: boolean;
|
|
79
81
|
} & import("@wavemaker-ai/react-runtime/higherOrder/withStandalone").WithStandaloneProps>;
|
|
80
82
|
export { WmTextStandalone as WmText };
|
|
81
83
|
/**
|
|
@@ -173,5 +175,7 @@ declare const _default: import("react").ComponentType<{
|
|
|
173
175
|
formfield?: boolean;
|
|
174
176
|
dataset?: any;
|
|
175
177
|
prefabName?: string;
|
|
178
|
+
loading?: boolean;
|
|
179
|
+
showSkeleton?: boolean;
|
|
176
180
|
}>;
|
|
177
181
|
export default _default;
|