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,1318 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { ButtonGroup } from "./ButtonGroup";
|
|
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 { IgcButtonComponent } from './igc-button-component';
|
|
9
|
+
import { IgcButtonGroupButtonCollection } from './igc-button-group-button-collection';
|
|
10
|
+
import { CollectionAdapter } from "igniteui-webcomponents-core";
|
|
11
|
+
import { NotifyCollectionChangedAction } from "igniteui-webcomponents-core";
|
|
12
|
+
import { ButtonGroupOrientation_$type } from './ButtonGroupOrientation';
|
|
13
|
+
import { IgcButtonGroupSelectionChangedEventArgs } from './igc-button-group-selection-changed-event-args';
|
|
14
|
+
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
15
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
16
|
+
import { ButtonGroupDisplayStyle_$type } from './ButtonGroupDisplayStyle';
|
|
17
|
+
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
18
|
+
var IgcButtonGroupComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
19
|
+
tslib_1.__extends(IgcButtonGroupComponent, _super);
|
|
20
|
+
function IgcButtonGroupComponent() {
|
|
21
|
+
var _this = _super.call(this) || this;
|
|
22
|
+
_this.contentButtons = [];
|
|
23
|
+
/**
|
|
24
|
+
* The style mappings actually present in the treemap. Do not directly modify this array.
|
|
25
|
+
* This array's contents can be modified by causing Angular to reproject the child content.
|
|
26
|
+
* Or adding and removing style mappings from the manual style mappings collection on the buttons property.
|
|
27
|
+
*/
|
|
28
|
+
_this.actualButtons = [];
|
|
29
|
+
_this._buttons = null;
|
|
30
|
+
_this._buttonsAdapter = null;
|
|
31
|
+
_this._disconnected = false;
|
|
32
|
+
_this._settingAttributes = false;
|
|
33
|
+
_this._attached = false;
|
|
34
|
+
_this._queuedSetAttributes = [];
|
|
35
|
+
_this._updatingFromAttribute = false;
|
|
36
|
+
_this.__p = null;
|
|
37
|
+
_this._hasUserValues = new Set();
|
|
38
|
+
_this._stylingContainer = null;
|
|
39
|
+
_this._stylingParent = null;
|
|
40
|
+
_this._inStyling = false;
|
|
41
|
+
_this._selectionChanged = null;
|
|
42
|
+
_this._selectionChanged_wrapped = null;
|
|
43
|
+
if (_this._styling) {
|
|
44
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
|
|
45
|
+
}
|
|
46
|
+
_this._portalManager = new PortalManager("buttonContent");
|
|
47
|
+
_this._renderer = new WebComponentRenderer(_this, document, true, {}, _this._portalManager);
|
|
48
|
+
_this._container = _this._renderer.createElement("div");
|
|
49
|
+
_this._renderer.updateRoot(_this._container);
|
|
50
|
+
_this._implementation = _this.createImplementation();
|
|
51
|
+
_this._implementation.externalObject = _this;
|
|
52
|
+
//this._container.setStyleProperty("width", "100%");
|
|
53
|
+
//this._container.setStyleProperty("height", "100%");
|
|
54
|
+
var root;
|
|
55
|
+
root = _this._container;
|
|
56
|
+
if (_this._container.getNativeElement() != null) {
|
|
57
|
+
root = _this._container.getNativeElement();
|
|
58
|
+
}
|
|
59
|
+
_this._wrapper = _this._renderer;
|
|
60
|
+
var buttonGroup = _this.i;
|
|
61
|
+
_this._buttonGroup = buttonGroup;
|
|
62
|
+
_this._buttonsAdapter = new CollectionAdapter(_this.contentButtons, _this.i.buttons, _this.actualButtons, function (c) { return c.i; }, function (i) {
|
|
63
|
+
if (_this._container && _this._container.getNativeElement().parentElement) {
|
|
64
|
+
i._styling(_this, _this, _this);
|
|
65
|
+
}
|
|
66
|
+
}, function (i) { });
|
|
67
|
+
buttonGroup.provideContainer(_this._renderer);
|
|
68
|
+
_this._onChildrenChanged();
|
|
69
|
+
//Checkbox.notifySizeChanged();
|
|
70
|
+
var mut = new MutationObserver(function (list) {
|
|
71
|
+
var e_1, _b;
|
|
72
|
+
try {
|
|
73
|
+
for (var list_1 = tslib_1.__values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
|
|
74
|
+
var mutation = list_1_1.value;
|
|
75
|
+
if (mutation.type == 'childList') {
|
|
76
|
+
_this._onChildrenChanged();
|
|
77
|
+
_this.updateButtons();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
catch (e_1_1) {
|
|
82
|
+
e_1 = { error: e_1_1 };
|
|
83
|
+
}
|
|
84
|
+
finally {
|
|
85
|
+
try {
|
|
86
|
+
if (list_1_1 && !list_1_1.done && (_b = list_1.return))
|
|
87
|
+
_b.call(list_1);
|
|
88
|
+
}
|
|
89
|
+
finally {
|
|
90
|
+
if (e_1)
|
|
91
|
+
throw e_1.error;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
mut.observe(_this, {
|
|
96
|
+
childList: true
|
|
97
|
+
});
|
|
98
|
+
return _this;
|
|
99
|
+
//this._renderer.addSizeWatcher(() => {
|
|
100
|
+
// this._checkbox.notifySizeChanged();
|
|
101
|
+
//});
|
|
102
|
+
}
|
|
103
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "buttons", {
|
|
104
|
+
/**
|
|
105
|
+
* A collection or manually added axes for the chart.
|
|
106
|
+
*/
|
|
107
|
+
get: function () {
|
|
108
|
+
var _this = this;
|
|
109
|
+
if (this._buttons === null) {
|
|
110
|
+
var coll = new IgcButtonGroupButtonCollection();
|
|
111
|
+
var inner = coll._innerColl;
|
|
112
|
+
inner.addListener(function (sender, e) {
|
|
113
|
+
switch (e.action) {
|
|
114
|
+
case NotifyCollectionChangedAction.Add:
|
|
115
|
+
_this._buttonsAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
|
|
116
|
+
break;
|
|
117
|
+
case NotifyCollectionChangedAction.Remove:
|
|
118
|
+
_this._buttonsAdapter.removeManualItemAt(e.oldStartingIndex);
|
|
119
|
+
break;
|
|
120
|
+
case NotifyCollectionChangedAction.Replace:
|
|
121
|
+
_this._buttonsAdapter.removeManualItemAt(e.oldStartingIndex);
|
|
122
|
+
_this._buttonsAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
|
|
123
|
+
break;
|
|
124
|
+
case NotifyCollectionChangedAction.Reset:
|
|
125
|
+
_this._buttonsAdapter.clearManualItems();
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
this._buttons = coll;
|
|
130
|
+
}
|
|
131
|
+
return this._buttons;
|
|
132
|
+
},
|
|
133
|
+
enumerable: true,
|
|
134
|
+
configurable: true
|
|
135
|
+
});
|
|
136
|
+
IgcButtonGroupComponent.prototype._onChildrenChanged = function () {
|
|
137
|
+
var children = [];
|
|
138
|
+
for (var i = 0; i < this.childNodes.length; i++) {
|
|
139
|
+
var child = this.childNodes[i];
|
|
140
|
+
if (child !== this._container.getNativeElement()) {
|
|
141
|
+
children.push(child);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
this._portalManager.onChildrenChanged(children);
|
|
145
|
+
};
|
|
146
|
+
IgcButtonGroupComponent.prototype.updateButtons = function () {
|
|
147
|
+
this.contentButtons.length = 0;
|
|
148
|
+
for (var i = 0; i < this.children.length; i++) {
|
|
149
|
+
if (this.children[i] instanceof IgcButtonComponent) {
|
|
150
|
+
this.contentButtons.push(this.children[i]);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
var childContent = this.querySelector("igc-child-content");
|
|
154
|
+
if (childContent) {
|
|
155
|
+
for (var i = 0; i < childContent.children.length; i++) {
|
|
156
|
+
if (childContent.children[i] instanceof IgcButtonComponent) {
|
|
157
|
+
this.contentButtons.push(childContent.children[i]);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if (this._buttonsAdapter != null) {
|
|
162
|
+
this._buttonsAdapter.notifyContentChanged();
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
// supports angular themes or custom properties set in CSS
|
|
166
|
+
IgcButtonGroupComponent.prototype.updateStyle = function () {
|
|
167
|
+
this._styling(this, this);
|
|
168
|
+
};
|
|
169
|
+
IgcButtonGroupComponent.prototype.destroy = function () {
|
|
170
|
+
this._buttonGroup.destroy();
|
|
171
|
+
this._wrapper.destroy();
|
|
172
|
+
};
|
|
173
|
+
IgcButtonGroupComponent.prototype.createImplementation = function () {
|
|
174
|
+
return new ButtonGroup();
|
|
175
|
+
};
|
|
176
|
+
IgcButtonGroupComponent.prototype.disconnectedCallback = function () {
|
|
177
|
+
this._disconnected = true;
|
|
178
|
+
if (this.i) {
|
|
179
|
+
this.i.onDetachedFromUI();
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
IgcButtonGroupComponent.prototype.connectedCallback = function () {
|
|
183
|
+
if (this._disconnected) {
|
|
184
|
+
this._disconnected = false;
|
|
185
|
+
if (this.i) {
|
|
186
|
+
this.i.onAttachedToUI();
|
|
187
|
+
}
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
this.classList.add("ig-button-group");
|
|
191
|
+
this.classList.add("igc-button-group");
|
|
192
|
+
this.appendChild(this._container.getNativeElement());
|
|
193
|
+
this._attached = true;
|
|
194
|
+
this.style.display = "inline-block";
|
|
195
|
+
//this.style.height = this._height;
|
|
196
|
+
//this.style.width = this._width;
|
|
197
|
+
this._flushQueuedAttributes();
|
|
198
|
+
// supports themes or custom properties set in CSS
|
|
199
|
+
this._styling(this, this);
|
|
200
|
+
this.afterContentInit();
|
|
201
|
+
};
|
|
202
|
+
IgcButtonGroupComponent.prototype.afterContentInit = function () {
|
|
203
|
+
//this.i.notifySizeChanged();
|
|
204
|
+
};
|
|
205
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "i", {
|
|
206
|
+
/**
|
|
207
|
+
* @hidden
|
|
208
|
+
*/
|
|
209
|
+
get: function () {
|
|
210
|
+
return this._implementation;
|
|
211
|
+
} /**
|
|
212
|
+
* @hidden
|
|
213
|
+
*/,
|
|
214
|
+
enumerable: true,
|
|
215
|
+
configurable: true
|
|
216
|
+
});
|
|
217
|
+
IgcButtonGroupComponent._createFromInternal = function (internal) {
|
|
218
|
+
if (!internal) {
|
|
219
|
+
return null;
|
|
220
|
+
}
|
|
221
|
+
if (!internal.$type) {
|
|
222
|
+
return null;
|
|
223
|
+
}
|
|
224
|
+
var name = internal.$type.name;
|
|
225
|
+
var externalName = "Igc" + name + "Component";
|
|
226
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
227
|
+
return null;
|
|
228
|
+
}
|
|
229
|
+
return TypeRegistrar.create(externalName);
|
|
230
|
+
};
|
|
231
|
+
IgcButtonGroupComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
232
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
233
|
+
};
|
|
234
|
+
IgcButtonGroupComponent.prototype._flushQueuedAttributes = function () {
|
|
235
|
+
this._settingAttributes = true;
|
|
236
|
+
for (var i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
237
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
238
|
+
}
|
|
239
|
+
this._settingAttributes = false;
|
|
240
|
+
this._queuedSetAttributes.length = 0;
|
|
241
|
+
};
|
|
242
|
+
IgcButtonGroupComponent.prototype._a = function (attrName, attrValue) {
|
|
243
|
+
if (this._updatingFromAttribute) {
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
if (attrValue) {
|
|
247
|
+
attrValue = attrValue.toString();
|
|
248
|
+
}
|
|
249
|
+
this._settingAttributes = true;
|
|
250
|
+
attrName = toSpinal(attrName);
|
|
251
|
+
if (this._attached) {
|
|
252
|
+
this.setAttribute(attrName, attrValue);
|
|
253
|
+
}
|
|
254
|
+
else {
|
|
255
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
256
|
+
}
|
|
257
|
+
this._settingAttributes = false;
|
|
258
|
+
};
|
|
259
|
+
Object.defineProperty(IgcButtonGroupComponent, "observedAttributes", {
|
|
260
|
+
get: function () {
|
|
261
|
+
if (IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent == null) {
|
|
262
|
+
var names = getAllPropertyNames(IgcButtonGroupComponent);
|
|
263
|
+
for (var i = 0; i < names.length; i++) {
|
|
264
|
+
names[i] = toSpinal(names[i]);
|
|
265
|
+
}
|
|
266
|
+
IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent = names;
|
|
267
|
+
}
|
|
268
|
+
return IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent;
|
|
269
|
+
},
|
|
270
|
+
enumerable: true,
|
|
271
|
+
configurable: true
|
|
272
|
+
});
|
|
273
|
+
IgcButtonGroupComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
|
|
274
|
+
if (this._settingAttributes) {
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
var setName = fromSpinal(name);
|
|
278
|
+
this._updatingFromAttribute = true;
|
|
279
|
+
this[setName] = newValue;
|
|
280
|
+
this._updatingFromAttribute = false;
|
|
281
|
+
};
|
|
282
|
+
IgcButtonGroupComponent.register = function () {
|
|
283
|
+
if (!IgcButtonGroupComponent._isElementRegistered) {
|
|
284
|
+
IgcButtonGroupComponent._isElementRegistered = true;
|
|
285
|
+
RegisterElementHelper.registerElement(IgcButtonGroupComponent.htmlTagName, IgcButtonGroupComponent);
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "displayType", {
|
|
289
|
+
/**
|
|
290
|
+
* Gets or sets the display style to use for the button.
|
|
291
|
+
*/
|
|
292
|
+
get: function () {
|
|
293
|
+
return this.i.p;
|
|
294
|
+
},
|
|
295
|
+
set: function (v) {
|
|
296
|
+
this.i.p = ensureEnum(ButtonGroupDisplayStyle_$type, v);
|
|
297
|
+
this._a("displayType", enumToString(ButtonGroupDisplayStyle_$type, this.i.p));
|
|
298
|
+
},
|
|
299
|
+
enumerable: true,
|
|
300
|
+
configurable: true
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "baseTheme", {
|
|
303
|
+
/**
|
|
304
|
+
* Gets or sets the base built in theme to use for the button group.
|
|
305
|
+
*/
|
|
306
|
+
get: function () {
|
|
307
|
+
return this.i.g;
|
|
308
|
+
},
|
|
309
|
+
set: function (v) {
|
|
310
|
+
this.i.g = ensureEnum(BaseControlTheme_$type, v);
|
|
311
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.g));
|
|
312
|
+
},
|
|
313
|
+
enumerable: true,
|
|
314
|
+
configurable: true
|
|
315
|
+
});
|
|
316
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "density", {
|
|
317
|
+
/**
|
|
318
|
+
* Gets or sets the display density to use for the button group.
|
|
319
|
+
*/
|
|
320
|
+
get: function () {
|
|
321
|
+
return this.i.k;
|
|
322
|
+
},
|
|
323
|
+
set: function (v) {
|
|
324
|
+
this.i.k = ensureEnum(ControlDisplayDensity_$type, v);
|
|
325
|
+
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.k));
|
|
326
|
+
},
|
|
327
|
+
enumerable: true,
|
|
328
|
+
configurable: true
|
|
329
|
+
});
|
|
330
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualDensity", {
|
|
331
|
+
/**
|
|
332
|
+
* Gets the actual display density to use for the button group.
|
|
333
|
+
*/
|
|
334
|
+
get: function () {
|
|
335
|
+
return this.i.j;
|
|
336
|
+
},
|
|
337
|
+
set: function (v) {
|
|
338
|
+
this.i.j = ensureEnum(ControlDisplayDensity_$type, v);
|
|
339
|
+
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.j));
|
|
340
|
+
},
|
|
341
|
+
enumerable: true,
|
|
342
|
+
configurable: true
|
|
343
|
+
});
|
|
344
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "selectedIndices", {
|
|
345
|
+
/**
|
|
346
|
+
* Gets the currently selected button indices.
|
|
347
|
+
*/
|
|
348
|
+
get: function () {
|
|
349
|
+
return this.i.d;
|
|
350
|
+
},
|
|
351
|
+
set: function (v) {
|
|
352
|
+
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
353
|
+
var re = /\s*(?:,|\s|$)\s*/gm;
|
|
354
|
+
v = v.split(re);
|
|
355
|
+
}
|
|
356
|
+
this.i.d = v;
|
|
357
|
+
},
|
|
358
|
+
enumerable: true,
|
|
359
|
+
configurable: true
|
|
360
|
+
});
|
|
361
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemCornerRadius", {
|
|
362
|
+
/**
|
|
363
|
+
* Gets the actual item corner radius for the appropriate corners.
|
|
364
|
+
*/
|
|
365
|
+
get: function () {
|
|
366
|
+
return this.i.al;
|
|
367
|
+
},
|
|
368
|
+
set: function (v) {
|
|
369
|
+
this.i.al = +v;
|
|
370
|
+
this._a("actualItemCornerRadius", this.i.al);
|
|
371
|
+
},
|
|
372
|
+
enumerable: true,
|
|
373
|
+
configurable: true
|
|
374
|
+
});
|
|
375
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemBackgroundColor", {
|
|
376
|
+
/**
|
|
377
|
+
* Gets the actual item background color.
|
|
378
|
+
*/
|
|
379
|
+
get: function () {
|
|
380
|
+
return brushToString(this.i.ez);
|
|
381
|
+
},
|
|
382
|
+
set: function (v) {
|
|
383
|
+
this.i.ez = stringToBrush(v);
|
|
384
|
+
this._a("actualItemBackgroundColor", brushToString(this.i.ez));
|
|
385
|
+
},
|
|
386
|
+
enumerable: true,
|
|
387
|
+
configurable: true
|
|
388
|
+
});
|
|
389
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemDisabledBackgroundColor", {
|
|
390
|
+
/**
|
|
391
|
+
* Gets the actual item background color.
|
|
392
|
+
*/
|
|
393
|
+
get: function () {
|
|
394
|
+
return brushToString(this.i.e1);
|
|
395
|
+
},
|
|
396
|
+
set: function (v) {
|
|
397
|
+
this.i.e1 = stringToBrush(v);
|
|
398
|
+
this._a("actualItemDisabledBackgroundColor", brushToString(this.i.e1));
|
|
399
|
+
},
|
|
400
|
+
enumerable: true,
|
|
401
|
+
configurable: true
|
|
402
|
+
});
|
|
403
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemTextColor", {
|
|
404
|
+
/**
|
|
405
|
+
* Gets the actual item text color.
|
|
406
|
+
*/
|
|
407
|
+
get: function () {
|
|
408
|
+
return brushToString(this.i.e6);
|
|
409
|
+
},
|
|
410
|
+
set: function (v) {
|
|
411
|
+
this.i.e6 = stringToBrush(v);
|
|
412
|
+
this._a("actualItemTextColor", brushToString(this.i.e6));
|
|
413
|
+
},
|
|
414
|
+
enumerable: true,
|
|
415
|
+
configurable: true
|
|
416
|
+
});
|
|
417
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemDisabledTextColor", {
|
|
418
|
+
/**
|
|
419
|
+
* Gets the actual item text color.
|
|
420
|
+
*/
|
|
421
|
+
get: function () {
|
|
422
|
+
return brushToString(this.i.e3);
|
|
423
|
+
},
|
|
424
|
+
set: function (v) {
|
|
425
|
+
this.i.e3 = stringToBrush(v);
|
|
426
|
+
this._a("actualItemDisabledTextColor", brushToString(this.i.e3));
|
|
427
|
+
},
|
|
428
|
+
enumerable: true,
|
|
429
|
+
configurable: true
|
|
430
|
+
});
|
|
431
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemBorderColor", {
|
|
432
|
+
/**
|
|
433
|
+
* Gets the actual item border color.
|
|
434
|
+
*/
|
|
435
|
+
get: function () {
|
|
436
|
+
return brushToString(this.i.e0);
|
|
437
|
+
},
|
|
438
|
+
set: function (v) {
|
|
439
|
+
this.i.e0 = stringToBrush(v);
|
|
440
|
+
this._a("actualItemBorderColor", brushToString(this.i.e0));
|
|
441
|
+
},
|
|
442
|
+
enumerable: true,
|
|
443
|
+
configurable: true
|
|
444
|
+
});
|
|
445
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemDisabledBorderColor", {
|
|
446
|
+
/**
|
|
447
|
+
* Gets the actual item border color.
|
|
448
|
+
*/
|
|
449
|
+
get: function () {
|
|
450
|
+
return brushToString(this.i.e2);
|
|
451
|
+
},
|
|
452
|
+
set: function (v) {
|
|
453
|
+
this.i.e2 = stringToBrush(v);
|
|
454
|
+
this._a("actualItemDisabledBorderColor", brushToString(this.i.e2));
|
|
455
|
+
},
|
|
456
|
+
enumerable: true,
|
|
457
|
+
configurable: true
|
|
458
|
+
});
|
|
459
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemBorderWidth", {
|
|
460
|
+
/**
|
|
461
|
+
* Gets the actual item border width.
|
|
462
|
+
*/
|
|
463
|
+
get: function () {
|
|
464
|
+
return this.i.ak;
|
|
465
|
+
},
|
|
466
|
+
set: function (v) {
|
|
467
|
+
this.i.ak = +v;
|
|
468
|
+
this._a("actualItemBorderWidth", this.i.ak);
|
|
469
|
+
},
|
|
470
|
+
enumerable: true,
|
|
471
|
+
configurable: true
|
|
472
|
+
});
|
|
473
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualSelectedItemBackgroundColor", {
|
|
474
|
+
/**
|
|
475
|
+
* Gets the actual selected item background color.
|
|
476
|
+
*/
|
|
477
|
+
get: function () {
|
|
478
|
+
return brushToString(this.i.e7);
|
|
479
|
+
},
|
|
480
|
+
set: function (v) {
|
|
481
|
+
this.i.e7 = stringToBrush(v);
|
|
482
|
+
this._a("actualSelectedItemBackgroundColor", brushToString(this.i.e7));
|
|
483
|
+
},
|
|
484
|
+
enumerable: true,
|
|
485
|
+
configurable: true
|
|
486
|
+
});
|
|
487
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualSelectedItemTextColor", {
|
|
488
|
+
/**
|
|
489
|
+
* Gets the stroke actual selected item text color.
|
|
490
|
+
*/
|
|
491
|
+
get: function () {
|
|
492
|
+
return brushToString(this.i.fa);
|
|
493
|
+
},
|
|
494
|
+
set: function (v) {
|
|
495
|
+
this.i.fa = stringToBrush(v);
|
|
496
|
+
this._a("actualSelectedItemTextColor", brushToString(this.i.fa));
|
|
497
|
+
},
|
|
498
|
+
enumerable: true,
|
|
499
|
+
configurable: true
|
|
500
|
+
});
|
|
501
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemHoverBackgroundColor", {
|
|
502
|
+
/**
|
|
503
|
+
* Gets the actual item hovered background color.
|
|
504
|
+
*/
|
|
505
|
+
get: function () {
|
|
506
|
+
return brushToString(this.i.e4);
|
|
507
|
+
},
|
|
508
|
+
set: function (v) {
|
|
509
|
+
this.i.e4 = stringToBrush(v);
|
|
510
|
+
this._a("actualItemHoverBackgroundColor", brushToString(this.i.e4));
|
|
511
|
+
},
|
|
512
|
+
enumerable: true,
|
|
513
|
+
configurable: true
|
|
514
|
+
});
|
|
515
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualItemHoverTextColor", {
|
|
516
|
+
/**
|
|
517
|
+
* Gets the actual item text color.
|
|
518
|
+
*/
|
|
519
|
+
get: function () {
|
|
520
|
+
return brushToString(this.i.e5);
|
|
521
|
+
},
|
|
522
|
+
set: function (v) {
|
|
523
|
+
this.i.e5 = stringToBrush(v);
|
|
524
|
+
this._a("actualItemHoverTextColor", brushToString(this.i.e5));
|
|
525
|
+
},
|
|
526
|
+
enumerable: true,
|
|
527
|
+
configurable: true
|
|
528
|
+
});
|
|
529
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualSelectedItemHoverBackgroundColor", {
|
|
530
|
+
/**
|
|
531
|
+
* Gets the actual selected item hovered background color.
|
|
532
|
+
*/
|
|
533
|
+
get: function () {
|
|
534
|
+
return brushToString(this.i.e8);
|
|
535
|
+
},
|
|
536
|
+
set: function (v) {
|
|
537
|
+
this.i.e8 = stringToBrush(v);
|
|
538
|
+
this._a("actualSelectedItemHoverBackgroundColor", brushToString(this.i.e8));
|
|
539
|
+
},
|
|
540
|
+
enumerable: true,
|
|
541
|
+
configurable: true
|
|
542
|
+
});
|
|
543
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "actualSelectedItemHoverTextColor", {
|
|
544
|
+
/**
|
|
545
|
+
* Gets the actual selected item hovered text color.
|
|
546
|
+
*/
|
|
547
|
+
get: function () {
|
|
548
|
+
return brushToString(this.i.e9);
|
|
549
|
+
},
|
|
550
|
+
set: function (v) {
|
|
551
|
+
this.i.e9 = stringToBrush(v);
|
|
552
|
+
this._a("actualSelectedItemHoverTextColor", brushToString(this.i.e9));
|
|
553
|
+
},
|
|
554
|
+
enumerable: true,
|
|
555
|
+
configurable: true
|
|
556
|
+
});
|
|
557
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemCornerRadius", {
|
|
558
|
+
/**
|
|
559
|
+
* Gets or sets the corner radius to use for the appropriate corners for the item buttons.
|
|
560
|
+
*/
|
|
561
|
+
get: function () {
|
|
562
|
+
return this.i.a1;
|
|
563
|
+
},
|
|
564
|
+
set: function (v) {
|
|
565
|
+
this.i.a1 = +v;
|
|
566
|
+
this._a("itemCornerRadius", this.i.a1);
|
|
567
|
+
},
|
|
568
|
+
enumerable: true,
|
|
569
|
+
configurable: true
|
|
570
|
+
});
|
|
571
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemBackgroundColor", {
|
|
572
|
+
/**
|
|
573
|
+
* Gets or sets the color to use the background of the buttons in the group.
|
|
574
|
+
*/
|
|
575
|
+
get: function () {
|
|
576
|
+
return brushToString(this.i.hn);
|
|
577
|
+
},
|
|
578
|
+
set: function (v) {
|
|
579
|
+
this.i.hn = stringToBrush(v);
|
|
580
|
+
this._a("itemBackgroundColor", brushToString(this.i.hn));
|
|
581
|
+
},
|
|
582
|
+
enumerable: true,
|
|
583
|
+
configurable: true
|
|
584
|
+
});
|
|
585
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemDisabledBackgroundColor", {
|
|
586
|
+
/**
|
|
587
|
+
* Gets or sets the disabled color to use the background of the buttons in the group.
|
|
588
|
+
*/
|
|
589
|
+
get: function () {
|
|
590
|
+
return brushToString(this.i.hp);
|
|
591
|
+
},
|
|
592
|
+
set: function (v) {
|
|
593
|
+
this.i.hp = stringToBrush(v);
|
|
594
|
+
this._a("itemDisabledBackgroundColor", brushToString(this.i.hp));
|
|
595
|
+
},
|
|
596
|
+
enumerable: true,
|
|
597
|
+
configurable: true
|
|
598
|
+
});
|
|
599
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemTextColor", {
|
|
600
|
+
/**
|
|
601
|
+
* Gets or sets the color to use the text of the buttons in the group.
|
|
602
|
+
*/
|
|
603
|
+
get: function () {
|
|
604
|
+
return brushToString(this.i.hu);
|
|
605
|
+
},
|
|
606
|
+
set: function (v) {
|
|
607
|
+
this.i.hu = stringToBrush(v);
|
|
608
|
+
this._a("itemTextColor", brushToString(this.i.hu));
|
|
609
|
+
},
|
|
610
|
+
enumerable: true,
|
|
611
|
+
configurable: true
|
|
612
|
+
});
|
|
613
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemDisabledTextColor", {
|
|
614
|
+
/**
|
|
615
|
+
* Gets or sets the disabled color to use the text of the buttons in the group.
|
|
616
|
+
*/
|
|
617
|
+
get: function () {
|
|
618
|
+
return brushToString(this.i.hr);
|
|
619
|
+
},
|
|
620
|
+
set: function (v) {
|
|
621
|
+
this.i.hr = stringToBrush(v);
|
|
622
|
+
this._a("itemDisabledTextColor", brushToString(this.i.hr));
|
|
623
|
+
},
|
|
624
|
+
enumerable: true,
|
|
625
|
+
configurable: true
|
|
626
|
+
});
|
|
627
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemHoverBackgroundColor", {
|
|
628
|
+
/**
|
|
629
|
+
* Gets or sets the color to use the hovered background of the buttons in the group.
|
|
630
|
+
*/
|
|
631
|
+
get: function () {
|
|
632
|
+
return brushToString(this.i.hs);
|
|
633
|
+
},
|
|
634
|
+
set: function (v) {
|
|
635
|
+
this.i.hs = stringToBrush(v);
|
|
636
|
+
this._a("itemHoverBackgroundColor", brushToString(this.i.hs));
|
|
637
|
+
},
|
|
638
|
+
enumerable: true,
|
|
639
|
+
configurable: true
|
|
640
|
+
});
|
|
641
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemBorderColor", {
|
|
642
|
+
/**
|
|
643
|
+
* Gets or sets the color to use the border of the buttons in the group.
|
|
644
|
+
*/
|
|
645
|
+
get: function () {
|
|
646
|
+
return brushToString(this.i.ho);
|
|
647
|
+
},
|
|
648
|
+
set: function (v) {
|
|
649
|
+
this.i.ho = stringToBrush(v);
|
|
650
|
+
this._a("itemBorderColor", brushToString(this.i.ho));
|
|
651
|
+
},
|
|
652
|
+
enumerable: true,
|
|
653
|
+
configurable: true
|
|
654
|
+
});
|
|
655
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemDisabledBorderColor", {
|
|
656
|
+
/**
|
|
657
|
+
* Gets or sets the disabled color to use the border of the buttons in the group.
|
|
658
|
+
*/
|
|
659
|
+
get: function () {
|
|
660
|
+
return brushToString(this.i.hq);
|
|
661
|
+
},
|
|
662
|
+
set: function (v) {
|
|
663
|
+
this.i.hq = stringToBrush(v);
|
|
664
|
+
this._a("itemDisabledBorderColor", brushToString(this.i.hq));
|
|
665
|
+
},
|
|
666
|
+
enumerable: true,
|
|
667
|
+
configurable: true
|
|
668
|
+
});
|
|
669
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemBorderWidth", {
|
|
670
|
+
/**
|
|
671
|
+
* Gets or sets the border width to use for the buttons in the group.
|
|
672
|
+
*/
|
|
673
|
+
get: function () {
|
|
674
|
+
return this.i.a0;
|
|
675
|
+
},
|
|
676
|
+
set: function (v) {
|
|
677
|
+
this.i.a0 = +v;
|
|
678
|
+
this._a("itemBorderWidth", this.i.a0);
|
|
679
|
+
},
|
|
680
|
+
enumerable: true,
|
|
681
|
+
configurable: true
|
|
682
|
+
});
|
|
683
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "itemHoverTextColor", {
|
|
684
|
+
/**
|
|
685
|
+
* Gets or sets the color to use the hovered text of the buttons in the group.
|
|
686
|
+
*/
|
|
687
|
+
get: function () {
|
|
688
|
+
return brushToString(this.i.ht);
|
|
689
|
+
},
|
|
690
|
+
set: function (v) {
|
|
691
|
+
this.i.ht = stringToBrush(v);
|
|
692
|
+
this._a("itemHoverTextColor", brushToString(this.i.ht));
|
|
693
|
+
},
|
|
694
|
+
enumerable: true,
|
|
695
|
+
configurable: true
|
|
696
|
+
});
|
|
697
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "selectedItemBackgroundColor", {
|
|
698
|
+
/**
|
|
699
|
+
* Gets or sets the color to use the background of the buttons in the group that are selected.
|
|
700
|
+
*/
|
|
701
|
+
get: function () {
|
|
702
|
+
return brushToString(this.i.h7);
|
|
703
|
+
},
|
|
704
|
+
set: function (v) {
|
|
705
|
+
this.i.h7 = stringToBrush(v);
|
|
706
|
+
this._a("selectedItemBackgroundColor", brushToString(this.i.h7));
|
|
707
|
+
},
|
|
708
|
+
enumerable: true,
|
|
709
|
+
configurable: true
|
|
710
|
+
});
|
|
711
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "selectedItemTextColor", {
|
|
712
|
+
/**
|
|
713
|
+
* Gets or sets the color to use the text of the buttons in the group that are selected.
|
|
714
|
+
*/
|
|
715
|
+
get: function () {
|
|
716
|
+
return brushToString(this.i.ia);
|
|
717
|
+
},
|
|
718
|
+
set: function (v) {
|
|
719
|
+
this.i.ia = stringToBrush(v);
|
|
720
|
+
this._a("selectedItemTextColor", brushToString(this.i.ia));
|
|
721
|
+
},
|
|
722
|
+
enumerable: true,
|
|
723
|
+
configurable: true
|
|
724
|
+
});
|
|
725
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "selectedItemHoverBackgroundColor", {
|
|
726
|
+
/**
|
|
727
|
+
* Gets or sets the color to use the hovered background of the buttons in the group that are selected.
|
|
728
|
+
*/
|
|
729
|
+
get: function () {
|
|
730
|
+
return brushToString(this.i.h8);
|
|
731
|
+
},
|
|
732
|
+
set: function (v) {
|
|
733
|
+
this.i.h8 = stringToBrush(v);
|
|
734
|
+
this._a("selectedItemHoverBackgroundColor", brushToString(this.i.h8));
|
|
735
|
+
},
|
|
736
|
+
enumerable: true,
|
|
737
|
+
configurable: true
|
|
738
|
+
});
|
|
739
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "selectedItemHoverTextColor", {
|
|
740
|
+
/**
|
|
741
|
+
* Gets or sets the color to use the hovered text of the buttons in the group that are selected.
|
|
742
|
+
*/
|
|
743
|
+
get: function () {
|
|
744
|
+
return brushToString(this.i.h9);
|
|
745
|
+
},
|
|
746
|
+
set: function (v) {
|
|
747
|
+
this.i.h9 = stringToBrush(v);
|
|
748
|
+
this._a("selectedItemHoverTextColor", brushToString(this.i.h9));
|
|
749
|
+
},
|
|
750
|
+
enumerable: true,
|
|
751
|
+
configurable: true
|
|
752
|
+
});
|
|
753
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemCornerRadius", {
|
|
754
|
+
/**
|
|
755
|
+
* Gets or sets the corner radius to use for the appropriate corners for the outlined type item buttons.
|
|
756
|
+
*/
|
|
757
|
+
get: function () {
|
|
758
|
+
return this.i.a3;
|
|
759
|
+
},
|
|
760
|
+
set: function (v) {
|
|
761
|
+
this.i.a3 = +v;
|
|
762
|
+
this._a("outlinedItemCornerRadius", this.i.a3);
|
|
763
|
+
},
|
|
764
|
+
enumerable: true,
|
|
765
|
+
configurable: true
|
|
766
|
+
});
|
|
767
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemBackgroundColor", {
|
|
768
|
+
/**
|
|
769
|
+
* Gets or sets the color to use the background of the buttons in the group when type is outlined.
|
|
770
|
+
*/
|
|
771
|
+
get: function () {
|
|
772
|
+
return brushToString(this.i.hv);
|
|
773
|
+
},
|
|
774
|
+
set: function (v) {
|
|
775
|
+
this.i.hv = stringToBrush(v);
|
|
776
|
+
this._a("outlinedItemBackgroundColor", brushToString(this.i.hv));
|
|
777
|
+
},
|
|
778
|
+
enumerable: true,
|
|
779
|
+
configurable: true
|
|
780
|
+
});
|
|
781
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemDisabledBackgroundColor", {
|
|
782
|
+
/**
|
|
783
|
+
* Gets or sets the disabled color to use the background of the buttons in the group when type is outlined.
|
|
784
|
+
*/
|
|
785
|
+
get: function () {
|
|
786
|
+
return brushToString(this.i.hx);
|
|
787
|
+
},
|
|
788
|
+
set: function (v) {
|
|
789
|
+
this.i.hx = stringToBrush(v);
|
|
790
|
+
this._a("outlinedItemDisabledBackgroundColor", brushToString(this.i.hx));
|
|
791
|
+
},
|
|
792
|
+
enumerable: true,
|
|
793
|
+
configurable: true
|
|
794
|
+
});
|
|
795
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemTextColor", {
|
|
796
|
+
/**
|
|
797
|
+
* Gets or sets the color to use the text of the buttons in the group when type is outlined.
|
|
798
|
+
*/
|
|
799
|
+
get: function () {
|
|
800
|
+
return brushToString(this.i.h2);
|
|
801
|
+
},
|
|
802
|
+
set: function (v) {
|
|
803
|
+
this.i.h2 = stringToBrush(v);
|
|
804
|
+
this._a("outlinedItemTextColor", brushToString(this.i.h2));
|
|
805
|
+
},
|
|
806
|
+
enumerable: true,
|
|
807
|
+
configurable: true
|
|
808
|
+
});
|
|
809
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemDisabledTextColor", {
|
|
810
|
+
/**
|
|
811
|
+
* Gets or sets the disabled color to use the text of the buttons in the group when type is outlined.
|
|
812
|
+
*/
|
|
813
|
+
get: function () {
|
|
814
|
+
return brushToString(this.i.hz);
|
|
815
|
+
},
|
|
816
|
+
set: function (v) {
|
|
817
|
+
this.i.hz = stringToBrush(v);
|
|
818
|
+
this._a("outlinedItemDisabledTextColor", brushToString(this.i.hz));
|
|
819
|
+
},
|
|
820
|
+
enumerable: true,
|
|
821
|
+
configurable: true
|
|
822
|
+
});
|
|
823
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemHoverBackgroundColor", {
|
|
824
|
+
/**
|
|
825
|
+
* Gets or sets the color to use the hovered background of the buttons in the group when type is outlined.
|
|
826
|
+
*/
|
|
827
|
+
get: function () {
|
|
828
|
+
return brushToString(this.i.h0);
|
|
829
|
+
},
|
|
830
|
+
set: function (v) {
|
|
831
|
+
this.i.h0 = stringToBrush(v);
|
|
832
|
+
this._a("outlinedItemHoverBackgroundColor", brushToString(this.i.h0));
|
|
833
|
+
},
|
|
834
|
+
enumerable: true,
|
|
835
|
+
configurable: true
|
|
836
|
+
});
|
|
837
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemBorderColor", {
|
|
838
|
+
/**
|
|
839
|
+
* Gets or sets the color to use the border of the buttons in the group when type is outlined.
|
|
840
|
+
*/
|
|
841
|
+
get: function () {
|
|
842
|
+
return brushToString(this.i.hw);
|
|
843
|
+
},
|
|
844
|
+
set: function (v) {
|
|
845
|
+
this.i.hw = stringToBrush(v);
|
|
846
|
+
this._a("outlinedItemBorderColor", brushToString(this.i.hw));
|
|
847
|
+
},
|
|
848
|
+
enumerable: true,
|
|
849
|
+
configurable: true
|
|
850
|
+
});
|
|
851
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemDisabledBorderColor", {
|
|
852
|
+
/**
|
|
853
|
+
* Gets or sets the disabled color to use the border of the buttons in the group when type is outlined.
|
|
854
|
+
*/
|
|
855
|
+
get: function () {
|
|
856
|
+
return brushToString(this.i.hy);
|
|
857
|
+
},
|
|
858
|
+
set: function (v) {
|
|
859
|
+
this.i.hy = stringToBrush(v);
|
|
860
|
+
this._a("outlinedItemDisabledBorderColor", brushToString(this.i.hy));
|
|
861
|
+
},
|
|
862
|
+
enumerable: true,
|
|
863
|
+
configurable: true
|
|
864
|
+
});
|
|
865
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemBorderWidth", {
|
|
866
|
+
/**
|
|
867
|
+
* Gets or sets the border width to use for the buttons in the group when type is outlined.
|
|
868
|
+
*/
|
|
869
|
+
get: function () {
|
|
870
|
+
return this.i.a2;
|
|
871
|
+
},
|
|
872
|
+
set: function (v) {
|
|
873
|
+
this.i.a2 = +v;
|
|
874
|
+
this._a("outlinedItemBorderWidth", this.i.a2);
|
|
875
|
+
},
|
|
876
|
+
enumerable: true,
|
|
877
|
+
configurable: true
|
|
878
|
+
});
|
|
879
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedItemHoverTextColor", {
|
|
880
|
+
/**
|
|
881
|
+
* Gets or sets the color to use the hovered text of the buttons in the group when type is outlined.
|
|
882
|
+
*/
|
|
883
|
+
get: function () {
|
|
884
|
+
return brushToString(this.i.h1);
|
|
885
|
+
},
|
|
886
|
+
set: function (v) {
|
|
887
|
+
this.i.h1 = stringToBrush(v);
|
|
888
|
+
this._a("outlinedItemHoverTextColor", brushToString(this.i.h1));
|
|
889
|
+
},
|
|
890
|
+
enumerable: true,
|
|
891
|
+
configurable: true
|
|
892
|
+
});
|
|
893
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedSelectedItemBackgroundColor", {
|
|
894
|
+
/**
|
|
895
|
+
* Gets or sets the color to use the background of the buttons in the group that are selected when type is outlined.
|
|
896
|
+
*/
|
|
897
|
+
get: function () {
|
|
898
|
+
return brushToString(this.i.h3);
|
|
899
|
+
},
|
|
900
|
+
set: function (v) {
|
|
901
|
+
this.i.h3 = stringToBrush(v);
|
|
902
|
+
this._a("outlinedSelectedItemBackgroundColor", brushToString(this.i.h3));
|
|
903
|
+
},
|
|
904
|
+
enumerable: true,
|
|
905
|
+
configurable: true
|
|
906
|
+
});
|
|
907
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedSelectedItemTextColor", {
|
|
908
|
+
/**
|
|
909
|
+
* Gets or sets the color to use the text of the buttons in the group that are selected when type is outlined.
|
|
910
|
+
*/
|
|
911
|
+
get: function () {
|
|
912
|
+
return brushToString(this.i.h6);
|
|
913
|
+
},
|
|
914
|
+
set: function (v) {
|
|
915
|
+
this.i.h6 = stringToBrush(v);
|
|
916
|
+
this._a("outlinedSelectedItemTextColor", brushToString(this.i.h6));
|
|
917
|
+
},
|
|
918
|
+
enumerable: true,
|
|
919
|
+
configurable: true
|
|
920
|
+
});
|
|
921
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedSelectedItemHoverBackgroundColor", {
|
|
922
|
+
/**
|
|
923
|
+
* Gets or sets the color to use the hovered background of the buttons in the group that are selected when type is outlined.
|
|
924
|
+
*/
|
|
925
|
+
get: function () {
|
|
926
|
+
return brushToString(this.i.h4);
|
|
927
|
+
},
|
|
928
|
+
set: function (v) {
|
|
929
|
+
this.i.h4 = stringToBrush(v);
|
|
930
|
+
this._a("outlinedSelectedItemHoverBackgroundColor", brushToString(this.i.h4));
|
|
931
|
+
},
|
|
932
|
+
enumerable: true,
|
|
933
|
+
configurable: true
|
|
934
|
+
});
|
|
935
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "outlinedSelectedItemHoverTextColor", {
|
|
936
|
+
/**
|
|
937
|
+
* Gets or sets the color to use the hovered text of the buttons in the group that are selected when type is outlined.
|
|
938
|
+
*/
|
|
939
|
+
get: function () {
|
|
940
|
+
return brushToString(this.i.h5);
|
|
941
|
+
},
|
|
942
|
+
set: function (v) {
|
|
943
|
+
this.i.h5 = stringToBrush(v);
|
|
944
|
+
this._a("outlinedSelectedItemHoverTextColor", brushToString(this.i.h5));
|
|
945
|
+
},
|
|
946
|
+
enumerable: true,
|
|
947
|
+
configurable: true
|
|
948
|
+
});
|
|
949
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemCornerRadius", {
|
|
950
|
+
/**
|
|
951
|
+
* Gets or sets the corner radius to use for the appropriate corners for the flat type item buttons.
|
|
952
|
+
*/
|
|
953
|
+
get: function () {
|
|
954
|
+
return this.i.az;
|
|
955
|
+
},
|
|
956
|
+
set: function (v) {
|
|
957
|
+
this.i.az = +v;
|
|
958
|
+
this._a("flatItemCornerRadius", this.i.az);
|
|
959
|
+
},
|
|
960
|
+
enumerable: true,
|
|
961
|
+
configurable: true
|
|
962
|
+
});
|
|
963
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemBackgroundColor", {
|
|
964
|
+
/**
|
|
965
|
+
* Gets or sets the color to use the background of the buttons in the group when type is flat.
|
|
966
|
+
*/
|
|
967
|
+
get: function () {
|
|
968
|
+
return brushToString(this.i.hb);
|
|
969
|
+
},
|
|
970
|
+
set: function (v) {
|
|
971
|
+
this.i.hb = stringToBrush(v);
|
|
972
|
+
this._a("flatItemBackgroundColor", brushToString(this.i.hb));
|
|
973
|
+
},
|
|
974
|
+
enumerable: true,
|
|
975
|
+
configurable: true
|
|
976
|
+
});
|
|
977
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemDisabledBackgroundColor", {
|
|
978
|
+
/**
|
|
979
|
+
* Gets or sets the disabled color to use the background of the buttons in the group when type is flat.
|
|
980
|
+
*/
|
|
981
|
+
get: function () {
|
|
982
|
+
return brushToString(this.i.hd);
|
|
983
|
+
},
|
|
984
|
+
set: function (v) {
|
|
985
|
+
this.i.hd = stringToBrush(v);
|
|
986
|
+
this._a("flatItemDisabledBackgroundColor", brushToString(this.i.hd));
|
|
987
|
+
},
|
|
988
|
+
enumerable: true,
|
|
989
|
+
configurable: true
|
|
990
|
+
});
|
|
991
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemTextColor", {
|
|
992
|
+
/**
|
|
993
|
+
* Gets or sets the color to use the text of the buttons in the group when type is flat.
|
|
994
|
+
*/
|
|
995
|
+
get: function () {
|
|
996
|
+
return brushToString(this.i.hi);
|
|
997
|
+
},
|
|
998
|
+
set: function (v) {
|
|
999
|
+
this.i.hi = stringToBrush(v);
|
|
1000
|
+
this._a("flatItemTextColor", brushToString(this.i.hi));
|
|
1001
|
+
},
|
|
1002
|
+
enumerable: true,
|
|
1003
|
+
configurable: true
|
|
1004
|
+
});
|
|
1005
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemDisabledTextColor", {
|
|
1006
|
+
/**
|
|
1007
|
+
* Gets or sets the disabled color to use the text of the buttons in the group when type is flat.
|
|
1008
|
+
*/
|
|
1009
|
+
get: function () {
|
|
1010
|
+
return brushToString(this.i.hf);
|
|
1011
|
+
},
|
|
1012
|
+
set: function (v) {
|
|
1013
|
+
this.i.hf = stringToBrush(v);
|
|
1014
|
+
this._a("flatItemDisabledTextColor", brushToString(this.i.hf));
|
|
1015
|
+
},
|
|
1016
|
+
enumerable: true,
|
|
1017
|
+
configurable: true
|
|
1018
|
+
});
|
|
1019
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemHoverBackgroundColor", {
|
|
1020
|
+
/**
|
|
1021
|
+
* Gets or sets the color to use the hovered background of the buttons in the group when type is flat.
|
|
1022
|
+
*/
|
|
1023
|
+
get: function () {
|
|
1024
|
+
return brushToString(this.i.hg);
|
|
1025
|
+
},
|
|
1026
|
+
set: function (v) {
|
|
1027
|
+
this.i.hg = stringToBrush(v);
|
|
1028
|
+
this._a("flatItemHoverBackgroundColor", brushToString(this.i.hg));
|
|
1029
|
+
},
|
|
1030
|
+
enumerable: true,
|
|
1031
|
+
configurable: true
|
|
1032
|
+
});
|
|
1033
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemBorderColor", {
|
|
1034
|
+
/**
|
|
1035
|
+
* Gets or sets the color to use the border of the buttons in the group when type is flat.
|
|
1036
|
+
*/
|
|
1037
|
+
get: function () {
|
|
1038
|
+
return brushToString(this.i.hc);
|
|
1039
|
+
},
|
|
1040
|
+
set: function (v) {
|
|
1041
|
+
this.i.hc = stringToBrush(v);
|
|
1042
|
+
this._a("flatItemBorderColor", brushToString(this.i.hc));
|
|
1043
|
+
},
|
|
1044
|
+
enumerable: true,
|
|
1045
|
+
configurable: true
|
|
1046
|
+
});
|
|
1047
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemDisabledBorderColor", {
|
|
1048
|
+
/**
|
|
1049
|
+
* Gets or sets the disabled color to use the border of the buttons in the group when type is flat.
|
|
1050
|
+
*/
|
|
1051
|
+
get: function () {
|
|
1052
|
+
return brushToString(this.i.he);
|
|
1053
|
+
},
|
|
1054
|
+
set: function (v) {
|
|
1055
|
+
this.i.he = stringToBrush(v);
|
|
1056
|
+
this._a("flatItemDisabledBorderColor", brushToString(this.i.he));
|
|
1057
|
+
},
|
|
1058
|
+
enumerable: true,
|
|
1059
|
+
configurable: true
|
|
1060
|
+
});
|
|
1061
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemBorderWidth", {
|
|
1062
|
+
/**
|
|
1063
|
+
* Gets or sets the border width to use for the buttons in the group when type is flat.
|
|
1064
|
+
*/
|
|
1065
|
+
get: function () {
|
|
1066
|
+
return this.i.ay;
|
|
1067
|
+
},
|
|
1068
|
+
set: function (v) {
|
|
1069
|
+
this.i.ay = +v;
|
|
1070
|
+
this._a("flatItemBorderWidth", this.i.ay);
|
|
1071
|
+
},
|
|
1072
|
+
enumerable: true,
|
|
1073
|
+
configurable: true
|
|
1074
|
+
});
|
|
1075
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatItemHoverTextColor", {
|
|
1076
|
+
/**
|
|
1077
|
+
* Gets or sets the color to use the hovered text of the buttons in the group when type is flat.
|
|
1078
|
+
*/
|
|
1079
|
+
get: function () {
|
|
1080
|
+
return brushToString(this.i.hh);
|
|
1081
|
+
},
|
|
1082
|
+
set: function (v) {
|
|
1083
|
+
this.i.hh = stringToBrush(v);
|
|
1084
|
+
this._a("flatItemHoverTextColor", brushToString(this.i.hh));
|
|
1085
|
+
},
|
|
1086
|
+
enumerable: true,
|
|
1087
|
+
configurable: true
|
|
1088
|
+
});
|
|
1089
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatSelectedItemBackgroundColor", {
|
|
1090
|
+
/**
|
|
1091
|
+
* Gets or sets the color to use the background of the buttons in the group that are selected when type is flat.
|
|
1092
|
+
*/
|
|
1093
|
+
get: function () {
|
|
1094
|
+
return brushToString(this.i.hj);
|
|
1095
|
+
},
|
|
1096
|
+
set: function (v) {
|
|
1097
|
+
this.i.hj = stringToBrush(v);
|
|
1098
|
+
this._a("flatSelectedItemBackgroundColor", brushToString(this.i.hj));
|
|
1099
|
+
},
|
|
1100
|
+
enumerable: true,
|
|
1101
|
+
configurable: true
|
|
1102
|
+
});
|
|
1103
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatSelectedItemTextColor", {
|
|
1104
|
+
/**
|
|
1105
|
+
* Gets or sets the color to use the text of the buttons in the group that are selected when type is flat.
|
|
1106
|
+
*/
|
|
1107
|
+
get: function () {
|
|
1108
|
+
return brushToString(this.i.hm);
|
|
1109
|
+
},
|
|
1110
|
+
set: function (v) {
|
|
1111
|
+
this.i.hm = stringToBrush(v);
|
|
1112
|
+
this._a("flatSelectedItemTextColor", brushToString(this.i.hm));
|
|
1113
|
+
},
|
|
1114
|
+
enumerable: true,
|
|
1115
|
+
configurable: true
|
|
1116
|
+
});
|
|
1117
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatSelectedItemHoverBackgroundColor", {
|
|
1118
|
+
/**
|
|
1119
|
+
* Gets or sets the color to use the hovered background of the buttons in the group that are selected when type is flat.
|
|
1120
|
+
*/
|
|
1121
|
+
get: function () {
|
|
1122
|
+
return brushToString(this.i.hk);
|
|
1123
|
+
},
|
|
1124
|
+
set: function (v) {
|
|
1125
|
+
this.i.hk = stringToBrush(v);
|
|
1126
|
+
this._a("flatSelectedItemHoverBackgroundColor", brushToString(this.i.hk));
|
|
1127
|
+
},
|
|
1128
|
+
enumerable: true,
|
|
1129
|
+
configurable: true
|
|
1130
|
+
});
|
|
1131
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "flatSelectedItemHoverTextColor", {
|
|
1132
|
+
/**
|
|
1133
|
+
* Gets or sets the color to use the hovered text of the buttons in the group that are selected when type is flat.
|
|
1134
|
+
*/
|
|
1135
|
+
get: function () {
|
|
1136
|
+
return brushToString(this.i.hl);
|
|
1137
|
+
},
|
|
1138
|
+
set: function (v) {
|
|
1139
|
+
this.i.hl = stringToBrush(v);
|
|
1140
|
+
this._a("flatSelectedItemHoverTextColor", brushToString(this.i.hl));
|
|
1141
|
+
},
|
|
1142
|
+
enumerable: true,
|
|
1143
|
+
configurable: true
|
|
1144
|
+
});
|
|
1145
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "orientation", {
|
|
1146
|
+
/**
|
|
1147
|
+
* Gets or sets the oreientation to use the button group when type is outlined.
|
|
1148
|
+
*/
|
|
1149
|
+
get: function () {
|
|
1150
|
+
return this.i.r;
|
|
1151
|
+
},
|
|
1152
|
+
set: function (v) {
|
|
1153
|
+
this.i.r = ensureEnum(ButtonGroupOrientation_$type, v);
|
|
1154
|
+
this._a("orientation", enumToString(ButtonGroupOrientation_$type, this.i.r));
|
|
1155
|
+
},
|
|
1156
|
+
enumerable: true,
|
|
1157
|
+
configurable: true
|
|
1158
|
+
});
|
|
1159
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "id", {
|
|
1160
|
+
/**
|
|
1161
|
+
* Gets or sets the id to use for the button group.
|
|
1162
|
+
*/
|
|
1163
|
+
get: function () {
|
|
1164
|
+
return this.i.b5;
|
|
1165
|
+
},
|
|
1166
|
+
set: function (v) {
|
|
1167
|
+
this.i.b5 = v;
|
|
1168
|
+
},
|
|
1169
|
+
enumerable: true,
|
|
1170
|
+
configurable: true
|
|
1171
|
+
});
|
|
1172
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "disabled", {
|
|
1173
|
+
/**
|
|
1174
|
+
* Gets or sets whether the checkbox is disabled.
|
|
1175
|
+
*/
|
|
1176
|
+
get: function () {
|
|
1177
|
+
return this.i.disabled;
|
|
1178
|
+
},
|
|
1179
|
+
set: function (v) {
|
|
1180
|
+
this.i.disabled = ensureBool(v);
|
|
1181
|
+
this._a("disabled", this.i.disabled);
|
|
1182
|
+
},
|
|
1183
|
+
enumerable: true,
|
|
1184
|
+
configurable: true
|
|
1185
|
+
});
|
|
1186
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "isMultiSelect", {
|
|
1187
|
+
/**
|
|
1188
|
+
* Gets or sets whether the group supports multi-select.
|
|
1189
|
+
*/
|
|
1190
|
+
get: function () {
|
|
1191
|
+
return this.i.z;
|
|
1192
|
+
},
|
|
1193
|
+
set: function (v) {
|
|
1194
|
+
this.i.z = ensureBool(v);
|
|
1195
|
+
this._a("isMultiSelect", this.i.z);
|
|
1196
|
+
},
|
|
1197
|
+
enumerable: true,
|
|
1198
|
+
configurable: true
|
|
1199
|
+
});
|
|
1200
|
+
IgcButtonGroupComponent.prototype.findByName = function (name) {
|
|
1201
|
+
if (this.buttons != null && this.buttons.findByName && this.buttons.findByName(name)) {
|
|
1202
|
+
return this.buttons.findByName(name);
|
|
1203
|
+
}
|
|
1204
|
+
return null;
|
|
1205
|
+
};
|
|
1206
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "hasUserValues", {
|
|
1207
|
+
get: function () {
|
|
1208
|
+
return this._hasUserValues;
|
|
1209
|
+
},
|
|
1210
|
+
enumerable: true,
|
|
1211
|
+
configurable: true
|
|
1212
|
+
});
|
|
1213
|
+
IgcButtonGroupComponent.prototype.__m = function (propertyName) {
|
|
1214
|
+
if (!this._inStyling) {
|
|
1215
|
+
this._hasUserValues.add(propertyName);
|
|
1216
|
+
}
|
|
1217
|
+
};
|
|
1218
|
+
IgcButtonGroupComponent.prototype._styling = function (container, component, parent) {
|
|
1219
|
+
if (this._inStyling) {
|
|
1220
|
+
return;
|
|
1221
|
+
}
|
|
1222
|
+
this._inStyling = true;
|
|
1223
|
+
this._stylingContainer = container;
|
|
1224
|
+
this._stylingParent = component;
|
|
1225
|
+
var genericPrefix = "";
|
|
1226
|
+
var typeName = this.i.$type.name;
|
|
1227
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
1228
|
+
typeName = typeName.substring(3);
|
|
1229
|
+
}
|
|
1230
|
+
genericPrefix = toSpinal("ButtonGroupComponent");
|
|
1231
|
+
var additionalPrefixes = [];
|
|
1232
|
+
var prefix = toSpinal(typeName);
|
|
1233
|
+
additionalPrefixes.push(prefix + "-");
|
|
1234
|
+
var b = this.i.$type.baseType;
|
|
1235
|
+
while (b && b.name != "Object" &&
|
|
1236
|
+
b.name != "Base" &&
|
|
1237
|
+
b.name != "Control" &&
|
|
1238
|
+
b.Name != "DependencyObject" &&
|
|
1239
|
+
b.Name != "FrameworkElement") {
|
|
1240
|
+
typeName = b.name;
|
|
1241
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
1242
|
+
typeName = typeName.substring(3);
|
|
1243
|
+
}
|
|
1244
|
+
var basePrefix = toSpinal(typeName);
|
|
1245
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
1246
|
+
b = b.baseType;
|
|
1247
|
+
}
|
|
1248
|
+
if (parent) {
|
|
1249
|
+
var parentTypeName = parent.i.$type.name;
|
|
1250
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
1251
|
+
parentTypeName = parentTypeName.substring(3);
|
|
1252
|
+
}
|
|
1253
|
+
var parentPrefix = toSpinal(parentTypeName);
|
|
1254
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
1255
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
1256
|
+
}
|
|
1257
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
1258
|
+
if (this._otherStyling) {
|
|
1259
|
+
this._otherStyling(container, component, parent);
|
|
1260
|
+
}
|
|
1261
|
+
this._inStyling = false;
|
|
1262
|
+
};
|
|
1263
|
+
IgcButtonGroupComponent.prototype.onDetachedFromUI = function () {
|
|
1264
|
+
this.i.onDetachedFromUI();
|
|
1265
|
+
};
|
|
1266
|
+
IgcButtonGroupComponent.prototype.onAttachedToUI = function () {
|
|
1267
|
+
this.i.onAttachedToUI();
|
|
1268
|
+
};
|
|
1269
|
+
/**
|
|
1270
|
+
* Exports visual information about the current state of the grid.
|
|
1271
|
+
|
|
1272
|
+
*/
|
|
1273
|
+
IgcButtonGroupComponent.prototype.exportVisualModel = function () {
|
|
1274
|
+
var iv = this.i.a5();
|
|
1275
|
+
return (iv);
|
|
1276
|
+
};
|
|
1277
|
+
/**
|
|
1278
|
+
* Returns a serialized copy of the exported visual model
|
|
1279
|
+
|
|
1280
|
+
*/
|
|
1281
|
+
IgcButtonGroupComponent.prototype.exportSerializedVisualModel = function () {
|
|
1282
|
+
var iv = this.i.bq();
|
|
1283
|
+
return (iv);
|
|
1284
|
+
};
|
|
1285
|
+
Object.defineProperty(IgcButtonGroupComponent.prototype, "selectionChanged", {
|
|
1286
|
+
get: function () {
|
|
1287
|
+
return this._selectionChanged;
|
|
1288
|
+
},
|
|
1289
|
+
set: function (ev) {
|
|
1290
|
+
var _this = this;
|
|
1291
|
+
if (this._selectionChanged_wrapped !== null) {
|
|
1292
|
+
this.i.selectionChanged = delegateRemove(this.i.selectionChanged, this._selectionChanged_wrapped);
|
|
1293
|
+
this._selectionChanged_wrapped = null;
|
|
1294
|
+
this._selectionChanged = null;
|
|
1295
|
+
}
|
|
1296
|
+
this._selectionChanged = ev;
|
|
1297
|
+
this._selectionChanged_wrapped = function (o, e) {
|
|
1298
|
+
var outerArgs = new IgcButtonGroupSelectionChangedEventArgs();
|
|
1299
|
+
outerArgs._provideImplementation(e);
|
|
1300
|
+
if (_this.beforeSelectionChanged) {
|
|
1301
|
+
_this.beforeSelectionChanged(_this, outerArgs);
|
|
1302
|
+
}
|
|
1303
|
+
if (_this._selectionChanged) {
|
|
1304
|
+
_this._selectionChanged(_this, outerArgs);
|
|
1305
|
+
}
|
|
1306
|
+
};
|
|
1307
|
+
this.i.selectionChanged = delegateCombine(this.i.selectionChanged, this._selectionChanged_wrapped);
|
|
1308
|
+
},
|
|
1309
|
+
enumerable: true,
|
|
1310
|
+
configurable: true
|
|
1311
|
+
});
|
|
1312
|
+
IgcButtonGroupComponent._observedAttributesIgcButtonGroupComponent = null;
|
|
1313
|
+
IgcButtonGroupComponent.htmlTagName = "igc-button-group";
|
|
1314
|
+
IgcButtonGroupComponent._isElementRegistered = false;
|
|
1315
|
+
return IgcButtonGroupComponent;
|
|
1316
|
+
}(IgcHTMLElement));
|
|
1317
|
+
export { IgcButtonGroupComponent };
|
|
1318
|
+
//# sourceMappingURL=igc-button-group-component.js.map
|