@progress/kendo-angular-common 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.
Files changed (116) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +147 -594
  3. package/README.md +1 -1
  4. package/adornments/adornments.module.d.ts +16 -0
  5. package/adornments/prefix.directive.d.ts +42 -0
  6. package/adornments/separator-orientation.d.ts +5 -0
  7. package/adornments/separator.component.d.ts +36 -0
  8. package/adornments/suffix.directive.d.ts +41 -0
  9. package/adornments.d.ts +9 -0
  10. package/dom-queries/closest-by-selector.d.ts +1 -1
  11. package/dom-queries/closest-in-scope.d.ts +1 -1
  12. package/dom-queries/closest.d.ts +1 -1
  13. package/dom-queries/contains.d.ts +1 -1
  14. package/dom-queries/find-element.d.ts +1 -1
  15. package/dom-queries/find-focusable-child.d.ts +1 -1
  16. package/dom-queries/find-focusable.d.ts +1 -1
  17. package/dom-queries/has-classes.d.ts +1 -1
  18. package/dom-queries/is-focusable-with-tab-key.d.ts +1 -1
  19. package/dom-queries/is-focusable.d.ts +1 -1
  20. package/dom-queries/is-visible.d.ts +1 -1
  21. package/dom-queries/matches-classes.d.ts +1 -1
  22. package/dom-queries/matches-node-name.d.ts +1 -1
  23. package/dom-queries/rtl-scroll-position.d.ts +1 -1
  24. package/dom-queries.d.ts +1 -1
  25. package/draggable/draggable.directive.d.ts +1 -1
  26. package/draggable/draggable.module.d.ts +1 -1
  27. package/draggable.d.ts +1 -1
  28. package/enums/keys.d.ts +1 -1
  29. package/enums.d.ts +1 -1
  30. package/esm2020/adornments/adornments.module.mjs +24 -0
  31. package/esm2020/adornments/prefix.directive.mjs +57 -0
  32. package/esm2020/adornments/separator-orientation.mjs +5 -0
  33. package/esm2020/adornments/separator.component.mjs +60 -0
  34. package/esm2020/adornments/suffix.directive.mjs +56 -0
  35. package/esm2020/adornments.mjs +8 -0
  36. package/esm2020/dom-queries/closest-by-selector.mjs +1 -1
  37. package/esm2020/dom-queries/closest-in-scope.mjs +1 -1
  38. package/esm2020/dom-queries/closest.mjs +1 -1
  39. package/esm2020/dom-queries/contains.mjs +1 -1
  40. package/esm2020/dom-queries/find-element.mjs +1 -1
  41. package/esm2020/dom-queries/find-focusable-child.mjs +1 -1
  42. package/esm2020/dom-queries/find-focusable.mjs +1 -1
  43. package/esm2020/dom-queries/has-classes.mjs +1 -1
  44. package/esm2020/dom-queries/is-focusable-with-tab-key.mjs +1 -1
  45. package/esm2020/dom-queries/is-focusable.mjs +1 -1
  46. package/esm2020/dom-queries/is-visible.mjs +1 -1
  47. package/esm2020/dom-queries/matches-classes.mjs +1 -1
  48. package/esm2020/dom-queries/matches-node-name.mjs +1 -1
  49. package/esm2020/dom-queries/rtl-scroll-position.mjs +1 -1
  50. package/esm2020/dom-queries.mjs +1 -1
  51. package/esm2020/draggable/draggable.directive.mjs +1 -1
  52. package/esm2020/draggable/draggable.module.mjs +1 -1
  53. package/esm2020/draggable.mjs +1 -1
  54. package/esm2020/enums/keys.mjs +1 -1
  55. package/esm2020/enums.mjs +1 -1
  56. package/esm2020/events/events-outside-angular.directive.mjs +1 -1
  57. package/esm2020/events/events.module.mjs +1 -1
  58. package/esm2020/events.mjs +1 -1
  59. package/esm2020/index.mjs +2 -1
  60. package/esm2020/preventable-event.mjs +1 -1
  61. package/esm2020/progress-kendo-angular-common.mjs +1 -1
  62. package/esm2020/resize-sensor/compat.service.mjs +1 -1
  63. package/esm2020/resize-sensor/observer.service.mjs +1 -1
  64. package/esm2020/resize-sensor/resize-batch.service.mjs +1 -1
  65. package/esm2020/resize-sensor/resize-sensor.component.mjs +1 -1
  66. package/esm2020/resize-sensor/resize-sensor.module.mjs +1 -1
  67. package/esm2020/resize-sensor/resize.service.mjs +1 -1
  68. package/esm2020/resize-sensor.mjs +1 -1
  69. package/esm2020/tokens.mjs +1 -1
  70. package/esm2020/utils/any-changed.mjs +1 -1
  71. package/esm2020/utils/detect-browser.mjs +1 -1
  72. package/esm2020/utils/focusable-selectors.mjs +1 -1
  73. package/esm2020/utils/guid.mjs +1 -1
  74. package/esm2020/utils/has-observers.mjs +1 -1
  75. package/esm2020/utils/is-changed.mjs +1 -1
  76. package/esm2020/utils/is-document-available.mjs +1 -1
  77. package/esm2020/utils/ng-class-parser.mjs +1 -1
  78. package/esm2020/utils/scrollbar-width.service.mjs +1 -1
  79. package/esm2020/utils.mjs +1 -1
  80. package/esm2020/watermark/index.mjs +1 -1
  81. package/esm2020/watermark/utils.mjs +1 -1
  82. package/esm2020/watermark/validation.mjs +1 -1
  83. package/esm2020/watermark/watermark.component.mjs +1 -1
  84. package/esm2020/watermark/watermark.module.mjs +1 -1
  85. package/events/events-outside-angular.directive.d.ts +1 -1
  86. package/events/events.module.d.ts +1 -1
  87. package/events.d.ts +1 -1
  88. package/fesm2015/progress-kendo-angular-common.mjs +181 -3
  89. package/fesm2020/progress-kendo-angular-common.mjs +177 -3
  90. package/index.d.ts +2 -1
  91. package/package.json +2 -2
  92. package/preventable-event.d.ts +1 -1
  93. package/progress-kendo-angular-common.d.ts +1 -1
  94. package/resize-sensor/compat.service.d.ts +1 -1
  95. package/resize-sensor/observer.service.d.ts +1 -1
  96. package/resize-sensor/resize-batch.service.d.ts +1 -1
  97. package/resize-sensor/resize-sensor.component.d.ts +1 -1
  98. package/resize-sensor/resize-sensor.module.d.ts +1 -1
  99. package/resize-sensor/resize.service.d.ts +1 -1
  100. package/resize-sensor.d.ts +1 -1
  101. package/tokens.d.ts +1 -1
  102. package/utils/any-changed.d.ts +1 -1
  103. package/utils/detect-browser.d.ts +1 -1
  104. package/utils/focusable-selectors.d.ts +1 -1
  105. package/utils/guid.d.ts +1 -1
  106. package/utils/has-observers.d.ts +1 -1
  107. package/utils/is-changed.d.ts +1 -1
  108. package/utils/is-document-available.d.ts +1 -1
  109. package/utils/ng-class-parser.d.ts +1 -1
  110. package/utils/scrollbar-width.service.d.ts +1 -1
  111. package/utils.d.ts +1 -1
  112. package/watermark/index.d.ts +1 -1
  113. package/watermark/utils.d.ts +1 -1
  114. package/watermark/validation.d.ts +1 -1
  115. package/watermark/watermark.component.d.ts +1 -1
  116. package/watermark/watermark.module.d.ts +1 -1
package/README.md CHANGED
@@ -26,6 +26,6 @@ Kendo UI for Angular is a commercial UI library. You are welcome to explore its
26
26
  * [Feedback Portal](https://feedback.telerik.com/kendo-angular-ui)
27
27
  * [StackOverflow](https://stackoverflow.com/questions/tagged/kendo-ui-angular2)
28
28
 
29
- *Copyright © 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
29
+ *Copyright © 2024 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
30
30
 
31
31
  *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
@@ -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';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare function closestBySelector(element: any, selector: string): any;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const closestInScope: (node: Node, predicate: (_: Node) => boolean, scope: Node) => Node;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const closest: (node: Node, predicate: (_: Node) => boolean) => Node;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const contains: (parent: Node, node: Node, matchSelf?: boolean) => boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const findElement: (node: any, predicate: (element: any) => boolean, matchSelf?: boolean) => any;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const findFocusableChild: (element: any, checkVisibility?: boolean) => any;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const findFocusable: (element: any, checkVisibility?: boolean) => any;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const hasClasses: (element: HTMLElement, classNames: string) => boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const isFocusableWithTabKey: (element: any, checkVisibility?: boolean) => boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const isFocusable: (element: any) => boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const isVisible: (element: any) => boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const matchesClasses: (classNames: string) => (element: HTMLElement) => boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 declare const matchesNodeName: (nodeName: string) => (element: HTMLElement) => boolean;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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
  /**
package/dom-queries.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 { closestInScope } from './dom-queries/closest-in-scope';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 { EventEmitter, ElementRef, OnDestroy, OnInit, OnChanges, NgZone } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 * as i0 from "@angular/core";
package/draggable.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 { DraggableDirective } from './draggable/draggable.directive';
package/enums/keys.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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
  /**
package/enums.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 { Keys } from './enums/keys';
@@ -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';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 function closestBySelector(element, selector) {
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 const closestInScope = (node, predicate, scope) => {
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 const closest = (node, predicate) => {
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 { closest } from './closest';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 const findElement = (node, predicate, matchSelf = true) => {
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 { findElement } from './find-element';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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 { findElement } from './find-element';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
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
  const toClassList = (classNames) => String(classNames).trim().split(' ');