@progress/kendo-angular-inputs 10.1.2-dev.202211170755 → 11.0.0-develop.100
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.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +20 -20
- package/checkbox/checkbox.directive.d.ts +1 -1
- package/checkbox.module.d.ts +2 -2
- package/colorpicker/color-contrast-svg.component.d.ts +1 -1
- package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
- package/colorpicker/color-gradient.component.d.ts +6 -1
- package/colorpicker/color-input.component.d.ts +6 -1
- package/colorpicker/color-palette.component.d.ts +1 -1
- package/colorpicker/colorpicker.component.d.ts +19 -5
- package/colorpicker/constants.d.ts +2 -2
- package/colorpicker/contrast-validation.component.d.ts +4 -1
- package/colorpicker/contrast.component.d.ts +4 -1
- package/colorpicker/events/active-color-click-event.d.ts +1 -1
- package/colorpicker/events/cancel-event.d.ts +1 -1
- package/colorpicker/events/close-event.d.ts +1 -1
- package/colorpicker/events/kendo-drag-event.d.ts +1 -1
- package/colorpicker/events/open-event.d.ts +1 -1
- package/colorpicker/events.d.ts +1 -1
- package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
- package/colorpicker/flatcolorpicker-header.component.d.ts +11 -4
- package/colorpicker/flatcolorpicker.component.d.ts +1 -1
- package/colorpicker/focus-on-dom-ready.directive.d.ts +1 -1
- package/colorpicker/localization/colorgradient-localization.service.d.ts +1 -1
- package/colorpicker/localization/colorpalette-localization.service.d.ts +1 -1
- package/colorpicker/localization/colorpicker-localization.service.d.ts +1 -1
- package/colorpicker/localization/custom-messages.component.d.ts +1 -1
- package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +1 -1
- package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
- package/colorpicker/localization/messages.d.ts +1 -1
- package/colorpicker/models/actions-layout.d.ts +1 -1
- package/colorpicker/models/colorpicker-view.d.ts +1 -1
- package/colorpicker/models/gradient-settings.d.ts +1 -1
- package/colorpicker/models/hsva.d.ts +1 -1
- package/colorpicker/models/output-format.d.ts +1 -1
- package/colorpicker/models/palette-presets.d.ts +1 -1
- package/colorpicker/models/palette-settings.d.ts +1 -1
- package/colorpicker/models/popup-settings.d.ts +1 -1
- package/colorpicker/models/rgb.d.ts +1 -1
- package/colorpicker/models/rgba.d.ts +1 -1
- package/colorpicker/models/table-cell.d.ts +1 -1
- package/colorpicker/models/tile-size.d.ts +1 -1
- package/colorpicker/models.d.ts +1 -1
- package/colorpicker/services/color-palette.service.d.ts +1 -1
- package/colorpicker/services/flatcolorpicker.service.d.ts +1 -1
- package/colorpicker/utils/color-parser.d.ts +1 -1
- package/colorpicker/utils/contrast-curve.d.ts +1 -1
- package/colorpicker/utils.d.ts +1 -1
- package/colorpicker.module.d.ts +5 -3
- package/common/dom-utils.d.ts +1 -1
- package/common/math.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/models/styling-classes.d.ts +1 -1
- package/common/models.d.ts +1 -1
- package/common/utils.d.ts +1 -1
- package/{esm2015/checkbox/checkbox.directive.js → esm2020/checkbox/checkbox.directive.mjs} +5 -5
- package/{esm2015/checkbox.module.js → esm2020/checkbox.module.mjs} +6 -6
- package/{esm2015/colorpicker/color-contrast-svg.component.js → esm2020/colorpicker/color-contrast-svg.component.mjs} +10 -5
- package/{esm2015/colorpicker/color-gradient-numeric-label.directive.js → esm2020/colorpicker/color-gradient-numeric-label.directive.mjs} +6 -4
- package/{esm2015/colorpicker/color-gradient.component.js → esm2020/colorpicker/color-gradient.component.mjs} +56 -51
- package/{esm2015/colorpicker/color-input.component.js → esm2020/colorpicker/color-input.component.mjs} +37 -21
- package/{esm2015/colorpicker/color-palette.component.js → esm2020/colorpicker/color-palette.component.mjs} +7 -7
- package/{esm2015/colorpicker/colorpicker.component.js → esm2020/colorpicker/colorpicker.component.mjs} +85 -25
- package/{esm2015/colorpicker/constants.js → esm2020/colorpicker/constants.mjs} +1 -1
- package/{esm2015/colorpicker/contrast-validation.component.js → esm2020/colorpicker/contrast-validation.component.mjs} +16 -11
- package/{esm2015/colorpicker/contrast.component.js → esm2020/colorpicker/contrast.component.mjs} +19 -14
- package/{esm2015/colorpicker/events/active-color-click-event.js → esm2020/colorpicker/events/active-color-click-event.mjs} +1 -1
- package/{esm2015/colorpicker/events/cancel-event.js → esm2020/colorpicker/events/cancel-event.mjs} +1 -1
- package/{esm2015/colorpicker/events/close-event.js → esm2020/colorpicker/events/close-event.mjs} +1 -1
- package/{esm2015/colorpicker/models/gradient-settings.js → esm2020/colorpicker/events/kendo-drag-event.mjs} +1 -1
- package/{esm2015/colorpicker/events/open-event.js → esm2020/colorpicker/events/open-event.mjs} +1 -1
- package/{esm2015/colorpicker/events.js → esm2020/colorpicker/events.mjs} +1 -1
- package/{esm2015/colorpicker/flatcolorpicker-actions.component.js → esm2020/colorpicker/flatcolorpicker-actions.component.mjs} +6 -5
- package/{esm2015/colorpicker/flatcolorpicker-header.component.js → esm2020/colorpicker/flatcolorpicker-header.component.mjs} +58 -28
- package/{esm2015/colorpicker/flatcolorpicker.component.js → esm2020/colorpicker/flatcolorpicker.component.mjs} +20 -20
- package/{esm2015/colorpicker/focus-on-dom-ready.directive.js → esm2020/colorpicker/focus-on-dom-ready.directive.mjs} +5 -5
- package/{esm2015/colorpicker/localization/colorgradient-localization.service.js → esm2020/colorpicker/localization/colorgradient-localization.service.mjs} +5 -5
- package/{esm2015/colorpicker/localization/colorpalette-localization.service.js → esm2020/colorpicker/localization/colorpalette-localization.service.mjs} +5 -5
- package/{esm2015/colorpicker/localization/colorpicker-localization.service.js → esm2020/colorpicker/localization/colorpicker-localization.service.mjs} +5 -5
- package/{esm2015/colorpicker/localization/custom-messages.component.js → esm2020/colorpicker/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/colorpicker/localization/flatcolorpicker-localization.service.js → esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs} +5 -5
- package/{esm2015/colorpicker/localization/localized-colorpicker-messages.directive.js → esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs} +5 -4
- package/{esm2015/colorpicker/localization/messages.js → esm2020/colorpicker/localization/messages.mjs} +4 -4
- package/{esm2015/colorpicker/models/colorpicker-view.js → esm2020/colorpicker/models/actions-layout.mjs} +1 -1
- package/{esm2015/colorpicker/models/actions-layout.js → esm2020/colorpicker/models/colorpicker-view.mjs} +1 -1
- package/{esm2015/colorpicker/events/kendo-drag-event.js → esm2020/colorpicker/models/gradient-settings.mjs} +1 -1
- package/esm2020/colorpicker/models/hsva.mjs +5 -0
- package/esm2020/colorpicker/models/output-format.mjs +5 -0
- package/{esm2015/colorpicker/models/palette-presets.js → esm2020/colorpicker/models/palette-presets.mjs} +1 -1
- package/esm2020/colorpicker/models/palette-settings.mjs +5 -0
- package/esm2020/colorpicker/models/popup-settings.mjs +5 -0
- package/esm2020/colorpicker/models/rgb.mjs +5 -0
- package/esm2020/colorpicker/models/rgba.mjs +5 -0
- package/esm2020/colorpicker/models/table-cell.mjs +5 -0
- package/{esm2015/colorpicker/models/tile-size.js → esm2020/colorpicker/models/tile-size.mjs} +1 -1
- package/{esm2015/colorpicker/models.js → esm2020/colorpicker/models.mjs} +1 -1
- package/{esm2015/colorpicker/services/color-palette.service.js → esm2020/colorpicker/services/color-palette.service.mjs} +4 -4
- package/{esm2015/colorpicker/services/flatcolorpicker.service.js → esm2020/colorpicker/services/flatcolorpicker.service.mjs} +4 -4
- package/{esm2015/colorpicker/utils/color-parser.js → esm2020/colorpicker/utils/color-parser.mjs} +2 -2
- package/{esm2015/colorpicker/utils/contrast-curve.js → esm2020/colorpicker/utils/contrast-curve.mjs} +1 -1
- package/{esm2015/colorpicker/utils.js → esm2020/colorpicker/utils.mjs} +1 -1
- package/{esm2015/colorpicker.module.js → esm2020/colorpicker.module.mjs} +17 -9
- package/{esm2015/common/dom-utils.js → esm2020/common/dom-utils.mjs} +2 -1
- package/{esm2015/common/math.js → esm2020/common/math.mjs} +1 -1
- package/esm2020/common/models/fillmode.mjs +5 -0
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/esm2020/common/models/styling-classes.mjs +5 -0
- package/{esm2015/common/models.js → esm2020/common/models.mjs} +1 -1
- package/{esm2015/common/utils.js → esm2020/common/utils.mjs} +1 -1
- package/{esm2015/formfield/error.component.js → esm2020/formfield/error.component.mjs} +4 -4
- package/{esm2015/formfield/formfield.component.js → esm2020/formfield/formfield.component.mjs} +5 -5
- package/{esm2015/formfield/hint.component.js → esm2020/formfield/hint.component.mjs} +4 -4
- package/esm2020/formfield/models/message-align.mjs +5 -0
- package/esm2020/formfield/models/orientation.mjs +5 -0
- package/esm2020/formfield/models/show-options.mjs +5 -0
- package/{esm2015/formfield.module.js → esm2020/formfield.module.mjs} +6 -6
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/inputs.module.js → esm2020/inputs.module.mjs} +6 -6
- package/{esm2015/maskedtextbox/maskedtextbox.component.js → esm2020/maskedtextbox/maskedtextbox.component.mjs} +8 -8
- package/{esm2015/maskedtextbox/masking.service.js → esm2020/maskedtextbox/masking.service.mjs} +5 -5
- package/{esm2015/maskedtextbox/parsing/combinators.js → esm2020/maskedtextbox/parsing/combinators.mjs} +1 -1
- package/{esm2015/maskedtextbox/parsing/parsers.js → esm2020/maskedtextbox/parsing/parsers.mjs} +4 -4
- package/{esm2015/maskedtextbox/parsing/result.js → esm2020/maskedtextbox/parsing/result.mjs} +1 -1
- package/{esm2015/maskedtextbox/parsing/stream.js → esm2020/maskedtextbox/parsing/stream.mjs} +1 -1
- package/{esm2015/maskedtextbox.module.js → esm2020/maskedtextbox.module.mjs} +6 -6
- package/{esm2015/numerictextbox/arrow-direction.js → esm2020/numerictextbox/arrow-direction.mjs} +1 -1
- package/{esm2015/numerictextbox/constants.js → esm2020/numerictextbox/constants.mjs} +1 -1
- package/{esm2015/numerictextbox/localization/custom-messages.component.js → esm2020/numerictextbox/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/numerictextbox/localization/localized-numerictextbox-messages.directive.js → esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs} +5 -4
- package/{esm2015/numerictextbox/localization/messages.js → esm2020/numerictextbox/localization/messages.mjs} +4 -4
- package/{esm2015/numerictextbox/numerictextbox.component.js → esm2020/numerictextbox/numerictextbox.component.mjs} +58 -26
- package/{esm2015/numerictextbox/utils.js → esm2020/numerictextbox/utils.mjs} +3 -2
- package/{esm2015/numerictextbox.module.js → esm2020/numerictextbox.module.mjs} +9 -8
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-inputs.js → esm2020/progress-kendo-angular-inputs.mjs} +2 -2
- package/{esm2015/radiobutton/radiobutton.directive.js → esm2020/radiobutton/radiobutton.directive.mjs} +5 -5
- package/{esm2015/radiobutton.module.js → esm2020/radiobutton.module.mjs} +6 -6
- package/{esm2015/rangeslider/localization/custom-messages.component.js → esm2020/rangeslider/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/rangeslider/localization/localized-rangeslider-messages.directive.js → esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs} +5 -4
- package/{esm2015/rangeslider/localization/messages.js → esm2020/rangeslider/localization/messages.mjs} +4 -4
- package/{esm2015/rangeslider/rangeslider-model.js → esm2020/rangeslider/rangeslider-model.mjs} +1 -1
- package/esm2020/rangeslider/rangeslider-value.type.mjs +5 -0
- package/{esm2015/rangeslider/rangeslider.component.js → esm2020/rangeslider/rangeslider.component.mjs} +8 -8
- package/{esm2015/rangeslider.module.js → esm2020/rangeslider.module.mjs} +6 -6
- package/{esm2015/shared/input-separator.component.js → esm2020/shared/input-separator.component.mjs} +4 -4
- package/{esm2015/shared/textarea.directive.js → esm2020/shared/textarea.directive.mjs} +5 -5
- package/{esm2015/shared/utils.js → esm2020/shared/utils.mjs} +1 -1
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/{esm2015/signature/events/close-event.js → esm2020/signature/events/close-event.mjs} +1 -1
- package/{esm2015/signature/events/index.js → esm2020/signature/events/index.mjs} +1 -1
- package/{esm2015/signature/events/open-event.js → esm2020/signature/events/open-event.mjs} +1 -1
- package/{esm2015/signature/localization/custom-messages.component.js → esm2020/signature/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/signature/localization/index.js → esm2020/signature/localization/index.mjs} +1 -1
- package/{esm2015/signature/localization/localized-signature-messages.directive.js → esm2020/signature/localization/localized-signature-messages.directive.mjs} +5 -4
- package/{esm2015/signature/localization/messages.js → esm2020/signature/localization/messages.mjs} +4 -4
- package/{esm2015/signature/signature.component.js → esm2020/signature/signature.component.mjs} +61 -45
- package/{esm2015/signature.module.js → esm2020/signature.module.mjs} +13 -9
- package/{esm2015/slider/localization/custom-messages.component.js → esm2020/slider/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/slider/localization/localized-slider-messages.directive.js → esm2020/slider/localization/localized-slider-messages.directive.mjs} +5 -4
- package/{esm2015/slider/localization/messages.js → esm2020/slider/localization/messages.mjs} +4 -4
- package/{esm2015/slider/slider-model.js → esm2020/slider/slider-model.mjs} +1 -1
- package/{esm2015/slider/slider.component.js → esm2020/slider/slider.component.mjs} +78 -47
- package/{esm2015/slider.module.js → esm2020/slider.module.mjs} +10 -8
- package/{esm2015/sliders-common/label-template.directive.js → esm2020/sliders-common/label-template.directive.mjs} +5 -5
- package/{esm2015/sliders-common/slider-base.js → esm2020/sliders-common/slider-base.mjs} +6 -5
- package/{esm2015/sliders-common/slider-model.base.js → esm2020/sliders-common/slider-model.base.mjs} +1 -1
- package/{esm2015/sliders-common/slider-ticks.component.js → esm2020/sliders-common/slider-ticks.component.mjs} +6 -6
- package/{esm2015/sliders-common/sliders-common.module.js → esm2020/sliders-common/sliders-common.module.mjs} +5 -5
- package/{esm2015/sliders-common/sliders-util.js → esm2020/sliders-common/sliders-util.mjs} +1 -1
- package/esm2020/sliders-common/title-callback.mjs +5 -0
- package/{esm2015/switch/localization/custom-messages.component.js → esm2020/switch/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/switch/localization/localized-switch-messages.directive.js → esm2020/switch/localization/localized-switch-messages.directive.mjs} +5 -4
- package/{esm2015/switch/localization/messages.js → esm2020/switch/localization/messages.mjs} +4 -4
- package/{esm2015/switch/switch.component.js → esm2020/switch/switch.component.mjs} +8 -10
- package/{esm2015/switch.module.js → esm2020/switch.module.mjs} +6 -6
- package/{esm2015/text-fields-common/text-fields-base.js → esm2020/text-fields-common/text-fields-base.mjs} +6 -5
- package/esm2020/textarea/models/flow.mjs +5 -0
- package/esm2020/textarea/models/resize.mjs +5 -0
- package/{esm2015/textarea/textarea-suffix.component.js → esm2020/textarea/textarea-suffix.component.mjs} +4 -4
- package/{esm2015/textarea/textarea.component.js → esm2020/textarea/textarea.component.mjs} +6 -6
- package/{esm2015/textarea.module.js → esm2020/textarea.module.mjs} +6 -6
- package/{esm2015/textbox/localization/custom-messages.component.js → esm2020/textbox/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/textbox/localization/localized-textbox-messages.directive.js → esm2020/textbox/localization/localized-textbox-messages.directive.mjs} +5 -4
- package/{esm2015/textbox/localization/messages.js → esm2020/textbox/localization/messages.mjs} +4 -4
- package/esm2020/textbox/models/icon-show-options.mjs +5 -0
- package/{esm2015/textbox/textbox-prefix.directive.js → esm2020/textbox/textbox-prefix.directive.mjs} +5 -5
- package/{esm2015/textbox/textbox-suffix.directive.js → esm2020/textbox/textbox-suffix.directive.mjs} +5 -5
- package/{esm2015/textbox/textbox.component.js → esm2020/textbox/textbox.component.mjs} +98 -26
- package/{esm2015/textbox/textbox.directive.js → esm2020/textbox/textbox.directive.mjs} +5 -5
- package/{esm2015/textbox.module.js → esm2020/textbox.module.mjs} +9 -8
- package/{esm2015/validators/max.validator.js → esm2020/validators/max.validator.mjs} +1 -1
- package/{esm2015/validators/min.validator.js → esm2020/validators/min.validator.mjs} +1 -1
- package/fesm2015/progress-kendo-angular-inputs.mjs +14957 -0
- package/{fesm2015/kendo-angular-inputs.js → fesm2020/progress-kendo-angular-inputs.mjs} +1167 -915
- package/formfield/error.component.d.ts +1 -1
- package/formfield/formfield.component.d.ts +1 -1
- package/formfield/hint.component.d.ts +1 -1
- package/formfield/models/message-align.d.ts +1 -1
- package/formfield/models/orientation.d.ts +1 -1
- package/formfield/models/show-options.d.ts +1 -1
- package/formfield.module.d.ts +2 -2
- package/{main.d.ts → index.d.ts} +1 -1
- package/inputs.module.d.ts +2 -2
- package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
- package/maskedtextbox/masking.service.d.ts +1 -1
- package/maskedtextbox/parsing/combinators.d.ts +1 -1
- package/maskedtextbox/parsing/parsers.d.ts +1 -1
- package/maskedtextbox/parsing/result.d.ts +1 -1
- package/maskedtextbox/parsing/stream.d.ts +1 -1
- package/maskedtextbox.module.d.ts +2 -2
- package/numerictextbox/arrow-direction.d.ts +1 -1
- package/numerictextbox/constants.d.ts +4 -4
- package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
- package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
- package/numerictextbox/localization/messages.d.ts +1 -1
- package/numerictextbox/numerictextbox.component.d.ts +11 -2
- package/numerictextbox/utils.d.ts +1 -1
- package/numerictextbox.module.d.ts +4 -3
- package/package-metadata.d.ts +1 -1
- package/package.json +34 -61
- package/{kendo-angular-inputs.d.ts → progress-kendo-angular-inputs.d.ts} +2 -2
- package/radiobutton/radiobutton.directive.d.ts +1 -1
- package/radiobutton.module.d.ts +2 -2
- package/rangeslider/localization/custom-messages.component.d.ts +1 -1
- package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
- package/rangeslider/localization/messages.d.ts +1 -1
- package/rangeslider/rangeslider-model.d.ts +1 -1
- package/rangeslider/rangeslider-value.type.d.ts +1 -1
- package/rangeslider/rangeslider.component.d.ts +1 -1
- package/rangeslider.module.d.ts +2 -2
- package/schematics/ngAdd/index.js +5 -7
- package/shared/input-separator.component.d.ts +1 -1
- package/shared/textarea.directive.d.ts +1 -1
- package/shared/utils.d.ts +1 -1
- package/shared.module.d.ts +1 -1
- package/signature/events/close-event.d.ts +1 -1
- package/signature/events/index.d.ts +1 -1
- package/signature/events/open-event.d.ts +1 -1
- package/signature/localization/custom-messages.component.d.ts +1 -1
- package/signature/localization/index.d.ts +1 -1
- package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
- package/signature/localization/messages.d.ts +1 -1
- package/signature/signature.component.d.ts +9 -1
- package/signature.module.d.ts +4 -3
- package/slider/localization/custom-messages.component.d.ts +1 -1
- package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
- package/slider/localization/messages.d.ts +1 -1
- package/slider/slider-model.d.ts +1 -1
- package/slider/slider.component.d.ts +18 -1
- package/slider.module.d.ts +6 -4
- package/sliders-common/label-template.directive.d.ts +1 -1
- package/sliders-common/slider-base.d.ts +1 -1
- package/sliders-common/slider-model.base.d.ts +1 -1
- package/sliders-common/slider-ticks.component.d.ts +1 -1
- package/sliders-common/sliders-common.module.d.ts +1 -1
- package/sliders-common/sliders-util.d.ts +1 -1
- package/sliders-common/title-callback.d.ts +1 -1
- package/switch/localization/custom-messages.component.d.ts +1 -1
- package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
- package/switch/localization/messages.d.ts +1 -1
- package/switch/switch.component.d.ts +1 -1
- package/switch.module.d.ts +2 -2
- package/text-fields-common/text-fields-base.d.ts +1 -1
- package/textarea/models/flow.d.ts +1 -1
- package/textarea/models/resize.d.ts +1 -1
- package/textarea/textarea-suffix.component.d.ts +1 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textarea.module.d.ts +2 -2
- package/textbox/localization/custom-messages.component.d.ts +1 -1
- package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
- package/textbox/localization/messages.d.ts +1 -1
- package/textbox/models/icon-show-options.d.ts +1 -1
- package/textbox/textbox-prefix.directive.d.ts +1 -1
- package/textbox/textbox-suffix.directive.d.ts +1 -1
- package/textbox/textbox.component.d.ts +19 -2
- package/textbox/textbox.directive.d.ts +1 -1
- package/textbox.module.d.ts +6 -5
- package/validators/max.validator.d.ts +1 -1
- package/validators/min.validator.d.ts +1 -1
- package/bundles/kendo-angular-inputs.umd.js +0 -5
- package/esm2015/colorpicker/models/hsva.js +0 -5
- package/esm2015/colorpicker/models/output-format.js +0 -5
- package/esm2015/colorpicker/models/palette-settings.js +0 -5
- package/esm2015/colorpicker/models/popup-settings.js +0 -5
- package/esm2015/colorpicker/models/rgb.js +0 -5
- package/esm2015/colorpicker/models/rgba.js +0 -5
- package/esm2015/colorpicker/models/table-cell.js +0 -5
- package/esm2015/common/models/fillmode.js +0 -5
- package/esm2015/common/models/rounded.js +0 -5
- package/esm2015/common/models/size.js +0 -5
- package/esm2015/common/models/styling-classes.js +0 -5
- package/esm2015/formfield/models/message-align.js +0 -5
- package/esm2015/formfield/models/orientation.js +0 -5
- package/esm2015/formfield/models/show-options.js +0 -5
- package/esm2015/rangeslider/rangeslider-value.type.js +0 -5
- package/esm2015/sliders-common/title-callback.js +0 -5
- package/esm2015/textarea/models/flow.js +0 -5
- package/esm2015/textarea/models/resize.js +0 -5
- package/esm2015/textbox/models/icon-show-options.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TileSize } from '../models';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ViewContainerRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/colorpicker/models.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export * from './models/actions-layout';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TableCell } from '../models';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TileSize, PaletteSettings } from "../models";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { OutputFormat, HSVA, RGBA } from '../models';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/colorpicker/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export * from './utils/color-parser';
|
package/colorpicker.module.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -22,12 +22,14 @@ import * as i16 from "./numerictextbox.module";
|
|
|
22
22
|
import * as i17 from "@angular/common";
|
|
23
23
|
import * as i18 from "@progress/kendo-angular-popup";
|
|
24
24
|
import * as i19 from "@progress/kendo-angular-common";
|
|
25
|
+
import * as i20 from "@progress/kendo-angular-buttons";
|
|
26
|
+
import * as i21 from "@progress/kendo-angular-icons";
|
|
25
27
|
/**
|
|
26
|
-
* Represents the [NgModule](
|
|
28
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
27
29
|
* definition for the ColorPicker.
|
|
28
30
|
*/
|
|
29
31
|
export declare class ColorPickerModule {
|
|
30
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorPickerModule, [typeof i1.ColorPickerComponent, typeof i2.ColorPaletteComponent, typeof i3.ColorGradientComponent, typeof i4.FlatColorPickerComponent, typeof i5.LocalizedColorPickerMessagesDirective, typeof i6.ColorPickerCustomMessagesComponent, typeof i7.NumericLabelDirective, typeof i8.ColorInputComponent, typeof i9.FocusOnDomReadyDirective, typeof i10.ContrastComponent, typeof i11.ContrastValidationComponent, typeof i12.FlatColorPickerHeaderComponent, typeof i13.FlatColorPickerActionButtonsComponent, typeof i14.ColorContrastSvgComponent], [typeof i15.SliderModule, typeof i16.NumericTextBoxModule, typeof i17.CommonModule, typeof i18.PopupModule, typeof i19.DraggableModule], [typeof i1.ColorPickerComponent, typeof i2.ColorPaletteComponent, typeof i3.ColorGradientComponent, typeof i4.FlatColorPickerComponent, typeof i5.LocalizedColorPickerMessagesDirective, typeof i6.ColorPickerCustomMessagesComponent]>;
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorPickerModule, [typeof i1.ColorPickerComponent, typeof i2.ColorPaletteComponent, typeof i3.ColorGradientComponent, typeof i4.FlatColorPickerComponent, typeof i5.LocalizedColorPickerMessagesDirective, typeof i6.ColorPickerCustomMessagesComponent, typeof i7.NumericLabelDirective, typeof i8.ColorInputComponent, typeof i9.FocusOnDomReadyDirective, typeof i10.ContrastComponent, typeof i11.ContrastValidationComponent, typeof i12.FlatColorPickerHeaderComponent, typeof i13.FlatColorPickerActionButtonsComponent, typeof i14.ColorContrastSvgComponent], [typeof i15.SliderModule, typeof i16.NumericTextBoxModule, typeof i17.CommonModule, typeof i18.PopupModule, typeof i19.DraggableModule, typeof i20.ButtonModule, typeof i21.IconsModule], [typeof i1.ColorPickerComponent, typeof i2.ColorPaletteComponent, typeof i3.ColorGradientComponent, typeof i4.FlatColorPickerComponent, typeof i5.LocalizedColorPickerMessagesDirective, typeof i6.ColorPickerCustomMessagesComponent]>;
|
|
32
34
|
static ɵinj: i0.ɵɵInjectorDeclaration<ColorPickerModule>;
|
|
33
35
|
}
|
package/common/dom-utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ElementRef } from '@angular/core';
|
package/common/math.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/common/models/size.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/common/models.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export * from './models/fillmode';
|
package/common/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { InputStylingClasses } from "./models";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, HostBinding, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core';
|
|
6
6
|
import { getStylingClasses } from '../common/utils';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
const DEFAULT_SIZE = 'medium';
|
|
@@ -77,9 +77,9 @@ export class CheckBoxDirective {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
CheckBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
81
|
-
CheckBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
CheckBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
81
|
+
CheckBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: { size: "size", rounded: "rounded" }, host: { properties: { "class.k-checkbox": "this.kendoClass" } }, ngImport: i0 });
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxDirective, decorators: [{
|
|
83
83
|
type: Directive,
|
|
84
84
|
args: [{
|
|
85
85
|
selector: 'input[kendoCheckBox]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -7,7 +7,7 @@ import { CheckBoxDirective } from './checkbox/checkbox.directive';
|
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
* Represents the [NgModule](
|
|
10
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
11
11
|
* definition for the CheckBox directive.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
@@ -39,10 +39,10 @@ import * as i0 from "@angular/core";
|
|
|
39
39
|
*/
|
|
40
40
|
export class CheckBoxModule {
|
|
41
41
|
}
|
|
42
|
-
CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
44
|
-
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
+
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, declarations: [CheckBoxDirective], imports: [CommonModule], exports: [CheckBoxDirective] });
|
|
44
|
+
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, imports: [[CommonModule]] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, decorators: [{
|
|
46
46
|
type: NgModule,
|
|
47
47
|
args: [{
|
|
48
48
|
declarations: [CheckBoxDirective],
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, HostBinding, Input } from '@angular/core';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
7
|
import { isPresent } from '../common/utils';
|
|
7
8
|
import { AA_RATIO, STEP_COUNT, AAA_RATIO } from './constants';
|
|
8
9
|
import { bezierCommand, getContrastFromTwoRGBAs, getRGBA, getColorFromHSV, svgPath, controlPoint, line } from './utils';
|
|
10
|
+
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
import * as i1 from "@angular/common";
|
|
11
13
|
/**
|
|
@@ -16,6 +18,9 @@ export class ColorContrastSvgComponent {
|
|
|
16
18
|
this.hostClass = true;
|
|
17
19
|
}
|
|
18
20
|
ngAfterViewInit() {
|
|
21
|
+
if (!isDocumentAvailable()) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
19
24
|
this.metrics = this.wrapper.getBoundingClientRect();
|
|
20
25
|
this.oldA = this.hsva.value.a;
|
|
21
26
|
this.oldH = this.hsva.value.h;
|
|
@@ -28,7 +33,7 @@ export class ColorContrastSvgComponent {
|
|
|
28
33
|
});
|
|
29
34
|
}
|
|
30
35
|
ngOnChanges(changes) {
|
|
31
|
-
if (isPresent(changes
|
|
36
|
+
if (isPresent(changes['backgroundColor']) && this.metrics) {
|
|
32
37
|
this.setPaths();
|
|
33
38
|
}
|
|
34
39
|
}
|
|
@@ -67,11 +72,11 @@ export class ColorContrastSvgComponent {
|
|
|
67
72
|
return points;
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
|
-
ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
75
|
+
ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
+
ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: { wrapper: "wrapper", hsva: "hsva", backgroundColor: "backgroundColor" }, host: { properties: { "class.k-color-contrast-svg": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
72
77
|
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
73
78
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
|
|
75
80
|
type: Component,
|
|
76
81
|
args: [{
|
|
77
82
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { NumericTextBoxComponent } from './../numerictextbox/numerictextbox.component';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
import * as i1 from "./../numerictextbox/numerictextbox.component";
|
|
8
10
|
/**
|
|
@@ -17,9 +19,9 @@ export class NumericLabelDirective {
|
|
|
17
19
|
this.host.numericInput.nativeElement.setAttribute('aria-label', this.localizationService.get(localizationToken));
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
|
-
NumericLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
NumericLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericLabelDirective, deps: [{ token: i1.NumericTextBoxComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: { kendoAdditionalNumericLabel: "kendoAdditionalNumericLabel", localizationService: "localizationService" }, ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericLabelDirective, decorators: [{
|
|
23
25
|
type: Directive,
|
|
24
26
|
args: [{ selector: '[kendoAdditionalNumericLabel]' }]
|
|
25
27
|
}], ctorParameters: function () { return [{ type: i1.NumericTextBoxComponent }]; }, propDecorators: { kendoAdditionalNumericLabel: [{
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
5
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
6
|
+
import { Component, Input, ViewChild, ElementRef, Renderer2, NgZone, Output, EventEmitter, HostBinding, forwardRef, ChangeDetectorRef, Injector, HostListener } from '@angular/core';
|
|
6
7
|
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
8
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
8
9
|
import { throttleTime } from 'rxjs/operators';
|
|
@@ -12,18 +13,22 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
12
13
|
import { containsFocus, isUntouched } from '../common/dom-utils';
|
|
13
14
|
import { parseColor, getHSV, getColorFromHSV, getColorFromHue } from './utils';
|
|
14
15
|
import { isPresent, fitIntoBounds } from '../common/utils';
|
|
16
|
+
import { SliderComponent } from '../slider/slider.component';
|
|
15
17
|
import { ColorGradientLocalizationService } from './localization/colorgradient-localization.service';
|
|
18
|
+
import { ColorInputComponent } from './color-input.component';
|
|
16
19
|
import { DEFAULT_GRADIENT_BACKGROUND_COLOR, DEFAULT_OUTPUT_FORMAT, DRAGHANDLE_MOVE_SPEED, DRAGHANDLE_MOVE_SPEED_SMALL_STEP } from './constants';
|
|
17
20
|
import { packageMetadata } from '../package-metadata';
|
|
21
|
+
import { dropletSlashIcon } from '@progress/kendo-svg-icons';
|
|
18
22
|
import * as i0 from "@angular/core";
|
|
19
23
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
20
24
|
import * as i2 from "./color-contrast-svg.component";
|
|
21
|
-
import * as i3 from "
|
|
22
|
-
import * as i4 from "
|
|
23
|
-
import * as i5 from "./
|
|
24
|
-
import * as i6 from "./
|
|
25
|
-
import * as i7 from "
|
|
26
|
-
import * as i8 from "@angular
|
|
25
|
+
import * as i3 from "@progress/kendo-angular-buttons";
|
|
26
|
+
import * as i4 from "../slider/slider.component";
|
|
27
|
+
import * as i5 from "./color-input.component";
|
|
28
|
+
import * as i6 from "./contrast.component";
|
|
29
|
+
import * as i7 from "./localization/localized-colorpicker-messages.directive";
|
|
30
|
+
import * as i8 from "@progress/kendo-angular-common";
|
|
31
|
+
import * as i9 from "@angular/common";
|
|
27
32
|
let serial = 0;
|
|
28
33
|
/**
|
|
29
34
|
* The ColorGradient component enables smooth color transitions and provides options for selecting specific colors over the drag handle.
|
|
@@ -115,6 +120,10 @@ export class ColorGradientComponent {
|
|
|
115
120
|
* @hidden
|
|
116
121
|
*/
|
|
117
122
|
this.internalNavigation = false;
|
|
123
|
+
/**
|
|
124
|
+
* @hidden
|
|
125
|
+
*/
|
|
126
|
+
this.dropletSlashIcon = dropletSlashIcon;
|
|
118
127
|
this._tabindex = 0;
|
|
119
128
|
this.listeners = [];
|
|
120
129
|
this.hueSliderTouched = false;
|
|
@@ -138,16 +147,13 @@ export class ColorGradientComponent {
|
|
|
138
147
|
return this.id;
|
|
139
148
|
}
|
|
140
149
|
get hostTabindex() {
|
|
141
|
-
|
|
142
|
-
return ((_a = this.tabindex) === null || _a === void 0 ? void 0 : _a.toString()) || '0';
|
|
150
|
+
return this.tabindex?.toString() || '0';
|
|
143
151
|
}
|
|
144
152
|
get isControlInvalid() {
|
|
145
|
-
|
|
146
|
-
return (_b = ((_a = this.control) === null || _a === void 0 ? void 0 : _a.invalid)) === null || _b === void 0 ? void 0 : _b.toString();
|
|
153
|
+
return (this.control?.invalid)?.toString();
|
|
147
154
|
}
|
|
148
155
|
get isDisabled() {
|
|
149
|
-
|
|
150
|
-
return ((_a = this.disabled) === null || _a === void 0 ? void 0 : _a.toString()) || undefined;
|
|
156
|
+
return this.disabled?.toString() || undefined;
|
|
151
157
|
}
|
|
152
158
|
/**
|
|
153
159
|
* @hidden
|
|
@@ -484,7 +490,7 @@ export class ColorGradientComponent {
|
|
|
484
490
|
hsva.v = 1 - top / gradientRectHeight;
|
|
485
491
|
this.hsva.next(hsva);
|
|
486
492
|
this.updateValues.next(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
487
|
-
this.setAlphaSliderBackground(getColorFromHSV(
|
|
493
|
+
this.setAlphaSliderBackground(getColorFromHSV({ ...this.hsva.value, a: 1 }, this.format, this.opacity));
|
|
488
494
|
}
|
|
489
495
|
handleValueChange(color) {
|
|
490
496
|
if (this.value === color) {
|
|
@@ -570,8 +576,8 @@ export class ColorGradientComponent {
|
|
|
570
576
|
}
|
|
571
577
|
}
|
|
572
578
|
}
|
|
573
|
-
ColorGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
574
|
-
ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
579
|
+
ColorGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
580
|
+
ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorGradientComponent, selector: "kendo-colorgradient", inputs: { id: "id", opacity: "opacity", disabled: "disabled", readonly: "readonly", clearButton: "clearButton", delay: "delay", value: "value", contrastTool: "contrastTool", tabindex: "tabindex", format: "format", gradientSliderStep: "gradientSliderStep", gradientSliderSmallStep: "gradientSliderSmallStep" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "keydown.enter": "enterHandler($event)", "keydown.escape": "escapeHandler($event)", "focusin": "focusHandler($event)" }, properties: { "class.k-colorgradient": "this.hostClasses", "attr.aria-readonly": "this.readonlyAttribute", "class.k-disabled": "this.disabledClass", "attr.id": "this.gradientId", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabindex", "attr.role": "this.ariaRole", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-disabled": "this.isDisabled" } }, providers: [
|
|
575
581
|
{
|
|
576
582
|
multi: true,
|
|
577
583
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -658,23 +664,31 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
658
664
|
xmlns="http://www.w3.org/2000/svg"
|
|
659
665
|
[wrapper]="gradientWrapper ? gradientWrapper : undefined"
|
|
660
666
|
[hsva]="hsva"
|
|
661
|
-
[backgroundColor]="contrastTool"
|
|
667
|
+
[backgroundColor]="contrastTool"
|
|
668
|
+
[style]="'position: absolute; overflow: visible; pointer-events: none; left: 0px; top: 0px;'">
|
|
662
669
|
</svg>
|
|
663
670
|
</div>
|
|
664
671
|
<div class="k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}">
|
|
665
|
-
|
|
672
|
+
|
|
673
|
+
<button
|
|
674
|
+
kendoButton
|
|
666
675
|
*ngIf="clearButton"
|
|
667
|
-
|
|
676
|
+
class="k-clear-color"
|
|
677
|
+
fillMode="flat"
|
|
678
|
+
icon="droplet-slash"
|
|
679
|
+
[svgIcon]="dropletSlashIcon"
|
|
668
680
|
(click)="reset()"
|
|
669
681
|
(keydown.enter)="reset()"
|
|
670
682
|
(keydown.space)="reset()"
|
|
671
683
|
[attr.aria-label]="clearButtonTitle"
|
|
672
684
|
[attr.title]="clearButtonTitle"
|
|
673
|
-
[tabindex]="innerTabIndex.toString()"
|
|
674
|
-
|
|
675
|
-
|
|
685
|
+
[tabindex]="innerTabIndex.toString()"
|
|
686
|
+
[style]="'position: absolute; top: 0; left: 50%; transform: translateX(-50%);'"
|
|
687
|
+
>
|
|
688
|
+
</button>
|
|
676
689
|
<kendo-slider
|
|
677
690
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
691
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
678
692
|
class="k-hue-slider k-colorgradient-slider"
|
|
679
693
|
[dragHandleTitle]="hueSliderTitle"
|
|
680
694
|
[tabindex]="innerTabIndex"
|
|
@@ -696,6 +710,7 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
696
710
|
#alphaSlider
|
|
697
711
|
[tabindex]="innerTabIndex"
|
|
698
712
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
713
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
699
714
|
class="k-alpha-slider k-colorgradient-slider"
|
|
700
715
|
[dragHandleTitle]="opacitySliderTitle"
|
|
701
716
|
[disabled]="disabled"
|
|
@@ -730,8 +745,8 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
730
745
|
[value]="value"
|
|
731
746
|
[ratio]="contrastTool">
|
|
732
747
|
</div>
|
|
733
|
-
`, isInline: true,
|
|
734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
748
|
+
`, isInline: true, components: [{ type: i2.ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i4.SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { type: i5.ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { type: i6.ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }], directives: [{ type: i7.LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i8.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientComponent, decorators: [{
|
|
735
750
|
type: Component,
|
|
736
751
|
args: [{
|
|
737
752
|
exportAs: 'kendoColorGradient',
|
|
@@ -824,23 +839,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
824
839
|
xmlns="http://www.w3.org/2000/svg"
|
|
825
840
|
[wrapper]="gradientWrapper ? gradientWrapper : undefined"
|
|
826
841
|
[hsva]="hsva"
|
|
827
|
-
[backgroundColor]="contrastTool"
|
|
842
|
+
[backgroundColor]="contrastTool"
|
|
843
|
+
[style]="'position: absolute; overflow: visible; pointer-events: none; left: 0px; top: 0px;'">
|
|
828
844
|
</svg>
|
|
829
845
|
</div>
|
|
830
846
|
<div class="k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}">
|
|
831
|
-
|
|
847
|
+
|
|
848
|
+
<button
|
|
849
|
+
kendoButton
|
|
832
850
|
*ngIf="clearButton"
|
|
833
|
-
|
|
851
|
+
class="k-clear-color"
|
|
852
|
+
fillMode="flat"
|
|
853
|
+
icon="droplet-slash"
|
|
854
|
+
[svgIcon]="dropletSlashIcon"
|
|
834
855
|
(click)="reset()"
|
|
835
856
|
(keydown.enter)="reset()"
|
|
836
857
|
(keydown.space)="reset()"
|
|
837
858
|
[attr.aria-label]="clearButtonTitle"
|
|
838
859
|
[attr.title]="clearButtonTitle"
|
|
839
|
-
[tabindex]="innerTabIndex.toString()"
|
|
840
|
-
|
|
841
|
-
|
|
860
|
+
[tabindex]="innerTabIndex.toString()"
|
|
861
|
+
[style]="'position: absolute; top: 0; left: 50%; transform: translateX(-50%);'"
|
|
862
|
+
>
|
|
863
|
+
</button>
|
|
842
864
|
<kendo-slider
|
|
843
865
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
866
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
844
867
|
class="k-hue-slider k-colorgradient-slider"
|
|
845
868
|
[dragHandleTitle]="hueSliderTitle"
|
|
846
869
|
[tabindex]="innerTabIndex"
|
|
@@ -862,6 +885,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
862
885
|
#alphaSlider
|
|
863
886
|
[tabindex]="innerTabIndex"
|
|
864
887
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
888
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
865
889
|
class="k-alpha-slider k-colorgradient-slider"
|
|
866
890
|
[dragHandleTitle]="opacitySliderTitle"
|
|
867
891
|
[disabled]="disabled"
|
|
@@ -896,26 +920,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
896
920
|
[value]="value"
|
|
897
921
|
[ratio]="contrastTool">
|
|
898
922
|
</div>
|
|
899
|
-
|
|
900
|
-
styles: [`
|
|
901
|
-
.k-clear-color {
|
|
902
|
-
position: absolute;
|
|
903
|
-
top: 0;
|
|
904
|
-
left: 50%;
|
|
905
|
-
transform: translateX(-50%);
|
|
906
|
-
}
|
|
907
|
-
.k-colorgradient-slider.k-align-self-end {
|
|
908
|
-
height: 140px;
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
.k-color-contrast-svg {
|
|
912
|
-
position: absolute;
|
|
913
|
-
overflow: visible;
|
|
914
|
-
pointer-events: none;
|
|
915
|
-
left: 0px;
|
|
916
|
-
top: 0px;
|
|
917
|
-
}
|
|
918
|
-
`]
|
|
923
|
+
`
|
|
919
924
|
}]
|
|
920
925
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.Injector }]; }, propDecorators: { hostClasses: [{
|
|
921
926
|
type: HostBinding,
|