diff --git a/scripts/generateWrappers/consts.js b/scripts/generateWrappers/consts.js index 21dadf5..c340fe8 100644 --- a/scripts/generateWrappers/consts.js +++ b/scripts/generateWrappers/consts.js @@ -96,7 +96,7 @@ const ComponentsEventsMapV3 = { VwcTextField: ['input'], VwcCheckbox: ['change'], VwcCombobox: ['change'], - VwcDatePicker: ['change', 'input'], + VwcDatePicker: ['change', 'input'] } const ComponentsReadOnlyPropertiesMap = { @@ -174,8 +174,8 @@ const ComponentsBindablePropertiesMap = { const ComponentsExtraPropertiesMap = { VwcIconButton: [ { - 'name': 'value', - 'type': 'string' + name: 'value', + type: 'string' } ] } @@ -204,13 +204,33 @@ const Vivid3ComponentsExtraPropertiesMap = { } ], Checkbox: [ + { + name: 'onClick', + type: { text: 'any' } + }, + { + name: 'label', + type: { text: 'string | undefined' } + }, + { + name: 'value', + type: { text: 'string | undefined' } + }, { name: 'checked', - type: { text: 'boolean' } + type: { text: 'boolean | undefined' } }, { - name: 'onClick', - type: { text: 'any' } + name: 'indeterminate', + type: { text: 'boolean | undefined' } + }, + { + name: 'disabled', + type: { text: 'boolean | undefined' } + }, + { + name: 'readonly', + type: { text: 'boolean | undefined' } } ], Button: [