@progress/kendo-angular-listview 21.1.1-develop.1 → 21.2.0-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.
@@ -6,7 +6,7 @@ import { Component, HostListener, ElementRef, Renderer2 as Renderer, NgZone } fr
6
6
  import { Button } from '@progress/kendo-angular-buttons';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { EditService } from '../edit.service';
9
- import { NgIf, NgClass } from '@angular/common';
9
+ import { NgClass } from '@angular/common';
10
10
  import { IconWrapperComponent } from '@progress/kendo-angular-icons';
11
11
  import * as i0 from "@angular/core";
12
12
  import * as i1 from "../edit.service";
@@ -42,37 +42,47 @@ export class AddCommandDirective extends Button {
42
42
  this.editService = editService;
43
43
  }
44
44
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AddCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
45
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AddCommandDirective, isStandalone: true, selector: "[kendoListViewAddCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
46
- <kendo-icon-wrapper
47
- *ngIf="icon || svgIcon"
45
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: AddCommandDirective, isStandalone: true, selector: "[kendoListViewAddCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
46
+ @if (icon || svgIcon) {
47
+ <kendo-icon-wrapper
48
48
  innerCssClass="k-button-icon"
49
49
  [name]="icon"
50
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
51
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
50
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
51
+ }
52
+ @if (imageUrl) {
53
+ <span class="k-button-icon k-icon">
52
54
  <img [src]="imageUrl" class="k-image" role="presentation" />
53
- </span>
54
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
55
+ </span>
56
+ }
57
+ @if (iconClass) {
58
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
59
+ }
55
60
  <span class="k-button-text"><ng-content></ng-content></span>
56
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
61
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
57
62
  }
58
63
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AddCommandDirective, decorators: [{
59
64
  type: Component,
60
65
  args: [{
61
66
  selector: '[kendoListViewAddCommand]',
62
67
  template: `
63
- <kendo-icon-wrapper
64
- *ngIf="icon || svgIcon"
68
+ @if (icon || svgIcon) {
69
+ <kendo-icon-wrapper
65
70
  innerCssClass="k-button-icon"
66
71
  [name]="icon"
67
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
68
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
72
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
73
+ }
74
+ @if (imageUrl) {
75
+ <span class="k-button-icon k-icon">
69
76
  <img [src]="imageUrl" class="k-image" role="presentation" />
70
- </span>
71
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
77
+ </span>
78
+ }
79
+ @if (iconClass) {
80
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
81
+ }
72
82
  <span class="k-button-text"><ng-content></ng-content></span>
73
- `,
83
+ `,
74
84
  standalone: true,
75
- imports: [NgIf, IconWrapperComponent, NgClass]
85
+ imports: [IconWrapperComponent, NgClass]
76
86
  }]
77
87
  }], ctorParameters: () => [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }], propDecorators: { clickHandler: [{
78
88
  type: HostListener,
@@ -7,7 +7,7 @@ import { Button } from '@progress/kendo-angular-buttons';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { EditService } from '../edit.service';
9
9
  import { getClosestListItemIndex } from '../../utils';
10
- import { NgIf, NgClass } from '@angular/common';
10
+ import { NgClass } from '@angular/common';
11
11
  import { IconWrapperComponent } from '@progress/kendo-angular-icons';
12
12
  import * as i0 from "@angular/core";
13
13
  import * as i1 from "../edit.service";
@@ -59,37 +59,47 @@ export class CancelCommandDirective extends Button {
59
59
  this.elementRef = element;
60
60
  }
61
61
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CancelCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
62
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CancelCommandDirective, isStandalone: true, selector: "[kendoListViewCancelCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
63
- <kendo-icon-wrapper
64
- *ngIf="icon || svgIcon"
62
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CancelCommandDirective, isStandalone: true, selector: "[kendoListViewCancelCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
63
+ @if (icon || svgIcon) {
64
+ <kendo-icon-wrapper
65
65
  innerCssClass="k-button-icon"
66
66
  [name]="icon"
67
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
68
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
67
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
68
+ }
69
+ @if (imageUrl) {
70
+ <span class="k-button-icon k-icon">
69
71
  <img [src]="imageUrl" class="k-image" role="presentation" />
70
- </span>
71
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
72
+ </span>
73
+ }
74
+ @if (iconClass) {
75
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
76
+ }
72
77
  <span class="k-button-text"><ng-content></ng-content></span>
73
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
78
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
74
79
  }
75
80
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CancelCommandDirective, decorators: [{
76
81
  type: Component,
77
82
  args: [{
78
83
  selector: '[kendoListViewCancelCommand]',
79
84
  template: `
80
- <kendo-icon-wrapper
81
- *ngIf="icon || svgIcon"
85
+ @if (icon || svgIcon) {
86
+ <kendo-icon-wrapper
82
87
  innerCssClass="k-button-icon"
83
88
  [name]="icon"
84
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
85
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
89
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
90
+ }
91
+ @if (imageUrl) {
92
+ <span class="k-button-icon k-icon">
86
93
  <img [src]="imageUrl" class="k-image" role="presentation" />
87
- </span>
88
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
94
+ </span>
95
+ }
96
+ @if (iconClass) {
97
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
98
+ }
89
99
  <span class="k-button-text"><ng-content></ng-content></span>
90
- `,
100
+ `,
91
101
  standalone: true,
92
- imports: [NgIf, IconWrapperComponent, NgClass]
102
+ imports: [IconWrapperComponent, NgClass]
93
103
  }]
94
104
  }], ctorParameters: () => [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }], propDecorators: { clickHandler: [{
95
105
  type: HostListener,
@@ -7,7 +7,7 @@ import { Button } from '@progress/kendo-angular-buttons';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { EditService } from '../edit.service';
9
9
  import { getClosestListItemIndex } from '../../utils';
10
- import { NgIf, NgClass } from '@angular/common';
10
+ import { NgClass } from '@angular/common';
11
11
  import { IconWrapperComponent } from '@progress/kendo-angular-icons';
12
12
  import * as i0 from "@angular/core";
13
13
  import * as i1 from "../edit.service";
@@ -46,37 +46,47 @@ export class EditCommandDirective extends Button {
46
46
  this.elementRef = element;
47
47
  }
48
48
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
49
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditCommandDirective, isStandalone: true, selector: "[kendoListViewEditCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
50
- <kendo-icon-wrapper
51
- *ngIf="icon || svgIcon"
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditCommandDirective, isStandalone: true, selector: "[kendoListViewEditCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
50
+ @if (icon || svgIcon) {
51
+ <kendo-icon-wrapper
52
52
  innerCssClass="k-button-icon"
53
53
  [name]="icon"
54
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
55
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
54
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
55
+ }
56
+ @if (imageUrl) {
57
+ <span class="k-button-icon k-icon">
56
58
  <img [src]="imageUrl" class="k-image" role="presentation" />
57
- </span>
58
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
59
+ </span>
60
+ }
61
+ @if (iconClass) {
62
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
63
+ }
59
64
  <span class="k-button-text"><ng-content></ng-content></span>
60
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
65
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
61
66
  }
62
67
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditCommandDirective, decorators: [{
63
68
  type: Component,
64
69
  args: [{
65
70
  selector: '[kendoListViewEditCommand]',
66
71
  template: `
67
- <kendo-icon-wrapper
68
- *ngIf="icon || svgIcon"
72
+ @if (icon || svgIcon) {
73
+ <kendo-icon-wrapper
69
74
  innerCssClass="k-button-icon"
70
75
  [name]="icon"
71
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
72
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
76
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
77
+ }
78
+ @if (imageUrl) {
79
+ <span class="k-button-icon k-icon">
73
80
  <img [src]="imageUrl" class="k-image" role="presentation" />
74
- </span>
75
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
81
+ </span>
82
+ }
83
+ @if (iconClass) {
84
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
85
+ }
76
86
  <span class="k-button-text"><ng-content></ng-content></span>
77
- `,
87
+ `,
78
88
  standalone: true,
79
- imports: [NgIf, IconWrapperComponent, NgClass]
89
+ imports: [IconWrapperComponent, NgClass]
80
90
  }]
81
91
  }], ctorParameters: () => [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }], propDecorators: { clickHandler: [{
82
92
  type: HostListener,
@@ -7,7 +7,7 @@ import { Button } from '@progress/kendo-angular-buttons';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { EditService } from '../edit.service';
9
9
  import { getClosestListItemIndex } from '../../utils';
10
- import { NgIf, NgClass } from '@angular/common';
10
+ import { NgClass } from '@angular/common';
11
11
  import { IconWrapperComponent } from '@progress/kendo-angular-icons';
12
12
  import * as i0 from "@angular/core";
13
13
  import * as i1 from "../edit.service";
@@ -46,37 +46,47 @@ export class RemoveCommandDirective extends Button {
46
46
  this.elementRef = element;
47
47
  }
48
48
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
49
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RemoveCommandDirective, isStandalone: true, selector: "[kendoListViewRemoveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
50
- <kendo-icon-wrapper
51
- *ngIf="icon || svgIcon"
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RemoveCommandDirective, isStandalone: true, selector: "[kendoListViewRemoveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
50
+ @if (icon || svgIcon) {
51
+ <kendo-icon-wrapper
52
52
  innerCssClass="k-button-icon"
53
53
  [name]="icon"
54
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
55
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
54
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
55
+ }
56
+ @if (imageUrl) {
57
+ <span class="k-button-icon k-icon">
56
58
  <img [src]="imageUrl" class="k-image" role="presentation" />
57
- </span>
58
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
59
+ </span>
60
+ }
61
+ @if (iconClass) {
62
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
63
+ }
59
64
  <span class="k-button-text"><ng-content></ng-content></span>
60
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
65
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
61
66
  }
62
67
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RemoveCommandDirective, decorators: [{
63
68
  type: Component,
64
69
  args: [{
65
70
  selector: '[kendoListViewRemoveCommand]',
66
71
  template: `
67
- <kendo-icon-wrapper
68
- *ngIf="icon || svgIcon"
72
+ @if (icon || svgIcon) {
73
+ <kendo-icon-wrapper
69
74
  innerCssClass="k-button-icon"
70
75
  [name]="icon"
71
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
72
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
76
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
77
+ }
78
+ @if (imageUrl) {
79
+ <span class="k-button-icon k-icon">
73
80
  <img [src]="imageUrl" class="k-image" role="presentation" />
74
- </span>
75
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
81
+ </span>
82
+ }
83
+ @if (iconClass) {
84
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
85
+ }
76
86
  <span class="k-button-text"><ng-content></ng-content></span>
77
- `,
87
+ `,
78
88
  standalone: true,
79
- imports: [NgIf, IconWrapperComponent, NgClass]
89
+ imports: [IconWrapperComponent, NgClass]
80
90
  }]
81
91
  }], ctorParameters: () => [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }], propDecorators: { clickHandler: [{
82
92
  type: HostListener,
@@ -7,7 +7,7 @@ import { Button } from '@progress/kendo-angular-buttons';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { EditService } from '../edit.service';
9
9
  import { getClosestListItemIndex } from '../../utils';
10
- import { NgIf, NgClass } from '@angular/common';
10
+ import { NgClass } from '@angular/common';
11
11
  import { IconWrapperComponent } from '@progress/kendo-angular-icons';
12
12
  import * as i0 from "@angular/core";
13
13
  import * as i1 from "../edit.service";
@@ -59,37 +59,47 @@ export class SaveCommandDirective extends Button {
59
59
  this.elementRef = element;
60
60
  }
61
61
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SaveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
62
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SaveCommandDirective, isStandalone: true, selector: "[kendoListViewSaveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
63
- <kendo-icon-wrapper
64
- *ngIf="icon || svgIcon"
62
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SaveCommandDirective, isStandalone: true, selector: "[kendoListViewSaveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
63
+ @if (icon || svgIcon) {
64
+ <kendo-icon-wrapper
65
65
  innerCssClass="k-button-icon"
66
66
  [name]="icon"
67
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
68
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
67
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
68
+ }
69
+ @if (imageUrl) {
70
+ <span class="k-button-icon k-icon">
69
71
  <img [src]="imageUrl" class="k-image" role="presentation" />
70
- </span>
71
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
72
+ </span>
73
+ }
74
+ @if (iconClass) {
75
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
76
+ }
72
77
  <span class="k-button-text"><ng-content></ng-content></span>
73
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
78
+ `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
74
79
  }
75
80
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SaveCommandDirective, decorators: [{
76
81
  type: Component,
77
82
  args: [{
78
83
  selector: '[kendoListViewSaveCommand]',
79
84
  template: `
80
- <kendo-icon-wrapper
81
- *ngIf="icon || svgIcon"
85
+ @if (icon || svgIcon) {
86
+ <kendo-icon-wrapper
82
87
  innerCssClass="k-button-icon"
83
88
  [name]="icon"
84
- [svgIcon]="svgIcon"></kendo-icon-wrapper>
85
- <span *ngIf="imageUrl" class="k-button-icon k-icon">
89
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
90
+ }
91
+ @if (imageUrl) {
92
+ <span class="k-button-icon k-icon">
86
93
  <img [src]="imageUrl" class="k-image" role="presentation" />
87
- </span>
88
- <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
94
+ </span>
95
+ }
96
+ @if (iconClass) {
97
+ <span class="k-button-icon" [ngClass]="iconClass"></span>
98
+ }
89
99
  <span class="k-button-text"><ng-content></ng-content></span>
90
- `,
100
+ `,
91
101
  standalone: true,
92
- imports: [NgIf, IconWrapperComponent, NgClass]
102
+ imports: [IconWrapperComponent, NgClass]
93
103
  }]
94
104
  }], ctorParameters: () => [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }], propDecorators: { clickHandler: [{
95
105
  type: HostListener,