igniteui-angular-inputs 16.1.0-beta.1
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 +19 -0
- package/bundles/igniteui-angular-inputs.umd.js +36173 -0
- package/bundles/igniteui-angular-inputs.umd.min.js +7 -0
- package/esm2015/igniteui-angular-inputs.js +4 -0
- package/esm2015/lib/ButtonClickEventArgs.js +16 -0
- package/esm2015/lib/ButtonDisplayStyle.js +11 -0
- package/esm2015/lib/ButtonGroupDisplayStyle.js +11 -0
- package/esm2015/lib/ButtonGroupOrientation.js +16 -0
- package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +16 -0
- package/esm2015/lib/ButtonGroupView.js +7 -0
- package/esm2015/lib/ButtonGroupView_combined.js +1333 -0
- package/esm2015/lib/ButtonGroupVisualModelExport.js +56 -0
- package/esm2015/lib/ButtonView.js +7 -0
- package/esm2015/lib/ButtonView_combined.js +3291 -0
- package/esm2015/lib/ButtonVisualModelExport.js +109 -0
- package/esm2015/lib/CalendarView.js +7 -0
- package/esm2015/lib/CalendarView_combined.js +2791 -0
- package/esm2015/lib/CalendarVisualModelExport.js +100 -0
- package/esm2015/lib/CheckboxChangeEventArgs.js +33 -0
- package/esm2015/lib/CheckboxLabelPosition.js +11 -0
- package/esm2015/lib/CheckboxView.js +7 -0
- package/esm2015/lib/CheckboxView_combined.js +1105 -0
- package/esm2015/lib/CheckboxVisualModelExport.js +62 -0
- package/esm2015/lib/DateFormats.js +25 -0
- package/esm2015/lib/DatePicker.js +7 -0
- package/esm2015/lib/DatePickerView.js +7 -0
- package/esm2015/lib/DatePickerView_combined.js +1578 -0
- package/esm2015/lib/DatePickerVisualModelExport.js +70 -0
- package/esm2015/lib/DateTimeValueFormatter.js +108 -0
- package/esm2015/lib/DayInfo.js +23 -0
- package/esm2015/lib/DayOfWeek.js +45 -0
- package/esm2015/lib/ElevationHelper.js +67 -0
- package/esm2015/lib/FirstWeek.js +29 -0
- package/esm2015/lib/GotFocusEventArgs.js +16 -0
- package/esm2015/lib/IconClickedEventArgs.js +16 -0
- package/esm2015/lib/IconView.js +7 -0
- package/esm2015/lib/IconView_combined.js +815 -0
- package/esm2015/lib/IconVisualModelExport.js +76 -0
- package/esm2015/lib/InputChangeEventArgs.js +33 -0
- package/esm2015/lib/InputGroupDisplayType.js +18 -0
- package/esm2015/lib/InputGroupView.js +7 -0
- package/esm2015/lib/InputGroupView_combined.js +5518 -0
- package/esm2015/lib/InputGroupVisualModelExport.js +109 -0
- package/esm2015/lib/InputShiftType.js +17 -0
- package/esm2015/lib/InputView.js +7 -0
- package/esm2015/lib/InputVisualModelExport.js +78 -0
- package/esm2015/lib/KEYCODES.js +11 -0
- package/esm2015/lib/LabelShiftType.js +17 -0
- package/esm2015/lib/LabelView.js +7 -0
- package/esm2015/lib/LabelVisualModelExport.js +84 -0
- package/esm2015/lib/LostFocusEventArgs.js +16 -0
- package/esm2015/lib/MaskOptions.js +21 -0
- package/esm2015/lib/MaskParsingService.js +213 -0
- package/esm2015/lib/NativeUIXInputsFactory.js +185 -0
- package/esm2015/lib/PrefixShiftType.js +17 -0
- package/esm2015/lib/PrefixView.js +7 -0
- package/esm2015/lib/PrefixVisualModelExport.js +35 -0
- package/esm2015/lib/Replaced.js +21 -0
- package/esm2015/lib/RippleView.js +7 -0
- package/esm2015/lib/RippleView_combined.js +396 -0
- package/esm2015/lib/RippleVisualModelExport.js +38 -0
- package/esm2015/lib/SelectedValueChangedEventArgs.js +33 -0
- package/esm2015/lib/SuffixShiftType.js +17 -0
- package/esm2015/lib/SuffixView.js +7 -0
- package/esm2015/lib/SuffixVisualModelExport.js +34 -0
- package/esm2015/lib/TextElementsVisualModelExport.js +44 -0
- package/esm2015/lib/Theme.js +48 -0
- package/esm2015/lib/ThemeResolver.js +176 -0
- package/esm2015/lib/XButton.js +7 -0
- package/esm2015/lib/XButtonBridge.js +297 -0
- package/esm2015/lib/XButtonGroup.js +7 -0
- package/esm2015/lib/XButtonGroupButtonCollection.js +28 -0
- package/esm2015/lib/XCalendar.js +7 -0
- package/esm2015/lib/XCalendarLocaleEn.js +56 -0
- package/esm2015/lib/XCheckbox.js +7 -0
- package/esm2015/lib/XCheckboxBridge.js +78 -0
- package/esm2015/lib/XComponentBridge.js +48 -0
- package/esm2015/lib/XIcon.js +7 -0
- package/esm2015/lib/XIconBridge.js +93 -0
- package/esm2015/lib/XIconButtonBridge.js +77 -0
- package/esm2015/lib/XInput.js +7 -0
- package/esm2015/lib/XInputBridge.js +215 -0
- package/esm2015/lib/XInputGroup.js +7 -0
- package/esm2015/lib/XInputGroupInputCollection.js +7 -0
- package/esm2015/lib/XInputGroupItem.js +7 -0
- package/esm2015/lib/XLabel.js +7 -0
- package/esm2015/lib/XPopupBridge.js +287 -0
- package/esm2015/lib/XPrefix.js +7 -0
- package/esm2015/lib/XRipple.js +7 -0
- package/esm2015/lib/XSuffix.js +7 -0
- package/esm2015/lib/igx-button-click-event-args.js +24 -0
- package/esm2015/lib/igx-button-group-selection-changed-event-args.js +24 -0
- package/esm2015/lib/igx-checkbox-change-event-args.js +37 -0
- package/esm2015/lib/igx-date-picker-component.js +596 -0
- package/esm2015/lib/igx-date-picker-dynamic-module.js +66 -0
- package/esm2015/lib/igx-date-picker-module.js +60 -0
- package/esm2015/lib/igx-got-focus-event-args.js +24 -0
- package/esm2015/lib/igx-input-change-event-args.js +37 -0
- package/esm2015/lib/igx-lost-focus-event-args.js +24 -0
- package/esm2015/lib/igx-selected-value-changed-event-args.js +36 -0
- package/esm2015/lib/igx-x-button-component.js +2286 -0
- package/esm2015/lib/igx-x-button-dynamic-module.js +52 -0
- package/esm2015/lib/igx-x-button-group-button-collection.js +48 -0
- package/esm2015/lib/igx-x-button-group-component.js +1000 -0
- package/esm2015/lib/igx-x-button-group-dynamic-module.js +52 -0
- package/esm2015/lib/igx-x-button-group-module.js +46 -0
- package/esm2015/lib/igx-x-button-module.js +46 -0
- package/esm2015/lib/igx-x-calendar-component.js +468 -0
- package/esm2015/lib/igx-x-calendar-dynamic-module.js +52 -0
- package/esm2015/lib/igx-x-calendar-locale-en-module.js +31 -0
- package/esm2015/lib/igx-x-calendar-module.js +46 -0
- package/esm2015/lib/igx-x-checkbox-component.js +586 -0
- package/esm2015/lib/igx-x-checkbox-dynamic-module.js +52 -0
- package/esm2015/lib/igx-x-checkbox-module.js +46 -0
- package/esm2015/lib/igx-x-icon-component.js +596 -0
- package/esm2015/lib/igx-x-icon-dynamic-module.js +45 -0
- package/esm2015/lib/igx-x-icon-module.js +39 -0
- package/esm2015/lib/igx-x-input-component.js +551 -0
- package/esm2015/lib/igx-x-input-dynamic-module.js +45 -0
- package/esm2015/lib/igx-x-input-group-component.js +2046 -0
- package/esm2015/lib/igx-x-input-group-dynamic-module.js +59 -0
- package/esm2015/lib/igx-x-input-group-input-collection.js +48 -0
- package/esm2015/lib/igx-x-input-group-item-component.js +140 -0
- package/esm2015/lib/igx-x-input-group-module.js +53 -0
- package/esm2015/lib/igx-x-input-module.js +39 -0
- package/esm2015/lib/igx-x-label-component.js +423 -0
- package/esm2015/lib/igx-x-label-dynamic-module.js +45 -0
- package/esm2015/lib/igx-x-label-module.js +39 -0
- package/esm2015/lib/igx-x-prefix-component.js +165 -0
- package/esm2015/lib/igx-x-prefix-dynamic-module.js +45 -0
- package/esm2015/lib/igx-x-prefix-module.js +39 -0
- package/esm2015/lib/igx-x-ripple-component.js +322 -0
- package/esm2015/lib/igx-x-ripple-dynamic-module.js +38 -0
- package/esm2015/lib/igx-x-ripple-module.js +36 -0
- package/esm2015/lib/igx-x-suffix-component.js +165 -0
- package/esm2015/public_api.js +123 -0
- package/esm5/igniteui-angular-inputs.js +4 -0
- package/esm5/lib/ButtonClickEventArgs.js +20 -0
- package/esm5/lib/ButtonDisplayStyle.js +11 -0
- package/esm5/lib/ButtonGroupDisplayStyle.js +11 -0
- package/esm5/lib/ButtonGroupOrientation.js +16 -0
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +20 -0
- package/esm5/lib/ButtonGroupView.js +7 -0
- package/esm5/lib/ButtonGroupView_combined.js +1701 -0
- package/esm5/lib/ButtonGroupVisualModelExport.js +58 -0
- package/esm5/lib/ButtonView.js +7 -0
- package/esm5/lib/ButtonView_combined.js +3985 -0
- package/esm5/lib/ButtonVisualModelExport.js +111 -0
- package/esm5/lib/CalendarView.js +7 -0
- package/esm5/lib/CalendarView_combined.js +2915 -0
- package/esm5/lib/CalendarVisualModelExport.js +102 -0
- package/esm5/lib/CheckboxChangeEventArgs.js +43 -0
- package/esm5/lib/CheckboxLabelPosition.js +11 -0
- package/esm5/lib/CheckboxView.js +7 -0
- package/esm5/lib/CheckboxView_combined.js +1303 -0
- package/esm5/lib/CheckboxVisualModelExport.js +64 -0
- package/esm5/lib/DateFormats.js +25 -0
- package/esm5/lib/DatePicker.js +7 -0
- package/esm5/lib/DatePickerView.js +7 -0
- package/esm5/lib/DatePickerView_combined.js +1690 -0
- package/esm5/lib/DatePickerVisualModelExport.js +72 -0
- package/esm5/lib/DateTimeValueFormatter.js +110 -0
- package/esm5/lib/DayInfo.js +25 -0
- package/esm5/lib/DayOfWeek.js +45 -0
- package/esm5/lib/ElevationHelper.js +71 -0
- package/esm5/lib/FirstWeek.js +29 -0
- package/esm5/lib/GotFocusEventArgs.js +20 -0
- package/esm5/lib/IconClickedEventArgs.js +20 -0
- package/esm5/lib/IconView.js +7 -0
- package/esm5/lib/IconView_combined.js +1012 -0
- package/esm5/lib/IconVisualModelExport.js +82 -0
- package/esm5/lib/InputChangeEventArgs.js +43 -0
- package/esm5/lib/InputGroupDisplayType.js +18 -0
- package/esm5/lib/InputGroupView.js +7 -0
- package/esm5/lib/InputGroupView_combined.js +6660 -0
- package/esm5/lib/InputGroupVisualModelExport.js +111 -0
- package/esm5/lib/InputShiftType.js +17 -0
- package/esm5/lib/InputView.js +7 -0
- package/esm5/lib/InputVisualModelExport.js +80 -0
- package/esm5/lib/KEYCODES.js +11 -0
- package/esm5/lib/LabelShiftType.js +17 -0
- package/esm5/lib/LabelView.js +7 -0
- package/esm5/lib/LabelVisualModelExport.js +86 -0
- package/esm5/lib/LostFocusEventArgs.js +20 -0
- package/esm5/lib/MaskOptions.js +23 -0
- package/esm5/lib/MaskParsingService.js +267 -0
- package/esm5/lib/NativeUIXInputsFactory.js +195 -0
- package/esm5/lib/PrefixShiftType.js +17 -0
- package/esm5/lib/PrefixView.js +7 -0
- package/esm5/lib/PrefixVisualModelExport.js +37 -0
- package/esm5/lib/Replaced.js +23 -0
- package/esm5/lib/RippleView.js +7 -0
- package/esm5/lib/RippleView_combined.js +491 -0
- package/esm5/lib/RippleVisualModelExport.js +40 -0
- package/esm5/lib/SelectedValueChangedEventArgs.js +43 -0
- package/esm5/lib/SuffixShiftType.js +17 -0
- package/esm5/lib/SuffixView.js +7 -0
- package/esm5/lib/SuffixVisualModelExport.js +36 -0
- package/esm5/lib/TextElementsVisualModelExport.js +46 -0
- package/esm5/lib/Theme.js +58 -0
- package/esm5/lib/ThemeResolver.js +182 -0
- package/esm5/lib/XButton.js +7 -0
- package/esm5/lib/XButtonBridge.js +299 -0
- package/esm5/lib/XButtonGroup.js +7 -0
- package/esm5/lib/XButtonGroupButtonCollection.js +30 -0
- package/esm5/lib/XCalendar.js +7 -0
- package/esm5/lib/XCalendarLocaleEn.js +58 -0
- package/esm5/lib/XCheckbox.js +7 -0
- package/esm5/lib/XCheckboxBridge.js +80 -0
- package/esm5/lib/XComponentBridge.js +54 -0
- package/esm5/lib/XIcon.js +7 -0
- package/esm5/lib/XIconBridge.js +95 -0
- package/esm5/lib/XIconButtonBridge.js +79 -0
- package/esm5/lib/XInput.js +7 -0
- package/esm5/lib/XInputBridge.js +217 -0
- package/esm5/lib/XInputGroup.js +7 -0
- package/esm5/lib/XInputGroupInputCollection.js +7 -0
- package/esm5/lib/XInputGroupItem.js +7 -0
- package/esm5/lib/XLabel.js +7 -0
- package/esm5/lib/XPopupBridge.js +289 -0
- package/esm5/lib/XPrefix.js +7 -0
- package/esm5/lib/XRipple.js +7 -0
- package/esm5/lib/XSuffix.js +7 -0
- package/esm5/lib/igx-button-click-event-args.js +30 -0
- package/esm5/lib/igx-button-group-selection-changed-event-args.js +30 -0
- package/esm5/lib/igx-checkbox-change-event-args.js +51 -0
- package/esm5/lib/igx-date-picker-component.js +720 -0
- package/esm5/lib/igx-date-picker-dynamic-module.js +65 -0
- package/esm5/lib/igx-date-picker-module.js +59 -0
- package/esm5/lib/igx-got-focus-event-args.js +30 -0
- package/esm5/lib/igx-input-change-event-args.js +51 -0
- package/esm5/lib/igx-lost-focus-event-args.js +30 -0
- package/esm5/lib/igx-selected-value-changed-event-args.js +50 -0
- package/esm5/lib/igx-x-button-component.js +3018 -0
- package/esm5/lib/igx-x-button-dynamic-module.js +51 -0
- package/esm5/lib/igx-x-button-group-button-collection.js +53 -0
- package/esm5/lib/igx-x-button-group-component.js +1272 -0
- package/esm5/lib/igx-x-button-group-dynamic-module.js +51 -0
- package/esm5/lib/igx-x-button-group-module.js +45 -0
- package/esm5/lib/igx-x-button-module.js +45 -0
- package/esm5/lib/igx-x-calendar-component.js +572 -0
- package/esm5/lib/igx-x-calendar-dynamic-module.js +51 -0
- package/esm5/lib/igx-x-calendar-locale-en-module.js +30 -0
- package/esm5/lib/igx-x-calendar-module.js +45 -0
- package/esm5/lib/igx-x-checkbox-component.js +724 -0
- package/esm5/lib/igx-x-checkbox-dynamic-module.js +51 -0
- package/esm5/lib/igx-x-checkbox-module.js +45 -0
- package/esm5/lib/igx-x-icon-component.js +732 -0
- package/esm5/lib/igx-x-icon-dynamic-module.js +44 -0
- package/esm5/lib/igx-x-icon-module.js +38 -0
- package/esm5/lib/igx-x-input-component.js +683 -0
- package/esm5/lib/igx-x-input-dynamic-module.js +44 -0
- package/esm5/lib/igx-x-input-group-component.js +2697 -0
- package/esm5/lib/igx-x-input-group-dynamic-module.js +58 -0
- package/esm5/lib/igx-x-input-group-input-collection.js +53 -0
- package/esm5/lib/igx-x-input-group-item-component.js +151 -0
- package/esm5/lib/igx-x-input-group-module.js +52 -0
- package/esm5/lib/igx-x-input-module.js +38 -0
- package/esm5/lib/igx-x-label-component.js +522 -0
- package/esm5/lib/igx-x-label-dynamic-module.js +44 -0
- package/esm5/lib/igx-x-label-module.js +38 -0
- package/esm5/lib/igx-x-prefix-component.js +180 -0
- package/esm5/lib/igx-x-prefix-dynamic-module.js +44 -0
- package/esm5/lib/igx-x-prefix-module.js +38 -0
- package/esm5/lib/igx-x-ripple-component.js +381 -0
- package/esm5/lib/igx-x-ripple-dynamic-module.js +37 -0
- package/esm5/lib/igx-x-ripple-module.js +35 -0
- package/esm5/lib/igx-x-suffix-component.js +180 -0
- package/esm5/public_api.js +123 -0
- package/fesm2015/igniteui-angular-inputs.js +30534 -0
- package/fesm5/igniteui-angular-inputs.js +36038 -0
- package/igniteui-angular-inputs.d.ts +5 -0
- package/lib/ButtonClickEventArgs.d.ts +7 -0
- package/lib/ButtonDisplayStyle.d.ts +15 -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 +372 -0
- package/lib/ButtonGroupVisualModelExport.d.ts +24 -0
- package/lib/ButtonView.d.ts +1 -0
- package/lib/ButtonView_combined.d.ts +695 -0
- package/lib/ButtonVisualModelExport.d.ts +46 -0
- package/lib/CalendarView.d.ts +1 -0
- package/lib/CalendarView_combined.d.ts +231 -0
- package/lib/CalendarVisualModelExport.d.ts +33 -0
- package/lib/CheckboxChangeEventArgs.d.ts +13 -0
- package/lib/CheckboxLabelPosition.d.ts +12 -0
- package/lib/CheckboxView.d.ts +1 -0
- package/lib/CheckboxView_combined.d.ts +214 -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 +225 -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/IconClickedEventArgs.d.ts +7 -0
- package/lib/IconView.d.ts +1 -0
- package/lib/IconView_combined.d.ts +198 -0
- package/lib/IconVisualModelExport.d.ts +26 -0
- package/lib/InputChangeEventArgs.d.ts +13 -0
- package/lib/InputGroupDisplayType.d.ts +11 -0
- package/lib/InputGroupView.d.ts +1 -0
- package/lib/InputGroupView_combined.d.ts +1202 -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 +27 -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/NativeUIXInputsFactory.d.ts +24 -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/RippleView.d.ts +1 -0
- package/lib/RippleView_combined.d.ts +98 -0
- package/lib/RippleVisualModelExport.d.ts +15 -0
- package/lib/SelectedValueChangedEventArgs.d.ts +13 -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/Theme.d.ts +15 -0
- package/lib/ThemeResolver.d.ts +56 -0
- package/lib/XButton.d.ts +1 -0
- package/lib/XButtonBridge.d.ts +39 -0
- package/lib/XButtonGroup.d.ts +1 -0
- package/lib/XButtonGroupButtonCollection.d.ts +12 -0
- package/lib/XCalendar.d.ts +1 -0
- package/lib/XCalendarLocaleEn.d.ts +49 -0
- package/lib/XCheckbox.d.ts +1 -0
- package/lib/XCheckboxBridge.d.ts +19 -0
- package/lib/XComponentBridge.d.ts +18 -0
- package/lib/XIcon.d.ts +1 -0
- package/lib/XIconBridge.d.ts +14 -0
- package/lib/XIconButtonBridge.d.ts +16 -0
- package/lib/XInput.d.ts +1 -0
- package/lib/XInputBridge.d.ts +28 -0
- package/lib/XInputGroup.d.ts +1 -0
- package/lib/XInputGroupInputCollection.d.ts +1 -0
- package/lib/XInputGroupItem.d.ts +1 -0
- package/lib/XLabel.d.ts +1 -0
- package/lib/XPopupBridge.d.ts +52 -0
- package/lib/XPrefix.d.ts +1 -0
- package/lib/XRipple.d.ts +1 -0
- package/lib/XSuffix.d.ts +1 -0
- package/lib/igx-button-click-event-args.d.ts +12 -0
- package/lib/igx-button-group-selection-changed-event-args.d.ts +12 -0
- package/lib/igx-checkbox-change-event-args.d.ts +18 -0
- package/lib/igx-date-picker-component.d.ts +215 -0
- package/lib/igx-date-picker-dynamic-module.d.ts +13 -0
- package/lib/igx-date-picker-module.d.ts +13 -0
- package/lib/igx-got-focus-event-args.d.ts +12 -0
- package/lib/igx-input-change-event-args.d.ts +17 -0
- package/lib/igx-lost-focus-event-args.d.ts +12 -0
- package/lib/igx-selected-value-changed-event-args.d.ts +16 -0
- package/lib/igx-x-button-component.d.ts +980 -0
- package/lib/igx-x-button-dynamic-module.d.ts +11 -0
- package/lib/igx-x-button-group-button-collection.d.ts +8 -0
- package/lib/igx-x-button-group-component.d.ts +416 -0
- package/lib/igx-x-button-group-dynamic-module.d.ts +11 -0
- package/lib/igx-x-button-group-module.d.ts +11 -0
- package/lib/igx-x-button-module.d.ts +11 -0
- package/lib/igx-x-calendar-component.d.ts +177 -0
- package/lib/igx-x-calendar-dynamic-module.d.ts +11 -0
- package/lib/igx-x-calendar-locale-en-module.d.ts +8 -0
- package/lib/igx-x-calendar-module.d.ts +11 -0
- package/lib/igx-x-checkbox-component.d.ts +238 -0
- package/lib/igx-x-checkbox-dynamic-module.d.ts +11 -0
- package/lib/igx-x-checkbox-module.d.ts +11 -0
- package/lib/igx-x-icon-component.d.ts +255 -0
- package/lib/igx-x-icon-dynamic-module.d.ts +10 -0
- package/lib/igx-x-icon-module.d.ts +10 -0
- package/lib/igx-x-input-component.d.ts +212 -0
- package/lib/igx-x-input-dynamic-module.d.ts +10 -0
- package/lib/igx-x-input-group-component.d.ts +855 -0
- package/lib/igx-x-input-group-dynamic-module.d.ts +12 -0
- package/lib/igx-x-input-group-input-collection.d.ts +8 -0
- package/lib/igx-x-input-group-item-component.d.ts +35 -0
- package/lib/igx-x-input-group-module.d.ts +12 -0
- package/lib/igx-x-input-module.d.ts +10 -0
- package/lib/igx-x-label-component.d.ts +175 -0
- package/lib/igx-x-label-dynamic-module.d.ts +10 -0
- package/lib/igx-x-label-module.d.ts +10 -0
- package/lib/igx-x-prefix-component.d.ts +60 -0
- package/lib/igx-x-prefix-dynamic-module.d.ts +10 -0
- package/lib/igx-x-prefix-module.d.ts +10 -0
- package/lib/igx-x-ripple-component.d.ts +110 -0
- package/lib/igx-x-ripple-dynamic-module.d.ts +9 -0
- package/lib/igx-x-ripple-module.d.ts +9 -0
- package/lib/igx-x-suffix-component.d.ts +60 -0
- package/package.json +39 -0
- package/public_api.d.ts +123 -0
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
import { Output, TemplateRef, EventEmitter, Component, ViewContainerRef, ViewChild, Input, ChangeDetectionStrategy, HostBinding } from '@angular/core';
|
|
2
|
+
import { XCheckbox } from "./XCheckbox";
|
|
3
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, toSpinal, initializePropertiesFromCss, NamePatcher } from "igniteui-angular-core";
|
|
4
|
+
import { AngularRenderer, PortalManager } from "igniteui-angular-core";
|
|
5
|
+
import { delegateCombine } from "igniteui-angular-core";
|
|
6
|
+
import { IgxCheckboxChangeEventArgs } from './igx-checkbox-change-event-args';
|
|
7
|
+
import { CheckboxLabelPosition_$type } from './CheckboxLabelPosition';
|
|
8
|
+
import { BaseControlTheme_$type } from "igniteui-angular-core";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
var IgxXCheckboxComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
11
|
+
function IgxXCheckboxComponent(renderer, _elRef, ngZone, injector, componentFactoryResolver) {
|
|
12
|
+
this.renderer = renderer;
|
|
13
|
+
this._elRef = _elRef;
|
|
14
|
+
this.ngZone = ngZone;
|
|
15
|
+
this.injector = injector;
|
|
16
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
17
|
+
this._wrapper = null;
|
|
18
|
+
this._portalManager = null;
|
|
19
|
+
this._root = null;
|
|
20
|
+
this._implementation = null;
|
|
21
|
+
this.__p = null;
|
|
22
|
+
this._hasUserValues = new Set();
|
|
23
|
+
this._stylingContainer = null;
|
|
24
|
+
this._stylingParent = null;
|
|
25
|
+
this._inStyling = false;
|
|
26
|
+
this._change = null;
|
|
27
|
+
this._zoneRunner = null;
|
|
28
|
+
if (this._styling) {
|
|
29
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
30
|
+
}
|
|
31
|
+
this._implementation = this.createImplementation();
|
|
32
|
+
this._implementation.externalObject = this;
|
|
33
|
+
if (renderer) {
|
|
34
|
+
this.container = renderer.createElement("div");
|
|
35
|
+
renderer.appendChild(_elRef.element.nativeElement, this.container);
|
|
36
|
+
renderer.setStyle(this.container, "display", "inline-block");
|
|
37
|
+
}
|
|
38
|
+
var root;
|
|
39
|
+
root = this.container;
|
|
40
|
+
if (this.container != null) {
|
|
41
|
+
root = this.container;
|
|
42
|
+
}
|
|
43
|
+
if (root && root.nativeElement) {
|
|
44
|
+
root = root.nativeElement;
|
|
45
|
+
}
|
|
46
|
+
this._root = root;
|
|
47
|
+
var checkbox = this.i;
|
|
48
|
+
this._checkbox = checkbox;
|
|
49
|
+
if (renderer) {
|
|
50
|
+
this._portalManager = new PortalManager("checkboxLabel", componentFactoryResolver);
|
|
51
|
+
var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
|
|
52
|
+
this._wrapper = ren;
|
|
53
|
+
checkbox.provideContainer(ren);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
// supports angular themes or custom properties set in CSS
|
|
57
|
+
IgxXCheckboxComponent.prototype.updateStyle = function () {
|
|
58
|
+
this._styling(this._root, this);
|
|
59
|
+
};
|
|
60
|
+
IgxXCheckboxComponent.prototype.ngOnDestroy = function () {
|
|
61
|
+
this._checkbox.destroy();
|
|
62
|
+
this._wrapper.destroy();
|
|
63
|
+
};
|
|
64
|
+
IgxXCheckboxComponent.prototype.ngAfterViewInit = function () {
|
|
65
|
+
this._portalManager.dynamicContent = this._dynamicContent;
|
|
66
|
+
this._portalManager.onChildContentChanged(this._childTemplateRef);
|
|
67
|
+
this._styling(this._root, this);
|
|
68
|
+
this.updateStyle();
|
|
69
|
+
this.i.onContentReady();
|
|
70
|
+
};
|
|
71
|
+
IgxXCheckboxComponent.prototype.createImplementation = function () {
|
|
72
|
+
return new XCheckbox();
|
|
73
|
+
};
|
|
74
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "i", {
|
|
75
|
+
get: function () {
|
|
76
|
+
return this._implementation;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "baseTheme", {
|
|
82
|
+
/**
|
|
83
|
+
* Gets or sets the base built in theme to use for the checkbox.
|
|
84
|
+
*/
|
|
85
|
+
get: function () {
|
|
86
|
+
return this.i.n;
|
|
87
|
+
},
|
|
88
|
+
set: function (v) {
|
|
89
|
+
this.i.n = ensureEnum(BaseControlTheme_$type, v);
|
|
90
|
+
},
|
|
91
|
+
enumerable: false,
|
|
92
|
+
configurable: true
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "uncheckedBackgroundColor", {
|
|
95
|
+
/**
|
|
96
|
+
* Gets or sets the color to use for the background when the checkbox is unchecked.
|
|
97
|
+
*/
|
|
98
|
+
get: function () {
|
|
99
|
+
return brushToString(this.i.dl);
|
|
100
|
+
},
|
|
101
|
+
set: function (v) {
|
|
102
|
+
this.i.dl = stringToBrush(v);
|
|
103
|
+
},
|
|
104
|
+
enumerable: false,
|
|
105
|
+
configurable: true
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualUncheckedBackgroundColor", {
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the color to use for the actual background when the checkbox is unchecked.
|
|
110
|
+
*/
|
|
111
|
+
get: function () {
|
|
112
|
+
return brushToString(this.i.db);
|
|
113
|
+
},
|
|
114
|
+
set: function (v) {
|
|
115
|
+
this.i.db = stringToBrush(v);
|
|
116
|
+
},
|
|
117
|
+
enumerable: false,
|
|
118
|
+
configurable: true
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "checkedBackgroundColor", {
|
|
121
|
+
/**
|
|
122
|
+
* Gets or sets the color to use for the background when the checkbox is checked.
|
|
123
|
+
*/
|
|
124
|
+
get: function () {
|
|
125
|
+
return brushToString(this.i.dd);
|
|
126
|
+
},
|
|
127
|
+
set: function (v) {
|
|
128
|
+
this.i.dd = stringToBrush(v);
|
|
129
|
+
},
|
|
130
|
+
enumerable: false,
|
|
131
|
+
configurable: true
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "tickColor", {
|
|
134
|
+
/**
|
|
135
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
136
|
+
*/
|
|
137
|
+
get: function () {
|
|
138
|
+
return brushToString(this.i.dk);
|
|
139
|
+
},
|
|
140
|
+
set: function (v) {
|
|
141
|
+
this.i.dk = stringToBrush(v);
|
|
142
|
+
},
|
|
143
|
+
enumerable: false,
|
|
144
|
+
configurable: true
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualTickColor", {
|
|
147
|
+
/**
|
|
148
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
149
|
+
*/
|
|
150
|
+
get: function () {
|
|
151
|
+
return brushToString(this.i.da);
|
|
152
|
+
},
|
|
153
|
+
set: function (v) {
|
|
154
|
+
this.i.da = stringToBrush(v);
|
|
155
|
+
},
|
|
156
|
+
enumerable: false,
|
|
157
|
+
configurable: true
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "uncheckedBorderColor", {
|
|
160
|
+
/**
|
|
161
|
+
* Gets or sets the color to use for the check mark when the checkbox is unchecked.
|
|
162
|
+
*/
|
|
163
|
+
get: function () {
|
|
164
|
+
return brushToString(this.i.dm);
|
|
165
|
+
},
|
|
166
|
+
set: function (v) {
|
|
167
|
+
this.i.dm = stringToBrush(v);
|
|
168
|
+
},
|
|
169
|
+
enumerable: false,
|
|
170
|
+
configurable: true
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "checkedBorderColor", {
|
|
173
|
+
/**
|
|
174
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
175
|
+
*/
|
|
176
|
+
get: function () {
|
|
177
|
+
return brushToString(this.i.de);
|
|
178
|
+
},
|
|
179
|
+
set: function (v) {
|
|
180
|
+
this.i.de = stringToBrush(v);
|
|
181
|
+
},
|
|
182
|
+
enumerable: false,
|
|
183
|
+
configurable: true
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualUncheckedBorderColor", {
|
|
186
|
+
/**
|
|
187
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
188
|
+
*/
|
|
189
|
+
get: function () {
|
|
190
|
+
return brushToString(this.i.dc);
|
|
191
|
+
},
|
|
192
|
+
set: function (v) {
|
|
193
|
+
this.i.dc = stringToBrush(v);
|
|
194
|
+
},
|
|
195
|
+
enumerable: false,
|
|
196
|
+
configurable: true
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualCheckedBorderColor", {
|
|
199
|
+
/**
|
|
200
|
+
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
201
|
+
*/
|
|
202
|
+
get: function () {
|
|
203
|
+
return brushToString(this.i.c9);
|
|
204
|
+
},
|
|
205
|
+
set: function (v) {
|
|
206
|
+
this.i.c9 = stringToBrush(v);
|
|
207
|
+
},
|
|
208
|
+
enumerable: false,
|
|
209
|
+
configurable: true
|
|
210
|
+
});
|
|
211
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "borderWidth", {
|
|
212
|
+
/**
|
|
213
|
+
* Gets or sets the Width to use for the check mark when the checkbox is checked.
|
|
214
|
+
*/
|
|
215
|
+
get: function () {
|
|
216
|
+
return this.i.aq;
|
|
217
|
+
},
|
|
218
|
+
set: function (v) {
|
|
219
|
+
this.i.aq = +v;
|
|
220
|
+
},
|
|
221
|
+
enumerable: false,
|
|
222
|
+
configurable: true
|
|
223
|
+
});
|
|
224
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualBorderWidth", {
|
|
225
|
+
/**
|
|
226
|
+
* Gets or sets the Width to use for the check mark when the checkbox is checked.
|
|
227
|
+
*/
|
|
228
|
+
get: function () {
|
|
229
|
+
return this.i.an;
|
|
230
|
+
},
|
|
231
|
+
set: function (v) {
|
|
232
|
+
this.i.an = +v;
|
|
233
|
+
},
|
|
234
|
+
enumerable: false,
|
|
235
|
+
configurable: true
|
|
236
|
+
});
|
|
237
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "cornerRadius", {
|
|
238
|
+
/**
|
|
239
|
+
* Gets or sets the corner radius to use for the checkbox.
|
|
240
|
+
*/
|
|
241
|
+
get: function () {
|
|
242
|
+
return this.i.ar;
|
|
243
|
+
},
|
|
244
|
+
set: function (v) {
|
|
245
|
+
this.i.ar = +v;
|
|
246
|
+
},
|
|
247
|
+
enumerable: false,
|
|
248
|
+
configurable: true
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "tickStrokeWidth", {
|
|
251
|
+
/**
|
|
252
|
+
* Gets or sets the corner radius to use for the checkbox.
|
|
253
|
+
*/
|
|
254
|
+
get: function () {
|
|
255
|
+
return this.i.av;
|
|
256
|
+
},
|
|
257
|
+
set: function (v) {
|
|
258
|
+
this.i.av = +v;
|
|
259
|
+
},
|
|
260
|
+
enumerable: false,
|
|
261
|
+
configurable: true
|
|
262
|
+
});
|
|
263
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualTickStrokeWidth", {
|
|
264
|
+
/**
|
|
265
|
+
* Gets or sets the stroke width to use for the check mark.
|
|
266
|
+
*/
|
|
267
|
+
get: function () {
|
|
268
|
+
return this.i.ap;
|
|
269
|
+
},
|
|
270
|
+
set: function (v) {
|
|
271
|
+
this.i.ap = +v;
|
|
272
|
+
},
|
|
273
|
+
enumerable: false,
|
|
274
|
+
configurable: true
|
|
275
|
+
});
|
|
276
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualCornerRadius", {
|
|
277
|
+
/**
|
|
278
|
+
* Gets the actual corner radius to use for the checkbox.
|
|
279
|
+
*/
|
|
280
|
+
get: function () {
|
|
281
|
+
return this.i.ao;
|
|
282
|
+
},
|
|
283
|
+
set: function (v) {
|
|
284
|
+
this.i.ao = +v;
|
|
285
|
+
},
|
|
286
|
+
enumerable: false,
|
|
287
|
+
configurable: true
|
|
288
|
+
});
|
|
289
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "actualCheckedBackgroundColor", {
|
|
290
|
+
/**
|
|
291
|
+
* Gets or sets the color to use for the actual background when the checkbox is checked.
|
|
292
|
+
*/
|
|
293
|
+
get: function () {
|
|
294
|
+
return brushToString(this.i.c8);
|
|
295
|
+
},
|
|
296
|
+
set: function (v) {
|
|
297
|
+
this.i.c8 = stringToBrush(v);
|
|
298
|
+
},
|
|
299
|
+
enumerable: false,
|
|
300
|
+
configurable: true
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "inputId", {
|
|
303
|
+
/**
|
|
304
|
+
* Gets or sets the id to use for the internal native checkbox.
|
|
305
|
+
*/
|
|
306
|
+
get: function () {
|
|
307
|
+
return this.i.b1;
|
|
308
|
+
},
|
|
309
|
+
set: function (v) {
|
|
310
|
+
this.i.b1 = v;
|
|
311
|
+
},
|
|
312
|
+
enumerable: false,
|
|
313
|
+
configurable: true
|
|
314
|
+
});
|
|
315
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "id", {
|
|
316
|
+
/**
|
|
317
|
+
* Gets or sets the id to use for the checkbox.
|
|
318
|
+
*/
|
|
319
|
+
get: function () {
|
|
320
|
+
return this.i.bz;
|
|
321
|
+
},
|
|
322
|
+
set: function (v) {
|
|
323
|
+
this.i.bz = v;
|
|
324
|
+
},
|
|
325
|
+
enumerable: false,
|
|
326
|
+
configurable: true
|
|
327
|
+
});
|
|
328
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "labelId", {
|
|
329
|
+
/**
|
|
330
|
+
* Gets or sets id to use for the checkbox label.
|
|
331
|
+
*/
|
|
332
|
+
get: function () {
|
|
333
|
+
return this.i.labelId;
|
|
334
|
+
},
|
|
335
|
+
set: function (v) {
|
|
336
|
+
this.i.labelId = v;
|
|
337
|
+
},
|
|
338
|
+
enumerable: false,
|
|
339
|
+
configurable: true
|
|
340
|
+
});
|
|
341
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "name", {
|
|
342
|
+
/**
|
|
343
|
+
* Gets or sets name to use for the checkbox.
|
|
344
|
+
*/
|
|
345
|
+
get: function () {
|
|
346
|
+
return this.i.ca;
|
|
347
|
+
},
|
|
348
|
+
set: function (v) {
|
|
349
|
+
this.i.ca = v;
|
|
350
|
+
},
|
|
351
|
+
enumerable: false,
|
|
352
|
+
configurable: true
|
|
353
|
+
});
|
|
354
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "tabIndex", {
|
|
355
|
+
/**
|
|
356
|
+
* Gets or sets TabIndex to use for the checkbox.
|
|
357
|
+
*/
|
|
358
|
+
get: function () {
|
|
359
|
+
return this.i.az;
|
|
360
|
+
},
|
|
361
|
+
set: function (v) {
|
|
362
|
+
this.i.az = +v;
|
|
363
|
+
},
|
|
364
|
+
enumerable: false,
|
|
365
|
+
configurable: true
|
|
366
|
+
});
|
|
367
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "required", {
|
|
368
|
+
/**
|
|
369
|
+
* Gets or sets if the checkbox is required.
|
|
370
|
+
*/
|
|
371
|
+
get: function () {
|
|
372
|
+
return this.i.ay;
|
|
373
|
+
},
|
|
374
|
+
set: function (v) {
|
|
375
|
+
this.i.ay = +v;
|
|
376
|
+
},
|
|
377
|
+
enumerable: false,
|
|
378
|
+
configurable: true
|
|
379
|
+
});
|
|
380
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "ariaLabelledBy", {
|
|
381
|
+
/**
|
|
382
|
+
* Gets or sets the value of the aria-labelledby attribute.
|
|
383
|
+
*/
|
|
384
|
+
get: function () {
|
|
385
|
+
return this.i.bn;
|
|
386
|
+
},
|
|
387
|
+
set: function (v) {
|
|
388
|
+
this.i.bn = v;
|
|
389
|
+
},
|
|
390
|
+
enumerable: false,
|
|
391
|
+
configurable: true
|
|
392
|
+
});
|
|
393
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "ariaLabel", {
|
|
394
|
+
/**
|
|
395
|
+
* Gets or sets the value of the aria-label attribute.
|
|
396
|
+
*/
|
|
397
|
+
get: function () {
|
|
398
|
+
return this.i.bm;
|
|
399
|
+
},
|
|
400
|
+
set: function (v) {
|
|
401
|
+
this.i.bm = v;
|
|
402
|
+
},
|
|
403
|
+
enumerable: false,
|
|
404
|
+
configurable: true
|
|
405
|
+
});
|
|
406
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "value", {
|
|
407
|
+
/**
|
|
408
|
+
* Gets or sets value to use for the checkbox.
|
|
409
|
+
*/
|
|
410
|
+
get: function () {
|
|
411
|
+
return this.i.a4;
|
|
412
|
+
},
|
|
413
|
+
set: function (v) {
|
|
414
|
+
this.i.a4 = v;
|
|
415
|
+
},
|
|
416
|
+
enumerable: false,
|
|
417
|
+
configurable: true
|
|
418
|
+
});
|
|
419
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "focused", {
|
|
420
|
+
/**
|
|
421
|
+
* Gets or sets if the checkbox is Focused.
|
|
422
|
+
*/
|
|
423
|
+
get: function () {
|
|
424
|
+
return this.i.focused;
|
|
425
|
+
},
|
|
426
|
+
set: function (v) {
|
|
427
|
+
this.i.focused = ensureBool(v);
|
|
428
|
+
},
|
|
429
|
+
enumerable: false,
|
|
430
|
+
configurable: true
|
|
431
|
+
});
|
|
432
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "labelPosition", {
|
|
433
|
+
/**
|
|
434
|
+
* Gets or sets LabelPosition to use for the checkbox.
|
|
435
|
+
*/
|
|
436
|
+
get: function () {
|
|
437
|
+
return this.i.e;
|
|
438
|
+
},
|
|
439
|
+
set: function (v) {
|
|
440
|
+
this.i.e = ensureEnum(CheckboxLabelPosition_$type, v);
|
|
441
|
+
},
|
|
442
|
+
enumerable: false,
|
|
443
|
+
configurable: true
|
|
444
|
+
});
|
|
445
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "disableRipple", {
|
|
446
|
+
/**
|
|
447
|
+
* Gets or sets whether to disable the ripple effect for the checkbox.
|
|
448
|
+
*/
|
|
449
|
+
get: function () {
|
|
450
|
+
return this.i.y;
|
|
451
|
+
},
|
|
452
|
+
set: function (v) {
|
|
453
|
+
this.i.y = ensureBool(v);
|
|
454
|
+
},
|
|
455
|
+
enumerable: false,
|
|
456
|
+
configurable: true
|
|
457
|
+
});
|
|
458
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "checked", {
|
|
459
|
+
/**
|
|
460
|
+
* Gets or sets whether the checkbox is checked.
|
|
461
|
+
*/
|
|
462
|
+
get: function () {
|
|
463
|
+
return this.i.checked;
|
|
464
|
+
},
|
|
465
|
+
set: function (v) {
|
|
466
|
+
this.i.checked = ensureBool(v);
|
|
467
|
+
},
|
|
468
|
+
enumerable: false,
|
|
469
|
+
configurable: true
|
|
470
|
+
});
|
|
471
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "indeterminate", {
|
|
472
|
+
/**
|
|
473
|
+
* Gets or sets whether the checkbox is indeterminate.
|
|
474
|
+
*/
|
|
475
|
+
get: function () {
|
|
476
|
+
return this.i.indeterminate;
|
|
477
|
+
},
|
|
478
|
+
set: function (v) {
|
|
479
|
+
this.i.indeterminate = ensureBool(v);
|
|
480
|
+
},
|
|
481
|
+
enumerable: false,
|
|
482
|
+
configurable: true
|
|
483
|
+
});
|
|
484
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "disabled", {
|
|
485
|
+
/**
|
|
486
|
+
* Gets or sets whether the checkbox is disabled.
|
|
487
|
+
*/
|
|
488
|
+
get: function () {
|
|
489
|
+
return this.i.disabled;
|
|
490
|
+
},
|
|
491
|
+
set: function (v) {
|
|
492
|
+
this.i.disabled = ensureBool(v);
|
|
493
|
+
},
|
|
494
|
+
enumerable: false,
|
|
495
|
+
configurable: true
|
|
496
|
+
});
|
|
497
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "disableTransitions", {
|
|
498
|
+
/**
|
|
499
|
+
* Gets or sets whether the checkbox transitions are disabled.
|
|
500
|
+
*/
|
|
501
|
+
get: function () {
|
|
502
|
+
return this.i.z;
|
|
503
|
+
},
|
|
504
|
+
set: function (v) {
|
|
505
|
+
this.i.z = ensureBool(v);
|
|
506
|
+
},
|
|
507
|
+
enumerable: false,
|
|
508
|
+
configurable: true
|
|
509
|
+
});
|
|
510
|
+
IgxXCheckboxComponent.prototype.findByName = function (name) {
|
|
511
|
+
if (this.findEphemera) {
|
|
512
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
513
|
+
return this.findEphemera(name);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
return null;
|
|
517
|
+
};
|
|
518
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "hasUserValues", {
|
|
519
|
+
get: function () {
|
|
520
|
+
return this._hasUserValues;
|
|
521
|
+
},
|
|
522
|
+
enumerable: false,
|
|
523
|
+
configurable: true
|
|
524
|
+
});
|
|
525
|
+
IgxXCheckboxComponent.prototype.__m = function (propertyName) {
|
|
526
|
+
if (!this._inStyling) {
|
|
527
|
+
this._hasUserValues.add(propertyName);
|
|
528
|
+
}
|
|
529
|
+
};
|
|
530
|
+
IgxXCheckboxComponent.prototype._styling = function (container, component, parent) {
|
|
531
|
+
if (this._inStyling) {
|
|
532
|
+
return;
|
|
533
|
+
}
|
|
534
|
+
this._inStyling = true;
|
|
535
|
+
this._stylingContainer = container;
|
|
536
|
+
this._stylingParent = component;
|
|
537
|
+
var genericPrefix = "";
|
|
538
|
+
var typeName = this.i.$type.name;
|
|
539
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
540
|
+
typeName = typeName.substring(3);
|
|
541
|
+
}
|
|
542
|
+
genericPrefix = toSpinal("XCheckboxComponent");
|
|
543
|
+
var additionalPrefixes = [];
|
|
544
|
+
var prefix = toSpinal(typeName);
|
|
545
|
+
additionalPrefixes.push(prefix + "-");
|
|
546
|
+
var b = this.i.$type.baseType;
|
|
547
|
+
while (b && b.name != "Object" &&
|
|
548
|
+
b.name != "Base" &&
|
|
549
|
+
b.name != "Control" &&
|
|
550
|
+
b.Name != "DependencyObject" &&
|
|
551
|
+
b.Name != "FrameworkElement") {
|
|
552
|
+
typeName = b.name;
|
|
553
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
554
|
+
typeName = typeName.substring(3);
|
|
555
|
+
}
|
|
556
|
+
var basePrefix = toSpinal(typeName);
|
|
557
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
558
|
+
b = b.baseType;
|
|
559
|
+
}
|
|
560
|
+
if (parent) {
|
|
561
|
+
var parentTypeName = parent.i.$type.name;
|
|
562
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
563
|
+
parentTypeName = parentTypeName.substring(3);
|
|
564
|
+
}
|
|
565
|
+
var parentPrefix = toSpinal(parentTypeName);
|
|
566
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
567
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
568
|
+
}
|
|
569
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
570
|
+
if (this._otherStyling) {
|
|
571
|
+
this._otherStyling(container, component, parent);
|
|
572
|
+
}
|
|
573
|
+
this._inStyling = false;
|
|
574
|
+
};
|
|
575
|
+
IgxXCheckboxComponent.prototype.onDetachedFromUI = function () {
|
|
576
|
+
this.i.onDetachedFromUI();
|
|
577
|
+
};
|
|
578
|
+
IgxXCheckboxComponent.prototype.onAttachedToUI = function () {
|
|
579
|
+
this.i.onAttachedToUI();
|
|
580
|
+
};
|
|
581
|
+
/**
|
|
582
|
+
* Exports visual information about the current state of the grid.
|
|
583
|
+
|
|
584
|
+
*/
|
|
585
|
+
IgxXCheckboxComponent.prototype.exportVisualModel = function () {
|
|
586
|
+
var iv = this.i.a3();
|
|
587
|
+
return (iv);
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* Returns a serialized copy of the exported visual model
|
|
591
|
+
|
|
592
|
+
*/
|
|
593
|
+
IgxXCheckboxComponent.prototype.exportSerializedVisualModel = function () {
|
|
594
|
+
var iv = this.i.by();
|
|
595
|
+
return (iv);
|
|
596
|
+
};
|
|
597
|
+
Object.defineProperty(IgxXCheckboxComponent.prototype, "change", {
|
|
598
|
+
get: function () {
|
|
599
|
+
var _this = this;
|
|
600
|
+
if (this._change == null) {
|
|
601
|
+
this._change = new EventEmitter();
|
|
602
|
+
this.i.change = delegateCombine(this.i.change, function (o, e) {
|
|
603
|
+
_this._runInZone(function () {
|
|
604
|
+
var outerArgs = new IgxCheckboxChangeEventArgs();
|
|
605
|
+
outerArgs._provideImplementation(e);
|
|
606
|
+
if (_this.beforeChange) {
|
|
607
|
+
_this.beforeChange(_this, outerArgs);
|
|
608
|
+
}
|
|
609
|
+
_this._change.emit({
|
|
610
|
+
sender: _this,
|
|
611
|
+
args: outerArgs
|
|
612
|
+
});
|
|
613
|
+
});
|
|
614
|
+
});
|
|
615
|
+
}
|
|
616
|
+
return this._change;
|
|
617
|
+
},
|
|
618
|
+
enumerable: false,
|
|
619
|
+
configurable: true
|
|
620
|
+
});
|
|
621
|
+
IgxXCheckboxComponent.prototype._runInZone = function (act) {
|
|
622
|
+
if (this._zoneRunner != null) {
|
|
623
|
+
this._zoneRunner(act);
|
|
624
|
+
}
|
|
625
|
+
else {
|
|
626
|
+
act();
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
IgxXCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXCheckboxComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
|
|
630
|
+
IgxXCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxXCheckboxComponent, selector: "igx-x-checkbox", inputs: { baseTheme: "baseTheme", uncheckedBackgroundColor: "uncheckedBackgroundColor", actualUncheckedBackgroundColor: "actualUncheckedBackgroundColor", checkedBackgroundColor: "checkedBackgroundColor", tickColor: "tickColor", actualTickColor: "actualTickColor", uncheckedBorderColor: "uncheckedBorderColor", checkedBorderColor: "checkedBorderColor", actualUncheckedBorderColor: "actualUncheckedBorderColor", actualCheckedBorderColor: "actualCheckedBorderColor", borderWidth: "borderWidth", actualBorderWidth: "actualBorderWidth", cornerRadius: "cornerRadius", tickStrokeWidth: "tickStrokeWidth", actualTickStrokeWidth: "actualTickStrokeWidth", actualCornerRadius: "actualCornerRadius", actualCheckedBackgroundColor: "actualCheckedBackgroundColor", inputId: "inputId", id: "id", labelId: "labelId", name: "name", tabIndex: ["tabindex", "tabIndex"], required: "required", ariaLabelledBy: ["aria-labelledby", "ariaLabelledBy"], ariaLabel: ["aria-label", "ariaLabel"], value: "value", focused: "focused", labelPosition: "labelPosition", disableRipple: "disableRipple", checked: "checked", indeterminate: "indeterminate", disabled: "disabled", disableTransitions: "disableTransitions" }, outputs: { change: "change" }, host: { properties: { "attr.id": "this.id" }, classAttribute: "ig-x-checkbox igx-x-checkbox" }, providers: [], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_childTemplateRef", first: true, predicate: ["childContent"], descendants: true, read: TemplateRef }], ngImport: i0, template: "<ng-template #childContent><ng-content></ng-content></ng-template>\n<ng-container #dynamicContent></ng-container>", isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: inline-block; \n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
631
|
+
return IgxXCheckboxComponent;
|
|
632
|
+
}());
|
|
633
|
+
export { IgxXCheckboxComponent };
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXCheckboxComponent, decorators: [{
|
|
635
|
+
type: Component,
|
|
636
|
+
args: [{
|
|
637
|
+
selector: 'igx-x-checkbox',
|
|
638
|
+
template: "<ng-template #childContent><ng-content></ng-content></ng-template>\n<ng-container #dynamicContent></ng-container>",
|
|
639
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
640
|
+
providers: [],
|
|
641
|
+
host: { 'class': 'ig-x-checkbox igx-x-checkbox' },
|
|
642
|
+
styles: ["\n\t\t:host {\n\t\t\tdisplay: inline-block; \n\t\t}\n\t"]
|
|
643
|
+
}]
|
|
644
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { _dynamicContent: [{
|
|
645
|
+
type: ViewChild,
|
|
646
|
+
args: ["dynamicContent", { read: ViewContainerRef, static: true }]
|
|
647
|
+
}], _childTemplateRef: [{
|
|
648
|
+
type: ViewChild,
|
|
649
|
+
args: ["childContent", { read: TemplateRef, static: false }]
|
|
650
|
+
}], baseTheme: [{
|
|
651
|
+
type: Input
|
|
652
|
+
}], uncheckedBackgroundColor: [{
|
|
653
|
+
type: Input
|
|
654
|
+
}], actualUncheckedBackgroundColor: [{
|
|
655
|
+
type: Input
|
|
656
|
+
}], checkedBackgroundColor: [{
|
|
657
|
+
type: Input
|
|
658
|
+
}], tickColor: [{
|
|
659
|
+
type: Input
|
|
660
|
+
}], actualTickColor: [{
|
|
661
|
+
type: Input
|
|
662
|
+
}], uncheckedBorderColor: [{
|
|
663
|
+
type: Input
|
|
664
|
+
}], checkedBorderColor: [{
|
|
665
|
+
type: Input
|
|
666
|
+
}], actualUncheckedBorderColor: [{
|
|
667
|
+
type: Input
|
|
668
|
+
}], actualCheckedBorderColor: [{
|
|
669
|
+
type: Input
|
|
670
|
+
}], borderWidth: [{
|
|
671
|
+
type: Input
|
|
672
|
+
}], actualBorderWidth: [{
|
|
673
|
+
type: Input
|
|
674
|
+
}], cornerRadius: [{
|
|
675
|
+
type: Input
|
|
676
|
+
}], tickStrokeWidth: [{
|
|
677
|
+
type: Input
|
|
678
|
+
}], actualTickStrokeWidth: [{
|
|
679
|
+
type: Input
|
|
680
|
+
}], actualCornerRadius: [{
|
|
681
|
+
type: Input
|
|
682
|
+
}], actualCheckedBackgroundColor: [{
|
|
683
|
+
type: Input
|
|
684
|
+
}], inputId: [{
|
|
685
|
+
type: Input
|
|
686
|
+
}], id: [{
|
|
687
|
+
type: HostBinding,
|
|
688
|
+
args: ['attr.id']
|
|
689
|
+
}, {
|
|
690
|
+
type: Input
|
|
691
|
+
}], labelId: [{
|
|
692
|
+
type: Input
|
|
693
|
+
}], name: [{
|
|
694
|
+
type: Input
|
|
695
|
+
}], tabIndex: [{
|
|
696
|
+
type: Input,
|
|
697
|
+
args: ['tabindex']
|
|
698
|
+
}], required: [{
|
|
699
|
+
type: Input
|
|
700
|
+
}], ariaLabelledBy: [{
|
|
701
|
+
type: Input,
|
|
702
|
+
args: ['aria-labelledby']
|
|
703
|
+
}], ariaLabel: [{
|
|
704
|
+
type: Input,
|
|
705
|
+
args: ['aria-label']
|
|
706
|
+
}], value: [{
|
|
707
|
+
type: Input
|
|
708
|
+
}], focused: [{
|
|
709
|
+
type: Input
|
|
710
|
+
}], labelPosition: [{
|
|
711
|
+
type: Input
|
|
712
|
+
}], disableRipple: [{
|
|
713
|
+
type: Input
|
|
714
|
+
}], checked: [{
|
|
715
|
+
type: Input
|
|
716
|
+
}], indeterminate: [{
|
|
717
|
+
type: Input
|
|
718
|
+
}], disabled: [{
|
|
719
|
+
type: Input
|
|
720
|
+
}], disableTransitions: [{
|
|
721
|
+
type: Input
|
|
722
|
+
}], change: [{
|
|
723
|
+
type: Output
|
|
724
|
+
}] } });
|