@progress/kendo-angular-inputs 10.1.2 → 11.0.0-develop.79
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/NOTICE.txt +3 -3
- package/README.md +19 -19
- 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 +1 -1
- package/colorpicker/color-input.component.d.ts +1 -1
- package/colorpicker/color-palette.component.d.ts +1 -1
- package/colorpicker/colorpicker.component.d.ts +1 -1
- package/colorpicker/constants.d.ts +2 -2
- package/colorpicker/contrast-validation.component.d.ts +1 -1
- package/colorpicker/contrast.component.d.ts +1 -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 +1 -1
- 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 +2 -2
- 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} +25 -37
- package/{esm2015/colorpicker/color-input.component.js → esm2020/colorpicker/color-input.component.mjs} +9 -8
- 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} +10 -9
- package/{esm2015/colorpicker/constants.js → esm2020/colorpicker/constants.mjs} +1 -1
- package/{esm2015/colorpicker/contrast-validation.component.js → esm2020/colorpicker/contrast-validation.component.mjs} +6 -5
- package/{esm2015/colorpicker/contrast.component.js → esm2020/colorpicker/contrast.component.mjs} +6 -5
- 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} +6 -5
- 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} +6 -6
- 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} +11 -10
- package/{esm2015/numerictextbox/utils.js → esm2020/numerictextbox/utils.mjs} +3 -2
- package/{esm2015/numerictextbox.module.js → esm2020/numerictextbox.module.mjs} +6 -6
- 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} +44 -45
- package/{esm2015/signature.module.js → esm2020/signature.module.mjs} +6 -6
- 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} +5 -5
- package/{esm2015/slider.module.js → esm2020/slider.module.mjs} +6 -6
- 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} +6 -6
- package/{esm2015/textbox/textbox.directive.js → esm2020/textbox/textbox.directive.mjs} +5 -5
- package/{esm2015/textbox.module.js → esm2020/textbox.module.mjs} +6 -6
- 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 +14687 -0
- package/{fesm2015/kendo-angular-inputs.js → fesm2020/progress-kendo-angular-inputs.mjs} +799 -817
- 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 +2 -2
- package/numerictextbox/utils.d.ts +1 -1
- package/numerictextbox.module.d.ts +2 -2
- package/package-metadata.d.ts +1 -1
- package/package.json +33 -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 +1 -5
- 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 +1 -1
- package/signature.module.d.ts +2 -2
- 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 +1 -1
- package/slider.module.d.ts +2 -2
- 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 +1 -1
- package/textbox/textbox.directive.d.ts +1 -1
- package/textbox.module.d.ts +2 -2
- 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 © 2022 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';
|
|
@@ -19,11 +19,10 @@ import * as i1$2 from '@progress/kendo-angular-intl';
|
|
|
19
19
|
import * as i1$3 from '@progress/kendo-angular-popup';
|
|
20
20
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
21
21
|
import { parseColor as parseColor$1, Color, namedColors } from '@progress/kendo-drawing';
|
|
22
|
-
import * as
|
|
22
|
+
import * as i2 from '@progress/kendo-angular-buttons';
|
|
23
23
|
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
24
|
-
import * as
|
|
24
|
+
import * as i3$1 from '@progress/kendo-angular-dialog';
|
|
25
25
|
import { DialogsModule } from '@progress/kendo-angular-dialog';
|
|
26
|
-
import { __awaiter } from 'tslib';
|
|
27
26
|
import { SignaturePad } from '@progress/kendo-inputs-common';
|
|
28
27
|
|
|
29
28
|
/**
|
|
@@ -507,6 +506,7 @@ const hasClass = (element, className) => Boolean(toClassList(element.className).
|
|
|
507
506
|
*/
|
|
508
507
|
function invokeElementMethod(element, name, ...args) {
|
|
509
508
|
if (element && element.nativeElement) {
|
|
509
|
+
// eslint-disable-next-line prefer-spread
|
|
510
510
|
return element.nativeElement[name].apply(element.nativeElement, args);
|
|
511
511
|
}
|
|
512
512
|
}
|
|
@@ -535,9 +535,9 @@ const packageMetadata = {
|
|
|
535
535
|
name: '@progress/kendo-angular-inputs',
|
|
536
536
|
productName: 'Kendo UI for Angular',
|
|
537
537
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
538
|
-
publishDate:
|
|
538
|
+
publishDate: 1672320806,
|
|
539
539
|
version: '',
|
|
540
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
540
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
541
541
|
};
|
|
542
542
|
|
|
543
543
|
/**
|
|
@@ -569,9 +569,9 @@ class LabelTemplateDirective {
|
|
|
569
569
|
this.templateRef = templateRef;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
LabelTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
573
|
-
LabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
572
|
+
LabelTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LabelTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
573
|
+
LabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LabelTemplateDirective, selector: "[kendoSliderLabelTemplate]", ngImport: i0 });
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LabelTemplateDirective, decorators: [{
|
|
575
575
|
type: Directive,
|
|
576
576
|
args: [{
|
|
577
577
|
selector: '[kendoSliderLabelTemplate]'
|
|
@@ -748,9 +748,9 @@ class SliderBase {
|
|
|
748
748
|
});
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
|
-
SliderBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
752
|
-
SliderBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
751
|
+
SliderBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderBase, deps: [{ token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
752
|
+
SliderBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SliderBase, selector: "kendo-slider-base", inputs: { title: "title", tickPlacement: "tickPlacement", vertical: "vertical", min: "min", max: "max", smallStep: "smallStep", largeStep: "largeStep", fixedTickWidth: "fixedTickWidth", disabled: "disabled", readonly: "readonly", tabindex: "tabindex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "attr.dir": "this.direction", "class.k-slider-horizontal": "this.horizontalClass", "class.k-slider-vertical": "this.verticalClass", "class.k-slider": "this.sliderClass", "class.k-disabled": "this.disabledClass" } }, queries: [{ propertyName: "labelTemplate", first: true, predicate: LabelTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrap"], descendants: true, static: true }, { propertyName: "track", first: true, predicate: ["track"], descendants: true, static: true }, { propertyName: "sliderSelection", first: true, predicate: ["sliderSelection"], descendants: true, static: true }, { propertyName: "ticksContainer", first: true, predicate: ["ticks"], descendants: true, read: ElementRef }, { propertyName: "ticks", first: true, predicate: ["ticks"], descendants: true }], ngImport: i0, template: ``, isInline: true });
|
|
753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderBase, decorators: [{
|
|
754
754
|
type: Component,
|
|
755
755
|
args: [{
|
|
756
756
|
selector: 'kendo-slider-base',
|
|
@@ -852,7 +852,7 @@ class SliderTicksComponent {
|
|
|
852
852
|
min: this.min,
|
|
853
853
|
smallStep: this.step
|
|
854
854
|
};
|
|
855
|
-
|
|
855
|
+
const result = [];
|
|
856
856
|
for (let i = 0; i < count; i++) {
|
|
857
857
|
result.push(new SliderTick(calculateValueFromTick(i, tickValueProps)));
|
|
858
858
|
if (largeStep && i % largeStep === 0) {
|
|
@@ -873,8 +873,8 @@ class SliderTicksComponent {
|
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
|
-
SliderTicksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
877
|
-
SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
876
|
+
SliderTicksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderTicksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
877
|
+
SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: { tickTitle: "tickTitle", vertical: "vertical", step: "step", largeStep: "largeStep", min: "min", max: "max", labelTemplate: "labelTemplate" }, host: { properties: { "class": "this.wrapperClasses" } }, viewQueries: [{ propertyName: "tickElements", predicate: ["tickElement"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
878
878
|
<li #tickElement *ngFor="let tick of ticks;"
|
|
879
879
|
[ngClass]="tick.classes"
|
|
880
880
|
title="{{ tickTitle(tick.value) }}"
|
|
@@ -893,7 +893,7 @@ SliderTicksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
893
893
|
{{ tickTitle(value) }}
|
|
894
894
|
</ng-template>
|
|
895
895
|
`, isInline: true, directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderTicksComponent, decorators: [{
|
|
897
897
|
type: Component,
|
|
898
898
|
args: [{
|
|
899
899
|
selector: '[kendoSliderTicks]',
|
|
@@ -944,9 +944,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
944
944
|
*/
|
|
945
945
|
class SliderMessages extends ComponentMessages {
|
|
946
946
|
}
|
|
947
|
-
SliderMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
948
|
-
SliderMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
947
|
+
SliderMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
948
|
+
SliderMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SliderMessages, selector: "kendo-slider-messages-base", inputs: { decrement: "decrement", increment: "increment", dragHandle: "dragHandle" }, usesInheritance: true, ngImport: i0 });
|
|
949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderMessages, decorators: [{
|
|
950
950
|
type: Directive,
|
|
951
951
|
args: [{
|
|
952
952
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -969,14 +969,14 @@ class LocalizedSliderMessagesDirective extends SliderMessages {
|
|
|
969
969
|
this.service = service;
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
|
-
LocalizedSliderMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
973
|
-
LocalizedSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
972
|
+
LocalizedSliderMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSliderMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
973
|
+
LocalizedSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]", providers: [
|
|
974
974
|
{
|
|
975
975
|
provide: SliderMessages,
|
|
976
976
|
useExisting: forwardRef(() => LocalizedSliderMessagesDirective)
|
|
977
977
|
}
|
|
978
978
|
], usesInheritance: true, ngImport: i0 });
|
|
979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSliderMessagesDirective, decorators: [{
|
|
980
980
|
type: Directive,
|
|
981
981
|
args: [{
|
|
982
982
|
providers: [
|
|
@@ -1356,8 +1356,8 @@ class SliderComponent extends SliderBase {
|
|
|
1356
1356
|
});
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
|
-
SliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1360
|
-
SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1359
|
+
SliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1360
|
+
SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SliderComponent, selector: "kendo-slider", inputs: { focusableId: "focusableId", dragHandleTitle: "dragHandleTitle", incrementTitle: "incrementTitle", animate: "animate", decrementTitle: "decrementTitle", showButtons: "showButtons", value: "value", tabIndex: "tabIndex" }, providers: [
|
|
1361
1361
|
LocalizationService,
|
|
1362
1362
|
{ provide: L10N_PREFIX, useValue: 'kendo.slider' },
|
|
1363
1363
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SliderComponent) },
|
|
@@ -1440,7 +1440,7 @@ SliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
1440
1440
|
<kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>
|
|
1441
1441
|
</div>
|
|
1442
1442
|
`, isInline: true, components: [{ type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
1443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderComponent, decorators: [{
|
|
1444
1444
|
type: Component,
|
|
1445
1445
|
args: [{
|
|
1446
1446
|
exportAs: 'kendoSlider',
|
|
@@ -1608,9 +1608,9 @@ class RangeSliderModel extends SliderModelBase {
|
|
|
1608
1608
|
*/
|
|
1609
1609
|
class RangeSliderMessages extends ComponentMessages {
|
|
1610
1610
|
}
|
|
1611
|
-
RangeSliderMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1612
|
-
RangeSliderMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1611
|
+
RangeSliderMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1612
|
+
RangeSliderMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: RangeSliderMessages, selector: "kendo-rangeslider-messages-base", inputs: { dragHandleStart: "dragHandleStart", dragHandleEnd: "dragHandleEnd" }, usesInheritance: true, ngImport: i0 });
|
|
1613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderMessages, decorators: [{
|
|
1614
1614
|
type: Directive,
|
|
1615
1615
|
args: [{
|
|
1616
1616
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1631,14 +1631,14 @@ class LocalizedRangeSliderMessagesDirective extends RangeSliderMessages {
|
|
|
1631
1631
|
this.service = service;
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
|
-
LocalizedRangeSliderMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1635
|
-
LocalizedRangeSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1634
|
+
LocalizedRangeSliderMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedRangeSliderMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1635
|
+
LocalizedRangeSliderMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedRangeSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]", providers: [
|
|
1636
1636
|
{
|
|
1637
1637
|
provide: RangeSliderMessages,
|
|
1638
1638
|
useExisting: forwardRef(() => LocalizedRangeSliderMessagesDirective)
|
|
1639
1639
|
}
|
|
1640
1640
|
], usesInheritance: true, ngImport: i0 });
|
|
1641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedRangeSliderMessagesDirective, decorators: [{
|
|
1642
1642
|
type: Directive,
|
|
1643
1643
|
args: [{
|
|
1644
1644
|
providers: [
|
|
@@ -1725,7 +1725,7 @@ class RangeSliderComponent extends SliderBase {
|
|
|
1725
1725
|
const nonDraggedHandle = startHandleIsActive ? this.draghandleEnd.nativeElement : this.draghandleStart.nativeElement;
|
|
1726
1726
|
this.renderer.removeStyle(nonDraggedHandle, 'zIndex');
|
|
1727
1727
|
this.renderer.setStyle(e.target, 'zIndex', 1);
|
|
1728
|
-
const value = handler(
|
|
1728
|
+
const value = handler({ ...options, value: startHandleIsActive ? this.value[0] : this.value[1] });
|
|
1729
1729
|
if (startHandleIsActive) {
|
|
1730
1730
|
if (value > this.value[1]) {
|
|
1731
1731
|
this.value[1] = value;
|
|
@@ -1797,8 +1797,8 @@ class RangeSliderComponent extends SliderBase {
|
|
|
1797
1797
|
}
|
|
1798
1798
|
ngOnChanges(changes) {
|
|
1799
1799
|
if (anyChanged(['value', 'fixedTickWidth', 'tickPlacement'], changes, true)) {
|
|
1800
|
-
if (changes
|
|
1801
|
-
validateValue(changes
|
|
1800
|
+
if (changes['value'] && changes['value'].currentValue) {
|
|
1801
|
+
validateValue(changes['value'].currentValue);
|
|
1802
1802
|
}
|
|
1803
1803
|
this.ngZone.onStable.asObservable().pipe(take(1)).subscribe(() => {
|
|
1804
1804
|
this.sizeComponent();
|
|
@@ -2062,8 +2062,8 @@ class RangeSliderComponent extends SliderBase {
|
|
|
2062
2062
|
});
|
|
2063
2063
|
}
|
|
2064
2064
|
}
|
|
2065
|
-
RangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2066
|
-
RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2065
|
+
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 });
|
|
2066
|
+
RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RangeSliderComponent, selector: "kendo-rangeslider", inputs: { value: "value" }, providers: [
|
|
2067
2067
|
LocalizationService,
|
|
2068
2068
|
{ provide: L10N_PREFIX, useValue: 'kendo.rangeslider' },
|
|
2069
2069
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RangeSliderComponent) },
|
|
@@ -2141,7 +2141,7 @@ RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2141
2141
|
<kendo-resize-sensor (resize)="sizeComponent()"></kendo-resize-sensor>
|
|
2142
2142
|
</div>
|
|
2143
2143
|
`, isInline: true, components: [{ type: SliderTicksComponent, selector: "[kendoSliderTicks]", inputs: ["tickTitle", "vertical", "step", "largeStep", "min", "max", "labelTemplate"] }, { type: i3.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedRangeSliderMessagesDirective, selector: "[kendoSliderLocalizedMessages]" }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
2144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderComponent, decorators: [{
|
|
2145
2145
|
type: Component,
|
|
2146
2146
|
args: [{
|
|
2147
2147
|
exportAs: 'kendoRangeSlider',
|
|
@@ -2241,9 +2241,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2241
2241
|
*/
|
|
2242
2242
|
class Messages extends ComponentMessages {
|
|
2243
2243
|
}
|
|
2244
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2245
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2244
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2245
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, selector: "kendo-switch-messages-base", inputs: { on: "on", off: "off" }, usesInheritance: true, ngImport: i0 });
|
|
2246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
2247
2247
|
type: Directive,
|
|
2248
2248
|
args: [{
|
|
2249
2249
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2264,14 +2264,14 @@ class LocalizedSwitchMessagesDirective extends Messages {
|
|
|
2264
2264
|
this.service = service;
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
|
-
LocalizedSwitchMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2268
|
-
LocalizedSwitchMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2267
|
+
LocalizedSwitchMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSwitchMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2268
|
+
LocalizedSwitchMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedSwitchMessagesDirective, selector: "[kendoSwitchLocalizedMessages]", providers: [
|
|
2269
2269
|
{
|
|
2270
2270
|
provide: Messages,
|
|
2271
2271
|
useExisting: forwardRef(() => LocalizedSwitchMessagesDirective)
|
|
2272
2272
|
}
|
|
2273
2273
|
], usesInheritance: true, ngImport: i0 });
|
|
2274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSwitchMessagesDirective, decorators: [{
|
|
2275
2275
|
type: Directive,
|
|
2276
2276
|
args: [{
|
|
2277
2277
|
providers: [
|
|
@@ -2644,9 +2644,8 @@ class SwitchComponent {
|
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
2646
|
handleTrackClasses(value) {
|
|
2647
|
-
|
|
2648
|
-
const
|
|
2649
|
-
const track = (_b = this.track) === null || _b === void 0 ? void 0 : _b.nativeElement;
|
|
2647
|
+
const elem = this.hostElement?.nativeElement;
|
|
2648
|
+
const track = this.track?.nativeElement;
|
|
2650
2649
|
if (!elem || !track) {
|
|
2651
2650
|
return;
|
|
2652
2651
|
}
|
|
@@ -2661,8 +2660,7 @@ class SwitchComponent {
|
|
|
2661
2660
|
}
|
|
2662
2661
|
}
|
|
2663
2662
|
handleThumbClasses(value) {
|
|
2664
|
-
|
|
2665
|
-
const thumb = (_a = this.thumb) === null || _a === void 0 ? void 0 : _a.nativeElement;
|
|
2663
|
+
const thumb = this.thumb?.nativeElement;
|
|
2666
2664
|
if (!thumb) {
|
|
2667
2665
|
return;
|
|
2668
2666
|
}
|
|
@@ -2675,8 +2673,8 @@ class SwitchComponent {
|
|
|
2675
2673
|
}
|
|
2676
2674
|
}
|
|
2677
2675
|
}
|
|
2678
|
-
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2679
|
-
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2676
|
+
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2677
|
+
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SwitchComponent, selector: "kendo-switch", inputs: { focusableId: "focusableId", onLabel: "onLabel", offLabel: "offLabel", checked: "checked", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", size: "size", thumbRounded: "thumbRounded", trackRounded: "trackRounded", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "attr.dir": "this.direction", "class.k-ie": "this.ieClass", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-readonly": "this.ariaReadonly", "class.k-switch": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
2680
2678
|
LocalizationService,
|
|
2681
2679
|
{ provide: L10N_PREFIX, useValue: 'kendo.switch' },
|
|
2682
2680
|
{
|
|
@@ -2722,7 +2720,7 @@ SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2722
2720
|
<span #thumb class="k-switch-thumb"></span>
|
|
2723
2721
|
</span>
|
|
2724
2722
|
`, isInline: true, directives: [{ type: LocalizedSwitchMessagesDirective, selector: "[kendoSwitchLocalizedMessages]" }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
2725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
2726
2724
|
type: Component,
|
|
2727
2725
|
args: [{
|
|
2728
2726
|
exportAs: 'kendoSwitch',
|
|
@@ -2913,12 +2911,12 @@ class TextBoxDirective {
|
|
|
2913
2911
|
this.listeners.forEach(listener => listener());
|
|
2914
2912
|
}
|
|
2915
2913
|
}
|
|
2916
|
-
TextBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2917
|
-
TextBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2914
|
+
TextBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2915
|
+
TextBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: { value: "value" }, host: { properties: { "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-input-md": "this.hostClasses", "class.k-rounded-md": "this.hostClasses", "class.k-input-solid": "this.hostClasses" } }, providers: [{
|
|
2918
2916
|
provide: KendoInput,
|
|
2919
2917
|
useExisting: forwardRef(() => TextBoxDirective)
|
|
2920
2918
|
}], ngImport: i0 });
|
|
2921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxDirective, decorators: [{
|
|
2922
2920
|
type: Directive,
|
|
2923
2921
|
args: [{
|
|
2924
2922
|
selector: 'input[kendoTextBox]',
|
|
@@ -3139,8 +3137,8 @@ class TextAreaDirective {
|
|
|
3139
3137
|
}
|
|
3140
3138
|
}
|
|
3141
3139
|
}
|
|
3142
|
-
TextAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3143
|
-
TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3140
|
+
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 });
|
|
3141
|
+
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: [{
|
|
3144
3142
|
provide: NG_VALUE_ACCESSOR,
|
|
3145
3143
|
useExisting: forwardRef(() => TextAreaDirective),
|
|
3146
3144
|
multi: true
|
|
@@ -3148,7 +3146,7 @@ TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", vers
|
|
|
3148
3146
|
provide: KendoInput,
|
|
3149
3147
|
useExisting: forwardRef(() => TextAreaDirective)
|
|
3150
3148
|
}], usesOnChanges: true, ngImport: i0 });
|
|
3151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaDirective, decorators: [{
|
|
3152
3150
|
type: Directive,
|
|
3153
3151
|
args: [{
|
|
3154
3152
|
providers: [{
|
|
@@ -3282,7 +3280,8 @@ const decimalPart = (value) => {
|
|
|
3282
3280
|
/**
|
|
3283
3281
|
* @hidden
|
|
3284
3282
|
*/
|
|
3285
|
-
|
|
3283
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
3284
|
+
const noop$1 = (_) => { };
|
|
3286
3285
|
/**
|
|
3287
3286
|
* @hidden
|
|
3288
3287
|
*/
|
|
@@ -3356,9 +3355,9 @@ var ArrowDirection;
|
|
|
3356
3355
|
*/
|
|
3357
3356
|
class NumericTextBoxMessages extends ComponentMessages {
|
|
3358
3357
|
}
|
|
3359
|
-
NumericTextBoxMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3360
|
-
NumericTextBoxMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3358
|
+
NumericTextBoxMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3359
|
+
NumericTextBoxMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NumericTextBoxMessages, selector: "kendo-numerictextbox-messages-base", inputs: { decrement: "decrement", increment: "increment" }, usesInheritance: true, ngImport: i0 });
|
|
3360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxMessages, decorators: [{
|
|
3362
3361
|
type: Directive,
|
|
3363
3362
|
args: [{
|
|
3364
3363
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -3379,14 +3378,14 @@ class LocalizedNumericTextBoxMessagesDirective extends NumericTextBoxMessages {
|
|
|
3379
3378
|
this.service = service;
|
|
3380
3379
|
}
|
|
3381
3380
|
}
|
|
3382
|
-
LocalizedNumericTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3383
|
-
LocalizedNumericTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3381
|
+
LocalizedNumericTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedNumericTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3382
|
+
LocalizedNumericTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]", providers: [
|
|
3384
3383
|
{
|
|
3385
3384
|
provide: NumericTextBoxMessages,
|
|
3386
3385
|
useExisting: forwardRef(() => LocalizedNumericTextBoxMessagesDirective)
|
|
3387
3386
|
}
|
|
3388
3387
|
], usesInheritance: true, ngImport: i0 });
|
|
3389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedNumericTextBoxMessagesDirective, decorators: [{
|
|
3390
3389
|
type: Directive,
|
|
3391
3390
|
args: [{
|
|
3392
3391
|
providers: [
|
|
@@ -3830,7 +3829,7 @@ class NumericTextBoxComponent {
|
|
|
3830
3829
|
*/
|
|
3831
3830
|
writeValue(value) {
|
|
3832
3831
|
this.verifyValue(value);
|
|
3833
|
-
|
|
3832
|
+
const restrictedValue = this.restrictModelValue(value);
|
|
3834
3833
|
this.value = restrictedValue;
|
|
3835
3834
|
this.setInputValue();
|
|
3836
3835
|
}
|
|
@@ -3919,9 +3918,6 @@ class NumericTextBoxComponent {
|
|
|
3919
3918
|
get focused() {
|
|
3920
3919
|
return this.isFocused;
|
|
3921
3920
|
}
|
|
3922
|
-
get hasDecimals() {
|
|
3923
|
-
return this.decimals !== null && this.decimals >= 0;
|
|
3924
|
-
}
|
|
3925
3921
|
set focused(value) {
|
|
3926
3922
|
if (this.isFocused !== value && this.hostElement) {
|
|
3927
3923
|
const wrap = this.hostElement.nativeElement;
|
|
@@ -3934,6 +3930,9 @@ class NumericTextBoxComponent {
|
|
|
3934
3930
|
this.isFocused = value;
|
|
3935
3931
|
}
|
|
3936
3932
|
}
|
|
3933
|
+
get hasDecimals() {
|
|
3934
|
+
return this.decimals !== null && this.decimals >= 0;
|
|
3935
|
+
}
|
|
3937
3936
|
get isDisabled() {
|
|
3938
3937
|
return this.disabled || this.readonly;
|
|
3939
3938
|
}
|
|
@@ -4021,7 +4020,7 @@ class NumericTextBoxComponent {
|
|
|
4021
4020
|
return result;
|
|
4022
4021
|
}
|
|
4023
4022
|
limitInputValue(value) {
|
|
4024
|
-
|
|
4023
|
+
const { selectionStart, selectionEnd, value: enteredValue } = this.numericInput.nativeElement;
|
|
4025
4024
|
let limitedValue = value;
|
|
4026
4025
|
let selectToEnd = false;
|
|
4027
4026
|
if (!this.isInRange(value)) {
|
|
@@ -4231,8 +4230,8 @@ class NumericTextBoxComponent {
|
|
|
4231
4230
|
}
|
|
4232
4231
|
}
|
|
4233
4232
|
}
|
|
4234
|
-
NumericTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4235
|
-
NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4233
|
+
NumericTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxComponent, deps: [{ token: i1$2.IntlService }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4234
|
+
NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", autoCorrect: "autoCorrect", format: "format", max: "max", min: "min", decimals: "decimals", placeholder: "placeholder", step: "step", spinners: "spinners", rangeValidation: "rangeValidation", tabindex: "tabindex", tabIndex: "tabIndex", changeValueOnScroll: "changeValueOnScroll", selectOnFocus: "selectOnFocus", value: "value", maxlength: "maxlength", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur" }, host: { properties: { "attr.dir": "this.direction", "class.k-disabled": "this.disableClass", "class.k-input": "this.hostClasses", "class.k-numerictextbox": "this.hostClasses" } }, providers: [
|
|
4236
4235
|
LocalizationService,
|
|
4237
4236
|
{ provide: L10N_PREFIX, useValue: 'kendo.numerictextbox' },
|
|
4238
4237
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => NumericTextBoxComponent), multi: true },
|
|
@@ -4302,7 +4301,7 @@ NumericTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
4302
4301
|
</button>
|
|
4303
4302
|
</span>
|
|
4304
4303
|
`, isInline: true, directives: [{ type: LocalizedNumericTextBoxMessagesDirective, selector: "[kendoNumericTextBoxLocalizedMessages]" }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxComponent, decorators: [{
|
|
4306
4305
|
type: Component,
|
|
4307
4306
|
args: [{
|
|
4308
4307
|
exportAs: 'kendoNumericTextBox',
|
|
@@ -4460,14 +4459,14 @@ class NumericTextBoxCustomMessagesComponent extends NumericTextBoxMessages {
|
|
|
4460
4459
|
return true;
|
|
4461
4460
|
}
|
|
4462
4461
|
}
|
|
4463
|
-
NumericTextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4464
|
-
NumericTextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4462
|
+
NumericTextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4463
|
+
NumericTextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages", providers: [
|
|
4465
4464
|
{
|
|
4466
4465
|
provide: NumericTextBoxMessages,
|
|
4467
4466
|
useExisting: forwardRef(() => NumericTextBoxCustomMessagesComponent)
|
|
4468
4467
|
}
|
|
4469
4468
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
4470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxCustomMessagesComponent, decorators: [{
|
|
4471
4470
|
type: Component,
|
|
4472
4471
|
args: [{
|
|
4473
4472
|
providers: [
|
|
@@ -4614,7 +4613,7 @@ const mask = ({ prompt, promptPlaceholder }) => rule => new Parser(stream => {
|
|
|
4614
4613
|
*/
|
|
4615
4614
|
const literal = _token => new Parser(stream => {
|
|
4616
4615
|
// let {char, control} = stream.peek();
|
|
4617
|
-
|
|
4616
|
+
const char = stream.peek().char;
|
|
4618
4617
|
if (char === _token) {
|
|
4619
4618
|
stream.eat();
|
|
4620
4619
|
return new Result(_token, stream, ResultType.Literal);
|
|
@@ -4682,7 +4681,7 @@ const token = (rules, creator) => new Parser(stream => {
|
|
|
4682
4681
|
* @hidden
|
|
4683
4682
|
*/
|
|
4684
4683
|
const rawMask = ({ prompt, promptPlaceholder }) => new Parser(stream => {
|
|
4685
|
-
|
|
4684
|
+
const { char } = stream.next();
|
|
4686
4685
|
if (char === prompt) {
|
|
4687
4686
|
return new Result(promptPlaceholder, stream);
|
|
4688
4687
|
}
|
|
@@ -4692,7 +4691,7 @@ const rawMask = ({ prompt, promptPlaceholder }) => new Parser(stream => {
|
|
|
4692
4691
|
* @hidden
|
|
4693
4692
|
*/
|
|
4694
4693
|
const rawLiteral = includeLiterals => new Parser(stream => {
|
|
4695
|
-
|
|
4694
|
+
const { char } = stream.next();
|
|
4696
4695
|
if (includeLiterals) {
|
|
4697
4696
|
return new Result(char, stream);
|
|
4698
4697
|
}
|
|
@@ -4789,7 +4788,7 @@ class MaskingService {
|
|
|
4789
4788
|
}
|
|
4790
4789
|
maskInRange(pasted, oldValue, start, end) {
|
|
4791
4790
|
let value = '';
|
|
4792
|
-
|
|
4791
|
+
const selection = end;
|
|
4793
4792
|
const beforeChange = oldValue.split('').slice(0, start);
|
|
4794
4793
|
const afterChange = oldValue.split('').slice(end);
|
|
4795
4794
|
sequence(this.maskTokens.slice(start, end))
|
|
@@ -4900,9 +4899,9 @@ class MaskingService {
|
|
|
4900
4899
|
});
|
|
4901
4900
|
}
|
|
4902
4901
|
}
|
|
4903
|
-
MaskingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4904
|
-
MaskingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4902
|
+
MaskingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4903
|
+
MaskingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskingService });
|
|
4904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskingService, decorators: [{
|
|
4906
4905
|
type: Injectable
|
|
4907
4906
|
}] });
|
|
4908
4907
|
|
|
@@ -5188,7 +5187,7 @@ class MaskedTextBoxComponent {
|
|
|
5188
5187
|
*/
|
|
5189
5188
|
isEmpty() {
|
|
5190
5189
|
if (this.input) {
|
|
5191
|
-
return !
|
|
5190
|
+
return !this.input.nativeElement.value;
|
|
5192
5191
|
}
|
|
5193
5192
|
}
|
|
5194
5193
|
/**
|
|
@@ -5267,7 +5266,7 @@ class MaskedTextBoxComponent {
|
|
|
5267
5266
|
* @hidden
|
|
5268
5267
|
*/
|
|
5269
5268
|
ngOnChanges(changes) {
|
|
5270
|
-
if (changes
|
|
5269
|
+
if (changes['value']) {
|
|
5271
5270
|
this.value = this.normalizeValue();
|
|
5272
5271
|
}
|
|
5273
5272
|
if (!this.mask) {
|
|
@@ -5278,7 +5277,7 @@ class MaskedTextBoxComponent {
|
|
|
5278
5277
|
this.updateService(next);
|
|
5279
5278
|
const maskedValue = this.service.maskRaw(this.value);
|
|
5280
5279
|
this.updateInput(maskedValue, null, true);
|
|
5281
|
-
if (changes
|
|
5280
|
+
if (changes['includeLiterals'] || isChanged('promptPlaceholder', changes)) {
|
|
5282
5281
|
resolvedPromise.then(() => {
|
|
5283
5282
|
this.updateValueWithEvents(this.maskedValue);
|
|
5284
5283
|
});
|
|
@@ -5444,8 +5443,8 @@ class MaskedTextBoxComponent {
|
|
|
5444
5443
|
}
|
|
5445
5444
|
}
|
|
5446
5445
|
}
|
|
5447
|
-
MaskedTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5448
|
-
MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5446
|
+
MaskedTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskedTextBoxComponent, deps: [{ token: MaskingService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5447
|
+
MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MaskedTextBoxComponent, selector: "kendo-maskedtextbox", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", title: "title", size: "size", rounded: "rounded", fillMode: "fillMode", mask: "mask", value: "value", rules: "rules", prompt: "prompt", promptPlaceholder: "promptPlaceholder", includeLiterals: "includeLiterals", maskOnFocus: "maskOnFocus", maskValidation: "maskValidation", tabindex: "tabindex", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { listeners: { "paste": "pasteHandler($event)", "input": "inputHandler($event)" }, properties: { "attr.dir": "this.direction", "class.k-input": "this.hostClasses", "class.k-maskedtextbox": "this.hostClasses", "class.k-disabled": "this.hostDisabledClass" } }, providers: [
|
|
5449
5448
|
MaskingService,
|
|
5450
5449
|
{
|
|
5451
5450
|
multi: true,
|
|
@@ -5485,7 +5484,7 @@ MaskedTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
5485
5484
|
}"
|
|
5486
5485
|
/>
|
|
5487
5486
|
`, isInline: true, directives: [{ type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
5488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskedTextBoxComponent, decorators: [{
|
|
5489
5488
|
type: Component,
|
|
5490
5489
|
args: [{
|
|
5491
5490
|
exportAs: 'kendoMaskedTextBox',
|
|
@@ -5607,17 +5606,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5607
5606
|
*/
|
|
5608
5607
|
class SlidersCommonModule {
|
|
5609
5608
|
}
|
|
5610
|
-
SlidersCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5611
|
-
SlidersCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5609
|
+
SlidersCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlidersCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5610
|
+
SlidersCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlidersCommonModule, declarations: [SliderTicksComponent,
|
|
5612
5611
|
LabelTemplateDirective], imports: [CommonModule, DraggableModule, EventsModule, ResizeSensorModule], exports: [LabelTemplateDirective,
|
|
5613
5612
|
SliderTicksComponent,
|
|
5614
5613
|
DraggableModule,
|
|
5615
5614
|
EventsModule,
|
|
5616
5615
|
ResizeSensorModule] });
|
|
5617
|
-
SlidersCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5616
|
+
SlidersCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlidersCommonModule, imports: [[CommonModule, DraggableModule, EventsModule, ResizeSensorModule], DraggableModule,
|
|
5618
5617
|
EventsModule,
|
|
5619
5618
|
ResizeSensorModule] });
|
|
5620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SlidersCommonModule, decorators: [{
|
|
5621
5620
|
type: NgModule,
|
|
5622
5621
|
args: [{
|
|
5623
5622
|
declarations: [
|
|
@@ -5647,14 +5646,14 @@ class SliderCustomMessagesComponent extends SliderMessages {
|
|
|
5647
5646
|
return true;
|
|
5648
5647
|
}
|
|
5649
5648
|
}
|
|
5650
|
-
SliderCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5651
|
-
SliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5649
|
+
SliderCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5650
|
+
SliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SliderCustomMessagesComponent, selector: "kendo-slider-messages", providers: [
|
|
5652
5651
|
{
|
|
5653
5652
|
provide: SliderMessages,
|
|
5654
5653
|
useExisting: forwardRef(() => SliderCustomMessagesComponent)
|
|
5655
5654
|
}
|
|
5656
5655
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
5657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderCustomMessagesComponent, decorators: [{
|
|
5658
5657
|
type: Component,
|
|
5659
5658
|
args: [{
|
|
5660
5659
|
providers: [
|
|
@@ -5669,7 +5668,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5669
5668
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
5670
5669
|
|
|
5671
5670
|
/**
|
|
5672
|
-
* Represents the [NgModule](
|
|
5671
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
5673
5672
|
* definition for the Slider component.
|
|
5674
5673
|
*
|
|
5675
5674
|
* @example
|
|
@@ -5702,15 +5701,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5702
5701
|
*/
|
|
5703
5702
|
class SliderModule {
|
|
5704
5703
|
}
|
|
5705
|
-
SliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5706
|
-
SliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5704
|
+
SliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5705
|
+
SliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderModule, declarations: [SliderComponent,
|
|
5707
5706
|
SliderCustomMessagesComponent,
|
|
5708
5707
|
LocalizedSliderMessagesDirective], imports: [CommonModule, SlidersCommonModule], exports: [SliderComponent,
|
|
5709
5708
|
SliderCustomMessagesComponent,
|
|
5710
5709
|
LabelTemplateDirective,
|
|
5711
5710
|
LocalizedSliderMessagesDirective] });
|
|
5712
|
-
SliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5711
|
+
SliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderModule, imports: [[CommonModule, SlidersCommonModule]] });
|
|
5712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SliderModule, decorators: [{
|
|
5714
5713
|
type: NgModule,
|
|
5715
5714
|
args: [{
|
|
5716
5715
|
declarations: [
|
|
@@ -5740,14 +5739,14 @@ class RangeSliderCustomMessagesComponent extends RangeSliderMessages {
|
|
|
5740
5739
|
return true;
|
|
5741
5740
|
}
|
|
5742
5741
|
}
|
|
5743
|
-
RangeSliderCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5744
|
-
RangeSliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5742
|
+
RangeSliderCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5743
|
+
RangeSliderCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RangeSliderCustomMessagesComponent, selector: "kendo-rangeslider-messages", providers: [
|
|
5745
5744
|
{
|
|
5746
5745
|
provide: RangeSliderMessages,
|
|
5747
5746
|
useExisting: forwardRef(() => RangeSliderCustomMessagesComponent)
|
|
5748
5747
|
}
|
|
5749
5748
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
5750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderCustomMessagesComponent, decorators: [{
|
|
5751
5750
|
type: Component,
|
|
5752
5751
|
args: [{
|
|
5753
5752
|
providers: [
|
|
@@ -5762,7 +5761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5762
5761
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
5763
5762
|
|
|
5764
5763
|
/**
|
|
5765
|
-
* Represents the [NgModule](
|
|
5764
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
5766
5765
|
* definition for the RangeSlider component.
|
|
5767
5766
|
*
|
|
5768
5767
|
* @example
|
|
@@ -5795,15 +5794,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5795
5794
|
*/
|
|
5796
5795
|
class RangeSliderModule {
|
|
5797
5796
|
}
|
|
5798
|
-
RangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5799
|
-
RangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5797
|
+
RangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5798
|
+
RangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, declarations: [RangeSliderComponent,
|
|
5800
5799
|
RangeSliderCustomMessagesComponent,
|
|
5801
5800
|
LocalizedRangeSliderMessagesDirective], imports: [CommonModule, SlidersCommonModule], exports: [RangeSliderComponent,
|
|
5802
5801
|
RangeSliderCustomMessagesComponent,
|
|
5803
5802
|
LocalizedRangeSliderMessagesDirective,
|
|
5804
5803
|
LabelTemplateDirective] });
|
|
5805
|
-
RangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5804
|
+
RangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, imports: [[CommonModule, SlidersCommonModule]] });
|
|
5805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RangeSliderModule, decorators: [{
|
|
5807
5806
|
type: NgModule,
|
|
5808
5807
|
args: [{
|
|
5809
5808
|
declarations: [
|
|
@@ -5833,14 +5832,14 @@ class SwitchCustomMessagesComponent extends Messages {
|
|
|
5833
5832
|
return true;
|
|
5834
5833
|
}
|
|
5835
5834
|
}
|
|
5836
|
-
SwitchCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5837
|
-
SwitchCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5835
|
+
SwitchCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5836
|
+
SwitchCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SwitchCustomMessagesComponent, selector: "kendo-switch-messages", providers: [
|
|
5838
5837
|
{
|
|
5839
5838
|
provide: Messages,
|
|
5840
5839
|
useExisting: forwardRef(() => SwitchCustomMessagesComponent)
|
|
5841
5840
|
}
|
|
5842
5841
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
5843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchCustomMessagesComponent, decorators: [{
|
|
5844
5843
|
type: Component,
|
|
5845
5844
|
args: [{
|
|
5846
5845
|
providers: [
|
|
@@ -5855,7 +5854,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5855
5854
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
5856
5855
|
|
|
5857
5856
|
/**
|
|
5858
|
-
* Represents the [NgModule](
|
|
5857
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
5859
5858
|
* definition for the Switch component.
|
|
5860
5859
|
*
|
|
5861
5860
|
* @example
|
|
@@ -5887,14 +5886,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5887
5886
|
*/
|
|
5888
5887
|
class SwitchModule {
|
|
5889
5888
|
}
|
|
5890
|
-
SwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5891
|
-
SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5889
|
+
SwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5890
|
+
SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchModule, declarations: [SwitchComponent,
|
|
5892
5891
|
SwitchCustomMessagesComponent,
|
|
5893
5892
|
LocalizedSwitchMessagesDirective], imports: [CommonModule, EventsModule, ResizeSensorModule], exports: [SwitchComponent,
|
|
5894
5893
|
SwitchCustomMessagesComponent,
|
|
5895
5894
|
LocalizedSwitchMessagesDirective] });
|
|
5896
|
-
SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5895
|
+
SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchModule, imports: [[CommonModule, EventsModule, ResizeSensorModule]] });
|
|
5896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SwitchModule, decorators: [{
|
|
5898
5897
|
type: NgModule,
|
|
5899
5898
|
args: [{
|
|
5900
5899
|
declarations: [
|
|
@@ -5912,7 +5911,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5912
5911
|
}] });
|
|
5913
5912
|
|
|
5914
5913
|
/**
|
|
5915
|
-
* Represents the [NgModule](
|
|
5914
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
5916
5915
|
* definition for the NumericTextBox component.
|
|
5917
5916
|
*
|
|
5918
5917
|
* @example
|
|
@@ -5944,13 +5943,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5944
5943
|
*/
|
|
5945
5944
|
class NumericTextBoxModule {
|
|
5946
5945
|
}
|
|
5947
|
-
NumericTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5948
|
-
NumericTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
5946
|
+
NumericTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5947
|
+
NumericTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxModule, declarations: [LocalizedNumericTextBoxMessagesDirective,
|
|
5949
5948
|
NumericTextBoxComponent,
|
|
5950
5949
|
NumericTextBoxCustomMessagesComponent], imports: [CommonModule, EventsModule], exports: [NumericTextBoxComponent,
|
|
5951
5950
|
NumericTextBoxCustomMessagesComponent] });
|
|
5952
|
-
NumericTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5951
|
+
NumericTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxModule, imports: [[CommonModule, EventsModule]] });
|
|
5952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericTextBoxModule, decorators: [{
|
|
5954
5953
|
type: NgModule,
|
|
5955
5954
|
args: [{
|
|
5956
5955
|
declarations: [
|
|
@@ -5967,7 +5966,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5967
5966
|
}] });
|
|
5968
5967
|
|
|
5969
5968
|
/**
|
|
5970
|
-
* Represents the [NgModule](
|
|
5969
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
5971
5970
|
* definition for the MaskedTextBox component.
|
|
5972
5971
|
*
|
|
5973
5972
|
* @example
|
|
@@ -5999,10 +5998,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5999
5998
|
*/
|
|
6000
5999
|
class MaskedTextBoxModule {
|
|
6001
6000
|
}
|
|
6002
|
-
MaskedTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6003
|
-
MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
6004
|
-
MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6001
|
+
MaskedTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskedTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6002
|
+
MaskedTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskedTextBoxModule, declarations: [MaskedTextBoxComponent], imports: [CommonModule, EventsModule], exports: [MaskedTextBoxComponent] });
|
|
6003
|
+
MaskedTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskedTextBoxModule, imports: [[CommonModule, EventsModule]] });
|
|
6004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MaskedTextBoxModule, decorators: [{
|
|
6006
6005
|
type: NgModule,
|
|
6007
6006
|
args: [{
|
|
6008
6007
|
declarations: [MaskedTextBoxComponent],
|
|
@@ -6052,9 +6051,9 @@ class TextBoxSuffixTemplateDirective {
|
|
|
6052
6051
|
this.templateRef = templateRef;
|
|
6053
6052
|
}
|
|
6054
6053
|
}
|
|
6055
|
-
TextBoxSuffixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6056
|
-
TextBoxSuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6054
|
+
TextBoxSuffixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxSuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6055
|
+
TextBoxSuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TextBoxSuffixTemplateDirective, selector: "[kendoTextBoxSuffixTemplate]", ngImport: i0 });
|
|
6056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxSuffixTemplateDirective, decorators: [{
|
|
6058
6057
|
type: Directive,
|
|
6059
6058
|
args: [{
|
|
6060
6059
|
selector: '[kendoTextBoxSuffixTemplate]'
|
|
@@ -6085,9 +6084,9 @@ class TextBoxPrefixTemplateDirective {
|
|
|
6085
6084
|
this.templateRef = templateRef;
|
|
6086
6085
|
}
|
|
6087
6086
|
}
|
|
6088
|
-
TextBoxPrefixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6089
|
-
TextBoxPrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6087
|
+
TextBoxPrefixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxPrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6088
|
+
TextBoxPrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", ngImport: i0 });
|
|
6089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxPrefixTemplateDirective, decorators: [{
|
|
6091
6090
|
type: Directive,
|
|
6092
6091
|
args: [{
|
|
6093
6092
|
selector: '[kendoTextBoxPrefixTemplate]'
|
|
@@ -6101,9 +6100,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6101
6100
|
*/
|
|
6102
6101
|
class TextBoxMessages extends ComponentMessages {
|
|
6103
6102
|
}
|
|
6104
|
-
TextBoxMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6105
|
-
TextBoxMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6103
|
+
TextBoxMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6104
|
+
TextBoxMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TextBoxMessages, selector: "kendo-textbox-messages-base", inputs: { clear: "clear" }, usesInheritance: true, ngImport: i0 });
|
|
6105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxMessages, decorators: [{
|
|
6107
6106
|
type: Directive,
|
|
6108
6107
|
args: [{
|
|
6109
6108
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -6122,14 +6121,14 @@ class LocalizedTextBoxMessagesDirective extends TextBoxMessages {
|
|
|
6122
6121
|
this.service = service;
|
|
6123
6122
|
}
|
|
6124
6123
|
}
|
|
6125
|
-
LocalizedTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6126
|
-
LocalizedTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
6124
|
+
LocalizedTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6125
|
+
LocalizedTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedTextBoxMessagesDirective, selector: "[kendoTextBoxLocalizedMessages]", providers: [
|
|
6127
6126
|
{
|
|
6128
6127
|
provide: TextBoxMessages,
|
|
6129
6128
|
useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
|
|
6130
6129
|
}
|
|
6131
6130
|
], usesInheritance: true, ngImport: i0 });
|
|
6132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedTextBoxMessagesDirective, decorators: [{
|
|
6133
6132
|
type: Directive,
|
|
6134
6133
|
args: [{
|
|
6135
6134
|
providers: [
|
|
@@ -6470,7 +6469,7 @@ class TextBoxComponent {
|
|
|
6470
6469
|
});
|
|
6471
6470
|
}
|
|
6472
6471
|
ngOnChanges(changes) {
|
|
6473
|
-
if (changes
|
|
6472
|
+
if (changes['disabled'] || changes['readonly'] || changes['value']) {
|
|
6474
6473
|
this.checkClearButton();
|
|
6475
6474
|
}
|
|
6476
6475
|
}
|
|
@@ -6696,8 +6695,8 @@ class TextBoxComponent {
|
|
|
6696
6695
|
}
|
|
6697
6696
|
}
|
|
6698
6697
|
}
|
|
6699
|
-
TextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6700
|
-
TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6698
|
+
TextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6699
|
+
TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TextBoxComponent, selector: "kendo-textbox", inputs: { focusableId: "focusableId", title: "title", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", value: "value", selectOnFocus: "selectOnFocus", showSuccessIcon: "showSuccessIcon", showErrorIcon: "showErrorIcon", clearButton: "clearButton", successIcon: "successIcon", errorIcon: "errorIcon", clearButtonIcon: "clearButtonIcon", size: "size", rounded: "rounded", fillMode: "fillMode", tabIndex: "tabIndex", placeholder: "placeholder", maxlength: "maxlength" }, outputs: { valueChange: "valueChange", inputFocus: "inputFocus", inputBlur: "inputBlur", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-disabled": "this.disabledClass", "class.k-textbox": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.direction" } }, providers: [
|
|
6701
6700
|
LocalizationService,
|
|
6702
6701
|
{ provide: L10N_PREFIX, useValue: 'kendo.textbox' },
|
|
6703
6702
|
{
|
|
@@ -6755,7 +6754,7 @@ TextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6755
6754
|
</ng-template>
|
|
6756
6755
|
</span>
|
|
6757
6756
|
`, isInline: true, directives: [{ type: LocalizedTextBoxMessagesDirective, selector: "[kendoTextBoxLocalizedMessages]" }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
6758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxComponent, decorators: [{
|
|
6759
6758
|
type: Component,
|
|
6760
6759
|
args: [{
|
|
6761
6760
|
exportAs: 'kendoTextBox',
|
|
@@ -6905,14 +6904,14 @@ class TextBoxCustomMessagesComponent extends TextBoxMessages {
|
|
|
6905
6904
|
return true;
|
|
6906
6905
|
}
|
|
6907
6906
|
}
|
|
6908
|
-
TextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6909
|
-
TextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6907
|
+
TextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6908
|
+
TextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TextBoxCustomMessagesComponent, selector: "kendo-textbox-messages", providers: [
|
|
6910
6909
|
{
|
|
6911
6910
|
provide: TextBoxMessages,
|
|
6912
6911
|
useExisting: forwardRef(() => TextBoxCustomMessagesComponent)
|
|
6913
6912
|
}
|
|
6914
6913
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxCustomMessagesComponent, decorators: [{
|
|
6916
6915
|
type: Component,
|
|
6917
6916
|
args: [{
|
|
6918
6917
|
providers: [
|
|
@@ -6949,9 +6948,9 @@ class InputSeparatorComponent {
|
|
|
6949
6948
|
this.hostClass = true;
|
|
6950
6949
|
}
|
|
6951
6950
|
}
|
|
6952
|
-
InputSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6953
|
-
InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6951
|
+
InputSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6952
|
+
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 });
|
|
6953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputSeparatorComponent, decorators: [{
|
|
6955
6954
|
type: Component,
|
|
6956
6955
|
args: [{
|
|
6957
6956
|
selector: 'kendo-input-separator, kendo-textbox-separator',
|
|
@@ -6974,12 +6973,12 @@ const SHARED_DIRECTIVES = [
|
|
|
6974
6973
|
*/
|
|
6975
6974
|
class SharedModule {
|
|
6976
6975
|
}
|
|
6977
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6978
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
6976
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6977
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [InputSeparatorComponent,
|
|
6979
6978
|
TextAreaDirective], exports: [InputSeparatorComponent,
|
|
6980
6979
|
TextAreaDirective] });
|
|
6981
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
6982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6980
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule });
|
|
6981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
6983
6982
|
type: NgModule,
|
|
6984
6983
|
args: [{
|
|
6985
6984
|
declarations: [SHARED_DIRECTIVES],
|
|
@@ -6988,7 +6987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6988
6987
|
}] });
|
|
6989
6988
|
|
|
6990
6989
|
/**
|
|
6991
|
-
* Represents the [NgModule](
|
|
6990
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
6992
6991
|
* definition for the TextBox directive.
|
|
6993
6992
|
*
|
|
6994
6993
|
* @example
|
|
@@ -7020,8 +7019,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7020
7019
|
*/
|
|
7021
7020
|
class TextBoxModule {
|
|
7022
7021
|
}
|
|
7023
|
-
TextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7024
|
-
TextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
7022
|
+
TextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7023
|
+
TextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxModule, declarations: [TextBoxDirective,
|
|
7025
7024
|
TextBoxComponent,
|
|
7026
7025
|
TextBoxSuffixTemplateDirective,
|
|
7027
7026
|
TextBoxPrefixTemplateDirective,
|
|
@@ -7033,8 +7032,8 @@ TextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
7033
7032
|
EventsModule,
|
|
7034
7033
|
TextBoxCustomMessagesComponent,
|
|
7035
7034
|
LocalizedTextBoxMessagesDirective, InputSeparatorComponent, TextAreaDirective] });
|
|
7036
|
-
TextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7035
|
+
TextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxModule, imports: [[CommonModule, EventsModule, SharedModule], EventsModule] });
|
|
7036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextBoxModule, decorators: [{
|
|
7038
7037
|
type: NgModule,
|
|
7039
7038
|
args: [{
|
|
7040
7039
|
declarations: [
|
|
@@ -7142,9 +7141,9 @@ class TextFieldsBase {
|
|
|
7142
7141
|
this.disabled = isDisabled;
|
|
7143
7142
|
}
|
|
7144
7143
|
}
|
|
7145
|
-
TextFieldsBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7146
|
-
TextFieldsBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
7147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7144
|
+
TextFieldsBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextFieldsBase, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7145
|
+
TextFieldsBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TextFieldsBase, selector: "kendo-textfield-base", inputs: { title: "title", disabled: "disabled", readonly: "readonly", value: "value", selectOnFocus: "selectOnFocus", placeholder: "placeholder" }, outputs: { inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-disabled": "this.disabledClass", "attr.dir": "this.direction" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], ngImport: i0, template: ``, isInline: true });
|
|
7146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextFieldsBase, decorators: [{
|
|
7148
7147
|
type: Component,
|
|
7149
7148
|
args: [{
|
|
7150
7149
|
selector: 'kendo-textfield-base',
|
|
@@ -7285,7 +7284,7 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
7285
7284
|
* @hidden
|
|
7286
7285
|
*/
|
|
7287
7286
|
this.handleInput = (ev) => {
|
|
7288
|
-
|
|
7287
|
+
const incomingValue = ev.target.value;
|
|
7289
7288
|
this.updateValue(incomingValue);
|
|
7290
7289
|
this.resize();
|
|
7291
7290
|
};
|
|
@@ -7640,8 +7639,8 @@ class TextAreaComponent extends TextFieldsBase {
|
|
|
7640
7639
|
}
|
|
7641
7640
|
}
|
|
7642
7641
|
}
|
|
7643
|
-
TextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7644
|
-
TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
7642
|
+
TextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7643
|
+
TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TextAreaComponent, selector: "kendo-textarea", inputs: { focusableId: "focusableId", flow: "flow", rows: "rows", cols: "cols", maxlength: "maxlength", tabindex: "tabindex", tabIndex: "tabIndex", resizable: "resizable", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.hostClasses", "class.k-input": "this.hostClasses", "class.!k-flex-col": "this.flowCol", "class.!k-flex-row": "this.flowRow" } }, providers: [
|
|
7645
7644
|
LocalizationService,
|
|
7646
7645
|
{ provide: L10N_PREFIX, useValue: 'kendo.textarea' },
|
|
7647
7646
|
{
|
|
@@ -7676,7 +7675,7 @@ TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
7676
7675
|
</textarea>
|
|
7677
7676
|
<ng-content select="kendo-textarea-suffix"></ng-content>
|
|
7678
7677
|
`, isInline: true, directives: [{ type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
7679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
7680
7679
|
type: Component,
|
|
7681
7680
|
args: [{
|
|
7682
7681
|
exportAs: 'kendoTextArea',
|
|
@@ -7783,9 +7782,9 @@ class TextAreaSuffixComponent {
|
|
|
7783
7782
|
this.hostClass = true;
|
|
7784
7783
|
}
|
|
7785
7784
|
}
|
|
7786
|
-
TextAreaSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7787
|
-
TextAreaSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
7788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7785
|
+
TextAreaSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7786
|
+
TextAreaSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TextAreaSuffixComponent, selector: "kendo-textarea-suffix", host: { properties: { "class.k-input-suffix": "this.hostClass" } }, exportAs: ["kendoTextAreaSuffix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
7787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaSuffixComponent, decorators: [{
|
|
7789
7788
|
type: Component,
|
|
7790
7789
|
args: [{
|
|
7791
7790
|
exportAs: 'kendoTextAreaSuffix',
|
|
@@ -7798,7 +7797,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7798
7797
|
}] } });
|
|
7799
7798
|
|
|
7800
7799
|
/**
|
|
7801
|
-
* Represents the [NgModule](
|
|
7800
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
7802
7801
|
* definition for the TextArea component.
|
|
7803
7802
|
*
|
|
7804
7803
|
* @example
|
|
@@ -7830,13 +7829,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7830
7829
|
*/
|
|
7831
7830
|
class TextAreaModule {
|
|
7832
7831
|
}
|
|
7833
|
-
TextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7834
|
-
TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
7832
|
+
TextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7833
|
+
TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaModule, declarations: [TextAreaComponent,
|
|
7835
7834
|
TextAreaSuffixComponent], imports: [CommonModule, EventsModule, SharedModule], exports: [TextAreaComponent,
|
|
7836
7835
|
EventsModule,
|
|
7837
7836
|
TextAreaSuffixComponent, InputSeparatorComponent, TextAreaDirective] });
|
|
7838
|
-
TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7837
|
+
TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaModule, imports: [[CommonModule, EventsModule, SharedModule], EventsModule] });
|
|
7838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TextAreaModule, decorators: [{
|
|
7840
7839
|
type: NgModule,
|
|
7841
7840
|
args: [{
|
|
7842
7841
|
declarations: [
|
|
@@ -7853,6 +7852,103 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7853
7852
|
}]
|
|
7854
7853
|
}] });
|
|
7855
7854
|
|
|
7855
|
+
/**
|
|
7856
|
+
* @hidden
|
|
7857
|
+
*/
|
|
7858
|
+
class ColorPickerLocalizationService extends LocalizationService {
|
|
7859
|
+
constructor(prefix, messageService, _rtl) {
|
|
7860
|
+
super(prefix, messageService, _rtl);
|
|
7861
|
+
}
|
|
7862
|
+
}
|
|
7863
|
+
ColorPickerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7864
|
+
ColorPickerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerLocalizationService });
|
|
7865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerLocalizationService, decorators: [{
|
|
7866
|
+
type: Injectable
|
|
7867
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
7868
|
+
type: Inject,
|
|
7869
|
+
args: [L10N_PREFIX]
|
|
7870
|
+
}] }, { type: i1.MessageService, decorators: [{
|
|
7871
|
+
type: Optional
|
|
7872
|
+
}] }, { type: undefined, decorators: [{
|
|
7873
|
+
type: Optional
|
|
7874
|
+
}, {
|
|
7875
|
+
type: Inject,
|
|
7876
|
+
args: [RTL]
|
|
7877
|
+
}] }]; } });
|
|
7878
|
+
|
|
7879
|
+
/**
|
|
7880
|
+
* @hidden
|
|
7881
|
+
*/
|
|
7882
|
+
class FlatColorPickerLocalizationService extends LocalizationService {
|
|
7883
|
+
constructor(prefix, messageService, _rtl, colorPickerLocalization) {
|
|
7884
|
+
super(prefix, messageService, _rtl);
|
|
7885
|
+
this.colorPickerLocalization = colorPickerLocalization;
|
|
7886
|
+
}
|
|
7887
|
+
get(shortKey) {
|
|
7888
|
+
if (this.colorPickerLocalization) {
|
|
7889
|
+
return this.colorPickerLocalization.get(shortKey);
|
|
7890
|
+
}
|
|
7891
|
+
return super.get(shortKey);
|
|
7892
|
+
}
|
|
7893
|
+
}
|
|
7894
|
+
FlatColorPickerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: ColorPickerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7895
|
+
FlatColorPickerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerLocalizationService });
|
|
7896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerLocalizationService, decorators: [{
|
|
7897
|
+
type: Injectable
|
|
7898
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
7899
|
+
type: Inject,
|
|
7900
|
+
args: [L10N_PREFIX]
|
|
7901
|
+
}] }, { type: i1.MessageService, decorators: [{
|
|
7902
|
+
type: Optional
|
|
7903
|
+
}] }, { type: undefined, decorators: [{
|
|
7904
|
+
type: Optional
|
|
7905
|
+
}, {
|
|
7906
|
+
type: Inject,
|
|
7907
|
+
args: [RTL]
|
|
7908
|
+
}] }, { type: ColorPickerLocalizationService, decorators: [{
|
|
7909
|
+
type: Optional
|
|
7910
|
+
}, {
|
|
7911
|
+
type: Inject,
|
|
7912
|
+
args: [ColorPickerLocalizationService]
|
|
7913
|
+
}] }]; } });
|
|
7914
|
+
|
|
7915
|
+
/**
|
|
7916
|
+
* @hidden
|
|
7917
|
+
*/
|
|
7918
|
+
const DEFAULT_OUTPUT_FORMAT = 'rgba';
|
|
7919
|
+
/**
|
|
7920
|
+
* @hidden
|
|
7921
|
+
*/
|
|
7922
|
+
const DEFAULT_GRADIENT_BACKGROUND_COLOR = 'rgba(255, 0, 0, 1)';
|
|
7923
|
+
/**
|
|
7924
|
+
* @hidden
|
|
7925
|
+
*/
|
|
7926
|
+
const DRAGHANDLE_MOVE_SPEED = 5;
|
|
7927
|
+
/**
|
|
7928
|
+
* @hidden
|
|
7929
|
+
*/
|
|
7930
|
+
const DRAGHANDLE_MOVE_SPEED_SMALL_STEP = 2;
|
|
7931
|
+
/**
|
|
7932
|
+
* @hidden
|
|
7933
|
+
*/
|
|
7934
|
+
const AAA_RATIO = 7.0;
|
|
7935
|
+
/**
|
|
7936
|
+
* @hidden
|
|
7937
|
+
*/
|
|
7938
|
+
const AA_RATIO = 4.5;
|
|
7939
|
+
/**
|
|
7940
|
+
* @hidden
|
|
7941
|
+
*/
|
|
7942
|
+
const DEFAULT_PRESET$1 = 'office';
|
|
7943
|
+
/**
|
|
7944
|
+
* @hidden
|
|
7945
|
+
*/
|
|
7946
|
+
const DEFAULT_ACCESSIBLE_PRESET$1 = 'accessible';
|
|
7947
|
+
/**
|
|
7948
|
+
* @hidden
|
|
7949
|
+
*/
|
|
7950
|
+
const STEP_COUNT = 16;
|
|
7951
|
+
|
|
7856
7952
|
// eslint-disable max-line-length
|
|
7857
7953
|
/**
|
|
7858
7954
|
* @hidden
|
|
@@ -7914,6 +8010,38 @@ const PALETTEPRESETS = {
|
|
|
7914
8010
|
|
|
7915
8011
|
;
|
|
7916
8012
|
|
|
8013
|
+
/**
|
|
8014
|
+
* @hidden
|
|
8015
|
+
*/
|
|
8016
|
+
class FlatColorPickerService {
|
|
8017
|
+
getPaletteSettings(settings, format) {
|
|
8018
|
+
const defaultPreset = (format !== 'name') ? DEFAULT_PRESET$1 : DEFAULT_ACCESSIBLE_PRESET$1;
|
|
8019
|
+
const settingsPalette = settings.palette;
|
|
8020
|
+
const presetColumns = typeof settingsPalette === 'string' && PALETTEPRESETS[settingsPalette] ?
|
|
8021
|
+
PALETTEPRESETS[settingsPalette].columns :
|
|
8022
|
+
undefined;
|
|
8023
|
+
return {
|
|
8024
|
+
palette: settingsPalette || defaultPreset,
|
|
8025
|
+
tileSize: settings.tileSize || 24,
|
|
8026
|
+
columns: settings.columns || presetColumns || 10
|
|
8027
|
+
};
|
|
8028
|
+
}
|
|
8029
|
+
paletteTileLayout(tileSize) {
|
|
8030
|
+
if (typeof tileSize === 'number') {
|
|
8031
|
+
return { width: tileSize, height: tileSize };
|
|
8032
|
+
}
|
|
8033
|
+
return {
|
|
8034
|
+
width: tileSize.width ? tileSize.width : tileSize.height,
|
|
8035
|
+
height: tileSize.height ? tileSize.height : tileSize.width
|
|
8036
|
+
};
|
|
8037
|
+
}
|
|
8038
|
+
}
|
|
8039
|
+
FlatColorPickerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8040
|
+
FlatColorPickerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerService });
|
|
8041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerService, decorators: [{
|
|
8042
|
+
type: Injectable
|
|
8043
|
+
}] });
|
|
8044
|
+
|
|
7917
8045
|
/**
|
|
7918
8046
|
* Arguments for the `cancel` event of the ColorPicker and FlatColorPicker components.
|
|
7919
8047
|
*/
|
|
@@ -8122,7 +8250,7 @@ const getRGBFromRGBA = (foregroundColor, backgroundColor) => {
|
|
|
8122
8250
|
* Returns the relative luminance.
|
|
8123
8251
|
*/
|
|
8124
8252
|
const getLuminance = (rgb) => {
|
|
8125
|
-
|
|
8253
|
+
const a = [rgb.r, rgb.g, rgb.b].map(function (v) {
|
|
8126
8254
|
v /= 255;
|
|
8127
8255
|
return v <= 0.03928
|
|
8128
8256
|
? v / 12.92
|
|
@@ -8235,82 +8363,21 @@ const svgPath = (points, command) => {
|
|
|
8235
8363
|
/**
|
|
8236
8364
|
* @hidden
|
|
8237
8365
|
*/
|
|
8238
|
-
class
|
|
8239
|
-
constructor(prefix, messageService, _rtl) {
|
|
8240
|
-
super(prefix, messageService, _rtl);
|
|
8241
|
-
}
|
|
8242
|
-
}
|
|
8243
|
-
ColorPickerLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorPickerLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8244
|
-
ColorPickerLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorPickerLocalizationService });
|
|
8245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorPickerLocalizationService, decorators: [{
|
|
8246
|
-
type: Injectable
|
|
8247
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
8248
|
-
type: Inject,
|
|
8249
|
-
args: [L10N_PREFIX]
|
|
8250
|
-
}] }, { type: i1.MessageService, decorators: [{
|
|
8251
|
-
type: Optional
|
|
8252
|
-
}] }, { type: undefined, decorators: [{
|
|
8253
|
-
type: Optional
|
|
8254
|
-
}, {
|
|
8255
|
-
type: Inject,
|
|
8256
|
-
args: [RTL]
|
|
8257
|
-
}] }]; } });
|
|
8258
|
-
|
|
8259
|
-
/**
|
|
8260
|
-
* @hidden
|
|
8261
|
-
*/
|
|
8262
|
-
const DEFAULT_OUTPUT_FORMAT = 'rgba';
|
|
8263
|
-
/**
|
|
8264
|
-
* @hidden
|
|
8265
|
-
*/
|
|
8266
|
-
const DEFAULT_GRADIENT_BACKGROUND_COLOR = 'rgba(255, 0, 0, 1)';
|
|
8267
|
-
/**
|
|
8268
|
-
* @hidden
|
|
8269
|
-
*/
|
|
8270
|
-
const DRAGHANDLE_MOVE_SPEED = 5;
|
|
8271
|
-
/**
|
|
8272
|
-
* @hidden
|
|
8273
|
-
*/
|
|
8274
|
-
const DRAGHANDLE_MOVE_SPEED_SMALL_STEP = 2;
|
|
8275
|
-
/**
|
|
8276
|
-
* @hidden
|
|
8277
|
-
*/
|
|
8278
|
-
const AAA_RATIO = 7.0;
|
|
8279
|
-
/**
|
|
8280
|
-
* @hidden
|
|
8281
|
-
*/
|
|
8282
|
-
const AA_RATIO = 4.5;
|
|
8283
|
-
/**
|
|
8284
|
-
* @hidden
|
|
8285
|
-
*/
|
|
8286
|
-
const DEFAULT_PRESET$1 = 'office';
|
|
8287
|
-
/**
|
|
8288
|
-
* @hidden
|
|
8289
|
-
*/
|
|
8290
|
-
const DEFAULT_ACCESSIBLE_PRESET$1 = 'accessible';
|
|
8291
|
-
/**
|
|
8292
|
-
* @hidden
|
|
8293
|
-
*/
|
|
8294
|
-
const STEP_COUNT = 16;
|
|
8295
|
-
|
|
8296
|
-
/**
|
|
8297
|
-
* @hidden
|
|
8298
|
-
*/
|
|
8299
|
-
class FlatColorPickerLocalizationService extends LocalizationService {
|
|
8300
|
-
constructor(prefix, messageService, _rtl, colorPickerLocalization) {
|
|
8366
|
+
class ColorGradientLocalizationService extends LocalizationService {
|
|
8367
|
+
constructor(prefix, messageService, _rtl, flatColorPickerLocalization) {
|
|
8301
8368
|
super(prefix, messageService, _rtl);
|
|
8302
|
-
this.
|
|
8369
|
+
this.flatColorPickerLocalization = flatColorPickerLocalization;
|
|
8303
8370
|
}
|
|
8304
8371
|
get(shortKey) {
|
|
8305
|
-
if (this.
|
|
8306
|
-
return this.
|
|
8372
|
+
if (this.flatColorPickerLocalization) {
|
|
8373
|
+
return this.flatColorPickerLocalization.get(shortKey);
|
|
8307
8374
|
}
|
|
8308
8375
|
return super.get(shortKey);
|
|
8309
8376
|
}
|
|
8310
8377
|
}
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8378
|
+
ColorGradientLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: FlatColorPickerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8379
|
+
ColorGradientLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientLocalizationService });
|
|
8380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientLocalizationService, decorators: [{
|
|
8314
8381
|
type: Injectable
|
|
8315
8382
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
8316
8383
|
type: Inject,
|
|
@@ -8322,370 +8389,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8322
8389
|
}, {
|
|
8323
8390
|
type: Inject,
|
|
8324
8391
|
args: [RTL]
|
|
8325
|
-
}] }, { type:
|
|
8392
|
+
}] }, { type: FlatColorPickerLocalizationService, decorators: [{
|
|
8326
8393
|
type: Optional
|
|
8327
8394
|
}, {
|
|
8328
8395
|
type: Inject,
|
|
8329
|
-
args: [
|
|
8396
|
+
args: [FlatColorPickerLocalizationService]
|
|
8330
8397
|
}] }]; } });
|
|
8331
8398
|
|
|
8332
8399
|
/**
|
|
8333
8400
|
* @hidden
|
|
8334
8401
|
*/
|
|
8335
|
-
class
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
const settingsPalette = settings.palette;
|
|
8339
|
-
const presetColumns = typeof settingsPalette === 'string' && PALETTEPRESETS[settingsPalette] ?
|
|
8340
|
-
PALETTEPRESETS[settingsPalette].columns :
|
|
8341
|
-
undefined;
|
|
8342
|
-
return {
|
|
8343
|
-
palette: settingsPalette || defaultPreset,
|
|
8344
|
-
tileSize: settings.tileSize || 24,
|
|
8345
|
-
columns: settings.columns || presetColumns || 10
|
|
8346
|
-
};
|
|
8402
|
+
class NumericLabelDirective {
|
|
8403
|
+
constructor(host) {
|
|
8404
|
+
this.host = host;
|
|
8347
8405
|
}
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
}
|
|
8352
|
-
return {
|
|
8353
|
-
width: tileSize.width ? tileSize.width : tileSize.height,
|
|
8354
|
-
height: tileSize.height ? tileSize.height : tileSize.width
|
|
8355
|
-
};
|
|
8406
|
+
ngOnInit() {
|
|
8407
|
+
const localizationToken = `${this.kendoAdditionalNumericLabel}ChannelLabel`;
|
|
8408
|
+
this.host.numericInput.nativeElement.setAttribute('aria-label', this.localizationService.get(localizationToken));
|
|
8356
8409
|
}
|
|
8357
8410
|
}
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8361
|
-
type:
|
|
8362
|
-
|
|
8411
|
+
NumericLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericLabelDirective, deps: [{ token: NumericTextBoxComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8412
|
+
NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: { kendoAdditionalNumericLabel: "kendoAdditionalNumericLabel", localizationService: "localizationService" }, ngImport: i0 });
|
|
8413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericLabelDirective, decorators: [{
|
|
8414
|
+
type: Directive,
|
|
8415
|
+
args: [{ selector: '[kendoAdditionalNumericLabel]' }]
|
|
8416
|
+
}], ctorParameters: function () { return [{ type: NumericTextBoxComponent }]; }, propDecorators: { kendoAdditionalNumericLabel: [{
|
|
8417
|
+
type: Input
|
|
8418
|
+
}], localizationService: [{
|
|
8419
|
+
type: Input
|
|
8420
|
+
}] } });
|
|
8363
8421
|
|
|
8364
8422
|
/**
|
|
8365
8423
|
* @hidden
|
|
8366
8424
|
*/
|
|
8367
|
-
class
|
|
8368
|
-
constructor(localizationService) {
|
|
8369
|
-
this.
|
|
8370
|
-
this.
|
|
8371
|
-
this.innerTabIndex = -1;
|
|
8372
|
-
this.viewChange = new EventEmitter();
|
|
8373
|
-
this.valuePaneClick = new EventEmitter();
|
|
8374
|
-
this.clearButtonClick = new EventEmitter();
|
|
8375
|
-
this.tabOut = new EventEmitter();
|
|
8376
|
-
}
|
|
8377
|
-
onViewButtonClick(view) {
|
|
8378
|
-
this.activeView = view;
|
|
8379
|
-
this.viewChange.emit(view);
|
|
8380
|
-
}
|
|
8381
|
-
get viewButtons() {
|
|
8382
|
-
return this.views && this.views.indexOf('gradient') >= 0 && this.views.indexOf('palette') >= 0;
|
|
8383
|
-
}
|
|
8384
|
-
getViewButtonIcon(view) {
|
|
8385
|
-
return view === 'gradient' ? 'k-i-color-canvas' : 'k-i-palette';
|
|
8386
|
-
}
|
|
8387
|
-
getText(text) {
|
|
8388
|
-
return this.localizationService.get(text);
|
|
8389
|
-
}
|
|
8390
|
-
onHeaderTabOut(ev, index) {
|
|
8391
|
-
if (index === 0) {
|
|
8392
|
-
ev.preventDefault();
|
|
8393
|
-
this.tabOut.emit();
|
|
8394
|
-
}
|
|
8395
|
-
}
|
|
8396
|
-
}
|
|
8397
|
-
FlatColorPickerHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FlatColorPickerHeaderComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8398
|
-
FlatColorPickerHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FlatColorPickerHeaderComponent, selector: "[kendoFlatColorPickerHeader]", inputs: { clearButton: "clearButton", activeView: "activeView", views: "views", preview: "preview", innerTabIndex: "innerTabIndex", value: "value", selection: "selection" }, outputs: { viewChange: "viewChange", valuePaneClick: "valuePaneClick", clearButtonClick: "clearButtonClick", tabOut: "tabOut" }, host: { properties: { "class.k-coloreditor-header": "this.hostClasses", "class.k-hstack": "this.hostClasses" } }, viewQueries: [{ propertyName: "clearButtonElement", first: true, predicate: ["clearButton"], descendants: true, read: ElementRef }, { propertyName: "viewButtonsCollection", predicate: ["viewButtons"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
8399
|
-
<div class="k-coloreditor-header-actions k-hstack">
|
|
8400
|
-
<div
|
|
8401
|
-
*ngIf="viewButtons"
|
|
8402
|
-
class="k-button-group k-button-group-flat">
|
|
8403
|
-
<button *ngFor="let view of views; let i = index;"
|
|
8404
|
-
#viewButtons
|
|
8405
|
-
type="button"
|
|
8406
|
-
[tabindex]="innerTabIndex.toString()"
|
|
8407
|
-
(click)="onViewButtonClick(view)"
|
|
8408
|
-
(keydown.shift.tab)="onHeaderTabOut($event, i)"
|
|
8409
|
-
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
|
|
8410
|
-
[attr.title]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
8411
|
-
[attr.aria-label]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
8412
|
-
[attr.aria-pressed]="activeView === view"
|
|
8413
|
-
[ngClass]="activeView === view ? 'k-selected' : ''">
|
|
8414
|
-
<span
|
|
8415
|
-
class="k-button-icon k-icon"
|
|
8416
|
-
[ngClass]="getViewButtonIcon(view)">
|
|
8417
|
-
</span>
|
|
8418
|
-
</button>
|
|
8419
|
-
</div>
|
|
8420
|
-
</div>
|
|
8421
|
-
<div class="k-spacer"></div>
|
|
8422
|
-
<div class="k-coloreditor-header-actions k-hstack">
|
|
8423
|
-
<button
|
|
8424
|
-
[tabindex]="innerTabIndex.toString()"
|
|
8425
|
-
*ngIf="clearButton"
|
|
8426
|
-
#clearButton
|
|
8427
|
-
type="button"
|
|
8428
|
-
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-coloreditor-reset"
|
|
8429
|
-
[attr.aria-label]="getText('clearButton')"
|
|
8430
|
-
[attr.title]="getText('clearButton')"
|
|
8431
|
-
(click)="clearButtonClick.emit()">
|
|
8432
|
-
<span class="k-button-icon k-icon k-i-droplet-slash"></span>
|
|
8433
|
-
</button>
|
|
8434
|
-
<div class="k-coloreditor-preview k-vstack" *ngIf="preview" aria-hidden="true">
|
|
8435
|
-
<span
|
|
8436
|
-
class="k-coloreditor-preview-color k-color-preview"
|
|
8437
|
-
[attr.title]="getText('previewColor')"
|
|
8438
|
-
[style.background-color]="selection">
|
|
8439
|
-
</span>
|
|
8440
|
-
<span class="k-coloreditor-current-color k-color-preview"
|
|
8441
|
-
[style.background-color]="value"
|
|
8442
|
-
[attr.title]="getText('revertSelection')"
|
|
8443
|
-
(click)="valuePaneClick.emit($event)">
|
|
8444
|
-
</span>
|
|
8445
|
-
</div>
|
|
8446
|
-
</div>
|
|
8447
|
-
`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
8448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FlatColorPickerHeaderComponent, decorators: [{
|
|
8449
|
-
type: Component,
|
|
8450
|
-
args: [{
|
|
8451
|
-
// eslint-disable-next-line @angular-eslint/component-selector
|
|
8452
|
-
selector: '[kendoFlatColorPickerHeader]',
|
|
8453
|
-
template: `
|
|
8454
|
-
<div class="k-coloreditor-header-actions k-hstack">
|
|
8455
|
-
<div
|
|
8456
|
-
*ngIf="viewButtons"
|
|
8457
|
-
class="k-button-group k-button-group-flat">
|
|
8458
|
-
<button *ngFor="let view of views; let i = index;"
|
|
8459
|
-
#viewButtons
|
|
8460
|
-
type="button"
|
|
8461
|
-
[tabindex]="innerTabIndex.toString()"
|
|
8462
|
-
(click)="onViewButtonClick(view)"
|
|
8463
|
-
(keydown.shift.tab)="onHeaderTabOut($event, i)"
|
|
8464
|
-
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
|
|
8465
|
-
[attr.title]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
8466
|
-
[attr.aria-label]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
8467
|
-
[attr.aria-pressed]="activeView === view"
|
|
8468
|
-
[ngClass]="activeView === view ? 'k-selected' : ''">
|
|
8469
|
-
<span
|
|
8470
|
-
class="k-button-icon k-icon"
|
|
8471
|
-
[ngClass]="getViewButtonIcon(view)">
|
|
8472
|
-
</span>
|
|
8473
|
-
</button>
|
|
8474
|
-
</div>
|
|
8475
|
-
</div>
|
|
8476
|
-
<div class="k-spacer"></div>
|
|
8477
|
-
<div class="k-coloreditor-header-actions k-hstack">
|
|
8478
|
-
<button
|
|
8479
|
-
[tabindex]="innerTabIndex.toString()"
|
|
8480
|
-
*ngIf="clearButton"
|
|
8481
|
-
#clearButton
|
|
8482
|
-
type="button"
|
|
8483
|
-
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-coloreditor-reset"
|
|
8484
|
-
[attr.aria-label]="getText('clearButton')"
|
|
8485
|
-
[attr.title]="getText('clearButton')"
|
|
8486
|
-
(click)="clearButtonClick.emit()">
|
|
8487
|
-
<span class="k-button-icon k-icon k-i-droplet-slash"></span>
|
|
8488
|
-
</button>
|
|
8489
|
-
<div class="k-coloreditor-preview k-vstack" *ngIf="preview" aria-hidden="true">
|
|
8490
|
-
<span
|
|
8491
|
-
class="k-coloreditor-preview-color k-color-preview"
|
|
8492
|
-
[attr.title]="getText('previewColor')"
|
|
8493
|
-
[style.background-color]="selection">
|
|
8494
|
-
</span>
|
|
8495
|
-
<span class="k-coloreditor-current-color k-color-preview"
|
|
8496
|
-
[style.background-color]="value"
|
|
8497
|
-
[attr.title]="getText('revertSelection')"
|
|
8498
|
-
(click)="valuePaneClick.emit($event)">
|
|
8499
|
-
</span>
|
|
8500
|
-
</div>
|
|
8501
|
-
</div>
|
|
8502
|
-
`
|
|
8503
|
-
}]
|
|
8504
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
|
|
8505
|
-
type: HostBinding,
|
|
8506
|
-
args: ['class.k-coloreditor-header']
|
|
8507
|
-
}, {
|
|
8508
|
-
type: HostBinding,
|
|
8509
|
-
args: ['class.k-hstack']
|
|
8510
|
-
}], clearButton: [{
|
|
8511
|
-
type: Input
|
|
8512
|
-
}], activeView: [{
|
|
8513
|
-
type: Input
|
|
8514
|
-
}], views: [{
|
|
8515
|
-
type: Input
|
|
8516
|
-
}], preview: [{
|
|
8517
|
-
type: Input
|
|
8518
|
-
}], innerTabIndex: [{
|
|
8519
|
-
type: Input
|
|
8520
|
-
}], value: [{
|
|
8521
|
-
type: Input
|
|
8522
|
-
}], selection: [{
|
|
8523
|
-
type: Input
|
|
8524
|
-
}], viewChange: [{
|
|
8525
|
-
type: Output
|
|
8526
|
-
}], valuePaneClick: [{
|
|
8527
|
-
type: Output
|
|
8528
|
-
}], clearButtonClick: [{
|
|
8529
|
-
type: Output
|
|
8530
|
-
}], tabOut: [{
|
|
8531
|
-
type: Output
|
|
8532
|
-
}], viewButtonsCollection: [{
|
|
8533
|
-
type: ViewChildren,
|
|
8534
|
-
args: ['viewButtons', { read: ElementRef }]
|
|
8535
|
-
}], clearButtonElement: [{
|
|
8536
|
-
type: ViewChild,
|
|
8537
|
-
args: ['clearButton', { read: ElementRef }]
|
|
8538
|
-
}] } });
|
|
8539
|
-
|
|
8540
|
-
/**
|
|
8541
|
-
* @hidden
|
|
8542
|
-
*/
|
|
8543
|
-
class ColorGradientLocalizationService extends LocalizationService {
|
|
8544
|
-
constructor(prefix, messageService, _rtl, flatColorPickerLocalization) {
|
|
8545
|
-
super(prefix, messageService, _rtl);
|
|
8546
|
-
this.flatColorPickerLocalization = flatColorPickerLocalization;
|
|
8547
|
-
}
|
|
8548
|
-
get(shortKey) {
|
|
8549
|
-
if (this.flatColorPickerLocalization) {
|
|
8550
|
-
return this.flatColorPickerLocalization.get(shortKey);
|
|
8551
|
-
}
|
|
8552
|
-
return super.get(shortKey);
|
|
8553
|
-
}
|
|
8554
|
-
}
|
|
8555
|
-
ColorGradientLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorGradientLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: FlatColorPickerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8556
|
-
ColorGradientLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorGradientLocalizationService });
|
|
8557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorGradientLocalizationService, decorators: [{
|
|
8558
|
-
type: Injectable
|
|
8559
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
8560
|
-
type: Inject,
|
|
8561
|
-
args: [L10N_PREFIX]
|
|
8562
|
-
}] }, { type: i1.MessageService, decorators: [{
|
|
8563
|
-
type: Optional
|
|
8564
|
-
}] }, { type: undefined, decorators: [{
|
|
8565
|
-
type: Optional
|
|
8566
|
-
}, {
|
|
8567
|
-
type: Inject,
|
|
8568
|
-
args: [RTL]
|
|
8569
|
-
}] }, { type: FlatColorPickerLocalizationService, decorators: [{
|
|
8570
|
-
type: Optional
|
|
8571
|
-
}, {
|
|
8572
|
-
type: Inject,
|
|
8573
|
-
args: [FlatColorPickerLocalizationService]
|
|
8574
|
-
}] }]; } });
|
|
8575
|
-
|
|
8576
|
-
/**
|
|
8577
|
-
* @hidden
|
|
8578
|
-
*/
|
|
8579
|
-
class ColorContrastSvgComponent {
|
|
8580
|
-
constructor() {
|
|
8581
|
-
this.hostClass = true;
|
|
8582
|
-
}
|
|
8583
|
-
ngAfterViewInit() {
|
|
8584
|
-
this.metrics = this.wrapper.getBoundingClientRect();
|
|
8585
|
-
this.oldA = this.hsva.value.a;
|
|
8586
|
-
this.oldH = this.hsva.value.h;
|
|
8587
|
-
this.hsva.subscribe((value) => {
|
|
8588
|
-
if (value.h !== this.oldH || value.a !== this.oldA) {
|
|
8589
|
-
this.oldH = value.h;
|
|
8590
|
-
this.oldA = value.a;
|
|
8591
|
-
this.setPaths();
|
|
8592
|
-
}
|
|
8593
|
-
});
|
|
8594
|
-
}
|
|
8595
|
-
ngOnChanges(changes) {
|
|
8596
|
-
if (isPresent(changes.backgroundColor) && this.metrics) {
|
|
8597
|
-
this.setPaths();
|
|
8598
|
-
}
|
|
8599
|
-
}
|
|
8600
|
-
setPaths() {
|
|
8601
|
-
const bezierCommandCalc = bezierCommand(controlPoint(line));
|
|
8602
|
-
this.paths = [svgPath(this.getPaths(AA_RATIO, STEP_COUNT), bezierCommandCalc),
|
|
8603
|
-
svgPath(this.getPaths(AA_RATIO, STEP_COUNT, true), bezierCommandCalc),
|
|
8604
|
-
svgPath(this.getPaths(AAA_RATIO, STEP_COUNT), bezierCommandCalc),
|
|
8605
|
-
svgPath(this.getPaths(AAA_RATIO, STEP_COUNT, true), bezierCommandCalc)];
|
|
8606
|
-
}
|
|
8607
|
-
findValue(contrast, saturation, low, high, comparer) {
|
|
8608
|
-
const mid = (low + high) / 2;
|
|
8609
|
-
const hsva = Object.assign({}, this.hsva.value, { s: saturation / this.metrics.width, v: 1 - mid / this.metrics.height });
|
|
8610
|
-
const currentContrast = getContrastFromTwoRGBAs(getRGBA(getColorFromHSV(hsva)), getRGBA(this.backgroundColor || ''));
|
|
8611
|
-
if (low + 0.5 > high) {
|
|
8612
|
-
if (currentContrast < contrast + 1 && currentContrast > contrast - 1) {
|
|
8613
|
-
return mid;
|
|
8614
|
-
}
|
|
8615
|
-
else {
|
|
8616
|
-
return null;
|
|
8617
|
-
}
|
|
8618
|
-
}
|
|
8619
|
-
if (comparer(currentContrast, contrast)) {
|
|
8620
|
-
return this.findValue(contrast, saturation, low, high - (high - low) / 2, comparer);
|
|
8621
|
-
}
|
|
8622
|
-
return this.findValue(contrast, saturation, low + (high - low) / 2, high, comparer);
|
|
8623
|
-
}
|
|
8624
|
-
getPaths(contrast, stepCount, reversed = false) {
|
|
8625
|
-
const points = [];
|
|
8626
|
-
for (let i = 0; i <= this.metrics.width; i += this.metrics.width / stepCount) {
|
|
8627
|
-
const value = this.findValue(contrast, i, 0, this.metrics.height, reversed ? ((a, b) => a < b) : ((a, b) => a > b));
|
|
8628
|
-
if (value !== null) {
|
|
8629
|
-
points.push([i, value]);
|
|
8630
|
-
}
|
|
8631
|
-
}
|
|
8632
|
-
return points;
|
|
8633
|
-
}
|
|
8634
|
-
}
|
|
8635
|
-
ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8636
|
-
ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", 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: `
|
|
8637
|
-
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
8638
|
-
`, isInline: true, directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
8639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
|
|
8640
|
-
type: Component,
|
|
8641
|
-
args: [{
|
|
8642
|
-
// eslint-disable-next-line @angular-eslint/component-selector
|
|
8643
|
-
selector: '[kendoColorContrastSvg]',
|
|
8644
|
-
template: `
|
|
8645
|
-
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
8646
|
-
`
|
|
8647
|
-
}]
|
|
8648
|
-
}], propDecorators: { hostClass: [{
|
|
8649
|
-
type: HostBinding,
|
|
8650
|
-
args: ['class.k-color-contrast-svg']
|
|
8651
|
-
}], wrapper: [{
|
|
8652
|
-
type: Input
|
|
8653
|
-
}], hsva: [{
|
|
8654
|
-
type: Input
|
|
8655
|
-
}], backgroundColor: [{
|
|
8656
|
-
type: Input
|
|
8657
|
-
}] } });
|
|
8658
|
-
|
|
8659
|
-
/**
|
|
8660
|
-
* @hidden
|
|
8661
|
-
*/
|
|
8662
|
-
class NumericLabelDirective {
|
|
8663
|
-
constructor(host) {
|
|
8664
|
-
this.host = host;
|
|
8665
|
-
}
|
|
8666
|
-
ngOnInit() {
|
|
8667
|
-
const localizationToken = `${this.kendoAdditionalNumericLabel}ChannelLabel`;
|
|
8668
|
-
this.host.numericInput.nativeElement.setAttribute('aria-label', this.localizationService.get(localizationToken));
|
|
8669
|
-
}
|
|
8670
|
-
}
|
|
8671
|
-
NumericLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericLabelDirective, deps: [{ token: NumericTextBoxComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8672
|
-
NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: { kendoAdditionalNumericLabel: "kendoAdditionalNumericLabel", localizationService: "localizationService" }, ngImport: i0 });
|
|
8673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericLabelDirective, decorators: [{
|
|
8674
|
-
type: Directive,
|
|
8675
|
-
args: [{ selector: '[kendoAdditionalNumericLabel]' }]
|
|
8676
|
-
}], ctorParameters: function () { return [{ type: NumericTextBoxComponent }]; }, propDecorators: { kendoAdditionalNumericLabel: [{
|
|
8677
|
-
type: Input
|
|
8678
|
-
}], localizationService: [{
|
|
8679
|
-
type: Input
|
|
8680
|
-
}] } });
|
|
8681
|
-
|
|
8682
|
-
/**
|
|
8683
|
-
* @hidden
|
|
8684
|
-
*/
|
|
8685
|
-
class ColorInputComponent {
|
|
8686
|
-
constructor(host, renderer, localizationService) {
|
|
8687
|
-
this.host = host;
|
|
8688
|
-
this.renderer = renderer;
|
|
8425
|
+
class ColorInputComponent {
|
|
8426
|
+
constructor(host, renderer, localizationService) {
|
|
8427
|
+
this.host = host;
|
|
8428
|
+
this.renderer = renderer;
|
|
8689
8429
|
this.localizationService = localizationService;
|
|
8690
8430
|
/**
|
|
8691
8431
|
* The id of the hex input.
|
|
@@ -8747,7 +8487,7 @@ class ColorInputComponent {
|
|
|
8747
8487
|
}
|
|
8748
8488
|
}
|
|
8749
8489
|
ngOnChanges(changes) {
|
|
8750
|
-
if (isPresent(changes
|
|
8490
|
+
if (isPresent(changes['value']) && !this.isFocused) {
|
|
8751
8491
|
this.hex = parseColor(this.value, 'hex', this.opacity);
|
|
8752
8492
|
this.rgba = getRGBA(this.value);
|
|
8753
8493
|
this.rgba.a = parseColor(this.value, 'rgba', this.opacity) ? this.rgba.a : 1;
|
|
@@ -8802,12 +8542,11 @@ class ColorInputComponent {
|
|
|
8802
8542
|
this.subscriptions.add(this.renderer.listen(this.toggleFormatButton.nativeElement, 'click', () => this.toggleFormatView()));
|
|
8803
8543
|
}
|
|
8804
8544
|
lastInput() {
|
|
8805
|
-
|
|
8806
|
-
return ((_a = this.hexInput) === null || _a === void 0 ? void 0 : _a.nativeElement) || this.opacityInput || this.blueInput;
|
|
8545
|
+
return this.hexInput?.nativeElement || this.opacityInput || this.blueInput;
|
|
8807
8546
|
}
|
|
8808
8547
|
}
|
|
8809
|
-
ColorInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8810
|
-
ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8548
|
+
ColorInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorInputComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8549
|
+
ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorInputComponent, selector: "kendo-colorinput", inputs: { focusableId: "focusableId", formatView: "formatView", tabindex: "tabindex", value: "value", opacity: "opacity", disabled: "disabled", readonly: "readonly" }, outputs: { valueChange: "valueChange", tabOut: "tabOut" }, host: { properties: { "class.k-colorgradient-inputs": "this.colorInputClass", "class.k-hstack": "this.colorInputClass" } }, viewQueries: [{ propertyName: "opacityInput", first: true, predicate: ["opacityInput"], descendants: true }, { propertyName: "hexInput", first: true, predicate: ["hexInput"], descendants: true }, { propertyName: "blueInput", first: true, predicate: ["blueInput"], descendants: true }, { propertyName: "toggleFormatButton", first: true, predicate: ["toggleFormatButton"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
8811
8550
|
<div class="k-vstack">
|
|
8812
8551
|
<button #toggleFormatButton
|
|
8813
8552
|
class="k-colorgradient-toggle-mode k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
|
|
@@ -8921,7 +8660,7 @@ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
8921
8660
|
</div>
|
|
8922
8661
|
</ng-container>
|
|
8923
8662
|
`, isInline: true, components: [{ type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: ["kendoAdditionalNumericLabel", "localizationService"] }] });
|
|
8924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorInputComponent, decorators: [{
|
|
8925
8664
|
type: Component,
|
|
8926
8665
|
args: [{
|
|
8927
8666
|
selector: 'kendo-colorinput',
|
|
@@ -9040,42 +8779,128 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9040
8779
|
</ng-container>
|
|
9041
8780
|
`
|
|
9042
8781
|
}]
|
|
9043
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; }, propDecorators: { focusableId: [{
|
|
9044
|
-
type: Input
|
|
9045
|
-
}], formatView: [{
|
|
9046
|
-
type: Input
|
|
9047
|
-
}], tabindex: [{
|
|
9048
|
-
type: Input
|
|
9049
|
-
}], value: [{
|
|
9050
|
-
type: Input
|
|
9051
|
-
}], opacity: [{
|
|
8782
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; }, propDecorators: { focusableId: [{
|
|
8783
|
+
type: Input
|
|
8784
|
+
}], formatView: [{
|
|
8785
|
+
type: Input
|
|
8786
|
+
}], tabindex: [{
|
|
8787
|
+
type: Input
|
|
8788
|
+
}], value: [{
|
|
8789
|
+
type: Input
|
|
8790
|
+
}], opacity: [{
|
|
8791
|
+
type: Input
|
|
8792
|
+
}], disabled: [{
|
|
8793
|
+
type: Input
|
|
8794
|
+
}], readonly: [{
|
|
8795
|
+
type: Input
|
|
8796
|
+
}], valueChange: [{
|
|
8797
|
+
type: Output
|
|
8798
|
+
}], tabOut: [{
|
|
8799
|
+
type: Output
|
|
8800
|
+
}], colorInputClass: [{
|
|
8801
|
+
type: HostBinding,
|
|
8802
|
+
args: ['class.k-colorgradient-inputs']
|
|
8803
|
+
}, {
|
|
8804
|
+
type: HostBinding,
|
|
8805
|
+
args: ['class.k-hstack']
|
|
8806
|
+
}], opacityInput: [{
|
|
8807
|
+
type: ViewChild,
|
|
8808
|
+
args: ['opacityInput']
|
|
8809
|
+
}], hexInput: [{
|
|
8810
|
+
type: ViewChild,
|
|
8811
|
+
args: ['hexInput']
|
|
8812
|
+
}], blueInput: [{
|
|
8813
|
+
type: ViewChild,
|
|
8814
|
+
args: ['blueInput']
|
|
8815
|
+
}], toggleFormatButton: [{
|
|
8816
|
+
type: ViewChild,
|
|
8817
|
+
args: ['toggleFormatButton', { static: false }]
|
|
8818
|
+
}] } });
|
|
8819
|
+
|
|
8820
|
+
/**
|
|
8821
|
+
* @hidden
|
|
8822
|
+
*/
|
|
8823
|
+
class ColorContrastSvgComponent {
|
|
8824
|
+
constructor() {
|
|
8825
|
+
this.hostClass = true;
|
|
8826
|
+
}
|
|
8827
|
+
ngAfterViewInit() {
|
|
8828
|
+
if (!isDocumentAvailable()) {
|
|
8829
|
+
return;
|
|
8830
|
+
}
|
|
8831
|
+
this.metrics = this.wrapper.getBoundingClientRect();
|
|
8832
|
+
this.oldA = this.hsva.value.a;
|
|
8833
|
+
this.oldH = this.hsva.value.h;
|
|
8834
|
+
this.hsva.subscribe((value) => {
|
|
8835
|
+
if (value.h !== this.oldH || value.a !== this.oldA) {
|
|
8836
|
+
this.oldH = value.h;
|
|
8837
|
+
this.oldA = value.a;
|
|
8838
|
+
this.setPaths();
|
|
8839
|
+
}
|
|
8840
|
+
});
|
|
8841
|
+
}
|
|
8842
|
+
ngOnChanges(changes) {
|
|
8843
|
+
if (isPresent(changes['backgroundColor']) && this.metrics) {
|
|
8844
|
+
this.setPaths();
|
|
8845
|
+
}
|
|
8846
|
+
}
|
|
8847
|
+
setPaths() {
|
|
8848
|
+
const bezierCommandCalc = bezierCommand(controlPoint(line));
|
|
8849
|
+
this.paths = [svgPath(this.getPaths(AA_RATIO, STEP_COUNT), bezierCommandCalc),
|
|
8850
|
+
svgPath(this.getPaths(AA_RATIO, STEP_COUNT, true), bezierCommandCalc),
|
|
8851
|
+
svgPath(this.getPaths(AAA_RATIO, STEP_COUNT), bezierCommandCalc),
|
|
8852
|
+
svgPath(this.getPaths(AAA_RATIO, STEP_COUNT, true), bezierCommandCalc)];
|
|
8853
|
+
}
|
|
8854
|
+
findValue(contrast, saturation, low, high, comparer) {
|
|
8855
|
+
const mid = (low + high) / 2;
|
|
8856
|
+
const hsva = Object.assign({}, this.hsva.value, { s: saturation / this.metrics.width, v: 1 - mid / this.metrics.height });
|
|
8857
|
+
const currentContrast = getContrastFromTwoRGBAs(getRGBA(getColorFromHSV(hsva)), getRGBA(this.backgroundColor || ''));
|
|
8858
|
+
if (low + 0.5 > high) {
|
|
8859
|
+
if (currentContrast < contrast + 1 && currentContrast > contrast - 1) {
|
|
8860
|
+
return mid;
|
|
8861
|
+
}
|
|
8862
|
+
else {
|
|
8863
|
+
return null;
|
|
8864
|
+
}
|
|
8865
|
+
}
|
|
8866
|
+
if (comparer(currentContrast, contrast)) {
|
|
8867
|
+
return this.findValue(contrast, saturation, low, high - (high - low) / 2, comparer);
|
|
8868
|
+
}
|
|
8869
|
+
return this.findValue(contrast, saturation, low + (high - low) / 2, high, comparer);
|
|
8870
|
+
}
|
|
8871
|
+
getPaths(contrast, stepCount, reversed = false) {
|
|
8872
|
+
const points = [];
|
|
8873
|
+
for (let i = 0; i <= this.metrics.width; i += this.metrics.width / stepCount) {
|
|
8874
|
+
const value = this.findValue(contrast, i, 0, this.metrics.height, reversed ? ((a, b) => a < b) : ((a, b) => a > b));
|
|
8875
|
+
if (value !== null) {
|
|
8876
|
+
points.push([i, value]);
|
|
8877
|
+
}
|
|
8878
|
+
}
|
|
8879
|
+
return points;
|
|
8880
|
+
}
|
|
8881
|
+
}
|
|
8882
|
+
ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8883
|
+
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: `
|
|
8884
|
+
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
8885
|
+
`, isInline: true, directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
8886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
|
|
8887
|
+
type: Component,
|
|
8888
|
+
args: [{
|
|
8889
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
8890
|
+
selector: '[kendoColorContrastSvg]',
|
|
8891
|
+
template: `
|
|
8892
|
+
<svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
|
|
8893
|
+
`
|
|
8894
|
+
}]
|
|
8895
|
+
}], propDecorators: { hostClass: [{
|
|
8896
|
+
type: HostBinding,
|
|
8897
|
+
args: ['class.k-color-contrast-svg']
|
|
8898
|
+
}], wrapper: [{
|
|
9052
8899
|
type: Input
|
|
9053
|
-
}],
|
|
8900
|
+
}], hsva: [{
|
|
9054
8901
|
type: Input
|
|
9055
|
-
}],
|
|
8902
|
+
}], backgroundColor: [{
|
|
9056
8903
|
type: Input
|
|
9057
|
-
}], valueChange: [{
|
|
9058
|
-
type: Output
|
|
9059
|
-
}], tabOut: [{
|
|
9060
|
-
type: Output
|
|
9061
|
-
}], colorInputClass: [{
|
|
9062
|
-
type: HostBinding,
|
|
9063
|
-
args: ['class.k-colorgradient-inputs']
|
|
9064
|
-
}, {
|
|
9065
|
-
type: HostBinding,
|
|
9066
|
-
args: ['class.k-hstack']
|
|
9067
|
-
}], opacityInput: [{
|
|
9068
|
-
type: ViewChild,
|
|
9069
|
-
args: ['opacityInput']
|
|
9070
|
-
}], hexInput: [{
|
|
9071
|
-
type: ViewChild,
|
|
9072
|
-
args: ['hexInput']
|
|
9073
|
-
}], blueInput: [{
|
|
9074
|
-
type: ViewChild,
|
|
9075
|
-
args: ['blueInput']
|
|
9076
|
-
}], toggleFormatButton: [{
|
|
9077
|
-
type: ViewChild,
|
|
9078
|
-
args: ['toggleFormatButton', { static: false }]
|
|
9079
8904
|
}] } });
|
|
9080
8905
|
|
|
9081
8906
|
/**
|
|
@@ -9092,12 +8917,12 @@ class ContrastValidationComponent {
|
|
|
9092
8917
|
return this.localization.get('failContrast');
|
|
9093
8918
|
}
|
|
9094
8919
|
get contrastText() {
|
|
9095
|
-
|
|
8920
|
+
const ratio = this.type === 'AA' ? AA_RATIO : AAA_RATIO;
|
|
9096
8921
|
return `${this.type}: ${ratio.toFixed(1)}`;
|
|
9097
8922
|
}
|
|
9098
8923
|
}
|
|
9099
|
-
ContrastValidationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9100
|
-
ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8924
|
+
ContrastValidationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastValidationComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8925
|
+
ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: { type: "type", pass: "pass", value: "value" }, ngImport: i0, template: `
|
|
9101
8926
|
<span>{{contrastText}}</span>
|
|
9102
8927
|
<ng-container *ngIf="value">
|
|
9103
8928
|
<span class="k-contrast-validation k-text-success" *ngIf="pass">
|
|
@@ -9110,7 +8935,7 @@ ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
9110
8935
|
</span>
|
|
9111
8936
|
</ng-container>
|
|
9112
8937
|
`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastValidationComponent, decorators: [{
|
|
9114
8939
|
type: Component,
|
|
9115
8940
|
args: [{
|
|
9116
8941
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -9157,12 +8982,12 @@ class ContrastComponent {
|
|
|
9157
8982
|
return this.contrastRatio >= AAA_RATIO;
|
|
9158
8983
|
}
|
|
9159
8984
|
get contrastRatio() {
|
|
9160
|
-
|
|
8985
|
+
const contrast = getContrastFromTwoRGBAs(getRGBA(this.value), getRGBA(this.ratio));
|
|
9161
8986
|
return contrast;
|
|
9162
8987
|
}
|
|
9163
8988
|
}
|
|
9164
|
-
ContrastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9165
|
-
ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8989
|
+
ContrastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8990
|
+
ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ContrastComponent, selector: "[kendoContrastTool]", inputs: { value: "value", ratio: "ratio" }, ngImport: i0, template: `
|
|
9166
8991
|
<div class="k-contrast-ratio">
|
|
9167
8992
|
<span class="k-contrast-ratio-text">{{contrastRatioText}}</span>
|
|
9168
8993
|
<ng-container *ngIf="value">
|
|
@@ -9186,7 +9011,7 @@ ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
9186
9011
|
[pass]="satisfiesAAACondition">
|
|
9187
9012
|
</div>
|
|
9188
9013
|
`, isInline: true, components: [{ type: ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: ["type", "pass", "value"] }], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastComponent, decorators: [{
|
|
9190
9015
|
type: Component,
|
|
9191
9016
|
args: [{
|
|
9192
9017
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -9227,9 +9052,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9227
9052
|
*/
|
|
9228
9053
|
class ColorPickerMessages extends ComponentMessages {
|
|
9229
9054
|
}
|
|
9230
|
-
ColorPickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9231
|
-
ColorPickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9055
|
+
ColorPickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
9056
|
+
ColorPickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ColorPickerMessages, selector: "kendo-colorpicker-messages-base", inputs: { colorPaletteNoColor: "colorPaletteNoColor", colorGradientNoColor: "colorGradientNoColor", flatColorPickerNoColor: "flatColorPickerNoColor", colorPickerNoColor: "colorPickerNoColor", colorGradientHandle: "colorGradientHandle", clearButton: "clearButton", hueSliderHandle: "hueSliderHandle", opacitySliderHandle: "opacitySliderHandle", hexInputPlaceholder: "hexInputPlaceholder", redInputPlaceholder: "redInputPlaceholder", greenInputPlaceholder: "greenInputPlaceholder", blueInputPlaceholder: "blueInputPlaceholder", alphaInputPlaceholder: "alphaInputPlaceholder", redChannelLabel: "redChannelLabel", greenChannelLabel: "greenChannelLabel", blueChannelLabel: "blueChannelLabel", alphaChannelLabel: "alphaChannelLabel", passContrast: "passContrast", failContrast: "failContrast", contrastRatio: "contrastRatio", previewColor: "previewColor", revertSelection: "revertSelection", gradientView: "gradientView", paletteView: "paletteView", formatButton: "formatButton", applyButton: "applyButton", cancelButton: "cancelButton" }, usesInheritance: true, ngImport: i0 });
|
|
9057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerMessages, decorators: [{
|
|
9233
9058
|
type: Directive,
|
|
9234
9059
|
args: [{
|
|
9235
9060
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -9300,14 +9125,14 @@ class LocalizedColorPickerMessagesDirective extends ColorPickerMessages {
|
|
|
9300
9125
|
this.service = service;
|
|
9301
9126
|
}
|
|
9302
9127
|
}
|
|
9303
|
-
LocalizedColorPickerMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9304
|
-
LocalizedColorPickerMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9128
|
+
LocalizedColorPickerMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedColorPickerMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9129
|
+
LocalizedColorPickerMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]", providers: [
|
|
9305
9130
|
{
|
|
9306
9131
|
provide: ColorPickerMessages,
|
|
9307
9132
|
useExisting: forwardRef(() => LocalizedColorPickerMessagesDirective)
|
|
9308
9133
|
}
|
|
9309
9134
|
], usesInheritance: true, ngImport: i0 });
|
|
9310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedColorPickerMessagesDirective, decorators: [{
|
|
9311
9136
|
type: Directive,
|
|
9312
9137
|
args: [{
|
|
9313
9138
|
providers: [
|
|
@@ -9434,16 +9259,13 @@ class ColorGradientComponent {
|
|
|
9434
9259
|
return this.id;
|
|
9435
9260
|
}
|
|
9436
9261
|
get hostTabindex() {
|
|
9437
|
-
|
|
9438
|
-
return ((_a = this.tabindex) === null || _a === void 0 ? void 0 : _a.toString()) || '0';
|
|
9262
|
+
return this.tabindex?.toString() || '0';
|
|
9439
9263
|
}
|
|
9440
9264
|
get isControlInvalid() {
|
|
9441
|
-
|
|
9442
|
-
return (_b = ((_a = this.control) === null || _a === void 0 ? void 0 : _a.invalid)) === null || _b === void 0 ? void 0 : _b.toString();
|
|
9265
|
+
return (this.control?.invalid)?.toString();
|
|
9443
9266
|
}
|
|
9444
9267
|
get isDisabled() {
|
|
9445
|
-
|
|
9446
|
-
return ((_a = this.disabled) === null || _a === void 0 ? void 0 : _a.toString()) || undefined;
|
|
9268
|
+
return this.disabled?.toString() || undefined;
|
|
9447
9269
|
}
|
|
9448
9270
|
/**
|
|
9449
9271
|
* @hidden
|
|
@@ -9780,7 +9602,7 @@ class ColorGradientComponent {
|
|
|
9780
9602
|
hsva.v = 1 - top / gradientRectHeight;
|
|
9781
9603
|
this.hsva.next(hsva);
|
|
9782
9604
|
this.updateValues.next(getColorFromHSV(this.hsva.value, this.format, this.opacity));
|
|
9783
|
-
this.setAlphaSliderBackground(getColorFromHSV(
|
|
9605
|
+
this.setAlphaSliderBackground(getColorFromHSV({ ...this.hsva.value, a: 1 }, this.format, this.opacity));
|
|
9784
9606
|
}
|
|
9785
9607
|
handleValueChange(color) {
|
|
9786
9608
|
if (this.value === color) {
|
|
@@ -9866,8 +9688,8 @@ class ColorGradientComponent {
|
|
|
9866
9688
|
}
|
|
9867
9689
|
}
|
|
9868
9690
|
}
|
|
9869
|
-
ColorGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9870
|
-
ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9691
|
+
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 });
|
|
9692
|
+
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: [
|
|
9871
9693
|
{
|
|
9872
9694
|
multi: true,
|
|
9873
9695
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -9954,7 +9776,8 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9954
9776
|
xmlns="http://www.w3.org/2000/svg"
|
|
9955
9777
|
[wrapper]="gradientWrapper ? gradientWrapper : undefined"
|
|
9956
9778
|
[hsva]="hsva"
|
|
9957
|
-
[backgroundColor]="contrastTool"
|
|
9779
|
+
[backgroundColor]="contrastTool"
|
|
9780
|
+
[style]="'position: absolute; overflow: visible; pointer-events: none; left: 0px; top: 0px;'">
|
|
9958
9781
|
</svg>
|
|
9959
9782
|
</div>
|
|
9960
9783
|
<div class="k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}">
|
|
@@ -9966,11 +9789,13 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9966
9789
|
(keydown.space)="reset()"
|
|
9967
9790
|
[attr.aria-label]="clearButtonTitle"
|
|
9968
9791
|
[attr.title]="clearButtonTitle"
|
|
9969
|
-
[tabindex]="innerTabIndex.toString()"
|
|
9792
|
+
[tabindex]="innerTabIndex.toString()"
|
|
9793
|
+
[style]="'position: absolute; top: 0; left: 50%; transform: translateX(-50%);'">
|
|
9970
9794
|
<span class="k-icon k-i-droplet-slash"></span>
|
|
9971
9795
|
</span>
|
|
9972
9796
|
<kendo-slider
|
|
9973
9797
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
9798
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
9974
9799
|
class="k-hue-slider k-colorgradient-slider"
|
|
9975
9800
|
[dragHandleTitle]="hueSliderTitle"
|
|
9976
9801
|
[tabindex]="innerTabIndex"
|
|
@@ -9992,6 +9817,7 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
9992
9817
|
#alphaSlider
|
|
9993
9818
|
[tabindex]="innerTabIndex"
|
|
9994
9819
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
9820
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
9995
9821
|
class="k-alpha-slider k-colorgradient-slider"
|
|
9996
9822
|
[dragHandleTitle]="opacitySliderTitle"
|
|
9997
9823
|
[disabled]="disabled"
|
|
@@ -10026,8 +9852,8 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10026
9852
|
[value]="value"
|
|
10027
9853
|
[ratio]="contrastTool">
|
|
10028
9854
|
</div>
|
|
10029
|
-
`, isInline: true,
|
|
10030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9855
|
+
`, isInline: true, components: [{ type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { type: SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { type: ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { type: ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i3.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
9856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientComponent, decorators: [{
|
|
10031
9857
|
type: Component,
|
|
10032
9858
|
args: [{
|
|
10033
9859
|
exportAs: 'kendoColorGradient',
|
|
@@ -10120,7 +9946,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10120
9946
|
xmlns="http://www.w3.org/2000/svg"
|
|
10121
9947
|
[wrapper]="gradientWrapper ? gradientWrapper : undefined"
|
|
10122
9948
|
[hsva]="hsva"
|
|
10123
|
-
[backgroundColor]="contrastTool"
|
|
9949
|
+
[backgroundColor]="contrastTool"
|
|
9950
|
+
[style]="'position: absolute; overflow: visible; pointer-events: none; left: 0px; top: 0px;'">
|
|
10124
9951
|
</svg>
|
|
10125
9952
|
</div>
|
|
10126
9953
|
<div class="k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}">
|
|
@@ -10132,11 +9959,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10132
9959
|
(keydown.space)="reset()"
|
|
10133
9960
|
[attr.aria-label]="clearButtonTitle"
|
|
10134
9961
|
[attr.title]="clearButtonTitle"
|
|
10135
|
-
[tabindex]="innerTabIndex.toString()"
|
|
9962
|
+
[tabindex]="innerTabIndex.toString()"
|
|
9963
|
+
[style]="'position: absolute; top: 0; left: 50%; transform: translateX(-50%);'">
|
|
10136
9964
|
<span class="k-icon k-i-droplet-slash"></span>
|
|
10137
9965
|
</span>
|
|
10138
9966
|
<kendo-slider
|
|
10139
9967
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
9968
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
10140
9969
|
class="k-hue-slider k-colorgradient-slider"
|
|
10141
9970
|
[dragHandleTitle]="hueSliderTitle"
|
|
10142
9971
|
[tabindex]="innerTabIndex"
|
|
@@ -10158,6 +9987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10158
9987
|
#alphaSlider
|
|
10159
9988
|
[tabindex]="innerTabIndex"
|
|
10160
9989
|
[ngClass]="{'k-align-self-end': clearButton}"
|
|
9990
|
+
[style.height.px]="clearButton ? '140' : null"
|
|
10161
9991
|
class="k-alpha-slider k-colorgradient-slider"
|
|
10162
9992
|
[dragHandleTitle]="opacitySliderTitle"
|
|
10163
9993
|
[disabled]="disabled"
|
|
@@ -10192,26 +10022,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10192
10022
|
[value]="value"
|
|
10193
10023
|
[ratio]="contrastTool">
|
|
10194
10024
|
</div>
|
|
10195
|
-
|
|
10196
|
-
styles: [`
|
|
10197
|
-
.k-clear-color {
|
|
10198
|
-
position: absolute;
|
|
10199
|
-
top: 0;
|
|
10200
|
-
left: 50%;
|
|
10201
|
-
transform: translateX(-50%);
|
|
10202
|
-
}
|
|
10203
|
-
.k-colorgradient-slider.k-align-self-end {
|
|
10204
|
-
height: 140px;
|
|
10205
|
-
}
|
|
10206
|
-
|
|
10207
|
-
.k-color-contrast-svg {
|
|
10208
|
-
position: absolute;
|
|
10209
|
-
overflow: visible;
|
|
10210
|
-
pointer-events: none;
|
|
10211
|
-
left: 0px;
|
|
10212
|
-
top: 0px;
|
|
10213
|
-
}
|
|
10214
|
-
`]
|
|
10025
|
+
`
|
|
10215
10026
|
}]
|
|
10216
10027
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.Injector }]; }, propDecorators: { hostClasses: [{
|
|
10217
10028
|
type: HostBinding,
|
|
@@ -10307,9 +10118,9 @@ class ColorPaletteLocalizationService extends LocalizationService {
|
|
|
10307
10118
|
return super.get(shortKey);
|
|
10308
10119
|
}
|
|
10309
10120
|
}
|
|
10310
|
-
ColorPaletteLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10311
|
-
ColorPaletteLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10121
|
+
ColorPaletteLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: FlatColorPickerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10122
|
+
ColorPaletteLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteLocalizationService });
|
|
10123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteLocalizationService, decorators: [{
|
|
10313
10124
|
type: Injectable
|
|
10314
10125
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
10315
10126
|
type: Inject,
|
|
@@ -10383,9 +10194,9 @@ class ColorPaletteService {
|
|
|
10383
10194
|
return index;
|
|
10384
10195
|
}
|
|
10385
10196
|
}
|
|
10386
|
-
ColorPaletteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10387
|
-
ColorPaletteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
10388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10197
|
+
ColorPaletteService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10198
|
+
ColorPaletteService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteService });
|
|
10199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteService, decorators: [{
|
|
10389
10200
|
type: Injectable
|
|
10390
10201
|
}] });
|
|
10391
10202
|
|
|
@@ -10585,10 +10396,10 @@ class ColorPaletteComponent {
|
|
|
10585
10396
|
}
|
|
10586
10397
|
}
|
|
10587
10398
|
ngOnChanges(changes) {
|
|
10588
|
-
if (changes
|
|
10399
|
+
if (changes['palette'] || changes['columns']) {
|
|
10589
10400
|
this.setRows();
|
|
10590
10401
|
}
|
|
10591
|
-
if (changes
|
|
10402
|
+
if (changes['palette'] || changes['value'] || changes['columns']) {
|
|
10592
10403
|
this.selectCell(this.value);
|
|
10593
10404
|
this.setHostElementAriaLabel();
|
|
10594
10405
|
}
|
|
@@ -10752,8 +10563,8 @@ class ColorPaletteComponent {
|
|
|
10752
10563
|
this.handleCellSelection(selectedColor, this.focusedCell);
|
|
10753
10564
|
}
|
|
10754
10565
|
}
|
|
10755
|
-
ColorPaletteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10756
|
-
ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
10566
|
+
ColorPaletteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteComponent, deps: [{ token: i0.ElementRef }, { token: ColorPaletteService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
10567
|
+
ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorPaletteComponent, selector: "kendo-colorpalette", inputs: { id: "id", format: "format", value: "value", columns: "columns", palette: "palette", tabindex: "tabindex", disabled: "disabled", readonly: "readonly", tileSize: "tileSize" }, outputs: { selectionChange: "selectionChange", valueChange: "valueChange", cellSelection: "cellSelection" }, host: { listeners: { "keydown": "handleKeydown($event)", "focus": "handleFocus($event)", "blur": "handleHostBlur()" }, properties: { "attr.dir": "this.direction", "attr.role": "this.role", "attr.aria-activedescendant": "this.activeDescendant", "attr.id": "this.paletteId", "attr.tabindex": "this.hostTabindex", "class.k-colorpalette": "this.hostClasses", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-readonly": "this.readonlyAttribute" } }, providers: [
|
|
10757
10568
|
{
|
|
10758
10569
|
multi: true,
|
|
10759
10570
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -10803,7 +10614,7 @@ ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
10803
10614
|
</table>
|
|
10804
10615
|
</div>
|
|
10805
10616
|
`, isInline: true, directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
10806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteComponent, decorators: [{
|
|
10807
10618
|
type: Component,
|
|
10808
10619
|
args: [{
|
|
10809
10620
|
exportAs: 'kendoColorPalette',
|
|
@@ -10922,6 +10733,182 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
10922
10733
|
args: ['blur']
|
|
10923
10734
|
}] } });
|
|
10924
10735
|
|
|
10736
|
+
/**
|
|
10737
|
+
* @hidden
|
|
10738
|
+
*/
|
|
10739
|
+
class FlatColorPickerHeaderComponent {
|
|
10740
|
+
constructor(localizationService) {
|
|
10741
|
+
this.localizationService = localizationService;
|
|
10742
|
+
this.hostClasses = true;
|
|
10743
|
+
this.innerTabIndex = -1;
|
|
10744
|
+
this.viewChange = new EventEmitter();
|
|
10745
|
+
this.valuePaneClick = new EventEmitter();
|
|
10746
|
+
this.clearButtonClick = new EventEmitter();
|
|
10747
|
+
this.tabOut = new EventEmitter();
|
|
10748
|
+
}
|
|
10749
|
+
onViewButtonClick(view) {
|
|
10750
|
+
this.activeView = view;
|
|
10751
|
+
this.viewChange.emit(view);
|
|
10752
|
+
}
|
|
10753
|
+
get viewButtons() {
|
|
10754
|
+
return this.views && this.views.indexOf('gradient') >= 0 && this.views.indexOf('palette') >= 0;
|
|
10755
|
+
}
|
|
10756
|
+
getViewButtonIcon(view) {
|
|
10757
|
+
return view === 'gradient' ? 'k-i-color-canvas' : 'k-i-palette';
|
|
10758
|
+
}
|
|
10759
|
+
getText(text) {
|
|
10760
|
+
return this.localizationService.get(text);
|
|
10761
|
+
}
|
|
10762
|
+
onHeaderTabOut(ev, index) {
|
|
10763
|
+
if (index === 0) {
|
|
10764
|
+
ev.preventDefault();
|
|
10765
|
+
this.tabOut.emit();
|
|
10766
|
+
}
|
|
10767
|
+
}
|
|
10768
|
+
}
|
|
10769
|
+
FlatColorPickerHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerHeaderComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10770
|
+
FlatColorPickerHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FlatColorPickerHeaderComponent, selector: "[kendoFlatColorPickerHeader]", inputs: { clearButton: "clearButton", activeView: "activeView", views: "views", preview: "preview", innerTabIndex: "innerTabIndex", value: "value", selection: "selection" }, outputs: { viewChange: "viewChange", valuePaneClick: "valuePaneClick", clearButtonClick: "clearButtonClick", tabOut: "tabOut" }, host: { properties: { "class.k-coloreditor-header": "this.hostClasses", "class.k-hstack": "this.hostClasses" } }, viewQueries: [{ propertyName: "clearButtonElement", first: true, predicate: ["clearButton"], descendants: true, read: ElementRef }, { propertyName: "viewButtonsCollection", predicate: ["viewButtons"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
10771
|
+
<div class="k-coloreditor-header-actions k-hstack">
|
|
10772
|
+
<div
|
|
10773
|
+
*ngIf="viewButtons"
|
|
10774
|
+
class="k-button-group k-button-group-flat">
|
|
10775
|
+
<button *ngFor="let view of views; let i = index;"
|
|
10776
|
+
#viewButtons
|
|
10777
|
+
type="button"
|
|
10778
|
+
[tabindex]="innerTabIndex.toString()"
|
|
10779
|
+
(click)="onViewButtonClick(view)"
|
|
10780
|
+
(keydown.shift.tab)="onHeaderTabOut($event, i)"
|
|
10781
|
+
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
|
|
10782
|
+
[attr.title]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
10783
|
+
[attr.aria-label]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
10784
|
+
[attr.aria-pressed]="activeView === view"
|
|
10785
|
+
[ngClass]="activeView === view ? 'k-selected' : ''">
|
|
10786
|
+
<span
|
|
10787
|
+
class="k-button-icon k-icon"
|
|
10788
|
+
[ngClass]="getViewButtonIcon(view)">
|
|
10789
|
+
</span>
|
|
10790
|
+
</button>
|
|
10791
|
+
</div>
|
|
10792
|
+
</div>
|
|
10793
|
+
<div class="k-spacer"></div>
|
|
10794
|
+
<div class="k-coloreditor-header-actions k-hstack">
|
|
10795
|
+
<button
|
|
10796
|
+
[tabindex]="innerTabIndex.toString()"
|
|
10797
|
+
*ngIf="clearButton"
|
|
10798
|
+
#clearButton
|
|
10799
|
+
type="button"
|
|
10800
|
+
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-coloreditor-reset"
|
|
10801
|
+
[attr.aria-label]="getText('clearButton')"
|
|
10802
|
+
[attr.title]="getText('clearButton')"
|
|
10803
|
+
(click)="clearButtonClick.emit()">
|
|
10804
|
+
<span class="k-button-icon k-icon k-i-droplet-slash"></span>
|
|
10805
|
+
</button>
|
|
10806
|
+
<div class="k-coloreditor-preview k-vstack" *ngIf="preview" aria-hidden="true">
|
|
10807
|
+
<span
|
|
10808
|
+
class="k-coloreditor-preview-color k-color-preview"
|
|
10809
|
+
[attr.title]="getText('previewColor')"
|
|
10810
|
+
[style.background-color]="selection">
|
|
10811
|
+
</span>
|
|
10812
|
+
<span class="k-coloreditor-current-color k-color-preview"
|
|
10813
|
+
[style.background-color]="value"
|
|
10814
|
+
[attr.title]="getText('revertSelection')"
|
|
10815
|
+
(click)="valuePaneClick.emit($event)">
|
|
10816
|
+
</span>
|
|
10817
|
+
</div>
|
|
10818
|
+
</div>
|
|
10819
|
+
`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
10820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerHeaderComponent, decorators: [{
|
|
10821
|
+
type: Component,
|
|
10822
|
+
args: [{
|
|
10823
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
10824
|
+
selector: '[kendoFlatColorPickerHeader]',
|
|
10825
|
+
template: `
|
|
10826
|
+
<div class="k-coloreditor-header-actions k-hstack">
|
|
10827
|
+
<div
|
|
10828
|
+
*ngIf="viewButtons"
|
|
10829
|
+
class="k-button-group k-button-group-flat">
|
|
10830
|
+
<button *ngFor="let view of views; let i = index;"
|
|
10831
|
+
#viewButtons
|
|
10832
|
+
type="button"
|
|
10833
|
+
[tabindex]="innerTabIndex.toString()"
|
|
10834
|
+
(click)="onViewButtonClick(view)"
|
|
10835
|
+
(keydown.shift.tab)="onHeaderTabOut($event, i)"
|
|
10836
|
+
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
|
|
10837
|
+
[attr.title]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
10838
|
+
[attr.aria-label]="getText(view === 'gradient' ? 'gradientView' : 'paletteView')"
|
|
10839
|
+
[attr.aria-pressed]="activeView === view"
|
|
10840
|
+
[ngClass]="activeView === view ? 'k-selected' : ''">
|
|
10841
|
+
<span
|
|
10842
|
+
class="k-button-icon k-icon"
|
|
10843
|
+
[ngClass]="getViewButtonIcon(view)">
|
|
10844
|
+
</span>
|
|
10845
|
+
</button>
|
|
10846
|
+
</div>
|
|
10847
|
+
</div>
|
|
10848
|
+
<div class="k-spacer"></div>
|
|
10849
|
+
<div class="k-coloreditor-header-actions k-hstack">
|
|
10850
|
+
<button
|
|
10851
|
+
[tabindex]="innerTabIndex.toString()"
|
|
10852
|
+
*ngIf="clearButton"
|
|
10853
|
+
#clearButton
|
|
10854
|
+
type="button"
|
|
10855
|
+
class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-coloreditor-reset"
|
|
10856
|
+
[attr.aria-label]="getText('clearButton')"
|
|
10857
|
+
[attr.title]="getText('clearButton')"
|
|
10858
|
+
(click)="clearButtonClick.emit()">
|
|
10859
|
+
<span class="k-button-icon k-icon k-i-droplet-slash"></span>
|
|
10860
|
+
</button>
|
|
10861
|
+
<div class="k-coloreditor-preview k-vstack" *ngIf="preview" aria-hidden="true">
|
|
10862
|
+
<span
|
|
10863
|
+
class="k-coloreditor-preview-color k-color-preview"
|
|
10864
|
+
[attr.title]="getText('previewColor')"
|
|
10865
|
+
[style.background-color]="selection">
|
|
10866
|
+
</span>
|
|
10867
|
+
<span class="k-coloreditor-current-color k-color-preview"
|
|
10868
|
+
[style.background-color]="value"
|
|
10869
|
+
[attr.title]="getText('revertSelection')"
|
|
10870
|
+
(click)="valuePaneClick.emit($event)">
|
|
10871
|
+
</span>
|
|
10872
|
+
</div>
|
|
10873
|
+
</div>
|
|
10874
|
+
`
|
|
10875
|
+
}]
|
|
10876
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { hostClasses: [{
|
|
10877
|
+
type: HostBinding,
|
|
10878
|
+
args: ['class.k-coloreditor-header']
|
|
10879
|
+
}, {
|
|
10880
|
+
type: HostBinding,
|
|
10881
|
+
args: ['class.k-hstack']
|
|
10882
|
+
}], clearButton: [{
|
|
10883
|
+
type: Input
|
|
10884
|
+
}], activeView: [{
|
|
10885
|
+
type: Input
|
|
10886
|
+
}], views: [{
|
|
10887
|
+
type: Input
|
|
10888
|
+
}], preview: [{
|
|
10889
|
+
type: Input
|
|
10890
|
+
}], innerTabIndex: [{
|
|
10891
|
+
type: Input
|
|
10892
|
+
}], value: [{
|
|
10893
|
+
type: Input
|
|
10894
|
+
}], selection: [{
|
|
10895
|
+
type: Input
|
|
10896
|
+
}], viewChange: [{
|
|
10897
|
+
type: Output
|
|
10898
|
+
}], valuePaneClick: [{
|
|
10899
|
+
type: Output
|
|
10900
|
+
}], clearButtonClick: [{
|
|
10901
|
+
type: Output
|
|
10902
|
+
}], tabOut: [{
|
|
10903
|
+
type: Output
|
|
10904
|
+
}], viewButtonsCollection: [{
|
|
10905
|
+
type: ViewChildren,
|
|
10906
|
+
args: ['viewButtons', { read: ElementRef }]
|
|
10907
|
+
}], clearButtonElement: [{
|
|
10908
|
+
type: ViewChild,
|
|
10909
|
+
args: ['clearButton', { read: ElementRef }]
|
|
10910
|
+
}] } });
|
|
10911
|
+
|
|
10925
10912
|
/**
|
|
10926
10913
|
* @hidden
|
|
10927
10914
|
*/
|
|
@@ -10937,15 +10924,15 @@ class FlatColorPickerActionButtonsComponent {
|
|
|
10937
10924
|
return this.localizationService.get(text);
|
|
10938
10925
|
}
|
|
10939
10926
|
onActionButtonClick(type, ev) {
|
|
10940
|
-
|
|
10927
|
+
const args = {
|
|
10941
10928
|
target: type,
|
|
10942
10929
|
originalEvent: ev
|
|
10943
10930
|
};
|
|
10944
10931
|
this.actionButtonClick.emit(args);
|
|
10945
10932
|
}
|
|
10946
10933
|
}
|
|
10947
|
-
FlatColorPickerActionButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10948
|
-
FlatColorPickerActionButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
10934
|
+
FlatColorPickerActionButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerActionButtonsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10935
|
+
FlatColorPickerActionButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FlatColorPickerActionButtonsComponent, selector: "[kendoFlatColorPickerActionButtons]", inputs: { innerTabIndex: "innerTabIndex" }, outputs: { actionButtonClick: "actionButtonClick", tabOut: "tabOut" }, host: { properties: { "class.k-coloreditor-footer": "this.hostClasses", "class.k-actions": "this.hostClasses", "class.k-hstack": "this.hostClasses" } }, viewQueries: [{ propertyName: "firstButton", first: true, predicate: ["first"], descendants: true, read: ElementRef }, { propertyName: "lastButton", first: true, predicate: ["last"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
10949
10936
|
<button #first
|
|
10950
10937
|
class="k-coloreditor-cancel k-button k-button-md k-button-solid k-button-solid-base"
|
|
10951
10938
|
[attr.title]="getText('cancelButton')"
|
|
@@ -10962,7 +10949,7 @@ FlatColorPickerActionButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVer
|
|
|
10962
10949
|
(keydown.tab)="$event.preventDefault(); tabOut.emit();"
|
|
10963
10950
|
>{{getText('applyButton')}}</button>
|
|
10964
10951
|
`, isInline: true });
|
|
10965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerActionButtonsComponent, decorators: [{
|
|
10966
10953
|
type: Component,
|
|
10967
10954
|
args: [{
|
|
10968
10955
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -11121,16 +11108,13 @@ class FlatColorPickerComponent {
|
|
|
11121
11108
|
return this.readonly;
|
|
11122
11109
|
}
|
|
11123
11110
|
get hostTabindex() {
|
|
11124
|
-
|
|
11125
|
-
return ((_a = this.tabindex) === null || _a === void 0 ? void 0 : _a.toString()) || '0';
|
|
11111
|
+
return this.tabindex?.toString() || '0';
|
|
11126
11112
|
}
|
|
11127
11113
|
get isControlInvalid() {
|
|
11128
|
-
|
|
11129
|
-
return (_b = ((_a = this.control) === null || _a === void 0 ? void 0 : _a.invalid)) === null || _b === void 0 ? void 0 : _b.toString();
|
|
11114
|
+
return (this.control?.invalid)?.toString();
|
|
11130
11115
|
}
|
|
11131
11116
|
get isDisabled() {
|
|
11132
|
-
|
|
11133
|
-
return ((_a = this.disabled) === null || _a === void 0 ? void 0 : _a.toString()) || undefined;
|
|
11117
|
+
return this.disabled?.toString() || undefined;
|
|
11134
11118
|
}
|
|
11135
11119
|
/**
|
|
11136
11120
|
* @hidden
|
|
@@ -11141,7 +11125,7 @@ class FlatColorPickerComponent {
|
|
|
11141
11125
|
}
|
|
11142
11126
|
event.preventDefault();
|
|
11143
11127
|
this.internalNavigation = true;
|
|
11144
|
-
this.ngZone.onStable.pipe(take(1)).subscribe(() =>
|
|
11128
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => this.firstFocusable?.focus());
|
|
11145
11129
|
}
|
|
11146
11130
|
/**
|
|
11147
11131
|
* @hidden
|
|
@@ -11264,7 +11248,7 @@ class FlatColorPickerComponent {
|
|
|
11264
11248
|
}
|
|
11265
11249
|
ev.preventDefault();
|
|
11266
11250
|
// eslint-disable-next-line no-unused-expressions
|
|
11267
|
-
shiftKey ? previousTabStop
|
|
11251
|
+
shiftKey ? previousTabStop?.focus() : nextTabStop?.focus();
|
|
11268
11252
|
}
|
|
11269
11253
|
/**
|
|
11270
11254
|
* @hidden
|
|
@@ -11322,8 +11306,7 @@ class FlatColorPickerComponent {
|
|
|
11322
11306
|
this.activeViewChange.emit(view);
|
|
11323
11307
|
this.ngZone.runOutsideAngular(() => {
|
|
11324
11308
|
setTimeout(() => {
|
|
11325
|
-
|
|
11326
|
-
(_a = this[this.activeView]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
11309
|
+
this[this.activeView]?.focus();
|
|
11327
11310
|
});
|
|
11328
11311
|
});
|
|
11329
11312
|
if (this.activeView === 'gradient') {
|
|
@@ -11396,10 +11379,10 @@ class FlatColorPickerComponent {
|
|
|
11396
11379
|
}
|
|
11397
11380
|
setSizingVariables() {
|
|
11398
11381
|
const paletteTileSize = this.service.paletteTileLayout(this.paletteSettings.tileSize);
|
|
11399
|
-
const
|
|
11400
|
-
|
|
11401
|
-
|
|
11402
|
-
this.
|
|
11382
|
+
const element = this.host.nativeElement.querySelector('.k-coloreditor-views.k-vstack');
|
|
11383
|
+
this.renderer.setStyle(element, '--kendo-color-preview-columns', this.paletteSettings.columns);
|
|
11384
|
+
this.renderer.setStyle(element, '--kendo-color-preview-width', `${paletteTileSize.width}px`);
|
|
11385
|
+
this.renderer.setStyle(element, '--kendo-color-preview-height', `${paletteTileSize.height}px;`);
|
|
11403
11386
|
}
|
|
11404
11387
|
changeCurrentValue(color) {
|
|
11405
11388
|
this.selection = color;
|
|
@@ -11435,7 +11418,7 @@ class FlatColorPickerComponent {
|
|
|
11435
11418
|
if (!this.host) {
|
|
11436
11419
|
return;
|
|
11437
11420
|
}
|
|
11438
|
-
|
|
11421
|
+
const hostElement = this.host.nativeElement;
|
|
11439
11422
|
this.ngZone.runOutsideAngular(() => {
|
|
11440
11423
|
this.subscriptions.add(this.renderer.listen(hostElement, 'focus', () => {
|
|
11441
11424
|
this.focused = true;
|
|
@@ -11451,8 +11434,8 @@ class FlatColorPickerComponent {
|
|
|
11451
11434
|
this.gradientElement && this.renderer.removeAttribute(this.gradientElement.nativeElement, 'aria-label');
|
|
11452
11435
|
}
|
|
11453
11436
|
}
|
|
11454
|
-
FlatColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11455
|
-
FlatColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11437
|
+
FlatColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerComponent, deps: [{ token: i0.ElementRef }, { token: FlatColorPickerService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
11438
|
+
FlatColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: { readonly: "readonly", disabled: "disabled", format: "format", value: "value", tabindex: "tabindex", clearButton: "clearButton", preview: "preview", actionsLayout: "actionsLayout", activeView: "activeView", views: "views", gradientSettings: "gradientSettings", paletteSettings: "paletteSettings" }, outputs: { valueChange: "valueChange", cancel: "cancel", activeViewChange: "activeViewChange", actionButtonClick: "actionButtonClick" }, host: { listeners: { "keydown.enter": "enterHandler($event)", "keydown.escape": "escapeHandler()", "focusin": "focusHandler($event)" }, properties: { "class.k-flatcolorpicker": "this.hostClasses", "class.k-coloreditor": "this.hostClasses", "class.k-disabled": "this.disabledClass", "attr.aria-disabled": "this.isDisabled", "attr.aria-readonly": "this.ariaReadonly", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabindex", "attr.role": "this.ariaRole", "attr.aria-invalid": "this.isControlInvalid" } }, providers: [
|
|
11456
11439
|
{
|
|
11457
11440
|
multi: true,
|
|
11458
11441
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -11569,7 +11552,7 @@ FlatColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
11569
11552
|
(actionButtonClick)="onAction($event)"
|
|
11570
11553
|
(tabOut)="firstFocusable.focus()"></div>
|
|
11571
11554
|
`, isInline: true, components: [{ type: FlatColorPickerHeaderComponent, selector: "[kendoFlatColorPickerHeader]", inputs: ["clearButton", "activeView", "views", "preview", "innerTabIndex", "value", "selection"], outputs: ["viewChange", "valuePaneClick", "clearButtonClick", "tabOut"] }, { type: ColorGradientComponent, selector: "kendo-colorgradient", inputs: ["id", "opacity", "disabled", "readonly", "clearButton", "delay", "value", "contrastTool", "tabindex", "format", "gradientSliderStep", "gradientSliderSmallStep"], outputs: ["valueChange"], exportAs: ["kendoColorGradient"] }, { type: ColorPaletteComponent, selector: "kendo-colorpalette", inputs: ["id", "format", "value", "columns", "palette", "tabindex", "disabled", "readonly", "tileSize"], outputs: ["selectionChange", "valueChange", "cellSelection"], exportAs: ["kendoColorPalette"] }, { type: FlatColorPickerActionButtonsComponent, selector: "[kendoFlatColorPickerActionButtons]", inputs: ["innerTabIndex"], outputs: ["actionButtonClick", "tabOut"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
11572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatColorPickerComponent, decorators: [{
|
|
11573
11556
|
type: Component,
|
|
11574
11557
|
args: [{
|
|
11575
11558
|
exportAs: 'kendoFlatColorPicker',
|
|
@@ -11943,8 +11926,7 @@ class ColorPickerComponent {
|
|
|
11943
11926
|
return this.tabindex;
|
|
11944
11927
|
}
|
|
11945
11928
|
get isControlInvalid() {
|
|
11946
|
-
|
|
11947
|
-
return (_b = ((_a = this.control) === null || _a === void 0 ? void 0 : _a.invalid)) === null || _b === void 0 ? void 0 : _b.toString();
|
|
11929
|
+
return (this.control?.invalid)?.toString();
|
|
11948
11930
|
}
|
|
11949
11931
|
/**
|
|
11950
11932
|
* @hidden
|
|
@@ -12319,7 +12301,7 @@ class ColorPickerComponent {
|
|
|
12319
12301
|
popupBlurInvalid(ev) {
|
|
12320
12302
|
const focusInFlatColorPickerElement = this.popupRef.popupElement.contains(ev.relatedTarget);
|
|
12321
12303
|
const hostClicked = closest$1(ev.relatedTarget, (element) => element === this.host.nativeElement);
|
|
12322
|
-
return hostClicked || focusInFlatColorPickerElement;
|
|
12304
|
+
return Boolean(hostClicked || focusInFlatColorPickerElement);
|
|
12323
12305
|
}
|
|
12324
12306
|
toggleWithEvents(open) {
|
|
12325
12307
|
const sameState = this.isOpen === open;
|
|
@@ -12413,7 +12395,7 @@ class ColorPickerComponent {
|
|
|
12413
12395
|
if (!this.host) {
|
|
12414
12396
|
return;
|
|
12415
12397
|
}
|
|
12416
|
-
|
|
12398
|
+
const hostElement = this.host.nativeElement;
|
|
12417
12399
|
this.ngZone.runOutsideAngular(() => {
|
|
12418
12400
|
this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
|
|
12419
12401
|
this.handleWrapperFocus();
|
|
@@ -12451,8 +12433,8 @@ class ColorPickerComponent {
|
|
|
12451
12433
|
}
|
|
12452
12434
|
}
|
|
12453
12435
|
}
|
|
12454
|
-
ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12455
|
-
ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
12436
|
+
ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerComponent, deps: [{ token: i0.ElementRef }, { token: i1$3.PopupService }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
12437
|
+
ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: { views: "views", view: "view", activeView: "activeView", readonly: "readonly", disabled: "disabled", format: "format", value: "value", popupSettings: "popupSettings", paletteSettings: "paletteSettings", gradientSettings: "gradientSettings", icon: "icon", iconClass: "iconClass", clearButton: "clearButton", tabindex: "tabindex", preview: "preview", actionsLayout: "actionsLayout", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", cancel: "cancel", activeColorClick: "activeColorClick", activeViewChange: "activeViewChange" }, host: { properties: { "class.k-colorpicker": "this.hostClasses", "class.k-icon-picker": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-focus": "this.focusedClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-readonly": "this.ariaReadonly", "attr.aria-expanded": "this.ariaExpanded", "attr.tabindex": "this.hostTabindex", "attr.dir": "this.direction", "attr.role": "this.role", "attr.aria-haspopup": "this.hasPopup", "attr.aria-invalid": "this.isControlInvalid" } }, providers: [{
|
|
12456
12438
|
multi: true,
|
|
12457
12439
|
provide: NG_VALUE_ACCESSOR,
|
|
12458
12440
|
useExisting: forwardRef(() => ColorPickerComponent)
|
|
@@ -12558,7 +12540,7 @@ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
12558
12540
|
</ng-template>
|
|
12559
12541
|
<ng-container #container></ng-container>
|
|
12560
12542
|
`, isInline: true, components: [{ type: FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "paletteSettings"], outputs: ["valueChange", "cancel", "activeViewChange", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }], directives: [{ type: LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
12561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerComponent, decorators: [{
|
|
12562
12544
|
type: Component,
|
|
12563
12545
|
args: [{
|
|
12564
12546
|
exportAs: 'kendoColorPicker',
|
|
@@ -12791,14 +12773,14 @@ class ColorPickerCustomMessagesComponent extends ColorPickerMessages {
|
|
|
12791
12773
|
return true;
|
|
12792
12774
|
}
|
|
12793
12775
|
}
|
|
12794
|
-
ColorPickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12795
|
-
ColorPickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
12776
|
+
ColorPickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12777
|
+
ColorPickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorPickerCustomMessagesComponent, selector: "kendo-colorpicker-messages, kendo-flatcolorpicker-messages, kendo-colorgradient-messages, kendo-colorpalette-messages", providers: [
|
|
12796
12778
|
{
|
|
12797
12779
|
provide: ColorPickerMessages,
|
|
12798
12780
|
useExisting: forwardRef(() => ColorPickerCustomMessagesComponent)
|
|
12799
12781
|
}
|
|
12800
12782
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
12801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerCustomMessagesComponent, decorators: [{
|
|
12802
12784
|
type: Component,
|
|
12803
12785
|
args: [{
|
|
12804
12786
|
providers: [
|
|
@@ -12827,9 +12809,9 @@ class FocusOnDomReadyDirective {
|
|
|
12827
12809
|
this.ngZone.runOutsideAngular(() => setTimeout(() => this.host.nativeElement.focus()));
|
|
12828
12810
|
}
|
|
12829
12811
|
}
|
|
12830
|
-
FocusOnDomReadyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12831
|
-
FocusOnDomReadyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
12832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12812
|
+
FocusOnDomReadyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusOnDomReadyDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12813
|
+
FocusOnDomReadyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FocusOnDomReadyDirective, selector: "[kendoFocusOnDomReady]", ngImport: i0 });
|
|
12814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FocusOnDomReadyDirective, decorators: [{
|
|
12833
12815
|
type: Directive,
|
|
12834
12816
|
args: [{
|
|
12835
12817
|
selector: '[kendoFocusOnDomReady]'
|
|
@@ -12855,13 +12837,13 @@ const INTERNAL_DIRECTIVES = [
|
|
|
12855
12837
|
ColorContrastSvgComponent
|
|
12856
12838
|
];
|
|
12857
12839
|
/**
|
|
12858
|
-
* Represents the [NgModule](
|
|
12840
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
12859
12841
|
* definition for the ColorPicker.
|
|
12860
12842
|
*/
|
|
12861
12843
|
class ColorPickerModule {
|
|
12862
12844
|
}
|
|
12863
|
-
ColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12864
|
-
ColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
12845
|
+
ColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12846
|
+
ColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerModule, declarations: [ColorPickerComponent,
|
|
12865
12847
|
ColorPaletteComponent,
|
|
12866
12848
|
ColorGradientComponent,
|
|
12867
12849
|
FlatColorPickerComponent,
|
|
@@ -12883,14 +12865,14 @@ ColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
12883
12865
|
FlatColorPickerComponent,
|
|
12884
12866
|
LocalizedColorPickerMessagesDirective,
|
|
12885
12867
|
ColorPickerCustomMessagesComponent] });
|
|
12886
|
-
ColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12868
|
+
ColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerModule, imports: [[
|
|
12887
12869
|
SliderModule,
|
|
12888
12870
|
NumericTextBoxModule,
|
|
12889
12871
|
CommonModule,
|
|
12890
12872
|
PopupModule,
|
|
12891
12873
|
DraggableModule
|
|
12892
12874
|
]] });
|
|
12893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerModule, decorators: [{
|
|
12894
12876
|
type: NgModule,
|
|
12895
12877
|
args: [{
|
|
12896
12878
|
declarations: [
|
|
@@ -12980,9 +12962,9 @@ class CheckBoxDirective {
|
|
|
12980
12962
|
}
|
|
12981
12963
|
}
|
|
12982
12964
|
}
|
|
12983
|
-
CheckBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12984
|
-
CheckBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
12985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12965
|
+
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 });
|
|
12966
|
+
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 });
|
|
12967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxDirective, decorators: [{
|
|
12986
12968
|
type: Directive,
|
|
12987
12969
|
args: [{
|
|
12988
12970
|
selector: 'input[kendoCheckBox]'
|
|
@@ -12997,7 +12979,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12997
12979
|
}] } });
|
|
12998
12980
|
|
|
12999
12981
|
/**
|
|
13000
|
-
* Represents the [NgModule](
|
|
12982
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
13001
12983
|
* definition for the CheckBox directive.
|
|
13002
12984
|
*
|
|
13003
12985
|
* @example
|
|
@@ -13029,10 +13011,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13029
13011
|
*/
|
|
13030
13012
|
class CheckBoxModule {
|
|
13031
13013
|
}
|
|
13032
|
-
CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13033
|
-
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
13034
|
-
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13035
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13014
|
+
CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13015
|
+
CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, declarations: [CheckBoxDirective], imports: [CommonModule], exports: [CheckBoxDirective] });
|
|
13016
|
+
CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, imports: [[CommonModule]] });
|
|
13017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, decorators: [{
|
|
13036
13018
|
type: NgModule,
|
|
13037
13019
|
args: [{
|
|
13038
13020
|
declarations: [CheckBoxDirective],
|
|
@@ -13095,9 +13077,9 @@ class RadioButtonDirective {
|
|
|
13095
13077
|
}
|
|
13096
13078
|
}
|
|
13097
13079
|
}
|
|
13098
|
-
RadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13099
|
-
RadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13080
|
+
RadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioButtonDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13081
|
+
RadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: RadioButtonDirective, selector: "input[kendoRadioButton]", inputs: { size: "size" }, host: { properties: { "class.k-radio": "this.kendoClass" } }, ngImport: i0 });
|
|
13082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioButtonDirective, decorators: [{
|
|
13101
13083
|
type: Directive,
|
|
13102
13084
|
args: [{
|
|
13103
13085
|
selector: 'input[kendoRadioButton]'
|
|
@@ -13110,7 +13092,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13110
13092
|
}] } });
|
|
13111
13093
|
|
|
13112
13094
|
/**
|
|
13113
|
-
* Represents the [NgModule](
|
|
13095
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
13114
13096
|
* definition for the RadioButton directive.
|
|
13115
13097
|
*
|
|
13116
13098
|
* @example
|
|
@@ -13142,10 +13124,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13142
13124
|
*/
|
|
13143
13125
|
class RadioButtonModule {
|
|
13144
13126
|
}
|
|
13145
|
-
RadioButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13146
|
-
RadioButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
13147
|
-
RadioButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13127
|
+
RadioButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13128
|
+
RadioButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioButtonModule, declarations: [RadioButtonDirective], imports: [CommonModule], exports: [RadioButtonDirective] });
|
|
13129
|
+
RadioButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioButtonModule, imports: [[CommonModule]] });
|
|
13130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioButtonModule, decorators: [{
|
|
13149
13131
|
type: NgModule,
|
|
13150
13132
|
args: [{
|
|
13151
13133
|
declarations: [RadioButtonDirective],
|
|
@@ -13186,11 +13168,11 @@ class ErrorComponent {
|
|
|
13186
13168
|
return this.id;
|
|
13187
13169
|
}
|
|
13188
13170
|
}
|
|
13189
|
-
ErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13190
|
-
ErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13171
|
+
ErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13172
|
+
ErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ErrorComponent, selector: "kendo-formerror", inputs: { align: "align" }, host: { properties: { "class.k-form-error": "this.hostClass", "attr.role": "this.roleAttribute", "class.k-text-start": "this.startClass", "class.k-text-end": "this.endClass", "attr.id": "this.idAttribute" } }, ngImport: i0, template: `
|
|
13191
13173
|
<ng-content></ng-content>
|
|
13192
13174
|
`, isInline: true });
|
|
13193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ErrorComponent, decorators: [{
|
|
13194
13176
|
type: Component,
|
|
13195
13177
|
args: [{
|
|
13196
13178
|
selector: 'kendo-formerror',
|
|
@@ -13247,11 +13229,11 @@ class HintComponent {
|
|
|
13247
13229
|
return this.id;
|
|
13248
13230
|
}
|
|
13249
13231
|
}
|
|
13250
|
-
HintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13251
|
-
HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13232
|
+
HintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13233
|
+
HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: HintComponent, selector: "kendo-formhint", inputs: { align: "align" }, host: { properties: { "class.k-form-hint": "this.hostClass", "class.k-text-start": "this.startClass", "class.k-text-end": "this.endClass", "attr.id": "this.idAttribute" } }, ngImport: i0, template: `
|
|
13252
13234
|
<ng-content></ng-content>
|
|
13253
13235
|
`, isInline: true });
|
|
13254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HintComponent, decorators: [{
|
|
13255
13237
|
type: Component,
|
|
13256
13238
|
args: [{
|
|
13257
13239
|
selector: 'kendo-formhint',
|
|
@@ -13474,8 +13456,8 @@ class FormFieldComponent {
|
|
|
13474
13456
|
this.subscriptions.add(this.hintChildren.changes.subscribe(() => this.updateDescription()));
|
|
13475
13457
|
}
|
|
13476
13458
|
}
|
|
13477
|
-
FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13478
|
-
FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13459
|
+
FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormFieldComponent, deps: [{ token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13460
|
+
FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormFieldComponent, selector: "kendo-formfield", inputs: { showHints: "showHints", orientation: "orientation", showErrors: "showErrors" }, host: { properties: { "class.k-form-field": "this.hostClass", "attr.dir": "this.direction", "class.k-form-field-error": "this.errorClass", "class.k-form-field-disabled": "this.disabledClass" } }, providers: [
|
|
13479
13461
|
LocalizationService,
|
|
13480
13462
|
{
|
|
13481
13463
|
provide: L10N_PREFIX,
|
|
@@ -13489,7 +13471,7 @@ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
13489
13471
|
<ng-content select="kendo-formerror" *ngIf="hasErrors"></ng-content>
|
|
13490
13472
|
</div>
|
|
13491
13473
|
`, isInline: true, directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
13492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
13493
13475
|
type: Component,
|
|
13494
13476
|
args: [{
|
|
13495
13477
|
selector: 'kendo-formfield',
|
|
@@ -13545,7 +13527,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13545
13527
|
}] } });
|
|
13546
13528
|
|
|
13547
13529
|
/**
|
|
13548
|
-
* Represents the [NgModule](
|
|
13530
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
13549
13531
|
* definition for the FormField, Error and Hint components.
|
|
13550
13532
|
*
|
|
13551
13533
|
* @example
|
|
@@ -13577,10 +13559,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13577
13559
|
*/
|
|
13578
13560
|
class FormFieldModule {
|
|
13579
13561
|
}
|
|
13580
|
-
FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13581
|
-
FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
13582
|
-
FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13562
|
+
FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13563
|
+
FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormFieldModule, declarations: [HintComponent, ErrorComponent, FormFieldComponent], imports: [CommonModule], exports: [HintComponent, ErrorComponent, FormFieldComponent] });
|
|
13564
|
+
FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormFieldModule, imports: [[CommonModule]] });
|
|
13565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormFieldModule, decorators: [{
|
|
13584
13566
|
type: NgModule,
|
|
13585
13567
|
args: [{
|
|
13586
13568
|
declarations: [HintComponent, ErrorComponent, FormFieldComponent],
|
|
@@ -13594,9 +13576,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13594
13576
|
*/
|
|
13595
13577
|
class SignatureMessages extends ComponentMessages {
|
|
13596
13578
|
}
|
|
13597
|
-
SignatureMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13598
|
-
SignatureMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13579
|
+
SignatureMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
13580
|
+
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 });
|
|
13581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureMessages, decorators: [{
|
|
13600
13582
|
type: Directive,
|
|
13601
13583
|
args: [{
|
|
13602
13584
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -13624,14 +13606,14 @@ class SignatureCustomMessagesComponent extends SignatureMessages {
|
|
|
13624
13606
|
return true;
|
|
13625
13607
|
}
|
|
13626
13608
|
}
|
|
13627
|
-
SignatureCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13628
|
-
SignatureCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13609
|
+
SignatureCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13610
|
+
SignatureCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SignatureCustomMessagesComponent, selector: "kendo-signature-messages", providers: [
|
|
13629
13611
|
{
|
|
13630
13612
|
provide: SignatureMessages,
|
|
13631
13613
|
useExisting: forwardRef(() => SignatureCustomMessagesComponent)
|
|
13632
13614
|
}
|
|
13633
13615
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
13634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureCustomMessagesComponent, decorators: [{
|
|
13635
13617
|
type: Component,
|
|
13636
13618
|
args: [{
|
|
13637
13619
|
providers: [
|
|
@@ -13654,14 +13636,14 @@ class LocalizedSignatureMessagesDirective extends SignatureMessages {
|
|
|
13654
13636
|
this.service = service;
|
|
13655
13637
|
}
|
|
13656
13638
|
}
|
|
13657
|
-
LocalizedSignatureMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13658
|
-
LocalizedSignatureMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13639
|
+
LocalizedSignatureMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSignatureMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13640
|
+
LocalizedSignatureMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]", providers: [
|
|
13659
13641
|
{
|
|
13660
13642
|
provide: SignatureMessages,
|
|
13661
13643
|
useExisting: forwardRef(() => LocalizedSignatureMessagesDirective)
|
|
13662
13644
|
}
|
|
13663
13645
|
], usesInheritance: true, ngImport: i0 });
|
|
13664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedSignatureMessagesDirective, decorators: [{
|
|
13665
13647
|
type: Directive,
|
|
13666
13648
|
args: [{
|
|
13667
13649
|
providers: [
|
|
@@ -13973,11 +13955,19 @@ class SignatureComponent {
|
|
|
13973
13955
|
});
|
|
13974
13956
|
}
|
|
13975
13957
|
ngAfterViewInit() {
|
|
13958
|
+
if (!isDocumentAvailable()) {
|
|
13959
|
+
return;
|
|
13960
|
+
}
|
|
13976
13961
|
this.applyHostClasses();
|
|
13977
13962
|
this.readThemeColors();
|
|
13978
13963
|
this.ngZone.runOutsideAngular(() => {
|
|
13979
13964
|
const element = this.canvas.nativeElement;
|
|
13980
|
-
this.instance = new SignaturePad(element,
|
|
13965
|
+
this.instance = new SignaturePad(element, {
|
|
13966
|
+
...this.options,
|
|
13967
|
+
onChange: () => this.onValueChange(),
|
|
13968
|
+
onDraw: () => this.onDraw(),
|
|
13969
|
+
onDrawEnd: () => this.onDrawEnd()
|
|
13970
|
+
});
|
|
13981
13971
|
if (this.value) {
|
|
13982
13972
|
this.instance.loadImage(this.value);
|
|
13983
13973
|
}
|
|
@@ -14014,18 +14004,16 @@ class SignatureComponent {
|
|
|
14014
14004
|
/**
|
|
14015
14005
|
* @hidden
|
|
14016
14006
|
*/
|
|
14017
|
-
onValueChange() {
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
this.
|
|
14026
|
-
|
|
14027
|
-
this.notifyNgChanged(value);
|
|
14028
|
-
});
|
|
14007
|
+
async onValueChange() {
|
|
14008
|
+
const value = await this.instance.exportImage({
|
|
14009
|
+
width: this.baseWidth * this.exportScale,
|
|
14010
|
+
height: this.baseHeight * this.exportScale
|
|
14011
|
+
});
|
|
14012
|
+
this._value = value;
|
|
14013
|
+
this.cd.markForCheck();
|
|
14014
|
+
this.ngZone.run(() => {
|
|
14015
|
+
this.valueChange.emit(value);
|
|
14016
|
+
this.notifyNgChanged(value);
|
|
14029
14017
|
});
|
|
14030
14018
|
}
|
|
14031
14019
|
/**
|
|
@@ -14041,44 +14029,40 @@ class SignatureComponent {
|
|
|
14041
14029
|
* @hidden
|
|
14042
14030
|
*/
|
|
14043
14031
|
onDialogClick(e) {
|
|
14044
|
-
var _a;
|
|
14045
14032
|
if (e.target.classList.contains('k-overlay')) {
|
|
14046
14033
|
this.isOpen = false;
|
|
14047
|
-
|
|
14034
|
+
this.maximizeButton?.nativeElement.focus();
|
|
14048
14035
|
}
|
|
14049
14036
|
}
|
|
14050
14037
|
/**
|
|
14051
14038
|
* @hidden
|
|
14052
14039
|
*/
|
|
14053
14040
|
onDialogKeydown(e) {
|
|
14054
|
-
var _a;
|
|
14055
14041
|
if (e.keyCode === Keys.Escape) {
|
|
14056
14042
|
this.isOpen = false;
|
|
14057
14043
|
this.cd.detectChanges();
|
|
14058
|
-
|
|
14044
|
+
this.maximizeButton?.nativeElement.focus();
|
|
14059
14045
|
}
|
|
14060
14046
|
}
|
|
14061
14047
|
/**
|
|
14062
14048
|
* @hidden
|
|
14063
14049
|
*/
|
|
14064
14050
|
onDialogClose() {
|
|
14065
|
-
var _a;
|
|
14066
14051
|
const args = new SignatureCloseEvent();
|
|
14067
14052
|
this.close.next(args);
|
|
14068
14053
|
if (!args.isDefaultPrevented()) {
|
|
14069
14054
|
this.isOpen = false;
|
|
14070
|
-
|
|
14055
|
+
this.maximizeButton?.nativeElement.focus();
|
|
14071
14056
|
}
|
|
14072
14057
|
}
|
|
14073
14058
|
/**
|
|
14074
14059
|
* Clears the value of the Signature.
|
|
14075
14060
|
*/
|
|
14076
14061
|
reset() {
|
|
14077
|
-
var _a;
|
|
14078
14062
|
if (!isPresent(this.value)) {
|
|
14079
14063
|
return;
|
|
14080
14064
|
}
|
|
14081
|
-
|
|
14065
|
+
this.instance?.clear();
|
|
14082
14066
|
this.value = this._value = undefined;
|
|
14083
14067
|
this.notifyNgChanged(undefined);
|
|
14084
14068
|
}
|
|
@@ -14098,19 +14082,17 @@ class SignatureComponent {
|
|
|
14098
14082
|
/**
|
|
14099
14083
|
* @hidden
|
|
14100
14084
|
*/
|
|
14101
|
-
onMaximize() {
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
this.
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
}
|
|
14113
|
-
});
|
|
14085
|
+
async onMaximize() {
|
|
14086
|
+
const args = new SignatureOpenEvent();
|
|
14087
|
+
this.open.next(args);
|
|
14088
|
+
if (!args.isDefaultPrevented()) {
|
|
14089
|
+
this.popupValue = await this.instance.exportImage({
|
|
14090
|
+
width: this.popupWidth * this.exportScale,
|
|
14091
|
+
height: this.popupHeight * this.exportScale
|
|
14092
|
+
});
|
|
14093
|
+
this.isOpen = true;
|
|
14094
|
+
this.cd.detectChanges();
|
|
14095
|
+
}
|
|
14114
14096
|
}
|
|
14115
14097
|
/**
|
|
14116
14098
|
* @hidden
|
|
@@ -14241,8 +14223,8 @@ class SignatureComponent {
|
|
|
14241
14223
|
return this.localization.get(key);
|
|
14242
14224
|
}
|
|
14243
14225
|
}
|
|
14244
|
-
SignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14245
|
-
SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14226
|
+
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 });
|
|
14227
|
+
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: [
|
|
14246
14228
|
LocalizationService,
|
|
14247
14229
|
{ provide: L10N_PREFIX, useValue: 'kendo.signature' },
|
|
14248
14230
|
{ multi: true, provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SignatureComponent) }
|
|
@@ -14335,8 +14317,8 @@ SignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
14335
14317
|
[parentLocalization]="localization">
|
|
14336
14318
|
</kendo-signature>
|
|
14337
14319
|
</kendo-dialog>
|
|
14338
|
-
`, 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: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }
|
|
14339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14320
|
+
`, 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$1.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: LocalizedSignatureMessagesDirective, selector: "[kendoSignatureLocalizedMessages]" }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureComponent, decorators: [{
|
|
14340
14322
|
type: Component,
|
|
14341
14323
|
args: [{
|
|
14342
14324
|
exportAs: 'kendoSignature',
|
|
@@ -14520,7 +14502,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14520
14502
|
}] } });
|
|
14521
14503
|
|
|
14522
14504
|
/**
|
|
14523
|
-
* Represents the [NgModule](
|
|
14505
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14524
14506
|
* definition for the Signature component.
|
|
14525
14507
|
*
|
|
14526
14508
|
* @example
|
|
@@ -14552,19 +14534,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14552
14534
|
*/
|
|
14553
14535
|
class SignatureModule {
|
|
14554
14536
|
}
|
|
14555
|
-
SignatureModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14556
|
-
SignatureModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14537
|
+
SignatureModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14538
|
+
SignatureModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureModule, declarations: [SignatureComponent,
|
|
14557
14539
|
SignatureCustomMessagesComponent,
|
|
14558
14540
|
LocalizedSignatureMessagesDirective], imports: [ButtonModule,
|
|
14559
14541
|
CommonModule,
|
|
14560
14542
|
DialogsModule], exports: [SignatureComponent,
|
|
14561
14543
|
SignatureCustomMessagesComponent] });
|
|
14562
|
-
SignatureModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14544
|
+
SignatureModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureModule, imports: [[
|
|
14563
14545
|
ButtonModule,
|
|
14564
14546
|
CommonModule,
|
|
14565
14547
|
DialogsModule
|
|
14566
14548
|
]] });
|
|
14567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SignatureModule, decorators: [{
|
|
14568
14550
|
type: NgModule,
|
|
14569
14551
|
args: [{
|
|
14570
14552
|
declarations: [
|
|
@@ -14585,7 +14567,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14585
14567
|
}] });
|
|
14586
14568
|
|
|
14587
14569
|
/**
|
|
14588
|
-
* Represents the [NgModule](
|
|
14570
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14589
14571
|
* definition for the Inputs components.
|
|
14590
14572
|
*
|
|
14591
14573
|
* @example
|
|
@@ -14618,8 +14600,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14618
14600
|
*/
|
|
14619
14601
|
class InputsModule {
|
|
14620
14602
|
}
|
|
14621
|
-
InputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14622
|
-
InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14603
|
+
InputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14604
|
+
InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputsModule, imports: [CommonModule], exports: [TextAreaModule,
|
|
14623
14605
|
TextBoxModule,
|
|
14624
14606
|
SliderModule,
|
|
14625
14607
|
RangeSliderModule,
|
|
@@ -14631,7 +14613,7 @@ InputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
14631
14613
|
RadioButtonModule,
|
|
14632
14614
|
FormFieldModule,
|
|
14633
14615
|
SignatureModule] });
|
|
14634
|
-
InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14616
|
+
InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputsModule, imports: [[CommonModule], TextAreaModule,
|
|
14635
14617
|
TextBoxModule,
|
|
14636
14618
|
SliderModule,
|
|
14637
14619
|
RangeSliderModule,
|
|
@@ -14643,7 +14625,7 @@ InputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
14643
14625
|
RadioButtonModule,
|
|
14644
14626
|
FormFieldModule,
|
|
14645
14627
|
SignatureModule] });
|
|
14646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: InputsModule, decorators: [{
|
|
14647
14629
|
type: NgModule,
|
|
14648
14630
|
args: [{
|
|
14649
14631
|
exports: [
|