@progress/kendo-angular-inputs 14.4.0-develop.2 → 14.4.0-develop.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/NOTICE.txt +147 -594
- package/README.md +1 -1
- package/checkbox/checkbox.directive.d.ts +1 -1
- package/checkbox.module.d.ts +1 -1
- 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 +2 -2
- package/colorpicker/color-input.component.d.ts +1 -1
- package/colorpicker/color-palette.component.d.ts +2 -2
- package/colorpicker/colorpicker.component.d.ts +2 -2
- package/colorpicker/constants.d.ts +1 -1
- 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 +2 -2
- 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 +1 -1
- 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/type.d.ts +1 -1
- package/common/models.d.ts +1 -1
- package/common/utils.d.ts +1 -1
- package/esm2020/checkbox/checkbox.directive.mjs +1 -1
- package/esm2020/checkbox.module.mjs +1 -1
- package/esm2020/colorpicker/color-contrast-svg.component.mjs +1 -1
- package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +1 -1
- package/esm2020/colorpicker/color-gradient.component.mjs +2 -2
- package/esm2020/colorpicker/color-input.component.mjs +2 -2
- package/esm2020/colorpicker/color-palette.component.mjs +2 -2
- package/esm2020/colorpicker/colorpicker.component.mjs +2 -2
- package/esm2020/colorpicker/constants.mjs +1 -1
- package/esm2020/colorpicker/contrast-validation.component.mjs +1 -1
- package/esm2020/colorpicker/contrast.component.mjs +1 -1
- package/esm2020/colorpicker/events/active-color-click-event.mjs +1 -1
- package/esm2020/colorpicker/events/cancel-event.mjs +1 -1
- package/esm2020/colorpicker/events/close-event.mjs +1 -1
- package/esm2020/colorpicker/events/kendo-drag-event.mjs +1 -1
- package/esm2020/colorpicker/events/open-event.mjs +1 -1
- package/esm2020/colorpicker/events.mjs +1 -1
- package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +1 -1
- package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +1 -1
- package/esm2020/colorpicker/flatcolorpicker.component.mjs +2 -2
- package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +1 -1
- package/esm2020/colorpicker/localization/colorgradient-localization.service.mjs +1 -1
- package/esm2020/colorpicker/localization/colorpalette-localization.service.mjs +1 -1
- package/esm2020/colorpicker/localization/colorpicker-localization.service.mjs +1 -1
- package/esm2020/colorpicker/localization/custom-messages.component.mjs +1 -1
- package/esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs +1 -1
- package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +1 -1
- package/esm2020/colorpicker/localization/messages.mjs +1 -1
- package/esm2020/colorpicker/models/actions-layout.mjs +1 -1
- package/esm2020/colorpicker/models/colorpicker-view.mjs +1 -1
- package/esm2020/colorpicker/models/gradient-settings.mjs +1 -1
- package/esm2020/colorpicker/models/hsva.mjs +1 -1
- package/esm2020/colorpicker/models/output-format.mjs +1 -1
- package/esm2020/colorpicker/models/palette-presets.mjs +1 -1
- package/esm2020/colorpicker/models/palette-settings.mjs +1 -1
- package/esm2020/colorpicker/models/popup-settings.mjs +1 -1
- package/esm2020/colorpicker/models/rgb.mjs +1 -1
- package/esm2020/colorpicker/models/rgba.mjs +1 -1
- package/esm2020/colorpicker/models/table-cell.mjs +1 -1
- package/esm2020/colorpicker/models/tile-size.mjs +1 -1
- package/esm2020/colorpicker/models.mjs +1 -1
- package/esm2020/colorpicker/services/color-palette.service.mjs +1 -1
- package/esm2020/colorpicker/services/flatcolorpicker.service.mjs +1 -1
- package/esm2020/colorpicker/utils/color-parser.mjs +1 -1
- package/esm2020/colorpicker/utils/contrast-curve.mjs +1 -1
- package/esm2020/colorpicker/utils.mjs +1 -1
- package/esm2020/colorpicker.module.mjs +1 -1
- package/esm2020/common/dom-utils.mjs +1 -1
- package/esm2020/common/math.mjs +1 -1
- package/esm2020/common/models/fillmode.mjs +1 -1
- package/esm2020/common/models/rounded.mjs +1 -1
- package/esm2020/common/models/size.mjs +1 -1
- package/esm2020/common/models/styling-classes.mjs +1 -1
- package/esm2020/common/models/type.mjs +1 -1
- package/esm2020/common/models.mjs +1 -1
- package/esm2020/common/utils.mjs +1 -1
- package/esm2020/formfield/error.component.mjs +1 -1
- package/esm2020/formfield/formfield.component.mjs +1 -1
- package/esm2020/formfield/hint.component.mjs +1 -1
- package/esm2020/formfield/models/message-align.mjs +1 -1
- package/esm2020/formfield/models/orientation.mjs +1 -1
- package/esm2020/formfield/models/show-options.mjs +1 -1
- package/esm2020/formfield.module.mjs +1 -1
- package/esm2020/index.mjs +5 -1
- package/esm2020/inputs.module.mjs +1 -1
- package/esm2020/maskedtextbox/maskedtextbox.component.mjs +146 -58
- package/esm2020/maskedtextbox/masking.service.mjs +1 -1
- package/esm2020/maskedtextbox/parsing/combinators.mjs +1 -1
- package/esm2020/maskedtextbox/parsing/parsers.mjs +1 -1
- package/esm2020/maskedtextbox/parsing/result.mjs +1 -1
- package/esm2020/maskedtextbox/parsing/stream.mjs +1 -1
- package/esm2020/maskedtextbox.module.mjs +31 -7
- package/esm2020/numerictextbox/arrow-direction.mjs +1 -1
- package/esm2020/numerictextbox/constants.mjs +1 -1
- package/esm2020/numerictextbox/localization/custom-messages.component.mjs +1 -1
- package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +1 -1
- package/esm2020/numerictextbox/localization/messages.mjs +1 -1
- package/esm2020/numerictextbox/numerictextbox.component.mjs +188 -93
- package/esm2020/numerictextbox/utils.mjs +1 -1
- package/esm2020/numerictextbox.module.mjs +11 -7
- package/esm2020/package-metadata.mjs +3 -3
- package/esm2020/progress-kendo-angular-inputs.mjs +1 -1
- package/esm2020/radiobutton/radiobutton.directive.mjs +1 -1
- package/esm2020/radiobutton.module.mjs +1 -1
- package/esm2020/rangeslider/localization/custom-messages.component.mjs +1 -1
- package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +1 -1
- package/esm2020/rangeslider/localization/messages.mjs +1 -1
- package/esm2020/rangeslider/rangeslider-model.mjs +1 -1
- package/esm2020/rangeslider/rangeslider-value.type.mjs +1 -1
- package/esm2020/rangeslider/rangeslider.component.mjs +1 -1
- package/esm2020/rangeslider.module.mjs +1 -1
- package/esm2020/shared/input-separator.component.mjs +22 -4
- package/esm2020/shared/shared-events.directive.mjs +95 -0
- package/esm2020/shared/textarea.directive.mjs +1 -1
- package/esm2020/shared/utils.mjs +1 -1
- package/esm2020/shared-events.module.mjs +22 -0
- package/esm2020/shared.module.mjs +1 -1
- package/esm2020/signature/events/close-event.mjs +1 -1
- package/esm2020/signature/events/index.mjs +1 -1
- package/esm2020/signature/events/open-event.mjs +1 -1
- package/esm2020/signature/localization/custom-messages.component.mjs +1 -1
- package/esm2020/signature/localization/index.mjs +1 -1
- package/esm2020/signature/localization/localized-signature-messages.directive.mjs +1 -1
- package/esm2020/signature/localization/messages.mjs +1 -1
- package/esm2020/signature/signature.component.mjs +2 -2
- package/esm2020/signature.module.mjs +1 -1
- package/esm2020/slider/localization/custom-messages.component.mjs +1 -1
- package/esm2020/slider/localization/localized-slider-messages.directive.mjs +1 -1
- package/esm2020/slider/localization/messages.mjs +1 -1
- package/esm2020/slider/slider-model.mjs +1 -1
- package/esm2020/slider/slider.component.mjs +1 -1
- package/esm2020/slider.module.mjs +1 -1
- package/esm2020/sliders-common/label-template.directive.mjs +1 -1
- package/esm2020/sliders-common/slider-base.mjs +2 -2
- package/esm2020/sliders-common/slider-model.base.mjs +1 -1
- package/esm2020/sliders-common/slider-ticks.component.mjs +1 -1
- package/esm2020/sliders-common/sliders-common.module.mjs +1 -1
- package/esm2020/sliders-common/sliders-util.mjs +1 -1
- package/esm2020/sliders-common/title-callback.mjs +1 -1
- package/esm2020/switch/events/blur-event.mjs +1 -1
- package/esm2020/switch/events/focus-event.mjs +1 -1
- package/esm2020/switch/localization/custom-messages.component.mjs +1 -1
- package/esm2020/switch/localization/localized-switch-messages.directive.mjs +1 -1
- package/esm2020/switch/localization/messages.mjs +1 -1
- package/esm2020/switch/switch.component.mjs +2 -2
- package/esm2020/switch.module.mjs +1 -1
- package/esm2020/text-fields-common/text-fields-base.mjs +2 -2
- package/esm2020/textarea/models/adornments-orientation.mjs +5 -0
- package/esm2020/textarea/models/flow.mjs +1 -1
- package/esm2020/textarea/models/resize.mjs +1 -1
- package/esm2020/textarea/textarea-prefix.component.mjs +70 -0
- package/esm2020/textarea/textarea-suffix.component.mjs +34 -4
- package/esm2020/textarea/textarea.component.mjs +199 -132
- package/esm2020/textarea.module.mjs +15 -6
- package/esm2020/textbox/localization/custom-messages.component.mjs +1 -1
- package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +1 -1
- package/esm2020/textbox/localization/messages.mjs +1 -1
- package/esm2020/textbox/models/icon-show-options.mjs +1 -1
- package/esm2020/textbox/textbox-prefix.directive.mjs +18 -4
- package/esm2020/textbox/textbox-suffix.directive.mjs +18 -4
- package/esm2020/textbox/textbox.component.mjs +207 -205
- package/esm2020/textbox/textbox.directive.mjs +1 -1
- package/esm2020/textbox.module.mjs +10 -6
- package/esm2020/validators/max.validator.mjs +1 -1
- package/esm2020/validators/min.validator.mjs +1 -1
- package/fesm2015/progress-kendo-angular-inputs.mjs +1143 -621
- package/fesm2020/progress-kendo-angular-inputs.mjs +1143 -621
- 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 +1 -1
- package/index.d.ts +7 -1
- package/inputs.module.d.ts +1 -1
- package/maskedtextbox/maskedtextbox.component.d.ts +39 -8
- 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 +4 -2
- package/numerictextbox/arrow-direction.d.ts +1 -1
- package/numerictextbox/constants.d.ts +1 -1
- 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 +40 -9
- package/numerictextbox/utils.d.ts +1 -1
- package/numerictextbox.module.d.ts +4 -2
- package/package-metadata.d.ts +1 -1
- package/package.json +11 -11
- package/progress-kendo-angular-inputs.d.ts +1 -1
- package/radiobutton/radiobutton.directive.d.ts +1 -1
- package/radiobutton.module.d.ts +1 -1
- 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 +1 -1
- package/shared/input-separator.component.d.ts +9 -2
- package/shared/shared-events.directive.d.ts +27 -0
- package/shared/textarea.directive.d.ts +1 -1
- package/shared/utils.d.ts +1 -1
- package/shared-events.module.d.ts +14 -0
- 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 +2 -2
- package/signature.module.d.ts +1 -1
- 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 +1 -1
- package/sliders-common/label-template.directive.d.ts +1 -1
- package/sliders-common/slider-base.d.ts +2 -2
- 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/events/blur-event.d.ts +1 -1
- package/switch/events/focus-event.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 +2 -2
- package/switch.module.d.ts +1 -1
- package/text-fields-common/text-fields-base.d.ts +2 -2
- package/textarea/models/adornments-orientation.d.ts +12 -0
- package/textarea/models/flow.d.ts +1 -1
- package/textarea/models/resize.d.ts +1 -1
- package/textarea/textarea-prefix.component.d.ts +37 -0
- package/textarea/textarea-suffix.component.d.ts +13 -2
- package/textarea/textarea.component.d.ts +63 -7
- package/textarea.module.d.ts +10 -8
- 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 +10 -2
- package/textbox/textbox-suffix.directive.d.ts +10 -2
- package/textbox/textbox.component.d.ts +38 -11
- package/textbox/textbox.directive.d.ts +1 -1
- package/textbox.module.d.ts +5 -4
- package/validators/max.validator.d.ts +1 -1
- package/validators/min.validator.d.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Specifies a separator in the content of components like the TextArea and the TextBox. ([see examples]({% slug adornments_textbox %}#toc-separator)).
|
|
@@ -24,18 +24,36 @@ import * as i0 from "@angular/core";
|
|
|
24
24
|
*/
|
|
25
25
|
export class InputSeparatorComponent {
|
|
26
26
|
constructor() {
|
|
27
|
+
/**
|
|
28
|
+
* Specifies the orientation of the separator.
|
|
29
|
+
*/
|
|
30
|
+
this.orientation = 'vertical';
|
|
27
31
|
this.hostClass = true;
|
|
28
32
|
}
|
|
33
|
+
get vertical() {
|
|
34
|
+
return this.orientation === 'vertical';
|
|
35
|
+
}
|
|
36
|
+
get horizontal() {
|
|
37
|
+
return this.orientation === 'horizontal';
|
|
38
|
+
}
|
|
29
39
|
}
|
|
30
40
|
InputSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
-
InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", host: { properties: { "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
|
|
41
|
+
InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: { orientation: "orientation" }, host: { properties: { "class.k-input-separator-vertical": "this.vertical", "class.k-input-separator-horizontal": "this.horizontal", "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
|
|
32
42
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputSeparatorComponent, decorators: [{
|
|
33
43
|
type: Component,
|
|
34
44
|
args: [{
|
|
35
45
|
selector: 'kendo-input-separator, kendo-textbox-separator',
|
|
36
46
|
template: ``
|
|
37
47
|
}]
|
|
38
|
-
}], propDecorators: {
|
|
48
|
+
}], propDecorators: { orientation: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], vertical: [{
|
|
51
|
+
type: HostBinding,
|
|
52
|
+
args: ['class.k-input-separator-vertical']
|
|
53
|
+
}], horizontal: [{
|
|
54
|
+
type: HostBinding,
|
|
55
|
+
args: ['class.k-input-separator-horizontal']
|
|
56
|
+
}], hostClass: [{
|
|
39
57
|
type: HostBinding,
|
|
40
58
|
args: ['class.k-input-separator']
|
|
41
59
|
}] } });
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ChangeDetectorRef, Directive, EventEmitter, Input, NgZone, Output, Renderer2 } from '@angular/core';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import { closest } from '../common/dom-utils';
|
|
8
|
+
import { Keys } from '@progress/kendo-angular-common';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export class SharedInputEventsDirective {
|
|
14
|
+
constructor(ngZone, renderer, cdr) {
|
|
15
|
+
this.ngZone = ngZone;
|
|
16
|
+
this.renderer = renderer;
|
|
17
|
+
this.cdr = cdr;
|
|
18
|
+
this.isFocusedChange = new EventEmitter();
|
|
19
|
+
this.onFocus = new EventEmitter();
|
|
20
|
+
this.handleBlur = new EventEmitter();
|
|
21
|
+
this.subscriptions = new Subscription();
|
|
22
|
+
}
|
|
23
|
+
ngAfterViewInit() {
|
|
24
|
+
const hostElement = this.hostElement.nativeElement;
|
|
25
|
+
let cursorInsideWrapper = false;
|
|
26
|
+
let tabbing = false;
|
|
27
|
+
this.ngZone.runOutsideAngular(() => {
|
|
28
|
+
// focusIn and focusOut are relative to the host element
|
|
29
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
|
|
30
|
+
this.cdr.detectChanges();
|
|
31
|
+
if (!this.isFocused) {
|
|
32
|
+
this.ngZone.run(() => {
|
|
33
|
+
this.onFocus.emit();
|
|
34
|
+
this.isFocused = true;
|
|
35
|
+
this.isFocusedChange.emit(this.isFocused);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}));
|
|
39
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'focusout', (args) => {
|
|
40
|
+
if (!this.isFocused) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
if (tabbing) {
|
|
44
|
+
const closestTextbox = closest(args.relatedTarget, (element) => element === hostElement);
|
|
45
|
+
if (!closestTextbox) {
|
|
46
|
+
this.handleBlur.emit();
|
|
47
|
+
}
|
|
48
|
+
tabbing = false;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
if (!cursorInsideWrapper && !this?.clearButtonClicked) {
|
|
52
|
+
this.handleBlur.emit();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}));
|
|
56
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseenter', () => {
|
|
57
|
+
cursorInsideWrapper = true;
|
|
58
|
+
}));
|
|
59
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseleave', () => {
|
|
60
|
+
cursorInsideWrapper = false;
|
|
61
|
+
}));
|
|
62
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'keydown', (args) => {
|
|
63
|
+
if (args.keyCode === Keys.Tab) {
|
|
64
|
+
tabbing = true;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
tabbing = false;
|
|
68
|
+
}
|
|
69
|
+
}));
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
ngOnDestroy() {
|
|
73
|
+
this.subscriptions.unsubscribe();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
SharedInputEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedInputEventsDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
77
|
+
SharedInputEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedInputEventsDirective, decorators: [{
|
|
79
|
+
type: Directive,
|
|
80
|
+
args: [{
|
|
81
|
+
selector: '[kendoInputSharedEvents]'
|
|
82
|
+
}]
|
|
83
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostElement: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], clearButtonClicked: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], isFocused: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], isFocusedChange: [{
|
|
90
|
+
type: Output
|
|
91
|
+
}], onFocus: [{
|
|
92
|
+
type: Output
|
|
93
|
+
}], handleBlur: [{
|
|
94
|
+
type: Output
|
|
95
|
+
}] } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, ElementRef, EventEmitter, HostBinding, Renderer2, Optional, Inject, Input, NgZone, forwardRef, Output, ChangeDetectorRef, Injector } from '@angular/core';
|
package/esm2020/shared/utils.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 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
|
/**
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { NgModule } from '@angular/core';
|
|
6
|
+
import { SharedInputEventsDirective } from './shared/shared-events.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class SharedEventsModule {
|
|
12
|
+
}
|
|
13
|
+
SharedEventsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
SharedEventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, declarations: [SharedInputEventsDirective], exports: [SharedInputEventsDirective] });
|
|
15
|
+
SharedEventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, decorators: [{
|
|
17
|
+
type: NgModule,
|
|
18
|
+
args: [{
|
|
19
|
+
declarations: [SharedInputEventsDirective],
|
|
20
|
+
exports: [SharedInputEventsDirective],
|
|
21
|
+
}]
|
|
22
|
+
}] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from "@angular/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export * from './close-event';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { SignatureCustomMessagesComponent } from './custom-messages.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
@@ -57,7 +57,7 @@ export class SignatureComponent {
|
|
|
57
57
|
*/
|
|
58
58
|
this.readonly = false;
|
|
59
59
|
/**
|
|
60
|
-
* Sets the disabled state of the Signature.
|
|
60
|
+
* Sets the disabled state of the Signature. To disable the component in reactive forms, visit the following [article](slug:formssupport_signature#toc-managing-the-signature-disabled-state-in-reactive-forms)
|
|
61
61
|
*
|
|
62
62
|
* @default false
|
|
63
63
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 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 { CommonModule } from '@angular/common';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 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 { trimValue, calculateHandlePosition } from '../sliders-common/sliders-util';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, TemplateRef, Optional } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 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 { increment, decrement, incrementLarge, decrementLarge, identity } from './sliders-util';
|
|
@@ -67,7 +67,7 @@ export class SliderBase {
|
|
|
67
67
|
*/
|
|
68
68
|
this.largeStep = null;
|
|
69
69
|
/**
|
|
70
|
-
* Determines whether the Slider is disabled ([see example]({% slug disabledstate_slider %})).
|
|
70
|
+
* Determines whether the Slider is disabled ([see example]({% slug disabledstate_slider %})). To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_slider#toc-managing-the-slider-disabled-state-in-reactive-forms).
|
|
71
71
|
*/
|
|
72
72
|
this.disabled = false;
|
|
73
73
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 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 { calculateFixedTrackSize, calculateTicksCount } from '../sliders-common/sliders-util';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 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 { areSame, isPresent } from '../common/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, forwardRef } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ElementRef, Renderer2, Component, EventEmitter, HostBinding, Input, Output, ViewChild, forwardRef, ChangeDetectorRef, NgZone, Injector } from '@angular/core';
|
|
@@ -30,7 +30,7 @@ export class SwitchComponent {
|
|
|
30
30
|
this.changeDetector = changeDetector;
|
|
31
31
|
this.ngZone = ngZone;
|
|
32
32
|
/**
|
|
33
|
-
* Determines whether the Switch is disabled ([see example]({% slug disabled_switch %})).
|
|
33
|
+
* Determines whether the Switch is disabled ([see example]({% slug disabled_switch %})). To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_switch#toc-managing-the-switch-disabled-state-in-reactive-forms).
|
|
34
34
|
*/
|
|
35
35
|
this.disabled = false;
|
|
36
36
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 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 { Subscription } from 'rxjs';
|
|
@@ -25,7 +25,7 @@ export class TextFieldsBase {
|
|
|
25
25
|
*/
|
|
26
26
|
this.title = '';
|
|
27
27
|
/**
|
|
28
|
-
* Sets the disabled state of the TextArea component.
|
|
28
|
+
* Sets the disabled state of the TextArea component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_textarea#toc-managing-the-textarea-disabled-state-in-reactive-forms).
|
|
29
29
|
*
|
|
30
30
|
* @default false
|
|
31
31
|
*/
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Component, HostBinding, Input } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the adornments in the prefix container ([see example]({% slug textarea_adornments %})).
|
|
9
|
+
* ```ts-no-run
|
|
10
|
+
* _@Component({
|
|
11
|
+
* selector: 'my-app',
|
|
12
|
+
* template: `
|
|
13
|
+
* <kendo-textarea>
|
|
14
|
+
* <kendo-textarea-prefix>
|
|
15
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
16
|
+
* </kendo-textarea-prefix>
|
|
17
|
+
* </kendo-textarea>
|
|
18
|
+
* `
|
|
19
|
+
* })
|
|
20
|
+
* class AppComponent {}
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export class TextAreaPrefixComponent {
|
|
24
|
+
constructor() {
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
this.flow = 'vertical';
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
this.orientation = 'horizontal';
|
|
33
|
+
this.hostClass = true;
|
|
34
|
+
}
|
|
35
|
+
get verticalOrientation() {
|
|
36
|
+
return this.orientation === 'vertical';
|
|
37
|
+
}
|
|
38
|
+
get horizontalOrientation() {
|
|
39
|
+
return this.orientation === 'horizontal';
|
|
40
|
+
}
|
|
41
|
+
get alignItems() {
|
|
42
|
+
return this.flow === this.orientation;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
TextAreaPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextAreaPrefixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
TextAreaPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TextAreaPrefixComponent, selector: "kendo-textarea-prefix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-prefix": "this.hostClass", "class.k-input-prefix-vertical": "this.verticalOrientation", "class.k-input-prefix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaPrefix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextAreaPrefixComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{
|
|
50
|
+
exportAs: 'kendoTextAreaPrefix',
|
|
51
|
+
selector: 'kendo-textarea-prefix',
|
|
52
|
+
template: `<ng-content></ng-content>`
|
|
53
|
+
}]
|
|
54
|
+
}], propDecorators: { flow: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], orientation: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], hostClass: [{
|
|
59
|
+
type: HostBinding,
|
|
60
|
+
args: ['class.k-input-prefix']
|
|
61
|
+
}], verticalOrientation: [{
|
|
62
|
+
type: HostBinding,
|
|
63
|
+
args: ['class.k-input-prefix-vertical']
|
|
64
|
+
}], horizontalOrientation: [{
|
|
65
|
+
type: HostBinding,
|
|
66
|
+
args: ['class.k-input-prefix-horizontal']
|
|
67
|
+
}], alignItems: [{
|
|
68
|
+
type: HostBinding,
|
|
69
|
+
args: ['class.!k-align-items-start']
|
|
70
|
+
}] } });
|