@progress/kendo-angular-editor 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.
@@ -3,7 +3,6 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, ViewChild, Input, forwardRef, Output, EventEmitter, ElementRef, Renderer2 } from '@angular/core';
6
- import { NgIf } from '@angular/common';
7
6
  import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
8
7
  import { DialogService } from '@progress/kendo-angular-dialog';
9
8
  import { applyFormatIcon } from '@progress/kendo-svg-icons';
@@ -170,50 +169,52 @@ export class EditorFormatComponent extends ToolBarToolComponent {
170
169
  return false;
171
170
  }
172
171
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1.DialogService }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
173
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorFormatComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
172
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorFormatComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
174
173
  <ng-template #toolbarTemplate>
175
- <kendo-editor-format-dropdownlist
176
- #formatDropDownList
177
- [defaultItem]="defaultItem"
178
- [data]="data"
179
- [(value)]="value"
180
- [itemDisabled]="itemDisabled"
181
- [title]="title"
182
- [disabled]="disabled"
183
- [tabindex]="tabindex"
184
- (valueChange)="onValueChange($event)"
174
+ <kendo-editor-format-dropdownlist
175
+ #formatDropDownList
176
+ [defaultItem]="defaultItem"
177
+ [data]="data"
178
+ [(value)]="value"
179
+ [itemDisabled]="itemDisabled"
180
+ [title]="title"
181
+ [disabled]="disabled"
182
+ [tabindex]="tabindex"
183
+ (valueChange)="onValueChange($event)"
185
184
  >
186
- </kendo-editor-format-dropdownlist>
185
+ </kendo-editor-format-dropdownlist>
187
186
  </ng-template>
188
187
  <ng-template #popupTemplate>
189
- <div #formatButton
190
- role="menuitem"
191
- class="k-item k-menu-item"
192
- [class.k-disabled]="disabled"
193
- [tabindex]="tabindex"
194
- (click)="openDialog()">
195
- <span
196
- class="k-link k-menu-link">
197
- <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
198
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
199
- </span>
200
- </div>
188
+ <div #formatButton
189
+ role="menuitem"
190
+ class="k-item k-menu-item"
191
+ [class.k-disabled]="disabled"
192
+ [tabindex]="tabindex"
193
+ (click)="openDialog()">
194
+ <span
195
+ class="k-link k-menu-link">
196
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
197
+ @if (title) {
198
+ <span class="k-menu-link-text">{{title}}</span>
199
+ }
200
+ </span>
201
+ </div>
201
202
  </ng-template>
202
203
  <ng-template #sectionTemplate>
203
- <kendo-editor-format-dropdownlist
204
- #formatDropDownList
205
- [defaultItem]="defaultItem"
206
- [data]="data"
207
- [(value)]="value"
208
- [itemDisabled]="itemDisabled"
209
- [title]="title"
210
- [disabled]="disabled"
211
- [tabindex]="tabindex"
212
- (valueChange)="onValueChange($event)"
204
+ <kendo-editor-format-dropdownlist
205
+ #formatDropDownList
206
+ [defaultItem]="defaultItem"
207
+ [data]="data"
208
+ [(value)]="value"
209
+ [itemDisabled]="itemDisabled"
210
+ [title]="title"
211
+ [disabled]="disabled"
212
+ [tabindex]="tabindex"
213
+ (valueChange)="onValueChange($event)"
213
214
  >
214
- </kendo-editor-format-dropdownlist>
215
+ </kendo-editor-format-dropdownlist>
215
216
  </ng-template>
216
- `, isInline: true, dependencies: [{ kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
217
+ `, isInline: true, dependencies: [{ kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
217
218
  }
218
219
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFormatComponent, decorators: [{
219
220
  type: Component,
@@ -222,50 +223,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
222
223
  selector: 'kendo-toolbar-dropdownlist[kendoEditorFormat]',
223
224
  template: `
224
225
  <ng-template #toolbarTemplate>
225
- <kendo-editor-format-dropdownlist
226
- #formatDropDownList
227
- [defaultItem]="defaultItem"
228
- [data]="data"
229
- [(value)]="value"
230
- [itemDisabled]="itemDisabled"
231
- [title]="title"
232
- [disabled]="disabled"
233
- [tabindex]="tabindex"
234
- (valueChange)="onValueChange($event)"
226
+ <kendo-editor-format-dropdownlist
227
+ #formatDropDownList
228
+ [defaultItem]="defaultItem"
229
+ [data]="data"
230
+ [(value)]="value"
231
+ [itemDisabled]="itemDisabled"
232
+ [title]="title"
233
+ [disabled]="disabled"
234
+ [tabindex]="tabindex"
235
+ (valueChange)="onValueChange($event)"
235
236
  >
236
- </kendo-editor-format-dropdownlist>
237
+ </kendo-editor-format-dropdownlist>
237
238
  </ng-template>
238
239
  <ng-template #popupTemplate>
239
- <div #formatButton
240
- role="menuitem"
241
- class="k-item k-menu-item"
242
- [class.k-disabled]="disabled"
243
- [tabindex]="tabindex"
244
- (click)="openDialog()">
245
- <span
246
- class="k-link k-menu-link">
247
- <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
248
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
249
- </span>
250
- </div>
240
+ <div #formatButton
241
+ role="menuitem"
242
+ class="k-item k-menu-item"
243
+ [class.k-disabled]="disabled"
244
+ [tabindex]="tabindex"
245
+ (click)="openDialog()">
246
+ <span
247
+ class="k-link k-menu-link">
248
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
249
+ @if (title) {
250
+ <span class="k-menu-link-text">{{title}}</span>
251
+ }
252
+ </span>
253
+ </div>
251
254
  </ng-template>
252
255
  <ng-template #sectionTemplate>
253
- <kendo-editor-format-dropdownlist
254
- #formatDropDownList
255
- [defaultItem]="defaultItem"
256
- [data]="data"
257
- [(value)]="value"
258
- [itemDisabled]="itemDisabled"
259
- [title]="title"
260
- [disabled]="disabled"
261
- [tabindex]="tabindex"
262
- (valueChange)="onValueChange($event)"
256
+ <kendo-editor-format-dropdownlist
257
+ #formatDropDownList
258
+ [defaultItem]="defaultItem"
259
+ [data]="data"
260
+ [(value)]="value"
261
+ [itemDisabled]="itemDisabled"
262
+ [title]="title"
263
+ [disabled]="disabled"
264
+ [tabindex]="tabindex"
265
+ (valueChange)="onValueChange($event)"
263
266
  >
264
- </kendo-editor-format-dropdownlist>
267
+ </kendo-editor-format-dropdownlist>
265
268
  </ng-template>
266
- `,
269
+ `,
267
270
  standalone: true,
268
- imports: [FormatDropDownListComponent, IconWrapperComponent, NgIf]
271
+ imports: [FormatDropDownListComponent, IconWrapperComponent]
269
272
  }]
270
273
  }], ctorParameters: () => [{ type: i1.DialogService }, { type: i2.EditorLocalizationService }, { type: i3.ProviderService }, { type: i4.EditorToolsService }, { type: i0.Renderer2 }], propDecorators: { data: [{
271
274
  type: Input
@@ -3,7 +3,6 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, TemplateRef, ViewChild, ElementRef, forwardRef, EventEmitter, Renderer2 } from '@angular/core';
6
- import { NgIf } from '@angular/common';
7
6
  import { interval } from 'rxjs';
8
7
  import { concatMap, take, takeUntil } from 'rxjs/operators';
9
8
  import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
@@ -185,55 +184,57 @@ export class EditorInsertTableButtonComponent extends ToolBarToolComponent {
185
184
  return (this.overflows ? this.overflowElement : this.element)?.nativeElement;
186
185
  }
187
186
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: i1.EditorLocalizationService }, { token: i2.PopupService }, { token: i3.DialogService }, { token: i4.ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
188
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorInsertTableButtonComponent, isStandalone: true, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
187
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorInsertTableButtonComponent, isStandalone: true, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
189
188
  <ng-template #toolbarTemplate>
190
- <button
191
- type="button"
192
- kendoButton
193
- class="k-toolbar-button"
194
- #element
195
- [attr.title]="title"
196
- [attr.tabindex]="tabIndex"
197
- icon="table-add"
198
- [svgIcon]="addTableSVGIcon"
199
- [disabled]="disabled"
200
- (click)="toggle()"
201
- (blur)="onBlur()"
202
- ></button>
189
+ <button
190
+ type="button"
191
+ kendoButton
192
+ class="k-toolbar-button"
193
+ #element
194
+ [attr.title]="title"
195
+ [attr.tabindex]="tabIndex"
196
+ icon="table-add"
197
+ [svgIcon]="addTableSVGIcon"
198
+ [disabled]="disabled"
199
+ (click)="toggle()"
200
+ (blur)="onBlur()"
201
+ ></button>
203
202
  </ng-template>
204
203
  <ng-template #popupTemplate>
205
- <div #overflowElement
206
- role="menuitem"
207
- class="k-item k-menu-item"
208
- [class.k-disabled]="disabled"
209
- [attr.tabindex]="tabIndex"
210
- (click)="openDialog()">
211
- <span
212
- class="k-link k-menu-link">
213
- <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
214
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
215
- </span>
216
- </div>
204
+ <div #overflowElement
205
+ role="menuitem"
206
+ class="k-item k-menu-item"
207
+ [class.k-disabled]="disabled"
208
+ [attr.tabindex]="tabIndex"
209
+ (click)="openDialog()">
210
+ <span
211
+ class="k-link k-menu-link">
212
+ <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
213
+ @if (title) {
214
+ <span class="k-menu-link-text">{{title}}</span>
215
+ }
216
+ </span>
217
+ </div>
217
218
  </ng-template>
218
219
  <ng-template #popupGridTemplate>
219
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
220
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
220
221
  </ng-template>
221
222
  <ng-template #sectionTemplate>
222
- <button
223
- type="button"
224
- kendoButton
225
- class="k-toolbar-button"
226
- #element
227
- [attr.title]="title"
228
- [attr.tabindex]="tabIndex"
229
- icon="table-add"
230
- [svgIcon]="addTableSVGIcon"
231
- [disabled]="disabled"
232
- (click)="toggle()"
233
- (blur)="onBlur()"
234
- ></button>
223
+ <button
224
+ type="button"
225
+ kendoButton
226
+ class="k-toolbar-button"
227
+ #element
228
+ [attr.title]="title"
229
+ [attr.tabindex]="tabIndex"
230
+ icon="table-add"
231
+ [svgIcon]="addTableSVGIcon"
232
+ [disabled]="disabled"
233
+ (click)="toggle()"
234
+ (blur)="onBlur()"
235
+ ></button>
235
236
  </ng-template>
236
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
237
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
237
238
  }
238
239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
239
240
  type: Component,
@@ -242,55 +243,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
242
243
  selector: 'kendo-editor-insert-table-button',
243
244
  template: `
244
245
  <ng-template #toolbarTemplate>
245
- <button
246
- type="button"
247
- kendoButton
248
- class="k-toolbar-button"
249
- #element
250
- [attr.title]="title"
251
- [attr.tabindex]="tabIndex"
252
- icon="table-add"
253
- [svgIcon]="addTableSVGIcon"
254
- [disabled]="disabled"
255
- (click)="toggle()"
256
- (blur)="onBlur()"
257
- ></button>
246
+ <button
247
+ type="button"
248
+ kendoButton
249
+ class="k-toolbar-button"
250
+ #element
251
+ [attr.title]="title"
252
+ [attr.tabindex]="tabIndex"
253
+ icon="table-add"
254
+ [svgIcon]="addTableSVGIcon"
255
+ [disabled]="disabled"
256
+ (click)="toggle()"
257
+ (blur)="onBlur()"
258
+ ></button>
258
259
  </ng-template>
259
260
  <ng-template #popupTemplate>
260
- <div #overflowElement
261
- role="menuitem"
262
- class="k-item k-menu-item"
263
- [class.k-disabled]="disabled"
264
- [attr.tabindex]="tabIndex"
265
- (click)="openDialog()">
266
- <span
267
- class="k-link k-menu-link">
268
- <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
269
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
270
- </span>
271
- </div>
261
+ <div #overflowElement
262
+ role="menuitem"
263
+ class="k-item k-menu-item"
264
+ [class.k-disabled]="disabled"
265
+ [attr.tabindex]="tabIndex"
266
+ (click)="openDialog()">
267
+ <span
268
+ class="k-link k-menu-link">
269
+ <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
270
+ @if (title) {
271
+ <span class="k-menu-link-text">{{title}}</span>
272
+ }
273
+ </span>
274
+ </div>
272
275
  </ng-template>
273
276
  <ng-template #popupGridTemplate>
274
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
277
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
275
278
  </ng-template>
276
279
  <ng-template #sectionTemplate>
277
- <button
278
- type="button"
279
- kendoButton
280
- class="k-toolbar-button"
281
- #element
282
- [attr.title]="title"
283
- [attr.tabindex]="tabIndex"
284
- icon="table-add"
285
- [svgIcon]="addTableSVGIcon"
286
- [disabled]="disabled"
287
- (click)="toggle()"
288
- (blur)="onBlur()"
289
- ></button>
280
+ <button
281
+ type="button"
282
+ kendoButton
283
+ class="k-toolbar-button"
284
+ #element
285
+ [attr.title]="title"
286
+ [attr.tabindex]="tabIndex"
287
+ icon="table-add"
288
+ [svgIcon]="addTableSVGIcon"
289
+ [disabled]="disabled"
290
+ (click)="toggle()"
291
+ (blur)="onBlur()"
292
+ ></button>
290
293
  </ng-template>
291
- `,
294
+ `,
292
295
  standalone: true,
293
- imports: [ButtonComponent, IconWrapperComponent, NgIf, PopupTableGridComponent]
296
+ imports: [ButtonComponent, IconWrapperComponent, PopupTableGridComponent]
294
297
  }]
295
298
  }], ctorParameters: () => [{ type: i1.EditorLocalizationService }, { type: i2.PopupService }, { type: i3.DialogService }, { type: i4.ProviderService }, { type: i0.Renderer2 }], propDecorators: { element: [{
296
299
  type: ViewChild,
@@ -3,7 +3,6 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Output, EventEmitter } from '@angular/core';
6
- import { NgFor } from '@angular/common';
7
6
  import { tableWizardIcon } from '@progress/kendo-svg-icons';
8
7
  import { EditorLocalizationService } from '../../localization/editor-localization.service';
9
8
  import { replaceMessagePlaceholder } from '../../util';
@@ -59,26 +58,28 @@ export class PopupTableGridComponent {
59
58
  this.tableWizardClick.emit();
60
59
  }
61
60
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: i1.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
62
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
61
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
63
62
  <div
64
- [style.border-color]="'inherit'"
65
- class="k-ct-popup"
66
- (mouseleave)="resetState()"
67
- (click)="insertTable()">
68
- <span *ngFor="let i of cells"
69
- class="k-ct-cell"
70
- [class.k-selected]="selected(i)"
71
- [class.k-disabled]="!selected(i)"
72
- (mouseenter)="setState(i)">
63
+ [style.border-color]="'inherit'"
64
+ class="k-ct-popup"
65
+ (mouseleave)="resetState()"
66
+ (click)="insertTable()">
67
+ @for (i of cells; track i) {
68
+ <span
69
+ class="k-ct-cell"
70
+ [class.k-selected]="selected(i)"
71
+ [class.k-disabled]="!selected(i)"
72
+ (mouseenter)="setState(i)">
73
73
  </span>
74
+ }
74
75
  </div>
75
76
  <div class="k-status" unselectable="on">{{ message }}</div>
76
77
  <!-- uncomment when TableWizard is completed
77
78
  <div class="k-editor-toolbar" unselectable="on">
78
- <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
79
+ <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
79
80
  </div>
80
81
  -->
81
- `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
82
+ `, isInline: true });
82
83
  }
83
84
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopupTableGridComponent, decorators: [{
84
85
  type: Component,
@@ -86,26 +87,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
86
87
  selector: 'kendo-popup-table-grid',
87
88
  template: `
88
89
  <div
89
- [style.border-color]="'inherit'"
90
- class="k-ct-popup"
91
- (mouseleave)="resetState()"
92
- (click)="insertTable()">
93
- <span *ngFor="let i of cells"
94
- class="k-ct-cell"
95
- [class.k-selected]="selected(i)"
96
- [class.k-disabled]="!selected(i)"
97
- (mouseenter)="setState(i)">
90
+ [style.border-color]="'inherit'"
91
+ class="k-ct-popup"
92
+ (mouseleave)="resetState()"
93
+ (click)="insertTable()">
94
+ @for (i of cells; track i) {
95
+ <span
96
+ class="k-ct-cell"
97
+ [class.k-selected]="selected(i)"
98
+ [class.k-disabled]="!selected(i)"
99
+ (mouseenter)="setState(i)">
98
100
  </span>
101
+ }
99
102
  </div>
100
103
  <div class="k-status" unselectable="on">{{ message }}</div>
101
104
  <!-- uncomment when TableWizard is completed
102
105
  <div class="k-editor-toolbar" unselectable="on">
103
- <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
106
+ <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
104
107
  </div>
105
108
  -->
106
- `,
109
+ `,
107
110
  standalone: true,
108
- imports: [NgFor]
111
+ imports: []
109
112
  }]
110
113
  }], ctorParameters: () => [{ type: i1.EditorLocalizationService }], propDecorators: { cellClick: [{
111
114
  type: Output