libey-ng-component-library 0.0.1 → 0.0.2
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/libey-ng-component-library.umd.js +266 -61
- package/bundles/libey-ng-component-library.umd.js.map +1 -1
- package/esm2015/lib/libey-ng-component-library.module.js +18 -16
- package/esm2015/lib/table/directives/libey-column.directive.js +32 -0
- package/esm2015/lib/table/libey-ng-table.component.js +183 -47
- package/esm2015/lib/table/libey-ng-table.module.js +21 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/libey-ng-component-library.js +243 -60
- package/fesm2015/libey-ng-component-library.js.map +1 -1
- package/lib/libey-ng-component-library.module.d.ts +4 -3
- package/lib/table/directives/libey-column.directive.d.ts +15 -0
- package/lib/table/libey-ng-table.component.d.ts +56 -22
- package/lib/table/libey-ng-table.module.d.ts +10 -0
- package/package.json +6 -2
- package/public-api.d.ts +2 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('libey-ng-component-library', ['exports', '@angular/core', '@angular/common'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["libey-ng-component-library"] = {}, global.ng.core, global.ng.common));
|
|
5
|
-
})(this, (function (exports, i0, i1) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('libey-ng-component-library', ['exports', '@angular/core', '@angular/common', '@angular/forms'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["libey-ng-component-library"] = {}, global.ng.core, global.ng.common, global.ng.forms));
|
|
5
|
+
})(this, (function (exports, i0, i1, forms) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -57,63 +57,264 @@
|
|
|
57
57
|
}]
|
|
58
58
|
}], ctorParameters: function () { return []; } });
|
|
59
59
|
|
|
60
|
+
var LibeyColumnDirective = /** @class */ (function () {
|
|
61
|
+
function LibeyColumnDirective() {
|
|
62
|
+
}
|
|
63
|
+
return LibeyColumnDirective;
|
|
64
|
+
}());
|
|
65
|
+
LibeyColumnDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyColumnDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
66
|
+
LibeyColumnDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: LibeyColumnDirective, selector: "libey-ng-column", inputs: { header: "header", property: "property", width: "width", arrayMap: "arrayMap", isArray: "isArray", expandable: "expandable", class: "class", childTableTemplate: "childTableTemplate" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: i0.TemplateRef, descendants: true }], ngImport: i0__namespace });
|
|
67
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyColumnDirective, decorators: [{
|
|
68
|
+
type: i0.Directive,
|
|
69
|
+
args: [{
|
|
70
|
+
selector: 'libey-ng-column'
|
|
71
|
+
}]
|
|
72
|
+
}], propDecorators: { header: [{
|
|
73
|
+
type: i0.Input
|
|
74
|
+
}], property: [{
|
|
75
|
+
type: i0.Input
|
|
76
|
+
}], width: [{
|
|
77
|
+
type: i0.Input
|
|
78
|
+
}], arrayMap: [{
|
|
79
|
+
type: i0.Input
|
|
80
|
+
}], isArray: [{
|
|
81
|
+
type: i0.Input
|
|
82
|
+
}], expandable: [{
|
|
83
|
+
type: i0.Input
|
|
84
|
+
}], class: [{
|
|
85
|
+
type: i0.Input
|
|
86
|
+
}], childTableTemplate: [{
|
|
87
|
+
type: i0.Input
|
|
88
|
+
}], cellTemplate: [{
|
|
89
|
+
type: i0.ContentChild,
|
|
90
|
+
args: [i0.TemplateRef]
|
|
91
|
+
}] } });
|
|
92
|
+
|
|
93
|
+
var DataKey = /** @class */ (function () {
|
|
94
|
+
function DataKey() {
|
|
95
|
+
}
|
|
96
|
+
return DataKey;
|
|
97
|
+
}());
|
|
60
98
|
var LibeyNgTableComponent = /** @class */ (function () {
|
|
61
|
-
function LibeyNgTableComponent(
|
|
62
|
-
|
|
63
|
-
this.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
this.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
{ width: "135px", text: "RUC", class: "color-sky-blue" },
|
|
92
|
-
{ width: "260px", text: "Razón Social", class: "color-sky-blue" },
|
|
93
|
-
{ width: "120px", text: "Último valor de compra S/IGV", class: "color-sky-blue" },
|
|
94
|
-
{ width: "115px", text: "Cód. EM", class: "color-sky-blue" },
|
|
95
|
-
{ width: "165px", text: "Fecha y hora ingreso EM", class: "color-sky-blue" },
|
|
96
|
-
{ width: "135px", text: "RUC", class: "color-sky-blue" },
|
|
97
|
-
{ width: "260px", text: "Razón Social", class: "color-sky-blue" },
|
|
98
|
-
{ width: "120px", text: "Último valor de compra S/IGV", class: "color-sky-blue" },
|
|
99
|
-
{ width: "115px", text: "Cód. EM", class: "color-sky-blue" },
|
|
100
|
-
{ width: "165px", text: "Fecha y hora ingreso EM", class: "color-sky-blue" }
|
|
101
|
-
];
|
|
99
|
+
function LibeyNgTableComponent(cdr) {
|
|
100
|
+
var _this = this;
|
|
101
|
+
this.cdr = cdr;
|
|
102
|
+
this.pageSize = 10;
|
|
103
|
+
this.totalSize = 0;
|
|
104
|
+
this.maxPageButtons = 5;
|
|
105
|
+
this.expandable = false;
|
|
106
|
+
this.viewPaginate = true;
|
|
107
|
+
this.headerfixed = false;
|
|
108
|
+
this.pageChange = new i0.EventEmitter();
|
|
109
|
+
this.rowExpandable = [];
|
|
110
|
+
this.rowExpandableDetail = [];
|
|
111
|
+
this.currentPage = 1;
|
|
112
|
+
this.paginatedData = [];
|
|
113
|
+
this._data = [];
|
|
114
|
+
this.columnWidths = [];
|
|
115
|
+
this.resizingColumnIndex = null;
|
|
116
|
+
this.startX = 0;
|
|
117
|
+
this.startWidth = 0;
|
|
118
|
+
this.onResizeMove = function (event) {
|
|
119
|
+
if (_this.resizingColumnIndex !== null) {
|
|
120
|
+
var diff = event.pageX - _this.startX;
|
|
121
|
+
_this.columnWidths[_this.resizingColumnIndex] = Math.max(_this.startWidth + diff, 50);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
this.onResizeEnd = function () {
|
|
125
|
+
_this.resizingColumnIndex = null;
|
|
126
|
+
document.removeEventListener('mousemove', _this.onResizeMove);
|
|
127
|
+
document.removeEventListener('mouseup', _this.onResizeEnd);
|
|
128
|
+
};
|
|
102
129
|
}
|
|
130
|
+
Object.defineProperty(LibeyNgTableComponent.prototype, "data", {
|
|
131
|
+
get: function () {
|
|
132
|
+
return this._data;
|
|
133
|
+
},
|
|
134
|
+
set: function (value) {
|
|
135
|
+
this._data = value;
|
|
136
|
+
},
|
|
137
|
+
enumerable: false,
|
|
138
|
+
configurable: true
|
|
139
|
+
});
|
|
103
140
|
LibeyNgTableComponent.prototype.ngOnInit = function () {
|
|
141
|
+
this.updatePaginatedData();
|
|
142
|
+
};
|
|
143
|
+
LibeyNgTableComponent.prototype.ngAfterViewInit = function () {
|
|
144
|
+
this.initializeColumnWidths();
|
|
145
|
+
this.adjustTableWidth();
|
|
146
|
+
this.cdr.detectChanges();
|
|
147
|
+
};
|
|
148
|
+
LibeyNgTableComponent.prototype.initializeColumnWidths = function () {
|
|
149
|
+
var _this = this;
|
|
150
|
+
var padding = 31;
|
|
151
|
+
var widthDefault = 150;
|
|
152
|
+
this.columnWidths = this.columns.map(function (column) { return column.width; });
|
|
153
|
+
var containerWidth = this.tableContainer.nativeElement.offsetWidth;
|
|
154
|
+
var autoColumns = this.columns.filter(function (column) { return column.width == null; });
|
|
155
|
+
var totalFixedWidth = this.columns.reduce(function (sum, column) { return column.width != null ? (sum + _this.getWidthValue(column.width)) : sum; }, 0);
|
|
156
|
+
var remainingWidth = containerWidth - (totalFixedWidth + (((this.columns.length - autoColumns.length) * padding) + (this.expandable ? 61 : 0)));
|
|
157
|
+
if (autoColumns.length > 0) {
|
|
158
|
+
var autoColumnWidth = 0;
|
|
159
|
+
if (remainingWidth < widthDefault)
|
|
160
|
+
autoColumnWidth = widthDefault;
|
|
161
|
+
else
|
|
162
|
+
autoColumnWidth = Math.max(0, remainingWidth / autoColumns.length);
|
|
163
|
+
autoColumns.forEach(function (column) { return column.width = autoColumnWidth - padding; });
|
|
164
|
+
}
|
|
165
|
+
this.columnWidths = this.columns.map(function (column) { return column.width; });
|
|
166
|
+
};
|
|
167
|
+
LibeyNgTableComponent.prototype.adjustTableWidth = function () {
|
|
168
|
+
var _this = this;
|
|
169
|
+
var totalWidth = this.columns.reduce(function (sum, column) { return sum + _this.getWidthValue(column.width); }, 0);
|
|
170
|
+
this.tableElement.nativeElement.style.width = totalWidth + "px";
|
|
171
|
+
};
|
|
172
|
+
LibeyNgTableComponent.prototype.getWidthValue = function (width) {
|
|
173
|
+
return width === null ? 100 : width;
|
|
174
|
+
};
|
|
175
|
+
Object.defineProperty(LibeyNgTableComponent.prototype, "totalPages", {
|
|
176
|
+
get: function () {
|
|
177
|
+
return Math.ceil(this.totalSize / this.pageSize);
|
|
178
|
+
},
|
|
179
|
+
enumerable: false,
|
|
180
|
+
configurable: true
|
|
181
|
+
});
|
|
182
|
+
LibeyNgTableComponent.prototype.getCellValue = function (item, column) {
|
|
183
|
+
var _this = this;
|
|
184
|
+
var value = this.getNestedValue(item, column.property);
|
|
185
|
+
if (Array.isArray(value) && column.arrayMap) {
|
|
186
|
+
return value.map(function (v) { return _this.getNestedValue(v, column.arrayMap); }).join(', ');
|
|
187
|
+
}
|
|
188
|
+
return value;
|
|
189
|
+
};
|
|
190
|
+
LibeyNgTableComponent.prototype.getNestedValue = function (obj, path) {
|
|
191
|
+
return path.split('.').reduce(function (o, key) {
|
|
192
|
+
if (o && typeof o === 'object' && key in o) {
|
|
193
|
+
return o[key];
|
|
194
|
+
}
|
|
195
|
+
return undefined;
|
|
196
|
+
}, obj);
|
|
197
|
+
};
|
|
198
|
+
LibeyNgTableComponent.prototype.updatePaginatedData = function () {
|
|
199
|
+
console.log(this.pageSize);
|
|
200
|
+
var start = (this.currentPage - 1) * this.pageSize;
|
|
201
|
+
var end = start + this.pageSize;
|
|
202
|
+
this.paginatedData = this.data.slice(start, end);
|
|
203
|
+
};
|
|
204
|
+
LibeyNgTableComponent.prototype.pageRange = function () {
|
|
205
|
+
var start = Math.max(1, this.currentPage - Math.floor(this.maxPageButtons / 2));
|
|
206
|
+
var end = Math.min(this.totalPages, start + this.maxPageButtons - 1);
|
|
207
|
+
return Array.from({ length: end - start + 1 }, function (_, i) { return start + i; });
|
|
208
|
+
};
|
|
209
|
+
LibeyNgTableComponent.prototype.goToPage = function (page) {
|
|
210
|
+
this.currentPage = Math.max(1, Math.min(page, this.totalPages));
|
|
211
|
+
this.updatePaginatedData();
|
|
212
|
+
this.pageChange.emit(this.currentPage);
|
|
213
|
+
};
|
|
214
|
+
// hasChildren(row: any): boolean{
|
|
215
|
+
// return Array.isArray(row.child) && row.child.length > 0;
|
|
216
|
+
// }
|
|
217
|
+
LibeyNgTableComponent.prototype.toggleRow = function (index) {
|
|
218
|
+
this.rowExpandable[index] = !this.rowExpandable[index];
|
|
219
|
+
};
|
|
220
|
+
LibeyNgTableComponent.prototype.toggleRowDetail = function (key, indexData, propertyChild) {
|
|
221
|
+
var exist = this.rowExpandableDetail.find(function (x) { return x.key == key && x.dataKey == indexData; });
|
|
222
|
+
this.rowExpandableDetail = this.rowExpandableDetail.filter(function (x) { return x.key != key && x.dataKey != indexData; });
|
|
223
|
+
if (exist == null) {
|
|
224
|
+
var item = new DataKey();
|
|
225
|
+
item.key = key;
|
|
226
|
+
item.dataKey = indexData;
|
|
227
|
+
item.childTableTemplate = propertyChild;
|
|
228
|
+
// item.data = this.getNestedValue(item, propertyChild);
|
|
229
|
+
this.rowExpandableDetail.push(item);
|
|
230
|
+
console.log(this.rowExpandableDetail);
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
LibeyNgTableComponent.prototype.getChildren = function (fila) {
|
|
234
|
+
return fila.hijos || [];
|
|
235
|
+
};
|
|
236
|
+
LibeyNgTableComponent.prototype.onResizeStart = function (index, event) {
|
|
237
|
+
this.resizingColumnIndex = index;
|
|
238
|
+
this.startX = event.pageX;
|
|
239
|
+
this.startWidth = this.columnWidths[index];
|
|
240
|
+
document.addEventListener('mousemove', this.onResizeMove);
|
|
241
|
+
document.addEventListener('mouseup', this.onResizeEnd);
|
|
242
|
+
};
|
|
243
|
+
LibeyNgTableComponent.prototype.existRowExpandableDetail = function (key, indexData) {
|
|
244
|
+
return this.rowExpandableDetail.filter(function (x) { return x.key == key && x.dataKey == indexData; }).length > 0;
|
|
245
|
+
};
|
|
246
|
+
LibeyNgTableComponent.prototype.viewRowExpandableDetail = function (indexData) {
|
|
247
|
+
return this.rowExpandableDetail.filter(function (x) { return x.dataKey == indexData; }).length > 0;
|
|
248
|
+
};
|
|
249
|
+
LibeyNgTableComponent.prototype.findRowExpandableDetail = function (indexData) {
|
|
250
|
+
var find = this.rowExpandableDetail.find(function (x) { return x.dataKey == indexData; });
|
|
251
|
+
if (find)
|
|
252
|
+
return find.childTableTemplate;
|
|
253
|
+
else
|
|
254
|
+
return null;
|
|
104
255
|
};
|
|
105
256
|
return LibeyNgTableComponent;
|
|
106
257
|
}());
|
|
107
|
-
LibeyNgTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgTableComponent, deps: [{ token:
|
|
108
|
-
LibeyNgTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: LibeyNgTableComponent, selector: "libey-ng-table", ngImport: i0__namespace, template: "<div class=\"col-12 mb-5 table-scroll h-auto mh-600px\">\r\n <div class=\"div-header-sticky w-5125px mb-1\">\r\n <div class=\"d-flex\">\r\n <div *ngFor=\"let provider of providers\"\r\n [style.width]=\"provider.width\"\r\n [attr.appendTo]=\"provider.appendTo ? provider.appendTo : null\">\r\n <label>{{ provider.label }}</label>\r\n </div>\r\n </div>\r\n </div>\r\n <table class=\"table mb-0 p-0\">\r\n <thead class=\"div-table-header h-50px\">\r\n <tr style=\"vertical-align: middle;position: sticky !important;z-index: 10;top: 23px;\">\r\n <th *ngFor=\"let col of columns\" [style.width]=\"col.width\" class=\"table-header font-detalle3 py-0\">\r\n {{ col.text }}\r\n </th>\r\n </tr>\r\n </thead>\r\n <ng-container>\r\n <tbody>\r\n\r\n <ng-container *ngFor=\"let group of materialSupplier\">\r\n <tr style=\"border-bottom: 1px solid #EFEFEF !important;\">\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ group.materialCode }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ group.materialDescription }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body competitionPricerow py-1 px-15\">\r\n <label class=\"align-middle\">{{ group.suggestedBillingProvider.businessName}}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body competitionPricerow py-1 px-15 text-end\">\r\n <label class=\"align-middle\">{{ group.suggestedBillingProvider.purchaseValue }}</label>\r\n </td>\r\n <ng-container *ngFor=\"let item of group.items.slice(0, 5)\">\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ item.providerTaxIdentificationCode }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ item.businessName }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15 text-end\">\r\n <label class=\"align-middle\">{{ item.purchaseValue }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ item.merchandiseMaterialDocumentCode }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1\">\r\n <label class=\"align-middle\">{{ item.createdDateTime }}</label>\r\n </td>\r\n </ng-container>\r\n </tr>\r\n </ng-container>\r\n </tbody>\r\n </ng-container>\r\n </table>\r\n</div>", styles: [""] });
|
|
258
|
+
LibeyNgTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgTableComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
259
|
+
LibeyNgTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: LibeyNgTableComponent, selector: "libey-ng-table", inputs: { data: "data", pageSize: "pageSize", totalSize: "totalSize", maxPageButtons: "maxPageButtons", height: "height", expandable: "expandable", viewPaginate: "viewPaginate", childTableTemplate: "childTableTemplate", headerfixed: "headerfixed", class: "class" }, outputs: { pageChange: "pageChange" }, queries: [{ propertyName: "columns", predicate: LibeyColumnDirective }], viewQueries: [{ propertyName: "tableContainer", first: true, predicate: ["tableContainer"], descendants: true }, { propertyName: "tableElement", first: true, predicate: ["table"], descendants: true }], ngImport: i0__namespace, template: "<div class=\"table-container\" #tableContainer [style.height]=\"height == null ? 'auto':(height + 'px')\">\r\n <!-- <table cdkDropList (cdkDropListDropped)=\"drop($event)\"> -->\r\n <table #table [ngClass]=\"class\">\r\n <thead>\r\n <tr>\r\n <th *ngIf=\"expandable\" [ngClass]=\"headerfixed == true ? 'th-fixed':''\" style=\"width: 25px;\"></th>\r\n <ng-container *ngFor=\"let column of columns; let i = index\">\r\n <th [style.width]=\"columnWidths[i] == null ? 'auto':(columnWidths[i] + 'px')\" [ngClass]=\"headerfixed == true ? 'th-fixed':''\">\r\n {{ column.header }}\r\n <div class=\"resize-handle\" (mousedown)=\"onResizeStart(i, $event)\"></div>\r\n </th>\r\n </ng-container>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"paginatedData.length == 0\">\r\n <tr>\r\n <td [colSpan]=\"expandable ? (columns.length + 1) : (columns.length)\" class=\"text-center\">\r\n No existen datos disponibles\r\n </td>\r\n </tr>\r\n </ng-container>\r\n <ng-container *ngIf=\"paginatedData.length != 0\">\r\n <ng-container *ngFor=\"let item of paginatedData; let a = index\">\r\n <tr>\r\n <td *ngIf=\"expandable\">\r\n <button (click)=\"toggleRow(a)\">\r\n <i [ngClass]=\"rowExpandable[a] ? 'icon-arrow-up':'icon-arrow-down'\"></i>\r\n </button>\r\n </td>\r\n <ng-container *ngFor=\"let column of columns; let i = index\">\r\n <td [ngClass]=\"column.class\">\r\n <ng-container *ngIf=\"column.cellTemplate; else defaultCell\">\r\n <div style=\"display: flex; justify-content: space-between;\">\r\n <ng-container *ngTemplateOutlet=\"column.cellTemplate; context: { $implicit: item }\"></ng-container>\r\n <button *ngIf=\"column.expandable\" (click)=\"toggleRowDetail(i, a, column.childTableTemplate)\">\r\n <i [ngClass]=\"existRowExpandableDetail(i, a) ? 'icon-arrow-up':'icon-arrow-down'\"></i>\r\n </button>\r\n </div>\r\n </ng-container>\r\n <ng-template #defaultCell>\r\n <div style=\"display: flex; justify-content: space-between;\">\r\n {{ getCellValue(item, column) }}\r\n <button *ngIf=\"column.expandable\" (click)=\"toggleRowDetail(i, a, column.childTableTemplate)\">\r\n <i [ngClass]=\"existRowExpandableDetail(i, a) ? 'icon-arrow-up':'icon-arrow-down'\"></i>\r\n </button>\r\n </div>\r\n </ng-template>\r\n </td>\r\n </ng-container>\r\n </tr>\r\n <tr *ngIf=\"viewRowExpandableDetail(a)\">\r\n <ng-container *ngTemplateOutlet=\"findRowExpandableDetail(a); context: { $implicit: item }\"></ng-container>\r\n </tr>\r\n <tr *ngIf=\"rowExpandable[a]\">\r\n <td [attr.colspan]=\"columns.length + (expandable ? 1 : 0)\">\r\n <ng-container [ngTemplateOutlet]=\"childTableTemplate\"\r\n [ngTemplateOutletContext]=\"{ parentRow: item }\">\r\n </ng-container>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n</div>\r\n<div *ngIf=\"viewPaginate && paginatedData.length != 0\" class=\"pagination-controls\">\r\n <div class=\"d-align-center\">\r\n <label class=\"lbl-footer me-20px\"># Registros: {{this.totalSize}}</label>\r\n <label class=\"lbl-footer\"># Filas: {{this.pageSize}}</label>\r\n </div>\r\n <div>\r\n <button (click)=\"goToPage(1)\" [disabled]=\"currentPage === 1\">\r\n <i class=\"icon-first-page\"></i>\r\n </button>\r\n <button (click)=\"goToPage(currentPage - 1)\" [disabled]=\"currentPage === 1\">\r\n <i class=\"icon-previous-page\"></i>\r\n </button>\r\n <ng-container *ngFor=\"let page of pageRange()\">\r\n <button\r\n (click)=\"goToPage(page)\"\r\n [class.active]=\"currentPage === page\"\r\n [disabled]=\"currentPage === page\">\r\n {{ page }}\r\n </button>\r\n </ng-container>\r\n <button (click)=\"goToPage(currentPage + 1)\" [disabled]=\"currentPage === totalPages\">\r\n <i class=\"icon-next-page\"></i>\r\n </button>\r\n <button (click)=\"goToPage(totalPages)\" [disabled]=\"currentPage === totalPages\">\r\n <i class=\"icon-last-page\"></i>\r\n </button>\r\n </div>\r\n</div>\r\n", styles: ["table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.table-container{width:100%;overflow-x:auto}td,th{padding:5px 15px;text-align:left;position:relative;overflow:hidden}th{font-weight:500;color:#1087e8;border-top:1px solid #D6DEE5;background-color:#eef5fc;border-right:1px solid #fff}th:last-child{border-right:1px solid #D6DEE5}td{border:1px solid #D6DEE5;border-style:none solid solid none}th.sortable{cursor:pointer}.th-fixed{position:sticky!important;top:0!important;z-index:1!important}.th-fixed:after{content:\"\";position:absolute;left:0;bottom:0;width:100%}.table-actions{margin-bottom:10px;display:flex;justify-content:space-between}.table-pagination{margin-top:10px;display:flex;justify-content:space-between}.pagination-controls{border-radius:10px;justify-content:space-between;border:1px solid #D6DEE5;padding:5px 15px;display:flex;align-items:center;margin-top:10px;grid-gap:5px;gap:5px}button{font-size:14px;border:0px;padding:5px;cursor:pointer;background-color:transparent}button.active{font-weight:600;color:#224051}tr:first-child th:first-child{border-top-left-radius:10px;border-left:1px solid #D6DEE5}tr:first-child th:last-child{border-top-right-radius:10px;border-right:1px solid #D6DEE5}tr:last-child td:first-child{border-bottom-left-radius:10px}tr:last-child td:last-child{border-bottom-right-radius:10px}tr:first-child td{border-top-style:solid}tr td:first-child{border-left-style:solid}.d-align-center{display:flex!important;align-items:center!important}.lbl-footer{height:19px}.me-20px{margin-right:20px}.icon-first-page{background-repeat:no-repeat;display:block;width:12px;height:10px;background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.0922 0.292893C10.4827 -0.0976311 11.1159 -0.0976311 11.5064 0.292893C11.8969 0.683417 11.8969 1.31658 11.5064 1.70711L8.21353 5L11.5064 8.29289C11.8969 8.68342 11.8969 9.31658 11.5064 9.70711C11.1159 10.0976 10.4827 10.0976 10.0922 9.70711L6.09221 5.70711C5.70169 5.31658 5.70169 4.68342 6.09221 4.29289L10.0922 0.292893ZM4.49211 0.292893C4.88264 -0.0976311 5.5158 -0.0976311 5.90633 0.292893C6.29685 0.683417 6.29685 1.31658 5.90633 1.70711L2.61343 5L5.90633 8.29289C6.29685 8.68342 6.29685 9.31658 5.90633 9.70711C5.5158 10.0976 4.88264 10.0976 4.49211 9.70711L0.492111 5.70711C0.101587 5.31658 0.101587 4.68342 0.492111 4.29289L4.49211 0.292893Z' fill='%2338E8C6'/%3E%3C/svg%3E%0A\")}button:disabled .icon-first-page{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.0922 0.292893C10.4827 -0.0976311 11.1159 -0.0976311 11.5064 0.292893C11.8969 0.683417 11.8969 1.31658 11.5064 1.70711L8.21353 5L11.5064 8.29289C11.8969 8.68342 11.8969 9.31658 11.5064 9.70711C11.1159 10.0976 10.4827 10.0976 10.0922 9.70711L6.09221 5.70711C5.70169 5.31658 5.70169 4.68342 6.09221 4.29289L10.0922 0.292893ZM4.49211 0.292893C4.88264 -0.0976311 5.5158 -0.0976311 5.90633 0.292893C6.29685 0.683417 6.29685 1.31658 5.90633 1.70711L2.61343 5L5.90633 8.29289C6.29685 8.68342 6.29685 9.31658 5.90633 9.70711C5.5158 10.0976 4.88264 10.0976 4.49211 9.70711L0.492111 5.70711C0.101587 5.31658 0.101587 4.68342 0.492111 4.29289L4.49211 0.292893Z' fill='%23D0D0D0'/%3E%3C/svg%3E%0A\")}.icon-previous-page{background-repeat:no-repeat;display:block;width:7px;height:10px;background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 7 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.90681 0.292893C6.29734 0.683417 6.29734 1.31658 5.90681 1.70711L2.61392 5L5.90681 8.29289C6.29734 8.68342 6.29734 9.31658 5.90681 9.70711C5.51629 10.0976 4.88312 10.0976 4.4926 9.70711L0.4926 5.70711C0.102076 5.31658 0.102076 4.68342 0.4926 4.29289L4.4926 0.292893C4.88312 -0.0976311 5.51629 -0.0976311 5.90681 0.292893Z' fill='%2338E8C6'/%3E%3C/svg%3E%0A\")}button:disabled .icon-previous-page{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 7 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.90681 0.292893C6.29734 0.683417 6.29734 1.31658 5.90681 1.70711L2.61392 5L5.90681 8.29289C6.29734 8.68342 6.29734 9.31658 5.90681 9.70711C5.51629 10.0976 4.88312 10.0976 4.4926 9.70711L0.4926 5.70711C0.102076 5.31658 0.102076 4.68342 0.4926 4.29289L4.4926 0.292893C4.88312 -0.0976311 5.51629 -0.0976311 5.90681 0.292893Z' fill='%23D0D0D0'/%3E%3C/svg%3E%0A\")}.icon-next-page{background-repeat:no-repeat;display:block;width:7px;height:10px;background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 7 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.4926 0.292893C0.102076 0.683417 0.102076 1.31658 0.4926 1.70711L3.78549 5L0.4926 8.29289C0.102076 8.68342 0.102076 9.31658 0.4926 9.70711C0.883124 10.0976 1.51629 10.0976 1.90681 9.70711L5.90681 5.70711C6.29734 5.31658 6.29734 4.68342 5.90681 4.29289L1.90681 0.292893C1.51629 -0.0976311 0.883124 -0.0976311 0.4926 0.292893Z' fill='%2338E8C6'/%3E%3C/svg%3E%0A\")}button:disabled .icon-next-page{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 7 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.4926 0.292893C0.102076 0.683417 0.102076 1.31658 0.4926 1.70711L3.78549 5L0.4926 8.29289C0.102076 8.68342 0.102076 9.31658 0.4926 9.70711C0.883124 10.0976 1.51629 10.0976 1.90681 9.70711L5.90681 5.70711C6.29734 5.31658 6.29734 4.68342 5.90681 4.29289L1.90681 0.292893C1.51629 -0.0976311 0.883124 -0.0976311 0.4926 0.292893Z' fill='%23D0D0D0'/%3E%3C/svg%3E%0A\")}.icon-last-page{background-repeat:no-repeat;display:block;width:12px;height:10px;background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.10701 0.292893C1.71648 -0.0976311 1.08332 -0.0976311 0.692796 0.292893C0.302271 0.683417 0.302271 1.31658 0.692796 1.70711L3.98569 5L0.692796 8.29289C0.302271 8.68342 0.302271 9.31658 0.692796 9.70711C1.08332 10.0976 1.71648 10.0976 2.10701 9.70711L6.10701 5.70711C6.49753 5.31658 6.49753 4.68342 6.10701 4.29289L2.10701 0.292893ZM7.70711 0.292893C7.31658 -0.0976311 6.68342 -0.0976311 6.29289 0.292893C5.90237 0.683417 5.90237 1.31658 6.29289 1.70711L9.58579 5L6.29289 8.29289C5.90237 8.68342 5.90237 9.31658 6.29289 9.70711C6.68342 10.0976 7.31658 10.0976 7.70711 9.70711L11.7071 5.70711C12.0976 5.31658 12.0976 4.68342 11.7071 4.29289L7.70711 0.292893Z' fill='%2338E8C6'/%3E%3C/svg%3E%0A\")}button:disabled .icon-last-page{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.10701 0.292893C1.71648 -0.0976311 1.08332 -0.0976311 0.692796 0.292893C0.302271 0.683417 0.302271 1.31658 0.692796 1.70711L3.98569 5L0.692796 8.29289C0.302271 8.68342 0.302271 9.31658 0.692796 9.70711C1.08332 10.0976 1.71648 10.0976 2.10701 9.70711L6.10701 5.70711C6.49753 5.31658 6.49753 4.68342 6.10701 4.29289L2.10701 0.292893ZM7.70711 0.292893C7.31658 -0.0976311 6.68342 -0.0976311 6.29289 0.292893C5.90237 0.683417 5.90237 1.31658 6.29289 1.70711L9.58579 5L6.29289 8.29289C5.90237 8.68342 5.90237 9.31658 6.29289 9.70711C6.68342 10.0976 7.31658 10.0976 7.70711 9.70711L11.7071 5.70711C12.0976 5.31658 12.0976 4.68342 11.7071 4.29289L7.70711 0.292893Z' fill='%23D0D0D0'/%3E%3C/svg%3E%0A\")}.resize-handle{position:absolute;right:0;top:0;bottom:0;width:5px;cursor:col-resize;background-color:transparent}::-webkit-scrollbar{width:.7rem;height:.7rem}::-webkit-scrollbar-thumb{background-color:#d9d9d9!important;border-radius:20px!important;border:3px solid #d9d9d9!important}.icon-arrow-up{background-repeat:no-repeat;display:block;width:12px;height:8px;background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 19 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.347794 9.61517C0.825615 10.1134 1.6169 10.13 2.11517 9.65221L9.07106 2.98186L16.0269 9.65221C16.5252 10.13 17.3165 10.1134 17.7943 9.61517C18.2721 9.11689 18.2556 8.32561 17.7573 7.84779L9.93623 0.347793C9.45266 -0.115931 8.68946 -0.115931 8.20589 0.347793L0.38483 7.84779C-0.113445 8.32561 -0.130027 9.11689 0.347794 9.61517Z' fill='%23224051'/%3E%3C/svg%3E%0A\")}.icon-arrow-down{background-repeat:no-repeat;display:block;width:12px;height:8px;background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.6234 0.387653C17.1213 -0.129218 16.3073 -0.129218 15.8051 0.387653L9 7.39295L2.19485 0.387652C1.69275 -0.129219 0.878679 -0.129219 0.376577 0.387651C-0.125527 0.904522 -0.125527 1.74253 0.376577 2.25941L8.09086 10.2006C8.59296 10.7175 9.40703 10.7175 9.90914 10.2006L17.6234 2.25941C18.1255 1.74254 18.1255 0.904523 17.6234 0.387653Z' fill='%23224051'/%3E%3C/svg%3E%0A\")}.text-center{text-align:center!important}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
109
260
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgTableComponent, decorators: [{
|
|
110
261
|
type: i0.Component,
|
|
111
262
|
args: [{
|
|
112
263
|
selector: 'libey-ng-table',
|
|
113
264
|
templateUrl: './libey-ng-table.component.html',
|
|
114
|
-
styleUrls: ['./libey-ng-table.component.css']
|
|
265
|
+
styleUrls: ['./libey-ng-table.component.css'],
|
|
266
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
115
267
|
}]
|
|
116
|
-
}], ctorParameters: function () { return [{ type:
|
|
268
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
269
|
+
type: i0.Input
|
|
270
|
+
}], pageSize: [{
|
|
271
|
+
type: i0.Input
|
|
272
|
+
}], totalSize: [{
|
|
273
|
+
type: i0.Input
|
|
274
|
+
}], maxPageButtons: [{
|
|
275
|
+
type: i0.Input
|
|
276
|
+
}], height: [{
|
|
277
|
+
type: i0.Input
|
|
278
|
+
}], expandable: [{
|
|
279
|
+
type: i0.Input
|
|
280
|
+
}], viewPaginate: [{
|
|
281
|
+
type: i0.Input
|
|
282
|
+
}], childTableTemplate: [{
|
|
283
|
+
type: i0.Input
|
|
284
|
+
}], headerfixed: [{
|
|
285
|
+
type: i0.Input
|
|
286
|
+
}], class: [{
|
|
287
|
+
type: i0.Input
|
|
288
|
+
}], pageChange: [{
|
|
289
|
+
type: i0.Output
|
|
290
|
+
}], columns: [{
|
|
291
|
+
type: i0.ContentChildren,
|
|
292
|
+
args: [LibeyColumnDirective]
|
|
293
|
+
}], tableContainer: [{
|
|
294
|
+
type: i0.ViewChild,
|
|
295
|
+
args: ['tableContainer']
|
|
296
|
+
}], tableElement: [{
|
|
297
|
+
type: i0.ViewChild,
|
|
298
|
+
args: ['table']
|
|
299
|
+
}] } });
|
|
300
|
+
|
|
301
|
+
// table.module.ts
|
|
302
|
+
var LibeyNgTableModule = /** @class */ (function () {
|
|
303
|
+
function LibeyNgTableModule() {
|
|
304
|
+
}
|
|
305
|
+
return LibeyNgTableModule;
|
|
306
|
+
}());
|
|
307
|
+
LibeyNgTableModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgTableModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
308
|
+
LibeyNgTableModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgTableModule, declarations: [LibeyNgTableComponent, LibeyColumnDirective], imports: [i1.CommonModule, forms.FormsModule], exports: [LibeyNgTableComponent, LibeyColumnDirective] });
|
|
309
|
+
LibeyNgTableModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgTableModule, imports: [[i1.CommonModule, forms.FormsModule]] });
|
|
310
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgTableModule, decorators: [{
|
|
311
|
+
type: i0.NgModule,
|
|
312
|
+
args: [{
|
|
313
|
+
declarations: [LibeyNgTableComponent, LibeyColumnDirective],
|
|
314
|
+
imports: [i1.CommonModule, forms.FormsModule],
|
|
315
|
+
exports: [LibeyNgTableComponent, LibeyColumnDirective]
|
|
316
|
+
}]
|
|
317
|
+
}] });
|
|
117
318
|
|
|
118
319
|
var LibeyNgComponentLibraryModule = /** @class */ (function () {
|
|
119
320
|
function LibeyNgComponentLibraryModule() {
|
|
@@ -121,22 +322,24 @@
|
|
|
121
322
|
return LibeyNgComponentLibraryModule;
|
|
122
323
|
}());
|
|
123
324
|
LibeyNgComponentLibraryModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgComponentLibraryModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
124
|
-
LibeyNgComponentLibraryModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgComponentLibraryModule,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
LibeyNgComponentLibraryModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgComponentLibraryModule, providers: [i1.DatePipe], imports: [[
|
|
325
|
+
LibeyNgComponentLibraryModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgComponentLibraryModule, imports: [i1.CommonModule,
|
|
326
|
+
forms.FormsModule,
|
|
327
|
+
LibeyNgTableModule], exports: [LibeyNgTableModule] });
|
|
328
|
+
LibeyNgComponentLibraryModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgComponentLibraryModule, providers: [i1.DatePipe], imports: [[
|
|
329
|
+
i1.CommonModule,
|
|
330
|
+
forms.FormsModule,
|
|
331
|
+
LibeyNgTableModule
|
|
332
|
+
], LibeyNgTableModule] });
|
|
128
333
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LibeyNgComponentLibraryModule, decorators: [{
|
|
129
334
|
type: i0.NgModule,
|
|
130
335
|
args: [{
|
|
131
|
-
declarations: [
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
exports: [
|
|
137
|
-
LibeyNgComponentLibraryComponent,
|
|
138
|
-
LibeyNgTableComponent
|
|
336
|
+
declarations: [],
|
|
337
|
+
imports: [
|
|
338
|
+
i1.CommonModule,
|
|
339
|
+
forms.FormsModule,
|
|
340
|
+
LibeyNgTableModule
|
|
139
341
|
],
|
|
342
|
+
exports: [LibeyNgTableModule],
|
|
140
343
|
providers: [i1.DatePipe]
|
|
141
344
|
}]
|
|
142
345
|
}] });
|
|
@@ -149,10 +352,12 @@
|
|
|
149
352
|
* Generated bundle index. Do not edit.
|
|
150
353
|
*/
|
|
151
354
|
|
|
355
|
+
exports.LibeyColumnDirective = LibeyColumnDirective;
|
|
152
356
|
exports.LibeyNgComponentLibraryComponent = LibeyNgComponentLibraryComponent;
|
|
153
357
|
exports.LibeyNgComponentLibraryModule = LibeyNgComponentLibraryModule;
|
|
154
358
|
exports.LibeyNgComponentLibraryService = LibeyNgComponentLibraryService;
|
|
155
359
|
exports.LibeyNgTableComponent = LibeyNgTableComponent;
|
|
360
|
+
exports.LibeyNgTableModule = LibeyNgTableModule;
|
|
156
361
|
|
|
157
362
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
158
363
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libey-ng-component-library.umd.js","sources":["../../../projects/libey-ng-component-library/src/lib/libey-ng-component-library.service.ts","../../../projects/libey-ng-component-library/src/lib/libey-ng-component-library.component.ts","../../../projects/libey-ng-component-library/src/lib/table/libey-ng-table.component.ts","../../../projects/libey-ng-component-library/src/lib/table/libey-ng-table.component.html","../../../projects/libey-ng-component-library/src/lib/libey-ng-component-library.module.ts","../../../projects/libey-ng-component-library/src/public-api.ts","../../../projects/libey-ng-component-library/src/libey-ng-component-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class LibeyNgComponentLibraryService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-libey-ngComponent-library',\n template: `\n <p>\n libey-ng-component-library works!\n </p>\n `,\n styles: [\n ]\n})\nexport class LibeyNgComponentLibraryComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DatePipe } from '@angular/common';\r\n@Component({\r\n selector: 'libey-ng-table',\r\n templateUrl: './libey-ng-table.component.html',\r\n styleUrls: ['./libey-ng-table.component.css']\r\n})\r\nexport class LibeyNgTableComponent implements OnInit {\r\n \r\n constructor(private datepipe: DatePipe) { }\r\n\r\n providers = [\r\n { width: \"1150px\", class: \"bg-white\", label: \"\", appendTo: \"container\" },\r\n { width: \"793px\", class: \"div-cabecera-tariff\", label: \"PROVEEDOR FACTURADOR N° 1\" },\r\n { width: \"792px\", class: \"div-cabecera-patient\", label: \"PROVEEDOR FACTURADOR N° 2\" },\r\n { width: \"792px\", class: \"div-cabecera-insurance\", label: \"PROVEEDOR FACTURADOR N° 3\" },\r\n { width: \"792px\", class: \"div-header-text bg-purple\", label: \"PROVEEDOR FACTURADOR N° 4\" },\r\n { width: \"793px\", class: \"div-administrative-data me-0\", label: \"PROVEEDOR FACTURADOR N° 5\" }\r\n ];\r\n\r\n columns = [\r\n { width: \"135px\", text: \"Cód. producto\", class: \"color-sky-blue\" },\r\n { width: \"500px\", text: \"Descrip. producto\", class: \"color-sky-blue\" },\r\n { width: \"385px\", text: \"Proveedor facturador sugerido\", class: \"competitionPrice\" },\r\n { width: \"130px\", text: \"Último valor de compra S/IGV sugerido\", class: \"competitionPrice\" },\r\n\r\n { width: \"135px\", text: \"RUC\", class: \"color-sky-blue\" },\r\n { width: \"260px\", text: \"Razón Social\", class: \"color-sky-blue\" },\r\n { width: \"120px\", text: \"Último valor de compra S/IGV\", class: \"color-sky-blue\" },\r\n { width: \"115px\", text: \"Cód. EM\", class: \"color-sky-blue\" },\r\n { width: \"165px\", text: \"Fecha y hora ingreso EM\", class: \"color-sky-blue\" },\r\n\r\n { width: \"135px\", text: \"RUC\", class: \"color-sky-blue\" },\r\n { width: \"260px\", text: \"Razón Social\", class: \"color-sky-blue\" },\r\n { width: \"120px\", text: \"Último valor de compra S/IGV\", class: \"color-sky-blue\" },\r\n { width: \"115px\", text: \"Cód. EM\", class: \"color-sky-blue\" },\r\n { width: \"165px\", text: \"Fecha y hora ingreso EM\", class: \"color-sky-blue\" },\r\n\r\n { width: \"135px\", text: \"RUC\", class: \"color-sky-blue\" },\r\n { width: \"260px\", text: \"Razón Social\", class: \"color-sky-blue\" },\r\n { width: \"120px\", text: \"Último valor de compra S/IGV\", class: \"color-sky-blue\" },\r\n { width: \"115px\", text: \"Cód. EM\", class: \"color-sky-blue\" },\r\n { width: \"165px\", text: \"Fecha y hora ingreso EM\", class: \"color-sky-blue\" },\r\n\r\n { width: \"135px\", text: \"RUC\", class: \"color-sky-blue\" },\r\n { width: \"260px\", text: \"Razón Social\", class: \"color-sky-blue\" },\r\n { width: \"120px\", text: \"Último valor de compra S/IGV\", class: \"color-sky-blue\" },\r\n { width: \"115px\", text: \"Cód. EM\", class: \"color-sky-blue\" },\r\n { width: \"165px\", text: \"Fecha y hora ingreso EM\", class: \"color-sky-blue\" },\r\n\r\n { width: \"135px\", text: \"RUC\", class: \"color-sky-blue\" },\r\n { width: \"260px\", text: \"Razón Social\", class: \"color-sky-blue\" },\r\n { width: \"120px\", text: \"Último valor de compra S/IGV\", class: \"color-sky-blue\" },\r\n { width: \"115px\", text: \"Cód. EM\", class: \"color-sky-blue\" },\r\n { width: \"165px\", text: \"Fecha y hora ingreso EM\", class: \"color-sky-blue\" }\r\n ];\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","<div class=\"col-12 mb-5 table-scroll h-auto mh-600px\">\r\n <div class=\"div-header-sticky w-5125px mb-1\">\r\n <div class=\"d-flex\">\r\n <div *ngFor=\"let provider of providers\"\r\n [style.width]=\"provider.width\"\r\n [attr.appendTo]=\"provider.appendTo ? provider.appendTo : null\">\r\n <label>{{ provider.label }}</label>\r\n </div>\r\n </div>\r\n </div>\r\n <table class=\"table mb-0 p-0\">\r\n <thead class=\"div-table-header h-50px\">\r\n <tr style=\"vertical-align: middle;position: sticky !important;z-index: 10;top: 23px;\">\r\n <th *ngFor=\"let col of columns\" [style.width]=\"col.width\" class=\"table-header font-detalle3 py-0\">\r\n {{ col.text }}\r\n </th>\r\n </tr>\r\n </thead>\r\n <ng-container>\r\n <tbody>\r\n\r\n <ng-container *ngFor=\"let group of materialSupplier\">\r\n <tr style=\"border-bottom: 1px solid #EFEFEF !important;\">\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ group.materialCode }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ group.materialDescription }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body competitionPricerow py-1 px-15\">\r\n <label class=\"align-middle\">{{ group.suggestedBillingProvider.businessName}}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body competitionPricerow py-1 px-15 text-end\">\r\n <label class=\"align-middle\">{{ group.suggestedBillingProvider.purchaseValue }}</label>\r\n </td>\r\n <ng-container *ngFor=\"let item of group.items.slice(0, 5)\">\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ item.providerTaxIdentificationCode }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ item.businessName }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15 text-end\">\r\n <label class=\"align-middle\">{{ item.purchaseValue }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1 px-15\">\r\n <label class=\"align-middle\">{{ item.merchandiseMaterialDocumentCode }}</label>\r\n </td>\r\n <td colspan=\"1\" class=\"table-body py-1\">\r\n <label class=\"align-middle\">{{ item.createdDateTime }}</label>\r\n </td>\r\n </ng-container>\r\n </tr>\r\n </ng-container>\r\n </tbody>\r\n </ng-container>\r\n </table>\r\n</div>","import { NgModule } from '@angular/core';\nimport { LibeyNgComponentLibraryComponent } from './libey-ng-component-library.component';\nimport { LibeyNgTableComponent } from './table/libey-ng-table.component';\nimport { CommonModule, DatePipe } from '@angular/common';\n\n\n\n@NgModule({\n declarations: [\n LibeyNgComponentLibraryComponent,\n LibeyNgTableComponent,\n ],\n imports: [\n ],\n exports: [\n LibeyNgComponentLibraryComponent,\n LibeyNgTableComponent\n ],\n providers: [DatePipe]\n})\nexport class LibeyNgComponentLibraryModule { }\n","/*\n * Public API Surface of libey-ng-component-library\n */\n\nexport * from './lib/libey-ng-component-library.service';\nexport * from './lib/libey-ng-component-library.component';\nexport * from './lib/libey-ng-component-library.module';\nexport * from './lib/table/libey-ng-table.component';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0","Injectable","Component","i1","DatePipe","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,QAAA,8BAAA,kBAAA,YAAA;IAEE,IAAA,SAAA,8BAAA,GAAA;SAAiB;;;sJAFN,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;IAA9B,8BAAA,CAAA,KAAA,GAAAA,aAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,8BAA8B,cAF7B,MAAM,EAAA,CAAA,CAAA;sHAEP,8BAA8B,EAAA,UAAA,EAAA,CAAA;sBAH1CC,aAAU;IAAC,YAAA,IAA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CAAA,QAAA,EAAA,CAAA,CAAA;IAA7B,6BAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,6BAA6B,iBAXtC,gCAAgC;IAChC,QAAA,qBAAqB,aAKrB,gCAAgC;YAChC,qBAAqB,CAAA,EAAA,CAAA,CAAA;IAIZ,6BAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,6BAA6B,EAF7B,SAAA,EAAA,CAACI,WAAQ,CAAC,YANZ,EACR,CAAA,EAAA,CAAA,CAAA;sHAOU,6BAA6B,EAAA,UAAA,EAAA,CAAA;sBAbzCC,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACR,oBAAA,YAAY,EAAE;4BACZ,gCAAgC;4BAChC,qBAAqB;IACtB,qBAAA;IACD,oBAAA,OAAO,EAAE,EACR;IACD,oBAAA,OAAO,EAAE;4BACP,gCAAgC;4BAChC,qBAAqB;IACtB,qBAAA;wBACD,SAAS,EAAE,CAACD,WAAQ,CAAC;qBACtB,CAAA;;;ICnBD;;IAEG;;ICFH;;IAEG;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"libey-ng-component-library.umd.js","sources":["../../../projects/libey-ng-component-library/src/lib/libey-ng-component-library.service.ts","../../../projects/libey-ng-component-library/src/lib/libey-ng-component-library.component.ts","../../../projects/libey-ng-component-library/src/lib/table/directives/libey-column.directive.ts","../../../projects/libey-ng-component-library/src/lib/table/libey-ng-table.component.ts","../../../projects/libey-ng-component-library/src/lib/table/libey-ng-table.component.html","../../../projects/libey-ng-component-library/src/lib/table/libey-ng-table.module.ts","../../../projects/libey-ng-component-library/src/lib/libey-ng-component-library.module.ts","../../../projects/libey-ng-component-library/src/public-api.ts","../../../projects/libey-ng-component-library/src/libey-ng-component-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class LibeyNgComponentLibraryService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-libey-ngComponent-library',\n template: `\n <p>\n libey-ng-component-library works!\n </p>\n `,\n styles: [\n ]\n})\nexport class LibeyNgComponentLibraryComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { ContentChild, Directive, Input, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'libey-ng-column'\r\n})\r\nexport class LibeyColumnDirective {\r\n @Input() header!: string;\r\n @Input() property!: string;\r\n @Input() width!: number;\r\n @Input() arrayMap?: string;\r\n @Input() isArray?: boolean;\r\n @Input() expandable?: boolean;\r\n @Input() class?: string;\r\n @Input() childTableTemplate: TemplateRef<any>;\r\n @ContentChild(TemplateRef) cellTemplate!: TemplateRef<any>;\r\n}","import { AfterViewInit, ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, Input, OnInit, Output, QueryList, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\r\nimport { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { LibeyColumnDirective } from './directives/libey-column.directive';\r\ninterface IDataKey {\r\n key: number;\r\n dataKey: number;\r\n childTableTemplate: TemplateRef<any>;\r\n data: any[]\r\n}\r\n\r\nclass DataKey implements IDataKey {\r\n key: number;\r\n dataKey: number;\r\n childTableTemplate: TemplateRef<any>;\r\n data: any[]\r\n}\r\n\r\n@Component({\r\n selector: 'libey-ng-table',\r\n templateUrl: './libey-ng-table.component.html',\r\n styleUrls: ['./libey-ng-table.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\n\r\nexport class LibeyNgTableComponent implements OnInit, AfterViewInit {\r\n @Input() set data(value: any[]) {\r\n this._data = value;\r\n }\r\n get data(): any[] {\r\n return this._data;\r\n }\r\n @Input() pageSize: number = 10;\r\n @Input() totalSize: number = 0;\r\n @Input() maxPageButtons: number = 5;\r\n @Input() height: number;\r\n @Input() expandable: boolean = false;\r\n @Input() viewPaginate: boolean = true;\r\n @Input() childTableTemplate!: TemplateRef<any>;\r\n @Input() headerfixed: boolean = false;\r\n @Input() class: string;\r\n @Output() pageChange = new EventEmitter<number>();\r\n \r\n @ContentChildren(LibeyColumnDirective) columns!: QueryList<LibeyColumnDirective>;\r\n\r\n rowExpandable: boolean[] = [];\r\n rowExpandableDetail: IDataKey[] = [];\r\n currentPage: number = 1;\r\n paginatedData: any[] = [];\r\n private _data: any[] = [];\r\n columnWidths: number[] = [];\r\n resizingColumnIndex: number | null = null;\r\n startX: number = 0;\r\n startWidth: number = 0;\r\n @ViewChild('tableContainer') tableContainer!: ElementRef;\r\n @ViewChild('table') tableElement!: ElementRef;\r\n constructor(private cdr: ChangeDetectorRef) {}\r\n ngOnInit(): void {\r\n this.updatePaginatedData();\r\n }\r\n ngAfterViewInit() {\r\n this.initializeColumnWidths();\r\n this.adjustTableWidth()\r\n this.cdr.detectChanges();\r\n }\r\n\r\n initializeColumnWidths() {\r\n var padding = 31\r\n var widthDefault = 150\r\n this.columnWidths = this.columns.map(column => column.width);\r\n const containerWidth = this.tableContainer.nativeElement.offsetWidth;\r\n const autoColumns = this.columns.filter(column => column.width == null);\r\n const totalFixedWidth = this.columns.reduce((sum, column) =>\r\n column.width != null ? (sum + this.getWidthValue(column.width)) : sum, 0);\r\n const remainingWidth = containerWidth - (totalFixedWidth + (((this.columns.length - autoColumns.length) * padding)+ (this.expandable ? 61 : 0)));\r\n\r\n if (autoColumns.length > 0) {\r\n var autoColumnWidth = 0;\r\n if(remainingWidth < widthDefault)\r\n autoColumnWidth = widthDefault;\r\n else\r\n autoColumnWidth = Math.max(0, remainingWidth / autoColumns.length);\r\n autoColumns.forEach(column => column.width = autoColumnWidth- padding);\r\n }\r\n this.columnWidths = this.columns.map(column => column.width);\r\n }\r\n adjustTableWidth() {\r\n const totalWidth = this.columns.reduce((sum, column) => sum + this.getWidthValue(column.width), 0);\r\n this.tableElement.nativeElement.style.width = `${totalWidth}px`;\r\n }\r\n getWidthValue(width: number): number {\r\n return width === null ? 100 : width;\r\n }\r\n\r\n get totalPages(): number {\r\n return Math.ceil(this.totalSize / this.pageSize);\r\n }\r\n\r\n getCellValue(item: any, column: LibeyColumnDirective): string {\r\n const value = this.getNestedValue(item, column.property);\r\n if (Array.isArray(value) && column.arrayMap) {\r\n return value.map(v => this.getNestedValue(v, column.arrayMap!)).join(', ');\r\n }\r\n return value;\r\n }\r\n\r\n private getNestedValue(obj: any, path: string): any {\r\n return path.split('.').reduce((o, key) => {\r\n if (o && typeof o === 'object' && key in o) {\r\n return o[key];\r\n }\r\n return undefined;\r\n }, obj);\r\n }\r\n\r\n private updatePaginatedData(): void {\r\n console.log(this.pageSize);\r\n const start = (this.currentPage - 1) * this.pageSize;\r\n const end = start + this.pageSize;\r\n this.paginatedData = this.data.slice(start, end);\r\n }\r\n pageRange(): number[] {\r\n const start = Math.max(1, this.currentPage - Math.floor(this.maxPageButtons / 2));\r\n const end = Math.min(this.totalPages, start + this.maxPageButtons - 1);\r\n return Array.from({length: end - start + 1}, (_, i) => start + i);\r\n }\r\n goToPage(page: number): void {\r\n this.currentPage = Math.max(1, Math.min(page, this.totalPages));\r\n this.updatePaginatedData();\r\n this.pageChange.emit(this.currentPage);\r\n }\r\n // hasChildren(row: any): boolean{\r\n // return Array.isArray(row.child) && row.child.length > 0;\r\n // }\r\n toggleRow(index: number){\r\n this.rowExpandable[index] = !this.rowExpandable[index];\r\n }\r\n toggleRowDetail(key: number, indexData: number, propertyChild: TemplateRef<any>){\r\n var exist = this.rowExpandableDetail.find(x => x.key == key && x.dataKey == indexData);\r\n this.rowExpandableDetail = this.rowExpandableDetail.filter(x => x.key != key && x.dataKey != indexData);\r\n if(exist == null){\r\n var item = new DataKey();\r\n item.key = key;\r\n item.dataKey = indexData;\r\n item.childTableTemplate = propertyChild;\r\n // item.data = this.getNestedValue(item, propertyChild);\r\n this.rowExpandableDetail.push(item);\r\n console.log(this.rowExpandableDetail);\r\n }\r\n }\r\n getChildren(fila: any): any[] {\r\n return fila.hijos || [];\r\n }\r\n onResizeStart(index: number, event: MouseEvent) {\r\n this.resizingColumnIndex = index;\r\n this.startX = event.pageX;\r\n this.startWidth = this.columnWidths[index];\r\n document.addEventListener('mousemove', this.onResizeMove);\r\n document.addEventListener('mouseup', this.onResizeEnd);\r\n }\r\n onResizeMove = (event: MouseEvent) => {\r\n if (this.resizingColumnIndex !== null) {\r\n const diff = event.pageX - this.startX;\r\n this.columnWidths[this.resizingColumnIndex] = Math.max(this.startWidth + diff, 50);\r\n\r\n }\r\n }\r\n onResizeEnd = () => {\r\n this.resizingColumnIndex = null;\r\n document.removeEventListener('mousemove', this.onResizeMove);\r\n document.removeEventListener('mouseup', this.onResizeEnd);\r\n }\r\n existRowExpandableDetail(key: number, indexData: number) : boolean{\r\n return this.rowExpandableDetail.filter(x => x.key == key && x.dataKey == indexData).length > 0;\r\n }\r\n viewRowExpandableDetail(indexData: number) :boolean{\r\n return this.rowExpandableDetail.filter(x => x.dataKey == indexData).length > 0;\r\n }\r\n findRowExpandableDetail(indexData: number) :TemplateRef<any>{\r\n var find = this.rowExpandableDetail.find(x => x.dataKey == indexData);\r\n if(find)\r\n return find.childTableTemplate; \r\n else\r\n return null;\r\n }\r\n}\r\n","<div class=\"table-container\" #tableContainer [style.height]=\"height == null ? 'auto':(height + 'px')\">\r\n <!-- <table cdkDropList (cdkDropListDropped)=\"drop($event)\"> -->\r\n <table #table [ngClass]=\"class\">\r\n <thead>\r\n <tr>\r\n <th *ngIf=\"expandable\" [ngClass]=\"headerfixed == true ? 'th-fixed':''\" style=\"width: 25px;\"></th>\r\n <ng-container *ngFor=\"let column of columns; let i = index\">\r\n <th [style.width]=\"columnWidths[i] == null ? 'auto':(columnWidths[i] + 'px')\" [ngClass]=\"headerfixed == true ? 'th-fixed':''\">\r\n {{ column.header }}\r\n <div class=\"resize-handle\" (mousedown)=\"onResizeStart(i, $event)\"></div>\r\n </th>\r\n </ng-container>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"paginatedData.length == 0\">\r\n <tr>\r\n <td [colSpan]=\"expandable ? (columns.length + 1) : (columns.length)\" class=\"text-center\">\r\n No existen datos disponibles\r\n </td>\r\n </tr>\r\n </ng-container>\r\n <ng-container *ngIf=\"paginatedData.length != 0\">\r\n <ng-container *ngFor=\"let item of paginatedData; let a = index\">\r\n <tr>\r\n <td *ngIf=\"expandable\">\r\n <button (click)=\"toggleRow(a)\">\r\n <i [ngClass]=\"rowExpandable[a] ? 'icon-arrow-up':'icon-arrow-down'\"></i>\r\n </button>\r\n </td>\r\n <ng-container *ngFor=\"let column of columns; let i = index\">\r\n <td [ngClass]=\"column.class\">\r\n <ng-container *ngIf=\"column.cellTemplate; else defaultCell\">\r\n <div style=\"display: flex; justify-content: space-between;\">\r\n <ng-container *ngTemplateOutlet=\"column.cellTemplate; context: { $implicit: item }\"></ng-container>\r\n <button *ngIf=\"column.expandable\" (click)=\"toggleRowDetail(i, a, column.childTableTemplate)\">\r\n <i [ngClass]=\"existRowExpandableDetail(i, a) ? 'icon-arrow-up':'icon-arrow-down'\"></i>\r\n </button>\r\n </div>\r\n </ng-container>\r\n <ng-template #defaultCell>\r\n <div style=\"display: flex; justify-content: space-between;\">\r\n {{ getCellValue(item, column) }}\r\n <button *ngIf=\"column.expandable\" (click)=\"toggleRowDetail(i, a, column.childTableTemplate)\">\r\n <i [ngClass]=\"existRowExpandableDetail(i, a) ? 'icon-arrow-up':'icon-arrow-down'\"></i>\r\n </button>\r\n </div>\r\n </ng-template>\r\n </td>\r\n </ng-container>\r\n </tr>\r\n <tr *ngIf=\"viewRowExpandableDetail(a)\">\r\n <ng-container *ngTemplateOutlet=\"findRowExpandableDetail(a); context: { $implicit: item }\"></ng-container>\r\n </tr>\r\n <tr *ngIf=\"rowExpandable[a]\">\r\n <td [attr.colspan]=\"columns.length + (expandable ? 1 : 0)\">\r\n <ng-container [ngTemplateOutlet]=\"childTableTemplate\"\r\n [ngTemplateOutletContext]=\"{ parentRow: item }\">\r\n </ng-container>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n</div>\r\n<div *ngIf=\"viewPaginate && paginatedData.length != 0\" class=\"pagination-controls\">\r\n <div class=\"d-align-center\">\r\n <label class=\"lbl-footer me-20px\"># Registros: {{this.totalSize}}</label>\r\n <label class=\"lbl-footer\"># Filas: {{this.pageSize}}</label>\r\n </div>\r\n <div>\r\n <button (click)=\"goToPage(1)\" [disabled]=\"currentPage === 1\">\r\n <i class=\"icon-first-page\"></i>\r\n </button>\r\n <button (click)=\"goToPage(currentPage - 1)\" [disabled]=\"currentPage === 1\">\r\n <i class=\"icon-previous-page\"></i>\r\n </button>\r\n <ng-container *ngFor=\"let page of pageRange()\">\r\n <button\r\n (click)=\"goToPage(page)\"\r\n [class.active]=\"currentPage === page\"\r\n [disabled]=\"currentPage === page\">\r\n {{ page }}\r\n </button>\r\n </ng-container>\r\n <button (click)=\"goToPage(currentPage + 1)\" [disabled]=\"currentPage === totalPages\">\r\n <i class=\"icon-next-page\"></i>\r\n </button>\r\n <button (click)=\"goToPage(totalPages)\" [disabled]=\"currentPage === totalPages\">\r\n <i class=\"icon-last-page\"></i>\r\n </button>\r\n </div>\r\n</div>\r\n","// table.module.ts\r\nimport { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { LibeyColumnDirective } from './directives/libey-column.directive';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { LibeyNgTableComponent } from './libey-ng-table.component';\r\n\r\n@NgModule({\r\n declarations: [LibeyNgTableComponent, LibeyColumnDirective],\r\n imports: [CommonModule,FormsModule],\r\n exports: [LibeyNgTableComponent, LibeyColumnDirective]\r\n})\r\nexport class LibeyNgTableModule { }","import { NgModule } from '@angular/core';\nimport { LibeyNgComponentLibraryComponent } from './libey-ng-component-library.component';\nimport { LibeyNgTableComponent } from './table/libey-ng-table.component';\nimport { CommonModule, DatePipe } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { LibeyNgTableModule } from './table/libey-ng-table.module';\n\n\n\n@NgModule({\n declarations: [\n ],\n imports: [\n CommonModule,\n FormsModule,\n LibeyNgTableModule\n ],\n exports: [LibeyNgTableModule],\n providers: [DatePipe]\n})\nexport class LibeyNgComponentLibraryModule { }\n","/*\n * Public API Surface of libey-ng-component-library\n */\n\nexport * from './lib/libey-ng-component-library.service';\nexport * from './lib/libey-ng-component-library.component';\nexport * from './lib/libey-ng-component-library.module';\nexport * from './lib/table/libey-ng-table.module';\nexport * from './lib/table/libey-ng-table.component';\nexport * from './lib/table/directives/libey-column.directive';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0","Injectable","Component","TemplateRef","Directive","Input","ContentChild","EventEmitter","i1","ViewEncapsulation","Output","ContentChildren","ViewChild","CommonModule","FormsModule","NgModule","DatePipe"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,QAAA,8BAAA,kBAAA,YAAA;IAEE,IAAA,SAAA,8BAAA,GAAA;SAAiB;;;sJAFN,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;IAA9B,8BAAA,CAAA,KAAA,GAAAA,aAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,8BAA8B,cAF7B,MAAM,EAAA,CAAA,CAAA;sHAEP,8BAA8B,EAAA,UAAA,EAAA,CAAA;sBAH1CC,aAAU;IAAC,YAAA,IAAA,EAAA,CAAA;IACV,oBAAA,UAAU,EAAE,MAAM;qBACnB,CAAA;;;ACQD,QAAA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AAA,EAAA,CAACgB,WAAQ,CAAC,EANZ,OAAA,EAAA,CAAA;gBACPH,eAAY;gBACZC,iBAAW;gBACX,kBAAkB;IACnB,SAAA,EACS,kBAAkB,CAAA,EAAA,CAAA,CAAA;sHAGjB,6BAA6B,EAAA,UAAA,EAAA,CAAA;sBAXzCC,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACR,oBAAA,YAAY,EAAE,EACb;IACD,oBAAA,OAAO,EAAE;4BACPF,eAAY;4BACZC,iBAAW;4BACX,kBAAkB;IACnB,qBAAA;wBACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;wBAC7B,SAAS,EAAE,CAACE,WAAQ,CAAC;qBACtB,CAAA;;;ICnBD;;IAEG;;ICFH;;IAEG;;;;;;;;;;;;;;;"}
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { CommonModule, DatePipe } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { LibeyNgTableModule } from './table/libey-ng-table.module';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class LibeyNgComponentLibraryModule {
|
|
7
7
|
}
|
|
8
8
|
LibeyNgComponentLibraryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LibeyNgComponentLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
LibeyNgComponentLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LibeyNgComponentLibraryModule,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
LibeyNgComponentLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LibeyNgComponentLibraryModule, providers: [DatePipe], imports: [[
|
|
9
|
+
LibeyNgComponentLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LibeyNgComponentLibraryModule, imports: [CommonModule,
|
|
10
|
+
FormsModule,
|
|
11
|
+
LibeyNgTableModule], exports: [LibeyNgTableModule] });
|
|
12
|
+
LibeyNgComponentLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LibeyNgComponentLibraryModule, providers: [DatePipe], imports: [[
|
|
13
|
+
CommonModule,
|
|
14
|
+
FormsModule,
|
|
15
|
+
LibeyNgTableModule
|
|
16
|
+
], LibeyNgTableModule] });
|
|
13
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: LibeyNgComponentLibraryModule, decorators: [{
|
|
14
18
|
type: NgModule,
|
|
15
19
|
args: [{
|
|
16
|
-
declarations: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
exports: [
|
|
22
|
-
LibeyNgComponentLibraryComponent,
|
|
23
|
-
LibeyNgTableComponent
|
|
20
|
+
declarations: [],
|
|
21
|
+
imports: [
|
|
22
|
+
CommonModule,
|
|
23
|
+
FormsModule,
|
|
24
|
+
LibeyNgTableModule
|
|
24
25
|
],
|
|
26
|
+
exports: [LibeyNgTableModule],
|
|
25
27
|
providers: [DatePipe]
|
|
26
28
|
}]
|
|
27
29
|
}] });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGliZXktbmctY29tcG9uZW50LWxpYnJhcnkubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbGliZXktbmctY29tcG9uZW50LWxpYnJhcnkvc3JjL2xpYi9saWJleS1uZy1jb21wb25lbnQtbGlicmFyeS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