igniteui-webcomponents-inputs 1.3.3
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/License +27 -0
- package/README.md +18 -0
- package/bundles/igniteui-webcomponents-inputs.umd.js +32535 -0
- package/bundles/igniteui-webcomponents-inputs.umd.js.map +1 -0
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +2 -0
- package/bundles/igniteui-webcomponents-inputs.umd.min.js.map +1 -0
- package/esm2015/igniteui-webcomponents-inputs.js +2 -0
- package/esm2015/igniteui-webcomponents-inputs.js.map +1 -0
- package/esm2015/lib/Button.js +8 -0
- package/esm2015/lib/Button.js.map +1 -0
- package/esm2015/lib/ButtonClickEventArgs.js +17 -0
- package/esm2015/lib/ButtonClickEventArgs.js.map +1 -0
- package/esm2015/lib/ButtonDisplayStyle.js +12 -0
- package/esm2015/lib/ButtonDisplayStyle.js.map +1 -0
- package/esm2015/lib/ButtonGroup.js +8 -0
- package/esm2015/lib/ButtonGroup.js.map +1 -0
- package/esm2015/lib/ButtonGroupButtonCollection.js +29 -0
- package/esm2015/lib/ButtonGroupButtonCollection.js.map +1 -0
- package/esm2015/lib/ButtonGroupDisplayStyle.js +12 -0
- package/esm2015/lib/ButtonGroupDisplayStyle.js.map +1 -0
- package/esm2015/lib/ButtonGroupOrientation.js +17 -0
- package/esm2015/lib/ButtonGroupOrientation.js.map +1 -0
- package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +17 -0
- package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js.map +1 -0
- package/esm2015/lib/ButtonGroupView.js +8 -0
- package/esm2015/lib/ButtonGroupView.js.map +1 -0
- package/esm2015/lib/ButtonGroupView_combined.js +1334 -0
- package/esm2015/lib/ButtonGroupView_combined.js.map +1 -0
- package/esm2015/lib/ButtonGroupVisualModelExport.js +57 -0
- package/esm2015/lib/ButtonGroupVisualModelExport.js.map +1 -0
- package/esm2015/lib/ButtonView.js +8 -0
- package/esm2015/lib/ButtonView.js.map +1 -0
- package/esm2015/lib/ButtonView_combined.js +2879 -0
- package/esm2015/lib/ButtonView_combined.js.map +1 -0
- package/esm2015/lib/ButtonVisualModelExport.js +110 -0
- package/esm2015/lib/ButtonVisualModelExport.js.map +1 -0
- package/esm2015/lib/Calendar.js +8 -0
- package/esm2015/lib/Calendar.js.map +1 -0
- package/esm2015/lib/CalendarLocaleEn.js +57 -0
- package/esm2015/lib/CalendarLocaleEn.js.map +1 -0
- package/esm2015/lib/CalendarView.js +8 -0
- package/esm2015/lib/CalendarView.js.map +1 -0
- package/esm2015/lib/CalendarView_combined.js +2753 -0
- package/esm2015/lib/CalendarView_combined.js.map +1 -0
- package/esm2015/lib/CalendarVisualModelExport.js +101 -0
- package/esm2015/lib/CalendarVisualModelExport.js.map +1 -0
- package/esm2015/lib/Checkbox.js +8 -0
- package/esm2015/lib/Checkbox.js.map +1 -0
- package/esm2015/lib/CheckboxChangeEventArgs.js +34 -0
- package/esm2015/lib/CheckboxChangeEventArgs.js.map +1 -0
- package/esm2015/lib/CheckboxLabelPosition.js +12 -0
- package/esm2015/lib/CheckboxLabelPosition.js.map +1 -0
- package/esm2015/lib/CheckboxView.js +8 -0
- package/esm2015/lib/CheckboxView.js.map +1 -0
- package/esm2015/lib/CheckboxView_combined.js +1026 -0
- package/esm2015/lib/CheckboxView_combined.js.map +1 -0
- package/esm2015/lib/CheckboxVisualModelExport.js +63 -0
- package/esm2015/lib/CheckboxVisualModelExport.js.map +1 -0
- package/esm2015/lib/DateFormats.js +26 -0
- package/esm2015/lib/DateFormats.js.map +1 -0
- package/esm2015/lib/DatePicker.js +8 -0
- package/esm2015/lib/DatePicker.js.map +1 -0
- package/esm2015/lib/DatePickerView.js +8 -0
- package/esm2015/lib/DatePickerView.js.map +1 -0
- package/esm2015/lib/DatePickerView_combined.js +1439 -0
- package/esm2015/lib/DatePickerView_combined.js.map +1 -0
- package/esm2015/lib/DatePickerVisualModelExport.js +71 -0
- package/esm2015/lib/DatePickerVisualModelExport.js.map +1 -0
- package/esm2015/lib/DateTimeValueFormatter.js +109 -0
- package/esm2015/lib/DateTimeValueFormatter.js.map +1 -0
- package/esm2015/lib/DayInfo.js +24 -0
- package/esm2015/lib/DayInfo.js.map +1 -0
- package/esm2015/lib/DayOfWeek.js +46 -0
- package/esm2015/lib/DayOfWeek.js.map +1 -0
- package/esm2015/lib/ElevationHelper.js +68 -0
- package/esm2015/lib/ElevationHelper.js.map +1 -0
- package/esm2015/lib/FirstWeek.js +30 -0
- package/esm2015/lib/FirstWeek.js.map +1 -0
- package/esm2015/lib/GotFocusEventArgs.js +17 -0
- package/esm2015/lib/GotFocusEventArgs.js.map +1 -0
- package/esm2015/lib/Icon.js +8 -0
- package/esm2015/lib/Icon.js.map +1 -0
- package/esm2015/lib/IconView.js +8 -0
- package/esm2015/lib/IconView.js.map +1 -0
- package/esm2015/lib/IconView_combined.js +557 -0
- package/esm2015/lib/IconView_combined.js.map +1 -0
- package/esm2015/lib/IconVisualModelExport.js +68 -0
- package/esm2015/lib/IconVisualModelExport.js.map +1 -0
- package/esm2015/lib/Input.js +8 -0
- package/esm2015/lib/Input.js.map +1 -0
- package/esm2015/lib/InputChangeEventArgs.js +34 -0
- package/esm2015/lib/InputChangeEventArgs.js.map +1 -0
- package/esm2015/lib/InputGroup.js +8 -0
- package/esm2015/lib/InputGroup.js.map +1 -0
- package/esm2015/lib/InputGroupDisplayType.js +19 -0
- package/esm2015/lib/InputGroupDisplayType.js.map +1 -0
- package/esm2015/lib/InputGroupInputCollection.js +8 -0
- package/esm2015/lib/InputGroupInputCollection.js.map +1 -0
- package/esm2015/lib/InputGroupItem.js +8 -0
- package/esm2015/lib/InputGroupItem.js.map +1 -0
- package/esm2015/lib/InputGroupView.js +8 -0
- package/esm2015/lib/InputGroupView.js.map +1 -0
- package/esm2015/lib/InputGroupView_combined.js +5152 -0
- package/esm2015/lib/InputGroupView_combined.js.map +1 -0
- package/esm2015/lib/InputGroupVisualModelExport.js +110 -0
- package/esm2015/lib/InputGroupVisualModelExport.js.map +1 -0
- package/esm2015/lib/InputShiftType.js +18 -0
- package/esm2015/lib/InputShiftType.js.map +1 -0
- package/esm2015/lib/InputView.js +8 -0
- package/esm2015/lib/InputView.js.map +1 -0
- package/esm2015/lib/InputVisualModelExport.js +79 -0
- package/esm2015/lib/InputVisualModelExport.js.map +1 -0
- package/esm2015/lib/KEYCODES.js +12 -0
- package/esm2015/lib/KEYCODES.js.map +1 -0
- package/esm2015/lib/Label.js +8 -0
- package/esm2015/lib/Label.js.map +1 -0
- package/esm2015/lib/LabelShiftType.js +18 -0
- package/esm2015/lib/LabelShiftType.js.map +1 -0
- package/esm2015/lib/LabelView.js +8 -0
- package/esm2015/lib/LabelView.js.map +1 -0
- package/esm2015/lib/LabelVisualModelExport.js +85 -0
- package/esm2015/lib/LabelVisualModelExport.js.map +1 -0
- package/esm2015/lib/LostFocusEventArgs.js +17 -0
- package/esm2015/lib/LostFocusEventArgs.js.map +1 -0
- package/esm2015/lib/MaskOptions.js +22 -0
- package/esm2015/lib/MaskOptions.js.map +1 -0
- package/esm2015/lib/MaskParsingService.js +214 -0
- package/esm2015/lib/MaskParsingService.js.map +1 -0
- package/esm2015/lib/Prefix.js +8 -0
- package/esm2015/lib/Prefix.js.map +1 -0
- package/esm2015/lib/PrefixShiftType.js +18 -0
- package/esm2015/lib/PrefixShiftType.js.map +1 -0
- package/esm2015/lib/PrefixView.js +8 -0
- package/esm2015/lib/PrefixView.js.map +1 -0
- package/esm2015/lib/PrefixVisualModelExport.js +36 -0
- package/esm2015/lib/PrefixVisualModelExport.js.map +1 -0
- package/esm2015/lib/Replaced.js +22 -0
- package/esm2015/lib/Replaced.js.map +1 -0
- package/esm2015/lib/Ripple.js +8 -0
- package/esm2015/lib/Ripple.js.map +1 -0
- package/esm2015/lib/RippleView.js +8 -0
- package/esm2015/lib/RippleView.js.map +1 -0
- package/esm2015/lib/RippleView_combined.js +397 -0
- package/esm2015/lib/RippleView_combined.js.map +1 -0
- package/esm2015/lib/RippleVisualModelExport.js +39 -0
- package/esm2015/lib/RippleVisualModelExport.js.map +1 -0
- package/esm2015/lib/Suffix.js +8 -0
- package/esm2015/lib/Suffix.js.map +1 -0
- package/esm2015/lib/SuffixShiftType.js +18 -0
- package/esm2015/lib/SuffixShiftType.js.map +1 -0
- package/esm2015/lib/SuffixView.js +8 -0
- package/esm2015/lib/SuffixView.js.map +1 -0
- package/esm2015/lib/SuffixVisualModelExport.js +35 -0
- package/esm2015/lib/SuffixVisualModelExport.js.map +1 -0
- package/esm2015/lib/TextElementsVisualModelExport.js +45 -0
- package/esm2015/lib/TextElementsVisualModelExport.js.map +1 -0
- package/esm2015/lib/ThemeResolver.js +53 -0
- package/esm2015/lib/ThemeResolver.js.map +1 -0
- package/esm2015/lib/ValueChangedEventArgs.js +34 -0
- package/esm2015/lib/ValueChangedEventArgs.js.map +1 -0
- package/esm2015/lib/igc-button-click-event-args.js +25 -0
- package/esm2015/lib/igc-button-click-event-args.js.map +1 -0
- package/esm2015/lib/igc-button-component.js +2010 -0
- package/esm2015/lib/igc-button-component.js.map +1 -0
- package/esm2015/lib/igc-button-group-button-collection.js +49 -0
- package/esm2015/lib/igc-button-group-button-collection.js.map +1 -0
- package/esm2015/lib/igc-button-group-component.js +1017 -0
- package/esm2015/lib/igc-button-group-component.js.map +1 -0
- package/esm2015/lib/igc-button-group-module.js +22 -0
- package/esm2015/lib/igc-button-group-module.js.map +1 -0
- package/esm2015/lib/igc-button-group-selection-changed-event-args.js +25 -0
- package/esm2015/lib/igc-button-group-selection-changed-event-args.js.map +1 -0
- package/esm2015/lib/igc-button-module.js +22 -0
- package/esm2015/lib/igc-button-module.js.map +1 -0
- package/esm2015/lib/igc-calendar-component.js +484 -0
- package/esm2015/lib/igc-calendar-component.js.map +1 -0
- package/esm2015/lib/igc-calendar-locale-en-module.js +14 -0
- package/esm2015/lib/igc-calendar-locale-en-module.js.map +1 -0
- package/esm2015/lib/igc-calendar-module.js +22 -0
- package/esm2015/lib/igc-calendar-module.js.map +1 -0
- package/esm2015/lib/igc-checkbox-change-event-args.js +38 -0
- package/esm2015/lib/igc-checkbox-change-event-args.js.map +1 -0
- package/esm2015/lib/igc-checkbox-component.js +620 -0
- package/esm2015/lib/igc-checkbox-component.js.map +1 -0
- package/esm2015/lib/igc-checkbox-module.js +22 -0
- package/esm2015/lib/igc-checkbox-module.js.map +1 -0
- package/esm2015/lib/igc-date-picker-component.js +604 -0
- package/esm2015/lib/igc-date-picker-component.js.map +1 -0
- package/esm2015/lib/igc-date-picker-module.js +26 -0
- package/esm2015/lib/igc-date-picker-module.js.map +1 -0
- package/esm2015/lib/igc-got-focus-event-args.js +25 -0
- package/esm2015/lib/igc-got-focus-event-args.js.map +1 -0
- package/esm2015/lib/igc-icon-component.js +490 -0
- package/esm2015/lib/igc-icon-component.js.map +1 -0
- package/esm2015/lib/igc-icon-module.js +20 -0
- package/esm2015/lib/igc-icon-module.js.map +1 -0
- package/esm2015/lib/igc-input-change-event-args.js +38 -0
- package/esm2015/lib/igc-input-change-event-args.js.map +1 -0
- package/esm2015/lib/igc-input-component.js +540 -0
- package/esm2015/lib/igc-input-component.js.map +1 -0
- package/esm2015/lib/igc-input-group-component.js +1966 -0
- package/esm2015/lib/igc-input-group-component.js.map +1 -0
- package/esm2015/lib/igc-input-group-input-collection.js +49 -0
- package/esm2015/lib/igc-input-group-input-collection.js.map +1 -0
- package/esm2015/lib/igc-input-group-item-component.js +176 -0
- package/esm2015/lib/igc-input-group-item-component.js.map +1 -0
- package/esm2015/lib/igc-input-group-module.js +24 -0
- package/esm2015/lib/igc-input-group-module.js.map +1 -0
- package/esm2015/lib/igc-input-module.js +20 -0
- package/esm2015/lib/igc-input-module.js.map +1 -0
- package/esm2015/lib/igc-label-component.js +400 -0
- package/esm2015/lib/igc-label-component.js.map +1 -0
- package/esm2015/lib/igc-label-module.js +20 -0
- package/esm2015/lib/igc-label-module.js.map +1 -0
- package/esm2015/lib/igc-lost-focus-event-args.js +25 -0
- package/esm2015/lib/igc-lost-focus-event-args.js.map +1 -0
- package/esm2015/lib/igc-prefix-component.js +186 -0
- package/esm2015/lib/igc-prefix-component.js.map +1 -0
- package/esm2015/lib/igc-prefix-module.js +20 -0
- package/esm2015/lib/igc-prefix-module.js.map +1 -0
- package/esm2015/lib/igc-ripple-component.js +380 -0
- package/esm2015/lib/igc-ripple-component.js.map +1 -0
- package/esm2015/lib/igc-ripple-module.js +18 -0
- package/esm2015/lib/igc-ripple-module.js.map +1 -0
- package/esm2015/lib/igc-suffix-component.js +186 -0
- package/esm2015/lib/igc-suffix-component.js.map +1 -0
- package/esm2015/lib/igc-value-changed-event-args.js +37 -0
- package/esm2015/lib/igc-value-changed-event-args.js.map +1 -0
- package/esm2015/public_api.js +103 -0
- package/esm2015/public_api.js.map +1 -0
- package/esm5/igniteui-webcomponents-inputs.js +2 -0
- package/esm5/igniteui-webcomponents-inputs.js.map +1 -0
- package/esm5/lib/Button.js +8 -0
- package/esm5/lib/Button.js.map +1 -0
- package/esm5/lib/ButtonClickEventArgs.js +21 -0
- package/esm5/lib/ButtonClickEventArgs.js.map +1 -0
- package/esm5/lib/ButtonDisplayStyle.js +12 -0
- package/esm5/lib/ButtonDisplayStyle.js.map +1 -0
- package/esm5/lib/ButtonGroup.js +8 -0
- package/esm5/lib/ButtonGroup.js.map +1 -0
- package/esm5/lib/ButtonGroupButtonCollection.js +31 -0
- package/esm5/lib/ButtonGroupButtonCollection.js.map +1 -0
- package/esm5/lib/ButtonGroupDisplayStyle.js +12 -0
- package/esm5/lib/ButtonGroupDisplayStyle.js.map +1 -0
- package/esm5/lib/ButtonGroupOrientation.js +17 -0
- package/esm5/lib/ButtonGroupOrientation.js.map +1 -0
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +21 -0
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js.map +1 -0
- package/esm5/lib/ButtonGroupView.js +8 -0
- package/esm5/lib/ButtonGroupView.js.map +1 -0
- package/esm5/lib/ButtonGroupView_combined.js +1702 -0
- package/esm5/lib/ButtonGroupView_combined.js.map +1 -0
- package/esm5/lib/ButtonGroupVisualModelExport.js +59 -0
- package/esm5/lib/ButtonGroupVisualModelExport.js.map +1 -0
- package/esm5/lib/ButtonView.js +8 -0
- package/esm5/lib/ButtonView.js.map +1 -0
- package/esm5/lib/ButtonView_combined.js +3529 -0
- package/esm5/lib/ButtonView_combined.js.map +1 -0
- package/esm5/lib/ButtonVisualModelExport.js +112 -0
- package/esm5/lib/ButtonVisualModelExport.js.map +1 -0
- package/esm5/lib/Calendar.js +8 -0
- package/esm5/lib/Calendar.js.map +1 -0
- package/esm5/lib/CalendarLocaleEn.js +59 -0
- package/esm5/lib/CalendarLocaleEn.js.map +1 -0
- package/esm5/lib/CalendarView.js +8 -0
- package/esm5/lib/CalendarView.js.map +1 -0
- package/esm5/lib/CalendarView_combined.js +2877 -0
- package/esm5/lib/CalendarView_combined.js.map +1 -0
- package/esm5/lib/CalendarVisualModelExport.js +103 -0
- package/esm5/lib/CalendarVisualModelExport.js.map +1 -0
- package/esm5/lib/Checkbox.js +8 -0
- package/esm5/lib/Checkbox.js.map +1 -0
- package/esm5/lib/CheckboxChangeEventArgs.js +44 -0
- package/esm5/lib/CheckboxChangeEventArgs.js.map +1 -0
- package/esm5/lib/CheckboxLabelPosition.js +12 -0
- package/esm5/lib/CheckboxLabelPosition.js.map +1 -0
- package/esm5/lib/CheckboxView.js +8 -0
- package/esm5/lib/CheckboxView.js.map +1 -0
- package/esm5/lib/CheckboxView_combined.js +1220 -0
- package/esm5/lib/CheckboxView_combined.js.map +1 -0
- package/esm5/lib/CheckboxVisualModelExport.js +65 -0
- package/esm5/lib/CheckboxVisualModelExport.js.map +1 -0
- package/esm5/lib/DateFormats.js +26 -0
- package/esm5/lib/DateFormats.js.map +1 -0
- package/esm5/lib/DatePicker.js +8 -0
- package/esm5/lib/DatePicker.js.map +1 -0
- package/esm5/lib/DatePickerView.js +8 -0
- package/esm5/lib/DatePickerView.js.map +1 -0
- package/esm5/lib/DatePickerView_combined.js +1539 -0
- package/esm5/lib/DatePickerView_combined.js.map +1 -0
- package/esm5/lib/DatePickerVisualModelExport.js +73 -0
- package/esm5/lib/DatePickerVisualModelExport.js.map +1 -0
- package/esm5/lib/DateTimeValueFormatter.js +111 -0
- package/esm5/lib/DateTimeValueFormatter.js.map +1 -0
- package/esm5/lib/DayInfo.js +26 -0
- package/esm5/lib/DayInfo.js.map +1 -0
- package/esm5/lib/DayOfWeek.js +46 -0
- package/esm5/lib/DayOfWeek.js.map +1 -0
- package/esm5/lib/ElevationHelper.js +72 -0
- package/esm5/lib/ElevationHelper.js.map +1 -0
- package/esm5/lib/FirstWeek.js +30 -0
- package/esm5/lib/FirstWeek.js.map +1 -0
- package/esm5/lib/GotFocusEventArgs.js +21 -0
- package/esm5/lib/GotFocusEventArgs.js.map +1 -0
- package/esm5/lib/Icon.js +8 -0
- package/esm5/lib/Icon.js.map +1 -0
- package/esm5/lib/IconView.js +8 -0
- package/esm5/lib/IconView.js.map +1 -0
- package/esm5/lib/IconView_combined.js +706 -0
- package/esm5/lib/IconView_combined.js.map +1 -0
- package/esm5/lib/IconVisualModelExport.js +74 -0
- package/esm5/lib/IconVisualModelExport.js.map +1 -0
- package/esm5/lib/Input.js +8 -0
- package/esm5/lib/Input.js.map +1 -0
- package/esm5/lib/InputChangeEventArgs.js +44 -0
- package/esm5/lib/InputChangeEventArgs.js.map +1 -0
- package/esm5/lib/InputGroup.js +8 -0
- package/esm5/lib/InputGroup.js.map +1 -0
- package/esm5/lib/InputGroupDisplayType.js +19 -0
- package/esm5/lib/InputGroupDisplayType.js.map +1 -0
- package/esm5/lib/InputGroupInputCollection.js +8 -0
- package/esm5/lib/InputGroupInputCollection.js.map +1 -0
- package/esm5/lib/InputGroupItem.js +8 -0
- package/esm5/lib/InputGroupItem.js.map +1 -0
- package/esm5/lib/InputGroupView.js +8 -0
- package/esm5/lib/InputGroupView.js.map +1 -0
- package/esm5/lib/InputGroupView_combined.js +6273 -0
- package/esm5/lib/InputGroupView_combined.js.map +1 -0
- package/esm5/lib/InputGroupVisualModelExport.js +112 -0
- package/esm5/lib/InputGroupVisualModelExport.js.map +1 -0
- package/esm5/lib/InputShiftType.js +18 -0
- package/esm5/lib/InputShiftType.js.map +1 -0
- package/esm5/lib/InputView.js +8 -0
- package/esm5/lib/InputView.js.map +1 -0
- package/esm5/lib/InputVisualModelExport.js +81 -0
- package/esm5/lib/InputVisualModelExport.js.map +1 -0
- package/esm5/lib/KEYCODES.js +12 -0
- package/esm5/lib/KEYCODES.js.map +1 -0
- package/esm5/lib/Label.js +8 -0
- package/esm5/lib/Label.js.map +1 -0
- package/esm5/lib/LabelShiftType.js +18 -0
- package/esm5/lib/LabelShiftType.js.map +1 -0
- package/esm5/lib/LabelView.js +8 -0
- package/esm5/lib/LabelView.js.map +1 -0
- package/esm5/lib/LabelVisualModelExport.js +87 -0
- package/esm5/lib/LabelVisualModelExport.js.map +1 -0
- package/esm5/lib/LostFocusEventArgs.js +21 -0
- package/esm5/lib/LostFocusEventArgs.js.map +1 -0
- package/esm5/lib/MaskOptions.js +24 -0
- package/esm5/lib/MaskOptions.js.map +1 -0
- package/esm5/lib/MaskParsingService.js +268 -0
- package/esm5/lib/MaskParsingService.js.map +1 -0
- package/esm5/lib/Prefix.js +8 -0
- package/esm5/lib/Prefix.js.map +1 -0
- package/esm5/lib/PrefixShiftType.js +18 -0
- package/esm5/lib/PrefixShiftType.js.map +1 -0
- package/esm5/lib/PrefixView.js +8 -0
- package/esm5/lib/PrefixView.js.map +1 -0
- package/esm5/lib/PrefixVisualModelExport.js +38 -0
- package/esm5/lib/PrefixVisualModelExport.js.map +1 -0
- package/esm5/lib/Replaced.js +24 -0
- package/esm5/lib/Replaced.js.map +1 -0
- package/esm5/lib/Ripple.js +8 -0
- package/esm5/lib/Ripple.js.map +1 -0
- package/esm5/lib/RippleView.js +8 -0
- package/esm5/lib/RippleView.js.map +1 -0
- package/esm5/lib/RippleView_combined.js +492 -0
- package/esm5/lib/RippleView_combined.js.map +1 -0
- package/esm5/lib/RippleVisualModelExport.js +41 -0
- package/esm5/lib/RippleVisualModelExport.js.map +1 -0
- package/esm5/lib/Suffix.js +8 -0
- package/esm5/lib/Suffix.js.map +1 -0
- package/esm5/lib/SuffixShiftType.js +18 -0
- package/esm5/lib/SuffixShiftType.js.map +1 -0
- package/esm5/lib/SuffixView.js +8 -0
- package/esm5/lib/SuffixView.js.map +1 -0
- package/esm5/lib/SuffixVisualModelExport.js +37 -0
- package/esm5/lib/SuffixVisualModelExport.js.map +1 -0
- package/esm5/lib/TextElementsVisualModelExport.js +47 -0
- package/esm5/lib/TextElementsVisualModelExport.js.map +1 -0
- package/esm5/lib/ThemeResolver.js +57 -0
- package/esm5/lib/ThemeResolver.js.map +1 -0
- package/esm5/lib/ValueChangedEventArgs.js +44 -0
- package/esm5/lib/ValueChangedEventArgs.js.map +1 -0
- package/esm5/lib/igc-button-click-event-args.js +31 -0
- package/esm5/lib/igc-button-click-event-args.js.map +1 -0
- package/esm5/lib/igc-button-component.js +2722 -0
- package/esm5/lib/igc-button-component.js.map +1 -0
- package/esm5/lib/igc-button-group-button-collection.js +54 -0
- package/esm5/lib/igc-button-group-button-collection.js.map +1 -0
- package/esm5/lib/igc-button-group-component.js +1318 -0
- package/esm5/lib/igc-button-group-component.js.map +1 -0
- package/esm5/lib/igc-button-group-module.js +26 -0
- package/esm5/lib/igc-button-group-module.js.map +1 -0
- package/esm5/lib/igc-button-group-selection-changed-event-args.js +31 -0
- package/esm5/lib/igc-button-group-selection-changed-event-args.js.map +1 -0
- package/esm5/lib/igc-button-module.js +26 -0
- package/esm5/lib/igc-button-module.js.map +1 -0
- package/esm5/lib/igc-calendar-component.js +595 -0
- package/esm5/lib/igc-calendar-component.js.map +1 -0
- package/esm5/lib/igc-calendar-locale-en-module.js +18 -0
- package/esm5/lib/igc-calendar-locale-en-module.js.map +1 -0
- package/esm5/lib/igc-calendar-module.js +26 -0
- package/esm5/lib/igc-calendar-module.js.map +1 -0
- package/esm5/lib/igc-checkbox-change-event-args.js +52 -0
- package/esm5/lib/igc-checkbox-change-event-args.js.map +1 -0
- package/esm5/lib/igc-checkbox-component.js +788 -0
- package/esm5/lib/igc-checkbox-component.js.map +1 -0
- package/esm5/lib/igc-checkbox-module.js +26 -0
- package/esm5/lib/igc-checkbox-module.js.map +1 -0
- package/esm5/lib/igc-date-picker-component.js +739 -0
- package/esm5/lib/igc-date-picker-component.js.map +1 -0
- package/esm5/lib/igc-date-picker-module.js +30 -0
- package/esm5/lib/igc-date-picker-module.js.map +1 -0
- package/esm5/lib/igc-got-focus-event-args.js +31 -0
- package/esm5/lib/igc-got-focus-event-args.js.map +1 -0
- package/esm5/lib/igc-icon-component.js +609 -0
- package/esm5/lib/igc-icon-component.js.map +1 -0
- package/esm5/lib/igc-icon-module.js +24 -0
- package/esm5/lib/igc-icon-module.js.map +1 -0
- package/esm5/lib/igc-input-change-event-args.js +52 -0
- package/esm5/lib/igc-input-change-event-args.js.map +1 -0
- package/esm5/lib/igc-input-component.js +676 -0
- package/esm5/lib/igc-input-component.js.map +1 -0
- package/esm5/lib/igc-input-group-component.js +2646 -0
- package/esm5/lib/igc-input-group-component.js.map +1 -0
- package/esm5/lib/igc-input-group-input-collection.js +54 -0
- package/esm5/lib/igc-input-group-input-collection.js.map +1 -0
- package/esm5/lib/igc-input-group-item-component.js +194 -0
- package/esm5/lib/igc-input-group-item-component.js.map +1 -0
- package/esm5/lib/igc-input-group-module.js +28 -0
- package/esm5/lib/igc-input-group-module.js.map +1 -0
- package/esm5/lib/igc-input-module.js +24 -0
- package/esm5/lib/igc-input-module.js.map +1 -0
- package/esm5/lib/igc-label-component.js +523 -0
- package/esm5/lib/igc-label-component.js.map +1 -0
- package/esm5/lib/igc-label-module.js +24 -0
- package/esm5/lib/igc-label-module.js.map +1 -0
- package/esm5/lib/igc-lost-focus-event-args.js +31 -0
- package/esm5/lib/igc-lost-focus-event-args.js.map +1 -0
- package/esm5/lib/igc-prefix-component.js +229 -0
- package/esm5/lib/igc-prefix-component.js.map +1 -0
- package/esm5/lib/igc-prefix-module.js +24 -0
- package/esm5/lib/igc-prefix-module.js.map +1 -0
- package/esm5/lib/igc-ripple-component.js +450 -0
- package/esm5/lib/igc-ripple-component.js.map +1 -0
- package/esm5/lib/igc-ripple-module.js +22 -0
- package/esm5/lib/igc-ripple-module.js.map +1 -0
- package/esm5/lib/igc-suffix-component.js +229 -0
- package/esm5/lib/igc-suffix-component.js.map +1 -0
- package/esm5/lib/igc-value-changed-event-args.js +51 -0
- package/esm5/lib/igc-value-changed-event-args.js.map +1 -0
- package/esm5/public_api.js +103 -0
- package/esm5/public_api.js.map +1 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +26824 -0
- package/fesm2015/igniteui-webcomponents-inputs.js.map +1 -0
- package/fesm5/igniteui-webcomponents-inputs.js +32419 -0
- package/fesm5/igniteui-webcomponents-inputs.js.map +1 -0
- package/igniteui-webcomponents-inputs.d.ts +1 -0
- package/lib/Button.d.ts +1 -0
- package/lib/ButtonClickEventArgs.d.ts +7 -0
- package/lib/ButtonDisplayStyle.d.ts +15 -0
- package/lib/ButtonGroup.d.ts +1 -0
- package/lib/ButtonGroupButtonCollection.d.ts +12 -0
- package/lib/ButtonGroupDisplayStyle.d.ts +12 -0
- package/lib/ButtonGroupOrientation.d.ts +9 -0
- package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +7 -0
- package/lib/ButtonGroupView.d.ts +1 -0
- package/lib/ButtonGroupView_combined.d.ts +306 -0
- package/lib/ButtonGroupVisualModelExport.d.ts +24 -0
- package/lib/ButtonView.d.ts +1 -0
- package/lib/ButtonView_combined.d.ts +667 -0
- package/lib/ButtonVisualModelExport.d.ts +46 -0
- package/lib/Calendar.d.ts +1 -0
- package/lib/CalendarLocaleEn.d.ts +49 -0
- package/lib/CalendarView.d.ts +1 -0
- package/lib/CalendarView_combined.d.ts +206 -0
- package/lib/CalendarVisualModelExport.d.ts +33 -0
- package/lib/Checkbox.d.ts +1 -0
- package/lib/CheckboxChangeEventArgs.d.ts +11 -0
- package/lib/CheckboxLabelPosition.d.ts +12 -0
- package/lib/CheckboxView.d.ts +1 -0
- package/lib/CheckboxView_combined.d.ts +181 -0
- package/lib/CheckboxVisualModelExport.d.ts +28 -0
- package/lib/DateFormats.d.ts +18 -0
- package/lib/DatePicker.d.ts +1 -0
- package/lib/DatePickerView.d.ts +1 -0
- package/lib/DatePickerView_combined.d.ts +191 -0
- package/lib/DatePickerVisualModelExport.d.ts +24 -0
- package/lib/DateTimeValueFormatter.d.ts +20 -0
- package/lib/DayInfo.d.ts +13 -0
- package/lib/DayOfWeek.d.ts +38 -0
- package/lib/ElevationHelper.d.ts +16 -0
- package/lib/FirstWeek.d.ts +22 -0
- package/lib/GotFocusEventArgs.d.ts +7 -0
- package/lib/Icon.d.ts +1 -0
- package/lib/IconView.d.ts +1 -0
- package/lib/IconView_combined.d.ts +117 -0
- package/lib/IconVisualModelExport.d.ts +21 -0
- package/lib/Input.d.ts +1 -0
- package/lib/InputChangeEventArgs.d.ts +11 -0
- package/lib/InputGroup.d.ts +1 -0
- package/lib/InputGroupDisplayType.d.ts +11 -0
- package/lib/InputGroupInputCollection.d.ts +1 -0
- package/lib/InputGroupItem.d.ts +1 -0
- package/lib/InputGroupView.d.ts +1 -0
- package/lib/InputGroupView_combined.d.ts +1192 -0
- package/lib/InputGroupVisualModelExport.d.ts +44 -0
- package/lib/InputShiftType.d.ts +10 -0
- package/lib/InputView.d.ts +1 -0
- package/lib/InputVisualModelExport.d.ts +30 -0
- package/lib/KEYCODES.d.ts +26 -0
- package/lib/Label.d.ts +1 -0
- package/lib/LabelShiftType.d.ts +10 -0
- package/lib/LabelView.d.ts +1 -0
- package/lib/LabelVisualModelExport.d.ts +34 -0
- package/lib/LostFocusEventArgs.d.ts +7 -0
- package/lib/MaskOptions.d.ts +9 -0
- package/lib/MaskParsingService.d.ts +19 -0
- package/lib/Prefix.d.ts +1 -0
- package/lib/PrefixShiftType.d.ts +10 -0
- package/lib/PrefixView.d.ts +1 -0
- package/lib/PrefixVisualModelExport.d.ts +13 -0
- package/lib/Replaced.d.ts +9 -0
- package/lib/Ripple.d.ts +1 -0
- package/lib/RippleView.d.ts +1 -0
- package/lib/RippleView_combined.d.ts +89 -0
- package/lib/RippleVisualModelExport.d.ts +15 -0
- package/lib/Suffix.d.ts +1 -0
- package/lib/SuffixShiftType.d.ts +10 -0
- package/lib/SuffixView.d.ts +1 -0
- package/lib/SuffixVisualModelExport.d.ts +13 -0
- package/lib/TextElementsVisualModelExport.d.ts +16 -0
- package/lib/ThemeResolver.d.ts +18 -0
- package/lib/ValueChangedEventArgs.d.ts +11 -0
- package/lib/igc-button-click-event-args.d.ts +12 -0
- package/lib/igc-button-component.d.ts +671 -0
- package/lib/igc-button-group-button-collection.d.ts +8 -0
- package/lib/igc-button-group-component.d.ts +344 -0
- package/lib/igc-button-group-module.d.ts +3 -0
- package/lib/igc-button-group-selection-changed-event-args.d.ts +12 -0
- package/lib/igc-button-module.d.ts +3 -0
- package/lib/igc-calendar-component.d.ts +152 -0
- package/lib/igc-calendar-locale-en-module.d.ts +3 -0
- package/lib/igc-calendar-module.d.ts +3 -0
- package/lib/igc-checkbox-change-event-args.d.ts +14 -0
- package/lib/igc-checkbox-component.d.ts +198 -0
- package/lib/igc-checkbox-module.d.ts +3 -0
- package/lib/igc-date-picker-component.d.ts +174 -0
- package/lib/igc-date-picker-module.d.ts +3 -0
- package/lib/igc-got-focus-event-args.d.ts +12 -0
- package/lib/igc-icon-component.d.ts +148 -0
- package/lib/igc-icon-module.d.ts +3 -0
- package/lib/igc-input-change-event-args.d.ts +14 -0
- package/lib/igc-input-component.d.ts +145 -0
- package/lib/igc-input-group-component.d.ts +588 -0
- package/lib/igc-input-group-input-collection.d.ts +8 -0
- package/lib/igc-input-group-item-component.d.ts +39 -0
- package/lib/igc-input-group-module.d.ts +3 -0
- package/lib/igc-input-module.d.ts +3 -0
- package/lib/igc-label-component.d.ts +141 -0
- package/lib/igc-label-module.d.ts +3 -0
- package/lib/igc-lost-focus-event-args.d.ts +12 -0
- package/lib/igc-prefix-component.d.ts +55 -0
- package/lib/igc-prefix-module.d.ts +3 -0
- package/lib/igc-ripple-component.d.ts +104 -0
- package/lib/igc-ripple-module.d.ts +3 -0
- package/lib/igc-suffix-component.d.ts +55 -0
- package/lib/igc-value-changed-event-args.d.ts +14 -0
- package/package.json +35 -0
- package/public_api.d.ts +102 -0
|
@@ -0,0 +1,788 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { Checkbox } from "./Checkbox";
|
|
3
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
|
|
4
|
+
import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
|
|
5
|
+
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
6
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
7
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
8
|
+
import { IgcCheckboxChangeEventArgs } from './igc-checkbox-change-event-args';
|
|
9
|
+
import { CheckboxLabelPosition_$type } from './CheckboxLabelPosition';
|
|
10
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
11
|
+
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
12
|
+
var pending = [];
|
|
13
|
+
var checked = /*@__PURE__*/ new WeakMap(); // TODO why not WeakSet?
|
|
14
|
+
var IgcCheckboxComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
15
|
+
tslib_1.__extends(IgcCheckboxComponent, _super);
|
|
16
|
+
function IgcCheckboxComponent() {
|
|
17
|
+
var _this = _super.call(this) || this;
|
|
18
|
+
_this._disconnected = false;
|
|
19
|
+
_this._settingAttributes = false;
|
|
20
|
+
_this._attached = false;
|
|
21
|
+
_this._queuedSetAttributes = [];
|
|
22
|
+
_this._updatingFromAttribute = false;
|
|
23
|
+
_this.__p = null;
|
|
24
|
+
_this._hasUserValues = new Set();
|
|
25
|
+
_this._stylingContainer = null;
|
|
26
|
+
_this._stylingParent = null;
|
|
27
|
+
_this._inStyling = false;
|
|
28
|
+
_this._change = null;
|
|
29
|
+
_this._change_wrapped = null;
|
|
30
|
+
if (_this._styling) {
|
|
31
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
|
|
32
|
+
}
|
|
33
|
+
_this._portalManager = new PortalManager("checkboxLabel");
|
|
34
|
+
_this._renderer = new WebComponentRenderer(_this, document, true, {}, _this._portalManager);
|
|
35
|
+
_this._container = _this._renderer.createElement("div");
|
|
36
|
+
_this._renderer.updateRoot(_this._container);
|
|
37
|
+
_this._implementation = _this.createImplementation();
|
|
38
|
+
_this._implementation.externalObject = _this;
|
|
39
|
+
//this._container.setStyleProperty("width", "100%");
|
|
40
|
+
//this._container.setStyleProperty("height", "100%");
|
|
41
|
+
var root;
|
|
42
|
+
root = _this._container;
|
|
43
|
+
if (_this._container.getNativeElement() != null) {
|
|
44
|
+
root = _this._container.getNativeElement();
|
|
45
|
+
}
|
|
46
|
+
_this._wrapper = _this._renderer;
|
|
47
|
+
var checkbox = _this.i;
|
|
48
|
+
_this._checkbox = checkbox;
|
|
49
|
+
checkbox.provideContainer(_this._renderer);
|
|
50
|
+
_this._onChildrenChanged();
|
|
51
|
+
//Checkbox.notifySizeChanged();
|
|
52
|
+
var mut = new MutationObserver(function (list) {
|
|
53
|
+
var e_1, _b;
|
|
54
|
+
try {
|
|
55
|
+
for (var list_1 = tslib_1.__values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
|
|
56
|
+
var mutation = list_1_1.value;
|
|
57
|
+
if (mutation.type == 'childList') {
|
|
58
|
+
_this._onChildrenChanged();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (e_1_1) {
|
|
63
|
+
e_1 = { error: e_1_1 };
|
|
64
|
+
}
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (list_1_1 && !list_1_1.done && (_b = list_1.return))
|
|
68
|
+
_b.call(list_1);
|
|
69
|
+
}
|
|
70
|
+
finally {
|
|
71
|
+
if (e_1)
|
|
72
|
+
throw e_1.error;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
mut.observe(_this, {
|
|
77
|
+
childList: true
|
|
78
|
+
});
|
|
79
|
+
return _this;
|
|
80
|
+
//this._renderer.addSizeWatcher(() => {
|
|
81
|
+
// this._checkbox.notifySizeChanged();
|
|
82
|
+
//});
|
|
83
|
+
}
|
|
84
|
+
IgcCheckboxComponent.prototype._onChildrenChanged = function () {
|
|
85
|
+
var children = [];
|
|
86
|
+
for (var i = 0; i < this.childNodes.length; i++) {
|
|
87
|
+
var child = this.childNodes[i];
|
|
88
|
+
if (child !== this._container.getNativeElement()) {
|
|
89
|
+
children.push(child);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
this._portalManager.onChildrenChanged(children);
|
|
93
|
+
};
|
|
94
|
+
// supports angular themes or custom properties set in CSS
|
|
95
|
+
IgcCheckboxComponent.prototype.updateStyle = function () {
|
|
96
|
+
this._styling(this, this);
|
|
97
|
+
};
|
|
98
|
+
IgcCheckboxComponent.prototype.destroy = function () {
|
|
99
|
+
this._checkbox.destroy();
|
|
100
|
+
this._wrapper.destroy();
|
|
101
|
+
};
|
|
102
|
+
IgcCheckboxComponent.prototype.createImplementation = function () {
|
|
103
|
+
return new Checkbox();
|
|
104
|
+
};
|
|
105
|
+
IgcCheckboxComponent.prototype.disconnectedCallback = function () {
|
|
106
|
+
this._disconnected = true;
|
|
107
|
+
if (this.i) {
|
|
108
|
+
this.i.onDetachedFromUI();
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
IgcCheckboxComponent.prototype.connectedCallback = function () {
|
|
112
|
+
if (this._disconnected) {
|
|
113
|
+
this._disconnected = false;
|
|
114
|
+
if (this.i) {
|
|
115
|
+
this.i.onAttachedToUI();
|
|
116
|
+
}
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
this.classList.add("ig-checkbox");
|
|
120
|
+
this.classList.add("igc-checkbox");
|
|
121
|
+
this.appendChild(this._container.getNativeElement());
|
|
122
|
+
this._attached = true;
|
|
123
|
+
this.style.display = "inline-block";
|
|
124
|
+
//this.style.height = this._height;
|
|
125
|
+
//this.style.width = this._width;
|
|
126
|
+
this._flushQueuedAttributes();
|
|
127
|
+
// supports themes or custom properties set in CSS
|
|
128
|
+
this._styling(this, this);
|
|
129
|
+
this.afterContentInit();
|
|
130
|
+
};
|
|
131
|
+
IgcCheckboxComponent.prototype.afterContentInit = function () {
|
|
132
|
+
this.i.onContentReady();
|
|
133
|
+
//this.i.notifySizeChanged();
|
|
134
|
+
};
|
|
135
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "i", {
|
|
136
|
+
/**
|
|
137
|
+
* @hidden
|
|
138
|
+
*/
|
|
139
|
+
get: function () {
|
|
140
|
+
return this._implementation;
|
|
141
|
+
} /**
|
|
142
|
+
* @hidden
|
|
143
|
+
*/,
|
|
144
|
+
enumerable: true,
|
|
145
|
+
configurable: true
|
|
146
|
+
});
|
|
147
|
+
IgcCheckboxComponent._createFromInternal = function (internal) {
|
|
148
|
+
if (!internal) {
|
|
149
|
+
return null;
|
|
150
|
+
}
|
|
151
|
+
if (!internal.$type) {
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
154
|
+
var name = internal.$type.name;
|
|
155
|
+
var externalName = "Igc" + name + "Component";
|
|
156
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
157
|
+
return null;
|
|
158
|
+
}
|
|
159
|
+
return TypeRegistrar.create(externalName);
|
|
160
|
+
};
|
|
161
|
+
IgcCheckboxComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
162
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
163
|
+
};
|
|
164
|
+
IgcCheckboxComponent.prototype._flushQueuedAttributes = function () {
|
|
165
|
+
this._settingAttributes = true;
|
|
166
|
+
for (var i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
167
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
168
|
+
}
|
|
169
|
+
this._settingAttributes = false;
|
|
170
|
+
this._queuedSetAttributes.length = 0;
|
|
171
|
+
};
|
|
172
|
+
IgcCheckboxComponent.prototype._a = function (attrName, attrValue) {
|
|
173
|
+
if (this._updatingFromAttribute) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
if (attrValue) {
|
|
177
|
+
attrValue = attrValue.toString();
|
|
178
|
+
}
|
|
179
|
+
this._settingAttributes = true;
|
|
180
|
+
attrName = toSpinal(attrName);
|
|
181
|
+
if (this._attached) {
|
|
182
|
+
this.setAttribute(attrName, attrValue);
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
186
|
+
}
|
|
187
|
+
this._settingAttributes = false;
|
|
188
|
+
};
|
|
189
|
+
Object.defineProperty(IgcCheckboxComponent, "observedAttributes", {
|
|
190
|
+
get: function () {
|
|
191
|
+
if (IgcCheckboxComponent._observedAttributesIgcCheckboxComponent == null) {
|
|
192
|
+
var names = getAllPropertyNames(IgcCheckboxComponent);
|
|
193
|
+
for (var i = 0; i < names.length; i++) {
|
|
194
|
+
names[i] = toSpinal(names[i]);
|
|
195
|
+
}
|
|
196
|
+
IgcCheckboxComponent._observedAttributesIgcCheckboxComponent = names;
|
|
197
|
+
}
|
|
198
|
+
return IgcCheckboxComponent._observedAttributesIgcCheckboxComponent;
|
|
199
|
+
},
|
|
200
|
+
enumerable: true,
|
|
201
|
+
configurable: true
|
|
202
|
+
});
|
|
203
|
+
IgcCheckboxComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
|
|
204
|
+
if (this._settingAttributes) {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
var setName = fromSpinal(name);
|
|
208
|
+
this._updatingFromAttribute = true;
|
|
209
|
+
this[setName] = newValue;
|
|
210
|
+
this._updatingFromAttribute = false;
|
|
211
|
+
};
|
|
212
|
+
IgcCheckboxComponent.register = function () {
|
|
213
|
+
if (!IgcCheckboxComponent._isElementRegistered) {
|
|
214
|
+
IgcCheckboxComponent._isElementRegistered = true;
|
|
215
|
+
RegisterElementHelper.registerElement(IgcCheckboxComponent.htmlTagName, IgcCheckboxComponent);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "baseTheme", {
|
|
219
|
+
/**
|
|
220
|
+
* Gets or sets the base built in theme to use for the checkbox.
|
|
221
|
+
*/
|
|
222
|
+
get: function () {
|
|
223
|
+
return this.i.d;
|
|
224
|
+
},
|
|
225
|
+
set: function (v) {
|
|
226
|
+
this.i.d = ensureEnum(BaseControlTheme_$type, v);
|
|
227
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.d));
|
|
228
|
+
},
|
|
229
|
+
enumerable: true,
|
|
230
|
+
configurable: true
|
|
231
|
+
});
|
|
232
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "uncheckedBackgroundColor", {
|
|
233
|
+
/**
|
|
234
|
+
* Gets or sets the color to use for the background when the checkbox is unchecked.
|
|
235
|
+
*/
|
|
236
|
+
get: function () {
|
|
237
|
+
return brushToString(this.i.dt);
|
|
238
|
+
},
|
|
239
|
+
set: function (v) {
|
|
240
|
+
this.i.dt = stringToBrush(v);
|
|
241
|
+
this._a("uncheckedBackgroundColor", brushToString(this.i.dt));
|
|
242
|
+
},
|
|
243
|
+
enumerable: true,
|
|
244
|
+
configurable: true
|
|
245
|
+
});
|
|
246
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualUncheckedBackgroundColor", {
|
|
247
|
+
/**
|
|
248
|
+
* Gets or sets the color to use for the actual background when the checkbox is unchecked.
|
|
249
|
+
*/
|
|
250
|
+
get: function () {
|
|
251
|
+
return brushToString(this.i.c8);
|
|
252
|
+
},
|
|
253
|
+
set: function (v) {
|
|
254
|
+
this.i.c8 = stringToBrush(v);
|
|
255
|
+
this._a("actualUncheckedBackgroundColor", brushToString(this.i.c8));
|
|
256
|
+
},
|
|
257
|
+
enumerable: true,
|
|
258
|
+
configurable: true
|
|
259
|
+
});
|
|
260
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "checkedBackgroundColor", {
|
|
261
|
+
/**
|
|
262
|
+
* Gets or sets the color to use for the background when the checkbox is checked.
|
|
263
|
+
*/
|
|
264
|
+
get: function () {
|
|
265
|
+
return brushToString(this.i.da);
|
|
266
|
+
},
|
|
267
|
+
set: function (v) {
|
|
268
|
+
this.i.da = stringToBrush(v);
|
|
269
|
+
this._a("checkedBackgroundColor", brushToString(this.i.da));
|
|
270
|
+
},
|
|
271
|
+
enumerable: true,
|
|
272
|
+
configurable: true
|
|
273
|
+
});
|
|
274
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "tickColor", {
|
|
275
|
+
/**
|
|
276
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
277
|
+
*/
|
|
278
|
+
get: function () {
|
|
279
|
+
return brushToString(this.i.ds);
|
|
280
|
+
},
|
|
281
|
+
set: function (v) {
|
|
282
|
+
this.i.ds = stringToBrush(v);
|
|
283
|
+
this._a("tickColor", brushToString(this.i.ds));
|
|
284
|
+
},
|
|
285
|
+
enumerable: true,
|
|
286
|
+
configurable: true
|
|
287
|
+
});
|
|
288
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualTickColor", {
|
|
289
|
+
/**
|
|
290
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
291
|
+
*/
|
|
292
|
+
get: function () {
|
|
293
|
+
return brushToString(this.i.c7);
|
|
294
|
+
},
|
|
295
|
+
set: function (v) {
|
|
296
|
+
this.i.c7 = stringToBrush(v);
|
|
297
|
+
this._a("actualTickColor", brushToString(this.i.c7));
|
|
298
|
+
},
|
|
299
|
+
enumerable: true,
|
|
300
|
+
configurable: true
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "uncheckedBorderColor", {
|
|
303
|
+
/**
|
|
304
|
+
* Gets or sets the color to use for the check mark when the checkbox is unchecked.
|
|
305
|
+
*/
|
|
306
|
+
get: function () {
|
|
307
|
+
return brushToString(this.i.du);
|
|
308
|
+
},
|
|
309
|
+
set: function (v) {
|
|
310
|
+
this.i.du = stringToBrush(v);
|
|
311
|
+
this._a("uncheckedBorderColor", brushToString(this.i.du));
|
|
312
|
+
},
|
|
313
|
+
enumerable: true,
|
|
314
|
+
configurable: true
|
|
315
|
+
});
|
|
316
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "checkedBorderColor", {
|
|
317
|
+
/**
|
|
318
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
319
|
+
*/
|
|
320
|
+
get: function () {
|
|
321
|
+
return brushToString(this.i.db);
|
|
322
|
+
},
|
|
323
|
+
set: function (v) {
|
|
324
|
+
this.i.db = stringToBrush(v);
|
|
325
|
+
this._a("checkedBorderColor", brushToString(this.i.db));
|
|
326
|
+
},
|
|
327
|
+
enumerable: true,
|
|
328
|
+
configurable: true
|
|
329
|
+
});
|
|
330
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualUncheckedBorderColor", {
|
|
331
|
+
/**
|
|
332
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
333
|
+
*/
|
|
334
|
+
get: function () {
|
|
335
|
+
return brushToString(this.i.c9);
|
|
336
|
+
},
|
|
337
|
+
set: function (v) {
|
|
338
|
+
this.i.c9 = stringToBrush(v);
|
|
339
|
+
this._a("actualUncheckedBorderColor", brushToString(this.i.c9));
|
|
340
|
+
},
|
|
341
|
+
enumerable: true,
|
|
342
|
+
configurable: true
|
|
343
|
+
});
|
|
344
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualCheckedBorderColor", {
|
|
345
|
+
/**
|
|
346
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
347
|
+
*/
|
|
348
|
+
get: function () {
|
|
349
|
+
return brushToString(this.i.c6);
|
|
350
|
+
},
|
|
351
|
+
set: function (v) {
|
|
352
|
+
this.i.c6 = stringToBrush(v);
|
|
353
|
+
this._a("actualCheckedBorderColor", brushToString(this.i.c6));
|
|
354
|
+
},
|
|
355
|
+
enumerable: true,
|
|
356
|
+
configurable: true
|
|
357
|
+
});
|
|
358
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "borderWidth", {
|
|
359
|
+
/**
|
|
360
|
+
* Gets or sets the Width to use for the check mark when the checkbox is checked.
|
|
361
|
+
*/
|
|
362
|
+
get: function () {
|
|
363
|
+
return this.i.al;
|
|
364
|
+
},
|
|
365
|
+
set: function (v) {
|
|
366
|
+
this.i.al = +v;
|
|
367
|
+
this._a("borderWidth", this.i.al);
|
|
368
|
+
},
|
|
369
|
+
enumerable: true,
|
|
370
|
+
configurable: true
|
|
371
|
+
});
|
|
372
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualBorderWidth", {
|
|
373
|
+
/**
|
|
374
|
+
* Gets or sets the Width to use for the check mark when the checkbox is checked.
|
|
375
|
+
*/
|
|
376
|
+
get: function () {
|
|
377
|
+
return this.i.ai;
|
|
378
|
+
},
|
|
379
|
+
set: function (v) {
|
|
380
|
+
this.i.ai = +v;
|
|
381
|
+
this._a("actualBorderWidth", this.i.ai);
|
|
382
|
+
},
|
|
383
|
+
enumerable: true,
|
|
384
|
+
configurable: true
|
|
385
|
+
});
|
|
386
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "cornerRadius", {
|
|
387
|
+
/**
|
|
388
|
+
* Gets or sets the corner radius to use for the checkbox.
|
|
389
|
+
*/
|
|
390
|
+
get: function () {
|
|
391
|
+
return this.i.am;
|
|
392
|
+
},
|
|
393
|
+
set: function (v) {
|
|
394
|
+
this.i.am = +v;
|
|
395
|
+
this._a("cornerRadius", this.i.am);
|
|
396
|
+
},
|
|
397
|
+
enumerable: true,
|
|
398
|
+
configurable: true
|
|
399
|
+
});
|
|
400
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "tickStrokeWidth", {
|
|
401
|
+
/**
|
|
402
|
+
* Gets or sets the corner radius to use for the checkbox.
|
|
403
|
+
*/
|
|
404
|
+
get: function () {
|
|
405
|
+
return this.i.aw;
|
|
406
|
+
},
|
|
407
|
+
set: function (v) {
|
|
408
|
+
this.i.aw = +v;
|
|
409
|
+
this._a("tickStrokeWidth", this.i.aw);
|
|
410
|
+
},
|
|
411
|
+
enumerable: true,
|
|
412
|
+
configurable: true
|
|
413
|
+
});
|
|
414
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualTickStrokeWidth", {
|
|
415
|
+
/**
|
|
416
|
+
* Gets or sets the stroke width to use for the check mark.
|
|
417
|
+
*/
|
|
418
|
+
get: function () {
|
|
419
|
+
return this.i.ak;
|
|
420
|
+
},
|
|
421
|
+
set: function (v) {
|
|
422
|
+
this.i.ak = +v;
|
|
423
|
+
this._a("actualTickStrokeWidth", this.i.ak);
|
|
424
|
+
},
|
|
425
|
+
enumerable: true,
|
|
426
|
+
configurable: true
|
|
427
|
+
});
|
|
428
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualCornerRadius", {
|
|
429
|
+
/**
|
|
430
|
+
* Gets the actual corner radius to use for the checkbox.
|
|
431
|
+
*/
|
|
432
|
+
get: function () {
|
|
433
|
+
return this.i.aj;
|
|
434
|
+
},
|
|
435
|
+
set: function (v) {
|
|
436
|
+
this.i.aj = +v;
|
|
437
|
+
this._a("actualCornerRadius", this.i.aj);
|
|
438
|
+
},
|
|
439
|
+
enumerable: true,
|
|
440
|
+
configurable: true
|
|
441
|
+
});
|
|
442
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "actualCheckedBackgroundColor", {
|
|
443
|
+
/**
|
|
444
|
+
* Gets or sets the color to use for the actual background when the checkbox is checked.
|
|
445
|
+
*/
|
|
446
|
+
get: function () {
|
|
447
|
+
return brushToString(this.i.c5);
|
|
448
|
+
},
|
|
449
|
+
set: function (v) {
|
|
450
|
+
this.i.c5 = stringToBrush(v);
|
|
451
|
+
this._a("actualCheckedBackgroundColor", brushToString(this.i.c5));
|
|
452
|
+
},
|
|
453
|
+
enumerable: true,
|
|
454
|
+
configurable: true
|
|
455
|
+
});
|
|
456
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "inputId", {
|
|
457
|
+
/**
|
|
458
|
+
* Gets or sets the id to use for the internal native checkbox.
|
|
459
|
+
*/
|
|
460
|
+
get: function () {
|
|
461
|
+
return this.i.by;
|
|
462
|
+
},
|
|
463
|
+
set: function (v) {
|
|
464
|
+
this.i.by = v;
|
|
465
|
+
},
|
|
466
|
+
enumerable: true,
|
|
467
|
+
configurable: true
|
|
468
|
+
});
|
|
469
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "id", {
|
|
470
|
+
/**
|
|
471
|
+
* Gets or sets the id to use for the checkbox.
|
|
472
|
+
*/
|
|
473
|
+
get: function () {
|
|
474
|
+
return this.i.bw;
|
|
475
|
+
},
|
|
476
|
+
set: function (v) {
|
|
477
|
+
this.i.bw = v;
|
|
478
|
+
},
|
|
479
|
+
enumerable: true,
|
|
480
|
+
configurable: true
|
|
481
|
+
});
|
|
482
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "labelId", {
|
|
483
|
+
/**
|
|
484
|
+
* Gets or sets id to use for the checkbox label.
|
|
485
|
+
*/
|
|
486
|
+
get: function () {
|
|
487
|
+
return this.i.labelId;
|
|
488
|
+
},
|
|
489
|
+
set: function (v) {
|
|
490
|
+
this.i.labelId = v;
|
|
491
|
+
},
|
|
492
|
+
enumerable: true,
|
|
493
|
+
configurable: true
|
|
494
|
+
});
|
|
495
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "name", {
|
|
496
|
+
/**
|
|
497
|
+
* Gets or sets name to use for the checkbox.
|
|
498
|
+
*/
|
|
499
|
+
get: function () {
|
|
500
|
+
return this.i.b7;
|
|
501
|
+
},
|
|
502
|
+
set: function (v) {
|
|
503
|
+
this.i.b7 = v;
|
|
504
|
+
},
|
|
505
|
+
enumerable: true,
|
|
506
|
+
configurable: true
|
|
507
|
+
});
|
|
508
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "tabIndex", {
|
|
509
|
+
/**
|
|
510
|
+
* Gets or sets TabIndex to use for the checkbox.
|
|
511
|
+
*/
|
|
512
|
+
get: function () {
|
|
513
|
+
return this.i.a0;
|
|
514
|
+
},
|
|
515
|
+
set: function (v) {
|
|
516
|
+
this.i.a0 = +v;
|
|
517
|
+
this._a("tabIndex", this.i.a0);
|
|
518
|
+
},
|
|
519
|
+
enumerable: true,
|
|
520
|
+
configurable: true
|
|
521
|
+
});
|
|
522
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "required", {
|
|
523
|
+
/**
|
|
524
|
+
* Gets or sets if the checkbox is required.
|
|
525
|
+
*/
|
|
526
|
+
get: function () {
|
|
527
|
+
return this.i.az;
|
|
528
|
+
},
|
|
529
|
+
set: function (v) {
|
|
530
|
+
this.i.az = +v;
|
|
531
|
+
this._a("required", this.i.az);
|
|
532
|
+
},
|
|
533
|
+
enumerable: true,
|
|
534
|
+
configurable: true
|
|
535
|
+
});
|
|
536
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "ariaLabelledBy", {
|
|
537
|
+
/**
|
|
538
|
+
* Gets or sets the value of the aria-labelledby attribute.
|
|
539
|
+
*/
|
|
540
|
+
get: function () {
|
|
541
|
+
return this.i.bl;
|
|
542
|
+
},
|
|
543
|
+
set: function (v) {
|
|
544
|
+
this.i.bl = v;
|
|
545
|
+
},
|
|
546
|
+
enumerable: true,
|
|
547
|
+
configurable: true
|
|
548
|
+
});
|
|
549
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "ariaLabel", {
|
|
550
|
+
/**
|
|
551
|
+
* Gets or sets the value of the aria-label attribute.
|
|
552
|
+
*/
|
|
553
|
+
get: function () {
|
|
554
|
+
return this.i.bk;
|
|
555
|
+
},
|
|
556
|
+
set: function (v) {
|
|
557
|
+
this.i.bk = v;
|
|
558
|
+
},
|
|
559
|
+
enumerable: true,
|
|
560
|
+
configurable: true
|
|
561
|
+
});
|
|
562
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "value", {
|
|
563
|
+
/**
|
|
564
|
+
* Gets or sets value to use for the checkbox.
|
|
565
|
+
*/
|
|
566
|
+
get: function () {
|
|
567
|
+
return this.i.a5;
|
|
568
|
+
},
|
|
569
|
+
set: function (v) {
|
|
570
|
+
this.i.a5 = v;
|
|
571
|
+
},
|
|
572
|
+
enumerable: true,
|
|
573
|
+
configurable: true
|
|
574
|
+
});
|
|
575
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "focused", {
|
|
576
|
+
/**
|
|
577
|
+
* Gets or sets if the checkbox is Focused.
|
|
578
|
+
*/
|
|
579
|
+
get: function () {
|
|
580
|
+
return this.i.focused;
|
|
581
|
+
},
|
|
582
|
+
set: function (v) {
|
|
583
|
+
this.i.focused = ensureBool(v);
|
|
584
|
+
this._a("focused", this.i.focused);
|
|
585
|
+
},
|
|
586
|
+
enumerable: true,
|
|
587
|
+
configurable: true
|
|
588
|
+
});
|
|
589
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "labelPosition", {
|
|
590
|
+
/**
|
|
591
|
+
* Gets or sets LabelPosition to use for the checkbox.
|
|
592
|
+
*/
|
|
593
|
+
get: function () {
|
|
594
|
+
return this.i.h;
|
|
595
|
+
},
|
|
596
|
+
set: function (v) {
|
|
597
|
+
this.i.h = ensureEnum(CheckboxLabelPosition_$type, v);
|
|
598
|
+
this._a("labelPosition", enumToString(CheckboxLabelPosition_$type, this.i.h));
|
|
599
|
+
},
|
|
600
|
+
enumerable: true,
|
|
601
|
+
configurable: true
|
|
602
|
+
});
|
|
603
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "disableRipple", {
|
|
604
|
+
/**
|
|
605
|
+
* Gets or sets whether to disable the ripple effect for the checkbox.
|
|
606
|
+
*/
|
|
607
|
+
get: function () {
|
|
608
|
+
return this.i.t;
|
|
609
|
+
},
|
|
610
|
+
set: function (v) {
|
|
611
|
+
this.i.t = ensureBool(v);
|
|
612
|
+
this._a("disableRipple", this.i.t);
|
|
613
|
+
},
|
|
614
|
+
enumerable: true,
|
|
615
|
+
configurable: true
|
|
616
|
+
});
|
|
617
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "checked", {
|
|
618
|
+
/**
|
|
619
|
+
* Gets or sets whether the checkbox is checked.
|
|
620
|
+
*/
|
|
621
|
+
get: function () {
|
|
622
|
+
return this.i.checked;
|
|
623
|
+
},
|
|
624
|
+
set: function (v) {
|
|
625
|
+
this.i.checked = ensureBool(v);
|
|
626
|
+
this._a("checked", this.i.checked);
|
|
627
|
+
},
|
|
628
|
+
enumerable: true,
|
|
629
|
+
configurable: true
|
|
630
|
+
});
|
|
631
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "indeterminate", {
|
|
632
|
+
/**
|
|
633
|
+
* Gets or sets whether the checkbox is indeterminate.
|
|
634
|
+
*/
|
|
635
|
+
get: function () {
|
|
636
|
+
return this.i.indeterminate;
|
|
637
|
+
},
|
|
638
|
+
set: function (v) {
|
|
639
|
+
this.i.indeterminate = ensureBool(v);
|
|
640
|
+
this._a("indeterminate", this.i.indeterminate);
|
|
641
|
+
},
|
|
642
|
+
enumerable: true,
|
|
643
|
+
configurable: true
|
|
644
|
+
});
|
|
645
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "disabled", {
|
|
646
|
+
/**
|
|
647
|
+
* Gets or sets whether the checkbox is disabled.
|
|
648
|
+
*/
|
|
649
|
+
get: function () {
|
|
650
|
+
return this.i.disabled;
|
|
651
|
+
},
|
|
652
|
+
set: function (v) {
|
|
653
|
+
this.i.disabled = ensureBool(v);
|
|
654
|
+
this._a("disabled", this.i.disabled);
|
|
655
|
+
},
|
|
656
|
+
enumerable: true,
|
|
657
|
+
configurable: true
|
|
658
|
+
});
|
|
659
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "disableTransitions", {
|
|
660
|
+
/**
|
|
661
|
+
* Gets or sets whether the checkbox transitions are disabled.
|
|
662
|
+
*/
|
|
663
|
+
get: function () {
|
|
664
|
+
return this.i.u;
|
|
665
|
+
},
|
|
666
|
+
set: function (v) {
|
|
667
|
+
this.i.u = ensureBool(v);
|
|
668
|
+
this._a("disableTransitions", this.i.u);
|
|
669
|
+
},
|
|
670
|
+
enumerable: true,
|
|
671
|
+
configurable: true
|
|
672
|
+
});
|
|
673
|
+
IgcCheckboxComponent.prototype.findByName = function (name) {
|
|
674
|
+
return null;
|
|
675
|
+
};
|
|
676
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "hasUserValues", {
|
|
677
|
+
get: function () {
|
|
678
|
+
return this._hasUserValues;
|
|
679
|
+
},
|
|
680
|
+
enumerable: true,
|
|
681
|
+
configurable: true
|
|
682
|
+
});
|
|
683
|
+
IgcCheckboxComponent.prototype.__m = function (propertyName) {
|
|
684
|
+
if (!this._inStyling) {
|
|
685
|
+
this._hasUserValues.add(propertyName);
|
|
686
|
+
}
|
|
687
|
+
};
|
|
688
|
+
IgcCheckboxComponent.prototype._styling = function (container, component, parent) {
|
|
689
|
+
if (this._inStyling) {
|
|
690
|
+
return;
|
|
691
|
+
}
|
|
692
|
+
this._inStyling = true;
|
|
693
|
+
this._stylingContainer = container;
|
|
694
|
+
this._stylingParent = component;
|
|
695
|
+
var genericPrefix = "";
|
|
696
|
+
var typeName = this.i.$type.name;
|
|
697
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
698
|
+
typeName = typeName.substring(3);
|
|
699
|
+
}
|
|
700
|
+
genericPrefix = toSpinal("CheckboxComponent");
|
|
701
|
+
var additionalPrefixes = [];
|
|
702
|
+
var prefix = toSpinal(typeName);
|
|
703
|
+
additionalPrefixes.push(prefix + "-");
|
|
704
|
+
var b = this.i.$type.baseType;
|
|
705
|
+
while (b && b.name != "Object" &&
|
|
706
|
+
b.name != "Base" &&
|
|
707
|
+
b.name != "Control" &&
|
|
708
|
+
b.Name != "DependencyObject" &&
|
|
709
|
+
b.Name != "FrameworkElement") {
|
|
710
|
+
typeName = b.name;
|
|
711
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
712
|
+
typeName = typeName.substring(3);
|
|
713
|
+
}
|
|
714
|
+
var basePrefix = toSpinal(typeName);
|
|
715
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
716
|
+
b = b.baseType;
|
|
717
|
+
}
|
|
718
|
+
if (parent) {
|
|
719
|
+
var parentTypeName = parent.i.$type.name;
|
|
720
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
721
|
+
parentTypeName = parentTypeName.substring(3);
|
|
722
|
+
}
|
|
723
|
+
var parentPrefix = toSpinal(parentTypeName);
|
|
724
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
725
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
726
|
+
}
|
|
727
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
728
|
+
if (this._otherStyling) {
|
|
729
|
+
this._otherStyling(container, component, parent);
|
|
730
|
+
}
|
|
731
|
+
this._inStyling = false;
|
|
732
|
+
};
|
|
733
|
+
IgcCheckboxComponent.prototype.onDetachedFromUI = function () {
|
|
734
|
+
this.i.onDetachedFromUI();
|
|
735
|
+
};
|
|
736
|
+
IgcCheckboxComponent.prototype.onAttachedToUI = function () {
|
|
737
|
+
this.i.onAttachedToUI();
|
|
738
|
+
};
|
|
739
|
+
/**
|
|
740
|
+
* Exports visual information about the current state of the grid.
|
|
741
|
+
|
|
742
|
+
*/
|
|
743
|
+
IgcCheckboxComponent.prototype.exportVisualModel = function () {
|
|
744
|
+
var iv = this.i.a4();
|
|
745
|
+
return (iv);
|
|
746
|
+
};
|
|
747
|
+
/**
|
|
748
|
+
* Returns a serialized copy of the exported visual model
|
|
749
|
+
|
|
750
|
+
*/
|
|
751
|
+
IgcCheckboxComponent.prototype.exportSerializedVisualModel = function () {
|
|
752
|
+
var iv = this.i.bv();
|
|
753
|
+
return (iv);
|
|
754
|
+
};
|
|
755
|
+
Object.defineProperty(IgcCheckboxComponent.prototype, "change", {
|
|
756
|
+
get: function () {
|
|
757
|
+
return this._change;
|
|
758
|
+
},
|
|
759
|
+
set: function (ev) {
|
|
760
|
+
var _this = this;
|
|
761
|
+
if (this._change_wrapped !== null) {
|
|
762
|
+
this.i.change = delegateRemove(this.i.change, this._change_wrapped);
|
|
763
|
+
this._change_wrapped = null;
|
|
764
|
+
this._change = null;
|
|
765
|
+
}
|
|
766
|
+
this._change = ev;
|
|
767
|
+
this._change_wrapped = function (o, e) {
|
|
768
|
+
var outerArgs = new IgcCheckboxChangeEventArgs();
|
|
769
|
+
outerArgs._provideImplementation(e);
|
|
770
|
+
if (_this.beforeChange) {
|
|
771
|
+
_this.beforeChange(_this, outerArgs);
|
|
772
|
+
}
|
|
773
|
+
if (_this._change) {
|
|
774
|
+
_this._change(_this, outerArgs);
|
|
775
|
+
}
|
|
776
|
+
};
|
|
777
|
+
this.i.change = delegateCombine(this.i.change, this._change_wrapped);
|
|
778
|
+
},
|
|
779
|
+
enumerable: true,
|
|
780
|
+
configurable: true
|
|
781
|
+
});
|
|
782
|
+
IgcCheckboxComponent._observedAttributesIgcCheckboxComponent = null;
|
|
783
|
+
IgcCheckboxComponent.htmlTagName = "igc-checkbox";
|
|
784
|
+
IgcCheckboxComponent._isElementRegistered = false;
|
|
785
|
+
return IgcCheckboxComponent;
|
|
786
|
+
}(IgcHTMLElement));
|
|
787
|
+
export { IgcCheckboxComponent };
|
|
788
|
+
//# sourceMappingURL=igc-checkbox-component.js.map
|