@wavemaker/custom-widgets-m3 12.0.0-next.45081 → 12.0.0-next.45082
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.
- custom-widgets-m3/custom-widgets-bundle.cjs.js +40 -10
- custom-widgets-m3/index.d.ts +1 -0
- custom-widgets-m3/index.js +1 -0
- custom-widgets-m3/package.json +1 -1
- custom-widgets-m3/src/checkbox_set/checkbox_set.js +2 -1
- custom-widgets-m3/src/checkbox_set/page.min.js +1 -1
- custom-widgets-m3/src/discrete_slider/discrete_slider.js +1 -0
- custom-widgets-m3/src/discrete_slider/page.min.js +1 -1
- custom-widgets-m3/src/icon_button_toggleable/icon_button_toggleable.d.ts +0 -0
- custom-widgets-m3/src/icon_button_toggleable/icon_button_toggleable.js +17 -0
- custom-widgets-m3/src/icon_button_toggleable/page.min.d.ts +7 -0
- custom-widgets-m3/src/icon_button_toggleable/page.min.js +7 -0
- custom-widgets-m3/src/radio_set/page.min.js +1 -1
- custom-widgets-m3/src/radio_set/radio_set.js +2 -1
- custom-widgets-m3/src/slider/page.min.js +1 -1
- custom-widgets-m3/src/slider/slider.js +1 -0
- custom-widgets-m3/src/switch_button/page.min.js +1 -1
- custom-widgets-m3/src/switch_button/switch_button.js +1 -0
- custom-widgets-m3/src/textfield/page.min.js +1 -1
- custom-widgets-m3/src/textfield/textfield.js +2 -1
- custom-widgets-m3/src/widget-registry.js +7 -1
|
@@ -14,11 +14,12 @@ Widget.onReady = function () {
|
|
|
14
14
|
* 'widgetMap.username.datavalue'
|
|
15
15
|
*/
|
|
16
16
|
var widgetMap = Widget.Widgets;
|
|
17
|
-
var _a = Widget.props, leading_icon = _a.leading_icon, trailing_icon = _a.trailing_icon, input_type = _a.input_type, required = _a.required;
|
|
17
|
+
var _a = Widget.props, leading_icon = _a.leading_icon, trailing_icon = _a.trailing_icon, input_type = _a.input_type, required = _a.required, input_text = _a.input_text;
|
|
18
18
|
handleLeadingIcon(widgetMap, leading_icon);
|
|
19
19
|
handleTrailingIcon(widgetMap, trailing_icon);
|
|
20
20
|
handleinputType(widgetMap, input_type);
|
|
21
21
|
handleRequired(widgetMap, required);
|
|
22
|
+
Widget.getDatavalue = function () { return input_text; };
|
|
22
23
|
};
|
|
23
24
|
Widget.onPropertyChange = function (propname, newvalue, oldvalue) {
|
|
24
25
|
var widgetMap = Widget.Widgets;
|
|
@@ -58,5 +58,11 @@ export var widgetRegistry = [
|
|
|
58
58
|
"displayName": "Progress bar",
|
|
59
59
|
"iconClass": "progress",
|
|
60
60
|
"desc": "Progress bar widget based on Material 3 design system"
|
|
61
|
-
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "icon_button_toggleable",
|
|
64
|
+
"displayName": "Icon Button Toggleable",
|
|
65
|
+
"iconClass": "button",
|
|
66
|
+
"desc": "Icon Button Toggleable based on Material 3 design system"
|
|
67
|
+
},
|
|
62
68
|
];
|