@po-ui/ng-components 6.0.0 → 6.4.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.
Files changed (75) hide show
  1. package/esm2020/lib/components/po-button/po-button-base.component.mjs +5 -1
  2. package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.mjs +1 -1
  3. package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.mjs +1 -1
  4. package/esm2020/lib/components/po-disclaimer-group/po-disclaimer-group.component.mjs +1 -1
  5. package/esm2020/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.mjs +1 -1
  6. package/esm2020/lib/components/po-field/po-combo/po-combo.component.mjs +7 -7
  7. package/esm2020/lib/components/po-field/po-datepicker/po-datepicker.component.mjs +5 -5
  8. package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.mjs +3 -3
  9. package/esm2020/lib/components/po-field/po-decimal/po-decimal.component.mjs +4 -4
  10. package/esm2020/lib/components/po-field/po-email/po-email.component.mjs +4 -4
  11. package/esm2020/lib/components/po-field/po-input/po-input.component.mjs +4 -4
  12. package/esm2020/lib/components/po-field/po-login/po-login.component.mjs +3 -3
  13. package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.mjs +12 -2
  14. package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.mjs +3 -3
  15. package/esm2020/lib/components/po-field/po-lookup/po-lookup.component.mjs +13 -9
  16. package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.mjs +10 -7
  17. package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.mjs +9 -7
  18. package/esm2020/lib/components/po-field/po-multiselect/po-multiselect.component.mjs +8 -4
  19. package/esm2020/lib/components/po-field/po-number/po-number.component.mjs +4 -4
  20. package/esm2020/lib/components/po-field/po-password/po-password.component.mjs +3 -3
  21. package/esm2020/lib/components/po-field/po-radio-group/po-radio-group.component.mjs +9 -7
  22. package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.mjs +4 -4
  23. package/esm2020/lib/components/po-field/po-rich-text/po-rich-text.component.mjs +4 -4
  24. package/esm2020/lib/components/po-field/po-select/po-select.component.mjs +3 -3
  25. package/esm2020/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.mjs +4 -4
  26. package/esm2020/lib/components/po-field/po-upload/po-upload.component.mjs +12 -7
  27. package/esm2020/lib/components/po-field/po-url/po-url.component.mjs +4 -4
  28. package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +4 -4
  29. package/esm2020/lib/components/po-menu/po-menu-filter/po-menu-filter.component.mjs +3 -3
  30. package/esm2020/lib/components/po-menu/po-menu.component.mjs +3 -3
  31. package/esm2020/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.mjs +3 -3
  32. package/esm2020/lib/components/po-navbar/po-navbar.component.mjs +3 -3
  33. package/esm2020/lib/components/po-page/po-page-default/po-page-default.component.mjs +5 -5
  34. package/esm2020/lib/components/po-page/po-page-detail/po-page-detail.component.mjs +4 -4
  35. package/esm2020/lib/components/po-page/po-page-edit/po-page-edit.component.mjs +4 -4
  36. package/esm2020/lib/components/po-page/po-page-list/po-page-list.component.mjs +6 -6
  37. package/esm2020/lib/components/po-popup/po-popup-action.interface.mjs +1 -1
  38. package/esm2020/lib/components/po-popup/po-popup.component.mjs +4 -3
  39. package/esm2020/lib/components/po-slide/po-slide.component.mjs +1 -1
  40. package/esm2020/lib/components/po-stepper/po-stepper.component.mjs +1 -1
  41. package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +3 -3
  42. package/esm2020/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.mjs +1 -1
  43. package/esm2020/lib/components/po-table/po-table.component.mjs +15 -15
  44. package/fesm2015/po-ui-ng-components.mjs +170 -135
  45. package/fesm2015/po-ui-ng-components.mjs.map +1 -1
  46. package/fesm2020/po-ui-ng-components.mjs +162 -127
  47. package/fesm2020/po-ui-ng-components.mjs.map +1 -1
  48. package/lib/components/po-button/po-button-base.component.d.ts +4 -0
  49. package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -2
  50. package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +3 -1
  51. package/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.d.ts +3 -1
  52. package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +3 -2
  53. package/lib/components/po-field/po-upload/po-upload.component.d.ts +3 -2
  54. package/lib/components/po-popup/po-popup-action.interface.d.ts +8 -1
  55. package/package.json +8 -5
  56. package/po-ui-ng-components-6.4.0.tgz +0 -0
  57. package/schematics/ng-add/index.js +1 -1
  58. package/schematics/ng-add/index.spec.js +1 -1
  59. package/schematics/ng-add/index.spec.js.map +1 -1
  60. package/schematics/ng-generate/po-page-default/index.spec.js +1 -1
  61. package/schematics/ng-generate/po-page-default/index.spec.js.map +1 -1
  62. package/schematics/ng-generate/po-page-detail/index.spec.js +1 -1
  63. package/schematics/ng-generate/po-page-detail/index.spec.js.map +1 -1
  64. package/schematics/ng-generate/po-page-edit/index.spec.js +1 -1
  65. package/schematics/ng-generate/po-page-edit/index.spec.js.map +1 -1
  66. package/schematics/ng-generate/po-page-list/index.spec.js +1 -1
  67. package/schematics/ng-generate/po-page-list/index.spec.js.map +1 -1
  68. package/schematics/ng-generate/sidemenu/index.spec.js +1 -1
  69. package/schematics/ng-generate/sidemenu/index.spec.js.map +1 -1
  70. package/schematics/ng-update/v2/index.js +1 -1
  71. package/schematics/ng-update/v3/index.js +1 -1
  72. package/schematics/ng-update/v4/index.js +1 -1
  73. package/schematics/ng-update/v5/index.js +1 -1
  74. package/schematics/ng-update/v6/index.js +1 -1
  75. package/po-ui-ng-components-6.0.0.tgz +0 -0
@@ -2501,10 +2501,14 @@ const PO_BUTTON_TYPE_DEFAULT = 'default';
2501
2501
  class PoButtonBaseComponent {
2502
2502
  constructor() {
2503
2503
  /**
2504
+ * @deprecated 14.x.x
2505
+ *
2504
2506
  * @optional
2505
2507
  *
2506
2508
  * @description
2507
2509
  *
2510
+ * **Deprecated 14.x.x**.
2511
+ *
2508
2512
  * Aplica foco no elemento ao ser iniciado.
2509
2513
  * > Caso mais de um elemento seja configurado com essa propriedade,
2510
2514
  * o último elemento declarado com ela terá o foco.
@@ -7645,7 +7649,7 @@ PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChart
7645
7649
  i0.ɵɵadvance(1);
7646
7650
  i0.ɵɵproperty("ngIf", ctx.canDisplayLabels);
7647
7651
  }
7648
- }, directives: [i1.NgForOf, i1.NgIf, PoChartCircularPathComponent, PoChartCircularLabelComponent], encapsulation: 2 });
7652
+ }, directives: [i1.NgForOf, PoChartCircularPathComponent, i1.NgIf, PoChartCircularLabelComponent], encapsulation: 2 });
7649
7653
  (function () {
7650
7654
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoChartPieComponent, [{
7651
7655
  type: Component,
@@ -7815,7 +7819,7 @@ PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCha
7815
7819
  i0.ɵɵadvance(1);
7816
7820
  i0.ɵɵproperty("ngIf", ctx.canDisplayLabels);
7817
7821
  }
7818
- }, directives: [i1.NgForOf, i1.NgIf, PoChartCircularPathComponent, PoChartCircularLabelComponent], encapsulation: 2 });
7822
+ }, directives: [i1.NgForOf, PoChartCircularPathComponent, i1.NgIf, PoChartCircularLabelComponent], encapsulation: 2 });
7819
7823
  (function () {
7820
7824
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoChartDonutComponent, [{
7821
7825
  type: Component,
@@ -9111,7 +9115,7 @@ PoDisclaimerGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
9111
9115
  if (rf & 2) {
9112
9116
  i0.ɵɵproperty("ngIf", ctx.disclaimers.length > 0);
9113
9117
  }
9114
- }, directives: [i1.NgIf, i1.NgForOf, PoDisclaimerRemoveComponent, PoDisclaimerComponent], encapsulation: 2 });
9118
+ }, directives: [i1.NgIf, PoDisclaimerRemoveComponent, i1.NgForOf, PoDisclaimerComponent], encapsulation: 2 });
9115
9119
  (function () {
9116
9120
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDisclaimerGroupComponent, [{
9117
9121
  type: Component,
@@ -9480,8 +9484,9 @@ function PoPopupComponent_div_0_ng_container_5_Template(rf, ctx) {
9480
9484
  }
9481
9485
  if (rf & 2) {
9482
9486
  const action_r4 = ctx.$implicit;
9487
+ const ctx_r3 = i0.ɵɵnextContext(2);
9483
9488
  i0.ɵɵadvance(1);
9484
- i0.ɵɵproperty("ngIf", action_r4.visible !== false);
9489
+ i0.ɵɵproperty("ngIf", ctx_r3.returnBooleanValue(action_r4, "visible") !== false);
9485
9490
  }
9486
9491
  }
9487
9492
  function PoPopupComponent_div_0_Template(rf, ctx) {
@@ -9671,7 +9676,7 @@ PoPopupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopupCom
9671
9676
  (function () {
9672
9677
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPopupComponent, [{
9673
9678
  type: Component,
9674
- args: [{ selector: 'po-popup', providers: [PoControlPositionService], template: "<div #popupRef class=\"po-popup\" *ngIf=\"showPopup\">\n <div *ngIf=\"!hideArrow\" class=\"po-popup-arrow po-arrow-{{ arrowDirection }}\"></div>\n\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <div class=\"po-popup-container\">\n <ng-container *ngFor=\"let action of actions; let actionIndex = index\">\n <div\n *ngIf=\"action.visible !== false\"\n [class.po-popup-item-default]=\"action.type !== 'danger'\"\n [class.po-popup-item-danger]=\"action.type === 'danger'\"\n [class.po-popup-item-disabled]=\"returnBooleanValue(action, 'disabled')\"\n [class.po-popup-item-separator]=\"action.separator && actionIndex !== 0\"\n [class.po-popup-item-selected]=\"action.selected\"\n (click)=\"onActionClick(action)\"\n >\n <po-icon *ngIf=\"action.icon\" class=\"po-popup-icon-item po-icon\" [p-icon]=\"action.icon\"></po-icon>\n {{ action.label }}\n </div>\n </ng-container>\n </div>\n</div>\n" }]
9679
+ args: [{ selector: 'po-popup', providers: [PoControlPositionService], template: "<div #popupRef class=\"po-popup\" *ngIf=\"showPopup\">\n <div *ngIf=\"!hideArrow\" class=\"po-popup-arrow po-arrow-{{ arrowDirection }}\"></div>\n\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <div class=\"po-popup-container\">\n <ng-container *ngFor=\"let action of actions; let actionIndex = index\">\n <div\n *ngIf=\"returnBooleanValue(action, 'visible') !== false\"\n [class.po-popup-item-default]=\"action.type !== 'danger'\"\n [class.po-popup-item-danger]=\"action.type === 'danger'\"\n [class.po-popup-item-disabled]=\"returnBooleanValue(action, 'disabled')\"\n [class.po-popup-item-separator]=\"action.separator && actionIndex !== 0\"\n [class.po-popup-item-selected]=\"action.selected\"\n (click)=\"onActionClick(action)\"\n >\n <po-icon *ngIf=\"action.icon\" class=\"po-popup-icon-item po-icon\" [p-icon]=\"action.icon\"></po-icon>\n {{ action.label }}\n </div>\n </ng-container>\n </div>\n</div>\n" }]
9675
9680
  }], function () { return [{ type: i0.ViewContainerRef }, { type: i0.Renderer2 }, { type: i2.Router }, { type: PoControlPositionService }, { type: i0.ChangeDetectorRef }]; }, { popupRef: [{
9676
9681
  type: ViewChild,
9677
9682
  args: ['popupRef', { read: ElementRef }]
@@ -12053,7 +12058,7 @@ PoDatepickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDat
12053
12058
  i0.ɵɵadvance(2);
12054
12059
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
12055
12060
  }
12056
- }, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf, PoCalendarComponent, i3.NgControlStatus, i3.NgModel, PoFieldContainerBottomComponent, PoCleanComponent], encapsulation: 2, changeDetection: 0 });
12061
+ }, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf, PoCleanComponent, PoCalendarComponent, i3.NgControlStatus, i3.NgModel, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
12057
12062
  (function () {
12058
12063
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDatepickerComponent, [{
12059
12064
  type: Component,
@@ -14634,9 +14639,9 @@ class PoTableColumnManagerComponent {
14634
14639
  }
14635
14640
  }
14636
14641
  stringify(columns) {
14637
- // não faz o stringify da propriedade icon, pois pode conter objeto complexo e disparar um erro.
14642
+ // não faz o stringify da propriedade icon e searchService, pois pode conter objeto complexo e disparar um erro.
14638
14643
  return JSON.stringify(columns, (key, value) => {
14639
- if (key !== 'icon') {
14644
+ if (key !== 'icon' && key !== 'searchService') {
14640
14645
  return value;
14641
14646
  }
14642
14647
  });
@@ -16186,7 +16191,7 @@ PoTableSubtitleFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
16186
16191
  i0.ɵɵadvance(1);
16187
16192
  i0.ɵɵproperty("ngIf", ctx.showSubtitle);
16188
16193
  }
16189
- }, directives: [i1.NgForOf, i1.NgIf, PoTableSubtitleCircleComponent, PoTableShowSubtitleComponent], encapsulation: 2 });
16194
+ }, directives: [i1.NgForOf, PoTableSubtitleCircleComponent, i1.NgIf, PoTableShowSubtitleComponent], encapsulation: 2 });
16190
16195
  (function () {
16191
16196
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableSubtitleFooterComponent, [{
16192
16197
  type: Component,
@@ -17236,11 +17241,11 @@ function PoTableComponent_ng_template_4_ng_container_12_tbody_1_Template(rf, ctx
17236
17241
  i0.ɵɵelementStart(1, "tr", 61);
17237
17242
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_2_Template, 2, 4, "td", 64);
17238
17243
  i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_3_Template, 2, 5, "td", 65);
17239
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_ng_container_12_tbody_1_4_Template, 1, 5, undefined, 21);
17244
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_ng_container_12_tbody_1_4_Template, 1, 5, null, 21);
17240
17245
  i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_5_Template, 2, 5, "td", 65);
17241
17246
  i0.ɵɵtemplate(6, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_6_Template, 15, 31, "td", 66);
17242
17247
  i0.ɵɵtemplate(7, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_7_Template, 2, 5, "td", 65);
17243
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_ng_container_12_tbody_1_8_Template, 1, 5, undefined, 21);
17248
+ i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_ng_container_12_tbody_1_8_Template, 1, 5, null, 21);
17244
17249
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_4_ng_container_12_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 21);
17245
17250
  i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_10_Template, 1, 0, "td", 67);
17246
17251
  i0.ɵɵelementEnd();
@@ -18083,7 +18088,7 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
18083
18088
  i0.ɵɵadvance(16);
18084
18089
  i0.ɵɵproperty("ngIf", !ctx.hideColumnsManager);
18085
18090
  }
18086
- }, directives: [i1.NgIf, PoPopupComponent, PoContainerComponent, i1.NgTemplateOutlet, PoLoadingComponent, i1.NgForOf, PoTableSubtitleFooterComponent, PoButtonComponent, PoTooltipDirective, i1.NgClass, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PoTableColumnLinkComponent, PoTableColumnIconComponent, PoTableSubtitleCircleComponent, PoTableColumnLabelComponent, PoTableDetailComponent, PoIconComponent, PoTableColumnManagerComponent], pipes: [i1.CurrencyPipe, i1.DatePipe, PoTimePipe, i1.TitleCasePipe], encapsulation: 2 });
18091
+ }, directives: [i1.NgIf, PoContainerComponent, i1.NgTemplateOutlet, PoLoadingComponent, i1.NgForOf, PoTableSubtitleFooterComponent, PoButtonComponent, PoTooltipDirective, i1.NgClass, i1.NgSwitch, i1.NgSwitchCase, PoTableColumnLinkComponent, PoTableColumnIconComponent, PoTableSubtitleCircleComponent, PoTableColumnLabelComponent, i1.NgSwitchDefault, PoTableDetailComponent, PoPopupComponent, PoIconComponent, PoTableColumnManagerComponent], pipes: [i1.CurrencyPipe, i1.DatePipe, PoTimePipe, i1.TitleCasePipe], encapsulation: 2 });
18087
18092
  (function () {
18088
18093
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
18089
18094
  type: Component,
@@ -20198,11 +20203,11 @@ PoComboComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoComboCom
20198
20203
  i0.ɵɵadvance(2);
20199
20204
  i0.ɵɵproperty("ngIf", ctx.isServerSearching)("ngIfThen", _r6)("ngIfElse", _r8);
20200
20205
  }
20201
- }, directives: [PoFieldContainerComponent, i1.NgIf, i1.NgClass, PoFieldContainerBottomComponent, PoIconComponent, PoCleanComponent, PoLoadingComponent, i1.NgForOf, i1.NgTemplateOutlet], encapsulation: 2 });
20206
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, i1.NgClass, PoCleanComponent, PoFieldContainerBottomComponent, PoLoadingComponent, i1.NgForOf, i1.NgTemplateOutlet], encapsulation: 2, changeDetection: 0 });
20202
20207
  (function () {
20203
20208
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoComboComponent, [{
20204
20209
  type: Component,
20205
- args: [{ selector: 'po-combo', providers: [
20210
+ args: [{ selector: 'po-combo', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
20206
20211
  PoComboFilterService,
20207
20212
  PoControlPositionService,
20208
20213
  {
@@ -21260,7 +21265,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
21260
21265
  i0.ɵɵadvance(1);
21261
21266
  i0.ɵɵproperty("ngIf", ctx.isCalendarVisible);
21262
21267
  }
21263
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoCleanComponent, PoCalendarComponent, i3.NgControlStatus, i3.NgModel], encapsulation: 2, changeDetection: 0 });
21268
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoCleanComponent, PoFieldContainerBottomComponent, PoCalendarComponent, i3.NgControlStatus, i3.NgModel], encapsulation: 2, changeDetection: 0 });
21264
21269
  (function () {
21265
21270
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDatepickerRangeComponent, [{
21266
21271
  type: Component,
@@ -22310,7 +22315,7 @@ PoDecimalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDecima
22310
22315
  i0.ɵɵadvance(1);
22311
22316
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPatternMessage());
22312
22317
  }
22313
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoIconComponent, PoCleanComponent], encapsulation: 2, changeDetection: 0 });
22318
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
22314
22319
  (function () {
22315
22320
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDecimalComponent, [{
22316
22321
  type: Component,
@@ -22693,7 +22698,7 @@ PoEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoEmailCom
22693
22698
  i0.ɵɵadvance(1);
22694
22699
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
22695
22700
  }
22696
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoIconComponent, PoCleanComponent], encapsulation: 2, changeDetection: 0 });
22701
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
22697
22702
  (function () {
22698
22703
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoEmailComponent, [{
22699
22704
  type: Component,
@@ -22793,7 +22798,7 @@ PoLoginComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoginCom
22793
22798
  i0.ɵɵadvance(1);
22794
22799
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
22795
22800
  }
22796
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoCleanComponent], encapsulation: 2, changeDetection: 0 });
22801
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
22797
22802
  (function () {
22798
22803
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoginComponent, [{
22799
22804
  type: Component,
@@ -23440,7 +23445,17 @@ class PoLookupModalBaseComponent {
23440
23445
  // eslint-disable-next-line @typescript-eslint/member-ordering
23441
23446
  this.primaryAction = {
23442
23447
  action: () => {
23443
- const selectedsItems = this.selecteds;
23448
+ let selectedsItems = [];
23449
+ if (!this.multiple) {
23450
+ this.items.forEach(element => {
23451
+ if (element['$selected']) {
23452
+ selectedsItems.push(element);
23453
+ }
23454
+ });
23455
+ }
23456
+ else {
23457
+ selectedsItems = this.selecteds;
23458
+ }
23444
23459
  this.model.emit(selectedsItems);
23445
23460
  this.poModal.close();
23446
23461
  },
@@ -24352,7 +24367,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
24352
24367
  i0.ɵɵadvance(1);
24353
24368
  i0.ɵɵproperty("hidden", !ctx.isAdvancedFilter);
24354
24369
  }
24355
- }, directives: [PoModalComponent, PoFieldContainerComponent, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, i1.NgIf, PoTableComponent, PoDisclaimerGroupComponent], encapsulation: 2 });
24370
+ }, directives: [PoModalComponent, PoFieldContainerComponent, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, i1.NgIf, PoDisclaimerGroupComponent, PoTableComponent], encapsulation: 2 });
24356
24371
  (function () {
24357
24372
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupModalComponent, [{
24358
24373
  type: Component,
@@ -24602,10 +24617,11 @@ const providers$2 = [
24602
24617
  * </example>
24603
24618
  */
24604
24619
  class PoLookupComponent extends PoLookupBaseComponent {
24605
- constructor(renderer, poLookupFilterService, poLookupModalService, injector) {
24620
+ constructor(renderer, poLookupFilterService, poLookupModalService, cd, injector) {
24606
24621
  super(poLookupFilterService, injector);
24607
24622
  this.renderer = renderer;
24608
24623
  this.poLookupModalService = poLookupModalService;
24624
+ this.cd = cd;
24609
24625
  this.initialized = false;
24610
24626
  this.visibleElement = false;
24611
24627
  this.disclaimers = [];
@@ -24631,6 +24647,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
24631
24647
  this.debounceResize();
24632
24648
  this.visibleElement = true;
24633
24649
  }
24650
+ this.cd.markForCheck();
24634
24651
  }
24635
24652
  ngOnDestroy() {
24636
24653
  if (this.modalSubscription) {
@@ -24706,6 +24723,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
24706
24723
  setDisclaimers(selectedOptions) {
24707
24724
  this.disclaimers = selectedOptions.map(selectedOption => (Object.assign({ value: selectedOption[this.fieldValue], label: selectedOption[this.fieldLabel] }, selectedOption)));
24708
24725
  this.visibleDisclaimers = [...this.disclaimers];
24726
+ this.cd.markForCheck();
24709
24727
  }
24710
24728
  setViewValue(value, object) {
24711
24729
  if (this.inputEl && this.fieldFormat) {
@@ -24714,6 +24732,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
24714
24732
  else if (this.inputEl) {
24715
24733
  this.inputEl.nativeElement.value = this.valueToModel || this.valueToModel === 0 ? value : '';
24716
24734
  }
24735
+ this.cd.markForCheck();
24717
24736
  }
24718
24737
  getViewValue() {
24719
24738
  return this.inputEl.nativeElement.value;
@@ -24837,7 +24856,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
24837
24856
  });
24838
24857
  }
24839
24858
  }
24840
- PoLookupComponent.ɵfac = function PoLookupComponent_Factory(t) { return new (t || PoLookupComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoLookupFilterService), i0.ɵɵdirectiveInject(PoLookupModalService), i0.ɵɵdirectiveInject(i0.Injector)); };
24859
+ PoLookupComponent.ɵfac = function PoLookupComponent_Factory(t) { return new (t || PoLookupComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoLookupFilterService), i0.ɵɵdirectiveInject(PoLookupModalService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Injector)); };
24841
24860
  PoLookupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupComponent, selectors: [["po-lookup"]], viewQuery: function PoLookupComponent_Query(rf, ctx) {
24842
24861
  if (rf & 1) {
24843
24862
  i0.ɵɵviewQuery(_c0$O, 5, ElementRef);
@@ -24860,12 +24879,12 @@ PoLookupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupC
24860
24879
  i0.ɵɵadvance(1);
24861
24880
  i0.ɵɵproperty("ngIf", !ctx.disclaimers.length)("ngIfElse", _r1);
24862
24881
  }
24863
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, i1.NgClass, PoCleanComponent, i1.NgForOf, PoDisclaimerComponent], encapsulation: 2 });
24882
+ }, directives: [PoFieldContainerComponent, i1.NgIf, i1.NgClass, PoCleanComponent, PoFieldContainerBottomComponent, i1.NgForOf, PoDisclaimerComponent], encapsulation: 2, changeDetection: 0 });
24864
24883
  (function () {
24865
24884
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupComponent, [{
24866
24885
  type: Component,
24867
- args: [{ selector: 'po-lookup', providers: providers$2, template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\" *ngIf=\"!disclaimers.length; else disclaimersTemplate\">\n <input\n #inp\n class=\"po-input\"\n type=\"text\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n (blur)=\"searchEvent()\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean *ngIf=\"clean && !disabled\" [p-element-ref]=\"inputEl\" (p-change-event)=\"cleanModel()\"> </po-clean>\n\n <span\n #iconLookup\n class=\"po-icon po-field-icon po-icon-search\"\n tabindex=\"-1\"\n [class.po-field-icon]=\"!disabled\"\n [class.po-field-icon-disabled]=\"disabled\"\n (click)=\"openLookup()\"\n (focus)=\"inp.focus()\"\n >\n </span>\n </div>\n </div>\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #disclaimersTemplate>\n <div class=\"po-field-container-content\">\n <div\n #inp\n [tabindex]=\"disabled ? -1 : 0\"\n class=\"po-input po-input-icon-right po-lookup-input\"\n [class.po-lookup-input-auto]=\"autoHeight\"\n [class.po-lookup-input-static]=\"!autoHeight\"\n [class.po-lookup-input-disabled]=\"disabled\"\n >\n <span *ngIf=\"placeholder && !disclaimers?.length\" class=\"po-lookup-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-lookup-input-disclaimer\"\n [p-label]=\"disclaimer.label\"\n [p-value]=\"disclaimer.value\"\n [p-hide-close]=\"disclaimer.value === '' || disabled\"\n [class.po-clickable]=\"disclaimer.value === '' && !disabled\"\n (p-close-action)=\"closeDisclaimer(disclaimer.value)\"\n >\n </po-disclaimer>\n </div>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconLookup\n class=\"po-icon po-field-icon po-icon-search\"\n tabindex=\"-1\"\n [class.po-field-icon]=\"!disabled\"\n [class.po-field-icon-disabled]=\"disabled\"\n (click)=\"openLookup()\"\n (focus)=\"inp.focus()\"\n >\n </span>\n </div>\n </div>\n</ng-template>\n" }]
24868
- }], function () { return [{ type: i0.Renderer2 }, { type: PoLookupFilterService }, { type: PoLookupModalService }, { type: i0.Injector }]; }, { inputEl: [{
24886
+ args: [{ selector: 'po-lookup', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$2, template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\" *ngIf=\"!disclaimers.length; else disclaimersTemplate\">\n <input\n #inp\n class=\"po-input\"\n type=\"text\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n (blur)=\"searchEvent()\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean *ngIf=\"clean && !disabled\" [p-element-ref]=\"inputEl\" (p-change-event)=\"cleanModel()\"> </po-clean>\n\n <span\n #iconLookup\n class=\"po-icon po-field-icon po-icon-search\"\n tabindex=\"-1\"\n [class.po-field-icon]=\"!disabled\"\n [class.po-field-icon-disabled]=\"disabled\"\n (click)=\"openLookup()\"\n (focus)=\"inp.focus()\"\n >\n </span>\n </div>\n </div>\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #disclaimersTemplate>\n <div class=\"po-field-container-content\">\n <div\n #inp\n [tabindex]=\"disabled ? -1 : 0\"\n class=\"po-input po-input-icon-right po-lookup-input\"\n [class.po-lookup-input-auto]=\"autoHeight\"\n [class.po-lookup-input-static]=\"!autoHeight\"\n [class.po-lookup-input-disabled]=\"disabled\"\n >\n <span *ngIf=\"placeholder && !disclaimers?.length\" class=\"po-lookup-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-lookup-input-disclaimer\"\n [p-label]=\"disclaimer.label\"\n [p-value]=\"disclaimer.value\"\n [p-hide-close]=\"disclaimer.value === '' || disabled\"\n [class.po-clickable]=\"disclaimer.value === '' && !disabled\"\n (p-close-action)=\"closeDisclaimer(disclaimer.value)\"\n >\n </po-disclaimer>\n </div>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconLookup\n class=\"po-icon po-field-icon po-icon-search\"\n tabindex=\"-1\"\n [class.po-field-icon]=\"!disabled\"\n [class.po-field-icon-disabled]=\"disabled\"\n (click)=\"openLookup()\"\n (focus)=\"inp.focus()\"\n >\n </span>\n </div>\n </div>\n</ng-template>\n" }]
24887
+ }], function () { return [{ type: i0.Renderer2 }, { type: PoLookupFilterService }, { type: PoLookupModalService }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }]; }, { inputEl: [{
24869
24888
  type: ViewChild,
24870
24889
  args: ['inp', { read: ElementRef, static: false }]
24871
24890
  }] });
@@ -24955,7 +24974,8 @@ function PoMultiselectDropdownComponent_ng_container_7_Template(rf, ctx) {
24955
24974
  * Componente que construíra o dropdown, contendo o campo de pesquisa e os itens para seleção.
24956
24975
  */
24957
24976
  class PoMultiselectDropdownComponent {
24958
- constructor() {
24977
+ constructor(cd) {
24978
+ this.cd = cd;
24959
24979
  /** Propriedade que indica se deve exibir o loading. */
24960
24980
  this.isServerSearching = false;
24961
24981
  /** Propriedade que indica se o campo de pesquisa deverá ser escondido. */
@@ -24992,6 +25012,7 @@ class PoMultiselectDropdownComponent {
24992
25012
  }
24993
25013
  scrollTo(index) {
24994
25014
  this.scrollTop = index <= 2 ? 0 : index * 44 - 88;
25015
+ this.cd.markForCheck();
24995
25016
  }
24996
25017
  isSelectedItem(option) {
24997
25018
  return this.selectedOptions.some(selectedItem => selectedItem.value === option.value);
@@ -25050,6 +25071,7 @@ class PoMultiselectDropdownComponent {
25050
25071
  this.searchElement.clean();
25051
25072
  }
25052
25073
  });
25074
+ this.cd.markForCheck();
25053
25075
  }
25054
25076
  uniqueSelectedOptions(selectedValues) {
25055
25077
  const newSelectedOptions = [...this.selectedOptions];
@@ -25061,7 +25083,7 @@ class PoMultiselectDropdownComponent {
25061
25083
  return newSelectedOptions;
25062
25084
  }
25063
25085
  }
25064
- PoMultiselectDropdownComponent.ɵfac = function PoMultiselectDropdownComponent_Factory(t) { return new (t || PoMultiselectDropdownComponent)(); };
25086
+ PoMultiselectDropdownComponent.ɵfac = function PoMultiselectDropdownComponent_Factory(t) { return new (t || PoMultiselectDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
25065
25087
  PoMultiselectDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectDropdownComponent, selectors: [["po-multiselect-dropdown"]], viewQuery: function PoMultiselectDropdownComponent_Query(rf, ctx) {
25066
25088
  if (rf & 1) {
25067
25089
  i0.ɵɵviewQuery(_c0$N, 7, ElementRef);
@@ -25102,12 +25124,12 @@ PoMultiselectDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
25102
25124
  i0.ɵɵadvance(1);
25103
25125
  i0.ɵɵproperty("ngIf", !ctx.isServerSearching);
25104
25126
  }
25105
- }, encapsulation: 2 });
25127
+ }, encapsulation: 2, changeDetection: 0 });
25106
25128
  (function () {
25107
25129
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectDropdownComponent, [{
25108
25130
  type: Component,
25109
- args: [{ selector: 'po-multiselect-dropdown', template: "<div #container class=\"po-multiselect-container\" [hidden]=\"!show\">\n <po-multiselect-search\n #searchElement\n *ngIf=\"!hideSearch\"\n [p-literals]=\"literals\"\n [p-placeholder]=\"placeholderSearch\"\n (p-change)=\"callChangeSearch($event)\"\n >\n </po-multiselect-search>\n\n <ul class=\"po-multiselect-items-container\" [scrollTop]=\"scrollTop\" #ulElement>\n <div *ngIf=\"!visibleOptions.length && !isServerSearching\" class=\"po-multiselect-container-no-data po-text-center\">\n <span> {{ literals.noData }}</span>\n </div>\n\n <div *ngIf=\"isServerSearching\" class=\"po-multiselect-container-loading po-text-center\">\n <po-loading></po-loading>\n </div>\n\n <ng-container *ngIf=\"!isServerSearching\">\n <po-multiselect-item\n *ngIf=\"!searchElement?.inputValue && visibleOptions.length && !hideSelectAll\"\n [p-label]=\"literals?.selectAll\"\n [p-selected]=\"getStateSelectAll()\"\n (p-change)=\"onClickSelectAll()\"\n >\n </po-multiselect-item>\n\n <po-multiselect-item\n *ngFor=\"let option of visibleOptions\"\n [p-label]=\"option.label\"\n [p-selected]=\"isSelectedItem(option)\"\n (p-change)=\"clickItem($event, option)\"\n >\n </po-multiselect-item>\n </ng-container>\n </ul>\n</div>\n" }]
25110
- }], null, { isServerSearching: [{
25131
+ args: [{ selector: 'po-multiselect-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #container class=\"po-multiselect-container\" [hidden]=\"!show\">\n <po-multiselect-search\n #searchElement\n *ngIf=\"!hideSearch\"\n [p-literals]=\"literals\"\n [p-placeholder]=\"placeholderSearch\"\n (p-change)=\"callChangeSearch($event)\"\n >\n </po-multiselect-search>\n\n <ul class=\"po-multiselect-items-container\" [scrollTop]=\"scrollTop\" #ulElement>\n <div *ngIf=\"!visibleOptions.length && !isServerSearching\" class=\"po-multiselect-container-no-data po-text-center\">\n <span> {{ literals.noData }}</span>\n </div>\n\n <div *ngIf=\"isServerSearching\" class=\"po-multiselect-container-loading po-text-center\">\n <po-loading></po-loading>\n </div>\n\n <ng-container *ngIf=\"!isServerSearching\">\n <po-multiselect-item\n *ngIf=\"!searchElement?.inputValue && visibleOptions.length && !hideSelectAll\"\n [p-label]=\"literals?.selectAll\"\n [p-selected]=\"getStateSelectAll()\"\n (p-change)=\"onClickSelectAll()\"\n >\n </po-multiselect-item>\n\n <po-multiselect-item\n *ngFor=\"let option of visibleOptions\"\n [p-label]=\"option.label\"\n [p-selected]=\"isSelectedItem(option)\"\n (p-change)=\"clickItem($event, option)\"\n >\n </po-multiselect-item>\n </ng-container>\n </ul>\n</div>\n" }]
25132
+ }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { isServerSearching: [{
25111
25133
  type: Input,
25112
25134
  args: ['p-searching']
25113
25135
  }], hideSearch: [{
@@ -26014,6 +26036,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
26014
26036
  }
26015
26037
  }
26016
26038
  }
26039
+ this.changeDetector.markForCheck();
26017
26040
  }
26018
26041
  changeItems(changedItems) {
26019
26042
  this.updateSelectedOptions(changedItems);
@@ -26040,6 +26063,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
26040
26063
  this.calculateVisibleItems();
26041
26064
  }, 200);
26042
26065
  }
26066
+ this.changeDetector.markForCheck();
26043
26067
  }
26044
26068
  onBlur() {
26045
26069
  var _a;
@@ -26080,6 +26104,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
26080
26104
  }
26081
26105
  setVisibleOptionsDropdown(options) {
26082
26106
  this.visibleOptionsDropdown = options;
26107
+ this.changeDetector.markForCheck();
26083
26108
  }
26084
26109
  changeSearch(event) {
26085
26110
  if (event && event.value !== undefined) {
@@ -26177,6 +26202,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
26177
26202
  this.resizeListener();
26178
26203
  }
26179
26204
  window.removeEventListener('scroll', this.onScroll, true);
26205
+ this.changeDetector.markForCheck();
26180
26206
  }
26181
26207
  setPositionDropdown() {
26182
26208
  this.controlPosition.setElements(this.dropdown.container.nativeElement, poMultiselectContainerOffset, this.inputElement, ['top', 'bottom'], true);
@@ -26234,11 +26260,11 @@ PoMultiselectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMu
26234
26260
  i0.ɵɵadvance(2);
26235
26261
  i0.ɵɵproperty("p-searching", ctx.isServerSearching)("p-hide-search", ctx.hideSearch)("p-hide-select-all", ctx.hideSelectAll)("p-literals", ctx.literals)("p-options", ctx.options)("p-visible-options", ctx.visibleOptionsDropdown)("p-selected-options", ctx.selectedOptions)("p-placeholder-search", ctx.placeholderSearch);
26236
26262
  }
26237
- }, encapsulation: 2 });
26263
+ }, encapsulation: 2, changeDetection: 0 });
26238
26264
  (function () {
26239
26265
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectComponent, [{
26240
26266
  type: Component,
26241
- args: [{ selector: 'po-multiselect', providers: providers$1, template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\" [class.po-multiselect-show]=\"dropdownOpen\">\n <div\n #inputElement\n [tabindex]=\"disabled ? -1 : 0\"\n class=\"po-input po-input-icon-right po-multiselect-input po-clickable\"\n [class.po-multiselect-input-auto]=\"autoHeight\"\n [class.po-multiselect-input-static]=\"!autoHeight\"\n [class.po-multiselect-input-disabled]=\"disabled\"\n (keyup.enter)=\"toggleDropdownVisibility()\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"toggleDropdownVisibility()\"\n (blur)=\"onBlur()\"\n >\n <span *ngIf=\"placeholder && !visibleDisclaimers?.length\" class=\"po-multiselect-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-multiselect-input-disclaimer\"\n [p-label]=\"disclaimer.label\"\n [p-value]=\"disclaimer.value\"\n [p-hide-close]=\"disclaimer.value === '' || disabled\"\n [class.po-clickable]=\"disclaimer.value === '' && !disabled\"\n (click)=\"openDropdown(disclaimer.value === '')\"\n (p-close-action)=\"closeDisclaimer(disclaimer.value)\"\n >\n </po-disclaimer>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconElement\n class=\"po-icon po-field-icon {{ dropdownIcon }}\"\n [ngClass]=\"disabled ? 'po-field-icon-disabled' : ''\"\n >\n </span>\n </div>\n </div>\n </div>\n\n <po-multiselect-dropdown\n #dropdownElement\n [p-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-literals]=\"literals\"\n [p-options]=\"options\"\n [p-visible-options]=\"visibleOptionsDropdown\"\n [p-selected-options]=\"selectedOptions\"\n [p-placeholder-search]=\"placeholderSearch\"\n (p-change)=\"changeItems($event)\"\n (p-change-search)=\"changeSearch($event)\"\n (p-close-dropdown)=\"controlDropdownVisibility(false)\"\n >\n </po-multiselect-dropdown>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
26267
+ args: [{ selector: 'po-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$1, template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\" [class.po-multiselect-show]=\"dropdownOpen\">\n <div\n #inputElement\n [tabindex]=\"disabled ? -1 : 0\"\n class=\"po-input po-input-icon-right po-multiselect-input po-clickable\"\n [class.po-multiselect-input-auto]=\"autoHeight\"\n [class.po-multiselect-input-static]=\"!autoHeight\"\n [class.po-multiselect-input-disabled]=\"disabled\"\n (keyup.enter)=\"toggleDropdownVisibility()\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"toggleDropdownVisibility()\"\n (blur)=\"onBlur()\"\n >\n <span *ngIf=\"placeholder && !visibleDisclaimers?.length\" class=\"po-multiselect-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-multiselect-input-disclaimer\"\n [p-label]=\"disclaimer.label\"\n [p-value]=\"disclaimer.value\"\n [p-hide-close]=\"disclaimer.value === '' || disabled\"\n [class.po-clickable]=\"disclaimer.value === '' && !disabled\"\n (click)=\"openDropdown(disclaimer.value === '')\"\n (p-close-action)=\"closeDisclaimer(disclaimer.value)\"\n >\n </po-disclaimer>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconElement\n class=\"po-icon po-field-icon {{ dropdownIcon }}\"\n [ngClass]=\"disabled ? 'po-field-icon-disabled' : ''\"\n >\n </span>\n </div>\n </div>\n </div>\n\n <po-multiselect-dropdown\n #dropdownElement\n [p-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-literals]=\"literals\"\n [p-options]=\"options\"\n [p-visible-options]=\"visibleOptionsDropdown\"\n [p-selected-options]=\"selectedOptions\"\n [p-placeholder-search]=\"placeholderSearch\"\n (p-change)=\"changeItems($event)\"\n (p-change-search)=\"changeSearch($event)\"\n (p-close-dropdown)=\"controlDropdownVisibility(false)\"\n >\n </po-multiselect-dropdown>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
26242
26268
  }], function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: PoControlPositionService }, { type: PoMultiselectFilterService }, { type: PoLanguageService }]; }, { dropdownElement: [{
26243
26269
  type: ViewChild,
26244
26270
  args: ['dropdownElement', { read: ElementRef, static: true }]
@@ -26320,7 +26346,8 @@ const _c0$L = ["inputElement"];
26320
26346
  * Componente de pesquisa que será criado dentro do dropdown do `po-multiselect`.
26321
26347
  */
26322
26348
  class PoMultiselectSearchComponent {
26323
- constructor() {
26349
+ constructor(cd) {
26350
+ this.cd = cd;
26324
26351
  /** Evento que será disparado a cada tecla digitada no campo de busca. */
26325
26352
  this.change = new EventEmitter();
26326
26353
  }
@@ -26352,9 +26379,10 @@ class PoMultiselectSearchComponent {
26352
26379
  }
26353
26380
  clean() {
26354
26381
  this.inputElement.nativeElement.value = '';
26382
+ this.cd.markForCheck();
26355
26383
  }
26356
26384
  }
26357
- PoMultiselectSearchComponent.ɵfac = function PoMultiselectSearchComponent_Factory(t) { return new (t || PoMultiselectSearchComponent)(); };
26385
+ PoMultiselectSearchComponent.ɵfac = function PoMultiselectSearchComponent_Factory(t) { return new (t || PoMultiselectSearchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
26358
26386
  PoMultiselectSearchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectSearchComponent, selectors: [["po-multiselect-search"]], viewQuery: function PoMultiselectSearchComponent_Query(rf, ctx) {
26359
26387
  if (rf & 1) {
26360
26388
  i0.ɵɵviewQuery(_c0$L, 7, ElementRef);
@@ -26378,12 +26406,12 @@ PoMultiselectSearchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
26378
26406
  i0.ɵɵadvance(3);
26379
26407
  i0.ɵɵproperty("placeholder", ctx.placeholder);
26380
26408
  }
26381
- }, encapsulation: 2 });
26409
+ }, encapsulation: 2, changeDetection: 0 });
26382
26410
  (function () {
26383
26411
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectSearchComponent, [{
26384
26412
  type: Component,
26385
- args: [{ selector: 'po-multiselect-search', template: "<div class=\"po-field-container-content po-multiselect-container-search\">\n <div class=\"po-field-icon-container-left\">\n <span class=\"po-icon po-icon-search po-field-icon\"></span>\n </div>\n\n <input\n #inputElement\n class=\"po-input po-input-icon-left po-multiselect-search-input\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onChange($event)\"\n />\n</div>\n" }]
26386
- }], null, { inputElement: [{
26413
+ args: [{ selector: 'po-multiselect-search', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-field-container-content po-multiselect-container-search\">\n <div class=\"po-field-icon-container-left\">\n <span class=\"po-icon po-icon-search po-field-icon\"></span>\n </div>\n\n <input\n #inputElement\n class=\"po-input po-input-icon-left po-multiselect-search-input\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onChange($event)\"\n />\n</div>\n" }]
26414
+ }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { inputElement: [{
26387
26415
  type: ViewChild,
26388
26416
  args: ['inputElement', { read: ElementRef, static: true }]
26389
26417
  }], literals: [{
@@ -27917,6 +27945,72 @@ PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
27917
27945
  }] });
27918
27946
  })();
27919
27947
 
27948
+ const _c0$I = ["DragDropAreaFixed"];
27949
+ class PoUploadDragDropAreaOverlayComponent {
27950
+ constructor(renderer) {
27951
+ this.renderer = renderer;
27952
+ this.areaElement = new EventEmitter();
27953
+ }
27954
+ ngAfterViewInit() {
27955
+ if (this.target) {
27956
+ this.setPosition(this.target);
27957
+ }
27958
+ this.areaElement.emit(this.DragDropAreaFixed.nativeElement);
27959
+ }
27960
+ setPosition(targetElement) {
27961
+ const boundingClientRect = targetElement.nativeElement.getBoundingClientRect();
27962
+ const clientRectKeys = ['bottom', 'left', 'height', 'right', 'top', 'width'];
27963
+ clientRectKeys.forEach(clientRectKey => {
27964
+ const clientRectValue = boundingClientRect[clientRectKey];
27965
+ this.renderer.setStyle(this.DragDropAreaFixed.nativeElement, clientRectKey, `${clientRectValue}px`);
27966
+ });
27967
+ }
27968
+ }
27969
+ PoUploadDragDropAreaOverlayComponent.ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
27970
+ PoUploadDragDropAreaOverlayComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) {
27971
+ if (rf & 1) {
27972
+ i0.ɵɵviewQuery(_c0$I, 7, ElementRef);
27973
+ }
27974
+ if (rf & 2) {
27975
+ let _t;
27976
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.DragDropAreaFixed = _t.first);
27977
+ }
27978
+ }, inputs: { directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], literals: ["p-literals", "literals"], target: ["p-target", "target"] }, outputs: { areaElement: "p-area-element" }, decls: 3, vars: 4, consts: [[1, "po-overlay-fixed"], [1, "po-upload-drag-drop-area-overlay", 3, "p-directory-compatible", "p-disabled", "p-literals", "p-overlay"], ["DragDropAreaFixed", ""]], template: function PoUploadDragDropAreaOverlayComponent_Template(rf, ctx) {
27979
+ if (rf & 1) {
27980
+ i0.ɵɵelementStart(0, "div", 0);
27981
+ i0.ɵɵelement(1, "po-upload-drag-drop-area", 1, 2);
27982
+ i0.ɵɵelementEnd();
27983
+ }
27984
+ if (rf & 2) {
27985
+ i0.ɵɵadvance(1);
27986
+ i0.ɵɵproperty("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-literals", ctx.literals)("p-overlay", true);
27987
+ }
27988
+ }, directives: [PoUploadDragDropAreaComponent], encapsulation: 2, changeDetection: 0 });
27989
+ (function () {
27990
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropAreaOverlayComponent, [{
27991
+ type: Component,
27992
+ args: [{ selector: 'po-upload-drag-drop-area-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-overlay-fixed\">\n <po-upload-drag-drop-area\n #DragDropAreaFixed\n class=\"po-upload-drag-drop-area-overlay\"\n [p-directory-compatible]=\"directoryCompatible\"\n [p-disabled]=\"disabled\"\n [p-literals]=\"literals\"\n [p-overlay]=\"true\"\n >\n </po-upload-drag-drop-area>\n</div>\n" }]
27993
+ }], function () { return [{ type: i0.Renderer2 }]; }, { DragDropAreaFixed: [{
27994
+ type: ViewChild,
27995
+ args: ['DragDropAreaFixed', { read: ElementRef, static: true }]
27996
+ }], directoryCompatible: [{
27997
+ type: Input,
27998
+ args: ['p-directory-compatible']
27999
+ }], disabled: [{
28000
+ type: Input,
28001
+ args: ['p-disabled']
28002
+ }], literals: [{
28003
+ type: Input,
28004
+ args: ['p-literals']
28005
+ }], target: [{
28006
+ type: Input,
28007
+ args: ['p-target']
28008
+ }], areaElement: [{
28009
+ type: Output,
28010
+ args: ['p-area-element']
28011
+ }] });
28012
+ })();
28013
+
27920
28014
  /**
27921
28015
  * @description
27922
28016
  *
@@ -28294,72 +28388,6 @@ PoUploadDragDropDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: P
28294
28388
  }] });
28295
28389
  })();
28296
28390
 
28297
- const _c0$I = ["DragDropAreaFixed"];
28298
- class PoUploadDragDropAreaOverlayComponent {
28299
- constructor(renderer) {
28300
- this.renderer = renderer;
28301
- this.areaElement = new EventEmitter();
28302
- }
28303
- ngAfterViewInit() {
28304
- if (this.target) {
28305
- this.setPosition(this.target);
28306
- }
28307
- this.areaElement.emit(this.DragDropAreaFixed.nativeElement);
28308
- }
28309
- setPosition(targetElement) {
28310
- const boundingClientRect = targetElement.nativeElement.getBoundingClientRect();
28311
- const clientRectKeys = ['bottom', 'left', 'height', 'right', 'top', 'width'];
28312
- clientRectKeys.forEach(clientRectKey => {
28313
- const clientRectValue = boundingClientRect[clientRectKey];
28314
- this.renderer.setStyle(this.DragDropAreaFixed.nativeElement, clientRectKey, `${clientRectValue}px`);
28315
- });
28316
- }
28317
- }
28318
- PoUploadDragDropAreaOverlayComponent.ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
28319
- PoUploadDragDropAreaOverlayComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) {
28320
- if (rf & 1) {
28321
- i0.ɵɵviewQuery(_c0$I, 7, ElementRef);
28322
- }
28323
- if (rf & 2) {
28324
- let _t;
28325
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.DragDropAreaFixed = _t.first);
28326
- }
28327
- }, inputs: { directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], literals: ["p-literals", "literals"], target: ["p-target", "target"] }, outputs: { areaElement: "p-area-element" }, decls: 3, vars: 4, consts: [[1, "po-overlay-fixed"], [1, "po-upload-drag-drop-area-overlay", 3, "p-directory-compatible", "p-disabled", "p-literals", "p-overlay"], ["DragDropAreaFixed", ""]], template: function PoUploadDragDropAreaOverlayComponent_Template(rf, ctx) {
28328
- if (rf & 1) {
28329
- i0.ɵɵelementStart(0, "div", 0);
28330
- i0.ɵɵelement(1, "po-upload-drag-drop-area", 1, 2);
28331
- i0.ɵɵelementEnd();
28332
- }
28333
- if (rf & 2) {
28334
- i0.ɵɵadvance(1);
28335
- i0.ɵɵproperty("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-literals", ctx.literals)("p-overlay", true);
28336
- }
28337
- }, directives: [PoUploadDragDropAreaComponent], encapsulation: 2, changeDetection: 0 });
28338
- (function () {
28339
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropAreaOverlayComponent, [{
28340
- type: Component,
28341
- args: [{ selector: 'po-upload-drag-drop-area-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-overlay-fixed\">\n <po-upload-drag-drop-area\n #DragDropAreaFixed\n class=\"po-upload-drag-drop-area-overlay\"\n [p-directory-compatible]=\"directoryCompatible\"\n [p-disabled]=\"disabled\"\n [p-literals]=\"literals\"\n [p-overlay]=\"true\"\n >\n </po-upload-drag-drop-area>\n</div>\n" }]
28342
- }], function () { return [{ type: i0.Renderer2 }]; }, { DragDropAreaFixed: [{
28343
- type: ViewChild,
28344
- args: ['DragDropAreaFixed', { read: ElementRef, static: true }]
28345
- }], directoryCompatible: [{
28346
- type: Input,
28347
- args: ['p-directory-compatible']
28348
- }], disabled: [{
28349
- type: Input,
28350
- args: ['p-disabled']
28351
- }], literals: [{
28352
- type: Input,
28353
- args: ['p-literals']
28354
- }], target: [{
28355
- type: Input,
28356
- args: ['p-target']
28357
- }], areaElement: [{
28358
- type: Output,
28359
- args: ['p-area-element']
28360
- }] });
28361
- })();
28362
-
28363
28391
  const _c0$H = ["dragDropOverlay"];
28364
28392
  function PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template(rf, ctx) {
28365
28393
  if (rf & 1) {
@@ -28432,7 +28460,7 @@ PoUploadDragDropComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: P
28432
28460
  i0.ɵɵadvance(1);
28433
28461
  i0.ɵɵproperty("p-area-element", ctx.areaElement)("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-height", ctx.dragDropHeight)("p-literals", ctx.literals)("p-overlay", false);
28434
28462
  }
28435
- }, directives: [i1.NgIf, PoUploadDragDropAreaComponent, PoUploadDragDropDirective, PoUploadDragDropAreaOverlayComponent], encapsulation: 2, changeDetection: 0 });
28463
+ }, directives: [i1.NgIf, PoUploadDragDropAreaOverlayComponent, PoUploadDragDropAreaComponent, PoUploadDragDropDirective], encapsulation: 2, changeDetection: 0 });
28436
28464
  (function () {
28437
28465
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropComponent, [{
28438
28466
  type: Component,
@@ -28736,11 +28764,12 @@ function PoUploadComponent_po_button_8_Template(rf, ctx) {
28736
28764
  * </example>
28737
28765
  */
28738
28766
  class PoUploadComponent extends PoUploadBaseComponent {
28739
- constructor(uploadService, renderer, i18nPipe, notification, languageService) {
28767
+ constructor(uploadService, renderer, i18nPipe, notification, cd, languageService) {
28740
28768
  super(uploadService, languageService);
28741
28769
  this.renderer = renderer;
28742
28770
  this.i18nPipe = i18nPipe;
28743
28771
  this.notification = notification;
28772
+ this.cd = cd;
28744
28773
  this.infoByUploadStatus = {
28745
28774
  [PoUploadStatus.Uploaded]: {
28746
28775
  text: () => this.literals.sentWithSuccess,
@@ -28925,6 +28954,7 @@ class PoUploadComponent extends PoUploadBaseComponent {
28925
28954
  else {
28926
28955
  this.stopUploadHandler(file);
28927
28956
  }
28957
+ this.cd.markForCheck();
28928
28958
  });
28929
28959
  }
28930
28960
  trackByFn(index, file) {
@@ -28954,6 +28984,7 @@ class PoUploadComponent extends PoUploadBaseComponent {
28954
28984
  responseHandler(file, status) {
28955
28985
  file.status = status;
28956
28986
  file.percent = 100;
28987
+ this.cd.markForCheck();
28957
28988
  }
28958
28989
  // método responsável por setar os argumentos do i18nPipe de acordo com a restrição.
28959
28990
  setPipeArguments(literalAttributes, literalArguments) {
@@ -28964,6 +28995,7 @@ class PoUploadComponent extends PoUploadBaseComponent {
28964
28995
  stopUploadHandler(file) {
28965
28996
  file.status = PoUploadStatus.None;
28966
28997
  file.percent = 0;
28998
+ this.cd.markForCheck();
28967
28999
  }
28968
29000
  updateFiles(files) {
28969
29001
  this.currentFiles = this.parseFiles(files);
@@ -28981,6 +29013,7 @@ class PoUploadComponent extends PoUploadBaseComponent {
28981
29013
  uploadingHandler(file, percent) {
28982
29014
  file.status = PoUploadStatus.Uploading;
28983
29015
  file.percent = percent;
29016
+ this.cd.markForCheck();
28984
29017
  }
28985
29018
  // retorna os objetos do array sem as propriedades: percent e displayName
28986
29019
  mapCleanUploadFiles(files) {
@@ -28991,7 +29024,7 @@ class PoUploadComponent extends PoUploadBaseComponent {
28991
29024
  return files.map(mapedByUploadFile);
28992
29025
  }
28993
29026
  }
28994
- PoUploadComponent.ɵfac = function PoUploadComponent_Factory(t) { return new (t || PoUploadComponent)(i0.ɵɵdirectiveInject(PoUploadService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoI18nPipe), i0.ɵɵdirectiveInject(PoNotificationService), i0.ɵɵdirectiveInject(PoLanguageService)); };
29027
+ PoUploadComponent.ɵfac = function PoUploadComponent_Factory(t) { return new (t || PoUploadComponent)(i0.ɵɵdirectiveInject(PoUploadService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoI18nPipe), i0.ɵɵdirectiveInject(PoNotificationService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoLanguageService)); };
28995
29028
  PoUploadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadComponent, selectors: [["po-upload"]], viewQuery: function PoUploadComponent_Query(rf, ctx) {
28996
29029
  if (rf & 1) {
28997
29030
  i0.ɵɵviewQuery(_c0$F, 7, ElementRef);
@@ -29048,11 +29081,11 @@ PoUploadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadC
29048
29081
  i0.ɵɵadvance(1);
29049
29082
  i0.ɵɵproperty("ngIf", ctx.displaySendButton);
29050
29083
  }
29051
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoUploadDragDropComponent, PoButtonComponent, PoUploadFileRestrictionsComponent, i1.NgClass, PoContainerComponent, i1.NgForOf, PoProgressComponent], encapsulation: 2 });
29084
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoUploadDragDropComponent, PoButtonComponent, PoUploadFileRestrictionsComponent, i1.NgClass, PoContainerComponent, i1.NgForOf, PoProgressComponent], encapsulation: 2, changeDetection: 0 });
29052
29085
  (function () {
29053
29086
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadComponent, [{
29054
29087
  type: Component,
29055
- args: [{ selector: 'po-upload', providers: [
29088
+ args: [{ selector: 'po-upload', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
29056
29089
  PoI18nPipe,
29057
29090
  PoUploadService,
29058
29091
  {
@@ -29066,7 +29099,7 @@ PoUploadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadC
29066
29099
  multi: true
29067
29100
  }
29068
29101
  ], template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-upload\">\n <input\n #inputFile\n class=\"po-upload-input\"\n type=\"file\"\n [accept]=\"allowedExtensions\"\n [attr.name]=\"name\"\n [disabled]=\"isDisabled\"\n [multiple]=\"isMultiple\"\n [required]=\"required\"\n (change)=\"onFileChange($event)\"\n />\n\n <po-upload-drag-drop\n *ngIf=\"displayDragDrop\"\n [p-directory-compatible]=\"canHandleDirectory\"\n [p-disabled]=\"isDisabled\"\n [p-drag-drop-height]=\"dragDropHeight\"\n [p-literals]=\"literals\"\n (p-file-change)=\"onFileChangeDragDrop($event)\"\n (p-select-files)=\"selectFiles()\"\n >\n </po-upload-drag-drop>\n\n <po-button\n *ngIf=\"!hideSelectButton && !displayDragDrop\"\n #uploadButton\n class=\"po-upload-button\"\n for=\"file\"\n [p-disabled]=\"isDisabled\"\n [p-label]=\"selectFileButtonLabel\"\n (p-click)=\"selectFiles()\"\n >\n </po-button>\n\n <po-upload-file-restrictions\n *ngIf=\"fileRestrictions && !hideRestrictionsInfo\"\n class=\"po-upload-file-restrictions\"\n [ngClass]=\"{ 'po-upload-file-restrictions-drag-drop': displayDragDrop }\"\n [p-allowed-extensions]=\"fileRestrictions?.allowedExtensions\"\n [p-max-files]=\"maxFiles\"\n [p-max-file-size]=\"fileRestrictions?.maxFileSize\"\n [p-min-file-size]=\"fileRestrictions?.minFileSize\"\n >\n </po-upload-file-restrictions>\n\n <div *ngIf=\"currentFiles && currentFiles.length\" class=\"po-upload-progress-container\">\n <po-container\n p-no-shadow\n [p-height]=\"hasMoreThanFourItems ? 280 : 'auto'\"\n [p-no-border]=\"!hasMoreThanFourItems\"\n [p-no-padding]=\"!hasMoreThanFourItems\"\n >\n <div [ngClass]=\"{ 'po-upload-progress-container-area po-pt-2 po-pl-1': hasMoreThanFourItems }\">\n <po-progress\n *ngFor=\"let file of currentFiles; trackBy: trackByFn\"\n [p-info]=\"infoByUploadStatus[file.status]?.text(file.percent)\"\n [p-info-icon]=\"infoByUploadStatus[file.status]?.icon\"\n [p-status]=\"progressStatusByFileStatus[file.status]\"\n [p-text]=\"file.displayName\"\n [p-value]=\"file.percent\"\n (p-cancel)=\"cancel(file)\"\n (p-retry)=\"uploadFiles([file])\"\n >\n </po-progress>\n </div>\n </po-container>\n </div>\n\n <po-button\n *ngIf=\"displaySendButton\"\n class=\"po-upload-send-button\"\n [class.po-mt-3]=\"hasMoreThanFourItems\"\n p-type=\"primary\"\n [p-disabled]=\"hasAnyFileUploading(currentFiles)\"\n [p-label]=\"literals.startSending\"\n (p-click)=\"uploadFiles(currentFiles)\"\n >\n </po-button>\n </div>\n</po-field-container>\n" }]
29069
- }], function () { return [{ type: PoUploadService }, { type: i0.Renderer2 }, { type: PoI18nPipe }, { type: PoNotificationService }, { type: PoLanguageService }]; }, { inputFile: [{
29102
+ }], function () { return [{ type: PoUploadService }, { type: i0.Renderer2 }, { type: PoI18nPipe }, { type: PoNotificationService }, { type: i0.ChangeDetectorRef }, { type: PoLanguageService }]; }, { inputFile: [{
29070
29103
  type: ViewChild,
29071
29104
  args: ['inputFile', { read: ElementRef, static: true }]
29072
29105
  }], poUploadDragDropComponent: [{
@@ -29202,7 +29235,7 @@ PoUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUrlCompone
29202
29235
  i0.ɵɵadvance(1);
29203
29236
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
29204
29237
  }
29205
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoIconComponent, PoCleanComponent], encapsulation: 2, changeDetection: 0 });
29238
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
29206
29239
  (function () {
29207
29240
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUrlComponent, [{
29208
29241
  type: Component,
@@ -29451,7 +29484,7 @@ PoInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoInputCom
29451
29484
  i0.ɵɵadvance(1);
29452
29485
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
29453
29486
  }
29454
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoIconComponent, PoCleanComponent], encapsulation: 2, changeDetection: 0 });
29487
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
29455
29488
  (function () {
29456
29489
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoInputComponent, [{
29457
29490
  type: Component,
@@ -29864,7 +29897,7 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
29864
29897
  i0.ɵɵadvance(2);
29865
29898
  i0.ɵɵproperty("p-buttons", ctx.mediaButtons);
29866
29899
  }
29867
- }, directives: [PoButtonGroupComponent, i1.NgIf, PoRichTextImageModalComponent, PoRichTextLinkModalComponent, PoTooltipDirective], encapsulation: 2 });
29900
+ }, directives: [PoButtonGroupComponent, i1.NgIf, PoTooltipDirective, PoRichTextImageModalComponent, PoRichTextLinkModalComponent], encapsulation: 2 });
29868
29901
  (function () {
29869
29902
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRichTextToolbarComponent, [{
29870
29903
  type: Component,
@@ -30056,11 +30089,11 @@ PoRichTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichT
30056
30089
  i0.ɵɵadvance(2);
30057
30090
  i0.ɵɵproperty("p-error-pattern", ctx.errorMsg);
30058
30091
  }
30059
- }, directives: [PoFieldContainerComponent, PoRichTextBodyComponent, PoRichTextToolbarComponent, PoFieldContainerBottomComponent], encapsulation: 2 });
30092
+ }, directives: [PoFieldContainerComponent, PoRichTextBodyComponent, PoRichTextToolbarComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
30060
30093
  (function () {
30061
30094
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRichTextComponent, [{
30062
30095
  type: Component,
30063
- args: [{ selector: 'po-rich-text', providers: providers, template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\">\n <po-rich-text-body\n #richTextBody\n [p-height]=\"height\"\n [p-model-value]=\"value\"\n [p-placeholder]=\"placeholder\"\n [p-readonly]=\"readonly\"\n (p-change)=\"onChangeValue($event)\"\n (p-commands)=\"richTextToolbar.setButtonsStates($event)\"\n (p-selected-link)=\"richTextToolbar.selectedLink($event)\"\n (p-shortcut-command)=\"richTextToolbar.shortcutTrigger()\"\n (p-value)=\"updateValue($event)\"\n (p-blur)=\"onBlur()\"\n >\n </po-rich-text-body>\n\n <po-rich-text-toolbar\n #richTextToolbar\n [p-readonly]=\"readonly\"\n (p-link-editing)=\"richTextBody.linkEditing($event)\"\n (p-command)=\"richTextBody.executeCommand($event)\"\n >\n </po-rich-text-toolbar>\n </div>\n\n <po-field-container-bottom [p-error-pattern]=\"errorMsg\"></po-field-container-bottom>\n</po-field-container>\n" }]
30096
+ args: [{ selector: 'po-rich-text', providers: providers, changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\">\n <po-rich-text-body\n #richTextBody\n [p-height]=\"height\"\n [p-model-value]=\"value\"\n [p-placeholder]=\"placeholder\"\n [p-readonly]=\"readonly\"\n (p-change)=\"onChangeValue($event)\"\n (p-commands)=\"richTextToolbar.setButtonsStates($event)\"\n (p-selected-link)=\"richTextToolbar.selectedLink($event)\"\n (p-shortcut-command)=\"richTextToolbar.shortcutTrigger()\"\n (p-value)=\"updateValue($event)\"\n (p-blur)=\"onBlur()\"\n >\n </po-rich-text-body>\n\n <po-rich-text-toolbar\n #richTextToolbar\n [p-readonly]=\"readonly\"\n (p-link-editing)=\"richTextBody.linkEditing($event)\"\n (p-command)=\"richTextBody.executeCommand($event)\"\n >\n </po-rich-text-toolbar>\n </div>\n\n <po-field-container-bottom [p-error-pattern]=\"errorMsg\"></po-field-container-bottom>\n</po-field-container>\n" }]
30064
30097
  }], function () { return [{ type: i0.ElementRef }, { type: PoRichTextService }]; }, { bodyElement: [{
30065
30098
  type: ViewChild,
30066
30099
  args: [PoRichTextBodyComponent, { static: true }]
@@ -30330,7 +30363,7 @@ PoNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoNumberC
30330
30363
  i0.ɵɵadvance(1);
30331
30364
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPatternMessage());
30332
30365
  }
30333
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoIconComponent, PoCleanComponent], encapsulation: 2, changeDetection: 0 });
30366
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
30334
30367
  (function () {
30335
30368
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoNumberComponent, [{
30336
30369
  type: Component,
@@ -30489,7 +30522,7 @@ PoPasswordComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPassw
30489
30522
  i0.ɵɵadvance(1);
30490
30523
  i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
30491
30524
  }
30492
- }, directives: [PoFieldContainerComponent, i1.NgIf, PoFieldContainerBottomComponent, PoCleanComponent, i1.NgClass], encapsulation: 2, changeDetection: 0 });
30525
+ }, directives: [PoFieldContainerComponent, i1.NgIf, PoCleanComponent, i1.NgClass, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
30493
30526
  (function () {
30494
30527
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPasswordComponent, [{
30495
30528
  type: Component,
@@ -30768,8 +30801,9 @@ function PoRadioGroupComponent_div_3_Template(rf, ctx) {
30768
30801
  *
30769
30802
  */
30770
30803
  class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
30771
- constructor(differs) {
30804
+ constructor(differs, cd) {
30772
30805
  super();
30806
+ this.cd = cd;
30773
30807
  this.differ = differs.find([]).create(null);
30774
30808
  }
30775
30809
  ngAfterViewInit() {
@@ -30782,6 +30816,7 @@ class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
30782
30816
  if (change) {
30783
30817
  removeDuplicatedOptions(this.options);
30784
30818
  }
30819
+ this.cd.markForCheck();
30785
30820
  }
30786
30821
  eventClick(value, disabled) {
30787
30822
  if (!disabled) {
@@ -30826,7 +30861,7 @@ class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
30826
30861
  return key >= 37 && key <= 40;
30827
30862
  }
30828
30863
  }
30829
- PoRadioGroupComponent.ɵfac = function PoRadioGroupComponent_Factory(t) { return new (t || PoRadioGroupComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers)); };
30864
+ PoRadioGroupComponent.ɵfac = function PoRadioGroupComponent_Factory(t) { return new (t || PoRadioGroupComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
30830
30865
  PoRadioGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRadioGroupComponent, selectors: [["po-radio-group"]], viewQuery: function PoRadioGroupComponent_Query(rf, ctx) {
30831
30866
  if (rf & 1) {
30832
30867
  i0.ɵɵviewQuery(_c0$B, 7, ElementRef);
@@ -30862,11 +30897,11 @@ PoRadioGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRad
30862
30897
  i0.ɵɵadvance(3);
30863
30898
  i0.ɵɵproperty("ngForOf", ctx.options);
30864
30899
  }
30865
- }, directives: [PoFieldContainerComponent, i1.NgForOf, PoFieldContainerBottomComponent], encapsulation: 2 });
30900
+ }, directives: [PoFieldContainerComponent, i1.NgForOf, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
30866
30901
  (function () {
30867
30902
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRadioGroupComponent, [{
30868
30903
  type: Component,
30869
- args: [{ selector: 'po-radio-group', providers: [
30904
+ args: [{ selector: 'po-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
30870
30905
  {
30871
30906
  provide: NG_VALUE_ACCESSOR,
30872
30907
  useExisting: forwardRef(() => PoRadioGroupComponent),
@@ -30878,7 +30913,7 @@ PoRadioGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRad
30878
30913
  multi: true
30879
30914
  }
30880
30915
  ], template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div class=\"po-row po-pt-1 po-pb-1\" #inp>\n <div *ngFor=\"let option of options\" class=\"po-radio-group-item po-md-{{ mdColumns }} po-lg-{{ columns }}\">\n <input\n #inputRadio\n class=\"po-radio-group-input\"\n type=\"radio\"\n [attr.name]=\"name\"\n [checked]=\"value === option.value\"\n [class.po-radio-group-input-checked]=\"value === option.value\"\n [disabled]=\"option.disabled === true || disabled\"\n [required]=\"required\"\n [value]=\"option.value\"\n (keyup)=\"onKeyUp($event, option.value)\"\n />\n <label\n class=\"po-radio-group-label\"\n [class.po-clickable]=\"!inputRadio.disabled\"\n [for]=\"name\"\n (click)=\"eventClick(option.value, option.disabled === true || disabled)\"\n >\n {{ option.label }}\n </label>\n </div>\n </div>\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
30881
- }], function () { return [{ type: i0.IterableDiffers }]; }, { label: [{
30916
+ }], function () { return [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }]; }, { label: [{
30882
30917
  type: Input,
30883
30918
  args: ['p-label']
30884
30919
  }], help: [{
@@ -31583,7 +31618,7 @@ PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectC
31583
31618
  i0.ɵɵadvance(2);
31584
31619
  i0.ɵɵproperty("ngForOf", ctx.options);
31585
31620
  }
31586
- }, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf, i1.NgForOf, PoFieldContainerBottomComponent, i3.NgSelectOption, i3.ɵNgSelectMultipleOption, i1.NgTemplateOutlet], encapsulation: 2, changeDetection: 0 });
31621
+ }, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf, i3.NgSelectOption, i3.ɵNgSelectMultipleOption, i1.NgForOf, i1.NgTemplateOutlet, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
31587
31622
  __decorate([
31588
31623
  InputBoolean()
31589
31624
  ], PoSelectComponent.prototype, "readonly", void 0);
@@ -34147,7 +34182,7 @@ PoDynamicViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDy
34147
34182
  if (rf & 2) {
34148
34183
  i0.ɵɵproperty("ngIf", ctx.visibleFields.length);
34149
34184
  }
34150
- }, directives: [i1.NgIf, i1.NgForOf, i1.NgTemplateOutlet, PoDividerComponent, PoInfoComponent, i1.NgClass, PoTagComponent], encapsulation: 2 });
34185
+ }, directives: [i1.NgIf, i1.NgForOf, PoDividerComponent, i1.NgTemplateOutlet, PoInfoComponent, i1.NgClass, PoTagComponent], encapsulation: 2 });
34151
34186
  (function () {
34152
34187
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDynamicViewComponent, [{
34153
34188
  type: Component,
@@ -36904,7 +36939,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
36904
36939
  i0.ɵɵadvance(1);
36905
36940
  i0.ɵɵproperty("p-actions", ctx.actions)("p-target", ctx.popupTarget);
36906
36941
  }
36907
- }, directives: [i1.NgIf, i1.NgForOf, PoPopupComponent, i1.NgSwitch, i1.NgSwitchCase, i2.RouterLinkWithHref, PoButtonComponent, i1.NgTemplateOutlet], encapsulation: 2, data: { animation: [
36942
+ }, directives: [i1.NgIf, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i2.RouterLinkWithHref, PoButtonComponent, i1.NgTemplateOutlet, PoPopupComponent], encapsulation: 2, data: { animation: [
36908
36943
  trigger('showHideDetail', [
36909
36944
  state('*', style({ 'overflow-y': 'visible' })),
36910
36945
  state('void', style({ 'overflow-y': 'hidden' })),
@@ -37660,7 +37695,7 @@ PoMenuFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMen
37660
37695
  i0.ɵɵadvance(2);
37661
37696
  i0.ɵɵproperty("p-element-ref", ctx.inputFilterElement);
37662
37697
  }
37663
- }, directives: [i1.NgIf, PoCleanComponent, PoLoadingIconComponent], encapsulation: 2 });
37698
+ }, directives: [i1.NgIf, PoLoadingIconComponent, PoCleanComponent], encapsulation: 2 });
37664
37699
  (function () {
37665
37700
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMenuFilterComponent, [{
37666
37701
  type: Component,
@@ -38329,7 +38364,7 @@ class PoMenuComponent extends PoMenuBaseComponent {
38329
38364
  return menus.some(menu => {
38330
38365
  const formattedMenuLink = getFormattedLink(menu.link);
38331
38366
  const menuLinkPath = `${urlPathWithoutLastFragment}${formattedMenuLink.substr(formattedMenuLink.lastIndexOf('/'))}`;
38332
- if (menuLinkPath === urlPath) {
38367
+ if (menuLinkPath === urlPath && menuLinkPath === formattedMenuLink) {
38333
38368
  this.linkActive = formattedMenuLink;
38334
38369
  this.activateMenuItem(menu);
38335
38370
  return true;
@@ -38697,7 +38732,7 @@ PoMenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMenuCompo
38697
38732
  i0.ɵɵadvance(1);
38698
38733
  i0.ɵɵproperty("ngIf", ctx.hasFooter);
38699
38734
  }
38700
- }, directives: [i1.NgIf, i1.NgClass, i1.NgForOf, i1.NgTemplateOutlet, PoMenuFilterComponent, PoIconComponent, PoMenuItemComponent], encapsulation: 2 });
38735
+ }, directives: [i1.NgIf, i1.NgClass, i1.NgTemplateOutlet, PoMenuFilterComponent, PoIconComponent, i1.NgForOf, PoMenuItemComponent], encapsulation: 2 });
38701
38736
  (function () {
38702
38737
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMenuComponent, [{
38703
38738
  type: Component,
@@ -39295,7 +39330,7 @@ PoNavbarActionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
39295
39330
  i0.ɵɵadvance(1);
39296
39331
  i0.ɵɵproperty("p-icon-actions", ctx.iconActions);
39297
39332
  }
39298
- }, directives: [i1.NgForOf, PoNavbarActionPopupComponent, PoNavbarActionComponent], encapsulation: 2 });
39333
+ }, directives: [i1.NgForOf, PoNavbarActionComponent, PoNavbarActionPopupComponent], encapsulation: 2 });
39299
39334
  (function () {
39300
39335
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoNavbarActionsComponent, [{
39301
39336
  type: Component,
@@ -39998,7 +40033,7 @@ PoNavbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoNavbarC
39998
40033
  i0.ɵɵadvance(1);
39999
40034
  i0.ɵɵproperty("ngIf", !ctx.applicationMenu);
40000
40035
  }
40001
- }, directives: [i1.NgClass, PoNavbarLogoComponent, PoNavbarItemsComponent, i1.NgIf, PoNavbarActionsComponent, PoNavbarItemNavigationComponent, PoMenuComponent], encapsulation: 2 });
40036
+ }, directives: [i1.NgClass, PoNavbarLogoComponent, PoNavbarItemsComponent, i1.NgIf, PoNavbarItemNavigationComponent, PoNavbarActionsComponent, PoMenuComponent], encapsulation: 2 });
40002
40037
  (function () {
40003
40038
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoNavbarComponent, [{
40004
40039
  type: Component,
@@ -40614,7 +40649,7 @@ PoPageDefaultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPa
40614
40649
  i0.ɵɵadvance(1);
40615
40650
  i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
40616
40651
  }
40617
- }, directives: [PoPageComponent, i1.NgIf, PoPageContentComponent, PoPageHeaderComponent, PoDropdownComponent, PoButtonComponent], encapsulation: 2 });
40652
+ }, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoDropdownComponent, PoButtonComponent, PoPageContentComponent], encapsulation: 2 });
40618
40653
  (function () {
40619
40654
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDefaultComponent, [{
40620
40655
  type: Component,
@@ -40916,7 +40951,7 @@ PoPageDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPag
40916
40951
  i0.ɵɵadvance(1);
40917
40952
  i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
40918
40953
  }
40919
- }, directives: [PoPageComponent, i1.NgIf, PoPageContentComponent, PoPageHeaderComponent, PoButtonComponent], encapsulation: 2 });
40954
+ }, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoButtonComponent, PoPageContentComponent], encapsulation: 2 });
40920
40955
  (function () {
40921
40956
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDetailComponent, [{
40922
40957
  type: Component,
@@ -41228,7 +41263,7 @@ PoPageEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageE
41228
41263
  i0.ɵɵadvance(1);
41229
41264
  i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
41230
41265
  }
41231
- }, directives: [PoPageComponent, i1.NgIf, PoPageContentComponent, PoPageHeaderComponent, PoButtonComponent], encapsulation: 2 });
41266
+ }, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoButtonComponent, PoPageContentComponent], encapsulation: 2 });
41232
41267
  (function () {
41233
41268
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageEditComponent, [{
41234
41269
  type: Component,
@@ -41718,7 +41753,7 @@ PoPageListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageL
41718
41753
  i0.ɵɵadvance(1);
41719
41754
  i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
41720
41755
  }
41721
- }, directives: [PoPageComponent, i1.NgIf, PoPageContentComponent, PoPageHeaderComponent, PoButtonComponent, PoDropdownComponent, i1.NgClass, PoDisclaimerGroupComponent], encapsulation: 2 });
41756
+ }, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoButtonComponent, PoDropdownComponent, i1.NgClass, PoDisclaimerGroupComponent, PoPageContentComponent], encapsulation: 2 });
41722
41757
  (function () {
41723
41758
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageListComponent, [{
41724
41759
  type: Component,
@@ -42927,7 +42962,7 @@ PoSlideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSlideCom
42927
42962
  i0.ɵɵadvance(1);
42928
42963
  i0.ɵɵproperty("ngIf", ctx.hasSlides && ctx.slides.length > 1);
42929
42964
  }
42930
- }, directives: [i1.NgForOf, i1.NgIf, PoSlideItemComponent, PoSlideControlComponent, PoSlideCirclesComponent], encapsulation: 2 });
42965
+ }, directives: [i1.NgForOf, PoSlideItemComponent, i1.NgIf, PoSlideControlComponent, PoSlideCirclesComponent], encapsulation: 2 });
42931
42966
  (function () {
42932
42967
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoSlideComponent, [{
42933
42968
  type: Component,
@@ -43814,7 +43849,7 @@ PoStepperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSteppe
43814
43849
  i0.ɵɵadvance(1);
43815
43850
  i0.ɵɵproperty("ngIf", ctx.usePoSteps);
43816
43851
  }
43817
- }, directives: [i1.NgForOf, i1.NgIf, PoStepperStepComponent], encapsulation: 2 });
43852
+ }, directives: [i1.NgForOf, PoStepperStepComponent, i1.NgIf], encapsulation: 2 });
43818
43853
  (function () {
43819
43854
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoStepperComponent, [{
43820
43855
  type: Component,