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
package/fesm5/ngx-ode-ui.js
CHANGED
|
@@ -1428,7 +1428,7 @@ var ListComponent = /** @class */ (function (_super) {
|
|
|
1428
1428
|
ListComponent.decorators = [
|
|
1429
1429
|
{ type: Component, args: [{
|
|
1430
1430
|
selector: 'ode-list',
|
|
1431
|
-
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)\"
|
|
1431
|
+
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",
|
|
1432
1432
|
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}"]
|
|
1433
1433
|
}] }
|
|
1434
1434
|
];
|
|
@@ -1448,6 +1448,7 @@ var ListComponent = /** @class */ (function (_super) {
|
|
|
1448
1448
|
isSearchActive: [{ type: Input }],
|
|
1449
1449
|
isSearchButtonDisabled: [{ type: Input }],
|
|
1450
1450
|
searchInput: [{ type: Input }],
|
|
1451
|
+
searchDelay: [{ type: Input }],
|
|
1451
1452
|
searchSubmit: [{ type: Input }],
|
|
1452
1453
|
inputChange: [{ type: Output }],
|
|
1453
1454
|
onSelect: [{ type: Output }],
|
|
@@ -1488,6 +1489,8 @@ if (false) {
|
|
|
1488
1489
|
/** @type {?} */
|
|
1489
1490
|
ListComponent.prototype.searchInput;
|
|
1490
1491
|
/** @type {?} */
|
|
1492
|
+
ListComponent.prototype.searchDelay;
|
|
1493
|
+
/** @type {?} */
|
|
1491
1494
|
ListComponent.prototype.searchSubmit;
|
|
1492
1495
|
/** @type {?} */
|
|
1493
1496
|
ListComponent.prototype.inputChange;
|