@progress/kendo-angular-common 19.1.1-develop.2 → 19.1.2-develop.1
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/adornments/prefix.directive.d.ts +1 -7
- package/adornments/suffix.directive.d.ts +19 -18
- package/esm2022/adornments/prefix.directive.mjs +1 -7
- package/esm2022/adornments/suffix.directive.mjs +19 -18
- package/esm2022/preventable-event.mjs +4 -7
- package/fesm2022/progress-kendo-angular-common.mjs +24 -32
- package/package.json +2 -2
- package/preventable-event.d.ts +4 -7
|
@@ -6,10 +6,7 @@ import { TemplateRef } from '@angular/core';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Specifies the adornments in the prefix container of the [Inputs](slug:adornments_textbox#toc-prefix-adornments) and [DropDowns](slug:adornments_multiselect#toc-prefix-adornments).
|
|
9
|
-
* ```
|
|
10
|
-
* _@Component({
|
|
11
|
-
* selector: 'my-app',
|
|
12
|
-
* template: `
|
|
9
|
+
* ```html
|
|
13
10
|
* <kendo-textbox>
|
|
14
11
|
* <ng-template kendoPrefixTemplate>
|
|
15
12
|
* <button kendoButton look="clear" icon="image"></button>
|
|
@@ -21,9 +18,6 @@ import * as i0 from "@angular/core";
|
|
|
21
18
|
* <button kendoButton look="clear" icon="image"></button>
|
|
22
19
|
* </ng-template>
|
|
23
20
|
* </kendo-multiselect>
|
|
24
|
-
* `
|
|
25
|
-
* })
|
|
26
|
-
* class AppComponent {}
|
|
27
21
|
* ```
|
|
28
22
|
*/
|
|
29
23
|
export declare class PrefixTemplateDirective {
|
|
@@ -5,24 +5,25 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
8
|
+
* Represents the directive for suffix adornments in the Inputs and DropDowns components.
|
|
9
|
+
*
|
|
10
|
+
* Use the `kendoSuffixTemplate` directive to add custom content to the suffix container.
|
|
11
|
+
*
|
|
12
|
+
* * See [Inputs Suffix Adornments](slug:adornments_textbox#toc-suffix-adornments)
|
|
13
|
+
* * See [DropDowns Suffix Adornments](slug:adornments_multiselect#toc-suffix-adornments)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <kendo-textbox>
|
|
18
|
+
* <ng-template kendoSuffixTemplate>
|
|
19
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
20
|
+
* </ng-template>
|
|
21
|
+
* </kendo-textbox>
|
|
22
|
+
* <kendo-multiselect [data]="data" [(ngModel)]="value">
|
|
23
|
+
* <ng-template kendoSuffixTemplate>
|
|
24
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
25
|
+
* </ng-template>
|
|
26
|
+
* </kendo-multiselect>
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare class SuffixTemplateDirective {
|
|
@@ -6,10 +6,7 @@ import { Directive, Input, Optional, TemplateRef } from '@angular/core';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Specifies the adornments in the prefix container of the [Inputs](slug:adornments_textbox#toc-prefix-adornments) and [DropDowns](slug:adornments_multiselect#toc-prefix-adornments).
|
|
9
|
-
* ```
|
|
10
|
-
* _@Component({
|
|
11
|
-
* selector: 'my-app',
|
|
12
|
-
* template: `
|
|
9
|
+
* ```html
|
|
13
10
|
* <kendo-textbox>
|
|
14
11
|
* <ng-template kendoPrefixTemplate>
|
|
15
12
|
* <button kendoButton look="clear" icon="image"></button>
|
|
@@ -21,9 +18,6 @@ import * as i0 from "@angular/core";
|
|
|
21
18
|
* <button kendoButton look="clear" icon="image"></button>
|
|
22
19
|
* </ng-template>
|
|
23
20
|
* </kendo-multiselect>
|
|
24
|
-
* `
|
|
25
|
-
* })
|
|
26
|
-
* class AppComponent {}
|
|
27
21
|
* ```
|
|
28
22
|
*/
|
|
29
23
|
export class PrefixTemplateDirective {
|
|
@@ -5,24 +5,25 @@
|
|
|
5
5
|
import { Directive, Input, Optional, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
8
|
+
* Represents the directive for suffix adornments in the Inputs and DropDowns components.
|
|
9
|
+
*
|
|
10
|
+
* Use the `kendoSuffixTemplate` directive to add custom content to the suffix container.
|
|
11
|
+
*
|
|
12
|
+
* * See [Inputs Suffix Adornments](slug:adornments_textbox#toc-suffix-adornments)
|
|
13
|
+
* * See [DropDowns Suffix Adornments](slug:adornments_multiselect#toc-suffix-adornments)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html
|
|
17
|
+
* <kendo-textbox>
|
|
18
|
+
* <ng-template kendoSuffixTemplate>
|
|
19
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
20
|
+
* </ng-template>
|
|
21
|
+
* </kendo-textbox>
|
|
22
|
+
* <kendo-multiselect [data]="data" [(ngModel)]="value">
|
|
23
|
+
* <ng-template kendoSuffixTemplate>
|
|
24
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
25
|
+
* </ng-template>
|
|
26
|
+
* </kendo-multiselect>
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export class SuffixTemplateDirective {
|
|
@@ -5,19 +5,16 @@
|
|
|
5
5
|
export class PreventableEvent {
|
|
6
6
|
prevented = false;
|
|
7
7
|
/**
|
|
8
|
-
* Prevents the default action for
|
|
9
|
-
*
|
|
10
|
-
* the built-in behavior that follows the event.
|
|
8
|
+
* Prevents the default action for the event.
|
|
9
|
+
* The source component suppresses the built-in behavior that follows the event.
|
|
11
10
|
*/
|
|
12
11
|
preventDefault() {
|
|
13
12
|
this.prevented = true;
|
|
14
13
|
}
|
|
15
14
|
/**
|
|
16
|
-
* Returns `true` if
|
|
17
|
-
* by any of its subscribers.
|
|
15
|
+
* Returns `true` if you or any subscriber prevented the default action.
|
|
18
16
|
*
|
|
19
|
-
* @returns `true` if the default action was prevented
|
|
20
|
-
* Otherwise, returns `false`.
|
|
17
|
+
* @returns `true` if the default action was prevented, otherwise, `false`.
|
|
21
18
|
*/
|
|
22
19
|
isDefaultPrevented() {
|
|
23
20
|
return this.prevented;
|
|
@@ -1002,10 +1002,7 @@ function shouldShowValidationUI(isPackageValid) {
|
|
|
1002
1002
|
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Specifies the adornments in the prefix container of the [Inputs](slug:adornments_textbox#toc-prefix-adornments) and [DropDowns](slug:adornments_multiselect#toc-prefix-adornments).
|
|
1005
|
-
* ```
|
|
1006
|
-
* _@Component({
|
|
1007
|
-
* selector: 'my-app',
|
|
1008
|
-
* template: `
|
|
1005
|
+
* ```html
|
|
1009
1006
|
* <kendo-textbox>
|
|
1010
1007
|
* <ng-template kendoPrefixTemplate>
|
|
1011
1008
|
* <button kendoButton look="clear" icon="image"></button>
|
|
@@ -1017,9 +1014,6 @@ function shouldShowValidationUI(isPackageValid) {
|
|
|
1017
1014
|
* <button kendoButton look="clear" icon="image"></button>
|
|
1018
1015
|
* </ng-template>
|
|
1019
1016
|
* </kendo-multiselect>
|
|
1020
|
-
* `
|
|
1021
|
-
* })
|
|
1022
|
-
* class AppComponent {}
|
|
1023
1017
|
* ```
|
|
1024
1018
|
*/
|
|
1025
1019
|
class PrefixTemplateDirective {
|
|
@@ -1055,24 +1049,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1055
1049
|
}] } });
|
|
1056
1050
|
|
|
1057
1051
|
/**
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1064
|
-
*
|
|
1065
|
-
*
|
|
1066
|
-
*
|
|
1067
|
-
*
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1074
|
-
*
|
|
1075
|
-
*
|
|
1052
|
+
* Represents the directive for suffix adornments in the Inputs and DropDowns components.
|
|
1053
|
+
*
|
|
1054
|
+
* Use the `kendoSuffixTemplate` directive to add custom content to the suffix container.
|
|
1055
|
+
*
|
|
1056
|
+
* * See [Inputs Suffix Adornments](slug:adornments_textbox#toc-suffix-adornments)
|
|
1057
|
+
* * See [DropDowns Suffix Adornments](slug:adornments_multiselect#toc-suffix-adornments)
|
|
1058
|
+
*
|
|
1059
|
+
* @example
|
|
1060
|
+
* ```html
|
|
1061
|
+
* <kendo-textbox>
|
|
1062
|
+
* <ng-template kendoSuffixTemplate>
|
|
1063
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
1064
|
+
* </ng-template>
|
|
1065
|
+
* </kendo-textbox>
|
|
1066
|
+
* <kendo-multiselect [data]="data" [(ngModel)]="value">
|
|
1067
|
+
* <ng-template kendoSuffixTemplate>
|
|
1068
|
+
* <button kendoButton look="clear" icon="image"></button>
|
|
1069
|
+
* </ng-template>
|
|
1070
|
+
* </kendo-multiselect>
|
|
1076
1071
|
* ```
|
|
1077
1072
|
*/
|
|
1078
1073
|
class SuffixTemplateDirective {
|
|
@@ -1175,19 +1170,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1175
1170
|
class PreventableEvent {
|
|
1176
1171
|
prevented = false;
|
|
1177
1172
|
/**
|
|
1178
|
-
* Prevents the default action for
|
|
1179
|
-
*
|
|
1180
|
-
* the built-in behavior that follows the event.
|
|
1173
|
+
* Prevents the default action for the event.
|
|
1174
|
+
* The source component suppresses the built-in behavior that follows the event.
|
|
1181
1175
|
*/
|
|
1182
1176
|
preventDefault() {
|
|
1183
1177
|
this.prevented = true;
|
|
1184
1178
|
}
|
|
1185
1179
|
/**
|
|
1186
|
-
* Returns `true` if
|
|
1187
|
-
* by any of its subscribers.
|
|
1180
|
+
* Returns `true` if you or any subscriber prevented the default action.
|
|
1188
1181
|
*
|
|
1189
|
-
* @returns `true` if the default action was prevented
|
|
1190
|
-
* Otherwise, returns `false`.
|
|
1182
|
+
* @returns `true` if the default action was prevented, otherwise, `false`.
|
|
1191
1183
|
*/
|
|
1192
1184
|
isDefaultPrevented() {
|
|
1193
1185
|
return this.prevented;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-common",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.2-develop.1",
|
|
4
4
|
"description": "Kendo UI for Angular - Utility Package",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@progress/kendo-common": "^1.0.1",
|
|
24
24
|
"@progress/kendo-draggable": "^3.0.2",
|
|
25
25
|
"tslib": "^2.3.1",
|
|
26
|
-
"@progress/kendo-angular-schematics": "19.1.
|
|
26
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.1"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
package/preventable-event.d.ts
CHANGED
|
@@ -5,17 +5,14 @@
|
|
|
5
5
|
export declare abstract class PreventableEvent {
|
|
6
6
|
private prevented;
|
|
7
7
|
/**
|
|
8
|
-
* Prevents the default action for
|
|
9
|
-
*
|
|
10
|
-
* the built-in behavior that follows the event.
|
|
8
|
+
* Prevents the default action for the event.
|
|
9
|
+
* The source component suppresses the built-in behavior that follows the event.
|
|
11
10
|
*/
|
|
12
11
|
preventDefault(): void;
|
|
13
12
|
/**
|
|
14
|
-
* Returns `true` if
|
|
15
|
-
* by any of its subscribers.
|
|
13
|
+
* Returns `true` if you or any subscriber prevented the default action.
|
|
16
14
|
*
|
|
17
|
-
* @returns `true` if the default action was prevented
|
|
18
|
-
* Otherwise, returns `false`.
|
|
15
|
+
* @returns `true` if the default action was prevented, otherwise, `false`.
|
|
19
16
|
*/
|
|
20
17
|
isDefaultPrevented(): boolean;
|
|
21
18
|
}
|