@progress/kendo-angular-inputs 10.1.2 → 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
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -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 { Component, Input, ViewChild, forwardRef } from '@angular/core';
|
|
5
|
+
import { Renderer2, Component, ElementRef, Input, ViewChild, forwardRef, NgZone, Injector, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
7
|
import { take } from 'rxjs/operators';
|
|
8
8
|
import { trimValue, isSameRange, trimValueRange, validateValue } from '../sliders-common/sliders-util';
|
|
@@ -93,7 +93,7 @@ export class RangeSliderComponent extends SliderBase {
|
|
|
93
93
|
const nonDraggedHandle = startHandleIsActive ? this.draghandleEnd.nativeElement : this.draghandleStart.nativeElement;
|
|
94
94
|
this.renderer.removeStyle(nonDraggedHandle, 'zIndex');
|
|
95
95
|
this.renderer.setStyle(e.target, 'zIndex', 1);
|
|
96
|
-
const value = handler(
|
|
96
|
+
const value = handler({ ...options, value: startHandleIsActive ? this.value[0] : this.value[1] });
|
|
97
97
|
if (startHandleIsActive) {
|
|
98
98
|
if (value > this.value[1]) {
|
|
99
99
|
this.value[1] = value;
|
|
@@ -165,8 +165,8 @@ export class RangeSliderComponent extends SliderBase {
|
|
|
165
165
|
}
|
|
166
166
|
ngOnChanges(changes) {
|
|
167
167
|
if (anyChanged(['value', 'fixedTickWidth', 'tickPlacement'], changes, true)) {
|
|
168
|
-
if (changes
|
|
169
|
-
validateValue(changes
|
|
168
|
+
if (changes['value'] && changes['value'].currentValue) {
|
|
169
|
+
validateValue(changes['value'].currentValue);
|
|
170
170
|
}
|
|
171
171
|
this.ngZone.onStable.asObservable().pipe(take(1)).subscribe(() => {
|
|
172
172
|
this.sizeComponent();
|
|
@@ -430,8 +430,8 @@ export class RangeSliderComponent extends SliderBase {
|
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
RangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
434
|
-
RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
433
|
+
RangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
434
|
+
RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RangeSliderComponent, selector: "kendo-rangeslider", inputs: { value: "value" }, providers: [
|
|
435
435
|
LocalizationService,
|
|
436
436
|
{ provide: L10N_PREFIX, useValue: 'kendo.rangeslider' },
|
|
437
437
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RangeSliderComponent) },
|
|
@@ -509,7 +509,7 @@ RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
509
509
|
<kendo-resize-sensor (resize)="sizeComponent()"></kendo-resize-sensor>
|
|
510
510
|
</div>
|
|
511
511
|
`, isInline: true, components: [{ type: i2.SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i4.LocalizedRangeSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderComponent, decorators: [{
|
|
513
513
|
type: Component,
|
|
514
514
|
args: [{
|
|
515
515
|
exportAs: 'kendoRangeSlider',
|
|
@@ -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';
|
|
@@ -11,7 +11,7 @@ import { RangeSliderCustomMessagesComponent } from './rangeslider/localization/c
|
|
|
11
11
|
import { LabelTemplateDirective } from './sliders-common/label-template.directive';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
|
-
* Represents the [NgModule](
|
|
14
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
15
15
|
* definition for the RangeSlider component.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
@@ -44,15 +44,15 @@ import * as i0 from "@angular/core";
|
|
|
44
44
|
*/
|
|
45
45
|
export class RangeSliderModule {
|
|
46
46
|
}
|
|
47
|
-
RangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
RangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
47
|
+
RangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
RangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, declarations: [RangeSliderComponent,
|
|
49
49
|
RangeSliderCustomMessagesComponent,
|
|
50
50
|
LocalizedRangeSliderMessagesDirective], imports: [CommonModule, SlidersCommonModule], exports: [RangeSliderComponent,
|
|
51
51
|
RangeSliderCustomMessagesComponent,
|
|
52
52
|
LocalizedRangeSliderMessagesDirective,
|
|
53
53
|
LabelTemplateDirective] });
|
|
54
|
-
RangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
RangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, imports: [[CommonModule, SlidersCommonModule]] });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, decorators: [{
|
|
56
56
|
type: NgModule,
|
|
57
57
|
args: [{
|
|
58
58
|
declarations: [
|
package/{esm2015/shared/input-separator.component.js → esm2020/shared/input-separator.component.mjs}
RENAMED
|
@@ -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 { Component, HostBinding } from '@angular/core';
|
|
@@ -27,9 +27,9 @@ export class InputSeparatorComponent {
|
|
|
27
27
|
this.hostClass = true;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
InputSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
InputSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", host: { properties: { "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputSeparatorComponent, decorators: [{
|
|
33
33
|
type: Component,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: 'kendo-input-separator, kendo-textbox-separator',
|
|
@@ -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, EventEmitter, HostBinding, Optional, Inject, Input, forwardRef, Output } from '@angular/core';
|
|
5
|
+
import { Directive, ElementRef, EventEmitter, HostBinding, Renderer2, Optional, Inject, Input, NgZone, forwardRef, Output, ChangeDetectorRef, Injector } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
7
7
|
import { hasObservers, KendoInput, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
8
|
import { requiresZoneOnBlur } from '../common/utils';
|
|
@@ -203,8 +203,8 @@ export class TextAreaDirective {
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
TextAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
207
|
-
TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
206
|
+
TextAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
207
|
+
TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: { autoSize: "autoSize", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.elementClasses", "class.k-input": "this.elementClasses", "class.k-input-md": "this.elementClasses", "class.k-rounded-md": "this.elementClasses", "class.k-input-solid": "this.elementClasses", "class.k-autofill": "this.autofillClass", "attr.dir": "this.direction" } }, providers: [{
|
|
208
208
|
provide: NG_VALUE_ACCESSOR,
|
|
209
209
|
useExisting: forwardRef(() => TextAreaDirective),
|
|
210
210
|
multi: true
|
|
@@ -212,7 +212,7 @@ TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", vers
|
|
|
212
212
|
provide: KendoInput,
|
|
213
213
|
useExisting: forwardRef(() => TextAreaDirective)
|
|
214
214
|
}], usesOnChanges: true, ngImport: i0 });
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaDirective, decorators: [{
|
|
216
216
|
type: Directive,
|
|
217
217
|
args: [{
|
|
218
218
|
providers: [{
|
|
@@ -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 { detectDesktopBrowser, detectMobileOS } from "@progress/kendo-common";
|
|
@@ -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";
|
|
@@ -18,12 +18,12 @@ export const SHARED_DIRECTIVES = [
|
|
|
18
18
|
*/
|
|
19
19
|
export class SharedModule {
|
|
20
20
|
}
|
|
21
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
21
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [InputSeparatorComponent,
|
|
23
23
|
TextAreaDirective], exports: [InputSeparatorComponent,
|
|
24
24
|
TextAreaDirective] });
|
|
25
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
27
27
|
type: NgModule,
|
|
28
28
|
args: [{
|
|
29
29
|
declarations: [SHARED_DIRECTIVES],
|
package/{esm2015/signature/events/close-event.js → esm2020/signature/events/close-event.mjs}
RENAMED
|
@@ -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 { PreventableEvent } from "@progress/kendo-angular-common";
|
|
@@ -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 './close-event';
|
|
@@ -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 { PreventableEvent } from "@progress/kendo-angular-common";
|
|
@@ -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
|
import { Component, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
7
|
import { SignatureMessages } from './messages';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -18,14 +19,14 @@ export class SignatureCustomMessagesComponent extends SignatureMessages {
|
|
|
18
19
|
return true;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
SignatureCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
SignatureCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
22
|
+
SignatureCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
SignatureCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SignatureCustomMessagesComponent, selector: "kendo-signature-messages", providers: [
|
|
23
24
|
{
|
|
24
25
|
provide: SignatureMessages,
|
|
25
26
|
useExisting: forwardRef(() => SignatureCustomMessagesComponent)
|
|
26
27
|
}
|
|
27
28
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureCustomMessagesComponent, decorators: [{
|
|
29
30
|
type: Component,
|
|
30
31
|
args: [{
|
|
31
32
|
providers: [
|
package/{esm2015/signature/localization/index.js → esm2020/signature/localization/index.mjs}
RENAMED
|
@@ -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 { SignatureCustomMessagesComponent } from './custom-messages.component';
|
|
@@ -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
|
import { Directive, forwardRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
7
|
import { SignatureMessages } from './messages';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -15,14 +16,14 @@ export class LocalizedSignatureMessagesDirective extends SignatureMessages {
|
|
|
15
16
|
this.service = service;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
|
-
LocalizedSignatureMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
LocalizedSignatureMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
19
|
+
LocalizedSignatureMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSignatureMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
LocalizedSignatureMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]", providers: [
|
|
20
21
|
{
|
|
21
22
|
provide: SignatureMessages,
|
|
22
23
|
useExisting: forwardRef(() => LocalizedSignatureMessagesDirective)
|
|
23
24
|
}
|
|
24
25
|
], usesInheritance: true, ngImport: i0 });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSignatureMessagesDirective, decorators: [{
|
|
26
27
|
type: Directive,
|
|
27
28
|
args: [{
|
|
28
29
|
providers: [
|
package/{esm2015/signature/localization/messages.js → esm2020/signature/localization/messages.mjs}
RENAMED
|
@@ -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 { Directive, Input } from '@angular/core';
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class SignatureMessages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
|
-
SignatureMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
SignatureMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
SignatureMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
SignatureMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SignatureMessages, selector: "kendo-signature-messages-base", inputs: { clear: "clear", minimize: "minimize", maximize: "maximize", canvasLabel: "canvasLabel" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureMessages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
package/{esm2015/signature/signature.component.js → esm2020/signature/signature.component.mjs}
RENAMED
|
@@ -1,9 +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 {
|
|
6
|
-
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, forwardRef, HostBinding, Input, Output, ViewChild } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, HostBinding, Input, NgZone, Output, Renderer2, ViewChild } from '@angular/core';
|
|
7
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
8
7
|
import { anyChanged, closest, isDocumentAvailable, Keys } from '@progress/kendo-angular-common';
|
|
9
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
@@ -12,12 +11,13 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
12
11
|
import { isNone, isPresent, ROUNDED_MAP, SIZE_MAP } from '../common/utils';
|
|
13
12
|
import { packageMetadata } from '../package-metadata';
|
|
14
13
|
import { SignatureCloseEvent, SignatureOpenEvent } from './events';
|
|
14
|
+
import { xIcon, hyperlinkOpenIcon } from '@progress/kendo-svg-icons';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
17
|
-
import * as i2 from "@progress/kendo-angular-
|
|
18
|
-
import * as i3 from "
|
|
19
|
-
import * as i4 from "
|
|
20
|
-
import * as i5 from "@
|
|
17
|
+
import * as i2 from "@progress/kendo-angular-buttons";
|
|
18
|
+
import * as i3 from "@progress/kendo-angular-dialog";
|
|
19
|
+
import * as i4 from "./localization/localized-signature-messages.directive";
|
|
20
|
+
import * as i5 from "@angular/common";
|
|
21
21
|
const noop = () => { };
|
|
22
22
|
const FOCUSED_CLASS = 'k-focus';
|
|
23
23
|
const DEFAULT_SIZE = 'medium';
|
|
@@ -27,6 +27,7 @@ const DEFAULT_POPUP_SCALE = 3;
|
|
|
27
27
|
const DEFAULT_EXPORT_SCALE = 2;
|
|
28
28
|
const DEFAULT_COLOR = '#000000';
|
|
29
29
|
const DEFAULT_BACKGROUND_COLOR = '#ffffff';
|
|
30
|
+
const iconsMap = { xIcon, hyperlinkOpenIcon };
|
|
30
31
|
/**
|
|
31
32
|
* Represents the [Kendo UI Signature component for Angular]({% slug overview_signature %}).
|
|
32
33
|
*
|
|
@@ -187,6 +188,12 @@ export class SignatureComponent {
|
|
|
187
188
|
get value() {
|
|
188
189
|
return this._value;
|
|
189
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* @hidden
|
|
193
|
+
*/
|
|
194
|
+
svgIcon(name) {
|
|
195
|
+
return iconsMap[name];
|
|
196
|
+
}
|
|
190
197
|
/**
|
|
191
198
|
* Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
192
199
|
*
|
|
@@ -272,6 +279,9 @@ export class SignatureComponent {
|
|
|
272
279
|
get showClear() {
|
|
273
280
|
return !(this.isEmpty || this.isDrawing || this.readonly || this.disabled);
|
|
274
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* @hidden
|
|
284
|
+
*/
|
|
275
285
|
get focused() {
|
|
276
286
|
return this.isFocused;
|
|
277
287
|
}
|
|
@@ -305,11 +315,19 @@ export class SignatureComponent {
|
|
|
305
315
|
});
|
|
306
316
|
}
|
|
307
317
|
ngAfterViewInit() {
|
|
318
|
+
if (!isDocumentAvailable()) {
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
308
321
|
this.applyHostClasses();
|
|
309
322
|
this.readThemeColors();
|
|
310
323
|
this.ngZone.runOutsideAngular(() => {
|
|
311
324
|
const element = this.canvas.nativeElement;
|
|
312
|
-
this.instance = new SignaturePad(element,
|
|
325
|
+
this.instance = new SignaturePad(element, {
|
|
326
|
+
...this.options,
|
|
327
|
+
onChange: () => this.onValueChange(),
|
|
328
|
+
onDraw: () => this.onDraw(),
|
|
329
|
+
onDrawEnd: () => this.onDrawEnd()
|
|
330
|
+
});
|
|
313
331
|
if (this.value) {
|
|
314
332
|
this.instance.loadImage(this.value);
|
|
315
333
|
}
|
|
@@ -346,18 +364,16 @@ export class SignatureComponent {
|
|
|
346
364
|
/**
|
|
347
365
|
* @hidden
|
|
348
366
|
*/
|
|
349
|
-
onValueChange() {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
this.
|
|
358
|
-
|
|
359
|
-
this.notifyNgChanged(value);
|
|
360
|
-
});
|
|
367
|
+
async onValueChange() {
|
|
368
|
+
const value = await this.instance.exportImage({
|
|
369
|
+
width: this.baseWidth * this.exportScale,
|
|
370
|
+
height: this.baseHeight * this.exportScale
|
|
371
|
+
});
|
|
372
|
+
this._value = value;
|
|
373
|
+
this.cd.markForCheck();
|
|
374
|
+
this.ngZone.run(() => {
|
|
375
|
+
this.valueChange.emit(value);
|
|
376
|
+
this.notifyNgChanged(value);
|
|
361
377
|
});
|
|
362
378
|
}
|
|
363
379
|
/**
|
|
@@ -373,44 +389,40 @@ export class SignatureComponent {
|
|
|
373
389
|
* @hidden
|
|
374
390
|
*/
|
|
375
391
|
onDialogClick(e) {
|
|
376
|
-
var _a;
|
|
377
392
|
if (e.target.classList.contains('k-overlay')) {
|
|
378
393
|
this.isOpen = false;
|
|
379
|
-
|
|
394
|
+
this.maximizeButton?.nativeElement.focus();
|
|
380
395
|
}
|
|
381
396
|
}
|
|
382
397
|
/**
|
|
383
398
|
* @hidden
|
|
384
399
|
*/
|
|
385
400
|
onDialogKeydown(e) {
|
|
386
|
-
var _a;
|
|
387
401
|
if (e.keyCode === Keys.Escape) {
|
|
388
402
|
this.isOpen = false;
|
|
389
403
|
this.cd.detectChanges();
|
|
390
|
-
|
|
404
|
+
this.maximizeButton?.nativeElement.focus();
|
|
391
405
|
}
|
|
392
406
|
}
|
|
393
407
|
/**
|
|
394
408
|
* @hidden
|
|
395
409
|
*/
|
|
396
410
|
onDialogClose() {
|
|
397
|
-
var _a;
|
|
398
411
|
const args = new SignatureCloseEvent();
|
|
399
412
|
this.close.next(args);
|
|
400
413
|
if (!args.isDefaultPrevented()) {
|
|
401
414
|
this.isOpen = false;
|
|
402
|
-
|
|
415
|
+
this.maximizeButton?.nativeElement.focus();
|
|
403
416
|
}
|
|
404
417
|
}
|
|
405
418
|
/**
|
|
406
419
|
* Clears the value of the Signature.
|
|
407
420
|
*/
|
|
408
421
|
reset() {
|
|
409
|
-
var _a;
|
|
410
422
|
if (!isPresent(this.value)) {
|
|
411
423
|
return;
|
|
412
424
|
}
|
|
413
|
-
|
|
425
|
+
this.instance?.clear();
|
|
414
426
|
this.value = this._value = undefined;
|
|
415
427
|
this.notifyNgChanged(undefined);
|
|
416
428
|
}
|
|
@@ -430,19 +442,17 @@ export class SignatureComponent {
|
|
|
430
442
|
/**
|
|
431
443
|
* @hidden
|
|
432
444
|
*/
|
|
433
|
-
onMaximize() {
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
this.
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
}
|
|
445
|
-
});
|
|
445
|
+
async onMaximize() {
|
|
446
|
+
const args = new SignatureOpenEvent();
|
|
447
|
+
this.open.next(args);
|
|
448
|
+
if (!args.isDefaultPrevented()) {
|
|
449
|
+
this.popupValue = await this.instance.exportImage({
|
|
450
|
+
width: this.popupWidth * this.exportScale,
|
|
451
|
+
height: this.popupHeight * this.exportScale
|
|
452
|
+
});
|
|
453
|
+
this.isOpen = true;
|
|
454
|
+
this.cd.detectChanges();
|
|
455
|
+
}
|
|
446
456
|
}
|
|
447
457
|
/**
|
|
448
458
|
* @hidden
|
|
@@ -573,8 +583,8 @@ export class SignatureComponent {
|
|
|
573
583
|
return this.localization.get(key);
|
|
574
584
|
}
|
|
575
585
|
}
|
|
576
|
-
SignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
577
|
-
SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
586
|
+
SignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
587
|
+
SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SignatureComponent, selector: "kendo-signature", inputs: { readonly: "readonly", disabled: "disabled", width: "width", height: "height", value: "value", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", color: "color", backgroundColor: "backgroundColor", strokeWidth: "strokeWidth", smooth: "smooth", maximizable: "maximizable", maximized: "maximized", popupScale: "popupScale", exportScale: "exportScale", parentLocalization: "parentLocalization", hideLine: "hideLine" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", minimize: "minimize" }, host: { properties: { "class.k-signature": "this.staticHostClasses", "class.k-input": "this.staticHostClasses", "attr.dir": "this.direction", "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabled", "style.width.px": "this.width", "style.height.px": "this.height" } }, providers: [
|
|
578
588
|
LocalizationService,
|
|
579
589
|
{ provide: L10N_PREFIX, useValue: 'kendo.signature' },
|
|
580
590
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) }
|
|
@@ -597,6 +607,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
597
607
|
kendoButton
|
|
598
608
|
class="k-signature-action k-signature-maximize"
|
|
599
609
|
icon="hyperlink-open"
|
|
610
|
+
[svgIcon]="svgIcon('hyperlinkOpenIcon')"
|
|
600
611
|
fillMode="flat"
|
|
601
612
|
[size]="size"
|
|
602
613
|
(click)="onMaximize()"
|
|
@@ -608,6 +619,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
608
619
|
kendoButton
|
|
609
620
|
class="k-signature-action k-signature-minimize k-rotate-180"
|
|
610
621
|
icon="hyperlink-open"
|
|
622
|
+
[svgIcon]="svgIcon('hyperlinkOpenIcon')"
|
|
611
623
|
fillMode="flat"
|
|
612
624
|
[size]="size"
|
|
613
625
|
(click)="onMinimize()"
|
|
@@ -632,6 +644,7 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
632
644
|
kendoButton
|
|
633
645
|
class="k-signature-action k-signature-clear"
|
|
634
646
|
icon="close"
|
|
647
|
+
[svgIcon]="svgIcon('xIcon')"
|
|
635
648
|
fillMode="flat"
|
|
636
649
|
[size]="size"
|
|
637
650
|
[attr.aria-label]="clearTitle"
|
|
@@ -667,8 +680,8 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
667
680
|
[parentLocalization]="localization">
|
|
668
681
|
</kendo-signature>
|
|
669
682
|
</kendo-dialog>
|
|
670
|
-
`, isInline: true, components: [{ type: i2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SignatureComponent, selector: "kendo-signature", inputs: ["readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }], directives: [{ type:
|
|
671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
683
|
+
`, isInline: true, components: [{ type: i2.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: i3.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: SignatureComponent, selector: "kendo-signature", inputs: ["readonly", "disabled", "width", "height", "value", "tabindex", "size", "rounded", "fillMode", "color", "backgroundColor", "strokeWidth", "smooth", "maximizable", "maximized", "popupScale", "exportScale", "parentLocalization", "hideLine"], outputs: ["valueChange", "open", "close", "focus", "blur", "minimize"], exportAs: ["kendoSignature"] }], directives: [{ type: i4.LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
672
685
|
type: Component,
|
|
673
686
|
args: [{
|
|
674
687
|
exportAs: 'kendoSignature',
|
|
@@ -698,6 +711,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
698
711
|
kendoButton
|
|
699
712
|
class="k-signature-action k-signature-maximize"
|
|
700
713
|
icon="hyperlink-open"
|
|
714
|
+
[svgIcon]="svgIcon('hyperlinkOpenIcon')"
|
|
701
715
|
fillMode="flat"
|
|
702
716
|
[size]="size"
|
|
703
717
|
(click)="onMaximize()"
|
|
@@ -709,6 +723,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
709
723
|
kendoButton
|
|
710
724
|
class="k-signature-action k-signature-minimize k-rotate-180"
|
|
711
725
|
icon="hyperlink-open"
|
|
726
|
+
[svgIcon]="svgIcon('hyperlinkOpenIcon')"
|
|
712
727
|
fillMode="flat"
|
|
713
728
|
[size]="size"
|
|
714
729
|
(click)="onMinimize()"
|
|
@@ -733,6 +748,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
733
748
|
kendoButton
|
|
734
749
|
class="k-signature-action k-signature-clear"
|
|
735
750
|
icon="close"
|
|
751
|
+
[svgIcon]="svgIcon('xIcon')"
|
|
736
752
|
fillMode="flat"
|
|
737
753
|
[size]="size"
|
|
738
754
|
[attr.aria-label]="clearTitle"
|