@po-ui/ng-templates 16.0.0-next.1 → 16.0.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/README.md +2 -2
- package/esm2022/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter-base.component.mjs +6 -9
- package/esm2022/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.mjs +8 -18
- package/esm2022/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.mjs +13 -28
- package/fesm2022/po-ui-ng-templates.mjs +76 -104
- package/fesm2022/po-ui-ng-templates.mjs.map +1 -1
- package/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter-base.component.d.ts +3 -2
- package/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.d.ts +6 -3
- package/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.d.ts +14 -9
- package/package.json +4 -4
- package/po-ui-ng-templates-16.0.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-16.0.0-next.1.tgz +0 -0
|
@@ -5,14 +5,13 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import * as i5 from '@angular/forms';
|
|
6
6
|
import { FormsModule, NgForm } from '@angular/forms';
|
|
7
7
|
import * as i2 from '@po-ui/ng-components';
|
|
8
|
-
import { poLocaleDefault, poLocales, PoI18nPipe, PoFieldModule, PoModalModule, poLanguageDefault, PoDividerModule, PoLogoModule, PoModule, PoModalComponent, PoDynamicModule, PoPageModule, PoWidgetModule, PoButtonModule, PoGridModule,
|
|
8
|
+
import { poLocaleDefault, poLocales, PoI18nPipe, PoFieldModule, PoModalModule, poLanguageDefault, PoDividerModule, PoLogoModule, PoModule, PoModalComponent, PoDynamicModule, PoPageModule, PoWidgetModule, PoButtonModule, PoGridModule, PoDynamicFormComponent, PoDynamicFieldType, PoLanguageModule, PoTableColumnSortType, PoTableModule, PoStepperOrientation, PoInfoOrientation, PoStepperStatus, PoContainerModule, PoDialogModule, PoInfoModule, PoStepperModule } from '@po-ui/ng-components';
|
|
9
9
|
import * as i1$1 from '@angular/router';
|
|
10
10
|
import { RouterModule } from '@angular/router';
|
|
11
11
|
import * as i1 from '@angular/common/http';
|
|
12
12
|
import { HttpHeaders } from '@angular/common/http';
|
|
13
13
|
import { of, merge, throwError, from, EMPTY, concat, Observable, Subscription } from 'rxjs';
|
|
14
14
|
import { map, catchError, switchMap, tap } from 'rxjs/operators';
|
|
15
|
-
import { __decorate } from 'tslib';
|
|
16
15
|
|
|
17
16
|
/**
|
|
18
17
|
* Retorna o idioma atual do navegador
|
|
@@ -4749,11 +4748,8 @@ class PoAdvancedFilterBaseComponent {
|
|
|
4749
4748
|
} if (rf & 2) {
|
|
4750
4749
|
let _t;
|
|
4751
4750
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poModal = _t.first);
|
|
4752
|
-
} }, inputs: { keepFilters: ["p-keep-filters", "keepFilters"], filters: ["p-filters", "filters"], literals: ["p-literals", "literals"] }, outputs: { searchEvent: "p-search-event" } });
|
|
4751
|
+
} }, inputs: { keepFilters: ["p-keep-filters", "keepFilters", convertToBoolean], filters: ["p-filters", "filters"], literals: ["p-literals", "literals"] }, outputs: { searchEvent: "p-search-event" }, features: [i0.ɵɵInputTransformsFeature] });
|
|
4753
4752
|
}
|
|
4754
|
-
__decorate([
|
|
4755
|
-
InputBoolean()
|
|
4756
|
-
], PoAdvancedFilterBaseComponent.prototype, "keepFilters", void 0);
|
|
4757
4753
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoAdvancedFilterBaseComponent, [{
|
|
4758
4754
|
type: Directive
|
|
4759
4755
|
}], function () { return [{ type: i2.PoLanguageService }]; }, { poModal: [{
|
|
@@ -4761,7 +4757,7 @@ __decorate([
|
|
|
4761
4757
|
args: [PoModalComponent, { static: true }]
|
|
4762
4758
|
}], keepFilters: [{
|
|
4763
4759
|
type: Input,
|
|
4764
|
-
args: ['p-keep-filters']
|
|
4760
|
+
args: [{ alias: 'p-keep-filters', transform: convertToBoolean }]
|
|
4765
4761
|
}], searchEvent: [{
|
|
4766
4762
|
type: Output,
|
|
4767
4763
|
args: ['p-search-event']
|
|
@@ -5126,17 +5122,8 @@ class PoPageDynamicSearchBaseComponent {
|
|
|
5126
5122
|
});
|
|
5127
5123
|
}
|
|
5128
5124
|
static ɵfac = function PoPageDynamicSearchBaseComponent_Factory(t) { return new (t || PoPageDynamicSearchBaseComponent)(i0.ɵɵdirectiveInject(i2.PoLanguageService)); };
|
|
5129
|
-
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPageDynamicSearchBaseComponent, inputs: { actions: ["p-actions", "actions"], breadcrumb: ["p-breadcrumb", "breadcrumb"], keepFilters: ["p-keep-filters", "keepFilters"], concatFilters: ["p-concat-filters", "concatFilters"], hideRemoveAllDisclaimer: ["p-hide-remove-all-disclaimer", "hideRemoveAllDisclaimer"], onLoad: ["p-load", "onLoad"], title: ["p-title", "title"], quickSearchValue: ["p-quick-search-value", "quickSearchValue"], literals: ["p-literals", "literals"], filters: ["p-filters", "filters"], quickSearchWidth: ["p-quick-search-width", "quickSearchWidth"], hideCloseDisclaimers: ["p-hide-close-disclaimers", "hideCloseDisclaimers"] }, outputs: { advancedSearch: "p-advanced-search", changeDisclaimers: "p-change-disclaimers", quickSearch: "p-quick-search" } });
|
|
5125
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPageDynamicSearchBaseComponent, inputs: { actions: ["p-actions", "actions"], breadcrumb: ["p-breadcrumb", "breadcrumb"], keepFilters: ["p-keep-filters", "keepFilters", convertToBoolean], concatFilters: ["p-concat-filters", "concatFilters", convertToBoolean], hideRemoveAllDisclaimer: ["p-hide-remove-all-disclaimer", "hideRemoveAllDisclaimer", convertToBoolean], onLoad: ["p-load", "onLoad"], title: ["p-title", "title"], quickSearchValue: ["p-quick-search-value", "quickSearchValue"], literals: ["p-literals", "literals"], filters: ["p-filters", "filters"], quickSearchWidth: ["p-quick-search-width", "quickSearchWidth"], hideCloseDisclaimers: ["p-hide-close-disclaimers", "hideCloseDisclaimers"] }, outputs: { advancedSearch: "p-advanced-search", changeDisclaimers: "p-change-disclaimers", quickSearch: "p-quick-search" }, features: [i0.ɵɵInputTransformsFeature] });
|
|
5130
5126
|
}
|
|
5131
|
-
__decorate([
|
|
5132
|
-
InputBoolean()
|
|
5133
|
-
], PoPageDynamicSearchBaseComponent.prototype, "keepFilters", void 0);
|
|
5134
|
-
__decorate([
|
|
5135
|
-
InputBoolean()
|
|
5136
|
-
], PoPageDynamicSearchBaseComponent.prototype, "concatFilters", void 0);
|
|
5137
|
-
__decorate([
|
|
5138
|
-
InputBoolean()
|
|
5139
|
-
], PoPageDynamicSearchBaseComponent.prototype, "hideRemoveAllDisclaimer", void 0);
|
|
5140
5127
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDynamicSearchBaseComponent, [{
|
|
5141
5128
|
type: Directive
|
|
5142
5129
|
}], function () { return [{ type: i2.PoLanguageService }]; }, { actions: [{
|
|
@@ -5147,13 +5134,13 @@ __decorate([
|
|
|
5147
5134
|
args: ['p-breadcrumb']
|
|
5148
5135
|
}], keepFilters: [{
|
|
5149
5136
|
type: Input,
|
|
5150
|
-
args: ['p-keep-filters']
|
|
5137
|
+
args: [{ alias: 'p-keep-filters', transform: convertToBoolean }]
|
|
5151
5138
|
}], concatFilters: [{
|
|
5152
5139
|
type: Input,
|
|
5153
|
-
args: ['p-concat-filters']
|
|
5140
|
+
args: [{ alias: 'p-concat-filters', transform: convertToBoolean }]
|
|
5154
5141
|
}], hideRemoveAllDisclaimer: [{
|
|
5155
5142
|
type: Input,
|
|
5156
|
-
args: ['p-hide-remove-all-disclaimer']
|
|
5143
|
+
args: [{ alias: 'p-hide-remove-all-disclaimer', transform: convertToBoolean }]
|
|
5157
5144
|
}], onLoad: [{
|
|
5158
5145
|
type: Input,
|
|
5159
5146
|
args: ['p-load']
|
|
@@ -5521,69 +5508,6 @@ class PoPageDynamicSearchModule {
|
|
|
5521
5508
|
PoPageModule,
|
|
5522
5509
|
PoPageCustomizationModule], exports: [PoPageDynamicSearchComponent] }); })();
|
|
5523
5510
|
|
|
5524
|
-
const poPageDynamicTableLiteralsDefault = {
|
|
5525
|
-
en: {
|
|
5526
|
-
pageAction: 'New',
|
|
5527
|
-
pageActionRemoveAll: 'Delete',
|
|
5528
|
-
tableActionView: 'View',
|
|
5529
|
-
tableActionEdit: 'Edit',
|
|
5530
|
-
tableActionDuplicate: 'Duplicate',
|
|
5531
|
-
tableActionDelete: 'Delete',
|
|
5532
|
-
confirmRemoveTitle: 'Confirm delete',
|
|
5533
|
-
confirmRemoveMessage: 'Are you sure you want to delete this record? You can not undo this action.',
|
|
5534
|
-
confirmRemoveAllTitle: 'Confirm batch deletion',
|
|
5535
|
-
confirmRemoveAllMessage: 'Are you sure you want to delete all these records? You can not undo this action.',
|
|
5536
|
-
loadDataErrorNotification: 'Service not found',
|
|
5537
|
-
removeSuccessNotification: 'Item deleted successfully',
|
|
5538
|
-
removeAllSuccessNotification: 'Items deleted successfully'
|
|
5539
|
-
},
|
|
5540
|
-
es: {
|
|
5541
|
-
pageAction: 'Nuevo',
|
|
5542
|
-
pageActionRemoveAll: 'Borrar',
|
|
5543
|
-
tableActionView: 'Visualizar',
|
|
5544
|
-
tableActionEdit: 'Editar',
|
|
5545
|
-
tableActionDuplicate: 'Duplicar',
|
|
5546
|
-
tableActionDelete: 'Borrar',
|
|
5547
|
-
confirmRemoveTitle: 'Confirmar la exclusión',
|
|
5548
|
-
confirmRemoveMessage: '¿Está seguro de que desea eliminar este registro? No puede deshacer esta acción.',
|
|
5549
|
-
confirmRemoveAllTitle: 'Confirmar la exclusión por lotes',
|
|
5550
|
-
confirmRemoveAllMessage: '¿Está seguro de que desea eliminar todos estos registros? No puede deshacer esta acción.',
|
|
5551
|
-
loadDataErrorNotification: 'Servicio no informado.',
|
|
5552
|
-
removeSuccessNotification: 'Elemento eliminado con éxito',
|
|
5553
|
-
removeAllSuccessNotification: 'Elementos eliminados con éxito'
|
|
5554
|
-
},
|
|
5555
|
-
pt: {
|
|
5556
|
-
pageAction: 'Novo',
|
|
5557
|
-
pageActionRemoveAll: 'Excluir',
|
|
5558
|
-
tableActionView: 'Visualizar',
|
|
5559
|
-
tableActionEdit: 'Editar',
|
|
5560
|
-
tableActionDuplicate: 'Duplicar',
|
|
5561
|
-
tableActionDelete: 'Excluir',
|
|
5562
|
-
confirmRemoveTitle: 'Confirmar exclusão',
|
|
5563
|
-
confirmRemoveMessage: 'Tem certeza de que deseja excluir esse registro? Você não poderá desfazer essa ação.',
|
|
5564
|
-
confirmRemoveAllTitle: 'Confirmar exclusão em lote',
|
|
5565
|
-
confirmRemoveAllMessage: 'Tem certeza de que deseja excluir todos esses registros? Você não poderá desfazer essa ação.',
|
|
5566
|
-
loadDataErrorNotification: 'Serviço não informado.',
|
|
5567
|
-
removeSuccessNotification: 'Item excluido com sucesso',
|
|
5568
|
-
removeAllSuccessNotification: 'Items excluidos com sucesso'
|
|
5569
|
-
},
|
|
5570
|
-
ru: {
|
|
5571
|
-
pageAction: 'Новый',
|
|
5572
|
-
pageActionRemoveAll: 'Удалить',
|
|
5573
|
-
tableActionView: 'Просмотр',
|
|
5574
|
-
tableActionEdit: 'Редактировать',
|
|
5575
|
-
tableActionDuplicate: 'Дублировать',
|
|
5576
|
-
tableActionDelete: 'Удалить',
|
|
5577
|
-
confirmRemoveTitle: 'Подтверждение удаления',
|
|
5578
|
-
confirmRemoveMessage: 'Вы уверены, что хотите удалить эту запись? Вы не можете отменить это действие.',
|
|
5579
|
-
confirmRemoveAllTitle: 'Подтвердите удаление пакета',
|
|
5580
|
-
confirmRemoveAllMessage: 'Вы уверены, что хотите удалить все эти записи? Вы не можете отменить это действие.',
|
|
5581
|
-
loadDataErrorNotification: 'Сервис не найден',
|
|
5582
|
-
removeSuccessNotification: 'Элемент успешно удален',
|
|
5583
|
-
removeAllSuccessNotification: 'Элементы успешно удалены'
|
|
5584
|
-
}
|
|
5585
|
-
};
|
|
5586
|
-
|
|
5587
5511
|
class PoPageDynamicListBaseComponent {
|
|
5588
5512
|
/** Objeto com propriedades do breadcrumb. */
|
|
5589
5513
|
breadcrumb = { items: [] };
|
|
@@ -5808,6 +5732,69 @@ class PoPageDynamicListBaseComponent {
|
|
|
5808
5732
|
args: ['p-fields']
|
|
5809
5733
|
}] }); })();
|
|
5810
5734
|
|
|
5735
|
+
const poPageDynamicTableLiteralsDefault = {
|
|
5736
|
+
en: {
|
|
5737
|
+
pageAction: 'New',
|
|
5738
|
+
pageActionRemoveAll: 'Delete',
|
|
5739
|
+
tableActionView: 'View',
|
|
5740
|
+
tableActionEdit: 'Edit',
|
|
5741
|
+
tableActionDuplicate: 'Duplicate',
|
|
5742
|
+
tableActionDelete: 'Delete',
|
|
5743
|
+
confirmRemoveTitle: 'Confirm delete',
|
|
5744
|
+
confirmRemoveMessage: 'Are you sure you want to delete this record? You can not undo this action.',
|
|
5745
|
+
confirmRemoveAllTitle: 'Confirm batch deletion',
|
|
5746
|
+
confirmRemoveAllMessage: 'Are you sure you want to delete all these records? You can not undo this action.',
|
|
5747
|
+
loadDataErrorNotification: 'Service not found',
|
|
5748
|
+
removeSuccessNotification: 'Item deleted successfully',
|
|
5749
|
+
removeAllSuccessNotification: 'Items deleted successfully'
|
|
5750
|
+
},
|
|
5751
|
+
es: {
|
|
5752
|
+
pageAction: 'Nuevo',
|
|
5753
|
+
pageActionRemoveAll: 'Borrar',
|
|
5754
|
+
tableActionView: 'Visualizar',
|
|
5755
|
+
tableActionEdit: 'Editar',
|
|
5756
|
+
tableActionDuplicate: 'Duplicar',
|
|
5757
|
+
tableActionDelete: 'Borrar',
|
|
5758
|
+
confirmRemoveTitle: 'Confirmar la exclusión',
|
|
5759
|
+
confirmRemoveMessage: '¿Está seguro de que desea eliminar este registro? No puede deshacer esta acción.',
|
|
5760
|
+
confirmRemoveAllTitle: 'Confirmar la exclusión por lotes',
|
|
5761
|
+
confirmRemoveAllMessage: '¿Está seguro de que desea eliminar todos estos registros? No puede deshacer esta acción.',
|
|
5762
|
+
loadDataErrorNotification: 'Servicio no informado.',
|
|
5763
|
+
removeSuccessNotification: 'Elemento eliminado con éxito',
|
|
5764
|
+
removeAllSuccessNotification: 'Elementos eliminados con éxito'
|
|
5765
|
+
},
|
|
5766
|
+
pt: {
|
|
5767
|
+
pageAction: 'Novo',
|
|
5768
|
+
pageActionRemoveAll: 'Excluir',
|
|
5769
|
+
tableActionView: 'Visualizar',
|
|
5770
|
+
tableActionEdit: 'Editar',
|
|
5771
|
+
tableActionDuplicate: 'Duplicar',
|
|
5772
|
+
tableActionDelete: 'Excluir',
|
|
5773
|
+
confirmRemoveTitle: 'Confirmar exclusão',
|
|
5774
|
+
confirmRemoveMessage: 'Tem certeza de que deseja excluir esse registro? Você não poderá desfazer essa ação.',
|
|
5775
|
+
confirmRemoveAllTitle: 'Confirmar exclusão em lote',
|
|
5776
|
+
confirmRemoveAllMessage: 'Tem certeza de que deseja excluir todos esses registros? Você não poderá desfazer essa ação.',
|
|
5777
|
+
loadDataErrorNotification: 'Serviço não informado.',
|
|
5778
|
+
removeSuccessNotification: 'Item excluido com sucesso',
|
|
5779
|
+
removeAllSuccessNotification: 'Items excluidos com sucesso'
|
|
5780
|
+
},
|
|
5781
|
+
ru: {
|
|
5782
|
+
pageAction: 'Новый',
|
|
5783
|
+
pageActionRemoveAll: 'Удалить',
|
|
5784
|
+
tableActionView: 'Просмотр',
|
|
5785
|
+
tableActionEdit: 'Редактировать',
|
|
5786
|
+
tableActionDuplicate: 'Дублировать',
|
|
5787
|
+
tableActionDelete: 'Удалить',
|
|
5788
|
+
confirmRemoveTitle: 'Подтверждение удаления',
|
|
5789
|
+
confirmRemoveMessage: 'Вы уверены, что хотите удалить эту запись? Вы не можете отменить это действие.',
|
|
5790
|
+
confirmRemoveAllTitle: 'Подтвердите удаление пакета',
|
|
5791
|
+
confirmRemoveAllMessage: 'Вы уверены, что хотите удалить все эти записи? Вы не можете отменить это действие.',
|
|
5792
|
+
loadDataErrorNotification: 'Сервис не найден',
|
|
5793
|
+
removeSuccessNotification: 'Элемент успешно удален',
|
|
5794
|
+
removeAllSuccessNotification: 'Элементы успешно удалены'
|
|
5795
|
+
}
|
|
5796
|
+
};
|
|
5797
|
+
|
|
5811
5798
|
class PoPageDynamicTableActionsService {
|
|
5812
5799
|
http;
|
|
5813
5800
|
headers = new HttpHeaders({
|
|
@@ -6923,7 +6910,7 @@ class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent {
|
|
|
6923
6910
|
this.tableActions = newTableActions;
|
|
6924
6911
|
}
|
|
6925
6912
|
static ɵfac = function PoPageDynamicTableComponent_Factory(t) { return new (t || PoPageDynamicTableComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.PoDialogService), i0.ɵɵdirectiveInject(i2.PoNotificationService), i0.ɵɵdirectiveInject(PoPageDynamicService), i0.ɵɵdirectiveInject(PoPageCustomizationService), i0.ɵɵdirectiveInject(PoPageDynamicTableActionsService), i0.ɵɵdirectiveInject(i2.PoLanguageService)); };
|
|
6926
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageDynamicTableComponent, selectors: [["po-page-dynamic-table"]], inputs: { onLoad: ["p-load", "onLoad"], keepFilters: ["p-keep-filters", "keepFilters"], actionRight: ["p-actions-right", "actionRight"], concatFilters: ["p-concat-filters", "concatFilters"], hideRemoveAllDisclaimer: ["p-hide-remove-all-disclaimer", "hideRemoveAllDisclaimer"], infiniteScroll: ["p-infinite-scroll", "infiniteScroll"], actions: ["p-actions", "actions"], pageCustomActions: ["p-page-custom-actions", "pageCustomActions"], tableCustomActions: ["p-table-custom-actions", "tableCustomActions"], quickSearchWidth: ["p-quick-search-width", "quickSearchWidth"], height: ["p-height", "height"], hideCloseDisclaimers: ["p-hide-close-disclaimers", "hideCloseDisclaimers"], quickSearchParam: ["p-quick-search-param", "quickSearchParam"], quickSearchValue: ["p-quick-search-value", "quickSearchValue"], searchLiterals: ["p-literals", "searchLiterals"], draggable: ["p-draggable", "draggable"] }, features: [i0.ɵɵProvidersFeature([PoPageDynamicService]), i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 23, consts: [[3, "p-actions", "p-breadcrumb", "p-hide-close-disclaimers", "p-filters", "p-keep-filters", "p-literals", "p-concat-filters", "p-hide-remove-all-disclaimer", "p-quick-search-width", "p-title", "p-quick-search-value", "p-advanced-search", "p-change-disclaimers", "p-quick-search"], [3, "p-sort", "p-hide-table-search", "p-actions", "p-actions-right", "p-selectable", "p-columns", "p-items", "p-height", "p-hide-batch-actions", "p-infinite-scroll", "p-show-more-disabled", "p-draggable", "p-show-more", "p-sort-by", "p-change-visible-columns", "p-restore-column-manager"]], template: function PoPageDynamicTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6913
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageDynamicTableComponent, selectors: [["po-page-dynamic-table"]], inputs: { onLoad: ["p-load", "onLoad"], keepFilters: ["p-keep-filters", "keepFilters", convertToBoolean], actionRight: ["p-actions-right", "actionRight", convertToBoolean], concatFilters: ["p-concat-filters", "concatFilters", convertToBoolean], hideRemoveAllDisclaimer: ["p-hide-remove-all-disclaimer", "hideRemoveAllDisclaimer", convertToBoolean], infiniteScroll: ["p-infinite-scroll", "infiniteScroll", convertToBoolean], actions: ["p-actions", "actions"], pageCustomActions: ["p-page-custom-actions", "pageCustomActions"], tableCustomActions: ["p-table-custom-actions", "tableCustomActions"], quickSearchWidth: ["p-quick-search-width", "quickSearchWidth"], height: ["p-height", "height"], hideCloseDisclaimers: ["p-hide-close-disclaimers", "hideCloseDisclaimers"], quickSearchParam: ["p-quick-search-param", "quickSearchParam"], quickSearchValue: ["p-quick-search-value", "quickSearchValue"], searchLiterals: ["p-literals", "searchLiterals"], draggable: ["p-draggable", "draggable"] }, features: [i0.ɵɵProvidersFeature([PoPageDynamicService]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 23, consts: [[3, "p-actions", "p-breadcrumb", "p-hide-close-disclaimers", "p-filters", "p-keep-filters", "p-literals", "p-concat-filters", "p-hide-remove-all-disclaimer", "p-quick-search-width", "p-title", "p-quick-search-value", "p-advanced-search", "p-change-disclaimers", "p-quick-search"], [3, "p-sort", "p-hide-table-search", "p-actions", "p-actions-right", "p-selectable", "p-columns", "p-items", "p-height", "p-hide-batch-actions", "p-infinite-scroll", "p-show-more-disabled", "p-draggable", "p-show-more", "p-sort-by", "p-change-visible-columns", "p-restore-column-manager"]], template: function PoPageDynamicTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6927
6914
|
i0.ɵɵelementStart(0, "po-page-dynamic-search", 0);
|
|
6928
6915
|
i0.ɵɵlistener("p-advanced-search", function PoPageDynamicTableComponent_Template_po_page_dynamic_search_p_advanced_search_0_listener($event) { return ctx.onAdvancedSearch($event); })("p-change-disclaimers", function PoPageDynamicTableComponent_Template_po_page_dynamic_search_p_change_disclaimers_0_listener($event) { return ctx.onChangeDisclaimers($event); })("p-quick-search", function PoPageDynamicTableComponent_Template_po_page_dynamic_search_p_quick_search_0_listener($event) { return ctx.onQuickSearch($event); });
|
|
6929
6916
|
i0.ɵɵelementStart(1, "po-table", 1);
|
|
@@ -6935,21 +6922,6 @@ class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent {
|
|
|
6935
6922
|
i0.ɵɵproperty("p-sort", true)("p-hide-table-search", true)("p-actions", ctx.tableActions)("p-actions-right", ctx.actionRight)("p-selectable", ctx.enableSelectionTable)("p-columns", ctx.columns)("p-items", ctx.items)("p-height", ctx.height)("p-hide-batch-actions", true)("p-infinite-scroll", ctx.infiniteScroll)("p-show-more-disabled", !ctx.hasNext)("p-draggable", ctx.draggable);
|
|
6936
6923
|
} }, dependencies: [i2.PoTableComponent, PoPageDynamicSearchComponent], encapsulation: 2 });
|
|
6937
6924
|
}
|
|
6938
|
-
__decorate([
|
|
6939
|
-
InputBoolean()
|
|
6940
|
-
], PoPageDynamicTableComponent.prototype, "keepFilters", void 0);
|
|
6941
|
-
__decorate([
|
|
6942
|
-
InputBoolean()
|
|
6943
|
-
], PoPageDynamicTableComponent.prototype, "actionRight", void 0);
|
|
6944
|
-
__decorate([
|
|
6945
|
-
InputBoolean()
|
|
6946
|
-
], PoPageDynamicTableComponent.prototype, "concatFilters", void 0);
|
|
6947
|
-
__decorate([
|
|
6948
|
-
InputBoolean()
|
|
6949
|
-
], PoPageDynamicTableComponent.prototype, "hideRemoveAllDisclaimer", void 0);
|
|
6950
|
-
__decorate([
|
|
6951
|
-
InputBoolean()
|
|
6952
|
-
], PoPageDynamicTableComponent.prototype, "infiniteScroll", void 0);
|
|
6953
6925
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDynamicTableComponent, [{
|
|
6954
6926
|
type: Component,
|
|
6955
6927
|
args: [{ selector: 'po-page-dynamic-table', providers: [PoPageDynamicService], template: "<po-page-dynamic-search\r\n [p-actions]=\"pageActions\"\r\n [p-breadcrumb]=\"breadcrumb\"\r\n [p-hide-close-disclaimers]=\"hideCloseDisclaimers\"\r\n [p-filters]=\"filters\"\r\n [p-keep-filters]=\"keepFilters\"\r\n [p-literals]=\"searchLiterals\"\r\n [p-concat-filters]=\"concatFilters\"\r\n [p-hide-remove-all-disclaimer]=\"hideRemoveAllDisclaimer\"\r\n [p-quick-search-width]=\"quickSearchWidth\"\r\n [p-title]=\"title\"\r\n (p-advanced-search)=\"onAdvancedSearch($event)\"\r\n (p-change-disclaimers)=\"onChangeDisclaimers($event)\"\r\n (p-quick-search)=\"onQuickSearch($event)\"\r\n [p-quick-search-value]=\"quickSearchValue || ''\"\r\n>\r\n <po-table\r\n [p-sort]=\"true\"\r\n [p-hide-table-search]=\"true\"\r\n [p-actions]=\"tableActions\"\r\n [p-actions-right]=\"actionRight\"\r\n [p-selectable]=\"enableSelectionTable\"\r\n [p-columns]=\"columns\"\r\n [p-items]=\"items\"\r\n [p-height]=\"height\"\r\n [p-hide-batch-actions]=\"true\"\r\n [p-infinite-scroll]=\"infiniteScroll\"\r\n [p-show-more-disabled]=\"!hasNext\"\r\n (p-show-more)=\"showMore()\"\r\n (p-sort-by)=\"onSort($event)\"\r\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\r\n (p-restore-column-manager)=\"onColumnRestoreManager($event)\"\r\n (p-sort-by)=\"onSortBy($event)\"\r\n [p-draggable]=\"draggable\"\r\n >\r\n </po-table>\r\n</po-page-dynamic-search>\r\n" }]
|
|
@@ -6958,19 +6930,19 @@ __decorate([
|
|
|
6958
6930
|
args: ['p-load']
|
|
6959
6931
|
}], keepFilters: [{
|
|
6960
6932
|
type: Input,
|
|
6961
|
-
args: ['p-keep-filters']
|
|
6933
|
+
args: [{ alias: 'p-keep-filters', transform: convertToBoolean }]
|
|
6962
6934
|
}], actionRight: [{
|
|
6963
6935
|
type: Input,
|
|
6964
|
-
args: ['p-actions-right']
|
|
6936
|
+
args: [{ alias: 'p-actions-right', transform: convertToBoolean }]
|
|
6965
6937
|
}], concatFilters: [{
|
|
6966
6938
|
type: Input,
|
|
6967
|
-
args: ['p-concat-filters']
|
|
6939
|
+
args: [{ alias: 'p-concat-filters', transform: convertToBoolean }]
|
|
6968
6940
|
}], hideRemoveAllDisclaimer: [{
|
|
6969
6941
|
type: Input,
|
|
6970
|
-
args: ['p-hide-remove-all-disclaimer']
|
|
6942
|
+
args: [{ alias: 'p-hide-remove-all-disclaimer', transform: convertToBoolean }]
|
|
6971
6943
|
}], infiniteScroll: [{
|
|
6972
6944
|
type: Input,
|
|
6973
|
-
args: ['p-infinite-scroll']
|
|
6945
|
+
args: [{ alias: 'p-infinite-scroll', transform: convertToBoolean }]
|
|
6974
6946
|
}], actions: [{
|
|
6975
6947
|
type: Input,
|
|
6976
6948
|
args: ['p-actions']
|