@progress/kendo-angular-inputs 8.0.4 → 9.0.0-next.202202161022
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/bundles/kendo-angular-inputs.umd.js +5 -0
- package/{dist/es2015/checkbox → checkbox}/checkbox.directive.d.ts +7 -2
- package/{dist/es2015/checkbox.module.d.ts → checkbox.module.d.ts} +6 -0
- package/{dist/es2015/colorpicker → colorpicker}/color-contrast-svg.component.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/color-gradient.component.d.ts +23 -17
- package/{dist/es2015/colorpicker → colorpicker}/color-input.component.d.ts +6 -3
- package/{dist/es2015/colorpicker → colorpicker}/color-palette.component.d.ts +17 -10
- package/{dist/es2015/colorpicker → colorpicker}/colorpicker.component.d.ts +30 -18
- package/{dist/es2015/colorpicker → colorpicker}/constants.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/contrast-validation.component.d.ts +6 -3
- package/{dist/es2015/colorpicker → colorpicker}/contrast.component.d.ts +8 -5
- package/{dist/es2015/colorpicker → colorpicker}/events/active-color-click-event.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/events/cancel-event.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/events/close-event.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/events/kendo-drag-event.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/events/open-event.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/events.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/flatcolorpicker-actions.component.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/flatcolorpicker-header.component.d.ts +5 -2
- package/{dist/es2015/colorpicker → colorpicker}/flatcolorpicker.component.d.ts +15 -8
- package/{dist/es2015/colorpicker → colorpicker}/focus-on-dom-ready.directive.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/localization/colorgradient-localization.service.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/localization/colorpalette-localization.service.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/localization/colorpicker-localization.service.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/colorpicker → colorpicker}/localization/flatcolorpicker-localization.service.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/localization/localized-colorpicker-messages.directive.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/localization/messages.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/actions-layout.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/colorpicker-view.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/gradient-settings.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/hsva.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/output-format.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/palette-presets.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/palette-settings.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/popup-settings.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/rgb.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/rgba.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/table-cell.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models/tile-size.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/models.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/services/color-palette.service.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/services/flatcolorpicker.service.d.ts +3 -0
- package/{dist/es2015/colorpicker → colorpicker}/utils/color-parser.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/utils/contrast-curve.d.ts +0 -0
- package/{dist/es2015/colorpicker → colorpicker}/utils.d.ts +0 -0
- package/colorpicker.module.d.ts +32 -0
- package/{dist/es2015/common → common}/dom-utils.d.ts +0 -0
- package/{dist/es2015/common → common}/math.d.ts +0 -0
- package/{dist/es2015/common → common}/models/fillmode.d.ts +0 -0
- package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
- package/{dist/es2015/common → common}/models/size.d.ts +0 -0
- package/{dist/es2015/common → common}/models/styling-classes.d.ts +0 -0
- package/{dist/es2015/common → common}/models.d.ts +0 -0
- package/{dist/es2015/common → common}/utils.d.ts +0 -0
- package/{dist/es2015 → esm2015}/checkbox/checkbox.directive.js +19 -26
- package/{dist/es2015 → esm2015}/checkbox.module.js +14 -11
- package/{dist/es2015 → esm2015}/colorpicker/color-contrast-svg.component.js +24 -30
- package/{dist/es2015 → esm2015}/colorpicker/color-gradient.component.js +227 -133
- package/{dist/es2015 → esm2015}/colorpicker/color-input.component.js +143 -65
- package/{dist/es2015 → esm2015}/colorpicker/color-palette.component.js +139 -132
- package/{dist/es2015 → esm2015}/colorpicker/colorpicker.component.js +224 -212
- package/{dist/es2015 → esm2015}/colorpicker/constants.js +0 -0
- package/esm2015/colorpicker/contrast-validation.component.js +66 -0
- package/esm2015/colorpicker/contrast.component.js +94 -0
- package/{dist/es2015 → esm2015}/colorpicker/events/active-color-click-event.js +0 -0
- package/{dist/es2015 → esm2015}/colorpicker/events/cancel-event.js +0 -0
- package/{dist/es2015 → esm2015}/colorpicker/events/close-event.js +0 -0
- package/{dist/es2015 → esm2015}/colorpicker/events/kendo-drag-event.js +1 -0
- package/{dist/es2015 → esm2015}/colorpicker/events/open-event.js +0 -0
- package/{dist/es → esm2015}/colorpicker/events.js +0 -0
- package/esm2015/colorpicker/flatcolorpicker-actions.component.js +76 -0
- package/esm2015/colorpicker/flatcolorpicker-header.component.js +160 -0
- package/{dist/es2015 → esm2015}/colorpicker/flatcolorpicker.component.js +205 -153
- package/esm2015/colorpicker/focus-on-dom-ready.directive.js +29 -0
- package/esm2015/colorpicker/localization/colorgradient-localization.service.js +45 -0
- package/esm2015/colorpicker/localization/colorpalette-localization.service.js +45 -0
- package/esm2015/colorpicker/localization/colorpicker-localization.service.js +31 -0
- package/esm2015/colorpicker/localization/custom-messages.component.js +40 -0
- package/esm2015/colorpicker/localization/flatcolorpicker-localization.service.js +45 -0
- package/esm2015/colorpicker/localization/localized-colorpicker-messages.directive.js +36 -0
- package/esm2015/colorpicker/localization/messages.js +66 -0
- package/{dist/es2015 → esm2015}/colorpicker/models/actions-layout.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/colorpicker-view.js +1 -0
- package/{dist/es2015 → esm2015}/colorpicker/models/gradient-settings.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/hsva.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/output-format.js +1 -0
- package/{dist/es2015 → esm2015}/colorpicker/models/palette-presets.js +1 -1
- package/{dist/es → esm2015}/colorpicker/models/palette-settings.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/popup-settings.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/rgb.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/rgba.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/table-cell.js +1 -0
- package/{dist/es → esm2015}/colorpicker/models/tile-size.js +1 -0
- package/esm2015/colorpicker/models.js +16 -0
- package/{dist/es2015 → esm2015}/colorpicker/services/color-palette.service.js +8 -10
- package/{dist/es2015 → esm2015}/colorpicker/services/flatcolorpicker.service.js +8 -7
- package/{dist/es2015 → esm2015}/colorpicker/utils/color-parser.js +0 -0
- package/{dist/es2015 → esm2015}/colorpicker/utils/contrast-curve.js +0 -0
- package/{dist/es → esm2015}/colorpicker/utils.js +0 -0
- package/{dist/es2015 → esm2015}/colorpicker.module.js +44 -15
- package/{dist/es2015 → esm2015}/common/dom-utils.js +0 -2
- package/{dist/es2015 → esm2015}/common/math.js +0 -2
- package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
- package/{dist/es → esm2015}/common/models/rounded.js +1 -0
- package/{dist/es → esm2015}/common/models/size.js +1 -0
- package/{dist/es → esm2015}/common/models/styling-classes.js +1 -0
- package/{dist/es → esm2015}/common/models.js +4 -0
- package/{dist/es2015 → esm2015}/common/utils.js +0 -0
- package/esm2015/formfield/error.component.js +68 -0
- package/{dist/es2015 → esm2015}/formfield/formfield.component.js +68 -72
- package/esm2015/formfield/hint.component.js +63 -0
- package/{dist/es → esm2015}/formfield/models/message-align.js +1 -0
- package/{dist/es → esm2015}/formfield/models/orientation.js +1 -0
- package/{dist/es → esm2015}/formfield/models/show-options.js +1 -0
- package/{dist/es2015 → esm2015}/formfield.module.js +14 -11
- package/{dist/es2015 → esm2015}/inputs.module.js +45 -22
- package/{dist/es2015/sliders-common/sliders-common.module.d.ts → esm2015/kendo-angular-inputs.js} +2 -3
- package/{dist/es2015 → esm2015}/main.js +6 -0
- package/{dist/es2015 → esm2015}/maskedtextbox/maskedtextbox.component.js +142 -156
- package/{dist/es2015 → esm2015}/maskedtextbox/masking.service.js +8 -10
- package/{dist/es2015 → esm2015}/maskedtextbox/parsing/combinators.js +0 -3
- package/{dist/es2015 → esm2015}/maskedtextbox/parsing/parsers.js +0 -2
- package/{dist/es2015 → esm2015}/maskedtextbox/parsing/result.js +0 -0
- package/{dist/es2015 → esm2015}/maskedtextbox/parsing/stream.js +0 -0
- package/{dist/es → esm2015}/maskedtextbox.module.js +14 -14
- package/{dist/es → esm2015}/numerictextbox/arrow-direction.js +0 -0
- package/{dist/es2015 → esm2015}/numerictextbox/constants.js +0 -0
- package/esm2015/numerictextbox/localization/custom-messages.component.js +40 -0
- package/esm2015/numerictextbox/localization/localized-numerictextbox-messages.directive.js +36 -0
- package/esm2015/numerictextbox/localization/messages.js +24 -0
- package/{dist/es2015 → esm2015}/numerictextbox/numerictextbox.component.js +161 -151
- package/{dist/es2015 → esm2015}/numerictextbox/utils.js +1 -1
- package/{dist/es2015 → esm2015}/numerictextbox.module.js +24 -18
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/{dist/es2015 → esm2015}/radiobutton/radiobutton.directive.js +17 -20
- package/{dist/es2015 → esm2015}/radiobutton.module.js +14 -11
- package/esm2015/rangeslider/localization/custom-messages.component.js +40 -0
- package/esm2015/rangeslider/localization/localized-rangeslider-messages.directive.js +36 -0
- package/esm2015/rangeslider/localization/messages.js +24 -0
- package/{dist/es2015 → esm2015}/rangeslider/rangeslider-model.js +0 -0
- package/{dist/es → esm2015}/rangeslider/rangeslider-value.type.js +1 -0
- package/{dist/es2015 → esm2015}/rangeslider/rangeslider.component.js +111 -38
- package/{dist/es2015 → esm2015}/rangeslider.module.js +28 -20
- package/esm2015/shared/input-separator.component.js +41 -0
- package/{dist/es2015 → esm2015}/shared/textarea.directive.js +49 -49
- package/{dist/es2015 → esm2015}/shared/utils.js +0 -0
- package/esm2015/shared.module.js +32 -0
- package/esm2015/slider/localization/custom-messages.component.js +40 -0
- package/esm2015/slider/localization/localized-slider-messages.directive.js +36 -0
- package/esm2015/slider/localization/messages.js +26 -0
- package/{dist/es2015 → esm2015}/slider/slider-model.js +0 -0
- package/{dist/es2015 → esm2015}/slider/slider.component.js +133 -71
- package/{dist/es → esm2015}/slider.module.js +28 -23
- package/{dist/es2015 → esm2015}/sliders-common/label-template.directive.js +14 -12
- package/{dist/es2015 → esm2015}/sliders-common/slider-base.js +77 -112
- package/{dist/es2015 → esm2015}/sliders-common/slider-model.base.js +0 -0
- package/esm2015/sliders-common/slider-ticks.component.js +125 -0
- package/esm2015/sliders-common/sliders-common.module.js +42 -0
- package/{dist/es2015 → esm2015}/sliders-common/sliders-util.js +0 -0
- package/esm2015/switch/localization/custom-messages.component.js +40 -0
- package/esm2015/switch/localization/localized-switch-messages.directive.js +36 -0
- package/esm2015/switch/localization/messages.js +24 -0
- package/{dist/es2015 → esm2015}/switch/switch.component.js +140 -134
- package/{dist/es2015 → esm2015}/switch.module.js +26 -19
- package/{dist/es2015 → esm2015}/text-fields-common/text-fields-base.js +37 -47
- package/{dist/es → esm2015}/textarea/models/flow.js +1 -0
- package/{dist/es → esm2015}/textarea/models/resize.js +1 -0
- package/esm2015/textarea/textarea-suffix.component.js +41 -0
- package/{dist/es2015 → esm2015}/textarea/textarea.component.js +103 -105
- package/{dist/es → esm2015}/textarea.module.js +27 -22
- package/esm2015/textbox/localization/custom-messages.component.js +40 -0
- package/esm2015/textbox/localization/localized-textbox-messages.directive.js +36 -0
- package/esm2015/textbox/localization/messages.js +22 -0
- package/{dist/es → esm2015}/textbox/models/icon-show-options.js +1 -0
- package/esm2015/textbox/textbox-prefix.directive.js +38 -0
- package/esm2015/textbox/textbox-suffix.directive.js +38 -0
- package/{dist/es2015 → esm2015}/textbox/textbox.component.js +155 -155
- package/{dist/es2015 → esm2015}/textbox/textbox.directive.js +27 -28
- package/esm2015/textbox.module.js +88 -0
- package/{dist/es2015 → esm2015}/validators/max.validator.js +0 -0
- package/{dist/es2015 → esm2015}/validators/min.validator.js +0 -0
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-inputs.js} +4021 -3405
- package/{dist/es2015/formfield → formfield}/error.component.d.ts +6 -3
- package/{dist/es2015/formfield → formfield}/formfield.component.d.ts +9 -6
- package/{dist/es2015/formfield → formfield}/hint.component.d.ts +6 -3
- package/{dist/es2015/formfield → formfield}/models/message-align.d.ts +0 -0
- package/{dist/es2015/formfield → formfield}/models/orientation.d.ts +0 -0
- package/{dist/es2015/formfield → formfield}/models/show-options.d.ts +0 -0
- package/{dist/es2015/formfield.module.d.ts → formfield.module.d.ts} +8 -0
- package/{dist/es2015/inputs.module.d.ts → inputs.module.d.ts} +16 -0
- package/kendo-angular-inputs.d.ts +9 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +5 -0
- package/{dist/es2015/maskedtextbox → maskedtextbox}/maskedtextbox.component.d.ts +19 -8
- package/{dist/es2015/maskedtextbox → maskedtextbox}/masking.service.d.ts +7 -4
- package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/combinators.d.ts +0 -0
- package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/parsers.d.ts +0 -0
- package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/result.d.ts +0 -0
- package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/stream.d.ts +0 -0
- package/{dist/es2015/maskedtextbox.module.d.ts → maskedtextbox.module.d.ts} +7 -0
- package/{dist/es2015/numerictextbox → numerictextbox}/arrow-direction.d.ts +0 -0
- package/{dist/es2015/numerictextbox → numerictextbox}/constants.d.ts +0 -0
- package/{dist/es2015/numerictextbox → numerictextbox}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/numerictextbox → numerictextbox}/localization/localized-numerictextbox-messages.directive.d.ts +3 -0
- package/{dist/es2015/numerictextbox → numerictextbox}/localization/messages.d.ts +3 -0
- package/{dist/es2015/numerictextbox → numerictextbox}/numerictextbox.component.d.ts +23 -13
- package/{dist/es2015/numerictextbox → numerictextbox}/utils.d.ts +0 -0
- package/{dist/es2015/numerictextbox.module.d.ts → numerictextbox.module.d.ts} +9 -0
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +41 -113
- package/{dist/es2015/radiobutton → radiobutton}/radiobutton.directive.d.ts +5 -1
- package/{dist/es2015/radiobutton.module.d.ts → radiobutton.module.d.ts} +6 -0
- package/{dist/es2015/rangeslider → rangeslider}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/rangeslider → rangeslider}/localization/localized-rangeslider-messages.directive.d.ts +3 -0
- package/{dist/es2015/rangeslider → rangeslider}/localization/messages.d.ts +3 -0
- package/{dist/es2015/rangeslider → rangeslider}/rangeslider-model.d.ts +0 -0
- package/{dist/es2015/rangeslider → rangeslider}/rangeslider-value.type.d.ts +0 -0
- package/{dist/es2015/rangeslider → rangeslider}/rangeslider.component.d.ts +7 -4
- package/{dist/es2015/rangeslider.module.d.ts → rangeslider.module.d.ts} +10 -0
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/{dist/es2015/shared → shared}/input-separator.component.d.ts +3 -0
- package/{dist/es2015/shared → shared}/textarea.directive.d.ts +7 -2
- package/{dist/es2015/shared → shared}/utils.d.ts +0 -0
- package/{dist/es2015/shared.module.d.ts → shared.module.d.ts} +6 -0
- package/{dist/es2015/slider → slider}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/slider → slider}/localization/localized-slider-messages.directive.d.ts +3 -0
- package/{dist/es2015/slider → slider}/localization/messages.d.ts +3 -0
- package/{dist/es2015/slider → slider}/slider-model.d.ts +0 -0
- package/{dist/es2015/slider → slider}/slider.component.d.ts +11 -7
- package/{dist/es2015/slider.module.d.ts → slider.module.d.ts} +10 -0
- package/{dist/es2015/sliders-common → sliders-common}/label-template.directive.d.ts +3 -0
- package/{dist/es2015/sliders-common → sliders-common}/slider-base.d.ts +9 -7
- package/{dist/es2015/sliders-common → sliders-common}/slider-model.base.d.ts +0 -0
- package/{dist/es2015/sliders-common → sliders-common}/slider-ticks.component.d.ts +3 -0
- package/sliders-common/sliders-common.module.d.ts +17 -0
- package/{dist/es2015/sliders-common → sliders-common}/sliders-util.d.ts +3 -2
- package/{dist/es2015/switch → switch}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/switch → switch}/localization/localized-switch-messages.directive.d.ts +3 -0
- package/{dist/es2015/switch → switch}/localization/messages.d.ts +3 -0
- package/{dist/es2015/switch → switch}/switch.component.d.ts +21 -13
- package/{dist/es2015/switch.module.d.ts → switch.module.d.ts} +9 -0
- package/{dist/es2015/text-fields-common → text-fields-common}/text-fields-base.d.ts +4 -1
- package/{dist/es2015/textarea → textarea}/models/flow.d.ts +0 -0
- package/{dist/es2015/textarea → textarea}/models/resize.d.ts +0 -0
- package/{dist/es2015/textarea → textarea}/textarea-suffix.component.d.ts +3 -0
- package/{dist/es2015/textarea → textarea}/textarea.component.d.ts +16 -8
- package/{dist/es2015/textarea.module.d.ts → textarea.module.d.ts} +11 -0
- package/{dist/es2015/textbox → textbox}/localization/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/textbox → textbox}/localization/localized-textbox-messages.directive.d.ts +3 -0
- package/{dist/es2015/textbox → textbox}/localization/messages.d.ts +3 -0
- package/{dist/es2015/textbox → textbox}/models/icon-show-options.d.ts +0 -0
- package/{dist/es2015/textbox → textbox}/textbox-prefix.directive.d.ts +3 -0
- package/{dist/es2015/textbox → textbox}/textbox-suffix.directive.d.ts +3 -0
- package/{dist/es2015/textbox → textbox}/textbox.component.d.ts +19 -11
- package/{dist/es2015/textbox → textbox}/textbox.directive.d.ts +9 -4
- package/textbox.module.d.ts +52 -0
- package/{dist/es2015/validators → validators}/max.validator.d.ts +0 -0
- package/{dist/es2015/validators → validators}/min.validator.d.ts +0 -0
- package/dist/cdn/js/kendo-angular-inputs.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/checkbox/checkbox.directive.js +0 -107
- package/dist/es/checkbox.module.js +0 -52
- package/dist/es/colorpicker/color-contrast-svg.component.js +0 -95
- package/dist/es/colorpicker/color-gradient.component.js +0 -679
- package/dist/es/colorpicker/color-input.component.js +0 -193
- package/dist/es/colorpicker/color-palette.component.js +0 -523
- package/dist/es/colorpicker/colorpicker.component.js +0 -958
- package/dist/es/colorpicker/constants.js +0 -36
- package/dist/es/colorpicker/contrast-validation.component.js +0 -59
- package/dist/es/colorpicker/contrast.component.js +0 -70
- package/dist/es/colorpicker/events/active-color-click-event.js +0 -60
- package/dist/es/colorpicker/events/cancel-event.js +0 -19
- package/dist/es/colorpicker/events/close-event.js +0 -17
- package/dist/es/colorpicker/events/kendo-drag-event.js +0 -4
- package/dist/es/colorpicker/events/open-event.js +0 -17
- package/dist/es/colorpicker/flatcolorpicker-actions.component.js +0 -50
- package/dist/es/colorpicker/flatcolorpicker-header.component.js +0 -94
- package/dist/es/colorpicker/flatcolorpicker.component.js +0 -556
- package/dist/es/colorpicker/focus-on-dom-ready.directive.js +0 -31
- package/dist/es/colorpicker/localization/colorgradient-localization.service.js +0 -34
- package/dist/es/colorpicker/localization/colorpalette-localization.service.js +0 -34
- package/dist/es/colorpicker/localization/colorpicker-localization.service.js +0 -24
- package/dist/es/colorpicker/localization/custom-messages.component.js +0 -43
- package/dist/es/colorpicker/localization/flatcolorpicker-localization.service.js +0 -34
- package/dist/es/colorpicker/localization/localized-colorpicker-messages.directive.js +0 -35
- package/dist/es/colorpicker/localization/messages.js +0 -110
- package/dist/es/colorpicker/models/actions-layout.js +0 -4
- package/dist/es/colorpicker/models/gradient-settings.js +0 -4
- package/dist/es/colorpicker/models/palette-presets.js +0 -62
- package/dist/es/colorpicker/models.js +0 -5
- package/dist/es/colorpicker/services/color-palette.service.js +0 -67
- package/dist/es/colorpicker/services/flatcolorpicker.service.js +0 -41
- package/dist/es/colorpicker/utils/color-parser.js +0 -170
- package/dist/es/colorpicker/utils/contrast-curve.js +0 -91
- package/dist/es/colorpicker.module.js +0 -67
- package/dist/es/common/dom-utils.js +0 -47
- package/dist/es/common/math.js +0 -67
- package/dist/es/common/utils.js +0 -73
- package/dist/es/formfield/error.component.js +0 -85
- package/dist/es/formfield/formfield.component.js +0 -296
- package/dist/es/formfield/hint.component.js +0 -79
- package/dist/es/formfield.module.js +0 -54
- package/dist/es/index.js +0 -37
- package/dist/es/inputs.module.js +0 -74
- package/dist/es/main.js +0 -54
- package/dist/es/maskedtextbox/maskedtextbox.component.js +0 -725
- package/dist/es/maskedtextbox/masking.service.js +0 -215
- package/dist/es/maskedtextbox/parsing/combinators.js +0 -31
- package/dist/es/maskedtextbox/parsing/parsers.js +0 -160
- package/dist/es/maskedtextbox/parsing/result.js +0 -43
- package/dist/es/maskedtextbox/parsing/stream.js +0 -45
- package/dist/es/numerictextbox/constants.js +0 -28
- package/dist/es/numerictextbox/localization/custom-messages.component.js +0 -43
- package/dist/es/numerictextbox/localization/localized-numerictextbox-messages.directive.js +0 -35
- package/dist/es/numerictextbox/localization/messages.js +0 -26
- package/dist/es/numerictextbox/numerictextbox.component.js +0 -1049
- package/dist/es/numerictextbox/utils.js +0 -91
- package/dist/es/numerictextbox.module.js +0 -62
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/radiobutton/radiobutton.directive.js +0 -83
- package/dist/es/radiobutton.module.js +0 -52
- package/dist/es/rangeslider/localization/custom-messages.component.js +0 -43
- package/dist/es/rangeslider/localization/localized-rangeslider-messages.directive.js +0 -35
- package/dist/es/rangeslider/localization/messages.js +0 -26
- package/dist/es/rangeslider/rangeslider-model.js +0 -59
- package/dist/es/rangeslider/rangeslider.component.js +0 -467
- package/dist/es/rangeslider.module.js +0 -66
- package/dist/es/shared/input-separator.component.js +0 -41
- package/dist/es/shared/textarea.directive.js +0 -266
- package/dist/es/shared/utils.js +0 -23
- package/dist/es/shared.module.js +0 -30
- package/dist/es/slider/localization/custom-messages.component.js +0 -43
- package/dist/es/slider/localization/localized-slider-messages.directive.js +0 -35
- package/dist/es/slider/localization/messages.js +0 -30
- package/dist/es/slider/slider-model.js +0 -41
- package/dist/es/slider/slider.component.js +0 -482
- package/dist/es/sliders-common/label-template.directive.js +0 -44
- package/dist/es/sliders-common/slider-base.js +0 -326
- package/dist/es/sliders-common/slider-model.base.js +0 -96
- package/dist/es/sliders-common/slider-ticks.component.js +0 -104
- package/dist/es/sliders-common/sliders-common.module.js +0 -35
- package/dist/es/sliders-common/sliders-util.js +0 -234
- package/dist/es/switch/localization/custom-messages.component.js +0 -43
- package/dist/es/switch/localization/localized-switch-messages.directive.js +0 -35
- package/dist/es/switch/localization/messages.js +0 -26
- package/dist/es/switch/switch.component.js +0 -570
- package/dist/es/switch.module.js +0 -64
- package/dist/es/text-fields-common/text-fields-base.js +0 -144
- package/dist/es/textarea/textarea-suffix.component.js +0 -41
- package/dist/es/textarea/textarea.component.js +0 -602
- package/dist/es/textbox/localization/custom-messages.component.js +0 -43
- package/dist/es/textbox/localization/localized-textbox-messages.directive.js +0 -35
- package/dist/es/textbox/localization/messages.js +0 -22
- package/dist/es/textbox/textbox-prefix.directive.js +0 -37
- package/dist/es/textbox/textbox-suffix.directive.js +0 -37
- package/dist/es/textbox/textbox.component.js +0 -757
- package/dist/es/textbox/textbox.directive.js +0 -124
- package/dist/es/textbox.module.js +0 -75
- package/dist/es/validators/max.validator.js +0 -21
- package/dist/es/validators/min.validator.js +0 -21
- package/dist/es2015/colorpicker/contrast-validation.component.js +0 -58
- package/dist/es2015/colorpicker/contrast.component.js +0 -72
- package/dist/es2015/colorpicker/events.js +0 -8
- package/dist/es2015/colorpicker/flatcolorpicker-actions.component.js +0 -62
- package/dist/es2015/colorpicker/flatcolorpicker-header.component.js +0 -133
- package/dist/es2015/colorpicker/focus-on-dom-ready.directive.js +0 -29
- package/dist/es2015/colorpicker/localization/colorgradient-localization.service.js +0 -31
- package/dist/es2015/colorpicker/localization/colorpalette-localization.service.js +0 -31
- package/dist/es2015/colorpicker/localization/colorpicker-localization.service.js +0 -22
- package/dist/es2015/colorpicker/localization/custom-messages.component.js +0 -35
- package/dist/es2015/colorpicker/localization/flatcolorpicker-localization.service.js +0 -31
- package/dist/es2015/colorpicker/localization/localized-colorpicker-messages.directive.js +0 -31
- package/dist/es2015/colorpicker/localization/messages.js +0 -104
- package/dist/es2015/colorpicker/models/colorpicker-view.js +0 -4
- package/dist/es2015/colorpicker/models/hsva.js +0 -4
- package/dist/es2015/colorpicker/models/output-format.js +0 -4
- package/dist/es2015/colorpicker/models/palette-settings.js +0 -4
- package/dist/es2015/colorpicker/models/popup-settings.js +0 -4
- package/dist/es2015/colorpicker/models/rgb.js +0 -4
- package/dist/es2015/colorpicker/models/rgba.js +0 -4
- package/dist/es2015/colorpicker/models/table-cell.js +0 -4
- package/dist/es2015/colorpicker/models/tile-size.js +0 -4
- package/dist/es2015/colorpicker/models.js +0 -5
- package/dist/es2015/colorpicker/utils.js +0 -6
- package/dist/es2015/colorpicker.module.d.ts +0 -10
- package/dist/es2015/common/models/fillmode.js +0 -4
- package/dist/es2015/common/models/rounded.js +0 -4
- package/dist/es2015/common/models/size.js +0 -4
- package/dist/es2015/common/models/styling-classes.js +0 -4
- package/dist/es2015/common/models.js +0 -4
- package/dist/es2015/formfield/error.component.js +0 -78
- package/dist/es2015/formfield/hint.component.js +0 -71
- package/dist/es2015/formfield/models/message-align.js +0 -4
- package/dist/es2015/formfield/models/orientation.js +0 -4
- package/dist/es2015/formfield/models/show-options.js +0 -4
- package/dist/es2015/index.d.ts +0 -37
- package/dist/es2015/index.js +0 -37
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/maskedtextbox.module.js +0 -50
- package/dist/es2015/numerictextbox/arrow-direction.js +0 -13
- package/dist/es2015/numerictextbox/localization/custom-messages.component.js +0 -35
- package/dist/es2015/numerictextbox/localization/localized-numerictextbox-messages.directive.js +0 -31
- package/dist/es2015/numerictextbox/localization/messages.js +0 -20
- package/dist/es2015/rangeslider/localization/custom-messages.component.js +0 -35
- package/dist/es2015/rangeslider/localization/localized-rangeslider-messages.directive.js +0 -31
- package/dist/es2015/rangeslider/localization/messages.js +0 -20
- package/dist/es2015/rangeslider/rangeslider-value.type.js +0 -4
- package/dist/es2015/shared/input-separator.component.js +0 -58
- package/dist/es2015/shared.module.js +0 -27
- package/dist/es2015/slider/localization/custom-messages.component.js +0 -35
- package/dist/es2015/slider/localization/localized-slider-messages.directive.js +0 -31
- package/dist/es2015/slider/localization/messages.js +0 -24
- package/dist/es2015/slider.module.js +0 -63
- package/dist/es2015/sliders-common/slider-ticks.component.js +0 -123
- package/dist/es2015/sliders-common/sliders-common.module.js +0 -32
- package/dist/es2015/switch/localization/custom-messages.component.js +0 -35
- package/dist/es2015/switch/localization/localized-switch-messages.directive.js +0 -31
- package/dist/es2015/switch/localization/messages.js +0 -20
- package/dist/es2015/textarea/models/flow.js +0 -4
- package/dist/es2015/textarea/models/resize.js +0 -4
- package/dist/es2015/textarea/textarea-suffix.component.js +0 -57
- package/dist/es2015/textarea.module.js +0 -60
- package/dist/es2015/textbox/localization/custom-messages.component.js +0 -35
- package/dist/es2015/textbox/localization/localized-textbox-messages.directive.js +0 -31
- package/dist/es2015/textbox/localization/messages.js +0 -16
- package/dist/es2015/textbox/models/icon-show-options.js +0 -4
- package/dist/es2015/textbox/textbox-prefix.directive.js +0 -36
- package/dist/es2015/textbox/textbox-suffix.directive.js +0 -36
- package/dist/es2015/textbox.module.d.ts +0 -37
- package/dist/es2015/textbox.module.js +0 -72
- package/dist/fesm5/index.js +0 -12433
- package/dist/npm/checkbox/checkbox.directive.js +0 -109
- package/dist/npm/checkbox.module.js +0 -54
- package/dist/npm/colorpicker/color-contrast-svg.component.js +0 -97
- package/dist/npm/colorpicker/color-gradient.component.js +0 -681
- package/dist/npm/colorpicker/color-input.component.js +0 -195
- package/dist/npm/colorpicker/color-palette.component.js +0 -525
- package/dist/npm/colorpicker/colorpicker.component.js +0 -960
- package/dist/npm/colorpicker/constants.js +0 -38
- package/dist/npm/colorpicker/contrast-validation.component.js +0 -61
- package/dist/npm/colorpicker/contrast.component.js +0 -72
- package/dist/npm/colorpicker/events/active-color-click-event.js +0 -62
- package/dist/npm/colorpicker/events/cancel-event.js +0 -21
- package/dist/npm/colorpicker/events/close-event.js +0 -19
- package/dist/npm/colorpicker/events/kendo-drag-event.js +0 -6
- package/dist/npm/colorpicker/events/open-event.js +0 -19
- package/dist/npm/colorpicker/events.js +0 -11
- package/dist/npm/colorpicker/flatcolorpicker-actions.component.js +0 -52
- package/dist/npm/colorpicker/flatcolorpicker-header.component.js +0 -96
- package/dist/npm/colorpicker/flatcolorpicker.component.js +0 -558
- package/dist/npm/colorpicker/focus-on-dom-ready.directive.js +0 -33
- package/dist/npm/colorpicker/localization/colorgradient-localization.service.js +0 -36
- package/dist/npm/colorpicker/localization/colorpalette-localization.service.js +0 -36
- package/dist/npm/colorpicker/localization/colorpicker-localization.service.js +0 -26
- package/dist/npm/colorpicker/localization/custom-messages.component.js +0 -45
- package/dist/npm/colorpicker/localization/flatcolorpicker-localization.service.js +0 -36
- package/dist/npm/colorpicker/localization/localized-colorpicker-messages.directive.js +0 -37
- package/dist/npm/colorpicker/localization/messages.js +0 -112
- package/dist/npm/colorpicker/models/actions-layout.js +0 -6
- package/dist/npm/colorpicker/models/colorpicker-view.js +0 -6
- package/dist/npm/colorpicker/models/gradient-settings.js +0 -6
- package/dist/npm/colorpicker/models/hsva.js +0 -6
- package/dist/npm/colorpicker/models/output-format.js +0 -6
- package/dist/npm/colorpicker/models/palette-presets.js +0 -64
- package/dist/npm/colorpicker/models/palette-settings.js +0 -6
- package/dist/npm/colorpicker/models/popup-settings.js +0 -6
- package/dist/npm/colorpicker/models/rgb.js +0 -6
- package/dist/npm/colorpicker/models/rgba.js +0 -6
- package/dist/npm/colorpicker/models/table-cell.js +0 -6
- package/dist/npm/colorpicker/models/tile-size.js +0 -6
- package/dist/npm/colorpicker/models.js +0 -8
- package/dist/npm/colorpicker/services/color-palette.service.js +0 -69
- package/dist/npm/colorpicker/services/flatcolorpicker.service.js +0 -43
- package/dist/npm/colorpicker/utils/color-parser.js +0 -173
- package/dist/npm/colorpicker/utils/contrast-curve.js +0 -93
- package/dist/npm/colorpicker/utils.js +0 -9
- package/dist/npm/colorpicker.module.js +0 -69
- package/dist/npm/common/dom-utils.js +0 -50
- package/dist/npm/common/math.js +0 -69
- package/dist/npm/common/models/fillmode.js +0 -6
- package/dist/npm/common/models/rounded.js +0 -6
- package/dist/npm/common/models/size.js +0 -6
- package/dist/npm/common/models/styling-classes.js +0 -6
- package/dist/npm/common/models.js +0 -6
- package/dist/npm/common/utils.js +0 -75
- package/dist/npm/formfield/error.component.js +0 -87
- package/dist/npm/formfield/formfield.component.js +0 -298
- package/dist/npm/formfield/hint.component.js +0 -81
- package/dist/npm/formfield/models/message-align.js +0 -6
- package/dist/npm/formfield/models/orientation.js +0 -6
- package/dist/npm/formfield/models/show-options.js +0 -6
- package/dist/npm/formfield.module.js +0 -56
- package/dist/npm/index.js +0 -69
- package/dist/npm/inputs.module.js +0 -76
- package/dist/npm/main.js +0 -102
- package/dist/npm/maskedtextbox/maskedtextbox.component.js +0 -727
- package/dist/npm/maskedtextbox/masking.service.js +0 -217
- package/dist/npm/maskedtextbox/parsing/combinators.js +0 -34
- package/dist/npm/maskedtextbox/parsing/parsers.js +0 -162
- package/dist/npm/maskedtextbox/parsing/result.js +0 -45
- package/dist/npm/maskedtextbox/parsing/stream.js +0 -47
- package/dist/npm/maskedtextbox.module.js +0 -55
- package/dist/npm/numerictextbox/arrow-direction.js +0 -15
- package/dist/npm/numerictextbox/constants.js +0 -30
- package/dist/npm/numerictextbox/localization/custom-messages.component.js +0 -45
- package/dist/npm/numerictextbox/localization/localized-numerictextbox-messages.directive.js +0 -37
- package/dist/npm/numerictextbox/localization/messages.js +0 -28
- package/dist/npm/numerictextbox/numerictextbox.component.js +0 -1051
- package/dist/npm/numerictextbox/utils.js +0 -94
- package/dist/npm/numerictextbox.module.js +0 -64
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/radiobutton/radiobutton.directive.js +0 -85
- package/dist/npm/radiobutton.module.js +0 -54
- package/dist/npm/rangeslider/localization/custom-messages.component.js +0 -45
- package/dist/npm/rangeslider/localization/localized-rangeslider-messages.directive.js +0 -37
- package/dist/npm/rangeslider/localization/messages.js +0 -28
- package/dist/npm/rangeslider/rangeslider-model.js +0 -61
- package/dist/npm/rangeslider/rangeslider-value.type.js +0 -6
- package/dist/npm/rangeslider/rangeslider.component.js +0 -469
- package/dist/npm/rangeslider.module.js +0 -68
- package/dist/npm/shared/input-separator.component.js +0 -43
- package/dist/npm/shared/textarea.directive.js +0 -268
- package/dist/npm/shared/utils.js +0 -25
- package/dist/npm/shared.module.js +0 -32
- package/dist/npm/slider/localization/custom-messages.component.js +0 -45
- package/dist/npm/slider/localization/localized-slider-messages.directive.js +0 -37
- package/dist/npm/slider/localization/messages.js +0 -32
- package/dist/npm/slider/slider-model.js +0 -43
- package/dist/npm/slider/slider.component.js +0 -484
- package/dist/npm/slider.module.js +0 -68
- package/dist/npm/sliders-common/label-template.directive.js +0 -46
- package/dist/npm/sliders-common/slider-base.js +0 -328
- package/dist/npm/sliders-common/slider-model.base.js +0 -98
- package/dist/npm/sliders-common/slider-ticks.component.js +0 -106
- package/dist/npm/sliders-common/sliders-common.module.js +0 -37
- package/dist/npm/sliders-common/sliders-util.js +0 -236
- package/dist/npm/switch/localization/custom-messages.component.js +0 -45
- package/dist/npm/switch/localization/localized-switch-messages.directive.js +0 -37
- package/dist/npm/switch/localization/messages.js +0 -28
- package/dist/npm/switch/switch.component.js +0 -572
- package/dist/npm/switch.module.js +0 -66
- package/dist/npm/text-fields-common/text-fields-base.js +0 -146
- package/dist/npm/textarea/models/flow.js +0 -6
- package/dist/npm/textarea/models/resize.js +0 -6
- package/dist/npm/textarea/textarea-suffix.component.js +0 -43
- package/dist/npm/textarea/textarea.component.js +0 -604
- package/dist/npm/textarea.module.js +0 -65
- package/dist/npm/textbox/localization/custom-messages.component.js +0 -45
- package/dist/npm/textbox/localization/localized-textbox-messages.directive.js +0 -37
- package/dist/npm/textbox/localization/messages.js +0 -24
- package/dist/npm/textbox/models/icon-show-options.js +0 -6
- package/dist/npm/textbox/textbox-prefix.directive.js +0 -39
- package/dist/npm/textbox/textbox-suffix.directive.js +0 -39
- package/dist/npm/textbox/textbox.component.js +0 -759
- package/dist/npm/textbox/textbox.directive.js +0 -126
- package/dist/npm/textbox.module.js +0 -77
- package/dist/npm/validators/max.validator.js +0 -23
- package/dist/npm/validators/min.validator.js +0 -23
- package/dist/systemjs/kendo-angular-inputs.js +0 -5
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, ContentChild, ContentChildren, ElementRef, HostBinding, Input, isDevMode, Renderer2, QueryList } from '@angular/core';
|
|
7
|
-
import { NgControl, RadioControlValueAccessor } from '@angular/forms';
|
|
8
|
-
import { Subscription } from 'rxjs';
|
|
9
|
-
import { KendoInput, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
10
|
-
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
11
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
|
-
import { packageMetadata } from '../package-metadata';
|
|
13
|
-
import { ErrorComponent } from './error.component';
|
|
14
|
-
import { HintComponent } from './hint.component';
|
|
15
|
-
/**
|
|
16
|
-
* Specifies a container for form-bound controls (Kendo controls or native HTML controls).
|
|
17
|
-
* Applies styling and behavior rules.
|
|
18
|
-
*/
|
|
19
|
-
var FormFieldComponent = /** @class */ (function () {
|
|
20
|
-
function FormFieldComponent(renderer, localizationService, hostElement) {
|
|
21
|
-
var _this = this;
|
|
22
|
-
this.renderer = renderer;
|
|
23
|
-
this.localizationService = localizationService;
|
|
24
|
-
this.hostElement = hostElement;
|
|
25
|
-
this.hostClass = true;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* Specifies when the Hint messages will be shown.
|
|
29
|
-
*
|
|
30
|
-
* The possible values are:
|
|
31
|
-
*
|
|
32
|
-
* * (Default) `initial`—Allows displaying hints when the form-bound component state is
|
|
33
|
-
* `valid` or `untouched` and `pristine`.
|
|
34
|
-
* * `always`—Allows full control over the visibility of the hints.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
this.showHints = 'initial';
|
|
38
|
-
/**
|
|
39
|
-
* Specifies the layout orientation of the form field.
|
|
40
|
-
*
|
|
41
|
-
* * The possible values are:
|
|
42
|
-
*
|
|
43
|
-
* * (Default) `vertical`
|
|
44
|
-
* * `horizontal`
|
|
45
|
-
*/
|
|
46
|
-
this.orientation = 'vertical';
|
|
47
|
-
/**
|
|
48
|
-
* Specifies when the Error messages will be shown.
|
|
49
|
-
*
|
|
50
|
-
* The possible values are:
|
|
51
|
-
*
|
|
52
|
-
* * (Default) `initial`—Allows displaying errors when the form-bound component state is
|
|
53
|
-
* `invalid` and `touched` or `dirty`.
|
|
54
|
-
* * `always`—Allows full control over the visibility of the errors.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
this.showErrors = 'initial';
|
|
58
|
-
this.subscriptions = new Subscription();
|
|
59
|
-
this.rtl = false;
|
|
60
|
-
validatePackage(packageMetadata);
|
|
61
|
-
this.subscriptions.add(this.localizationService.changes.subscribe(function (_a) {
|
|
62
|
-
var rtl = _a.rtl;
|
|
63
|
-
_this.rtl = rtl;
|
|
64
|
-
_this.direction = _this.rtl ? 'rtl' : 'ltr';
|
|
65
|
-
}));
|
|
66
|
-
}
|
|
67
|
-
Object.defineProperty(FormFieldComponent.prototype, "errorClass", {
|
|
68
|
-
get: function () {
|
|
69
|
-
if (!this.control) {
|
|
70
|
-
return false;
|
|
71
|
-
}
|
|
72
|
-
return this.control.invalid && (this.control.touched || this.control.dirty);
|
|
73
|
-
},
|
|
74
|
-
enumerable: true,
|
|
75
|
-
configurable: true
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(FormFieldComponent.prototype, "disabledClass", {
|
|
78
|
-
get: function () {
|
|
79
|
-
if (!this.control) {
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
82
|
-
// radiobutton group
|
|
83
|
-
if (this.isRadioControl(this.control)) {
|
|
84
|
-
return false;
|
|
85
|
-
}
|
|
86
|
-
return this.disabledControl() ||
|
|
87
|
-
this.disabledElement() ||
|
|
88
|
-
this.disabledKendoInput();
|
|
89
|
-
},
|
|
90
|
-
enumerable: true,
|
|
91
|
-
configurable: true
|
|
92
|
-
});
|
|
93
|
-
Object.defineProperty(FormFieldComponent.prototype, "formControls", {
|
|
94
|
-
set: function (formControls) {
|
|
95
|
-
this.validateFormControl(formControls);
|
|
96
|
-
this.control = formControls.first;
|
|
97
|
-
},
|
|
98
|
-
enumerable: true,
|
|
99
|
-
configurable: true
|
|
100
|
-
});
|
|
101
|
-
Object.defineProperty(FormFieldComponent.prototype, "horizontal", {
|
|
102
|
-
/**
|
|
103
|
-
* @hidden
|
|
104
|
-
*/
|
|
105
|
-
get: function () {
|
|
106
|
-
return this.orientation === 'horizontal';
|
|
107
|
-
},
|
|
108
|
-
enumerable: true,
|
|
109
|
-
configurable: true
|
|
110
|
-
});
|
|
111
|
-
Object.defineProperty(FormFieldComponent.prototype, "hasHints", {
|
|
112
|
-
/**
|
|
113
|
-
* @hidden
|
|
114
|
-
*/
|
|
115
|
-
get: function () {
|
|
116
|
-
return this.showHints === 'always' ? true : this.showHintsInitial();
|
|
117
|
-
},
|
|
118
|
-
enumerable: true,
|
|
119
|
-
configurable: true
|
|
120
|
-
});
|
|
121
|
-
Object.defineProperty(FormFieldComponent.prototype, "hasErrors", {
|
|
122
|
-
/**
|
|
123
|
-
* @hidden
|
|
124
|
-
*/
|
|
125
|
-
get: function () {
|
|
126
|
-
return this.showErrors === 'always' ? true : this.showErrorsInitial();
|
|
127
|
-
},
|
|
128
|
-
enumerable: true,
|
|
129
|
-
configurable: true
|
|
130
|
-
});
|
|
131
|
-
FormFieldComponent.prototype.ngAfterViewInit = function () {
|
|
132
|
-
this.setDescription();
|
|
133
|
-
};
|
|
134
|
-
FormFieldComponent.prototype.ngOnDestroy = function () {
|
|
135
|
-
this.subscriptions.unsubscribe();
|
|
136
|
-
};
|
|
137
|
-
FormFieldComponent.prototype.disabledKendoInput = function () {
|
|
138
|
-
return this.kendoInput && this.kendoInput.disabled;
|
|
139
|
-
};
|
|
140
|
-
FormFieldComponent.prototype.disabledControl = function () {
|
|
141
|
-
return this.control.disabled;
|
|
142
|
-
};
|
|
143
|
-
FormFieldComponent.prototype.disabledElement = function () {
|
|
144
|
-
var elements = this.controlElementRefs.toArray();
|
|
145
|
-
return elements.every(function (e) { return e.nativeElement.hasAttribute('disabled'); });
|
|
146
|
-
};
|
|
147
|
-
FormFieldComponent.prototype.validateFormControl = function (formControls) {
|
|
148
|
-
if (isDevMode() && formControls.length !== 1 && !this.isControlGroup(formControls)) {
|
|
149
|
-
throw new Error('The `kendo-formfield` component should contain ' +
|
|
150
|
-
'only one control of type NgControl with a formControlName(https://angular.io/api/forms/FormControlName)' +
|
|
151
|
-
'or an ngModel(https://angular.io/api/forms/NgModel) binding.');
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
FormFieldComponent.prototype.isControlGroup = function (formControls) {
|
|
155
|
-
var _this = this;
|
|
156
|
-
if (!formControls.length) {
|
|
157
|
-
return false;
|
|
158
|
-
}
|
|
159
|
-
var name = formControls.first.name;
|
|
160
|
-
return formControls.toArray().every(function (c) { return c.name === name && (_this.isRadioControl(c)); });
|
|
161
|
-
};
|
|
162
|
-
FormFieldComponent.prototype.isRadioControl = function (control) {
|
|
163
|
-
return control.valueAccessor instanceof RadioControlValueAccessor;
|
|
164
|
-
};
|
|
165
|
-
FormFieldComponent.prototype.updateDescription = function () {
|
|
166
|
-
var _this = this;
|
|
167
|
-
var controls = this.findControlElements();
|
|
168
|
-
if (!controls) {
|
|
169
|
-
return;
|
|
170
|
-
}
|
|
171
|
-
controls.forEach(function (control) {
|
|
172
|
-
if (_this.errorChildren.length > 0 || _this.hintChildren.length > 0) {
|
|
173
|
-
var ariaIds = _this.generateDescriptionIds(control);
|
|
174
|
-
_this.renderer.setAttribute(control, 'aria-describedby', ariaIds);
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
};
|
|
178
|
-
FormFieldComponent.prototype.findControlElements = function () {
|
|
179
|
-
if (!this.controlElementRefs) {
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
// if the control is KendoInput and has focusableId - dropdowns, dateinputs
|
|
183
|
-
if (this.kendoInput && this.kendoInput.focusableId && isDocumentAvailable()) {
|
|
184
|
-
return [this.hostElement.nativeElement.querySelector("#" + this.kendoInput.focusableId)];
|
|
185
|
-
}
|
|
186
|
-
return this.controlElementRefs.map(function (el) { return el.nativeElement; });
|
|
187
|
-
};
|
|
188
|
-
FormFieldComponent.prototype.generateDescriptionIds = function (control) {
|
|
189
|
-
var ids = new Set();
|
|
190
|
-
if (control.hasAttribute('aria-describedby')) {
|
|
191
|
-
var attributes = control.getAttribute('aria-describedby').split(' ');
|
|
192
|
-
attributes.forEach(function (attr) {
|
|
193
|
-
if (attr.includes('kendo-hint-') || attr.includes('kendo-error-')) {
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
ids.add(attr);
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
this.hintChildren.forEach(function (hint) {
|
|
200
|
-
ids.add(hint.id);
|
|
201
|
-
});
|
|
202
|
-
this.errorChildren.forEach(function (error) {
|
|
203
|
-
ids.add(error.id);
|
|
204
|
-
});
|
|
205
|
-
return Array.from(ids).join(' ');
|
|
206
|
-
};
|
|
207
|
-
FormFieldComponent.prototype.showHintsInitial = function () {
|
|
208
|
-
if (!this.control) {
|
|
209
|
-
return true;
|
|
210
|
-
}
|
|
211
|
-
var _a = this.control, valid = _a.valid, untouched = _a.untouched, pristine = _a.pristine;
|
|
212
|
-
return valid || (untouched && pristine);
|
|
213
|
-
};
|
|
214
|
-
FormFieldComponent.prototype.showErrorsInitial = function () {
|
|
215
|
-
if (!this.control) {
|
|
216
|
-
return false;
|
|
217
|
-
}
|
|
218
|
-
var _a = this.control, invalid = _a.invalid, dirty = _a.dirty, touched = _a.touched;
|
|
219
|
-
return invalid && (dirty || touched);
|
|
220
|
-
};
|
|
221
|
-
FormFieldComponent.prototype.setDescription = function () {
|
|
222
|
-
var _this = this;
|
|
223
|
-
this.updateDescription();
|
|
224
|
-
this.subscriptions.add(this.errorChildren.changes.subscribe(function () { return _this.updateDescription(); }));
|
|
225
|
-
this.subscriptions.add(this.hintChildren.changes.subscribe(function () { return _this.updateDescription(); }));
|
|
226
|
-
};
|
|
227
|
-
tslib_1.__decorate([
|
|
228
|
-
HostBinding('class.k-form-field'),
|
|
229
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
230
|
-
], FormFieldComponent.prototype, "hostClass", void 0);
|
|
231
|
-
tslib_1.__decorate([
|
|
232
|
-
HostBinding('attr.dir'),
|
|
233
|
-
tslib_1.__metadata("design:type", String)
|
|
234
|
-
], FormFieldComponent.prototype, "direction", void 0);
|
|
235
|
-
tslib_1.__decorate([
|
|
236
|
-
HostBinding('class.k-form-field-error'),
|
|
237
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
238
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
239
|
-
], FormFieldComponent.prototype, "errorClass", null);
|
|
240
|
-
tslib_1.__decorate([
|
|
241
|
-
HostBinding('class.k-form-field-disabled'),
|
|
242
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
243
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
244
|
-
], FormFieldComponent.prototype, "disabledClass", null);
|
|
245
|
-
tslib_1.__decorate([
|
|
246
|
-
ContentChildren(NgControl, { descendants: true }),
|
|
247
|
-
tslib_1.__metadata("design:type", QueryList),
|
|
248
|
-
tslib_1.__metadata("design:paramtypes", [QueryList])
|
|
249
|
-
], FormFieldComponent.prototype, "formControls", null);
|
|
250
|
-
tslib_1.__decorate([
|
|
251
|
-
ContentChildren(NgControl, { read: ElementRef, descendants: true }),
|
|
252
|
-
tslib_1.__metadata("design:type", QueryList)
|
|
253
|
-
], FormFieldComponent.prototype, "controlElementRefs", void 0);
|
|
254
|
-
tslib_1.__decorate([
|
|
255
|
-
ContentChild(KendoInput, { static: true }),
|
|
256
|
-
tslib_1.__metadata("design:type", Object)
|
|
257
|
-
], FormFieldComponent.prototype, "kendoInput", void 0);
|
|
258
|
-
tslib_1.__decorate([
|
|
259
|
-
ContentChildren(ErrorComponent, { descendants: true }),
|
|
260
|
-
tslib_1.__metadata("design:type", QueryList)
|
|
261
|
-
], FormFieldComponent.prototype, "errorChildren", void 0);
|
|
262
|
-
tslib_1.__decorate([
|
|
263
|
-
ContentChildren(HintComponent, { descendants: true }),
|
|
264
|
-
tslib_1.__metadata("design:type", QueryList)
|
|
265
|
-
], FormFieldComponent.prototype, "hintChildren", void 0);
|
|
266
|
-
tslib_1.__decorate([
|
|
267
|
-
Input(),
|
|
268
|
-
tslib_1.__metadata("design:type", String)
|
|
269
|
-
], FormFieldComponent.prototype, "showHints", void 0);
|
|
270
|
-
tslib_1.__decorate([
|
|
271
|
-
Input(),
|
|
272
|
-
tslib_1.__metadata("design:type", String)
|
|
273
|
-
], FormFieldComponent.prototype, "orientation", void 0);
|
|
274
|
-
tslib_1.__decorate([
|
|
275
|
-
Input(),
|
|
276
|
-
tslib_1.__metadata("design:type", String)
|
|
277
|
-
], FormFieldComponent.prototype, "showErrors", void 0);
|
|
278
|
-
FormFieldComponent = tslib_1.__decorate([
|
|
279
|
-
Component({
|
|
280
|
-
selector: 'kendo-formfield',
|
|
281
|
-
template: "\n <ng-content select=\"label, kendo-label\"></ng-content>\n <div [class.k-form-field-wrap]=\"horizontal\">\n <ng-content></ng-content>\n <ng-content select=\"kendo-formhint\" *ngIf=\"hasHints\"></ng-content>\n <ng-content select=\"kendo-formerror\" *ngIf=\"hasErrors\"></ng-content>\n </div>\n ",
|
|
282
|
-
providers: [
|
|
283
|
-
LocalizationService,
|
|
284
|
-
{
|
|
285
|
-
provide: L10N_PREFIX,
|
|
286
|
-
useValue: 'kendo.formfield'
|
|
287
|
-
}
|
|
288
|
-
]
|
|
289
|
-
}),
|
|
290
|
-
tslib_1.__metadata("design:paramtypes", [Renderer2,
|
|
291
|
-
LocalizationService,
|
|
292
|
-
ElementRef])
|
|
293
|
-
], FormFieldComponent);
|
|
294
|
-
return FormFieldComponent;
|
|
295
|
-
}());
|
|
296
|
-
export { FormFieldComponent };
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, HostBinding, Input } from '@angular/core';
|
|
7
|
-
var serial = 0;
|
|
8
|
-
/**
|
|
9
|
-
* Represents a hint message that will be shown underneath a form-bound component.
|
|
10
|
-
*/
|
|
11
|
-
var HintComponent = /** @class */ (function () {
|
|
12
|
-
function HintComponent() {
|
|
13
|
-
/**
|
|
14
|
-
* Specifies the alignment of the Hint message.
|
|
15
|
-
*
|
|
16
|
-
* The possible values are:
|
|
17
|
-
* * (Default) `start`
|
|
18
|
-
* * `end`
|
|
19
|
-
*/
|
|
20
|
-
this.align = 'start';
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
this.id = "kendo-hint-" + serial++;
|
|
25
|
-
this.hostClass = true;
|
|
26
|
-
}
|
|
27
|
-
Object.defineProperty(HintComponent.prototype, "startClass", {
|
|
28
|
-
get: function () {
|
|
29
|
-
return this.align === 'start';
|
|
30
|
-
},
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(HintComponent.prototype, "endClass", {
|
|
35
|
-
get: function () {
|
|
36
|
-
return this.align === 'end';
|
|
37
|
-
},
|
|
38
|
-
enumerable: true,
|
|
39
|
-
configurable: true
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(HintComponent.prototype, "idAttribute", {
|
|
42
|
-
get: function () {
|
|
43
|
-
return this.id;
|
|
44
|
-
},
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
tslib_1.__decorate([
|
|
49
|
-
Input(),
|
|
50
|
-
tslib_1.__metadata("design:type", String)
|
|
51
|
-
], HintComponent.prototype, "align", void 0);
|
|
52
|
-
tslib_1.__decorate([
|
|
53
|
-
HostBinding('class.k-form-hint'),
|
|
54
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
55
|
-
], HintComponent.prototype, "hostClass", void 0);
|
|
56
|
-
tslib_1.__decorate([
|
|
57
|
-
HostBinding('class.k-text-start'),
|
|
58
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
59
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
60
|
-
], HintComponent.prototype, "startClass", null);
|
|
61
|
-
tslib_1.__decorate([
|
|
62
|
-
HostBinding('class.k-text-end'),
|
|
63
|
-
tslib_1.__metadata("design:type", Boolean),
|
|
64
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
65
|
-
], HintComponent.prototype, "endClass", null);
|
|
66
|
-
tslib_1.__decorate([
|
|
67
|
-
HostBinding('attr.id'),
|
|
68
|
-
tslib_1.__metadata("design:type", String),
|
|
69
|
-
tslib_1.__metadata("design:paramtypes", [])
|
|
70
|
-
], HintComponent.prototype, "idAttribute", null);
|
|
71
|
-
HintComponent = tslib_1.__decorate([
|
|
72
|
-
Component({
|
|
73
|
-
selector: 'kendo-formhint',
|
|
74
|
-
template: "\n <ng-content></ng-content>\n "
|
|
75
|
-
})
|
|
76
|
-
], HintComponent);
|
|
77
|
-
return HintComponent;
|
|
78
|
-
}());
|
|
79
|
-
export { HintComponent };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import { FormFieldComponent } from './formfield/formfield.component';
|
|
9
|
-
import { HintComponent } from './formfield/hint.component';
|
|
10
|
-
import { ErrorComponent } from './formfield/error.component';
|
|
11
|
-
/**
|
|
12
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
13
|
-
* definition for the FormField, Error and Hint components.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
*
|
|
17
|
-
* ```ts-no-run
|
|
18
|
-
* // Import the FormField module
|
|
19
|
-
* import { FormFieldModule } from '@progress/kendo-angular-inputs';
|
|
20
|
-
*
|
|
21
|
-
* // The browser platform with a compiler
|
|
22
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
23
|
-
*
|
|
24
|
-
* import { NgModule } from '@angular/core';
|
|
25
|
-
*
|
|
26
|
-
* // Import the app component
|
|
27
|
-
* import { AppComponent } from './app.component';
|
|
28
|
-
*
|
|
29
|
-
* // Define the app module
|
|
30
|
-
* _@NgModule({
|
|
31
|
-
* declarations: [AppComponent], // declare app component
|
|
32
|
-
* imports: [BrowserModule, FormFieldModule], // import FormField module
|
|
33
|
-
* bootstrap: [AppComponent]
|
|
34
|
-
* })
|
|
35
|
-
* export class AppModule {}
|
|
36
|
-
*
|
|
37
|
-
* // Compile and launch the module
|
|
38
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
39
|
-
*
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
var FormFieldModule = /** @class */ (function () {
|
|
43
|
-
function FormFieldModule() {
|
|
44
|
-
}
|
|
45
|
-
FormFieldModule = tslib_1.__decorate([
|
|
46
|
-
NgModule({
|
|
47
|
-
declarations: [HintComponent, ErrorComponent, FormFieldComponent],
|
|
48
|
-
exports: [HintComponent, ErrorComponent, FormFieldComponent],
|
|
49
|
-
imports: [CommonModule]
|
|
50
|
-
})
|
|
51
|
-
], FormFieldModule);
|
|
52
|
-
return FormFieldModule;
|
|
53
|
-
}());
|
|
54
|
-
export { FormFieldModule };
|
package/dist/es/index.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Generated bundle index. Do not edit.
|
|
7
|
-
*/
|
|
8
|
-
export * from './main';
|
|
9
|
-
export { ColorContrastSvgComponent } from './colorpicker/color-contrast-svg.component';
|
|
10
|
-
export { ColorInputComponent } from './colorpicker/color-input.component';
|
|
11
|
-
export { ContrastValidationComponent } from './colorpicker/contrast-validation.component';
|
|
12
|
-
export { ContrastComponent } from './colorpicker/contrast.component';
|
|
13
|
-
export { FlatColorPickerActionButtonsComponent } from './colorpicker/flatcolorpicker-actions.component';
|
|
14
|
-
export { FlatColorPickerHeaderComponent } from './colorpicker/flatcolorpicker-header.component';
|
|
15
|
-
export { FocusOnDomReadyDirective } from './colorpicker/focus-on-dom-ready.directive';
|
|
16
|
-
export { ColorGradientLocalizationService } from './colorpicker/localization/colorgradient-localization.service';
|
|
17
|
-
export { ColorPaletteLocalizationService } from './colorpicker/localization/colorpalette-localization.service';
|
|
18
|
-
export { ColorPickerLocalizationService } from './colorpicker/localization/colorpicker-localization.service';
|
|
19
|
-
export { ColorPickerCustomMessagesComponent } from './colorpicker/localization/custom-messages.component';
|
|
20
|
-
export { FlatColorPickerLocalizationService } from './colorpicker/localization/flatcolorpicker-localization.service';
|
|
21
|
-
export { ColorPickerMessages } from './colorpicker/localization/messages';
|
|
22
|
-
export { ColorPaletteService } from './colorpicker/services/color-palette.service';
|
|
23
|
-
export { FlatColorPickerService } from './colorpicker/services/flatcolorpicker.service';
|
|
24
|
-
export { MaskingService } from './maskedtextbox/masking.service';
|
|
25
|
-
export { NumericTextBoxMessages } from './numerictextbox/localization/messages';
|
|
26
|
-
export { RangeSliderCustomMessagesComponent } from './rangeslider/localization/custom-messages.component';
|
|
27
|
-
export { RangeSliderMessages } from './rangeslider/localization/messages';
|
|
28
|
-
export { SHARED_DIRECTIVES } from './shared.module';
|
|
29
|
-
export { SliderCustomMessagesComponent } from './slider/localization/custom-messages.component';
|
|
30
|
-
export { SliderMessages } from './slider/localization/messages';
|
|
31
|
-
export { SliderBase } from './sliders-common/slider-base';
|
|
32
|
-
export { SlidersCommonModule } from './sliders-common/sliders-common.module';
|
|
33
|
-
export { SwitchCustomMessagesComponent } from './switch/localization/custom-messages.component';
|
|
34
|
-
export { Messages } from './switch/localization/messages';
|
|
35
|
-
export { TextFieldsBase } from './text-fields-common/text-fields-base';
|
|
36
|
-
export { TextBoxCustomMessagesComponent } from './textbox/localization/custom-messages.component';
|
|
37
|
-
export { TextBoxMessages } from './textbox/localization/messages';
|
package/dist/es/inputs.module.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as tslib_1 from "tslib";
|
|
6
|
-
import { NgModule } from '@angular/core';
|
|
7
|
-
import { SliderModule } from './slider.module';
|
|
8
|
-
import { RangeSliderModule } from './rangeslider.module';
|
|
9
|
-
import { SwitchModule } from './switch.module';
|
|
10
|
-
import { NumericTextBoxModule } from './numerictextbox.module';
|
|
11
|
-
import { MaskedTextBoxModule } from './maskedtextbox.module';
|
|
12
|
-
import { TextBoxModule } from './textbox.module';
|
|
13
|
-
import { TextAreaModule } from './textarea.module';
|
|
14
|
-
import { CommonModule } from '@angular/common';
|
|
15
|
-
import { ColorPickerModule } from './colorpicker.module';
|
|
16
|
-
import { CheckBoxModule } from './checkbox.module';
|
|
17
|
-
import { RadioButtonModule } from './radiobutton.module';
|
|
18
|
-
import { FormFieldModule } from './formfield.module';
|
|
19
|
-
/**
|
|
20
|
-
* Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
|
|
21
|
-
* definition for the Inputs components.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
*
|
|
25
|
-
* ```ts-no-run
|
|
26
|
-
* // Import the Inputs module
|
|
27
|
-
* import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
28
|
-
*
|
|
29
|
-
* // The browser platform with a compiler
|
|
30
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
31
|
-
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
32
|
-
*
|
|
33
|
-
* import { NgModule } from '@angular/core';
|
|
34
|
-
*
|
|
35
|
-
* // Import the app component
|
|
36
|
-
* import { AppComponent } from './app.component';
|
|
37
|
-
*
|
|
38
|
-
* // Define the app module
|
|
39
|
-
* _@NgModule({
|
|
40
|
-
* declarations: [AppComponent], // declare app component
|
|
41
|
-
* imports: [BrowserModule, BrowserAnimationsModule, InputsModule], // import Inputs module
|
|
42
|
-
* bootstrap: [AppComponent]
|
|
43
|
-
* })
|
|
44
|
-
* export class AppModule {}
|
|
45
|
-
*
|
|
46
|
-
* // Compile and launch the module
|
|
47
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
48
|
-
*
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
var InputsModule = /** @class */ (function () {
|
|
52
|
-
function InputsModule() {
|
|
53
|
-
}
|
|
54
|
-
InputsModule = tslib_1.__decorate([
|
|
55
|
-
NgModule({
|
|
56
|
-
exports: [
|
|
57
|
-
TextAreaModule,
|
|
58
|
-
TextBoxModule,
|
|
59
|
-
SliderModule,
|
|
60
|
-
RangeSliderModule,
|
|
61
|
-
SwitchModule,
|
|
62
|
-
NumericTextBoxModule,
|
|
63
|
-
MaskedTextBoxModule,
|
|
64
|
-
ColorPickerModule,
|
|
65
|
-
CheckBoxModule,
|
|
66
|
-
RadioButtonModule,
|
|
67
|
-
FormFieldModule
|
|
68
|
-
],
|
|
69
|
-
imports: [CommonModule]
|
|
70
|
-
})
|
|
71
|
-
], InputsModule);
|
|
72
|
-
return InputsModule;
|
|
73
|
-
}());
|
|
74
|
-
export { InputsModule };
|
package/dist/es/main.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export { SliderComponent } from './slider/slider.component';
|
|
6
|
-
export { RangeSliderComponent } from './rangeslider/rangeslider.component';
|
|
7
|
-
export { LabelTemplateDirective } from './sliders-common/label-template.directive';
|
|
8
|
-
export { SwitchComponent } from './switch/switch.component';
|
|
9
|
-
export { TextBoxDirective } from './textbox/textbox.directive';
|
|
10
|
-
export { TextAreaDirective } from './shared/textarea.directive';
|
|
11
|
-
export { NumericTextBoxComponent } from './numerictextbox/numerictextbox.component';
|
|
12
|
-
export { NumericTextBoxCustomMessagesComponent } from './numerictextbox/localization/custom-messages.component';
|
|
13
|
-
export { MaskedTextBoxComponent } from './maskedtextbox/maskedtextbox.component';
|
|
14
|
-
export { InputsModule } from './inputs.module';
|
|
15
|
-
export { SliderTicksComponent } from './sliders-common/slider-ticks.component';
|
|
16
|
-
export { SliderModule } from './slider.module';
|
|
17
|
-
export { RangeSliderModule } from './rangeslider.module';
|
|
18
|
-
export { SwitchModule } from './switch.module';
|
|
19
|
-
export { NumericTextBoxModule } from './numerictextbox.module';
|
|
20
|
-
export { MaskedTextBoxModule } from './maskedtextbox.module';
|
|
21
|
-
export { TextBoxModule } from './textbox.module';
|
|
22
|
-
export { TextAreaModule } from './textarea.module';
|
|
23
|
-
export { CheckBoxModule } from './checkbox.module';
|
|
24
|
-
export { RadioButtonModule } from './radiobutton.module';
|
|
25
|
-
// All ColorPicker Components
|
|
26
|
-
export { ColorPickerComponent } from './colorpicker/colorpicker.component';
|
|
27
|
-
export { ColorPaletteComponent } from './colorpicker/color-palette.component';
|
|
28
|
-
export { ColorGradientComponent } from './colorpicker/color-gradient.component';
|
|
29
|
-
export { ColorPickerModule } from './colorpicker.module';
|
|
30
|
-
export * from './colorpicker/events';
|
|
31
|
-
export { FlatColorPickerComponent } from './colorpicker/flatcolorpicker.component';
|
|
32
|
-
export { ColorPickerCancelEvent } from './colorpicker/events';
|
|
33
|
-
export { CheckBoxDirective } from './checkbox/checkbox.directive';
|
|
34
|
-
export { RadioButtonDirective } from './radiobutton/radiobutton.directive';
|
|
35
|
-
export { HintComponent } from './formfield/hint.component';
|
|
36
|
-
export { ErrorComponent } from './formfield/error.component';
|
|
37
|
-
export { FormFieldComponent } from './formfield/formfield.component';
|
|
38
|
-
export { FormFieldModule } from './formfield.module';
|
|
39
|
-
//TextBox Component
|
|
40
|
-
export { TextBoxComponent } from './textbox/textbox.component';
|
|
41
|
-
export { TextBoxPrefixTemplateDirective } from './textbox/textbox-prefix.directive';
|
|
42
|
-
export { TextBoxSuffixTemplateDirective } from './textbox/textbox-suffix.directive';
|
|
43
|
-
//TextArea Component
|
|
44
|
-
export { TextAreaComponent } from './textarea/textarea.component';
|
|
45
|
-
export { TextAreaSuffixComponent } from './textarea/textarea-suffix.component';
|
|
46
|
-
//Shared
|
|
47
|
-
export { InputSeparatorComponent } from './shared/input-separator.component';
|
|
48
|
-
export { SharedModule } from './shared.module';
|
|
49
|
-
export { LocalizedColorPickerMessagesDirective } from './colorpicker/localization/localized-colorpicker-messages.directive';
|
|
50
|
-
export { LocalizedNumericTextBoxMessagesDirective } from './numerictextbox/localization/localized-numerictextbox-messages.directive';
|
|
51
|
-
export { LocalizedTextBoxMessagesDirective } from './textbox/localization/localized-textbox-messages.directive';
|
|
52
|
-
export { LocalizedSliderMessagesDirective } from './slider/localization/localized-slider-messages.directive';
|
|
53
|
-
export { LocalizedRangeSliderMessagesDirective } from './rangeslider/localization/localized-rangeslider-messages.directive';
|
|
54
|
-
export { LocalizedSwitchMessagesDirective } from './switch/localization/localized-switch-messages.directive';
|