@progress/kendo-angular-common 14.4.0-develop.9 → 15.0.0-develop.2

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.
@@ -0,0 +1,16 @@
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 * as i0 from "@angular/core";
6
+ import * as i1 from "./prefix.directive";
7
+ import * as i2 from "./suffix.directive";
8
+ import * as i3 from "./separator.component";
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare class AdornmentsModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdornmentsModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdornmentsModule, [typeof i1.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i3.SeparatorComponent], never, [typeof i1.PrefixTemplateDirective, typeof i2.SuffixTemplateDirective, typeof i3.SeparatorComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdornmentsModule>;
16
+ }
@@ -0,0 +1,42 @@
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 { TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Specifies the adornments in the prefix container of the [Inputs]({% slug adornments_textbox %}#toc-prefixadornments) and [DropDowns]({% slug adornments_multiselect %}#toc-prefixadornments).
9
+ * ```ts-no-run
10
+ * _@Component({
11
+ * selector: 'my-app',
12
+ * template: `
13
+ * <kendo-textbox>
14
+ * <ng-template kendoPrefixTemplate>
15
+ * <button kendoButton look="clear" icon="image"></button>
16
+ * </ng-template>
17
+ * </kendo-textbox>
18
+ *
19
+ * <kendo-multiselect [data]="data" [(ngModel)]="value">
20
+ * <ng-template kendoPrefixTemplate>
21
+ * <button kendoButton look="clear" icon="image"></button>
22
+ * </ng-template>
23
+ * </kendo-multiselect>
24
+ * `
25
+ * })
26
+ * class AppComponent {}
27
+ * ```
28
+ */
29
+ export declare class PrefixTemplateDirective {
30
+ templateRef: TemplateRef<any>;
31
+ /**
32
+ * Sets the `showSeparator` attribute of the `prefixTemplate`.
33
+ *
34
+ * @default false
35
+ */
36
+ set showSeparator(value: boolean);
37
+ get showSeparator(): boolean;
38
+ private _showSeparator;
39
+ constructor(templateRef: TemplateRef<any>);
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrefixTemplateDirective, [{ optional: true; }]>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PrefixTemplateDirective, "[kendoPrefixTemplate]", never, { "showSeparator": "showSeparator"; }, {}, never>;
42
+ }
@@ -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 declare type SeparatorOrientation = 'horizontal' | 'vertical';
@@ -0,0 +1,36 @@
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 { SeparatorOrientation } from './separator-orientation';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Specifies a separator in the content of the [Inputs]({% slug adornments_textbox %}#toc-separator) and [DropDowns]({% slug adornments_multiselect %}#toc-separator).
9
+ * @example
10
+ * ```ts-no-run
11
+ * _@Component({
12
+ * selector: 'my-app',
13
+ * template: `
14
+ * <kendo-textbox>
15
+ * <ng-template kendoSuffixTemplate>
16
+ * <button kendoButton look="clear" icon="image"></button>
17
+ * <kendo-separator></kendo-separator>
18
+ * <button kendoButton look="clear" icon="image"></button>
19
+ * </ng-template>
20
+ * </kendo-textbox>
21
+ * `
22
+ * })
23
+ * class AppComponent {}
24
+ * ```
25
+ */
26
+ export declare class SeparatorComponent {
27
+ /**
28
+ * @hidden
29
+ */
30
+ orientation: SeparatorOrientation;
31
+ get vertical(): boolean;
32
+ get horizontal(): boolean;
33
+ hostClass: boolean;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<SeparatorComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeparatorComponent, "kendo-separator", never, { "orientation": "orientation"; }, {}, never, never>;
36
+ }
@@ -0,0 +1,41 @@
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 { TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Specifies the adornments in the suffix container of the [Inputs]({% slug adornments_textbox %}#toc-suffixadornments) and [DropDowns]({% slug adornments_multiselect %}#toc-suffixadornments).
9
+ * ```ts-no-run
10
+ * _@Component({
11
+ * selector: 'my-app',
12
+ * template: `
13
+ * <kendo-textbox>
14
+ * <ng-template kendoSuffixTemplate>
15
+ * <button kendoButton look="clear" icon="image"></button>
16
+ * </ng-template>
17
+ * </kendo-textbox>
18
+ * `
19
+ * <kendo-multiselect [data]="data" [(ngModel)]="value">
20
+ * <ng-template kendoSuffixTemplate>
21
+ * <button kendoButton look="clear" icon="image"></button>
22
+ * </ng-template>
23
+ * </kendo-multiselect>
24
+ * })
25
+ * class AppComponent {}
26
+ * ```
27
+ */
28
+ export declare class SuffixTemplateDirective {
29
+ templateRef: TemplateRef<any>;
30
+ /**
31
+ * Sets the `showSeparator` attribute of the `suffixTemplate`.
32
+ *
33
+ * @default false
34
+ */
35
+ set showSeparator(value: boolean);
36
+ get showSeparator(): boolean;
37
+ private _showSeparator;
38
+ constructor(templateRef: TemplateRef<any>);
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuffixTemplateDirective, [{ optional: true; }]>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SuffixTemplateDirective, "[kendoSuffixTemplate]", never, { "showSeparator": "showSeparator"; }, {}, never>;
41
+ }
@@ -0,0 +1,9 @@
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 { PrefixTemplateDirective } from './adornments/prefix.directive';
6
+ export { SuffixTemplateDirective } from './adornments/suffix.directive';
7
+ export { SeparatorComponent } from './adornments/separator.component';
8
+ export { SeparatorOrientation } from './adornments/separator-orientation';
9
+ export { AdornmentsModule } from './adornments/adornments.module';
@@ -0,0 +1,24 @@
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 { PrefixTemplateDirective } from './prefix.directive';
7
+ import { SuffixTemplateDirective } from './suffix.directive';
8
+ import { SeparatorComponent } from './separator.component';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * @hidden
12
+ */
13
+ export class AdornmentsModule {
14
+ }
15
+ AdornmentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
16
+ AdornmentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule, declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent], exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent] });
17
+ AdornmentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule, decorators: [{
19
+ type: NgModule,
20
+ args: [{
21
+ declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent],
22
+ exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent]
23
+ }]
24
+ }] });
@@ -0,0 +1,57 @@
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 { Directive, Input, Optional, TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Specifies the adornments in the prefix container of the [Inputs]({% slug adornments_textbox %}#toc-prefixadornments) and [DropDowns]({% slug adornments_multiselect %}#toc-prefixadornments).
9
+ * ```ts-no-run
10
+ * _@Component({
11
+ * selector: 'my-app',
12
+ * template: `
13
+ * <kendo-textbox>
14
+ * <ng-template kendoPrefixTemplate>
15
+ * <button kendoButton look="clear" icon="image"></button>
16
+ * </ng-template>
17
+ * </kendo-textbox>
18
+ *
19
+ * <kendo-multiselect [data]="data" [(ngModel)]="value">
20
+ * <ng-template kendoPrefixTemplate>
21
+ * <button kendoButton look="clear" icon="image"></button>
22
+ * </ng-template>
23
+ * </kendo-multiselect>
24
+ * `
25
+ * })
26
+ * class AppComponent {}
27
+ * ```
28
+ */
29
+ export class PrefixTemplateDirective {
30
+ constructor(templateRef) {
31
+ this.templateRef = templateRef;
32
+ this._showSeparator = false;
33
+ }
34
+ /**
35
+ * Sets the `showSeparator` attribute of the `prefixTemplate`.
36
+ *
37
+ * @default false
38
+ */
39
+ set showSeparator(value) {
40
+ this._showSeparator = value;
41
+ }
42
+ get showSeparator() {
43
+ return this._showSeparator;
44
+ }
45
+ }
46
+ PrefixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
47
+ PrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: PrefixTemplateDirective, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PrefixTemplateDirective, decorators: [{
49
+ type: Directive,
50
+ args: [{
51
+ selector: '[kendoPrefixTemplate]'
52
+ }]
53
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
54
+ type: Optional
55
+ }] }]; }, propDecorators: { showSeparator: [{
56
+ type: Input
57
+ }] } });
@@ -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 {};
@@ -0,0 +1,60 @@
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 a separator in the content of the [Inputs]({% slug adornments_textbox %}#toc-separator) and [DropDowns]({% slug adornments_multiselect %}#toc-separator).
9
+ * @example
10
+ * ```ts-no-run
11
+ * _@Component({
12
+ * selector: 'my-app',
13
+ * template: `
14
+ * <kendo-textbox>
15
+ * <ng-template kendoSuffixTemplate>
16
+ * <button kendoButton look="clear" icon="image"></button>
17
+ * <kendo-separator></kendo-separator>
18
+ * <button kendoButton look="clear" icon="image"></button>
19
+ * </ng-template>
20
+ * </kendo-textbox>
21
+ * `
22
+ * })
23
+ * class AppComponent {}
24
+ * ```
25
+ */
26
+ export class SeparatorComponent {
27
+ constructor() {
28
+ /**
29
+ * @hidden
30
+ */
31
+ this.orientation = 'vertical';
32
+ this.hostClass = true;
33
+ }
34
+ get vertical() {
35
+ return this.orientation === 'vertical';
36
+ }
37
+ get horizontal() {
38
+ return this.orientation === 'horizontal';
39
+ }
40
+ }
41
+ SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
+ SeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SeparatorComponent, selector: "kendo-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 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SeparatorComponent, decorators: [{
44
+ type: Component,
45
+ args: [{
46
+ selector: 'kendo-separator',
47
+ template: ``
48
+ }]
49
+ }], propDecorators: { orientation: [{
50
+ type: Input
51
+ }], vertical: [{
52
+ type: HostBinding,
53
+ args: ['class.k-input-separator-vertical']
54
+ }], horizontal: [{
55
+ type: HostBinding,
56
+ args: ['class.k-input-separator-horizontal']
57
+ }], hostClass: [{
58
+ type: HostBinding,
59
+ args: ['class.k-input-separator']
60
+ }] } });
@@ -0,0 +1,56 @@
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 { Directive, Input, Optional, TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Specifies the adornments in the suffix container of the [Inputs]({% slug adornments_textbox %}#toc-suffixadornments) and [DropDowns]({% slug adornments_multiselect %}#toc-suffixadornments).
9
+ * ```ts-no-run
10
+ * _@Component({
11
+ * selector: 'my-app',
12
+ * template: `
13
+ * <kendo-textbox>
14
+ * <ng-template kendoSuffixTemplate>
15
+ * <button kendoButton look="clear" icon="image"></button>
16
+ * </ng-template>
17
+ * </kendo-textbox>
18
+ * `
19
+ * <kendo-multiselect [data]="data" [(ngModel)]="value">
20
+ * <ng-template kendoSuffixTemplate>
21
+ * <button kendoButton look="clear" icon="image"></button>
22
+ * </ng-template>
23
+ * </kendo-multiselect>
24
+ * })
25
+ * class AppComponent {}
26
+ * ```
27
+ */
28
+ export class SuffixTemplateDirective {
29
+ constructor(templateRef) {
30
+ this.templateRef = templateRef;
31
+ this._showSeparator = false;
32
+ }
33
+ /**
34
+ * Sets the `showSeparator` attribute of the `suffixTemplate`.
35
+ *
36
+ * @default false
37
+ */
38
+ set showSeparator(value) {
39
+ this._showSeparator = value;
40
+ }
41
+ get showSeparator() {
42
+ return this._showSeparator;
43
+ }
44
+ }
45
+ SuffixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
46
+ SuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: SuffixTemplateDirective, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SuffixTemplateDirective, decorators: [{
48
+ type: Directive,
49
+ args: [{
50
+ selector: '[kendoSuffixTemplate]'
51
+ }]
52
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
53
+ type: Optional
54
+ }] }]; }, propDecorators: { showSeparator: [{
55
+ type: Input
56
+ }] } });
@@ -0,0 +1,8 @@
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 { PrefixTemplateDirective } from './adornments/prefix.directive';
6
+ export { SuffixTemplateDirective } from './adornments/suffix.directive';
7
+ export { SeparatorComponent } from './adornments/separator.component';
8
+ export { AdornmentsModule } from './adornments/adornments.module';
package/esm2020/index.mjs CHANGED
@@ -12,5 +12,6 @@ export * from './enums';
12
12
  export * from './utils/focusable-selectors';
13
13
  export * from './utils/ng-class-parser';
14
14
  export * from './watermark';
15
+ export * from './adornments';
15
16
  export { PreventableEvent } from './preventable-event';
16
17
  export { ScrollbarWidthService, scrollbarWidth } from './utils/scrollbar-width.service';
@@ -3,7 +3,7 @@
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';
6
- import { EventEmitter, Directive, Input, Output, NgModule, Injectable, Component, HostBinding, ViewChild } from '@angular/core';
6
+ import { EventEmitter, Directive, Input, Output, NgModule, Injectable, Component, HostBinding, ViewChild, Optional } from '@angular/core';
7
7
  import { detectDesktopBrowser, detectMobileOS } from '@progress/kendo-common';
8
8
  import { Draggable } from '@progress/kendo-draggable';
9
9
  import * as i1 from '@angular/common';
@@ -987,6 +987,184 @@ function shouldShowValidationUI(isPackageValid) {
987
987
  return !skip && !isPackageValid;
988
988
  }
989
989
 
990
+ /**
991
+ * Specifies the adornments in the prefix container of the [Inputs]({% slug adornments_textbox %}#toc-prefixadornments) and [DropDowns]({% slug adornments_multiselect %}#toc-prefixadornments).
992
+ * ```ts-no-run
993
+ * _@Component({
994
+ * selector: 'my-app',
995
+ * template: `
996
+ * <kendo-textbox>
997
+ * <ng-template kendoPrefixTemplate>
998
+ * <button kendoButton look="clear" icon="image"></button>
999
+ * </ng-template>
1000
+ * </kendo-textbox>
1001
+ *
1002
+ * <kendo-multiselect [data]="data" [(ngModel)]="value">
1003
+ * <ng-template kendoPrefixTemplate>
1004
+ * <button kendoButton look="clear" icon="image"></button>
1005
+ * </ng-template>
1006
+ * </kendo-multiselect>
1007
+ * `
1008
+ * })
1009
+ * class AppComponent {}
1010
+ * ```
1011
+ */
1012
+ class PrefixTemplateDirective {
1013
+ constructor(templateRef) {
1014
+ this.templateRef = templateRef;
1015
+ this._showSeparator = false;
1016
+ }
1017
+ /**
1018
+ * Sets the `showSeparator` attribute of the `prefixTemplate`.
1019
+ *
1020
+ * @default false
1021
+ */
1022
+ set showSeparator(value) {
1023
+ this._showSeparator = value;
1024
+ }
1025
+ get showSeparator() {
1026
+ return this._showSeparator;
1027
+ }
1028
+ }
1029
+ PrefixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1030
+ PrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: PrefixTemplateDirective, selector: "[kendoPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1031
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PrefixTemplateDirective, decorators: [{
1032
+ type: Directive,
1033
+ args: [{
1034
+ selector: '[kendoPrefixTemplate]'
1035
+ }]
1036
+ }], ctorParameters: function () {
1037
+ return [{ type: i0.TemplateRef, decorators: [{
1038
+ type: Optional
1039
+ }] }];
1040
+ }, propDecorators: { showSeparator: [{
1041
+ type: Input
1042
+ }] } });
1043
+
1044
+ /**
1045
+ * Specifies the adornments in the suffix container of the [Inputs]({% slug adornments_textbox %}#toc-suffixadornments) and [DropDowns]({% slug adornments_multiselect %}#toc-suffixadornments).
1046
+ * ```ts-no-run
1047
+ * _@Component({
1048
+ * selector: 'my-app',
1049
+ * template: `
1050
+ * <kendo-textbox>
1051
+ * <ng-template kendoSuffixTemplate>
1052
+ * <button kendoButton look="clear" icon="image"></button>
1053
+ * </ng-template>
1054
+ * </kendo-textbox>
1055
+ * `
1056
+ * <kendo-multiselect [data]="data" [(ngModel)]="value">
1057
+ * <ng-template kendoSuffixTemplate>
1058
+ * <button kendoButton look="clear" icon="image"></button>
1059
+ * </ng-template>
1060
+ * </kendo-multiselect>
1061
+ * })
1062
+ * class AppComponent {}
1063
+ * ```
1064
+ */
1065
+ class SuffixTemplateDirective {
1066
+ constructor(templateRef) {
1067
+ this.templateRef = templateRef;
1068
+ this._showSeparator = false;
1069
+ }
1070
+ /**
1071
+ * Sets the `showSeparator` attribute of the `suffixTemplate`.
1072
+ *
1073
+ * @default false
1074
+ */
1075
+ set showSeparator(value) {
1076
+ this._showSeparator = value;
1077
+ }
1078
+ get showSeparator() {
1079
+ return this._showSeparator;
1080
+ }
1081
+ }
1082
+ SuffixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1083
+ SuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: SuffixTemplateDirective, selector: "[kendoSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
1084
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SuffixTemplateDirective, decorators: [{
1085
+ type: Directive,
1086
+ args: [{
1087
+ selector: '[kendoSuffixTemplate]'
1088
+ }]
1089
+ }], ctorParameters: function () {
1090
+ return [{ type: i0.TemplateRef, decorators: [{
1091
+ type: Optional
1092
+ }] }];
1093
+ }, propDecorators: { showSeparator: [{
1094
+ type: Input
1095
+ }] } });
1096
+
1097
+ /**
1098
+ * Specifies a separator in the content of the [Inputs]({% slug adornments_textbox %}#toc-separator) and [DropDowns]({% slug adornments_multiselect %}#toc-separator).
1099
+ * @example
1100
+ * ```ts-no-run
1101
+ * _@Component({
1102
+ * selector: 'my-app',
1103
+ * template: `
1104
+ * <kendo-textbox>
1105
+ * <ng-template kendoSuffixTemplate>
1106
+ * <button kendoButton look="clear" icon="image"></button>
1107
+ * <kendo-separator></kendo-separator>
1108
+ * <button kendoButton look="clear" icon="image"></button>
1109
+ * </ng-template>
1110
+ * </kendo-textbox>
1111
+ * `
1112
+ * })
1113
+ * class AppComponent {}
1114
+ * ```
1115
+ */
1116
+ class SeparatorComponent {
1117
+ constructor() {
1118
+ /**
1119
+ * @hidden
1120
+ */
1121
+ this.orientation = 'vertical';
1122
+ this.hostClass = true;
1123
+ }
1124
+ get vertical() {
1125
+ return this.orientation === 'vertical';
1126
+ }
1127
+ get horizontal() {
1128
+ return this.orientation === 'horizontal';
1129
+ }
1130
+ }
1131
+ SeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1132
+ SeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SeparatorComponent, selector: "kendo-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 });
1133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SeparatorComponent, decorators: [{
1134
+ type: Component,
1135
+ args: [{
1136
+ selector: 'kendo-separator',
1137
+ template: ``
1138
+ }]
1139
+ }], propDecorators: { orientation: [{
1140
+ type: Input
1141
+ }], vertical: [{
1142
+ type: HostBinding,
1143
+ args: ['class.k-input-separator-vertical']
1144
+ }], horizontal: [{
1145
+ type: HostBinding,
1146
+ args: ['class.k-input-separator-horizontal']
1147
+ }], hostClass: [{
1148
+ type: HostBinding,
1149
+ args: ['class.k-input-separator']
1150
+ }] } });
1151
+
1152
+ /**
1153
+ * @hidden
1154
+ */
1155
+ class AdornmentsModule {
1156
+ }
1157
+ AdornmentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1158
+ AdornmentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule, declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent], exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent] });
1159
+ AdornmentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule });
1160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AdornmentsModule, decorators: [{
1161
+ type: NgModule,
1162
+ args: [{
1163
+ declarations: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent],
1164
+ exports: [PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent]
1165
+ }]
1166
+ }] });
1167
+
990
1168
  class PreventableEvent {
991
1169
  constructor() {
992
1170
  this.prevented = false;
@@ -1052,5 +1230,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1052
1230
  * Generated bundle index. Do not edit.
1053
1231
  */
1054
1232
 
1055
- export { DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, WatermarkModule, WatermarkOverlayComponent, anyChanged, closest, closestBySelector, closestInScope, contains, findElement, findFocusable, findFocusableChild, focusableSelector, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFirefox, isFocusable, isFocusableWithTabKey, isObject, isPresent, isSafari, isString, isVisible, matchesClasses, matchesNodeName, parseCSSClassNames, rtlScrollPosition, scrollbarWidth, shouldShowValidationUI, splitStringToArray };
1233
+ export { AdornmentsModule, DraggableDirective, DraggableModule, EventsModule, EventsOutsideAngularDirective, KendoInput, Keys, PrefixTemplateDirective, PreventableEvent, ResizeBatchService, ResizeCompatService, ResizeObserverService, ResizeSensorComponent, ResizeSensorModule, ScrollbarWidthService, SeparatorComponent, SuffixTemplateDirective, WatermarkModule, WatermarkOverlayComponent, anyChanged, closest, closestBySelector, closestInScope, contains, findElement, findFocusable, findFocusableChild, focusableSelector, guid, hasClasses, hasObservers, isChanged, isDocumentAvailable, isFirefox, isFocusable, isFocusableWithTabKey, isObject, isPresent, isSafari, isString, isVisible, matchesClasses, matchesNodeName, parseCSSClassNames, rtlScrollPosition, scrollbarWidth, shouldShowValidationUI, splitStringToArray };
1056
1234