@indice/ng-components 0.2.86 → 0.2.87
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/README.md +4 -4
- package/bundles/indice-ng-components.umd.js +12 -13
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/lib/controls/kpi-tile/kpi-tile.component.js +1 -1
- package/esm2015/lib/controls/list-view/list-column.component.js +1 -1
- package/esm2015/lib/controls/list-view/list-view-empty-state.component.js +2 -2
- package/esm2015/lib/controls/skeleton-loader/skeleton-loader.component.js +1 -1
- package/esm2015/lib/layouts/views/view-layout/view-layout.component.js +12 -12
- package/esm2015/lib/services/toaster.service.js +1 -1
- package/fesm2015/indice-ng-components.js +12 -12
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/indice-ng-components.metadata.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# INDICE ANGULAR Components
|
|
2
|
-
|
|
3
|
-
Indice common components for Angular 2+
|
|
4
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.14.
|
|
1
|
+
# INDICE ANGULAR Components
|
|
2
|
+
|
|
3
|
+
Indice common components for Angular 2+
|
|
4
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.14.
|
|
@@ -1085,7 +1085,7 @@
|
|
|
1085
1085
|
ListViewEmptyStateComponent.decorators = [
|
|
1086
1086
|
{ type: i0.Component, args: [{
|
|
1087
1087
|
selector: 'lib-list-view-empty-state',
|
|
1088
|
-
template: "<div class=\"p-20\">\n <div class=\"text-center p-2\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"mx-auto h-12 w-12 text-gray-400\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4\" />\n </svg>\n <h3 class=\"mt-2 text-sm font-medium text-gray-900\">{{title}}</h3>\n <p class=\"mt-1 text-sm text-gray-500\">\n {{subTitle}}\n </p>\n <div class=\"mt-6\" *ngIf=\"false\">\n <button type=\"button\" class=\"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-gray-600 hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-gray-500\">\n <!-- Heroicon name: solid/plus -->\n <svg class=\"-ml-1 mr-2 h-6 w-6\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" aria-hidden=\"true\">\n <path vector-effect=\"non-scaling-stroke\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 13h6m-3-3v6m-9 1V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z\" />\n </svg>\n {{newItemLabel}}\n </button>\n </div>\n </div>\n</div>\n"
|
|
1088
|
+
template: "<div class=\"p-20\">\r\n <div class=\"text-center p-2\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"mx-auto h-12 w-12 text-gray-400\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\r\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4\" />\r\n </svg>\r\n <h3 class=\"mt-2 text-sm font-medium text-gray-900\">{{title}}</h3>\r\n <p class=\"mt-1 text-sm text-gray-500\">\r\n {{subTitle}}\r\n </p>\r\n <div class=\"mt-6\" *ngIf=\"false\">\r\n <button type=\"button\" class=\"inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-gray-600 hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-gray-500\">\r\n <!-- Heroicon name: solid/plus -->\r\n <svg class=\"-ml-1 mr-2 h-6 w-6\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" aria-hidden=\"true\">\r\n <path vector-effect=\"non-scaling-stroke\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 13h6m-3-3v6m-9 1V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z\" />\r\n </svg>\r\n {{newItemLabel}}\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n"
|
|
1089
1089
|
},] }
|
|
1090
1090
|
];
|
|
1091
1091
|
ListViewEmptyStateComponent.ctorParameters = function () { return []; };
|
|
@@ -2050,7 +2050,16 @@
|
|
|
2050
2050
|
// tslint:disable-next-line:no-output-on-prefix
|
|
2051
2051
|
this.onSearch = new i0.EventEmitter();
|
|
2052
2052
|
}
|
|
2053
|
-
ViewLayoutComponent.prototype.ngOnInit = function () {
|
|
2053
|
+
ViewLayoutComponent.prototype.ngOnInit = function () {
|
|
2054
|
+
var _a;
|
|
2055
|
+
rxjs.fromEvent((_a = this.searchInput$) === null || _a === void 0 ? void 0 : _a.nativeElement, 'keyup').pipe(operators.map(function (event) {
|
|
2056
|
+
return event.target.value; // Get input value.
|
|
2057
|
+
}), operators.filter(function (inputValue) { return inputValue.length >= 3 || inputValue.length === 0; }),
|
|
2058
|
+
// If character length greater than minimumSearchCharacters setting.
|
|
2059
|
+
operators.debounceTime(1000), // Time in milliseconds between key events.
|
|
2060
|
+
operators.distinctUntilChanged() // If previous query is different from current.
|
|
2061
|
+
).subscribe();
|
|
2062
|
+
};
|
|
2054
2063
|
ViewLayoutComponent.prototype.emitActionClick = function (action) {
|
|
2055
2064
|
this.onAction.emit(action);
|
|
2056
2065
|
};
|
|
@@ -2067,18 +2076,8 @@
|
|
|
2067
2076
|
this.onSearch.emit(text);
|
|
2068
2077
|
};
|
|
2069
2078
|
ViewLayoutComponent.prototype.searchActionType = function (text) {
|
|
2070
|
-
var _this = this;
|
|
2071
2079
|
var _a;
|
|
2072
|
-
|
|
2073
|
-
return event.target.value; // Get input value.
|
|
2074
|
-
}), operators.filter(function (inputValue) { return inputValue.length >= 3 || inputValue.length === 0; }),
|
|
2075
|
-
// If character length greater than minimumSearchCharacters setting.
|
|
2076
|
-
operators.debounceTime(1000), // Time in milliseconds between key events.
|
|
2077
|
-
operators.distinctUntilChanged() // If previous query is different from current.
|
|
2078
|
-
).subscribe(function (_) {
|
|
2079
|
-
var _a;
|
|
2080
|
-
_this.onSearch.emit((_a = _this.searchInput$) === null || _a === void 0 ? void 0 : _a.nativeElement.value);
|
|
2081
|
-
});
|
|
2080
|
+
this.onSearch.emit((_a = this.searchInput$) === null || _a === void 0 ? void 0 : _a.nativeElement.value);
|
|
2082
2081
|
};
|
|
2083
2082
|
ViewLayoutComponent.prototype.handleClear = function (event) {
|
|
2084
2083
|
var _a;
|