igniteui-webcomponents-inputs 7.1.1-beta.0 → 7.1.1-beta.2
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/fesm2022/igniteui-webcomponents-inputs.mjs +40140 -0
- package/igniteui-webcomponents-inputs.d.ts +9883 -1
- package/package.json +13 -9
- package/bundles/igniteui-webcomponents-inputs.umd.js +0 -47852
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +0 -7
- package/esm2015/igniteui-webcomponents-inputs.js +0 -1
- package/esm2015/lib/ButtonClickEventArgs.js +0 -14
- package/esm2015/lib/ButtonDisplayStyle.js +0 -11
- package/esm2015/lib/ButtonGroupDisplayStyle.js +0 -11
- package/esm2015/lib/ButtonGroupOrientation.js +0 -16
- package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +0 -14
- package/esm2015/lib/ButtonGroupView.js +0 -7
- package/esm2015/lib/ButtonGroupView_combined.js +0 -1343
- package/esm2015/lib/ButtonGroupVisualModelExport.js +0 -62
- package/esm2015/lib/ButtonView.js +0 -7
- package/esm2015/lib/ButtonView_combined.js +0 -3668
- package/esm2015/lib/ButtonVisualModelExport.js +0 -108
- package/esm2015/lib/CalendarView.js +0 -7
- package/esm2015/lib/CalendarView_combined.js +0 -2803
- package/esm2015/lib/CalendarVisualModelExport.js +0 -98
- package/esm2015/lib/CheckboxChangeEventArgs.js +0 -31
- package/esm2015/lib/CheckboxLabelPosition.js +0 -11
- package/esm2015/lib/CheckboxListVisualModelExport.js +0 -41
- package/esm2015/lib/CheckboxView.js +0 -7
- package/esm2015/lib/CheckboxView_combined.js +0 -1123
- package/esm2015/lib/CheckboxVisualModelExport.js +0 -68
- package/esm2015/lib/ColorEditor.js +0 -7
- package/esm2015/lib/ColorEditorBridge.js +0 -7
- package/esm2015/lib/ColorEditorGotFocusEventArgs.js +0 -14
- package/esm2015/lib/ColorEditorLostFocusEventArgs.js +0 -14
- package/esm2015/lib/ColorEditorPanel.js +0 -7
- package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +0 -14
- package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +0 -31
- package/esm2015/lib/ColorEditorPanelView.js +0 -7
- package/esm2015/lib/ColorEditorView.js +0 -7
- package/esm2015/lib/ColorEditorVisualModelExport.js +0 -38
- package/esm2015/lib/DateFormats.js +0 -25
- package/esm2015/lib/DatePickerView.js +0 -7
- package/esm2015/lib/DatePickerView_combined.js +0 -1707
- package/esm2015/lib/DatePickerVisualModelExport.js +0 -68
- package/esm2015/lib/DateTimeValueFormatter.js +0 -106
- package/esm2015/lib/DayInfo.js +0 -21
- package/esm2015/lib/DayOfWeek.js +0 -45
- package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +0 -111
- package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +0 -206
- package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +0 -168
- package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +0 -191
- package/esm2015/lib/DefaultMultiTrackShadeVisual.js +0 -170
- package/esm2015/lib/ElevationHelper.js +0 -65
- package/esm2015/lib/FirstWeek.js +0 -29
- package/esm2015/lib/GotFocusEventArgs.js +0 -14
- package/esm2015/lib/IMultiSliderTrackBarVisual.js +0 -11
- package/esm2015/lib/IMultiSliderTrackRangeVisual.js +0 -11
- package/esm2015/lib/IMultiSliderTrackShadeVisual.js +0 -11
- package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +0 -11
- package/esm2015/lib/IMultiSliderTrackThumbVisual.js +0 -11
- package/esm2015/lib/ISliderTrackOwner.js +0 -11
- package/esm2015/lib/IconClickedEventArgs.js +0 -24
- package/esm2015/lib/IconView.js +0 -7
- package/esm2015/lib/IconViewType.js +0 -11
- package/esm2015/lib/IconView_combined.js +0 -1318
- package/esm2015/lib/IconVisualModelExport.js +0 -89
- package/esm2015/lib/InputChangeEventArgs.js +0 -31
- package/esm2015/lib/InputGroupDisplayType.js +0 -18
- package/esm2015/lib/InputGroupView.js +0 -7
- package/esm2015/lib/InputGroupView_combined.js +0 -5638
- package/esm2015/lib/InputGroupVisualModelExport.js +0 -107
- package/esm2015/lib/InputShiftType.js +0 -17
- package/esm2015/lib/InputView.js +0 -7
- package/esm2015/lib/InputVisualModelExport.js +0 -78
- package/esm2015/lib/KEYCODES.js +0 -11
- package/esm2015/lib/LabelShiftType.js +0 -17
- package/esm2015/lib/LabelView.js +0 -7
- package/esm2015/lib/LabelVisualModelExport.js +0 -82
- package/esm2015/lib/LostFocusEventArgs.js +0 -14
- package/esm2015/lib/MaskOptions.js +0 -19
- package/esm2015/lib/MaskParsingService.js +0 -211
- package/esm2015/lib/MultiSlider.js +0 -7
- package/esm2015/lib/MultiSliderBridge.js +0 -163
- package/esm2015/lib/MultiSliderCursor.js +0 -11
- package/esm2015/lib/MultiSliderHitInfo.js +0 -20
- package/esm2015/lib/MultiSliderOrientation.js +0 -17
- package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +0 -31
- package/esm2015/lib/MultiSliderThumb.js +0 -7
- package/esm2015/lib/MultiSliderThumbCollection.js +0 -19
- package/esm2015/lib/MultiSliderThumbRangePosition.js +0 -16
- package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +0 -19
- package/esm2015/lib/MultiSliderThumb_combined.js +0 -293
- package/esm2015/lib/MultiSliderTrackShadeOrientation.js +0 -11
- package/esm2015/lib/MultiSliderTrackThumbRange.js +0 -7
- package/esm2015/lib/MultiSliderView.js +0 -7
- package/esm2015/lib/MultiSliderView_combined.js +0 -1779
- package/esm2015/lib/MultiSliderVisualArea.js +0 -11
- package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +0 -18
- package/esm2015/lib/NativeUIXInputsFactory.js +0 -7
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +0 -2132
- package/esm2015/lib/PrefixShiftType.js +0 -17
- package/esm2015/lib/PrefixView.js +0 -7
- package/esm2015/lib/PrefixVisualModelExport.js +0 -33
- package/esm2015/lib/Replaced.js +0 -19
- package/esm2015/lib/RippleView.js +0 -7
- package/esm2015/lib/RippleView_combined.js +0 -392
- package/esm2015/lib/RippleVisualModelExport.js +0 -36
- package/esm2015/lib/SelectedValueChangedEventArgs.js +0 -31
- package/esm2015/lib/SuffixShiftType.js +0 -17
- package/esm2015/lib/SuffixView.js +0 -7
- package/esm2015/lib/SuffixVisualModelExport.js +0 -32
- package/esm2015/lib/TextBlockVisualModelExport.js +0 -62
- package/esm2015/lib/TextElementsVisualModelExport.js +0 -42
- package/esm2015/lib/Theme.js +0 -46
- package/esm2015/lib/ThemeResolver.js +0 -190
- package/esm2015/lib/XButton.js +0 -7
- package/esm2015/lib/XButtonBridge.js +0 -326
- package/esm2015/lib/XButtonGroup.js +0 -7
- package/esm2015/lib/XButtonGroupBridge.js +0 -185
- package/esm2015/lib/XButtonGroupButtonCollection.js +0 -26
- package/esm2015/lib/XCalendar.js +0 -7
- package/esm2015/lib/XCalendarLocaleEn.js +0 -56
- package/esm2015/lib/XCheckbox.js +0 -7
- package/esm2015/lib/XCheckboxBridge.js +0 -96
- package/esm2015/lib/XComponentBridge.js +0 -51
- package/esm2015/lib/XDatePicker.js +0 -7
- package/esm2015/lib/XIcon.js +0 -7
- package/esm2015/lib/XIconBridge.js +0 -128
- package/esm2015/lib/XIconButtonBridge.js +0 -75
- package/esm2015/lib/XInput.js +0 -7
- package/esm2015/lib/XInputBridge.js +0 -474
- package/esm2015/lib/XInputGroup.js +0 -7
- package/esm2015/lib/XInputGroupInputCollection.js +0 -7
- package/esm2015/lib/XInputGroupItem.js +0 -7
- package/esm2015/lib/XLabel.js +0 -7
- package/esm2015/lib/XPopupBridge.js +0 -323
- package/esm2015/lib/XPrefix.js +0 -7
- package/esm2015/lib/XRipple.js +0 -7
- package/esm2015/lib/XSuffix.js +0 -7
- package/esm2015/lib/igc-button-click-event-args.js +0 -30
- package/esm2015/lib/igc-button-group-selection-changed-event-args.js +0 -30
- package/esm2015/lib/igc-checkbox-change-event-args.js +0 -43
- package/esm2015/lib/igc-color-editor-component.js +0 -550
- package/esm2015/lib/igc-color-editor-got-focus-event-args.js +0 -30
- package/esm2015/lib/igc-color-editor-lost-focus-event-args.js +0 -30
- package/esm2015/lib/igc-color-editor-module.js +0 -19
- package/esm2015/lib/igc-color-editor-panel-closed-event-args.js +0 -30
- package/esm2015/lib/igc-color-editor-panel-component.js +0 -434
- package/esm2015/lib/igc-color-editor-panel-module.js +0 -25
- package/esm2015/lib/igc-color-editor-panel-selected-value-changed-event-args.js +0 -43
- package/esm2015/lib/igc-got-focus-event-args.js +0 -30
- package/esm2015/lib/igc-input-change-event-args.js +0 -43
- package/esm2015/lib/igc-lost-focus-event-args.js +0 -30
- package/esm2015/lib/igc-multi-slider-component.js +0 -683
- package/esm2015/lib/igc-multi-slider-module.js +0 -17
- package/esm2015/lib/igc-multi-slider-resolving-tool-tip-value-event-args.js +0 -42
- package/esm2015/lib/igc-multi-slider-thumb-collection.js +0 -53
- package/esm2015/lib/igc-multi-slider-thumb-component.js +0 -271
- package/esm2015/lib/igc-multi-slider-thumb-module.js +0 -16
- package/esm2015/lib/igc-multi-slider-thumb-value-changing-event-args.js +0 -54
- package/esm2015/lib/igc-multi-slider-track-thumb-range.js +0 -103
- package/esm2015/lib/igc-multi-slider-y-value-changing-event-args.js +0 -36
- package/esm2015/lib/igc-selected-value-changed-event-args.js +0 -42
- package/esm2015/lib/igc-x-button-component.js +0 -2398
- package/esm2015/lib/igc-x-button-group-button-collection.js +0 -53
- package/esm2015/lib/igc-x-button-group-component.js +0 -1023
- package/esm2015/lib/igc-x-button-group-module.js +0 -21
- package/esm2015/lib/igc-x-button-module.js +0 -21
- package/esm2015/lib/igc-x-calendar-component.js +0 -511
- package/esm2015/lib/igc-x-calendar-locale-en-module.js +0 -13
- package/esm2015/lib/igc-x-calendar-module.js +0 -21
- package/esm2015/lib/igc-x-checkbox-component.js +0 -626
- package/esm2015/lib/igc-x-checkbox-module.js +0 -21
- package/esm2015/lib/igc-x-date-picker-component.js +0 -680
- package/esm2015/lib/igc-x-date-picker-module.js +0 -25
- package/esm2015/lib/igc-x-icon-component.js +0 -705
- package/esm2015/lib/igc-x-icon-module.js +0 -19
- package/esm2015/lib/igc-x-input-component.js +0 -603
- package/esm2015/lib/igc-x-input-group-component.js +0 -2356
- package/esm2015/lib/igc-x-input-group-input-collection.js +0 -53
- package/esm2015/lib/igc-x-input-group-item-component.js +0 -198
- package/esm2015/lib/igc-x-input-group-module.js +0 -23
- package/esm2015/lib/igc-x-input-module.js +0 -19
- package/esm2015/lib/igc-x-label-component.js +0 -413
- package/esm2015/lib/igc-x-label-module.js +0 -19
- package/esm2015/lib/igc-x-prefix-component.js +0 -186
- package/esm2015/lib/igc-x-prefix-module.js +0 -19
- package/esm2015/lib/igc-x-ripple-component.js +0 -385
- package/esm2015/lib/igc-x-ripple-module.js +0 -17
- package/esm2015/lib/igc-x-suffix-component.js +0 -186
- package/esm2015/public_api.js +0 -169
- package/esm5/igniteui-webcomponents-inputs.js +0 -1
- package/esm5/lib/ButtonClickEventArgs.js +0 -19
- package/esm5/lib/ButtonDisplayStyle.js +0 -11
- package/esm5/lib/ButtonGroupDisplayStyle.js +0 -11
- package/esm5/lib/ButtonGroupOrientation.js +0 -16
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +0 -19
- package/esm5/lib/ButtonGroupView.js +0 -7
- package/esm5/lib/ButtonGroupView_combined.js +0 -1713
- package/esm5/lib/ButtonGroupVisualModelExport.js +0 -65
- package/esm5/lib/ButtonView.js +0 -7
- package/esm5/lib/ButtonView_combined.js +0 -4368
- package/esm5/lib/ButtonVisualModelExport.js +0 -111
- package/esm5/lib/CalendarView.js +0 -7
- package/esm5/lib/CalendarView_combined.js +0 -2929
- package/esm5/lib/CalendarVisualModelExport.js +0 -101
- package/esm5/lib/CheckboxChangeEventArgs.js +0 -42
- package/esm5/lib/CheckboxLabelPosition.js +0 -11
- package/esm5/lib/CheckboxListVisualModelExport.js +0 -44
- package/esm5/lib/CheckboxView.js +0 -7
- package/esm5/lib/CheckboxView_combined.js +0 -1327
- package/esm5/lib/CheckboxVisualModelExport.js +0 -71
- package/esm5/lib/ColorEditor.js +0 -7
- package/esm5/lib/ColorEditorBridge.js +0 -7
- package/esm5/lib/ColorEditorGotFocusEventArgs.js +0 -19
- package/esm5/lib/ColorEditorLostFocusEventArgs.js +0 -19
- package/esm5/lib/ColorEditorPanel.js +0 -7
- package/esm5/lib/ColorEditorPanelClosedEventArgs.js +0 -19
- package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +0 -42
- package/esm5/lib/ColorEditorPanelView.js +0 -7
- package/esm5/lib/ColorEditorView.js +0 -7
- package/esm5/lib/ColorEditorVisualModelExport.js +0 -41
- package/esm5/lib/DateFormats.js +0 -25
- package/esm5/lib/DatePickerView.js +0 -7
- package/esm5/lib/DatePickerView_combined.js +0 -1833
- package/esm5/lib/DatePickerVisualModelExport.js +0 -71
- package/esm5/lib/DateTimeValueFormatter.js +0 -109
- package/esm5/lib/DayInfo.js +0 -24
- package/esm5/lib/DayOfWeek.js +0 -45
- package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +0 -138
- package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +0 -241
- package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +0 -211
- package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +0 -226
- package/esm5/lib/DefaultMultiTrackShadeVisual.js +0 -205
- package/esm5/lib/ElevationHelper.js +0 -70
- package/esm5/lib/FirstWeek.js +0 -29
- package/esm5/lib/GotFocusEventArgs.js +0 -19
- package/esm5/lib/IMultiSliderTrackBarVisual.js +0 -11
- package/esm5/lib/IMultiSliderTrackRangeVisual.js +0 -11
- package/esm5/lib/IMultiSliderTrackShadeVisual.js +0 -11
- package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +0 -11
- package/esm5/lib/IMultiSliderTrackThumbVisual.js +0 -11
- package/esm5/lib/ISliderTrackOwner.js +0 -11
- package/esm5/lib/IconClickedEventArgs.js +0 -31
- package/esm5/lib/IconView.js +0 -7
- package/esm5/lib/IconViewType.js +0 -11
- package/esm5/lib/IconView_combined.js +0 -1590
- package/esm5/lib/IconVisualModelExport.js +0 -100
- package/esm5/lib/InputChangeEventArgs.js +0 -42
- package/esm5/lib/InputGroupDisplayType.js +0 -18
- package/esm5/lib/InputGroupView.js +0 -7
- package/esm5/lib/InputGroupView_combined.js +0 -6792
- package/esm5/lib/InputGroupVisualModelExport.js +0 -110
- package/esm5/lib/InputShiftType.js +0 -17
- package/esm5/lib/InputView.js +0 -7
- package/esm5/lib/InputVisualModelExport.js +0 -81
- package/esm5/lib/KEYCODES.js +0 -11
- package/esm5/lib/LabelShiftType.js +0 -17
- package/esm5/lib/LabelView.js +0 -7
- package/esm5/lib/LabelVisualModelExport.js +0 -85
- package/esm5/lib/LostFocusEventArgs.js +0 -19
- package/esm5/lib/MaskOptions.js +0 -22
- package/esm5/lib/MaskParsingService.js +0 -266
- package/esm5/lib/MultiSlider.js +0 -7
- package/esm5/lib/MultiSliderBridge.js +0 -166
- package/esm5/lib/MultiSliderCursor.js +0 -11
- package/esm5/lib/MultiSliderHitInfo.js +0 -23
- package/esm5/lib/MultiSliderOrientation.js +0 -17
- package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +0 -42
- package/esm5/lib/MultiSliderThumb.js +0 -7
- package/esm5/lib/MultiSliderThumbCollection.js +0 -21
- package/esm5/lib/MultiSliderThumbRangePosition.js +0 -16
- package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +0 -22
- package/esm5/lib/MultiSliderThumb_combined.js +0 -350
- package/esm5/lib/MultiSliderTrackShadeOrientation.js +0 -11
- package/esm5/lib/MultiSliderTrackThumbRange.js +0 -7
- package/esm5/lib/MultiSliderView.js +0 -7
- package/esm5/lib/MultiSliderView_combined.js +0 -2002
- package/esm5/lib/MultiSliderVisualArea.js +0 -11
- package/esm5/lib/MultiSliderYValueChangingEventArgs.js +0 -21
- package/esm5/lib/NativeUIXInputsFactory.js +0 -7
- package/esm5/lib/NativeUIXInputsFactory_combined.js +0 -2327
- package/esm5/lib/PrefixShiftType.js +0 -17
- package/esm5/lib/PrefixView.js +0 -7
- package/esm5/lib/PrefixVisualModelExport.js +0 -36
- package/esm5/lib/Replaced.js +0 -22
- package/esm5/lib/RippleView.js +0 -7
- package/esm5/lib/RippleView_combined.js +0 -489
- package/esm5/lib/RippleVisualModelExport.js +0 -39
- package/esm5/lib/SelectedValueChangedEventArgs.js +0 -42
- package/esm5/lib/SuffixShiftType.js +0 -17
- package/esm5/lib/SuffixView.js +0 -7
- package/esm5/lib/SuffixVisualModelExport.js +0 -35
- package/esm5/lib/TextBlockVisualModelExport.js +0 -65
- package/esm5/lib/TextElementsVisualModelExport.js +0 -45
- package/esm5/lib/Theme.js +0 -57
- package/esm5/lib/ThemeResolver.js +0 -197
- package/esm5/lib/XButton.js +0 -7
- package/esm5/lib/XButtonBridge.js +0 -329
- package/esm5/lib/XButtonGroup.js +0 -7
- package/esm5/lib/XButtonGroupBridge.js +0 -188
- package/esm5/lib/XButtonGroupButtonCollection.js +0 -29
- package/esm5/lib/XCalendar.js +0 -7
- package/esm5/lib/XCalendarLocaleEn.js +0 -58
- package/esm5/lib/XCheckbox.js +0 -7
- package/esm5/lib/XCheckboxBridge.js +0 -99
- package/esm5/lib/XComponentBridge.js +0 -58
- package/esm5/lib/XDatePicker.js +0 -7
- package/esm5/lib/XIcon.js +0 -7
- package/esm5/lib/XIconBridge.js +0 -131
- package/esm5/lib/XIconButtonBridge.js +0 -78
- package/esm5/lib/XInput.js +0 -7
- package/esm5/lib/XInputBridge.js +0 -477
- package/esm5/lib/XInputGroup.js +0 -7
- package/esm5/lib/XInputGroupInputCollection.js +0 -7
- package/esm5/lib/XInputGroupItem.js +0 -7
- package/esm5/lib/XLabel.js +0 -7
- package/esm5/lib/XPopupBridge.js +0 -326
- package/esm5/lib/XPrefix.js +0 -7
- package/esm5/lib/XRipple.js +0 -7
- package/esm5/lib/XSuffix.js +0 -7
- package/esm5/lib/igc-button-click-event-args.js +0 -36
- package/esm5/lib/igc-button-group-selection-changed-event-args.js +0 -36
- package/esm5/lib/igc-checkbox-change-event-args.js +0 -57
- package/esm5/lib/igc-color-editor-component.js +0 -663
- package/esm5/lib/igc-color-editor-got-focus-event-args.js +0 -36
- package/esm5/lib/igc-color-editor-lost-focus-event-args.js +0 -36
- package/esm5/lib/igc-color-editor-module.js +0 -23
- package/esm5/lib/igc-color-editor-panel-closed-event-args.js +0 -36
- package/esm5/lib/igc-color-editor-panel-component.js +0 -521
- package/esm5/lib/igc-color-editor-panel-module.js +0 -29
- package/esm5/lib/igc-color-editor-panel-selected-value-changed-event-args.js +0 -57
- package/esm5/lib/igc-got-focus-event-args.js +0 -36
- package/esm5/lib/igc-input-change-event-args.js +0 -57
- package/esm5/lib/igc-lost-focus-event-args.js +0 -36
- package/esm5/lib/igc-multi-slider-component.js +0 -888
- package/esm5/lib/igc-multi-slider-module.js +0 -21
- package/esm5/lib/igc-multi-slider-resolving-tool-tip-value-event-args.js +0 -56
- package/esm5/lib/igc-multi-slider-thumb-collection.js +0 -58
- package/esm5/lib/igc-multi-slider-thumb-component.js +0 -300
- package/esm5/lib/igc-multi-slider-thumb-module.js +0 -20
- package/esm5/lib/igc-multi-slider-thumb-value-changing-event-args.js +0 -68
- package/esm5/lib/igc-multi-slider-track-thumb-range.js +0 -133
- package/esm5/lib/igc-multi-slider-y-value-changing-event-args.js +0 -46
- package/esm5/lib/igc-selected-value-changed-event-args.js +0 -56
- package/esm5/lib/igc-x-button-component.js +0 -3162
- package/esm5/lib/igc-x-button-group-button-collection.js +0 -58
- package/esm5/lib/igc-x-button-group-component.js +0 -1322
- package/esm5/lib/igc-x-button-group-module.js +0 -25
- package/esm5/lib/igc-x-button-module.js +0 -25
- package/esm5/lib/igc-x-calendar-component.js +0 -625
- package/esm5/lib/igc-x-calendar-locale-en-module.js +0 -17
- package/esm5/lib/igc-x-calendar-module.js +0 -25
- package/esm5/lib/igc-x-checkbox-component.js +0 -792
- package/esm5/lib/igc-x-checkbox-module.js +0 -25
- package/esm5/lib/igc-x-date-picker-component.js +0 -834
- package/esm5/lib/igc-x-date-picker-module.js +0 -29
- package/esm5/lib/igc-x-icon-component.js +0 -898
- package/esm5/lib/igc-x-icon-module.js +0 -23
- package/esm5/lib/igc-x-input-component.js +0 -763
- package/esm5/lib/igc-x-input-group-component.js +0 -3034
- package/esm5/lib/igc-x-input-group-input-collection.js +0 -58
- package/esm5/lib/igc-x-input-group-item-component.js +0 -214
- package/esm5/lib/igc-x-input-group-module.js +0 -27
- package/esm5/lib/igc-x-input-module.js +0 -23
- package/esm5/lib/igc-x-label-component.js +0 -538
- package/esm5/lib/igc-x-label-module.js +0 -23
- package/esm5/lib/igc-x-prefix-component.js +0 -227
- package/esm5/lib/igc-x-prefix-module.js +0 -23
- package/esm5/lib/igc-x-ripple-component.js +0 -453
- package/esm5/lib/igc-x-ripple-module.js +0 -21
- package/esm5/lib/igc-x-suffix-component.js +0 -227
- package/esm5/public_api.js +0 -169
- package/fesm2015/igniteui-webcomponents-inputs.js +0 -40191
- package/fesm5/igniteui-webcomponents-inputs.js +0 -47666
- package/lib/ButtonClickEventArgs.d.ts +0 -7
- package/lib/ButtonDisplayStyle.d.ts +0 -15
- package/lib/ButtonGroupDisplayStyle.d.ts +0 -12
- package/lib/ButtonGroupOrientation.d.ts +0 -9
- package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +0 -7
- package/lib/ButtonGroupView.d.ts +0 -1
- package/lib/ButtonGroupView_combined.d.ts +0 -374
- package/lib/ButtonGroupVisualModelExport.d.ts +0 -28
- package/lib/ButtonView.d.ts +0 -1
- package/lib/ButtonView_combined.d.ts +0 -708
- package/lib/ButtonVisualModelExport.d.ts +0 -47
- package/lib/CalendarView.d.ts +0 -1
- package/lib/CalendarView_combined.d.ts +0 -234
- package/lib/CalendarVisualModelExport.d.ts +0 -33
- package/lib/CheckboxChangeEventArgs.d.ts +0 -13
- package/lib/CheckboxLabelPosition.d.ts +0 -12
- package/lib/CheckboxListVisualModelExport.d.ts +0 -18
- package/lib/CheckboxView.d.ts +0 -1
- package/lib/CheckboxView_combined.d.ts +0 -216
- package/lib/CheckboxVisualModelExport.d.ts +0 -32
- package/lib/ColorEditor.d.ts +0 -1
- package/lib/ColorEditorBridge.d.ts +0 -1
- package/lib/ColorEditorGotFocusEventArgs.d.ts +0 -7
- package/lib/ColorEditorLostFocusEventArgs.d.ts +0 -7
- package/lib/ColorEditorPanel.d.ts +0 -1
- package/lib/ColorEditorPanelClosedEventArgs.d.ts +0 -7
- package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +0 -14
- package/lib/ColorEditorPanelView.d.ts +0 -1
- package/lib/ColorEditorView.d.ts +0 -1
- package/lib/ColorEditorVisualModelExport.d.ts +0 -17
- package/lib/DateFormats.d.ts +0 -18
- package/lib/DatePickerView.d.ts +0 -1
- package/lib/DatePickerView_combined.d.ts +0 -247
- package/lib/DatePickerVisualModelExport.d.ts +0 -24
- package/lib/DateTimeValueFormatter.d.ts +0 -20
- package/lib/DayInfo.d.ts +0 -13
- package/lib/DayOfWeek.d.ts +0 -38
- package/lib/DefaultMultiSliderTrackBarVisual.d.ts +0 -34
- package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +0 -43
- package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +0 -49
- package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +0 -45
- package/lib/DefaultMultiTrackShadeVisual.d.ts +0 -42
- package/lib/ElevationHelper.d.ts +0 -16
- package/lib/FirstWeek.d.ts +0 -22
- package/lib/GotFocusEventArgs.d.ts +0 -7
- package/lib/IMultiSliderTrackBarVisual.d.ts +0 -21
- package/lib/IMultiSliderTrackRangeVisual.d.ts +0 -25
- package/lib/IMultiSliderTrackShadeVisual.d.ts +0 -24
- package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +0 -27
- package/lib/IMultiSliderTrackThumbVisual.d.ts +0 -27
- package/lib/ISliderTrackOwner.d.ts +0 -15
- package/lib/IconClickedEventArgs.d.ts +0 -10
- package/lib/IconView.d.ts +0 -1
- package/lib/IconViewType.d.ts +0 -16
- package/lib/IconView_combined.d.ts +0 -257
- package/lib/IconVisualModelExport.d.ts +0 -32
- package/lib/InputChangeEventArgs.d.ts +0 -13
- package/lib/InputGroupDisplayType.d.ts +0 -11
- package/lib/InputGroupView.d.ts +0 -1
- package/lib/InputGroupView_combined.d.ts +0 -1213
- package/lib/InputGroupVisualModelExport.d.ts +0 -44
- package/lib/InputShiftType.d.ts +0 -10
- package/lib/InputView.d.ts +0 -1
- package/lib/InputVisualModelExport.d.ts +0 -32
- package/lib/KEYCODES.d.ts +0 -27
- package/lib/LabelShiftType.d.ts +0 -10
- package/lib/LabelView.d.ts +0 -1
- package/lib/LabelVisualModelExport.d.ts +0 -34
- package/lib/LostFocusEventArgs.d.ts +0 -7
- package/lib/MaskOptions.d.ts +0 -9
- package/lib/MaskParsingService.d.ts +0 -19
- package/lib/MultiSlider.d.ts +0 -1
- package/lib/MultiSliderBridge.d.ts +0 -24
- package/lib/MultiSliderCursor.d.ts +0 -15
- package/lib/MultiSliderHitInfo.d.ts +0 -13
- package/lib/MultiSliderOrientation.d.ts +0 -10
- package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +0 -13
- package/lib/MultiSliderThumb.d.ts +0 -1
- package/lib/MultiSliderThumbCollection.d.ts +0 -10
- package/lib/MultiSliderThumbRangePosition.d.ts +0 -9
- package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +0 -10
- package/lib/MultiSliderThumb_combined.d.ts +0 -76
- package/lib/MultiSliderTrackShadeOrientation.d.ts +0 -14
- package/lib/MultiSliderTrackThumbRange.d.ts +0 -1
- package/lib/MultiSliderView.d.ts +0 -1
- package/lib/MultiSliderView_combined.d.ts +0 -298
- package/lib/MultiSliderVisualArea.d.ts +0 -14
- package/lib/MultiSliderYValueChangingEventArgs.d.ts +0 -8
- package/lib/NativeUIXInputsFactory.d.ts +0 -1
- package/lib/NativeUIXInputsFactory_combined.d.ts +0 -400
- package/lib/PrefixShiftType.d.ts +0 -10
- package/lib/PrefixView.d.ts +0 -1
- package/lib/PrefixVisualModelExport.d.ts +0 -13
- package/lib/Replaced.d.ts +0 -9
- package/lib/RippleView.d.ts +0 -1
- package/lib/RippleView_combined.d.ts +0 -98
- package/lib/RippleVisualModelExport.d.ts +0 -15
- package/lib/SelectedValueChangedEventArgs.d.ts +0 -13
- package/lib/SuffixShiftType.d.ts +0 -10
- package/lib/SuffixView.d.ts +0 -1
- package/lib/SuffixVisualModelExport.d.ts +0 -13
- package/lib/TextBlockVisualModelExport.d.ts +0 -21
- package/lib/TextElementsVisualModelExport.d.ts +0 -16
- package/lib/Theme.d.ts +0 -15
- package/lib/ThemeResolver.d.ts +0 -59
- package/lib/XButton.d.ts +0 -1
- package/lib/XButtonBridge.d.ts +0 -40
- package/lib/XButtonGroup.d.ts +0 -1
- package/lib/XButtonGroupBridge.d.ts +0 -29
- package/lib/XButtonGroupButtonCollection.d.ts +0 -12
- package/lib/XCalendar.d.ts +0 -1
- package/lib/XCalendarLocaleEn.d.ts +0 -49
- package/lib/XCheckbox.d.ts +0 -1
- package/lib/XCheckboxBridge.d.ts +0 -20
- package/lib/XComponentBridge.d.ts +0 -18
- package/lib/XDatePicker.d.ts +0 -1
- package/lib/XIcon.d.ts +0 -1
- package/lib/XIconBridge.d.ts +0 -18
- package/lib/XIconButtonBridge.d.ts +0 -16
- package/lib/XInput.d.ts +0 -1
- package/lib/XInputBridge.d.ts +0 -53
- package/lib/XInputGroup.d.ts +0 -1
- package/lib/XInputGroupInputCollection.d.ts +0 -1
- package/lib/XInputGroupItem.d.ts +0 -1
- package/lib/XLabel.d.ts +0 -1
- package/lib/XPopupBridge.d.ts +0 -57
- package/lib/XPrefix.d.ts +0 -1
- package/lib/XRipple.d.ts +0 -1
- package/lib/XSuffix.d.ts +0 -1
- package/lib/igc-button-click-event-args.d.ts +0 -12
- package/lib/igc-button-group-selection-changed-event-args.d.ts +0 -12
- package/lib/igc-checkbox-change-event-args.d.ts +0 -16
- package/lib/igc-color-editor-component.d.ts +0 -163
- package/lib/igc-color-editor-got-focus-event-args.d.ts +0 -12
- package/lib/igc-color-editor-lost-focus-event-args.d.ts +0 -12
- package/lib/igc-color-editor-module.d.ts +0 -3
- package/lib/igc-color-editor-panel-closed-event-args.d.ts +0 -12
- package/lib/igc-color-editor-panel-component.d.ts +0 -124
- package/lib/igc-color-editor-panel-module.d.ts +0 -3
- package/lib/igc-color-editor-panel-selected-value-changed-event-args.d.ts +0 -16
- package/lib/igc-got-focus-event-args.d.ts +0 -12
- package/lib/igc-input-change-event-args.d.ts +0 -16
- package/lib/igc-lost-focus-event-args.d.ts +0 -12
- package/lib/igc-multi-slider-component.d.ts +0 -174
- package/lib/igc-multi-slider-module.d.ts +0 -3
- package/lib/igc-multi-slider-resolving-tool-tip-value-event-args.d.ts +0 -16
- package/lib/igc-multi-slider-thumb-collection.d.ts +0 -8
- package/lib/igc-multi-slider-thumb-component.d.ts +0 -53
- package/lib/igc-multi-slider-thumb-module.d.ts +0 -3
- package/lib/igc-multi-slider-thumb-value-changing-event-args.d.ts +0 -17
- package/lib/igc-multi-slider-track-thumb-range.d.ts +0 -26
- package/lib/igc-multi-slider-y-value-changing-event-args.d.ts +0 -14
- package/lib/igc-selected-value-changed-event-args.d.ts +0 -16
- package/lib/igc-x-button-component.d.ts +0 -902
- package/lib/igc-x-button-group-button-collection.d.ts +0 -8
- package/lib/igc-x-button-group-component.d.ts +0 -410
- package/lib/igc-x-button-group-module.d.ts +0 -3
- package/lib/igc-x-button-module.d.ts +0 -3
- package/lib/igc-x-calendar-component.d.ts +0 -181
- package/lib/igc-x-calendar-locale-en-module.d.ts +0 -3
- package/lib/igc-x-calendar-module.d.ts +0 -3
- package/lib/igc-x-checkbox-component.d.ts +0 -232
- package/lib/igc-x-checkbox-module.d.ts +0 -3
- package/lib/igc-x-date-picker-component.d.ts +0 -226
- package/lib/igc-x-date-picker-module.d.ts +0 -3
- package/lib/igc-x-icon-component.d.ts +0 -285
- package/lib/igc-x-icon-module.d.ts +0 -3
- package/lib/igc-x-input-component.d.ts +0 -194
- package/lib/igc-x-input-group-component.d.ts +0 -748
- package/lib/igc-x-input-group-input-collection.d.ts +0 -8
- package/lib/igc-x-input-group-item-component.d.ts +0 -41
- package/lib/igc-x-input-group-module.d.ts +0 -3
- package/lib/igc-x-input-module.d.ts +0 -3
- package/lib/igc-x-label-component.d.ts +0 -171
- package/lib/igc-x-label-module.d.ts +0 -3
- package/lib/igc-x-prefix-component.d.ts +0 -59
- package/lib/igc-x-prefix-module.d.ts +0 -3
- package/lib/igc-x-ripple-component.d.ts +0 -118
- package/lib/igc-x-ripple-module.d.ts +0 -3
- package/lib/igc-x-suffix-component.d.ts +0 -59
- package/public_api.d.ts +0 -169
|
@@ -1,1322 +0,0 @@
|
|
|
1
|
-
import { __extends, __values } from "tslib";
|
|
2
|
-
import { XButtonGroup } from "./XButtonGroup";
|
|
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 { IgcXButtonComponent } from './igc-x-button-component';
|
|
9
|
-
import { IgcXButtonGroupButtonCollection } from './igc-x-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
|
-
export var IgcXButtonGroupComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
19
|
-
__extends(IgcXButtonGroupComponent, _super);
|
|
20
|
-
function IgcXButtonGroupComponent() {
|
|
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 = __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(IgcXButtonGroupComponent.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 IgcXButtonGroupButtonCollection();
|
|
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: false,
|
|
134
|
-
configurable: true
|
|
135
|
-
});
|
|
136
|
-
IgcXButtonGroupComponent.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
|
-
IgcXButtonGroupComponent.prototype.updateButtons = function () {
|
|
147
|
-
this.contentButtons.length = 0;
|
|
148
|
-
for (var i = 0; i < this.children.length; i++) {
|
|
149
|
-
if (this.children[i] instanceof IgcXButtonComponent) {
|
|
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 IgcXButtonComponent) {
|
|
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
|
-
IgcXButtonGroupComponent.prototype.updateStyle = function () {
|
|
167
|
-
this._styling(this, this);
|
|
168
|
-
};
|
|
169
|
-
IgcXButtonGroupComponent.prototype.destroy = function () {
|
|
170
|
-
this._buttonGroup.destroy();
|
|
171
|
-
this._wrapper.destroy();
|
|
172
|
-
};
|
|
173
|
-
IgcXButtonGroupComponent.prototype.createImplementation = function () {
|
|
174
|
-
return new XButtonGroup();
|
|
175
|
-
};
|
|
176
|
-
IgcXButtonGroupComponent.prototype.disconnectedCallback = function () {
|
|
177
|
-
this._disconnected = true;
|
|
178
|
-
if (this.i) {
|
|
179
|
-
this.i.onDetachedFromUI();
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
IgcXButtonGroupComponent.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-x-button-group");
|
|
191
|
-
this.classList.add("igc-x-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
|
-
IgcXButtonGroupComponent.prototype.afterContentInit = function () {
|
|
203
|
-
//this.i.notifySizeChanged();
|
|
204
|
-
};
|
|
205
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "i", {
|
|
206
|
-
/**
|
|
207
|
-
* @hidden
|
|
208
|
-
*/
|
|
209
|
-
get: function () {
|
|
210
|
-
return this._implementation;
|
|
211
|
-
} /**
|
|
212
|
-
* @hidden
|
|
213
|
-
*/,
|
|
214
|
-
enumerable: false,
|
|
215
|
-
configurable: true
|
|
216
|
-
});
|
|
217
|
-
IgcXButtonGroupComponent._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
|
-
IgcXButtonGroupComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
232
|
-
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
233
|
-
};
|
|
234
|
-
IgcXButtonGroupComponent.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
|
-
IgcXButtonGroupComponent.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(IgcXButtonGroupComponent, "observedAttributes", {
|
|
260
|
-
get: function () {
|
|
261
|
-
if (IgcXButtonGroupComponent._observedAttributesIgcXButtonGroupComponent == null) {
|
|
262
|
-
var names = getAllPropertyNames(IgcXButtonGroupComponent);
|
|
263
|
-
for (var i = 0; i < names.length; i++) {
|
|
264
|
-
names[i] = toSpinal(names[i]);
|
|
265
|
-
}
|
|
266
|
-
IgcXButtonGroupComponent._observedAttributesIgcXButtonGroupComponent = names;
|
|
267
|
-
}
|
|
268
|
-
return IgcXButtonGroupComponent._observedAttributesIgcXButtonGroupComponent;
|
|
269
|
-
},
|
|
270
|
-
enumerable: false,
|
|
271
|
-
configurable: true
|
|
272
|
-
});
|
|
273
|
-
IgcXButtonGroupComponent.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
|
-
IgcXButtonGroupComponent.register = function () {
|
|
283
|
-
if (!IgcXButtonGroupComponent._isElementRegistered) {
|
|
284
|
-
IgcXButtonGroupComponent._isElementRegistered = true;
|
|
285
|
-
RegisterElementHelper.registerElement(IgcXButtonGroupComponent.htmlTagName, IgcXButtonGroupComponent);
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "displayType", {
|
|
289
|
-
/**
|
|
290
|
-
* Gets or sets the display style to use for the button.
|
|
291
|
-
*/
|
|
292
|
-
get: function () {
|
|
293
|
-
return this.i.i;
|
|
294
|
-
},
|
|
295
|
-
set: function (v) {
|
|
296
|
-
this.i.i = ensureEnum(ButtonGroupDisplayStyle_$type, v);
|
|
297
|
-
this._a("displayType", enumToString(ButtonGroupDisplayStyle_$type, this.i.i));
|
|
298
|
-
},
|
|
299
|
-
enumerable: false,
|
|
300
|
-
configurable: true
|
|
301
|
-
});
|
|
302
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.q;
|
|
308
|
-
},
|
|
309
|
-
set: function (v) {
|
|
310
|
-
this.i.q = ensureEnum(BaseControlTheme_$type, v);
|
|
311
|
-
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.q));
|
|
312
|
-
},
|
|
313
|
-
enumerable: false,
|
|
314
|
-
configurable: true
|
|
315
|
-
});
|
|
316
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "density", {
|
|
317
|
-
/**
|
|
318
|
-
* Gets or sets the display density to use for the button group.
|
|
319
|
-
*/
|
|
320
|
-
get: function () {
|
|
321
|
-
return this.i.u;
|
|
322
|
-
},
|
|
323
|
-
set: function (v) {
|
|
324
|
-
this.i.u = ensureEnum(ControlDisplayDensity_$type, v);
|
|
325
|
-
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.u));
|
|
326
|
-
},
|
|
327
|
-
enumerable: false,
|
|
328
|
-
configurable: true
|
|
329
|
-
});
|
|
330
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualDensity", {
|
|
331
|
-
/**
|
|
332
|
-
* Gets the actual display density to use for the button group.
|
|
333
|
-
*/
|
|
334
|
-
get: function () {
|
|
335
|
-
return this.i.t;
|
|
336
|
-
},
|
|
337
|
-
set: function (v) {
|
|
338
|
-
this.i.t = ensureEnum(ControlDisplayDensity_$type, v);
|
|
339
|
-
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.t));
|
|
340
|
-
},
|
|
341
|
-
enumerable: false,
|
|
342
|
-
configurable: true
|
|
343
|
-
});
|
|
344
|
-
Object.defineProperty(IgcXButtonGroupComponent.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: false,
|
|
359
|
-
configurable: true
|
|
360
|
-
});
|
|
361
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemCornerRadius", {
|
|
362
|
-
/**
|
|
363
|
-
* Gets the actual item corner radius for the appropriate corners.
|
|
364
|
-
*/
|
|
365
|
-
get: function () {
|
|
366
|
-
return this.i.am;
|
|
367
|
-
},
|
|
368
|
-
set: function (v) {
|
|
369
|
-
this.i.am = +v;
|
|
370
|
-
this._a("actualItemCornerRadius", this.i.am);
|
|
371
|
-
},
|
|
372
|
-
enumerable: false,
|
|
373
|
-
configurable: true
|
|
374
|
-
});
|
|
375
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemBackgroundColor", {
|
|
376
|
-
/**
|
|
377
|
-
* Gets the actual item background color.
|
|
378
|
-
*/
|
|
379
|
-
get: function () {
|
|
380
|
-
return brushToString(this.i.e0);
|
|
381
|
-
},
|
|
382
|
-
set: function (v) {
|
|
383
|
-
this.i.e0 = stringToBrush(v);
|
|
384
|
-
this._a("actualItemBackgroundColor", brushToString(this.i.e0));
|
|
385
|
-
},
|
|
386
|
-
enumerable: false,
|
|
387
|
-
configurable: true
|
|
388
|
-
});
|
|
389
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemDisabledBackgroundColor", {
|
|
390
|
-
/**
|
|
391
|
-
* Gets the actual item background color.
|
|
392
|
-
*/
|
|
393
|
-
get: function () {
|
|
394
|
-
return brushToString(this.i.e2);
|
|
395
|
-
},
|
|
396
|
-
set: function (v) {
|
|
397
|
-
this.i.e2 = stringToBrush(v);
|
|
398
|
-
this._a("actualItemDisabledBackgroundColor", brushToString(this.i.e2));
|
|
399
|
-
},
|
|
400
|
-
enumerable: false,
|
|
401
|
-
configurable: true
|
|
402
|
-
});
|
|
403
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemTextColor", {
|
|
404
|
-
/**
|
|
405
|
-
* Gets the actual item text color.
|
|
406
|
-
*/
|
|
407
|
-
get: function () {
|
|
408
|
-
return brushToString(this.i.e7);
|
|
409
|
-
},
|
|
410
|
-
set: function (v) {
|
|
411
|
-
this.i.e7 = stringToBrush(v);
|
|
412
|
-
this._a("actualItemTextColor", brushToString(this.i.e7));
|
|
413
|
-
},
|
|
414
|
-
enumerable: false,
|
|
415
|
-
configurable: true
|
|
416
|
-
});
|
|
417
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemDisabledTextColor", {
|
|
418
|
-
/**
|
|
419
|
-
* Gets the actual item text color.
|
|
420
|
-
*/
|
|
421
|
-
get: function () {
|
|
422
|
-
return brushToString(this.i.e4);
|
|
423
|
-
},
|
|
424
|
-
set: function (v) {
|
|
425
|
-
this.i.e4 = stringToBrush(v);
|
|
426
|
-
this._a("actualItemDisabledTextColor", brushToString(this.i.e4));
|
|
427
|
-
},
|
|
428
|
-
enumerable: false,
|
|
429
|
-
configurable: true
|
|
430
|
-
});
|
|
431
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemBorderColor", {
|
|
432
|
-
/**
|
|
433
|
-
* Gets the actual item border color.
|
|
434
|
-
*/
|
|
435
|
-
get: function () {
|
|
436
|
-
return brushToString(this.i.e1);
|
|
437
|
-
},
|
|
438
|
-
set: function (v) {
|
|
439
|
-
this.i.e1 = stringToBrush(v);
|
|
440
|
-
this._a("actualItemBorderColor", brushToString(this.i.e1));
|
|
441
|
-
},
|
|
442
|
-
enumerable: false,
|
|
443
|
-
configurable: true
|
|
444
|
-
});
|
|
445
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemDisabledBorderColor", {
|
|
446
|
-
/**
|
|
447
|
-
* Gets the actual item border color.
|
|
448
|
-
*/
|
|
449
|
-
get: function () {
|
|
450
|
-
return brushToString(this.i.e3);
|
|
451
|
-
},
|
|
452
|
-
set: function (v) {
|
|
453
|
-
this.i.e3 = stringToBrush(v);
|
|
454
|
-
this._a("actualItemDisabledBorderColor", brushToString(this.i.e3));
|
|
455
|
-
},
|
|
456
|
-
enumerable: false,
|
|
457
|
-
configurable: true
|
|
458
|
-
});
|
|
459
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemBorderWidth", {
|
|
460
|
-
/**
|
|
461
|
-
* Gets the actual item border width.
|
|
462
|
-
*/
|
|
463
|
-
get: function () {
|
|
464
|
-
return this.i.al;
|
|
465
|
-
},
|
|
466
|
-
set: function (v) {
|
|
467
|
-
this.i.al = +v;
|
|
468
|
-
this._a("actualItemBorderWidth", this.i.al);
|
|
469
|
-
},
|
|
470
|
-
enumerable: false,
|
|
471
|
-
configurable: true
|
|
472
|
-
});
|
|
473
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualSelectedItemBackgroundColor", {
|
|
474
|
-
/**
|
|
475
|
-
* Gets the actual selected item background color.
|
|
476
|
-
*/
|
|
477
|
-
get: function () {
|
|
478
|
-
return brushToString(this.i.e8);
|
|
479
|
-
},
|
|
480
|
-
set: function (v) {
|
|
481
|
-
this.i.e8 = stringToBrush(v);
|
|
482
|
-
this._a("actualSelectedItemBackgroundColor", brushToString(this.i.e8));
|
|
483
|
-
},
|
|
484
|
-
enumerable: false,
|
|
485
|
-
configurable: true
|
|
486
|
-
});
|
|
487
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualSelectedItemTextColor", {
|
|
488
|
-
/**
|
|
489
|
-
* Gets the stroke actual selected item text color.
|
|
490
|
-
*/
|
|
491
|
-
get: function () {
|
|
492
|
-
return brushToString(this.i.fb);
|
|
493
|
-
},
|
|
494
|
-
set: function (v) {
|
|
495
|
-
this.i.fb = stringToBrush(v);
|
|
496
|
-
this._a("actualSelectedItemTextColor", brushToString(this.i.fb));
|
|
497
|
-
},
|
|
498
|
-
enumerable: false,
|
|
499
|
-
configurable: true
|
|
500
|
-
});
|
|
501
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemHoverBackgroundColor", {
|
|
502
|
-
/**
|
|
503
|
-
* Gets the actual item hovered background color.
|
|
504
|
-
*/
|
|
505
|
-
get: function () {
|
|
506
|
-
return brushToString(this.i.e5);
|
|
507
|
-
},
|
|
508
|
-
set: function (v) {
|
|
509
|
-
this.i.e5 = stringToBrush(v);
|
|
510
|
-
this._a("actualItemHoverBackgroundColor", brushToString(this.i.e5));
|
|
511
|
-
},
|
|
512
|
-
enumerable: false,
|
|
513
|
-
configurable: true
|
|
514
|
-
});
|
|
515
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualItemHoverTextColor", {
|
|
516
|
-
/**
|
|
517
|
-
* Gets the actual item text color.
|
|
518
|
-
*/
|
|
519
|
-
get: function () {
|
|
520
|
-
return brushToString(this.i.e6);
|
|
521
|
-
},
|
|
522
|
-
set: function (v) {
|
|
523
|
-
this.i.e6 = stringToBrush(v);
|
|
524
|
-
this._a("actualItemHoverTextColor", brushToString(this.i.e6));
|
|
525
|
-
},
|
|
526
|
-
enumerable: false,
|
|
527
|
-
configurable: true
|
|
528
|
-
});
|
|
529
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualSelectedItemHoverBackgroundColor", {
|
|
530
|
-
/**
|
|
531
|
-
* Gets the actual selected item hovered background color.
|
|
532
|
-
*/
|
|
533
|
-
get: function () {
|
|
534
|
-
return brushToString(this.i.e9);
|
|
535
|
-
},
|
|
536
|
-
set: function (v) {
|
|
537
|
-
this.i.e9 = stringToBrush(v);
|
|
538
|
-
this._a("actualSelectedItemHoverBackgroundColor", brushToString(this.i.e9));
|
|
539
|
-
},
|
|
540
|
-
enumerable: false,
|
|
541
|
-
configurable: true
|
|
542
|
-
});
|
|
543
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "actualSelectedItemHoverTextColor", {
|
|
544
|
-
/**
|
|
545
|
-
* Gets the actual selected item hovered text color.
|
|
546
|
-
*/
|
|
547
|
-
get: function () {
|
|
548
|
-
return brushToString(this.i.fa);
|
|
549
|
-
},
|
|
550
|
-
set: function (v) {
|
|
551
|
-
this.i.fa = stringToBrush(v);
|
|
552
|
-
this._a("actualSelectedItemHoverTextColor", brushToString(this.i.fa));
|
|
553
|
-
},
|
|
554
|
-
enumerable: false,
|
|
555
|
-
configurable: true
|
|
556
|
-
});
|
|
557
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.a2;
|
|
563
|
-
},
|
|
564
|
-
set: function (v) {
|
|
565
|
-
this.i.a2 = +v;
|
|
566
|
-
this._a("itemCornerRadius", this.i.a2);
|
|
567
|
-
},
|
|
568
|
-
enumerable: false,
|
|
569
|
-
configurable: true
|
|
570
|
-
});
|
|
571
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.ho);
|
|
577
|
-
},
|
|
578
|
-
set: function (v) {
|
|
579
|
-
this.i.ho = stringToBrush(v);
|
|
580
|
-
this._a("itemBackgroundColor", brushToString(this.i.ho));
|
|
581
|
-
},
|
|
582
|
-
enumerable: false,
|
|
583
|
-
configurable: true
|
|
584
|
-
});
|
|
585
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hq);
|
|
591
|
-
},
|
|
592
|
-
set: function (v) {
|
|
593
|
-
this.i.hq = stringToBrush(v);
|
|
594
|
-
this._a("itemDisabledBackgroundColor", brushToString(this.i.hq));
|
|
595
|
-
},
|
|
596
|
-
enumerable: false,
|
|
597
|
-
configurable: true
|
|
598
|
-
});
|
|
599
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hv);
|
|
605
|
-
},
|
|
606
|
-
set: function (v) {
|
|
607
|
-
this.i.hv = stringToBrush(v);
|
|
608
|
-
this._a("itemTextColor", brushToString(this.i.hv));
|
|
609
|
-
},
|
|
610
|
-
enumerable: false,
|
|
611
|
-
configurable: true
|
|
612
|
-
});
|
|
613
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hs);
|
|
619
|
-
},
|
|
620
|
-
set: function (v) {
|
|
621
|
-
this.i.hs = stringToBrush(v);
|
|
622
|
-
this._a("itemDisabledTextColor", brushToString(this.i.hs));
|
|
623
|
-
},
|
|
624
|
-
enumerable: false,
|
|
625
|
-
configurable: true
|
|
626
|
-
});
|
|
627
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.ht);
|
|
633
|
-
},
|
|
634
|
-
set: function (v) {
|
|
635
|
-
this.i.ht = stringToBrush(v);
|
|
636
|
-
this._a("itemHoverBackgroundColor", brushToString(this.i.ht));
|
|
637
|
-
},
|
|
638
|
-
enumerable: false,
|
|
639
|
-
configurable: true
|
|
640
|
-
});
|
|
641
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hp);
|
|
647
|
-
},
|
|
648
|
-
set: function (v) {
|
|
649
|
-
this.i.hp = stringToBrush(v);
|
|
650
|
-
this._a("itemBorderColor", brushToString(this.i.hp));
|
|
651
|
-
},
|
|
652
|
-
enumerable: false,
|
|
653
|
-
configurable: true
|
|
654
|
-
});
|
|
655
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hr);
|
|
661
|
-
},
|
|
662
|
-
set: function (v) {
|
|
663
|
-
this.i.hr = stringToBrush(v);
|
|
664
|
-
this._a("itemDisabledBorderColor", brushToString(this.i.hr));
|
|
665
|
-
},
|
|
666
|
-
enumerable: false,
|
|
667
|
-
configurable: true
|
|
668
|
-
});
|
|
669
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.a1;
|
|
675
|
-
},
|
|
676
|
-
set: function (v) {
|
|
677
|
-
this.i.a1 = +v;
|
|
678
|
-
this._a("itemBorderWidth", this.i.a1);
|
|
679
|
-
},
|
|
680
|
-
enumerable: false,
|
|
681
|
-
configurable: true
|
|
682
|
-
});
|
|
683
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hu);
|
|
689
|
-
},
|
|
690
|
-
set: function (v) {
|
|
691
|
-
this.i.hu = stringToBrush(v);
|
|
692
|
-
this._a("itemHoverTextColor", brushToString(this.i.hu));
|
|
693
|
-
},
|
|
694
|
-
enumerable: false,
|
|
695
|
-
configurable: true
|
|
696
|
-
});
|
|
697
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h8);
|
|
703
|
-
},
|
|
704
|
-
set: function (v) {
|
|
705
|
-
this.i.h8 = stringToBrush(v);
|
|
706
|
-
this._a("selectedItemBackgroundColor", brushToString(this.i.h8));
|
|
707
|
-
},
|
|
708
|
-
enumerable: false,
|
|
709
|
-
configurable: true
|
|
710
|
-
});
|
|
711
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.ib);
|
|
717
|
-
},
|
|
718
|
-
set: function (v) {
|
|
719
|
-
this.i.ib = stringToBrush(v);
|
|
720
|
-
this._a("selectedItemTextColor", brushToString(this.i.ib));
|
|
721
|
-
},
|
|
722
|
-
enumerable: false,
|
|
723
|
-
configurable: true
|
|
724
|
-
});
|
|
725
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h9);
|
|
731
|
-
},
|
|
732
|
-
set: function (v) {
|
|
733
|
-
this.i.h9 = stringToBrush(v);
|
|
734
|
-
this._a("selectedItemHoverBackgroundColor", brushToString(this.i.h9));
|
|
735
|
-
},
|
|
736
|
-
enumerable: false,
|
|
737
|
-
configurable: true
|
|
738
|
-
});
|
|
739
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.ia);
|
|
745
|
-
},
|
|
746
|
-
set: function (v) {
|
|
747
|
-
this.i.ia = stringToBrush(v);
|
|
748
|
-
this._a("selectedItemHoverTextColor", brushToString(this.i.ia));
|
|
749
|
-
},
|
|
750
|
-
enumerable: false,
|
|
751
|
-
configurable: true
|
|
752
|
-
});
|
|
753
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.a4;
|
|
759
|
-
},
|
|
760
|
-
set: function (v) {
|
|
761
|
-
this.i.a4 = +v;
|
|
762
|
-
this._a("outlinedItemCornerRadius", this.i.a4);
|
|
763
|
-
},
|
|
764
|
-
enumerable: false,
|
|
765
|
-
configurable: true
|
|
766
|
-
});
|
|
767
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hw);
|
|
773
|
-
},
|
|
774
|
-
set: function (v) {
|
|
775
|
-
this.i.hw = stringToBrush(v);
|
|
776
|
-
this._a("outlinedItemBackgroundColor", brushToString(this.i.hw));
|
|
777
|
-
},
|
|
778
|
-
enumerable: false,
|
|
779
|
-
configurable: true
|
|
780
|
-
});
|
|
781
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hy);
|
|
787
|
-
},
|
|
788
|
-
set: function (v) {
|
|
789
|
-
this.i.hy = stringToBrush(v);
|
|
790
|
-
this._a("outlinedItemDisabledBackgroundColor", brushToString(this.i.hy));
|
|
791
|
-
},
|
|
792
|
-
enumerable: false,
|
|
793
|
-
configurable: true
|
|
794
|
-
});
|
|
795
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h3);
|
|
801
|
-
},
|
|
802
|
-
set: function (v) {
|
|
803
|
-
this.i.h3 = stringToBrush(v);
|
|
804
|
-
this._a("outlinedItemTextColor", brushToString(this.i.h3));
|
|
805
|
-
},
|
|
806
|
-
enumerable: false,
|
|
807
|
-
configurable: true
|
|
808
|
-
});
|
|
809
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h0);
|
|
815
|
-
},
|
|
816
|
-
set: function (v) {
|
|
817
|
-
this.i.h0 = stringToBrush(v);
|
|
818
|
-
this._a("outlinedItemDisabledTextColor", brushToString(this.i.h0));
|
|
819
|
-
},
|
|
820
|
-
enumerable: false,
|
|
821
|
-
configurable: true
|
|
822
|
-
});
|
|
823
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h1);
|
|
829
|
-
},
|
|
830
|
-
set: function (v) {
|
|
831
|
-
this.i.h1 = stringToBrush(v);
|
|
832
|
-
this._a("outlinedItemHoverBackgroundColor", brushToString(this.i.h1));
|
|
833
|
-
},
|
|
834
|
-
enumerable: false,
|
|
835
|
-
configurable: true
|
|
836
|
-
});
|
|
837
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hx);
|
|
843
|
-
},
|
|
844
|
-
set: function (v) {
|
|
845
|
-
this.i.hx = stringToBrush(v);
|
|
846
|
-
this._a("outlinedItemBorderColor", brushToString(this.i.hx));
|
|
847
|
-
},
|
|
848
|
-
enumerable: false,
|
|
849
|
-
configurable: true
|
|
850
|
-
});
|
|
851
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hz);
|
|
857
|
-
},
|
|
858
|
-
set: function (v) {
|
|
859
|
-
this.i.hz = stringToBrush(v);
|
|
860
|
-
this._a("outlinedItemDisabledBorderColor", brushToString(this.i.hz));
|
|
861
|
-
},
|
|
862
|
-
enumerable: false,
|
|
863
|
-
configurable: true
|
|
864
|
-
});
|
|
865
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.a3;
|
|
871
|
-
},
|
|
872
|
-
set: function (v) {
|
|
873
|
-
this.i.a3 = +v;
|
|
874
|
-
this._a("outlinedItemBorderWidth", this.i.a3);
|
|
875
|
-
},
|
|
876
|
-
enumerable: false,
|
|
877
|
-
configurable: true
|
|
878
|
-
});
|
|
879
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h2);
|
|
885
|
-
},
|
|
886
|
-
set: function (v) {
|
|
887
|
-
this.i.h2 = stringToBrush(v);
|
|
888
|
-
this._a("outlinedItemHoverTextColor", brushToString(this.i.h2));
|
|
889
|
-
},
|
|
890
|
-
enumerable: false,
|
|
891
|
-
configurable: true
|
|
892
|
-
});
|
|
893
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h4);
|
|
899
|
-
},
|
|
900
|
-
set: function (v) {
|
|
901
|
-
this.i.h4 = stringToBrush(v);
|
|
902
|
-
this._a("outlinedSelectedItemBackgroundColor", brushToString(this.i.h4));
|
|
903
|
-
},
|
|
904
|
-
enumerable: false,
|
|
905
|
-
configurable: true
|
|
906
|
-
});
|
|
907
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h7);
|
|
913
|
-
},
|
|
914
|
-
set: function (v) {
|
|
915
|
-
this.i.h7 = stringToBrush(v);
|
|
916
|
-
this._a("outlinedSelectedItemTextColor", brushToString(this.i.h7));
|
|
917
|
-
},
|
|
918
|
-
enumerable: false,
|
|
919
|
-
configurable: true
|
|
920
|
-
});
|
|
921
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h5);
|
|
927
|
-
},
|
|
928
|
-
set: function (v) {
|
|
929
|
-
this.i.h5 = stringToBrush(v);
|
|
930
|
-
this._a("outlinedSelectedItemHoverBackgroundColor", brushToString(this.i.h5));
|
|
931
|
-
},
|
|
932
|
-
enumerable: false,
|
|
933
|
-
configurable: true
|
|
934
|
-
});
|
|
935
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.h6);
|
|
941
|
-
},
|
|
942
|
-
set: function (v) {
|
|
943
|
-
this.i.h6 = stringToBrush(v);
|
|
944
|
-
this._a("outlinedSelectedItemHoverTextColor", brushToString(this.i.h6));
|
|
945
|
-
},
|
|
946
|
-
enumerable: false,
|
|
947
|
-
configurable: true
|
|
948
|
-
});
|
|
949
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.a0;
|
|
955
|
-
},
|
|
956
|
-
set: function (v) {
|
|
957
|
-
this.i.a0 = +v;
|
|
958
|
-
this._a("flatItemCornerRadius", this.i.a0);
|
|
959
|
-
},
|
|
960
|
-
enumerable: false,
|
|
961
|
-
configurable: true
|
|
962
|
-
});
|
|
963
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hc);
|
|
969
|
-
},
|
|
970
|
-
set: function (v) {
|
|
971
|
-
this.i.hc = stringToBrush(v);
|
|
972
|
-
this._a("flatItemBackgroundColor", brushToString(this.i.hc));
|
|
973
|
-
},
|
|
974
|
-
enumerable: false,
|
|
975
|
-
configurable: true
|
|
976
|
-
});
|
|
977
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.he);
|
|
983
|
-
},
|
|
984
|
-
set: function (v) {
|
|
985
|
-
this.i.he = stringToBrush(v);
|
|
986
|
-
this._a("flatItemDisabledBackgroundColor", brushToString(this.i.he));
|
|
987
|
-
},
|
|
988
|
-
enumerable: false,
|
|
989
|
-
configurable: true
|
|
990
|
-
});
|
|
991
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hj);
|
|
997
|
-
},
|
|
998
|
-
set: function (v) {
|
|
999
|
-
this.i.hj = stringToBrush(v);
|
|
1000
|
-
this._a("flatItemTextColor", brushToString(this.i.hj));
|
|
1001
|
-
},
|
|
1002
|
-
enumerable: false,
|
|
1003
|
-
configurable: true
|
|
1004
|
-
});
|
|
1005
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hg);
|
|
1011
|
-
},
|
|
1012
|
-
set: function (v) {
|
|
1013
|
-
this.i.hg = stringToBrush(v);
|
|
1014
|
-
this._a("flatItemDisabledTextColor", brushToString(this.i.hg));
|
|
1015
|
-
},
|
|
1016
|
-
enumerable: false,
|
|
1017
|
-
configurable: true
|
|
1018
|
-
});
|
|
1019
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hh);
|
|
1025
|
-
},
|
|
1026
|
-
set: function (v) {
|
|
1027
|
-
this.i.hh = stringToBrush(v);
|
|
1028
|
-
this._a("flatItemHoverBackgroundColor", brushToString(this.i.hh));
|
|
1029
|
-
},
|
|
1030
|
-
enumerable: false,
|
|
1031
|
-
configurable: true
|
|
1032
|
-
});
|
|
1033
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hd);
|
|
1039
|
-
},
|
|
1040
|
-
set: function (v) {
|
|
1041
|
-
this.i.hd = stringToBrush(v);
|
|
1042
|
-
this._a("flatItemBorderColor", brushToString(this.i.hd));
|
|
1043
|
-
},
|
|
1044
|
-
enumerable: false,
|
|
1045
|
-
configurable: true
|
|
1046
|
-
});
|
|
1047
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hf);
|
|
1053
|
-
},
|
|
1054
|
-
set: function (v) {
|
|
1055
|
-
this.i.hf = stringToBrush(v);
|
|
1056
|
-
this._a("flatItemDisabledBorderColor", brushToString(this.i.hf));
|
|
1057
|
-
},
|
|
1058
|
-
enumerable: false,
|
|
1059
|
-
configurable: true
|
|
1060
|
-
});
|
|
1061
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.az;
|
|
1067
|
-
},
|
|
1068
|
-
set: function (v) {
|
|
1069
|
-
this.i.az = +v;
|
|
1070
|
-
this._a("flatItemBorderWidth", this.i.az);
|
|
1071
|
-
},
|
|
1072
|
-
enumerable: false,
|
|
1073
|
-
configurable: true
|
|
1074
|
-
});
|
|
1075
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hi);
|
|
1081
|
-
},
|
|
1082
|
-
set: function (v) {
|
|
1083
|
-
this.i.hi = stringToBrush(v);
|
|
1084
|
-
this._a("flatItemHoverTextColor", brushToString(this.i.hi));
|
|
1085
|
-
},
|
|
1086
|
-
enumerable: false,
|
|
1087
|
-
configurable: true
|
|
1088
|
-
});
|
|
1089
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hk);
|
|
1095
|
-
},
|
|
1096
|
-
set: function (v) {
|
|
1097
|
-
this.i.hk = stringToBrush(v);
|
|
1098
|
-
this._a("flatSelectedItemBackgroundColor", brushToString(this.i.hk));
|
|
1099
|
-
},
|
|
1100
|
-
enumerable: false,
|
|
1101
|
-
configurable: true
|
|
1102
|
-
});
|
|
1103
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hn);
|
|
1109
|
-
},
|
|
1110
|
-
set: function (v) {
|
|
1111
|
-
this.i.hn = stringToBrush(v);
|
|
1112
|
-
this._a("flatSelectedItemTextColor", brushToString(this.i.hn));
|
|
1113
|
-
},
|
|
1114
|
-
enumerable: false,
|
|
1115
|
-
configurable: true
|
|
1116
|
-
});
|
|
1117
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hl);
|
|
1123
|
-
},
|
|
1124
|
-
set: function (v) {
|
|
1125
|
-
this.i.hl = stringToBrush(v);
|
|
1126
|
-
this._a("flatSelectedItemHoverBackgroundColor", brushToString(this.i.hl));
|
|
1127
|
-
},
|
|
1128
|
-
enumerable: false,
|
|
1129
|
-
configurable: true
|
|
1130
|
-
});
|
|
1131
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.hm);
|
|
1137
|
-
},
|
|
1138
|
-
set: function (v) {
|
|
1139
|
-
this.i.hm = stringToBrush(v);
|
|
1140
|
-
this._a("flatSelectedItemHoverTextColor", brushToString(this.i.hm));
|
|
1141
|
-
},
|
|
1142
|
-
enumerable: false,
|
|
1143
|
-
configurable: true
|
|
1144
|
-
});
|
|
1145
|
-
Object.defineProperty(IgcXButtonGroupComponent.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.k;
|
|
1151
|
-
},
|
|
1152
|
-
set: function (v) {
|
|
1153
|
-
this.i.k = ensureEnum(ButtonGroupOrientation_$type, v);
|
|
1154
|
-
this._a("orientation", enumToString(ButtonGroupOrientation_$type, this.i.k));
|
|
1155
|
-
},
|
|
1156
|
-
enumerable: false,
|
|
1157
|
-
configurable: true
|
|
1158
|
-
});
|
|
1159
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "id", {
|
|
1160
|
-
/**
|
|
1161
|
-
* Gets or sets the id to use for the button group.
|
|
1162
|
-
*/
|
|
1163
|
-
get: function () {
|
|
1164
|
-
return this.i.b6;
|
|
1165
|
-
},
|
|
1166
|
-
set: function (v) {
|
|
1167
|
-
this.i.b6 = v;
|
|
1168
|
-
},
|
|
1169
|
-
enumerable: false,
|
|
1170
|
-
configurable: true
|
|
1171
|
-
});
|
|
1172
|
-
Object.defineProperty(IgcXButtonGroupComponent.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: false,
|
|
1184
|
-
configurable: true
|
|
1185
|
-
});
|
|
1186
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "isMultiSelect", {
|
|
1187
|
-
/**
|
|
1188
|
-
* Gets or sets whether the group supports multi-select.
|
|
1189
|
-
*/
|
|
1190
|
-
get: function () {
|
|
1191
|
-
return this.i.aa;
|
|
1192
|
-
},
|
|
1193
|
-
set: function (v) {
|
|
1194
|
-
this.i.aa = ensureBool(v);
|
|
1195
|
-
this._a("isMultiSelect", this.i.aa);
|
|
1196
|
-
},
|
|
1197
|
-
enumerable: false,
|
|
1198
|
-
configurable: true
|
|
1199
|
-
});
|
|
1200
|
-
IgcXButtonGroupComponent.prototype.findByName = function (name) {
|
|
1201
|
-
if (this.findEphemera) {
|
|
1202
|
-
if (name && name.indexOf("@@e:") == 0) {
|
|
1203
|
-
return this.findEphemera(name);
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
if (this.buttons != null && this.buttons.findByName && this.buttons.findByName(name)) {
|
|
1207
|
-
return this.buttons.findByName(name);
|
|
1208
|
-
}
|
|
1209
|
-
return null;
|
|
1210
|
-
};
|
|
1211
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "hasUserValues", {
|
|
1212
|
-
get: function () {
|
|
1213
|
-
return this._hasUserValues;
|
|
1214
|
-
},
|
|
1215
|
-
enumerable: false,
|
|
1216
|
-
configurable: true
|
|
1217
|
-
});
|
|
1218
|
-
IgcXButtonGroupComponent.prototype.__m = function (propertyName) {
|
|
1219
|
-
if (!this._inStyling) {
|
|
1220
|
-
this._hasUserValues.add(propertyName);
|
|
1221
|
-
}
|
|
1222
|
-
};
|
|
1223
|
-
IgcXButtonGroupComponent.prototype._styling = function (container, component, parent) {
|
|
1224
|
-
if (this._inStyling) {
|
|
1225
|
-
return;
|
|
1226
|
-
}
|
|
1227
|
-
this._inStyling = true;
|
|
1228
|
-
this._stylingContainer = container;
|
|
1229
|
-
this._stylingParent = component;
|
|
1230
|
-
var genericPrefix = "";
|
|
1231
|
-
var typeName = this.i.$type.name;
|
|
1232
|
-
if (typeName.indexOf("Xam") === 0) {
|
|
1233
|
-
typeName = typeName.substring(3);
|
|
1234
|
-
}
|
|
1235
|
-
genericPrefix = toSpinal("XButtonGroupComponent");
|
|
1236
|
-
var additionalPrefixes = [];
|
|
1237
|
-
var prefix = toSpinal(typeName);
|
|
1238
|
-
additionalPrefixes.push(prefix + "-");
|
|
1239
|
-
var b = this.i.$type.baseType;
|
|
1240
|
-
while (b && b.name != "Object" &&
|
|
1241
|
-
b.name != "Base" &&
|
|
1242
|
-
b.name != "Control" &&
|
|
1243
|
-
b.Name != "DependencyObject" &&
|
|
1244
|
-
b.Name != "FrameworkElement") {
|
|
1245
|
-
typeName = b.name;
|
|
1246
|
-
if (typeName.indexOf("Xam") === 0) {
|
|
1247
|
-
typeName = typeName.substring(3);
|
|
1248
|
-
}
|
|
1249
|
-
var basePrefix = toSpinal(typeName);
|
|
1250
|
-
additionalPrefixes.push(basePrefix + "-");
|
|
1251
|
-
b = b.baseType;
|
|
1252
|
-
}
|
|
1253
|
-
if (parent) {
|
|
1254
|
-
var parentTypeName = parent.i.$type.name;
|
|
1255
|
-
if (parentTypeName.indexOf("Xam") === 0) {
|
|
1256
|
-
parentTypeName = parentTypeName.substring(3);
|
|
1257
|
-
}
|
|
1258
|
-
var parentPrefix = toSpinal(parentTypeName);
|
|
1259
|
-
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
1260
|
-
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
1261
|
-
}
|
|
1262
|
-
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
1263
|
-
if (this._otherStyling) {
|
|
1264
|
-
this._otherStyling(container, component, parent);
|
|
1265
|
-
}
|
|
1266
|
-
this._inStyling = false;
|
|
1267
|
-
};
|
|
1268
|
-
IgcXButtonGroupComponent.prototype.onDetachedFromUI = function () {
|
|
1269
|
-
this.i.onDetachedFromUI();
|
|
1270
|
-
};
|
|
1271
|
-
IgcXButtonGroupComponent.prototype.onAttachedToUI = function () {
|
|
1272
|
-
this.i.onAttachedToUI();
|
|
1273
|
-
};
|
|
1274
|
-
/**
|
|
1275
|
-
* Exports visual information about the current state of the grid.
|
|
1276
|
-
|
|
1277
|
-
*/
|
|
1278
|
-
IgcXButtonGroupComponent.prototype.exportVisualModel = function () {
|
|
1279
|
-
var iv = this.i.a6();
|
|
1280
|
-
return (iv);
|
|
1281
|
-
};
|
|
1282
|
-
/**
|
|
1283
|
-
* Returns a serialized copy of the exported visual model
|
|
1284
|
-
|
|
1285
|
-
*/
|
|
1286
|
-
IgcXButtonGroupComponent.prototype.exportSerializedVisualModel = function () {
|
|
1287
|
-
var iv = this.i.br();
|
|
1288
|
-
return (iv);
|
|
1289
|
-
};
|
|
1290
|
-
Object.defineProperty(IgcXButtonGroupComponent.prototype, "selectionChanged", {
|
|
1291
|
-
get: function () {
|
|
1292
|
-
return this._selectionChanged;
|
|
1293
|
-
},
|
|
1294
|
-
set: function (ev) {
|
|
1295
|
-
var _this = this;
|
|
1296
|
-
if (this._selectionChanged_wrapped !== null) {
|
|
1297
|
-
this.i.selectionChanged = delegateRemove(this.i.selectionChanged, this._selectionChanged_wrapped);
|
|
1298
|
-
this._selectionChanged_wrapped = null;
|
|
1299
|
-
this._selectionChanged = null;
|
|
1300
|
-
}
|
|
1301
|
-
this._selectionChanged = ev;
|
|
1302
|
-
this._selectionChanged_wrapped = function (o, e) {
|
|
1303
|
-
var outerArgs = new IgcButtonGroupSelectionChangedEventArgs();
|
|
1304
|
-
outerArgs._provideImplementation(e);
|
|
1305
|
-
if (_this.beforeSelectionChanged) {
|
|
1306
|
-
_this.beforeSelectionChanged(_this, outerArgs);
|
|
1307
|
-
}
|
|
1308
|
-
if (_this._selectionChanged) {
|
|
1309
|
-
_this._selectionChanged(_this, outerArgs);
|
|
1310
|
-
}
|
|
1311
|
-
};
|
|
1312
|
-
this.i.selectionChanged = delegateCombine(this.i.selectionChanged, this._selectionChanged_wrapped);
|
|
1313
|
-
;
|
|
1314
|
-
},
|
|
1315
|
-
enumerable: false,
|
|
1316
|
-
configurable: true
|
|
1317
|
-
});
|
|
1318
|
-
IgcXButtonGroupComponent._observedAttributesIgcXButtonGroupComponent = null;
|
|
1319
|
-
IgcXButtonGroupComponent.htmlTagName = "igc-x-button-group";
|
|
1320
|
-
IgcXButtonGroupComponent._isElementRegistered = false;
|
|
1321
|
-
return IgcXButtonGroupComponent;
|
|
1322
|
-
}(IgcHTMLElement));
|