ywana-core8 0.0.913 → 0.0.914

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.
@@ -11151,6 +11151,9 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
11151
11151
  */
11152
11152
  var FORMATS = {
11153
11153
  NONE: '',
11154
+ TEXT: 'text',
11155
+ NUMBER: 'number',
11156
+ BOOLEAN: 'boolean',
11154
11157
  DATE: 'date',
11155
11158
  DATERANGE: 'DATERANGE',
11156
11159
  TIME: 'time',
@@ -11224,6 +11227,30 @@ var DynamicFormField = function DynamicFormField(props) {
11224
11227
  function renderByFormat() {
11225
11228
  var label = required ? field.label + " *" : field.label;
11226
11229
  switch (format) {
11230
+ case FORMATS.NUMBER:
11231
+ return /*#__PURE__*/React.createElement(TextField, {
11232
+ id: id,
11233
+ label: label,
11234
+ type: "number",
11235
+ value: value,
11236
+ onChange: change,
11237
+ outlined: true
11238
+ });
11239
+ case FORMATS.BOOLEAN:
11240
+ return /*#__PURE__*/React.createElement(CheckBox, {
11241
+ id: id,
11242
+ label: label,
11243
+ value: value,
11244
+ onChange: change
11245
+ });
11246
+ case FORMATS.TEXT:
11247
+ return /*#__PURE__*/React.createElement(TextArea, {
11248
+ id: id,
11249
+ label: label,
11250
+ value: value,
11251
+ onChange: change,
11252
+ outlined: true
11253
+ });
11227
11254
  case FORMATS.DATE:
11228
11255
  return /*#__PURE__*/React.createElement(TextField, {
11229
11256
  id: id,