ngx-ode-ui 3.12.0-dev.17 → 3.12.0-dev.18
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/bundles/ngx-ode-ui.umd.js +4 -1
- package/bundles/ngx-ode-ui.umd.js.map +1 -1
- package/bundles/ngx-ode-ui.umd.min.js +1 -1
- package/bundles/ngx-ode-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/list/list.component.js +5 -2
- package/esm5/lib/components/list/list.component.js +5 -2
- package/fesm2015/ngx-ode-ui.js +4 -1
- package/fesm2015/ngx-ode-ui.js.map +1 -1
- package/fesm5/ngx-ode-ui.js +4 -1
- package/fesm5/ngx-ode-ui.js.map +1 -1
- package/lib/components/list/list.component.d.ts +1 -0
- package/ngx-ode-ui.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1622,7 +1622,7 @@
|
|
|
1622
1622
|
ListComponent.decorators = [
|
|
1623
1623
|
{ type: core.Component, args: [{
|
|
1624
1624
|
selector: 'ode-list',
|
|
1625
|
-
template: "<ode-search-input\n *ngIf=\"isSearchActive\"\n [isSearchButtonDisabled]=\"isSearchButtonDisabled\"\n [searchInput]=\"searchInput\"\n [searchSubmit]=\"searchSubmit\"\n [attr.placeholder]=\"searchPlaceholder | translate\"\n (onChange)=\"inputChange.emit($event)\"
|
|
1625
|
+
template: "<ode-search-input\n *ngIf=\"isSearchActive\"\n [isSearchButtonDisabled]=\"isSearchButtonDisabled\"\n [searchInput]=\"searchInput\"\n [searchSubmit]=\"searchSubmit\"\n [delay]=\"searchDelay\"\n [attr.placeholder]=\"searchPlaceholder | translate\"\n (onChange)=\"inputChange.emit($event)\"\n>\n</ode-search-input>\n\n<div class=\"toolbar\">\n <ng-content select=\"[toolbar]\"></ng-content>\n</div>\n\n<div\n class=\"list-wrapper\"\n infiniteScroll\n [scrollWindow]=\"false\"\n (scrolled)=\"scrolledDown.emit()\"\n [infiniteScrollThrottle]=\"50\"\n>\n <ul>\n <li\n *ngFor=\"let item of model | filter: filters | filter: inputFilter | store:self:'storedElements' | orderBy: sort | slice: 0:limit\"\n (click)=\"onSelect.emit(item)\"\n [class.selected]=\"isSelected(item)\"\n [class.disabled]=\"isDisabled(item)\"\n [ngClass]=\"ngClass(item)\"\n class=\"lct-list-item\"\n >\n <ng-template [ngTemplateOutlet]=\"templateRef\" [ngTemplateOutletContext]=\"{$implicit: item}\">\n </ng-template>\n </li>\n </ul>\n\n <ul *ngIf=\"storedElements && storedElements.length === 0\">\n <li class=\"no-results\">{{ noResultsLabel | translate }}</li>\n </ul>\n\n <ul *ngIf=\"!model\">\n <li class=\"placeholder\">{{ placeholder | translate }}</li>\n </ul>\n</div>\n",
|
|
1626
1626
|
styles: ["ul{margin:0;padding:0;font-size:.9em}ul li{cursor:pointer;border-top:1px solid #ddd;padding:10px}ul li.no-results{padding:50px;text-align:center;font-style:italic}ul li.no-results:hover{cursor:default!important;background-color:inherit!important}ul li.placeholder{color:#aaa;padding:2rem;text-align:left}ul li.placeholder:hover{cursor:default!important;background-color:inherit!important}ul li.disabled{pointer-events:none}"]
|
|
1627
1627
|
}] }
|
|
1628
1628
|
];
|
|
@@ -1642,6 +1642,7 @@
|
|
|
1642
1642
|
isSearchActive: [{ type: core.Input }],
|
|
1643
1643
|
isSearchButtonDisabled: [{ type: core.Input }],
|
|
1644
1644
|
searchInput: [{ type: core.Input }],
|
|
1645
|
+
searchDelay: [{ type: core.Input }],
|
|
1645
1646
|
searchSubmit: [{ type: core.Input }],
|
|
1646
1647
|
inputChange: [{ type: core.Output }],
|
|
1647
1648
|
onSelect: [{ type: core.Output }],
|
|
@@ -1682,6 +1683,8 @@
|
|
|
1682
1683
|
/** @type {?} */
|
|
1683
1684
|
ListComponent.prototype.searchInput;
|
|
1684
1685
|
/** @type {?} */
|
|
1686
|
+
ListComponent.prototype.searchDelay;
|
|
1687
|
+
/** @type {?} */
|
|
1685
1688
|
ListComponent.prototype.searchSubmit;
|
|
1686
1689
|
/** @type {?} */
|
|
1687
1690
|
ListComponent.prototype.inputChange;
|