@progress/kendo-angular-listbox 24.0.0-develop.36 → 24.0.0-develop.38
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/directives.d.ts +2 -1
- package/fesm2022/progress-kendo-angular-listbox.mjs +68 -18
- package/index.d.ts +1 -0
- package/listbox.component.d.ts +6 -1
- package/listbox.module.d.ts +4 -3
- package/no-data-template.directive.d.ts +27 -0
- package/package-metadata.mjs +2 -2
- package/package.json +6 -6
- package/schematics/ngAdd/index.js +4 -4
package/directives.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ import { ItemSelectableDirective } from "./item-selectable.directive";
|
|
|
7
7
|
import { ItemTemplateDirective } from "./item-template.directive";
|
|
8
8
|
import { ListBoxComponent } from "./listbox.component";
|
|
9
9
|
import { CustomMessagesComponent } from "./localization/custom-messages.component";
|
|
10
|
+
import { NoDataTemplateDirective } from "./no-data-template.directive";
|
|
10
11
|
/**
|
|
11
12
|
* Utility array that contains all `@progress/kendo-angular-listbox` related components and directives
|
|
12
13
|
*/
|
|
13
|
-
export declare const KENDO_LISTBOX: readonly [typeof ListBoxComponent, typeof ItemTemplateDirective, typeof ItemSelectableDirective, typeof DataBindingDirective, typeof CustomMessagesComponent];
|
|
14
|
+
export declare const KENDO_LISTBOX: readonly [typeof ListBoxComponent, typeof ItemTemplateDirective, typeof ItemSelectableDirective, typeof NoDataTemplateDirective, typeof DataBindingDirective, typeof CustomMessagesComponent];
|
|
@@ -9,10 +9,11 @@ import { Subscription } from 'rxjs';
|
|
|
9
9
|
import { getter } from '@progress/kendo-common';
|
|
10
10
|
import { chevronUpIcon, chevronDownIcon, chevronRightIcon, chevronLeftIcon, chevronDoubleRightIcon, chevronDoubleLeftIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
11
11
|
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
12
|
-
import { normalizeKeys, Keys, isPresent as isPresent$1, TemplateContextDirective, isChanged, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
12
|
+
import { normalizeKeys, Keys, isPresent as isPresent$1, TemplateContextDirective, KENDO_WEBMCP_HOST, isChanged, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
13
13
|
import { take } from 'rxjs/operators';
|
|
14
14
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
15
15
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
16
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
16
17
|
import { IconsService } from '@progress/kendo-angular-icons';
|
|
17
18
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
18
19
|
|
|
@@ -24,8 +25,8 @@ const packageMetadata = {
|
|
|
24
25
|
productName: 'Kendo UI for Angular',
|
|
25
26
|
productCode: 'KENDOUIANGULAR',
|
|
26
27
|
productCodes: ['KENDOUIANGULAR'],
|
|
27
|
-
publishDate:
|
|
28
|
-
version: '24.0.0-develop.
|
|
28
|
+
publishDate: 1779192095,
|
|
29
|
+
version: '24.0.0-develop.38',
|
|
29
30
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
30
31
|
};
|
|
31
32
|
|
|
@@ -227,6 +228,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
227
228
|
}]
|
|
228
229
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
229
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Lets you customize the content shown when the ListBox has no data to display.
|
|
233
|
+
* To define a no-data template, nest an `<ng-template>` tag
|
|
234
|
+
* with the `kendoListBoxNoDataTemplate` directive inside the `<kendo-listbox>` tag
|
|
235
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listbox/templates#no-data-template)).
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* ```html
|
|
239
|
+
* <kendo-listbox [data]="[]">
|
|
240
|
+
* <ng-template kendoListBoxNoDataTemplate>
|
|
241
|
+
* No items to display.
|
|
242
|
+
* </ng-template>
|
|
243
|
+
* </kendo-listbox>
|
|
244
|
+
* ```
|
|
245
|
+
*/
|
|
246
|
+
class NoDataTemplateDirective {
|
|
247
|
+
templateRef;
|
|
248
|
+
constructor(templateRef) {
|
|
249
|
+
this.templateRef = templateRef;
|
|
250
|
+
}
|
|
251
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
252
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: NoDataTemplateDirective, isStandalone: true, selector: "[kendoListBoxNoDataTemplate]", ngImport: i0 });
|
|
253
|
+
}
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
255
|
+
type: Directive,
|
|
256
|
+
args: [{
|
|
257
|
+
selector: '[kendoListBoxNoDataTemplate]',
|
|
258
|
+
standalone: true
|
|
259
|
+
}]
|
|
260
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
261
|
+
|
|
230
262
|
/**
|
|
231
263
|
* @hidden
|
|
232
264
|
*/
|
|
@@ -888,6 +920,10 @@ class ListBoxComponent {
|
|
|
888
920
|
* @hidden
|
|
889
921
|
*/
|
|
890
922
|
itemTemplate;
|
|
923
|
+
/**
|
|
924
|
+
* @hidden
|
|
925
|
+
*/
|
|
926
|
+
noDataTemplate;
|
|
891
927
|
/**
|
|
892
928
|
* @hidden
|
|
893
929
|
*/
|
|
@@ -1358,7 +1394,8 @@ class ListBoxComponent {
|
|
|
1358
1394
|
provide: L10N_PREFIX,
|
|
1359
1395
|
useValue: 'kendo.listbox'
|
|
1360
1396
|
},
|
|
1361
|
-
|
|
1397
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ListBoxComponent) }
|
|
1398
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "listboxElement", first: true, predicate: ["listbox"], descendants: true }, { propertyName: "toolbarElement", first: true, predicate: ["toolbar"], descendants: true }, { propertyName: "listboxItems", predicate: ["listboxItems"], descendants: true }, { propertyName: "tools", predicate: ["tools"], descendants: true }], ngImport: i0, template: `
|
|
1362
1399
|
<ng-container kendoListBoxLocalizedMessages
|
|
1363
1400
|
i18n-moveUp="kendo.listbox.moveUp|The title of the Move Up button"
|
|
1364
1401
|
moveUp="Move Up"
|
|
@@ -1410,7 +1447,7 @@ class ListBoxComponent {
|
|
|
1410
1447
|
}
|
|
1411
1448
|
<div class="k-list-scroller k-selectable">
|
|
1412
1449
|
<div class="{{ listClasses }}">
|
|
1413
|
-
@if (data
|
|
1450
|
+
@if (data?.length > 0) {
|
|
1414
1451
|
<div
|
|
1415
1452
|
class="k-list-content"
|
|
1416
1453
|
>
|
|
@@ -1449,14 +1486,18 @@ class ListBoxComponent {
|
|
|
1449
1486
|
</ul>
|
|
1450
1487
|
</div>
|
|
1451
1488
|
}
|
|
1452
|
-
@if (data
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1489
|
+
@if (!data?.length) {
|
|
1490
|
+
<span class="k-nodata">
|
|
1491
|
+
@if (noDataTemplate?.templateRef) {
|
|
1492
|
+
<ng-template [ngTemplateOutlet]="noDataTemplate.templateRef"></ng-template>
|
|
1493
|
+
} @else {
|
|
1494
|
+
{{ messageFor('noDataText') }}
|
|
1495
|
+
}
|
|
1496
|
+
</span>
|
|
1456
1497
|
}
|
|
1457
1498
|
</div>
|
|
1458
1499
|
</div>
|
|
1459
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoListBoxLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: ItemSelectableDirective, selector: "[kendoListBoxItemSelectable]", inputs: ["index"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
1500
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoListBoxLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: ItemSelectableDirective, selector: "[kendoListBoxItemSelectable]", inputs: ["index"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1460
1501
|
}
|
|
1461
1502
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListBoxComponent, decorators: [{
|
|
1462
1503
|
type: Component,
|
|
@@ -1470,6 +1511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1470
1511
|
provide: L10N_PREFIX,
|
|
1471
1512
|
useValue: 'kendo.listbox'
|
|
1472
1513
|
},
|
|
1514
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ListBoxComponent) }
|
|
1473
1515
|
],
|
|
1474
1516
|
template: `
|
|
1475
1517
|
<ng-container kendoListBoxLocalizedMessages
|
|
@@ -1523,7 +1565,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1523
1565
|
}
|
|
1524
1566
|
<div class="k-list-scroller k-selectable">
|
|
1525
1567
|
<div class="{{ listClasses }}">
|
|
1526
|
-
@if (data
|
|
1568
|
+
@if (data?.length > 0) {
|
|
1527
1569
|
<div
|
|
1528
1570
|
class="k-list-content"
|
|
1529
1571
|
>
|
|
@@ -1562,16 +1604,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1562
1604
|
</ul>
|
|
1563
1605
|
</div>
|
|
1564
1606
|
}
|
|
1565
|
-
@if (data
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1607
|
+
@if (!data?.length) {
|
|
1608
|
+
<span class="k-nodata">
|
|
1609
|
+
@if (noDataTemplate?.templateRef) {
|
|
1610
|
+
<ng-template [ngTemplateOutlet]="noDataTemplate.templateRef"></ng-template>
|
|
1611
|
+
} @else {
|
|
1612
|
+
{{ messageFor('noDataText') }}
|
|
1613
|
+
}
|
|
1614
|
+
</span>
|
|
1569
1615
|
}
|
|
1570
1616
|
</div>
|
|
1571
1617
|
</div>
|
|
1572
1618
|
`,
|
|
1573
1619
|
standalone: true,
|
|
1574
|
-
imports: [LocalizedMessagesDirective, ButtonComponent, ItemSelectableDirective, TemplateContextDirective]
|
|
1620
|
+
imports: [LocalizedMessagesDirective, ButtonComponent, ItemSelectableDirective, TemplateContextDirective, NgTemplateOutlet]
|
|
1575
1621
|
}]
|
|
1576
1622
|
}], ctorParameters: () => [{ type: KeyboardNavigationService }, { type: ListBoxSelectionService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }], propDecorators: { listboxClassName: [{
|
|
1577
1623
|
type: HostBinding,
|
|
@@ -1582,6 +1628,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1582
1628
|
}], itemTemplate: [{
|
|
1583
1629
|
type: ContentChild,
|
|
1584
1630
|
args: [ItemTemplateDirective]
|
|
1631
|
+
}], noDataTemplate: [{
|
|
1632
|
+
type: ContentChild,
|
|
1633
|
+
args: [NoDataTemplateDirective, { static: false }]
|
|
1585
1634
|
}], listboxElement: [{
|
|
1586
1635
|
type: ViewChild,
|
|
1587
1636
|
args: ['listbox']
|
|
@@ -1958,6 +2007,7 @@ const KENDO_LISTBOX = [
|
|
|
1958
2007
|
ListBoxComponent,
|
|
1959
2008
|
ItemTemplateDirective,
|
|
1960
2009
|
ItemSelectableDirective,
|
|
2010
|
+
NoDataTemplateDirective,
|
|
1961
2011
|
DataBindingDirective,
|
|
1962
2012
|
CustomMessagesComponent,
|
|
1963
2013
|
];
|
|
@@ -1968,7 +2018,7 @@ const KENDO_LISTBOX = [
|
|
|
1968
2018
|
*/
|
|
1969
2019
|
class ListBoxModule {
|
|
1970
2020
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1971
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: ListBoxModule, imports: [ListBoxComponent, ItemTemplateDirective, ItemSelectableDirective, DataBindingDirective, CustomMessagesComponent], exports: [ListBoxComponent, ItemTemplateDirective, ItemSelectableDirective, DataBindingDirective, CustomMessagesComponent] });
|
|
2021
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: ListBoxModule, imports: [ListBoxComponent, ItemTemplateDirective, ItemSelectableDirective, NoDataTemplateDirective, DataBindingDirective, CustomMessagesComponent], exports: [ListBoxComponent, ItemTemplateDirective, ItemSelectableDirective, NoDataTemplateDirective, DataBindingDirective, CustomMessagesComponent] });
|
|
1972
2022
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListBoxModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [ListBoxComponent] });
|
|
1973
2023
|
}
|
|
1974
2024
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListBoxModule, decorators: [{
|
|
@@ -1984,5 +2034,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1984
2034
|
* Generated bundle index. Do not edit.
|
|
1985
2035
|
*/
|
|
1986
2036
|
|
|
1987
|
-
export { CustomMessagesComponent, DataBindingDirective, ItemSelectableDirective, ItemTemplateDirective, KENDO_LISTBOX, ListBoxComponent, ListBoxModule, LocalizedMessagesDirective };
|
|
2037
|
+
export { CustomMessagesComponent, DataBindingDirective, ItemSelectableDirective, ItemTemplateDirective, KENDO_LISTBOX, ListBoxComponent, ListBoxModule, LocalizedMessagesDirective, NoDataTemplateDirective };
|
|
1988
2038
|
|
package/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { ListBoxComponent } from './listbox.component';
|
|
|
6
6
|
export { ListBoxModule } from './listbox.module';
|
|
7
7
|
export { DataBindingDirective } from './data-binding.directive';
|
|
8
8
|
export { ItemTemplateDirective } from './item-template.directive';
|
|
9
|
+
export { NoDataTemplateDirective } from './no-data-template.directive';
|
|
9
10
|
export { ItemSelectableDirective } from './item-selectable.directive';
|
|
10
11
|
export { ListBoxSize } from './size';
|
|
11
12
|
export { ActionName } from './toolbar';
|
package/listbox.component.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
|
|
6
6
|
import { ListBoxSelectionEvent, ListBoxSelectionService } from './selection.service';
|
|
7
7
|
import { ItemTemplateDirective } from './item-template.directive';
|
|
8
|
+
import { NoDataTemplateDirective } from './no-data-template.directive';
|
|
8
9
|
import { Direction } from './util';
|
|
9
10
|
import { ListBoxSize } from './size';
|
|
10
11
|
import { ActionName, ListBoxToolbarConfig, Tool } from './toolbar';
|
|
@@ -62,6 +63,10 @@ export declare class ListBoxComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
62
63
|
* @hidden
|
|
63
64
|
*/
|
|
64
65
|
itemTemplate: ItemTemplateDirective;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
noDataTemplate: NoDataTemplateDirective;
|
|
65
70
|
/**
|
|
66
71
|
* @hidden
|
|
67
72
|
*/
|
|
@@ -233,5 +238,5 @@ export declare class ListBoxComponent implements OnInit, AfterViewInit, OnDestro
|
|
|
233
238
|
private setToolbarClass;
|
|
234
239
|
private setSizingClass;
|
|
235
240
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListBoxComponent, never>;
|
|
236
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListBoxComponent, "kendo-listbox", never, { "textField": { "alias": "textField"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "listboxLabel": { "alias": "listboxLabel"; "required": false; }; "listboxToolbarLabel": { "alias": "listboxToolbarLabel"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; }, { "selectionChange": "selectionChange"; "action": "action"; "getChildListbox": "getChildListbox"; }, ["itemTemplate"], never, true, never>;
|
|
241
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListBoxComponent, "kendo-listbox", never, { "textField": { "alias": "textField"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "listboxLabel": { "alias": "listboxLabel"; "required": false; }; "listboxToolbarLabel": { "alias": "listboxToolbarLabel"; "required": false; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; }; }, { "selectionChange": "selectionChange"; "action": "action"; "getChildListbox": "getChildListbox"; }, ["itemTemplate", "noDataTemplate"], never, true, never>;
|
|
237
242
|
}
|
package/listbox.module.d.ts
CHANGED
|
@@ -6,13 +6,14 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "./listbox.component";
|
|
7
7
|
import * as i2 from "./item-template.directive";
|
|
8
8
|
import * as i3 from "./item-selectable.directive";
|
|
9
|
-
import * as i4 from "./data-
|
|
10
|
-
import * as i5 from "./
|
|
9
|
+
import * as i4 from "./no-data-template.directive";
|
|
10
|
+
import * as i5 from "./data-binding.directive";
|
|
11
|
+
import * as i6 from "./localization/custom-messages.component";
|
|
11
12
|
/**
|
|
12
13
|
* Represents the [NgModule](https://angular.io/api/core/NgModule) definition for the ListBox component.
|
|
13
14
|
*/
|
|
14
15
|
export declare class ListBoxModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListBoxModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ListBoxModule, never, [typeof i1.ListBoxComponent, typeof i2.ItemTemplateDirective, typeof i3.ItemSelectableDirective, typeof i4.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListBoxModule, never, [typeof i1.ListBoxComponent, typeof i2.ItemTemplateDirective, typeof i3.ItemSelectableDirective, typeof i4.NoDataTemplateDirective, typeof i5.DataBindingDirective, typeof i6.CustomMessagesComponent], [typeof i1.ListBoxComponent, typeof i2.ItemTemplateDirective, typeof i3.ItemSelectableDirective, typeof i4.NoDataTemplateDirective, typeof i5.DataBindingDirective, typeof i6.CustomMessagesComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<ListBoxModule>;
|
|
18
19
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 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
|
+
* Lets you customize the content shown when the ListBox has no data to display.
|
|
9
|
+
* To define a no-data template, nest an `<ng-template>` tag
|
|
10
|
+
* with the `kendoListBoxNoDataTemplate` directive inside the `<kendo-listbox>` tag
|
|
11
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listbox/templates#no-data-template)).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <kendo-listbox [data]="[]">
|
|
16
|
+
* <ng-template kendoListBoxNoDataTemplate>
|
|
17
|
+
* No items to display.
|
|
18
|
+
* </ng-template>
|
|
19
|
+
* </kendo-listbox>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare class NoDataTemplateDirective {
|
|
23
|
+
templateRef: TemplateRef<any>;
|
|
24
|
+
constructor(templateRef: TemplateRef<any>);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoDataTemplateDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NoDataTemplateDirective, "[kendoListBoxNoDataTemplate]", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1779192095,
|
|
11
|
+
"version": "24.0.0-develop.38",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-listbox",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.38",
|
|
4
4
|
"description": "Kendo UI for Angular ListBox",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"package": {
|
|
42
42
|
"productName": "Kendo UI for Angular",
|
|
43
43
|
"productCode": "KENDOUIANGULAR",
|
|
44
|
-
"publishDate":
|
|
44
|
+
"publishDate": 1779192095,
|
|
45
45
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"@angular/core": "19 - 21",
|
|
52
52
|
"@angular/platform-browser": "19 - 21",
|
|
53
53
|
"@progress/kendo-licensing": "^1.11.0",
|
|
54
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
55
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
56
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
54
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.38",
|
|
55
|
+
"@progress/kendo-angular-common": "24.0.0-develop.38",
|
|
56
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.38",
|
|
57
57
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"tslib": "^2.3.1",
|
|
61
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
61
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.38",
|
|
62
62
|
"@progress/kendo-common": "^1.0.1"
|
|
63
63
|
},
|
|
64
64
|
"schematics": "./schematics/collection.json",
|
|
@@ -11,11 +11,11 @@ function default_1(options) {
|
|
|
11
11
|
// Additional dependencies to install.
|
|
12
12
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
13
13
|
peerDependencies: {
|
|
14
|
-
'@progress/kendo-angular-buttons': '24.0.0-develop.
|
|
15
|
-
'@progress/kendo-angular-common': '24.0.0-develop.
|
|
16
|
-
'@progress/kendo-angular-l10n': '24.0.0-develop.
|
|
14
|
+
'@progress/kendo-angular-buttons': '24.0.0-develop.38',
|
|
15
|
+
'@progress/kendo-angular-common': '24.0.0-develop.38',
|
|
16
|
+
'@progress/kendo-angular-l10n': '24.0.0-develop.38',
|
|
17
17
|
// Peer of kendo-angular-buttons
|
|
18
|
-
'@progress/kendo-angular-popup': '24.0.0-develop.
|
|
18
|
+
'@progress/kendo-angular-popup': '24.0.0-develop.38'
|
|
19
19
|
} });
|
|
20
20
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
21
21
|
}
|