@po-ui/ng-templates 5.13.1 → 5.17.0
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/po-ui-ng-templates.umd.js +4 -2
- package/bundles/po-ui-ng-templates.umd.js.map +1 -1
- package/esm2015/lib/components/po-page-dynamic-detail/interfaces/po-page-dynamic-detail-field.interface.js +1 -1
- package/esm2015/lib/components/po-page-dynamic-search/po-page-dynamic-search.component.js +2 -2
- package/esm2015/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-table-action.interface.js +1 -1
- package/esm2015/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-field.interface.js +1 -1
- package/esm2015/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.js +4 -2
- package/fesm2015/po-ui-ng-templates.js +4 -2
- package/fesm2015/po-ui-ng-templates.js.map +1 -1
- package/lib/components/po-page-dynamic-detail/interfaces/po-page-dynamic-detail-field.interface.d.ts +4 -0
- package/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-custom-table-action.interface.d.ts +48 -0
- package/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-field.interface.d.ts +19 -1
- package/package.json +4 -4
- package/po-ui-ng-templates-5.17.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-5.13.1.tgz +0 -0
|
@@ -4378,7 +4378,7 @@
|
|
|
4378
4378
|
return this.optionsServiceDisclaimerLabel(value, optionsServiceObjectsList);
|
|
4379
4379
|
}
|
|
4380
4380
|
if (field.type === i2.PoDynamicFieldType.Date) {
|
|
4381
|
-
return this.formatDate(value);
|
|
4381
|
+
return field.range ? this.formatDate(value.start) + ' - ' + this.formatDate(value.end) : this.formatDate(value);
|
|
4382
4382
|
}
|
|
4383
4383
|
if (field.options && value) {
|
|
4384
4384
|
return this.applyDisclaimerLabelValue(field, value);
|
|
@@ -5344,7 +5344,9 @@
|
|
|
5344
5344
|
var _this = this;
|
|
5345
5345
|
return tableCustomActions.map(function (tableCustomAction) { return ({
|
|
5346
5346
|
label: tableCustomAction.label,
|
|
5347
|
-
|
|
5347
|
+
icon: tableCustomAction.icon,
|
|
5348
|
+
action: _this.callTableCustomAction.bind(_this, tableCustomAction),
|
|
5349
|
+
disabled: tableCustomAction.disabled
|
|
5348
5350
|
}); });
|
|
5349
5351
|
};
|
|
5350
5352
|
PoPageDynamicTableComponent.prototype.isDisablePageCustomAction = function (customAction) {
|