@seniorsistemas/angular-components 14.11.0 → 14.13.1
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/seniorsistemas-angular-components.umd.js +349 -39
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/table/frozen-position/frozen-position.directive.d.ts +22 -0
- package/components/table/index.d.ts +1 -0
- package/components/table/table-paging/table-paging.component.d.ts +27 -0
- package/esm2015/components/dynamic-form/components/fields/chips/chips-field.component.js +2 -2
- package/esm2015/components/table/frozen-position/frozen-position.directive.js +129 -0
- package/esm2015/components/table/index.js +2 -1
- package/esm2015/components/table/table-paging/table-paging.component.js +111 -0
- package/esm2015/components/table/table.module.js +14 -4
- package/esm2015/seniorsistemas-angular-components.js +38 -36
- package/esm5/components/dynamic-form/components/fields/chips/chips-field.component.js +2 -2
- package/esm5/components/table/frozen-position/frozen-position.directive.js +189 -0
- package/esm5/components/table/index.js +2 -1
- package/esm5/components/table/table-paging/table-paging.component.js +122 -0
- package/esm5/components/table/table.module.js +14 -4
- package/esm5/seniorsistemas-angular-components.js +38 -36
- package/fesm2015/seniorsistemas-angular-components.js +242 -6
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +314 -7
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +37 -35
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -3859,6 +3859,191 @@
|
|
|
3859
3859
|
return RowTogllerDirective;
|
|
3860
3860
|
}(table.RowToggler));
|
|
3861
3861
|
|
|
3862
|
+
var TableFrozenPositionDirective = /** @class */ (function () {
|
|
3863
|
+
function TableFrozenPositionDirective(el, host) {
|
|
3864
|
+
var _this = this;
|
|
3865
|
+
this.el = el;
|
|
3866
|
+
this.host = host;
|
|
3867
|
+
this.sTableFrozenPosition = "left";
|
|
3868
|
+
this.host.onColResize.subscribe(function () {
|
|
3869
|
+
_this.handleColResize();
|
|
3870
|
+
});
|
|
3871
|
+
window.addEventListener("resize", this.handleWindowResize.bind(this));
|
|
3872
|
+
var componentId = new Date().getTime();
|
|
3873
|
+
this.resetRowHeightClassName = "resetTableRowsHeight_" + componentId;
|
|
3874
|
+
var styleReset = document.createElement("style");
|
|
3875
|
+
styleReset.innerHTML = "." + this.resetRowHeightClassName + " tbody > tr, ." + this.resetRowHeightClassName + " thead > tr { height: auto; }";
|
|
3876
|
+
document.getElementsByTagName("head")[0].appendChild(styleReset);
|
|
3877
|
+
this.fixBodyRowClassName = "fixTableBodyRowsHeight_" + componentId;
|
|
3878
|
+
this.styleFixBodyRowHeight = document.createElement("style");
|
|
3879
|
+
this.styleFixBodyRowHeight.innerHTML = "." + this.fixBodyRowClassName + " tbody > tr { height: auto; }";
|
|
3880
|
+
document.getElementsByTagName("head")[0].appendChild(this.styleFixBodyRowHeight);
|
|
3881
|
+
this.fixHeadRowClassName = "fixTableHeadRowsHeight_" + componentId;
|
|
3882
|
+
this.styleFixHeadRowHeight = document.createElement("style");
|
|
3883
|
+
this.styleFixHeadRowHeight.innerHTML = "." + this.fixHeadRowClassName + " thead > tr { height: auto; }";
|
|
3884
|
+
document.getElementsByTagName("head")[0].appendChild(this.styleFixHeadRowHeight);
|
|
3885
|
+
}
|
|
3886
|
+
Object.defineProperty(TableFrozenPositionDirective.prototype, "sTableFrozenValue", {
|
|
3887
|
+
set: function (_) {
|
|
3888
|
+
var _this = this;
|
|
3889
|
+
setTimeout(function () {
|
|
3890
|
+
_this.synchronizeRowHeight();
|
|
3891
|
+
});
|
|
3892
|
+
},
|
|
3893
|
+
enumerable: true,
|
|
3894
|
+
configurable: true
|
|
3895
|
+
});
|
|
3896
|
+
TableFrozenPositionDirective.prototype.ngAfterViewInit = function () {
|
|
3897
|
+
if (this.sTableFrozenPosition === "left")
|
|
3898
|
+
return;
|
|
3899
|
+
this.applyStylesForTable();
|
|
3900
|
+
};
|
|
3901
|
+
TableFrozenPositionDirective.prototype.ngOnDestroy = function () {
|
|
3902
|
+
window.removeEventListener("resize", this.handleWindowResize.bind(this));
|
|
3903
|
+
};
|
|
3904
|
+
TableFrozenPositionDirective.prototype.applyStylesForTable = function () {
|
|
3905
|
+
var scrollWrapper = this.el.nativeElement.querySelector(".ui-table-scrollable-wrapper");
|
|
3906
|
+
if (!scrollWrapper) {
|
|
3907
|
+
console.warn("Unable to find scroll-wrapper element from table. Is the table configured with frozen template?");
|
|
3908
|
+
return;
|
|
3909
|
+
}
|
|
3910
|
+
scrollWrapper.style.display = "flex";
|
|
3911
|
+
scrollWrapper.style.flexDirection = "row";
|
|
3912
|
+
var frozenTable = this.el.nativeElement.querySelector(".ui-table-frozen-view");
|
|
3913
|
+
if (!frozenTable) {
|
|
3914
|
+
console.warn("Unable to find frozen element from table. Is the table configured with frozen template?");
|
|
3915
|
+
return;
|
|
3916
|
+
}
|
|
3917
|
+
frozenTable.style.order = "1";
|
|
3918
|
+
frozenTable.style.borderRight = "none";
|
|
3919
|
+
frozenTable.style.borderLeft = "1px solid #dddddd";
|
|
3920
|
+
frozenTable.style.boxShadow = "-5px 0 5px -5px #cccccc";
|
|
3921
|
+
var unfrozenTable = this.el.nativeElement.querySelector(".ui-table-unfrozen-view");
|
|
3922
|
+
if (!unfrozenTable) {
|
|
3923
|
+
console.warn("Unable to find unfrozen element from table. Is the table configured with frozen template?");
|
|
3924
|
+
return;
|
|
3925
|
+
}
|
|
3926
|
+
unfrozenTable.style.position = "unset";
|
|
3927
|
+
};
|
|
3928
|
+
TableFrozenPositionDirective.prototype.handleWindowResize = function () {
|
|
3929
|
+
this.synchronizeRowHeight();
|
|
3930
|
+
};
|
|
3931
|
+
TableFrozenPositionDirective.prototype.handleColResize = function () {
|
|
3932
|
+
this.synchronizeRowHeight();
|
|
3933
|
+
};
|
|
3934
|
+
TableFrozenPositionDirective.prototype.synchronizeRowHeight = function () {
|
|
3935
|
+
var tableBodyWrappers = this.el.nativeElement.getElementsByClassName("ui-table-scrollable-body");
|
|
3936
|
+
var tableBodies = __spread(tableBodyWrappers).map(function (divWrapper) { return __spread(divWrapper.childNodes).find(function (p) { return p.tagName === "TABLE"; }); });
|
|
3937
|
+
this.recalculateDefaultRowHeight(tableBodies);
|
|
3938
|
+
this.applyMaxRowHeight(tableBodies);
|
|
3939
|
+
var tableHeadWrappers = this.el.nativeElement.getElementsByClassName("ui-table-scrollable-header-box");
|
|
3940
|
+
var tableHeads = __spread(tableHeadWrappers).map(function (divWrapper) { return __spread(divWrapper.childNodes).find(function (p) { return p.tagName === "TABLE"; }); });
|
|
3941
|
+
this.recalculateDefaultRowHeight(tableHeads);
|
|
3942
|
+
this.applyMaxRowHeight(tableHeads, true);
|
|
3943
|
+
};
|
|
3944
|
+
TableFrozenPositionDirective.prototype.recalculateDefaultRowHeight = function (tables) {
|
|
3945
|
+
var e_1, _a;
|
|
3946
|
+
try {
|
|
3947
|
+
for (var tables_1 = __values(tables), tables_1_1 = tables_1.next(); !tables_1_1.done; tables_1_1 = tables_1.next()) {
|
|
3948
|
+
var table = tables_1_1.value;
|
|
3949
|
+
table.classList.remove(this.fixBodyRowClassName);
|
|
3950
|
+
table.classList.remove(this.fixHeadRowClassName);
|
|
3951
|
+
table.classList.add(this.resetRowHeightClassName);
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3954
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3955
|
+
finally {
|
|
3956
|
+
try {
|
|
3957
|
+
if (tables_1_1 && !tables_1_1.done && (_a = tables_1.return)) _a.call(tables_1);
|
|
3958
|
+
}
|
|
3959
|
+
finally { if (e_1) throw e_1.error; }
|
|
3960
|
+
}
|
|
3961
|
+
};
|
|
3962
|
+
TableFrozenPositionDirective.prototype.applyMaxRowHeight = function (tables, isHead) {
|
|
3963
|
+
var e_2, _a, e_3, _b, e_4, _c, e_5, _d;
|
|
3964
|
+
if (isHead === void 0) { isHead = false; }
|
|
3965
|
+
var rowSizes = [];
|
|
3966
|
+
try {
|
|
3967
|
+
for (var tables_2 = __values(tables), tables_2_1 = tables_2.next(); !tables_2_1.done; tables_2_1 = tables_2.next()) {
|
|
3968
|
+
var table = tables_2_1.value;
|
|
3969
|
+
try {
|
|
3970
|
+
for (var _e = (e_3 = void 0, __values(table.rows)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
3971
|
+
var tr = _f.value;
|
|
3972
|
+
rowSizes.push(tr.getBoundingClientRect().height);
|
|
3973
|
+
}
|
|
3974
|
+
}
|
|
3975
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
3976
|
+
finally {
|
|
3977
|
+
try {
|
|
3978
|
+
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
3979
|
+
}
|
|
3980
|
+
finally { if (e_3) throw e_3.error; }
|
|
3981
|
+
}
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
3984
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
3985
|
+
finally {
|
|
3986
|
+
try {
|
|
3987
|
+
if (tables_2_1 && !tables_2_1.done && (_a = tables_2.return)) _a.call(tables_2);
|
|
3988
|
+
}
|
|
3989
|
+
finally { if (e_2) throw e_2.error; }
|
|
3990
|
+
}
|
|
3991
|
+
if (!rowSizes.length)
|
|
3992
|
+
return;
|
|
3993
|
+
var maxHeight = Math.max.apply(Math, __spread(rowSizes));
|
|
3994
|
+
if (isHead) {
|
|
3995
|
+
this.styleFixHeadRowHeight.innerHTML = "." + this.fixHeadRowClassName + " thead > tr { height: " + maxHeight + "px; }";
|
|
3996
|
+
try {
|
|
3997
|
+
for (var tables_3 = __values(tables), tables_3_1 = tables_3.next(); !tables_3_1.done; tables_3_1 = tables_3.next()) {
|
|
3998
|
+
var table = tables_3_1.value;
|
|
3999
|
+
table.classList.remove(this.resetRowHeightClassName);
|
|
4000
|
+
table.classList.add(this.fixHeadRowClassName);
|
|
4001
|
+
}
|
|
4002
|
+
}
|
|
4003
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
4004
|
+
finally {
|
|
4005
|
+
try {
|
|
4006
|
+
if (tables_3_1 && !tables_3_1.done && (_c = tables_3.return)) _c.call(tables_3);
|
|
4007
|
+
}
|
|
4008
|
+
finally { if (e_4) throw e_4.error; }
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
else {
|
|
4012
|
+
this.styleFixBodyRowHeight.innerHTML = "." + this.fixBodyRowClassName + " tbody > tr { height: " + maxHeight + "px; }";
|
|
4013
|
+
try {
|
|
4014
|
+
for (var tables_4 = __values(tables), tables_4_1 = tables_4.next(); !tables_4_1.done; tables_4_1 = tables_4.next()) {
|
|
4015
|
+
var table = tables_4_1.value;
|
|
4016
|
+
table.classList.remove(this.resetRowHeightClassName);
|
|
4017
|
+
table.classList.add(this.fixBodyRowClassName);
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
4021
|
+
finally {
|
|
4022
|
+
try {
|
|
4023
|
+
if (tables_4_1 && !tables_4_1.done && (_d = tables_4.return)) _d.call(tables_4);
|
|
4024
|
+
}
|
|
4025
|
+
finally { if (e_5) throw e_5.error; }
|
|
4026
|
+
}
|
|
4027
|
+
}
|
|
4028
|
+
};
|
|
4029
|
+
TableFrozenPositionDirective.ctorParameters = function () { return [
|
|
4030
|
+
{ type: core.ElementRef },
|
|
4031
|
+
{ type: table.Table }
|
|
4032
|
+
]; };
|
|
4033
|
+
__decorate([
|
|
4034
|
+
core.Input()
|
|
4035
|
+
], TableFrozenPositionDirective.prototype, "sTableFrozenPosition", void 0);
|
|
4036
|
+
__decorate([
|
|
4037
|
+
core.Input()
|
|
4038
|
+
], TableFrozenPositionDirective.prototype, "sTableFrozenValue", null);
|
|
4039
|
+
TableFrozenPositionDirective = __decorate([
|
|
4040
|
+
core.Directive({
|
|
4041
|
+
selector: "[sTableFrozenPosition]"
|
|
4042
|
+
})
|
|
4043
|
+
], TableFrozenPositionDirective);
|
|
4044
|
+
return TableFrozenPositionDirective;
|
|
4045
|
+
}());
|
|
4046
|
+
|
|
3862
4047
|
|
|
3863
4048
|
(function (EnumColumnFieldType) {
|
|
3864
4049
|
EnumColumnFieldType["STRING"] = "STRING";
|
|
@@ -4172,6 +4357,122 @@
|
|
|
4172
4357
|
return TokenListModule;
|
|
4173
4358
|
}());
|
|
4174
4359
|
|
|
4360
|
+
var TablePagingComponent = /** @class */ (function () {
|
|
4361
|
+
function TablePagingComponent(translate, hostProjectConfigs) {
|
|
4362
|
+
this.translate = translate;
|
|
4363
|
+
this.hostProjectConfigs = hostProjectConfigs;
|
|
4364
|
+
}
|
|
4365
|
+
TablePagingComponent.prototype.ngOnChanges = function (changes) {
|
|
4366
|
+
this.totalRecordsText = this.translate.instant(this.getTranslatePrefix() + "total_records", {
|
|
4367
|
+
value: changes.totalRecords.currentValue
|
|
4368
|
+
});
|
|
4369
|
+
};
|
|
4370
|
+
TablePagingComponent.prototype.getTranslatePrefix = function () {
|
|
4371
|
+
return this.hostProjectConfigs.domain + "." + this.hostProjectConfigs.service + ".";
|
|
4372
|
+
};
|
|
4373
|
+
TablePagingComponent.prototype.getTooltipText = function () {
|
|
4374
|
+
return this.translate.instant(this.getTranslatePrefix() + "export_to_csv");
|
|
4375
|
+
};
|
|
4376
|
+
TablePagingComponent.prototype.getActions = function () {
|
|
4377
|
+
var _this = this;
|
|
4378
|
+
var actions = [
|
|
4379
|
+
{
|
|
4380
|
+
id: "exportCurrentPage",
|
|
4381
|
+
label: this.translate.instant(this.getTranslatePrefix() + "export_current_page"),
|
|
4382
|
+
command: function () { return _this.exportCurrentPage(); }
|
|
4383
|
+
},
|
|
4384
|
+
{
|
|
4385
|
+
id: "exportSelected",
|
|
4386
|
+
label: this.translate.instant(this.getTranslatePrefix() + "export_selected_records"),
|
|
4387
|
+
command: function () { return _this.exportSelectedRecords(); }
|
|
4388
|
+
}
|
|
4389
|
+
];
|
|
4390
|
+
if (this.loadAllRecords) {
|
|
4391
|
+
actions.push({
|
|
4392
|
+
id: "exportAll",
|
|
4393
|
+
label: this.translate.instant(this.getTranslatePrefix() + "export_all_records"),
|
|
4394
|
+
command: function () { return _this.exportAllRecords(); }
|
|
4395
|
+
});
|
|
4396
|
+
}
|
|
4397
|
+
return actions;
|
|
4398
|
+
};
|
|
4399
|
+
TablePagingComponent.prototype.validateComponent = function () {
|
|
4400
|
+
if (!this.table) {
|
|
4401
|
+
throw new Error("Table component not defined");
|
|
4402
|
+
}
|
|
4403
|
+
};
|
|
4404
|
+
TablePagingComponent.prototype.getColumnsToExport = function () {
|
|
4405
|
+
return __spread(this.table.columns).map(function (column) {
|
|
4406
|
+
if (column.exportable === null || column.exportable === undefined) {
|
|
4407
|
+
column.exportable = true;
|
|
4408
|
+
}
|
|
4409
|
+
return column;
|
|
4410
|
+
});
|
|
4411
|
+
};
|
|
4412
|
+
TablePagingComponent.prototype.getRowsToExport = function () {
|
|
4413
|
+
return this.table.value;
|
|
4414
|
+
};
|
|
4415
|
+
TablePagingComponent.prototype.getSelectedRowsToExport = function () {
|
|
4416
|
+
return this.table.selection;
|
|
4417
|
+
};
|
|
4418
|
+
TablePagingComponent.prototype.getExportFileName = function () {
|
|
4419
|
+
var _a;
|
|
4420
|
+
return (_a = this.exportFileName) !== null && _a !== void 0 ? _a : "download";
|
|
4421
|
+
};
|
|
4422
|
+
TablePagingComponent.prototype.exportCurrentPage = function () {
|
|
4423
|
+
this.validateComponent();
|
|
4424
|
+
ExportUtils.exportCSV(this.getColumnsToExport(), this.getRowsToExport(), undefined, this.getExportFileName());
|
|
4425
|
+
};
|
|
4426
|
+
TablePagingComponent.prototype.exportSelectedRecords = function () {
|
|
4427
|
+
this.validateComponent();
|
|
4428
|
+
ExportUtils.exportCSV(this.getColumnsToExport(), this.getSelectedRowsToExport(), undefined, this.getExportFileName());
|
|
4429
|
+
};
|
|
4430
|
+
TablePagingComponent.prototype.exportAllRecords = function () {
|
|
4431
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4432
|
+
var data;
|
|
4433
|
+
return __generator(this, function (_a) {
|
|
4434
|
+
switch (_a.label) {
|
|
4435
|
+
case 0:
|
|
4436
|
+
this.validateComponent();
|
|
4437
|
+
return [4 /*yield*/, this.loadAllRecords()];
|
|
4438
|
+
case 1:
|
|
4439
|
+
data = _a.sent();
|
|
4440
|
+
ExportUtils.exportCSV(this.getColumnsToExport(), data, undefined, this.getExportFileName());
|
|
4441
|
+
return [2 /*return*/];
|
|
4442
|
+
}
|
|
4443
|
+
});
|
|
4444
|
+
});
|
|
4445
|
+
};
|
|
4446
|
+
TablePagingComponent.ctorParameters = function () { return [
|
|
4447
|
+
{ type: core$1.TranslateService },
|
|
4448
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [HostProjectConfigsInjectionToken,] }] }
|
|
4449
|
+
]; };
|
|
4450
|
+
__decorate([
|
|
4451
|
+
core.Input()
|
|
4452
|
+
], TablePagingComponent.prototype, "totalRecords", void 0);
|
|
4453
|
+
__decorate([
|
|
4454
|
+
core.Input()
|
|
4455
|
+
], TablePagingComponent.prototype, "exportFileName", void 0);
|
|
4456
|
+
__decorate([
|
|
4457
|
+
core.Input()
|
|
4458
|
+
], TablePagingComponent.prototype, "table", void 0);
|
|
4459
|
+
__decorate([
|
|
4460
|
+
core.Input()
|
|
4461
|
+
], TablePagingComponent.prototype, "loadAllRecords", void 0);
|
|
4462
|
+
__decorate([
|
|
4463
|
+
core.Output()
|
|
4464
|
+
], TablePagingComponent.prototype, "totalRecordsText", void 0);
|
|
4465
|
+
TablePagingComponent = __decorate([
|
|
4466
|
+
core.Component({
|
|
4467
|
+
template: "<div class=\"paging-container\">\n <span class=\"total-records\">\n {{totalRecordsText}}\n </span>\n <s-button class=\"export-button\" \n priority=\"default\" \n iconClass=\"fa fa-fw fa-file-export\" \n [disabled]=\"false\" \n [auxiliary]=\"true\" \n [tooltip]=\"getTooltipText()\" \n [model]=\"getActions()\"></s-button>\n</div>\n",
|
|
4468
|
+
selector: "s-table-paging",
|
|
4469
|
+
styles: [".paging-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.export-button{margin-left:6px}"]
|
|
4470
|
+
}),
|
|
4471
|
+
__param(1, core.Inject(HostProjectConfigsInjectionToken))
|
|
4472
|
+
], TablePagingComponent);
|
|
4473
|
+
return TablePagingComponent;
|
|
4474
|
+
}());
|
|
4475
|
+
|
|
4175
4476
|
var TableModule = /** @class */ (function () {
|
|
4176
4477
|
function TableModule() {
|
|
4177
4478
|
}
|
|
@@ -4180,17 +4481,23 @@
|
|
|
4180
4481
|
imports: [
|
|
4181
4482
|
common.CommonModule,
|
|
4182
4483
|
tooltip.TooltipModule,
|
|
4183
|
-
TokenListModule
|
|
4484
|
+
TokenListModule,
|
|
4485
|
+
core$1.TranslateModule,
|
|
4486
|
+
ButtonModule
|
|
4184
4487
|
],
|
|
4185
4488
|
exports: [
|
|
4186
4489
|
RowTogllerDirective,
|
|
4187
4490
|
NavigationDirective,
|
|
4188
|
-
TableColumnsComponent
|
|
4491
|
+
TableColumnsComponent,
|
|
4492
|
+
TableFrozenPositionDirective,
|
|
4493
|
+
TablePagingComponent
|
|
4189
4494
|
],
|
|
4190
4495
|
declarations: [
|
|
4191
4496
|
RowTogllerDirective,
|
|
4192
4497
|
NavigationDirective,
|
|
4193
|
-
TableColumnsComponent
|
|
4498
|
+
TableColumnsComponent,
|
|
4499
|
+
TableFrozenPositionDirective,
|
|
4500
|
+
TablePagingComponent
|
|
4194
4501
|
],
|
|
4195
4502
|
})
|
|
4196
4503
|
], TableModule);
|
|
@@ -4268,7 +4575,7 @@
|
|
|
4268
4575
|
], ChipsFieldComponent.prototype, "formControl", void 0);
|
|
4269
4576
|
ChipsFieldComponent = __decorate([
|
|
4270
4577
|
core.Component({
|
|
4271
|
-
template: "<p-chips\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [pKeyFilter]=\"field.keyFilter\"\n
|
|
4578
|
+
template: "<p-chips\n *ngIf=\"field.keyFilter\"\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [pKeyFilter]=\"field.keyFilter\">\n</p-chips>\n\n<p-chips\n *ngIf=\"!field.keyFilter\"\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\">\n</p-chips>\n"
|
|
4272
4579
|
})
|
|
4273
4580
|
], ChipsFieldComponent);
|
|
4274
4581
|
return ChipsFieldComponent;
|
|
@@ -8881,6 +9188,7 @@
|
|
|
8881
9188
|
exports.StepsComponent = StepsComponent;
|
|
8882
9189
|
exports.StepsModule = StepsModule;
|
|
8883
9190
|
exports.Structure = Structure;
|
|
9191
|
+
exports.TableFrozenPositionDirective = TableFrozenPositionDirective;
|
|
8884
9192
|
exports.TableHeaderCheckboxComponent = TableHeaderCheckboxComponent;
|
|
8885
9193
|
exports.TableHeaderCheckboxModule = TableHeaderCheckboxModule;
|
|
8886
9194
|
exports.TableModule = TableModule;
|
|
@@ -8895,43 +9203,45 @@
|
|
|
8895
9203
|
exports.TokenListModule = TokenListModule;
|
|
8896
9204
|
exports.ɵa = LocalizedCurrencyImpurePipe;
|
|
8897
9205
|
exports.ɵb = LocalizedBignumberPipe;
|
|
8898
|
-
exports.ɵ
|
|
8899
|
-
exports.ɵ
|
|
8900
|
-
exports.ɵbd =
|
|
8901
|
-
exports.ɵbe =
|
|
8902
|
-
exports.ɵbf =
|
|
8903
|
-
exports.ɵbg =
|
|
8904
|
-
exports.ɵbh =
|
|
8905
|
-
exports.ɵbi =
|
|
8906
|
-
exports.ɵbj =
|
|
8907
|
-
exports.ɵbk =
|
|
8908
|
-
exports.ɵbl =
|
|
8909
|
-
exports.ɵbm =
|
|
8910
|
-
exports.ɵbn =
|
|
9206
|
+
exports.ɵba = TextAreaFieldComponent;
|
|
9207
|
+
exports.ɵbb = TextFieldComponent;
|
|
9208
|
+
exports.ɵbd = DecimalField;
|
|
9209
|
+
exports.ɵbe = StructureModule;
|
|
9210
|
+
exports.ɵbf = HeaderComponent;
|
|
9211
|
+
exports.ɵbg = FooterComponent;
|
|
9212
|
+
exports.ɵbh = InfoSignComponent;
|
|
9213
|
+
exports.ɵbi = NumberLocaleOptions;
|
|
9214
|
+
exports.ɵbj = ThumbnailService;
|
|
9215
|
+
exports.ɵbk = InfiniteScrollModule;
|
|
9216
|
+
exports.ɵbl = InfiniteScrollDirective;
|
|
9217
|
+
exports.ɵbm = CustomTranslationsModule;
|
|
9218
|
+
exports.ɵbn = CodeEditorComponent;
|
|
9219
|
+
exports.ɵbo = CoreFacade;
|
|
9220
|
+
exports.ɵbp = CodeMirror6Core;
|
|
8911
9221
|
exports.ɵc = LocalizedBignumberImpurePipe;
|
|
8912
9222
|
exports.ɵd = TokenListModule;
|
|
8913
|
-
exports.ɵe =
|
|
8914
|
-
exports.ɵf =
|
|
8915
|
-
exports.ɵg =
|
|
8916
|
-
exports.ɵh =
|
|
8917
|
-
exports.ɵi =
|
|
8918
|
-
exports.ɵj =
|
|
8919
|
-
exports.ɵk =
|
|
8920
|
-
exports.ɵl =
|
|
8921
|
-
exports.ɵm =
|
|
8922
|
-
exports.ɵn =
|
|
8923
|
-
exports.ɵo =
|
|
8924
|
-
exports.ɵp =
|
|
8925
|
-
exports.ɵq =
|
|
8926
|
-
exports.ɵr =
|
|
8927
|
-
exports.ɵs =
|
|
8928
|
-
exports.ɵt =
|
|
8929
|
-
exports.ɵu =
|
|
8930
|
-
exports.ɵv =
|
|
8931
|
-
exports.ɵw =
|
|
8932
|
-
exports.ɵx =
|
|
8933
|
-
exports.ɵy =
|
|
8934
|
-
exports.ɵz =
|
|
9223
|
+
exports.ɵe = ButtonModule;
|
|
9224
|
+
exports.ɵf = TableColumnsComponent;
|
|
9225
|
+
exports.ɵg = TablePagingComponent;
|
|
9226
|
+
exports.ɵh = InfoSignModule;
|
|
9227
|
+
exports.ɵi = MouseEventsModule;
|
|
9228
|
+
exports.ɵj = AutocompleteFieldComponent;
|
|
9229
|
+
exports.ɵk = BooleanFieldComponent;
|
|
9230
|
+
exports.ɵl = CalendarFieldComponent;
|
|
9231
|
+
exports.ɵm = ChipsFieldComponent;
|
|
9232
|
+
exports.ɵn = CurrencyFieldComponent;
|
|
9233
|
+
exports.ɵo = BaseFieldComponent;
|
|
9234
|
+
exports.ɵp = DynamicFieldComponent;
|
|
9235
|
+
exports.ɵq = DynamicFormDirective;
|
|
9236
|
+
exports.ɵr = FieldsetComponent;
|
|
9237
|
+
exports.ɵs = FileUploadComponent$1;
|
|
9238
|
+
exports.ɵt = LookupFieldComponent;
|
|
9239
|
+
exports.ɵu = NumberFieldComponent;
|
|
9240
|
+
exports.ɵv = BignumberFieldComponent;
|
|
9241
|
+
exports.ɵw = RadioButtonComponent;
|
|
9242
|
+
exports.ɵx = RowComponent;
|
|
9243
|
+
exports.ɵy = SectionComponent;
|
|
9244
|
+
exports.ɵz = SelectFieldComponent;
|
|
8935
9245
|
|
|
8936
9246
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8937
9247
|
|