@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.
- package/LICENSE.md +1 -1
- package/NOTICE.txt +147 -594
- package/README.md +1 -1
- package/adornments/adornments.module.d.ts +16 -0
- package/adornments/prefix.directive.d.ts +42 -0
- package/adornments/separator-orientation.d.ts +5 -0
- package/adornments/separator.component.d.ts +36 -0
- package/adornments/suffix.directive.d.ts +41 -0
- package/adornments.d.ts +9 -0
- package/dom-queries/closest-by-selector.d.ts +1 -1
- package/dom-queries/closest-in-scope.d.ts +1 -1
- package/dom-queries/closest.d.ts +1 -1
- package/dom-queries/contains.d.ts +1 -1
- package/dom-queries/find-element.d.ts +1 -1
- package/dom-queries/find-focusable-child.d.ts +1 -1
- package/dom-queries/find-focusable.d.ts +1 -1
- package/dom-queries/has-classes.d.ts +1 -1
- package/dom-queries/is-focusable-with-tab-key.d.ts +1 -1
- package/dom-queries/is-focusable.d.ts +1 -1
- package/dom-queries/is-visible.d.ts +1 -1
- package/dom-queries/matches-classes.d.ts +1 -1
- package/dom-queries/matches-node-name.d.ts +1 -1
- package/dom-queries/rtl-scroll-position.d.ts +1 -1
- package/dom-queries.d.ts +1 -1
- package/draggable/draggable.directive.d.ts +1 -1
- package/draggable/draggable.module.d.ts +1 -1
- package/draggable.d.ts +1 -1
- package/enums/keys.d.ts +1 -1
- package/enums.d.ts +1 -1
- package/esm2020/adornments/adornments.module.mjs +24 -0
- package/esm2020/adornments/prefix.directive.mjs +57 -0
- package/esm2020/adornments/separator-orientation.mjs +5 -0
- package/esm2020/adornments/separator.component.mjs +60 -0
- package/esm2020/adornments/suffix.directive.mjs +56 -0
- package/esm2020/adornments.mjs +8 -0
- package/esm2020/dom-queries/closest-by-selector.mjs +1 -1
- package/esm2020/dom-queries/closest-in-scope.mjs +1 -1
- package/esm2020/dom-queries/closest.mjs +1 -1
- package/esm2020/dom-queries/contains.mjs +1 -1
- package/esm2020/dom-queries/find-element.mjs +1 -1
- package/esm2020/dom-queries/find-focusable-child.mjs +1 -1
- package/esm2020/dom-queries/find-focusable.mjs +1 -1
- package/esm2020/dom-queries/has-classes.mjs +1 -1
- package/esm2020/dom-queries/is-focusable-with-tab-key.mjs +1 -1
- package/esm2020/dom-queries/is-focusable.mjs +1 -1
- package/esm2020/dom-queries/is-visible.mjs +1 -1
- package/esm2020/dom-queries/matches-classes.mjs +1 -1
- package/esm2020/dom-queries/matches-node-name.mjs +1 -1
- package/esm2020/dom-queries/rtl-scroll-position.mjs +1 -1
- package/esm2020/dom-queries.mjs +1 -1
- package/esm2020/draggable/draggable.directive.mjs +1 -1
- package/esm2020/draggable/draggable.module.mjs +1 -1
- package/esm2020/draggable.mjs +1 -1
- package/esm2020/enums/keys.mjs +1 -1
- package/esm2020/enums.mjs +1 -1
- package/esm2020/events/events-outside-angular.directive.mjs +1 -1
- package/esm2020/events/events.module.mjs +1 -1
- package/esm2020/events.mjs +1 -1
- package/esm2020/index.mjs +2 -1
- package/esm2020/preventable-event.mjs +1 -1
- package/esm2020/progress-kendo-angular-common.mjs +1 -1
- package/esm2020/resize-sensor/compat.service.mjs +1 -1
- package/esm2020/resize-sensor/observer.service.mjs +1 -1
- package/esm2020/resize-sensor/resize-batch.service.mjs +1 -1
- package/esm2020/resize-sensor/resize-sensor.component.mjs +1 -1
- package/esm2020/resize-sensor/resize-sensor.module.mjs +1 -1
- package/esm2020/resize-sensor/resize.service.mjs +1 -1
- package/esm2020/resize-sensor.mjs +1 -1
- package/esm2020/tokens.mjs +1 -1
- package/esm2020/utils/any-changed.mjs +1 -1
- package/esm2020/utils/detect-browser.mjs +1 -1
- package/esm2020/utils/focusable-selectors.mjs +1 -1
- package/esm2020/utils/guid.mjs +1 -1
- package/esm2020/utils/has-observers.mjs +1 -1
- package/esm2020/utils/is-changed.mjs +1 -1
- package/esm2020/utils/is-document-available.mjs +1 -1
- package/esm2020/utils/ng-class-parser.mjs +1 -1
- package/esm2020/utils/scrollbar-width.service.mjs +1 -1
- package/esm2020/utils.mjs +1 -1
- package/esm2020/watermark/index.mjs +1 -1
- package/esm2020/watermark/utils.mjs +1 -1
- package/esm2020/watermark/validation.mjs +1 -1
- package/esm2020/watermark/watermark.component.mjs +1 -1
- package/esm2020/watermark/watermark.module.mjs +1 -1
- package/events/events-outside-angular.directive.d.ts +1 -1
- package/events/events.module.d.ts +1 -1
- package/events.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-common.mjs +181 -3
- package/fesm2020/progress-kendo-angular-common.mjs +177 -3
- package/index.d.ts +2 -1
- package/package.json +2 -2
- package/preventable-event.d.ts +1 -1
- package/progress-kendo-angular-common.d.ts +1 -1
- package/resize-sensor/compat.service.d.ts +1 -1
- package/resize-sensor/observer.service.d.ts +1 -1
- package/resize-sensor/resize-batch.service.d.ts +1 -1
- package/resize-sensor/resize-sensor.component.d.ts +1 -1
- package/resize-sensor/resize-sensor.module.d.ts +1 -1
- package/resize-sensor/resize.service.d.ts +1 -1
- package/resize-sensor.d.ts +1 -1
- package/tokens.d.ts +1 -1
- package/utils/any-changed.d.ts +1 -1
- package/utils/detect-browser.d.ts +1 -1
- package/utils/focusable-selectors.d.ts +1 -1
- package/utils/guid.d.ts +1 -1
- package/utils/has-observers.d.ts +1 -1
- package/utils/is-changed.d.ts +1 -1
- package/utils/is-document-available.d.ts +1 -1
- package/utils/ng-class-parser.d.ts +1 -1
- package/utils/scrollbar-width.service.d.ts +1 -1
- package/utils.d.ts +1 -1
- package/watermark/index.d.ts +1 -1
- package/watermark/utils.d.ts +1 -1
- package/watermark/validation.d.ts +1 -1
- package/watermark/watermark.component.d.ts +1 -1
- 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 ©
|
|
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
|
+
}
|
package/adornments.d.ts
ADDED
|
@@ -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 ©
|
|
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 ©
|
|
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;
|
package/dom-queries/closest.d.ts
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
|
export declare const closest: (node: Node, predicate: (_: Node) => boolean) => Node;
|
|
@@ -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 declare const contains: (parent: Node, node: Node, matchSelf?: boolean) => boolean;
|
|
@@ -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 declare const findElement: (node: any, predicate: (element: any) => boolean, matchSelf?: boolean) => 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
|
export declare const findFocusableChild: (element: any, checkVisibility?: boolean) => 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
|
export declare const findFocusable: (element: any, checkVisibility?: boolean) => 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
|
export declare const hasClasses: (element: HTMLElement, classNames: string) => boolean;
|
|
@@ -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 declare const isFocusableWithTabKey: (element: any, checkVisibility?: boolean) => boolean;
|
|
@@ -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 declare const isFocusable: (element: any) => boolean;
|
|
@@ -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 declare const isVisible: (element: any) => boolean;
|
|
@@ -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 declare const matchesClasses: (classNames: string) => (element: HTMLElement) => boolean;
|
|
@@ -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 declare const matchesNodeName: (nodeName: string) => (element: HTMLElement) => boolean;
|
|
@@ -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
|
/**
|
package/dom-queries.d.ts
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
|
export { closestInScope } from './dom-queries/closest-in-scope';
|
|
@@ -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 { EventEmitter, ElementRef, OnDestroy, OnInit, OnChanges, NgZone } 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 * as i0 from "@angular/core";
|
package/draggable.d.ts
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
|
export { DraggableDirective } from './draggable/draggable.directive';
|
package/enums/keys.d.ts
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
|
/**
|
package/enums.d.ts
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
|
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 ©
|
|
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 ©
|
|
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 ©
|
|
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 ©
|
|
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 ©
|
|
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 ©
|
|
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 ©
|
|
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 ©
|
|
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(' ');
|