@po-ui/ng-components 14.1.0 → 14.3.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 (63) hide show
  1. package/esm2020/lib/components/po-breadcrumb/po-breadcrumb-dropdown/po-breadcrumb-dropdown.component.mjs +5 -3
  2. package/esm2020/lib/components/po-button/po-button-base.component.mjs +58 -8
  3. package/esm2020/lib/components/po-button/po-button-size.enum.mjs +6 -0
  4. package/esm2020/lib/components/po-button/po-button.component.mjs +4 -4
  5. package/esm2020/lib/components/po-button-group/po-button-group-base.component.mjs +8 -1
  6. package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.mjs +1 -1
  7. package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.mjs +12 -12
  8. package/esm2020/lib/components/po-field/po-checkbox/po-checkbox-base.component.mjs +11 -2
  9. package/esm2020/lib/components/po-field/po-checkbox/po-checkbox.component.mjs +24 -12
  10. package/esm2020/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.mjs +14 -20
  11. package/esm2020/lib/components/po-field/po-checkbox-group/po-checkbox-group.module.mjs +5 -4
  12. package/esm2020/lib/components/po-field/po-combo/po-combo-base.component.mjs +74 -43
  13. package/esm2020/lib/components/po-field/po-combo/po-combo.component.mjs +17 -15
  14. package/esm2020/lib/components/po-field/po-datepicker/po-datepicker-base.component.mjs +3 -8
  15. package/esm2020/lib/components/po-field/po-datepicker/po-datepicker.component.mjs +2 -1
  16. package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.mjs +25 -2
  17. package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.mjs +5 -5
  18. package/esm2020/lib/components/po-field/po-lookup/po-lookup-base.component.mjs +28 -2
  19. package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.mjs +28 -2
  20. package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.mjs +4 -4
  21. package/esm2020/lib/components/po-field/po-lookup/po-lookup.component.mjs +5 -3
  22. package/esm2020/lib/components/po-field/po-lookup/services/po-lookup-modal.service.mjs +6 -2
  23. package/esm2020/lib/components/po-field/po-multiselect/po-multiselect.component.mjs +2 -2
  24. package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.mjs +9 -9
  25. package/esm2020/lib/components/po-field/po-select/po-select.component.mjs +90 -25
  26. package/esm2020/lib/components/po-field/po-upload/po-upload-base.service.mjs +4 -2
  27. package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +3 -3
  28. package/esm2020/lib/components/po-table/po-table-base.component.mjs +21 -2
  29. package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +3 -3
  30. package/esm2020/lib/components/po-table/po-table.component.mjs +511 -476
  31. package/esm2020/lib/components/po-widget/po-widget-base.component.mjs +3 -2
  32. package/esm2020/lib/components/po-widget/po-widget.component.mjs +24 -12
  33. package/esm2020/lib/utils/util.mjs +21 -12
  34. package/fesm2015/po-ui-ng-components.mjs +1288 -952
  35. package/fesm2015/po-ui-ng-components.mjs.map +1 -1
  36. package/fesm2020/po-ui-ng-components.mjs +1266 -937
  37. package/fesm2020/po-ui-ng-components.mjs.map +1 -1
  38. package/lib/components/po-button/po-button-base.component.d.ts +29 -4
  39. package/lib/components/po-button/po-button-size.enum.d.ts +4 -0
  40. package/lib/components/po-button-group/po-button-group-base.component.d.ts +7 -0
  41. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.d.ts +18 -0
  42. package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +2 -1
  43. package/lib/components/po-field/po-checkbox-group/po-checkbox-group.module.d.ts +2 -1
  44. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +27 -22
  45. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +13 -1
  46. package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +21 -1
  47. package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +21 -1
  48. package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +4 -0
  49. package/lib/components/po-field/po-select/po-select.component.d.ts +36 -7
  50. package/lib/components/po-table/po-table-base.component.d.ts +12 -1
  51. package/lib/components/po-table/po-table.component.d.ts +6 -0
  52. package/lib/components/po-widget/po-widget-base.component.d.ts +1 -0
  53. package/lib/utils/util.d.ts +2 -1
  54. package/package.json +4 -4
  55. package/po-ui-ng-components-14.3.0.tgz +0 -0
  56. package/schematics/ng-add/index.js +1 -1
  57. package/schematics/ng-update/v14/index.js +1 -1
  58. package/schematics/ng-update/v2/index.js +1 -1
  59. package/schematics/ng-update/v3/index.js +1 -1
  60. package/schematics/ng-update/v4/index.js +1 -1
  61. package/schematics/ng-update/v5/index.js +1 -1
  62. package/schematics/ng-update/v6/index.js +1 -1
  63. package/po-ui-ng-components-14.1.0.tgz +0 -0
@@ -590,7 +590,9 @@ PoBreadcrumbBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: P
590
590
  }] }); })();
591
591
 
592
592
  function PoBreadcrumbDropdownComponent_li_1_Template(rf, ctx) { if (rf & 1) {
593
+ const _r3 = i0.ɵɵgetCurrentView();
593
594
  i0.ɵɵelementStart(0, "li", 2);
595
+ i0.ɵɵlistener("click", function PoBreadcrumbDropdownComponent_li_1_Template_li_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r3); const item_r1 = restoredCtx.$implicit; return i0.ɵɵresetView(item_r1.action == null ? null : item_r1.action()); });
594
596
  i0.ɵɵtext(1);
595
597
  i0.ɵɵelementEnd();
596
598
  } if (rf & 2) {
@@ -609,7 +611,7 @@ function PoBreadcrumbDropdownComponent_li_1_Template(rf, ctx) { if (rf & 1) {
609
611
  class PoBreadcrumbDropdownComponent {
610
612
  }
611
613
  PoBreadcrumbDropdownComponent.ɵfac = function PoBreadcrumbDropdownComponent_Factory(t) { return new (t || PoBreadcrumbDropdownComponent)(); };
612
- PoBreadcrumbDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoBreadcrumbDropdownComponent, selectors: [["po-breadcrumb-dropdown"]], inputs: { items: ["p-items", "items"] }, decls: 2, vars: 1, consts: [[1, "po-breadcrumb-dropdown"], ["class", "po-breadcrumb-dropdown-item", 3, "routerLink", 4, "ngFor", "ngForOf"], [1, "po-breadcrumb-dropdown-item", 3, "routerLink"]], template: function PoBreadcrumbDropdownComponent_Template(rf, ctx) { if (rf & 1) {
614
+ PoBreadcrumbDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoBreadcrumbDropdownComponent, selectors: [["po-breadcrumb-dropdown"]], inputs: { items: ["p-items", "items"] }, decls: 2, vars: 1, consts: [[1, "po-breadcrumb-dropdown"], ["class", "po-breadcrumb-dropdown-item", 3, "routerLink", "click", 4, "ngFor", "ngForOf"], [1, "po-breadcrumb-dropdown-item", 3, "routerLink", "click"]], template: function PoBreadcrumbDropdownComponent_Template(rf, ctx) { if (rf & 1) {
613
615
  i0.ɵɵelementStart(0, "ul", 0);
614
616
  i0.ɵɵtemplate(1, PoBreadcrumbDropdownComponent_li_1_Template, 2, 2, "li", 1);
615
617
  i0.ɵɵelementEnd();
@@ -619,7 +621,7 @@ PoBreadcrumbDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
619
621
  } }, dependencies: [i1.NgForOf, i2.RouterLink], encapsulation: 2 });
620
622
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoBreadcrumbDropdownComponent, [{
621
623
  type: Component,
622
- args: [{ selector: 'po-breadcrumb-dropdown', template: "<ul class=\"po-breadcrumb-dropdown\">\n <li class=\"po-breadcrumb-dropdown-item\" *ngFor=\"let item of items\" [routerLink]=\"item.link\">\n {{ item.label }}\n </li>\n</ul>\n" }]
624
+ args: [{ selector: 'po-breadcrumb-dropdown', template: "<ul class=\"po-breadcrumb-dropdown\">\n <li class=\"po-breadcrumb-dropdown-item\" *ngFor=\"let item of items\" [routerLink]=\"item.link\" (click)=\"item.action?.()\">\n {{ item.label }}\n </li>\n</ul>\n" }]
623
625
  }], null, { items: [{
624
626
  type: Input,
625
627
  args: ['p-items']
@@ -864,20 +866,10 @@ function convertIsoToDate(value, start, end) {
864
866
  return date;
865
867
  }
866
868
  else {
867
- const milliseconds = Date.parse(value);
868
- const timezone = new Date().getTimezoneOffset() * 60000;
869
- return new Date(milliseconds + timezone);
869
+ return new Date(year, month - 1, day);
870
870
  }
871
871
  }
872
872
  }
873
- function convertIsoToDateNoTimezone(value) {
874
- if (value) {
875
- const day = parseInt(value.substring(8, 10), 10);
876
- const month = parseInt(value.substring(5, 7), 10);
877
- const year = parseInt(value.substring(0, 4), 10);
878
- return new Date(year, month - 1, day);
879
- }
880
- }
881
873
  function convertDateToISODate(date) {
882
874
  if (date) {
883
875
  const getMonth = date.getMonth() + 1;
@@ -1028,6 +1020,17 @@ function removeDuplicatedOptions(list) {
1028
1020
  }
1029
1021
  }
1030
1022
  }
1023
+ function removeDuplicatedOptionsWithFieldValue(list, newValue) {
1024
+ for (let i = 0; i < list.length; i++) {
1025
+ if (i === 0) {
1026
+ continue;
1027
+ }
1028
+ if (list.findIndex(op => op[newValue] === list[i][newValue]) !== i) {
1029
+ list.splice(i, 1);
1030
+ i--;
1031
+ }
1032
+ }
1033
+ }
1031
1034
  function removeUndefinedAndNullOptions(list) {
1032
1035
  for (let i = 0; i < list.length; i++) {
1033
1036
  if (list[i].value === undefined || list[i].value === null) {
@@ -1036,6 +1039,14 @@ function removeUndefinedAndNullOptions(list) {
1036
1039
  }
1037
1040
  }
1038
1041
  }
1042
+ function removeUndefinedAndNullOptionsWithFieldValue(list, newValue) {
1043
+ for (let i = 0; i < list.length; i++) {
1044
+ if (list[i][newValue] === undefined || list[i][newValue] === null) {
1045
+ list.splice(i, 1);
1046
+ i--;
1047
+ }
1048
+ }
1049
+ }
1039
1050
  function validValue(value) {
1040
1051
  return (value !== null && value !== undefined && value !== '') || value === false;
1041
1052
  }
@@ -2324,6 +2335,12 @@ var PoButtonKind;
2324
2335
  PoButtonKind["danger"] = "danger";
2325
2336
  })(PoButtonKind || (PoButtonKind = {}));
2326
2337
 
2338
+ var PoButtonSize;
2339
+ (function (PoButtonSize) {
2340
+ PoButtonSize["medium"] = "medium";
2341
+ PoButtonSize["large"] = "large";
2342
+ })(PoButtonSize || (PoButtonSize = {}));
2343
+
2327
2344
  /**
2328
2345
  * @description
2329
2346
  *
@@ -2351,8 +2368,10 @@ class PoButtonBaseComponent {
2351
2368
  this._danger = false;
2352
2369
  this._disabled = false;
2353
2370
  this._loading = false;
2354
- this._small = false;
2355
2371
  this._kind = PoButtonKind.secondary;
2372
+ this._size = PoButtonSize.medium;
2373
+ this._small = false;
2374
+ this.hasSize = false;
2356
2375
  }
2357
2376
  /**
2358
2377
  * @optional
@@ -2372,16 +2391,26 @@ class PoButtonBaseComponent {
2372
2391
  return this._loading;
2373
2392
  }
2374
2393
  /**
2394
+ * @deprecated 16.x.x
2395
+ *
2375
2396
  * @optional
2376
2397
  *
2377
2398
  * @description
2378
2399
  *
2379
- * Deixa o botão menor.
2400
+ * **Deprecated 16.x.x**.
2401
+ *
2402
+ * > Por regras de acessibilidade o botão não terá mais um tamanho menor do que 44px e por isso a propriedade será depreciada.
2403
+ * > [Saiba mais](https://animaliads.notion.site/Bot-o-fb3a921e8ba54bd38b39758c24613368)
2404
+ *
2405
+ * Deixa o botão menor, com 32px de altura.
2380
2406
  *
2381
2407
  * @default `false`
2382
2408
  */
2383
2409
  set small(value) {
2384
- this._small = value === '' ? true : convertToBoolean(value);
2410
+ this._small = !this.hasSize ? value : false;
2411
+ if (this._small) {
2412
+ this._size = 'small';
2413
+ }
2385
2414
  }
2386
2415
  get small() {
2387
2416
  return this._small;
@@ -2426,6 +2455,34 @@ class PoButtonBaseComponent {
2426
2455
  get danger() {
2427
2456
  return this._danger;
2428
2457
  }
2458
+ /**
2459
+ * @optional
2460
+ *
2461
+ * @description
2462
+ *
2463
+ * Define o tamanho do `po-button`.
2464
+ *
2465
+ * Valores válidos:
2466
+ * - `medium`: o `po-button` fica do tamanho padrão, com 44px de altura.;
2467
+ * - `large`: o `po-button` fica maior, com 56px de altura.;
2468
+ *
2469
+ * @default `medium`
2470
+ *
2471
+ */
2472
+ set size(value) {
2473
+ const size = this.small ? 'small' : value;
2474
+ if (size === 'small') {
2475
+ this._size = 'small';
2476
+ this._small = true;
2477
+ }
2478
+ else {
2479
+ this._size = PoButtonSize[size] ? PoButtonSize[size] : PoButtonSize.medium;
2480
+ this.hasSize = true;
2481
+ }
2482
+ }
2483
+ get size() {
2484
+ return this._size;
2485
+ }
2429
2486
  /**
2430
2487
  * @optional
2431
2488
  *
@@ -2433,7 +2490,7 @@ class PoButtonBaseComponent {
2433
2490
  *
2434
2491
  * Define o estilo do `po-button`.
2435
2492
  *
2436
- * Valore válidos:
2493
+ * Valores válidos:
2437
2494
  * - `primary`: deixa o `po-button` com destaque, deve ser usado para ações primárias.
2438
2495
  * - `secondary`: estilo padrão do `po-button`.
2439
2496
  * - `tertiary`: o `po-button` é exibido sem cor do fundo, recebendo menos destaque entre as ações.
@@ -2463,9 +2520,12 @@ class PoButtonBaseComponent {
2463
2520
  }
2464
2521
  }
2465
2522
  PoButtonBaseComponent.ɵfac = function PoButtonBaseComponent_Factory(t) { return new (t || PoButtonBaseComponent)(); };
2466
- PoButtonBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoButtonBaseComponent, hostVars: 2, hostBindings: function PoButtonBaseComponent_HostBindings(rf, ctx) { if (rf & 2) {
2467
- i0.ɵɵattribute("p-danger", ctx.danger)("p-kind", ctx.kind);
2468
- } }, inputs: { label: ["p-label", "label"], icon: ["p-icon", "icon"], loading: ["p-loading", "loading"], small: ["p-small", "small"], type: ["p-type", "type"], danger: ["p-danger", "danger"], kind: ["p-kind", "kind"], disabled: ["p-disabled", "disabled"] }, outputs: { click: "p-click" } });
2523
+ PoButtonBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoButtonBaseComponent, hostVars: 3, hostBindings: function PoButtonBaseComponent_HostBindings(rf, ctx) { if (rf & 2) {
2524
+ i0.ɵɵattribute("p-danger", ctx.danger)("p-size", ctx.size)("p-kind", ctx.kind);
2525
+ } }, inputs: { label: ["p-label", "label"], icon: ["p-icon", "icon"], loading: ["p-loading", "loading"], small: ["p-small", "small"], type: ["p-type", "type"], danger: ["p-danger", "danger"], size: ["p-size", "size"], kind: ["p-kind", "kind"], disabled: ["p-disabled", "disabled"] }, outputs: { click: "p-click" } });
2526
+ __decorate([
2527
+ InputBoolean()
2528
+ ], PoButtonBaseComponent.prototype, "small", null);
2469
2529
  __decorate([
2470
2530
  InputBoolean()
2471
2531
  ], PoButtonBaseComponent.prototype, "danger", null);
@@ -2495,6 +2555,12 @@ __decorate([
2495
2555
  }, {
2496
2556
  type: Input,
2497
2557
  args: ['p-danger']
2558
+ }], size: [{
2559
+ type: HostBinding,
2560
+ args: ['attr.p-size']
2561
+ }, {
2562
+ type: Input,
2563
+ args: ['p-size']
2498
2564
  }], kind: [{
2499
2565
  type: HostBinding,
2500
2566
  args: ['attr.p-kind']
@@ -2584,7 +2650,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2584
2650
  } if (rf & 2) {
2585
2651
  let _t;
2586
2652
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonElement = _t.first);
2587
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 8, consts: [["type", "button", 1, "po-button", 3, "disabled", "click"], ["button", ""], ["class", "po-button-loading-icon", 4, "ngIf"], ["class", "po-button-icon", 3, "p-icon", 4, "ngIf"], ["class", "po-button-label", 4, "ngIf"], [1, "po-button-loading-icon"], ["p-neutral-color", ""], [1, "po-button-icon", 3, "p-icon"], [1, "po-button-label"]], template: function PoButtonComponent_Template(rf, ctx) { if (rf & 1) {
2653
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 9, consts: [["type", "button", 1, "po-button", 3, "disabled", "click"], ["button", ""], ["class", "po-button-loading-icon", 4, "ngIf"], ["class", "po-button-icon", 3, "p-icon", 4, "ngIf"], ["class", "po-button-label", 4, "ngIf"], [1, "po-button-loading-icon"], ["p-neutral-color", ""], [1, "po-button-icon", 3, "p-icon"], [1, "po-button-label"]], template: function PoButtonComponent_Template(rf, ctx) { if (rf & 1) {
2588
2654
  i0.ɵɵelementStart(0, "button", 0, 1);
2589
2655
  i0.ɵɵlistener("click", function PoButtonComponent_Template_button_click_0_listener() { return ctx.onClick(); });
2590
2656
  i0.ɵɵtemplate(2, PoButtonComponent_div_2_Template, 2, 0, "div", 2);
@@ -2594,7 +2660,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2594
2660
  } if (rf & 2) {
2595
2661
  i0.ɵɵclassProp("po-button-sm", ctx.small);
2596
2662
  i0.ɵɵproperty("disabled", ctx.disabled || ctx.loading);
2597
- i0.ɵɵattribute("p-kind", ctx.kind)("p-danger", ctx.danger);
2663
+ i0.ɵɵattribute("p-size", ctx.size)("p-kind", ctx.kind)("p-danger", ctx.danger);
2598
2664
  i0.ɵɵadvance(2);
2599
2665
  i0.ɵɵproperty("ngIf", ctx.loading);
2600
2666
  i0.ɵɵadvance(1);
@@ -2604,7 +2670,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2604
2670
  } }, dependencies: [i1.NgIf, PoLoadingIconComponent, PoIconComponent], encapsulation: 2, changeDetection: 0 });
2605
2671
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoButtonComponent, [{
2606
2672
  type: Component,
2607
- args: [{ selector: 'po-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n #button\n class=\"po-button\"\n type=\"button\"\n [attr.p-kind]=\"kind\"\n [attr.p-danger]=\"danger\"\n [class.po-button-sm]=\"small\"\n [disabled]=\"disabled || loading\"\n (click)=\"onClick()\"\n>\n <div *ngIf=\"loading\" class=\"po-button-loading-icon\">\n <po-loading-icon p-neutral-color></po-loading-icon>\n </div>\n\n <po-icon *ngIf=\"icon\" class=\"po-button-icon\" [p-icon]=\"icon\"></po-icon>\n <span *ngIf=\"label\" class=\"po-button-label\">{{ label }}</span>\n</button>\n" }]
2673
+ args: [{ selector: 'po-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n #button\n class=\"po-button\"\n type=\"button\"\n [attr.p-size]=\"size\"\n [attr.p-kind]=\"kind\"\n [attr.p-danger]=\"danger\"\n [class.po-button-sm]=\"small\"\n [disabled]=\"disabled || loading\"\n (click)=\"onClick()\"\n>\n <div *ngIf=\"loading\" class=\"po-button-loading-icon\">\n <po-loading-icon p-neutral-color></po-loading-icon>\n </div>\n\n <po-icon *ngIf=\"icon\" class=\"po-button-icon\" [p-icon]=\"icon\"></po-icon>\n <span *ngIf=\"label\" class=\"po-button-label\">{{ label }}</span>\n</button>\n" }]
2608
2674
  }], null, { buttonElement: [{
2609
2675
  type: ViewChild,
2610
2676
  args: ['button', { static: true }]
@@ -3363,10 +3429,17 @@ class PoButtonGroupBaseComponent {
3363
3429
  this._toggle = PO_TOGGLE_TYPE_DEFAULT;
3364
3430
  }
3365
3431
  /**
3432
+ * @deprecated 16.x.x
3433
+ *
3366
3434
  * @optional
3367
3435
  *
3368
3436
  * @description
3369
3437
  *
3438
+ * **Deprecated 16.x.x**.
3439
+ *
3440
+ * > Por regras de acessibilidade o botão não terá mais um tamanho menor do que 44px e por isso a propriedade será depreciada.
3441
+ * > [Saiba mais](https://animaliads.notion.site/Bot-o-fb3a921e8ba54bd38b39758c24613368)
3442
+ *
3370
3443
  * Torna o grupo de botões com tamanho minificado.
3371
3444
  *
3372
3445
  * @default `false`
@@ -9886,14 +9959,291 @@ __decorate([
9886
9959
  args: ['p-required']
9887
9960
  }] }); })();
9888
9961
 
9962
+ /**
9963
+ * @docsPrivate
9964
+ *
9965
+ * @description
9966
+ *
9967
+ * Enum que contém os valores numéricos dos *keyCodes*.
9968
+ */
9969
+ var PoKeyCodeEnum;
9970
+ (function (PoKeyCodeEnum) {
9971
+ /** Seta para baixo */
9972
+ PoKeyCodeEnum[PoKeyCodeEnum["arrowDown"] = 40] = "arrowDown";
9973
+ /** Seta para cima */
9974
+ PoKeyCodeEnum[PoKeyCodeEnum["arrowUp"] = 38] = "arrowUp";
9975
+ /** Backspace */
9976
+ PoKeyCodeEnum[PoKeyCodeEnum["backspace"] = 8] = "backspace";
9977
+ /** Delete */
9978
+ PoKeyCodeEnum[PoKeyCodeEnum["delete"] = 46] = "delete";
9979
+ /** Enter */
9980
+ PoKeyCodeEnum[PoKeyCodeEnum["enter"] = 13] = "enter";
9981
+ /** Esc */
9982
+ PoKeyCodeEnum[PoKeyCodeEnum["esc"] = 27] = "esc";
9983
+ /** Tecla K */
9984
+ PoKeyCodeEnum[PoKeyCodeEnum["keyK"] = 75] = "keyK";
9985
+ /** Tecla L */
9986
+ PoKeyCodeEnum[PoKeyCodeEnum["keyL"] = 76] = "keyL";
9987
+ /** Espaço */
9988
+ PoKeyCodeEnum[PoKeyCodeEnum["space"] = 32] = "space";
9989
+ /** Tab */
9990
+ PoKeyCodeEnum[PoKeyCodeEnum["tab"] = 9] = "tab";
9991
+ })(PoKeyCodeEnum || (PoKeyCodeEnum = {}));
9992
+
9993
+ /**
9994
+ * @description
9995
+ *
9996
+ * O componente `po-checkbox` exibe uma caixa de opção com um texto ao lado, na qual é possível marcar e desmarcar através tanto
9997
+ * no *click* do *mouse* quanto por meio da tecla *space* quando estiver com foco.
9998
+ *
9999
+ * Cada opção poderá receber um estado de marcado, desmarcado, indeterminado/mixed e desabilitado, como também uma ação que será disparada quando
10000
+ * ocorrer mudanças do valor.
10001
+ *
10002
+ * > O *model* deste componente aceitará valores igual à `true`, `false` ou `null` para quando for indeterminado/mixed.
10003
+ *
10004
+ * **Acessibilidade tratada no componente:**
10005
+ *
10006
+ * Algumas diretrizes de acessibilidade já são tratadas no componente, internamente, e não podem ser alteradas pelo proprietário do conteúdo. São elas:
10007
+ *
10008
+ * - O componente foi desenvolvido utilizando controles padrões HTML para permitir a identificação do mesmo na interface por tecnologias assistivas. [WCAG 4.1.2: Name, Role, Value](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
10009
+ * - A área do foco precisar ter uma espessura de pelo menos 2 pixels CSS e o foco não pode ficar escondido por outros elementos da tela. [WCAG 2.4.12: Focus Appearance](https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance-enhanced)
10010
+ * - A cor não deve ser o único meio para diferenciar o componente do seu estado marcado e desmarcado. [WGAG 1.4.1: Use of Color, 3.2.4: Consistent Identification](https://www.w3.org/WAI/WCAG21/Understanding/use-of-color)
10011
+ */
10012
+ class PoCheckboxBaseComponent {
10013
+ constructor() {
10014
+ /**
10015
+ * @optional
10016
+ *
10017
+ * @description
10018
+ *
10019
+ * Aplica foco no elemento ao ser iniciado.
10020
+ *
10021
+ * > Caso mais de um elemento seja configurado com essa propriedade, apenas o último elemento declarado com ela terá o foco.
10022
+ *
10023
+ * @default `false`
10024
+ */
10025
+ this.autoFocus = false;
10026
+ /**
10027
+ * @optional
10028
+ *
10029
+ * @description
10030
+ *
10031
+ * Evento disparado quando o valor do *checkbox* for alterado.
10032
+ */
10033
+ this.change = new EventEmitter();
10034
+ this.id = uuid();
10035
+ this._disabled = false;
10036
+ }
10037
+ /**
10038
+ * @optional
10039
+ *
10040
+ * @description
10041
+ *
10042
+ * Define o estado do *checkbox* como desabilitado.
10043
+ *
10044
+ * @default `false`
10045
+ */
10046
+ set disabled(value) {
10047
+ this._disabled = convertToBoolean(value);
10048
+ }
10049
+ get disabled() {
10050
+ return this._disabled;
10051
+ }
10052
+ changeValue() {
10053
+ if (this.propagateChange) {
10054
+ this.propagateChange(this.checkboxValue);
10055
+ }
10056
+ this.change.emit(this.checkboxValue);
10057
+ }
10058
+ checkOption(value) {
10059
+ if (!this.disabled) {
10060
+ value === 'mixed' ? this.changeModelValue(true) : this.changeModelValue(!value);
10061
+ this.changeValue();
10062
+ }
10063
+ }
10064
+ // Função implementada do ControlValueAccessor
10065
+ // Usada para interceptar os estados de habilitado via forms api
10066
+ setDisabledState(isDisabled) {
10067
+ this.disabled = isDisabled;
10068
+ }
10069
+ registerOnChange(fn) {
10070
+ this.propagateChange = fn;
10071
+ }
10072
+ registerOnTouched(fn) {
10073
+ this.onTouched = fn;
10074
+ }
10075
+ writeValue(value) {
10076
+ if (value !== this.checkboxValue) {
10077
+ this.changeModelValue(value);
10078
+ }
10079
+ }
10080
+ }
10081
+ PoCheckboxBaseComponent.ɵfac = function PoCheckboxBaseComponent_Factory(t) { return new (t || PoCheckboxBaseComponent)(); };
10082
+ PoCheckboxBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoCheckboxBaseComponent, inputs: { name: "name", autoFocus: ["p-auto-focus", "autoFocus"], label: ["p-label", "label"], checkboxValue: ["p-checkboxValue", "checkboxValue"], checkBoxRequired: ["p-required", "checkBoxRequired"], disabled: ["p-disabled", "disabled"] }, outputs: { change: "p-change" } });
10083
+ __decorate([
10084
+ InputBoolean()
10085
+ ], PoCheckboxBaseComponent.prototype, "autoFocus", void 0);
10086
+ __decorate([
10087
+ InputBoolean()
10088
+ ], PoCheckboxBaseComponent.prototype, "checkBoxRequired", void 0);
10089
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxBaseComponent, [{
10090
+ type: Directive
10091
+ }], null, { name: [{
10092
+ type: Input,
10093
+ args: ['name']
10094
+ }], autoFocus: [{
10095
+ type: Input,
10096
+ args: ['p-auto-focus']
10097
+ }], label: [{
10098
+ type: Input,
10099
+ args: ['p-label']
10100
+ }], change: [{
10101
+ type: Output,
10102
+ args: ['p-change']
10103
+ }], checkboxValue: [{
10104
+ type: Input,
10105
+ args: ['p-checkboxValue']
10106
+ }], checkBoxRequired: [{
10107
+ type: Input,
10108
+ args: ['p-required']
10109
+ }], disabled: [{
10110
+ type: Input,
10111
+ args: ['p-disabled']
10112
+ }] }); })();
10113
+
9889
10114
  const _c0$12 = ["checkboxLabel"];
9890
- function PoCheckboxGroupComponent_div_3_Template(rf, ctx) { if (rf & 1) {
10115
+ function PoCheckboxComponent_label_3_Template(rf, ctx) { if (rf & 1) {
10116
+ i0.ɵɵelementStart(0, "label", 4, 5);
10117
+ i0.ɵɵtext(2);
10118
+ i0.ɵɵelementEnd();
10119
+ } if (rf & 2) {
10120
+ const ctx_r0 = i0.ɵɵnextContext();
10121
+ i0.ɵɵproperty("for", ctx_r0.id);
10122
+ i0.ɵɵadvance(2);
10123
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.label, " ");
10124
+ } }
10125
+ /**
10126
+ * @docsExtends PoCheckboxBaseComponent
10127
+ *
10128
+ * @example
10129
+ *
10130
+ * <example name="po-checkbox-basic" title="PO Checkbox Basic">
10131
+ * <file name="sample-po-checkbox-basic/sample-po-checkbox-basic.component.html"> </file>
10132
+ * <file name="sample-po-checkbox-basic/sample-po-checkbox-basic.component.ts"> </file>
10133
+ * </example>
10134
+ *
10135
+ * <example name="po-checkbox-labs" title="PO Checkbox Labs">
10136
+ * <file name="sample-po-checkbox-labs/sample-po-checkbox-labs.component.html"> </file>
10137
+ * <file name="sample-po-checkbox-labs/sample-po-checkbox-labs.component.ts"> </file>
10138
+ * </example>
10139
+ *
10140
+ * <example name="po-checkbox-acceptance-term" title="PO Checkbox - Acceptance Term">
10141
+ * <file name="sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.html"> </file>
10142
+ * <file name="sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts"> </file>
10143
+ * </example>
10144
+ */
10145
+ class PoCheckboxComponent extends PoCheckboxBaseComponent {
10146
+ constructor(changeDetector) {
10147
+ super();
10148
+ this.changeDetector = changeDetector;
10149
+ }
10150
+ /**
10151
+ * Função que atribui foco ao *checkbox*.
10152
+ *
10153
+ * Para utilizá-la é necessário capturar a referência do componente no DOM através do `ViewChild`, como por exemplo:
10154
+ *
10155
+ * ```
10156
+ * ...
10157
+ * import { ViewChild } from '@angular/core';
10158
+ * import { PoCheckboxComponent } from '@po-ui/ng-components';
10159
+ *
10160
+ * ...
10161
+ *
10162
+ * @ViewChild(PoCheckboxComponent, { static: true }) checkbox: PoCheckboxComponent;
10163
+ *
10164
+ * focusCheckbox() {
10165
+ * this.checkbox.focus();
10166
+ * }
10167
+ * ```
10168
+ */
10169
+ focus() {
10170
+ if (this.checkboxLabel && !this.disabled) {
10171
+ this.checkboxLabel.nativeElement.focus();
10172
+ }
10173
+ }
10174
+ onBlur() {
10175
+ this.onTouched?.();
10176
+ }
10177
+ ngAfterViewInit() {
10178
+ if (this.autoFocus) {
10179
+ this.focus();
10180
+ }
10181
+ }
10182
+ onKeyDown(event, value) {
10183
+ if (event.which === PoKeyCodeEnum.space || event.keyCode === PoKeyCodeEnum.space) {
10184
+ this.checkOption(value);
10185
+ event.preventDefault();
10186
+ }
10187
+ }
10188
+ changeModelValue(value) {
10189
+ if (value === null) {
10190
+ this.checkboxValue = 'mixed';
10191
+ }
10192
+ else {
10193
+ this.checkboxValue = typeof value === 'boolean' || value === null ? value : false;
10194
+ }
10195
+ this.changeDetector.detectChanges();
10196
+ }
10197
+ }
10198
+ PoCheckboxComponent.ɵfac = function PoCheckboxComponent_Factory(t) { return new (t || PoCheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
10199
+ PoCheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxComponent, selectors: [["po-checkbox"]], viewQuery: function PoCheckboxComponent_Query(rf, ctx) { if (rf & 1) {
10200
+ i0.ɵɵviewQuery(_c0$12, 7);
10201
+ } if (rf & 2) {
10202
+ let _t;
10203
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabel = _t.first);
10204
+ } }, features: [i0.ɵɵProvidersFeature([
10205
+ {
10206
+ provide: NG_VALUE_ACCESSOR,
10207
+ useExisting: forwardRef(() => PoCheckboxComponent),
10208
+ multi: true
10209
+ }
10210
+ ]), i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 8, consts: [[1, "container-po-checkbox", 3, "click", "keydown"], ["role", "checkbox", 1, "po-checkbox-outline", 3, "tabindex"], ["aria-label", " ", 1, "po-checkbox", 3, "id"], ["class", "po-checkbox-label", "tabindex", "-1", 3, "for", 4, "ngIf"], ["tabindex", "-1", 1, "po-checkbox-label", 3, "for"], ["checkboxLabel", ""]], template: function PoCheckboxComponent_Template(rf, ctx) { if (rf & 1) {
10211
+ i0.ɵɵelementStart(0, "div", 0);
10212
+ i0.ɵɵlistener("click", function PoCheckboxComponent_Template_div_click_0_listener() { return ctx.checkOption(ctx.checkboxValue); })("keydown", function PoCheckboxComponent_Template_div_keydown_0_listener($event) { return ctx.onKeyDown($event, ctx.checkboxValue); });
10213
+ i0.ɵɵelementStart(1, "div", 1);
10214
+ i0.ɵɵelement(2, "span", 2);
10215
+ i0.ɵɵtemplate(3, PoCheckboxComponent_label_3_Template, 3, 2, "label", 3);
10216
+ i0.ɵɵelementEnd()();
10217
+ } if (rf & 2) {
10218
+ i0.ɵɵattribute("checked", ctx.checkboxValue);
10219
+ i0.ɵɵadvance(1);
10220
+ i0.ɵɵproperty("tabindex", ctx.disabled ? -1 : 0);
10221
+ i0.ɵɵattribute("aria-checked", ctx.checkboxValue);
10222
+ i0.ɵɵadvance(1);
10223
+ i0.ɵɵproperty("id", ctx.id);
10224
+ i0.ɵɵattribute("aria-checked", ctx.checkboxValue)("aria-disabled", ctx.disabled)("required", ctx.checkBoxRequired);
10225
+ i0.ɵɵadvance(1);
10226
+ i0.ɵɵproperty("ngIf", ctx.label);
10227
+ } }, dependencies: [i1.NgIf], encapsulation: 2, changeDetection: 0 });
10228
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxComponent, [{
10229
+ type: Component,
10230
+ args: [{ selector: 'po-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
10231
+ {
10232
+ provide: NG_VALUE_ACCESSOR,
10233
+ useExisting: forwardRef(() => PoCheckboxComponent),
10234
+ multi: true
10235
+ }
10236
+ ], template: "<div\n class=\"container-po-checkbox\"\n [attr.checked]=\"checkboxValue\"\n (click)=\"checkOption(checkboxValue)\"\n (keydown)=\"onKeyDown($event, checkboxValue)\"\n>\n <div role=\"checkbox\" class=\"po-checkbox-outline\" [tabindex]=\"disabled ? -1 : 0\" [attr.aria-checked]=\"checkboxValue\">\n <span\n [attr.aria-checked]=\"checkboxValue\"\n aria-label=\" \"\n [id]=\"id\"\n class=\"po-checkbox\"\n [attr.aria-disabled]=\"disabled\"\n [attr.required]=\"checkBoxRequired\"\n >\n </span>\n\n <label *ngIf=\"label\" #checkboxLabel [for]=\"id\" class=\"po-checkbox-label\" tabindex=\"-1\">\n {{ label }}\n </label>\n </div>\n</div>\n" }]
10237
+ }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { checkboxLabel: [{
10238
+ type: ViewChild,
10239
+ args: ['checkboxLabel', { static: true }]
10240
+ }] }); })();
10241
+
10242
+ const _c0$11 = ["checkboxLabel"];
10243
+ function PoCheckboxGroupComponent_li_3_Template(rf, ctx) { if (rf & 1) {
9891
10244
  const _r4 = i0.ɵɵgetCurrentView();
9892
- i0.ɵɵelementStart(0, "div");
9893
- i0.ɵɵelement(1, "input", 4);
9894
- i0.ɵɵelementStart(2, "label", 5, 6);
9895
- i0.ɵɵlistener("click", function PoCheckboxGroupComponent_div_3_Template_label_click_2_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const option_r1 = restoredCtx.$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.checkOption(option_r1)); })("keydown", function PoCheckboxGroupComponent_div_3_Template_label_keydown_2_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r4); const option_r1 = restoredCtx.$implicit; const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onKeyDown($event, option_r1)); });
9896
- i0.ɵɵtext(4);
10245
+ i0.ɵɵelementStart(0, "li")(1, "po-checkbox", 4, 5);
10246
+ i0.ɵɵlistener("click", function PoCheckboxGroupComponent_li_3_Template_po_checkbox_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const option_r1 = restoredCtx.$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.checkOption(option_r1)); })("keydown", function PoCheckboxGroupComponent_li_3_Template_po_checkbox_keydown_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r4); const option_r1 = restoredCtx.$implicit; const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.onKeyDown($event, option_r1)); });
9897
10247
  i0.ɵɵelementEnd()();
9898
10248
  } if (rf & 2) {
9899
10249
  const option_r1 = ctx.$implicit;
@@ -9901,13 +10251,7 @@ function PoCheckboxGroupComponent_div_3_Template(rf, ctx) { if (rf & 1) {
9901
10251
  i0.ɵɵclassMapInterpolate2("po-checkbox-group-item po-md-", ctx_r0.mdColumns, " po-lg-", ctx_r0.columns, "");
9902
10252
  i0.ɵɵclassProp("po-checkbox-group-item-disabled", option_r1.disabled || ctx_r0.disabled);
9903
10253
  i0.ɵɵadvance(1);
9904
- i0.ɵɵclassProp("po-checkbox-group-input-checked", ctx_r0.checkedOptions[option_r1.value])("po-checkbox-group-input-indeterminate", ctx_r0.checkedOptions[option_r1.value] === null);
9905
- i0.ɵɵproperty("checked", option_r1.value)("disabled", option_r1.disabled || ctx_r0.disabled)("id", option_r1.id)("required", ctx_r0.required)("value", option_r1.value);
9906
- i0.ɵɵadvance(1);
9907
- i0.ɵɵclassProp("po-clickable", !option_r1.disabled && !ctx_r0.disabled);
9908
- i0.ɵɵproperty("for", option_r1.id)("tabindex", option_r1.disabled || ctx_r0.disabled ? -1 : 0);
9909
- i0.ɵɵadvance(2);
9910
- i0.ɵɵtextInterpolate1(" ", option_r1.label, " ");
10254
+ i0.ɵɵproperty("p-label", option_r1.label)("p-disabled", option_r1.disabled || ctx_r0.disabled)("p-checkboxValue", ctx_r0.checkedOptions[option_r1.value] === null ? "mixed" : ctx_r0.checkedOptions[option_r1.value])("p-required", ctx_r0.required);
9911
10255
  } }
9912
10256
  /**
9913
10257
  * @docsExtends PoCheckboxGroupBaseComponent
@@ -9980,7 +10324,7 @@ class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent {
9980
10324
  }
9981
10325
  PoCheckboxGroupComponent.ɵfac = function PoCheckboxGroupComponent_Factory(t) { return new (t || PoCheckboxGroupComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
9982
10326
  PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxGroupComponent, selectors: [["po-checkbox-group"]], viewQuery: function PoCheckboxGroupComponent_Query(rf, ctx) { if (rf & 1) {
9983
- i0.ɵɵviewQuery(_c0$12, 5);
10327
+ i0.ɵɵviewQuery(_c0$11, 5);
9984
10328
  } if (rf & 2) {
9985
10329
  let _t;
9986
10330
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabels = _t);
@@ -9995,17 +10339,19 @@ PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
9995
10339
  useExisting: forwardRef(() => PoCheckboxGroupComponent),
9996
10340
  multi: true
9997
10341
  }
9998
- ]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 5, consts: [[3, "p-help", "p-label", "p-optional"], [1, "po-field-container-content", "po-checkbox-group-content"], [1, "po-row", "po-pt-1", "po-pb-1"], [3, "class", "po-checkbox-group-item-disabled", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["type", "checkbox", 1, "po-input", "po-checkbox-group-input", 3, "checked", "disabled", "id", "required", "value"], [1, "po-checkbox-group-label", 3, "for", "tabindex", "click", "keydown"], ["checkboxLabel", ""]], template: function PoCheckboxGroupComponent_Template(rf, ctx) { if (rf & 1) {
9999
- i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1)(2, "div", 2);
10000
- i0.ɵɵtemplate(3, PoCheckboxGroupComponent_div_3_Template, 5, 20, "div", 3);
10342
+ ]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [[3, "p-help", "p-label", "p-optional"], ["role", "group", 1, "po-field-container-content", "po-checkbox-group-content"], [1, "po-row", "po-pt-2", "po-pb-1"], [3, "class", "po-checkbox-group-item-disabled", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-label", "p-disabled", "p-checkboxValue", "p-required", "click", "keydown"], ["checkboxLabel", ""]], template: function PoCheckboxGroupComponent_Template(rf, ctx) { if (rf & 1) {
10343
+ i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1)(2, "ul", 2);
10344
+ i0.ɵɵtemplate(3, PoCheckboxGroupComponent_li_3_Template, 3, 10, "li", 3);
10001
10345
  i0.ɵɵelementEnd()();
10002
10346
  i0.ɵɵelement(4, "po-field-container-bottom");
10003
10347
  i0.ɵɵelementEnd();
10004
10348
  } if (rf & 2) {
10005
10349
  i0.ɵɵproperty("p-help", ctx.help)("p-label", ctx.label)("p-optional", !ctx.required && ctx.optional);
10006
- i0.ɵɵadvance(3);
10350
+ i0.ɵɵadvance(1);
10351
+ i0.ɵɵattribute("aria-label", ctx.label);
10352
+ i0.ɵɵadvance(2);
10007
10353
  i0.ɵɵproperty("ngForOf", ctx.checkboxGroupOptionsView)("ngForTrackBy", ctx.trackByFn);
10008
- } }, dependencies: [i1.NgForOf, PoFieldContainerBottomComponent, PoFieldContainerComponent], encapsulation: 2, changeDetection: 0 });
10354
+ } }, dependencies: [i1.NgForOf, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoCheckboxComponent], encapsulation: 2, changeDetection: 0 });
10009
10355
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxGroupComponent, [{
10010
10356
  type: Component,
10011
10357
  args: [{ selector: 'po-checkbox-group', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
@@ -10019,12 +10365,27 @@ PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
10019
10365
  useExisting: forwardRef(() => PoCheckboxGroupComponent),
10020
10366
  multi: true
10021
10367
  }
10022
- ], template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content po-checkbox-group-content\">\n <div class=\"po-row po-pt-1 po-pb-1\">\n <div\n *ngFor=\"let option of checkboxGroupOptionsView; trackBy: trackByFn\"\n class=\"po-checkbox-group-item po-md-{{ mdColumns }} po-lg-{{ columns }}\"\n [class.po-checkbox-group-item-disabled]=\"option.disabled || disabled\"\n >\n <input\n class=\"po-input po-checkbox-group-input\"\n type=\"checkbox\"\n [class.po-checkbox-group-input-checked]=\"checkedOptions[option.value]\"\n [class.po-checkbox-group-input-indeterminate]=\"checkedOptions[option.value] === null\"\n [checked]=\"option.value\"\n [disabled]=\"option.disabled || disabled\"\n [id]=\"option.id\"\n [required]=\"required\"\n [value]=\"option.value\"\n />\n\n <label\n #checkboxLabel\n class=\"po-checkbox-group-label\"\n [class.po-clickable]=\"!option.disabled && !disabled\"\n [for]=\"option.id\"\n [tabindex]=\"option.disabled || disabled ? -1 : 0\"\n (click)=\"checkOption(option)\"\n (keydown)=\"onKeyDown($event, option)\"\n >\n {{ option.label }}\n </label>\n </div>\n </div>\n </div>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
10368
+ ], template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div role=\"group\" [attr.aria-label]=\"label\" class=\"po-field-container-content po-checkbox-group-content\">\n <ul class=\"po-row po-pt-2 po-pb-1\">\n <li\n *ngFor=\"let option of checkboxGroupOptionsView; trackBy: trackByFn\"\n class=\"po-checkbox-group-item po-md-{{ mdColumns }} po-lg-{{ columns }}\"\n [class.po-checkbox-group-item-disabled]=\"option.disabled || disabled\"\n >\n <po-checkbox\n #checkboxLabel\n [p-label]=\"option.label\"\n [p-disabled]=\"option.disabled || disabled\"\n (click)=\"checkOption(option)\"\n (keydown)=\"onKeyDown($event, option)\"\n [p-checkboxValue]=\"checkedOptions[option.value] === null ? 'mixed' : checkedOptions[option.value]\"\n [p-required]=\"required\"\n >\n </po-checkbox>\n </li>\n </ul>\n </div>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
10023
10369
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { checkboxLabels: [{
10024
10370
  type: ViewChildren,
10025
10371
  args: ['checkboxLabel']
10026
10372
  }] }); })();
10027
10373
 
10374
+ class PoCheckboxModule {
10375
+ }
10376
+ PoCheckboxModule.ɵfac = function PoCheckboxModule_Factory(t) { return new (t || PoCheckboxModule)(); };
10377
+ PoCheckboxModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoCheckboxModule });
10378
+ PoCheckboxModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule] });
10379
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxModule, [{
10380
+ type: NgModule,
10381
+ args: [{
10382
+ declarations: [PoCheckboxComponent],
10383
+ imports: [CommonModule, FormsModule],
10384
+ exports: [PoCheckboxComponent]
10385
+ }]
10386
+ }], null, null); })();
10387
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoCheckboxModule, { declarations: [PoCheckboxComponent], imports: [CommonModule, FormsModule], exports: [PoCheckboxComponent] }); })();
10388
+
10028
10389
  /**
10029
10390
  * @description
10030
10391
  *
@@ -10034,16 +10395,16 @@ class PoCheckboxGroupModule {
10034
10395
  }
10035
10396
  PoCheckboxGroupModule.ɵfac = function PoCheckboxGroupModule_Factory(t) { return new (t || PoCheckboxGroupModule)(); };
10036
10397
  PoCheckboxGroupModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoCheckboxGroupModule });
10037
- PoCheckboxGroupModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule, PoFieldContainerModule] });
10398
+ PoCheckboxGroupModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule, PoFieldContainerModule, PoCheckboxModule] });
10038
10399
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxGroupModule, [{
10039
10400
  type: NgModule,
10040
10401
  args: [{
10041
- imports: [CommonModule, FormsModule, PoFieldContainerModule],
10402
+ imports: [CommonModule, FormsModule, PoFieldContainerModule, PoCheckboxModule],
10042
10403
  exports: [PoCheckboxGroupComponent],
10043
10404
  declarations: [PoCheckboxGroupComponent]
10044
10405
  }]
10045
10406
  }], null, null); })();
10046
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoCheckboxGroupModule, { declarations: [PoCheckboxGroupComponent], imports: [CommonModule, FormsModule, PoFieldContainerModule], exports: [PoCheckboxGroupComponent] }); })();
10407
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoCheckboxGroupModule, { declarations: [PoCheckboxGroupComponent], imports: [CommonModule, FormsModule, PoFieldContainerModule, PoCheckboxModule], exports: [PoCheckboxGroupComponent] }); })();
10047
10408
 
10048
10409
  /**
10049
10410
  * @docsPrivate
@@ -10878,12 +11239,7 @@ class PoDatepickerBaseComponent {
10878
11239
  return this._locale || this.shortLanguage;
10879
11240
  }
10880
11241
  set date(value) {
10881
- if (this.isExtendedISO) {
10882
- this._date = typeof value === 'string' ? convertIsoToDate(value, false, false) : value;
10883
- }
10884
- else {
10885
- this._date = typeof value === 'string' ? convertIsoToDateNoTimezone(value) : value;
10886
- }
11242
+ this._date = typeof value === 'string' ? convertIsoToDate(value, false, false) : value;
10887
11243
  }
10888
11244
  get date() {
10889
11245
  return this._date;
@@ -11053,7 +11409,7 @@ __decorate([
11053
11409
  args: ['p-locale']
11054
11410
  }] }); })();
11055
11411
 
11056
- const _c0$11 = ["calendar"];
11412
+ const _c0$10 = ["calendar"];
11057
11413
  const _c1$u = ["dialogPicker"];
11058
11414
  const _c2$d = ["iconDatepicker"];
11059
11415
  const _c3$7 = ["inp"];
@@ -11191,6 +11547,7 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
11191
11547
  }
11192
11548
  }
11193
11549
  dateSelected() {
11550
+ this.onTouchedModel?.();
11194
11551
  if (!this.verifyMobile()) {
11195
11552
  this.inputEl.nativeElement.focus();
11196
11553
  }
@@ -11372,7 +11729,7 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
11372
11729
  }
11373
11730
  PoDatepickerComponent.ɵfac = function PoDatepickerComponent_Factory(t) { return new (t || PoDatepickerComponent)(i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
11374
11731
  PoDatepickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerComponent, selectors: [["po-datepicker"]], viewQuery: function PoDatepickerComponent_Query(rf, ctx) { if (rf & 1) {
11375
- i0.ɵɵviewQuery(_c0$11, 7);
11732
+ i0.ɵɵviewQuery(_c0$10, 7);
11376
11733
  i0.ɵɵviewQuery(_c1$u, 7, ElementRef);
11377
11734
  i0.ɵɵviewQuery(_c2$d, 7, ElementRef);
11378
11735
  i0.ɵɵviewQuery(_c3$7, 7, ElementRef);
@@ -11636,7 +11993,7 @@ PoModalBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoModa
11636
11993
  args: ['p-hide-close']
11637
11994
  }] }); })();
11638
11995
 
11639
- const _c0$10 = ["*"];
11996
+ const _c0$$ = ["*"];
11640
11997
  /**
11641
11998
  * @description
11642
11999
  *
@@ -11670,7 +12027,7 @@ class PoModalFooterComponent {
11670
12027
  }
11671
12028
  }
11672
12029
  PoModalFooterComponent.ɵfac = function PoModalFooterComponent_Factory(t) { return new (t || PoModalFooterComponent)(); };
11673
- PoModalFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0$10, decls: 2, vars: 2, consts: [[1, "po-modal-footer"]], template: function PoModalFooterComponent_Template(rf, ctx) { if (rf & 1) {
12030
+ PoModalFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0$$, decls: 2, vars: 2, consts: [[1, "po-modal-footer"]], template: function PoModalFooterComponent_Template(rf, ctx) { if (rf & 1) {
11674
12031
  i0.ɵɵprojectionDef();
11675
12032
  i0.ɵɵelementStart(0, "div", 0);
11676
12033
  i0.ɵɵprojection(1);
@@ -11700,7 +12057,7 @@ PoActiveOverlayService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: P
11700
12057
  }]
11701
12058
  }], null, null); })();
11702
12059
 
11703
- const _c0$$ = ["modalContent"];
12060
+ const _c0$_ = ["modalContent"];
11704
12061
  function PoModalComponent_div_0_a_9_Template(rf, ctx) { if (rf & 1) {
11705
12062
  const _r7 = i0.ɵɵgetCurrentView();
11706
12063
  i0.ɵɵelementStart(0, "a", 13);
@@ -11864,7 +12221,7 @@ PoModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalCom
11864
12221
  let _t;
11865
12222
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalFooter = _t.first);
11866
12223
  } }, viewQuery: function PoModalComponent_Query(rf, ctx) { if (rf & 1) {
11867
- i0.ɵɵviewQuery(_c0$$, 5, ElementRef);
12224
+ i0.ɵɵviewQuery(_c0$_, 5, ElementRef);
11868
12225
  } if (rf & 2) {
11869
12226
  let _t;
11870
12227
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
@@ -12674,7 +13031,7 @@ var PoToasterType;
12674
13031
  PoToasterType[PoToasterType["Warning"] = 3] = "Warning";
12675
13032
  })(PoToasterType || (PoToasterType = {}));
12676
13033
 
12677
- const _c0$_ = ["toaster"];
13034
+ const _c0$Z = ["toaster"];
12678
13035
  const _c1$s = ["buttonClose"];
12679
13036
  function PoToasterComponent_po_button_8_Template(rf, ctx) { if (rf & 1) {
12680
13037
  const _r4 = i0.ɵɵgetCurrentView();
@@ -12810,7 +13167,7 @@ class PoToasterComponent extends PoToasterBaseComponent {
12810
13167
  }
12811
13168
  PoToasterComponent.ɵfac = function PoToasterComponent_Factory(t) { return new (t || PoToasterComponent)(i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
12812
13169
  PoToasterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoToasterComponent, selectors: [["po-toaster"]], viewQuery: function PoToasterComponent_Query(rf, ctx) { if (rf & 1) {
12813
- i0.ɵɵviewQuery(_c0$_, 5);
13170
+ i0.ɵɵviewQuery(_c0$Z, 5);
12814
13171
  i0.ɵɵviewQuery(_c1$s, 5);
12815
13172
  } if (rf & 2) {
12816
13173
  let _t;
@@ -13052,7 +13409,7 @@ PoPopoverBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPo
13052
13409
  args: ['p-trigger']
13053
13410
  }] }); })();
13054
13411
 
13055
- const _c0$Z = ["popoverElement"];
13412
+ const _c0$Y = ["popoverElement"];
13056
13413
  function PoPopoverComponent_div_2_Template(rf, ctx) { if (rf & 1) {
13057
13414
  i0.ɵɵelement(0, "div");
13058
13415
  } if (rf & 2) {
@@ -13191,7 +13548,7 @@ class PoPopoverComponent extends PoPopoverBaseComponent {
13191
13548
  }
13192
13549
  PoPopoverComponent.ɵfac = function PoPopoverComponent_Factory(t) { return new (t || PoPopoverComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoControlPositionService)); };
13193
13550
  PoPopoverComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopoverComponent, selectors: [["po-popover"]], viewQuery: function PoPopoverComponent_Query(rf, ctx) { if (rf & 1) {
13194
- i0.ɵɵviewQuery(_c0$Z, 7, ElementRef);
13551
+ i0.ɵɵviewQuery(_c0$Y, 7, ElementRef);
13195
13552
  } if (rf & 2) {
13196
13553
  let _t;
13197
13554
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverElement = _t.first);
@@ -13315,281 +13672,6 @@ PoTimeModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
13315
13672
  }], null, null); })();
13316
13673
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoTimeModule, { declarations: [PoTimePipe], exports: [PoTimePipe] }); })();
13317
13674
 
13318
- /**
13319
- * @docsPrivate
13320
- *
13321
- * @description
13322
- *
13323
- * Enum que contém os valores numéricos dos *keyCodes*.
13324
- */
13325
- var PoKeyCodeEnum;
13326
- (function (PoKeyCodeEnum) {
13327
- /** Seta para baixo */
13328
- PoKeyCodeEnum[PoKeyCodeEnum["arrowDown"] = 40] = "arrowDown";
13329
- /** Seta para cima */
13330
- PoKeyCodeEnum[PoKeyCodeEnum["arrowUp"] = 38] = "arrowUp";
13331
- /** Backspace */
13332
- PoKeyCodeEnum[PoKeyCodeEnum["backspace"] = 8] = "backspace";
13333
- /** Delete */
13334
- PoKeyCodeEnum[PoKeyCodeEnum["delete"] = 46] = "delete";
13335
- /** Enter */
13336
- PoKeyCodeEnum[PoKeyCodeEnum["enter"] = 13] = "enter";
13337
- /** Esc */
13338
- PoKeyCodeEnum[PoKeyCodeEnum["esc"] = 27] = "esc";
13339
- /** Tecla K */
13340
- PoKeyCodeEnum[PoKeyCodeEnum["keyK"] = 75] = "keyK";
13341
- /** Tecla L */
13342
- PoKeyCodeEnum[PoKeyCodeEnum["keyL"] = 76] = "keyL";
13343
- /** Espaço */
13344
- PoKeyCodeEnum[PoKeyCodeEnum["space"] = 32] = "space";
13345
- /** Tab */
13346
- PoKeyCodeEnum[PoKeyCodeEnum["tab"] = 9] = "tab";
13347
- })(PoKeyCodeEnum || (PoKeyCodeEnum = {}));
13348
-
13349
- /**
13350
- * @description
13351
- *
13352
- * O componente `po-checkbox` exibe uma caixa de opção com um texto ao lado, na qual é possível marcar e desmarcar através tanto
13353
- * no *click* do *mouse* quanto por meio da tecla *space* quando estiver com foco.
13354
- *
13355
- * Cada opção poderá receber um estado de marcado, desmarcado, indeterminado/mixed e desabilitado, como também uma ação que será disparada quando
13356
- * ocorrer mudanças do valor.
13357
- *
13358
- * > O *model* deste componente aceitará valores igual à `true`, `false` ou `null` para quando for indeterminado/mixed.
13359
- *
13360
- * **Acessibilidade tratada no componente:**
13361
- *
13362
- * Algumas diretrizes de acessibilidade já são tratadas no componente, internamente, e não podem ser alteradas pelo proprietário do conteúdo. São elas:
13363
- *
13364
- * - O componente foi desenvolvido utilizando controles padrões HTML para permitir a identificação do mesmo na interface por tecnologias assistivas. [WCAG 4.1.2: Name, Role, Value](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
13365
- * - A área do foco precisar ter uma espessura de pelo menos 2 pixels CSS e o foco não pode ficar escondido por outros elementos da tela. [WCAG 2.4.12: Focus Appearance](https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance-enhanced)
13366
- * - A cor não deve ser o único meio para diferenciar o componente do seu estado marcado e desmarcado. [WGAG 1.4.1: Use of Color, 3.2.4: Consistent Identification](https://www.w3.org/WAI/WCAG21/Understanding/use-of-color)
13367
- */
13368
- class PoCheckboxBaseComponent {
13369
- constructor() {
13370
- /**
13371
- * @optional
13372
- *
13373
- * @description
13374
- *
13375
- * Aplica foco no elemento ao ser iniciado.
13376
- *
13377
- * > Caso mais de um elemento seja configurado com essa propriedade, apenas o último elemento declarado com ela terá o foco.
13378
- *
13379
- * @default `false`
13380
- */
13381
- this.autoFocus = false;
13382
- /**
13383
- * @optional
13384
- *
13385
- * @description
13386
- *
13387
- * Evento disparado quando o valor do *checkbox* for alterado.
13388
- */
13389
- this.change = new EventEmitter();
13390
- this.id = uuid();
13391
- this._disabled = false;
13392
- }
13393
- /**
13394
- * @optional
13395
- *
13396
- * @description
13397
- *
13398
- * Define o estado do *checkbox* como desabilitado.
13399
- *
13400
- * @default `false`
13401
- */
13402
- set disabled(value) {
13403
- this._disabled = convertToBoolean(value);
13404
- }
13405
- get disabled() {
13406
- return this._disabled;
13407
- }
13408
- changeValue() {
13409
- if (this.propagateChange) {
13410
- this.propagateChange(this.checkboxValue);
13411
- }
13412
- this.change.emit(this.checkboxValue);
13413
- }
13414
- checkOption(value) {
13415
- if (!this.disabled) {
13416
- value === 'mixed' ? this.changeModelValue(true) : this.changeModelValue(!value);
13417
- this.changeValue();
13418
- }
13419
- }
13420
- // Função implementada do ControlValueAccessor
13421
- // Usada para interceptar os estados de habilitado via forms api
13422
- setDisabledState(isDisabled) {
13423
- this.disabled = isDisabled;
13424
- }
13425
- registerOnChange(fn) {
13426
- this.propagateChange = fn;
13427
- }
13428
- registerOnTouched(fn) {
13429
- this.onTouched = fn;
13430
- }
13431
- writeValue(value) {
13432
- if (value !== this.checkboxValue) {
13433
- this.changeModelValue(value);
13434
- }
13435
- }
13436
- }
13437
- PoCheckboxBaseComponent.ɵfac = function PoCheckboxBaseComponent_Factory(t) { return new (t || PoCheckboxBaseComponent)(); };
13438
- PoCheckboxBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoCheckboxBaseComponent, inputs: { name: "name", autoFocus: ["p-auto-focus", "autoFocus"], label: ["p-label", "label"], disabled: ["p-disabled", "disabled"] }, outputs: { change: "p-change" } });
13439
- __decorate([
13440
- InputBoolean()
13441
- ], PoCheckboxBaseComponent.prototype, "autoFocus", void 0);
13442
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxBaseComponent, [{
13443
- type: Directive
13444
- }], null, { name: [{
13445
- type: Input,
13446
- args: ['name']
13447
- }], autoFocus: [{
13448
- type: Input,
13449
- args: ['p-auto-focus']
13450
- }], label: [{
13451
- type: Input,
13452
- args: ['p-label']
13453
- }], change: [{
13454
- type: Output,
13455
- args: ['p-change']
13456
- }], disabled: [{
13457
- type: Input,
13458
- args: ['p-disabled']
13459
- }] }); })();
13460
-
13461
- const _c0$Y = ["checkboxLabel"];
13462
- /**
13463
- * @docsExtends PoCheckboxBaseComponent
13464
- *
13465
- * @example
13466
- *
13467
- * <example name="po-checkbox-basic" title="PO Checkbox Basic">
13468
- * <file name="sample-po-checkbox-basic/sample-po-checkbox-basic.component.html"> </file>
13469
- * <file name="sample-po-checkbox-basic/sample-po-checkbox-basic.component.ts"> </file>
13470
- * </example>
13471
- *
13472
- * <example name="po-checkbox-labs" title="PO Checkbox Labs">
13473
- * <file name="sample-po-checkbox-labs/sample-po-checkbox-labs.component.html"> </file>
13474
- * <file name="sample-po-checkbox-labs/sample-po-checkbox-labs.component.ts"> </file>
13475
- * </example>
13476
- *
13477
- * <example name="po-checkbox-acceptance-term" title="PO Checkbox - Acceptance Term">
13478
- * <file name="sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.html"> </file>
13479
- * <file name="sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts"> </file>
13480
- * </example>
13481
- */
13482
- class PoCheckboxComponent extends PoCheckboxBaseComponent {
13483
- constructor(changeDetector) {
13484
- super();
13485
- this.changeDetector = changeDetector;
13486
- }
13487
- /**
13488
- * Função que atribui foco ao *checkbox*.
13489
- *
13490
- * Para utilizá-la é necessário capturar a referência do componente no DOM através do `ViewChild`, como por exemplo:
13491
- *
13492
- * ```
13493
- * ...
13494
- * import { ViewChild } from '@angular/core';
13495
- * import { PoCheckboxComponent } from '@po-ui/ng-components';
13496
- *
13497
- * ...
13498
- *
13499
- * @ViewChild(PoCheckboxComponent, { static: true }) checkbox: PoCheckboxComponent;
13500
- *
13501
- * focusCheckbox() {
13502
- * this.checkbox.focus();
13503
- * }
13504
- * ```
13505
- */
13506
- focus() {
13507
- if (this.checkboxLabel && !this.disabled) {
13508
- this.checkboxLabel.nativeElement.focus();
13509
- }
13510
- }
13511
- onBlur() {
13512
- this.onTouched?.();
13513
- }
13514
- ngAfterViewInit() {
13515
- if (this.autoFocus) {
13516
- this.focus();
13517
- }
13518
- }
13519
- onKeyDown(event, value) {
13520
- if (event.which === PoKeyCodeEnum.space || event.keyCode === PoKeyCodeEnum.space) {
13521
- this.checkOption(value);
13522
- event.preventDefault();
13523
- }
13524
- }
13525
- changeModelValue(value) {
13526
- if (value === null) {
13527
- this.checkboxValue = 'mixed';
13528
- }
13529
- else {
13530
- this.checkboxValue = typeof value === 'boolean' || value === null ? value : false;
13531
- }
13532
- this.changeDetector.detectChanges();
13533
- }
13534
- }
13535
- PoCheckboxComponent.ɵfac = function PoCheckboxComponent_Factory(t) { return new (t || PoCheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
13536
- PoCheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxComponent, selectors: [["po-checkbox"]], viewQuery: function PoCheckboxComponent_Query(rf, ctx) { if (rf & 1) {
13537
- i0.ɵɵviewQuery(_c0$Y, 7);
13538
- } if (rf & 2) {
13539
- let _t;
13540
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabel = _t.first);
13541
- } }, features: [i0.ɵɵProvidersFeature([
13542
- {
13543
- provide: NG_VALUE_ACCESSOR,
13544
- useExisting: forwardRef(() => PoCheckboxComponent),
13545
- multi: true
13546
- }
13547
- ]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 8, consts: [[1, "container-po-checkbox", 3, "click", "keydown"], ["role", "checkbox", 1, "po-checkbox", 3, "id", "tabindex"], ["tabindex", "-1", 1, "po-checkbox-label", 3, "for"], ["checkboxLabel", ""]], template: function PoCheckboxComponent_Template(rf, ctx) { if (rf & 1) {
13548
- i0.ɵɵelementStart(0, "div", 0);
13549
- i0.ɵɵlistener("click", function PoCheckboxComponent_Template_div_click_0_listener() { return ctx.checkOption(ctx.checkboxValue); })("keydown", function PoCheckboxComponent_Template_div_keydown_0_listener($event) { return ctx.onKeyDown($event, ctx.checkboxValue); });
13550
- i0.ɵɵelement(1, "span", 1);
13551
- i0.ɵɵelementStart(2, "label", 2, 3);
13552
- i0.ɵɵtext(4);
13553
- i0.ɵɵelementEnd()();
13554
- } if (rf & 2) {
13555
- i0.ɵɵattribute("checked", ctx.checkboxValue);
13556
- i0.ɵɵadvance(1);
13557
- i0.ɵɵproperty("id", ctx.id)("tabindex", ctx.disabled ? -1 : 0);
13558
- i0.ɵɵattribute("aria-checked", ctx.checkboxValue)("aria-label", ctx.label)("aria-disabled", ctx.disabled);
13559
- i0.ɵɵadvance(1);
13560
- i0.ɵɵproperty("for", ctx.id);
13561
- i0.ɵɵadvance(2);
13562
- i0.ɵɵtextInterpolate1(" ", ctx.label, " ");
13563
- } }, encapsulation: 2, changeDetection: 0 });
13564
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxComponent, [{
13565
- type: Component,
13566
- args: [{ selector: 'po-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
13567
- {
13568
- provide: NG_VALUE_ACCESSOR,
13569
- useExisting: forwardRef(() => PoCheckboxComponent),
13570
- multi: true
13571
- }
13572
- ], template: "<div\n class=\"container-po-checkbox\"\n [attr.checked]=\"checkboxValue\"\n (click)=\"checkOption(checkboxValue)\"\n (keydown)=\"onKeyDown($event, checkboxValue)\"\n>\n <span\n [attr.aria-checked]=\"checkboxValue\"\n [attr.aria-label]=\"label\"\n [id]=\"id\"\n class=\"po-checkbox\"\n role=\"checkbox\"\n [attr.aria-disabled]=\"disabled\"\n [tabindex]=\"disabled ? -1 : 0\"\n >\n </span>\n\n <label #checkboxLabel [for]=\"id\" class=\"po-checkbox-label\" tabindex=\"-1\">\n {{ label }}\n </label>\n</div>\n" }]
13573
- }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { checkboxLabel: [{
13574
- type: ViewChild,
13575
- args: ['checkboxLabel', { static: true }]
13576
- }] }); })();
13577
-
13578
- class PoCheckboxModule {
13579
- }
13580
- PoCheckboxModule.ɵfac = function PoCheckboxModule_Factory(t) { return new (t || PoCheckboxModule)(); };
13581
- PoCheckboxModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoCheckboxModule });
13582
- PoCheckboxModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule] });
13583
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxModule, [{
13584
- type: NgModule,
13585
- args: [{
13586
- declarations: [PoCheckboxComponent],
13587
- imports: [CommonModule, FormsModule],
13588
- exports: [PoCheckboxComponent]
13589
- }]
13590
- }], null, null); })();
13591
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoCheckboxModule, { declarations: [PoCheckboxComponent], imports: [CommonModule, FormsModule], exports: [PoCheckboxComponent] }); })();
13592
-
13593
13675
  const _c0$X = function (a0, a1) { return { "po-clickable": a0, "po-table-icon-disabled": a1 }; };
13594
13676
  /**
13595
13677
  * @docsPrivate
@@ -14218,14 +14300,14 @@ PoTableColumnManagerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
14218
14300
  } if (rf & 2) {
14219
14301
  let _t;
14220
14302
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popover = _t.first);
14221
- } }, inputs: { columns: ["p-columns", "columns"], target: ["p-target", "target"], colunsDefault: ["p-columns-default", "colunsDefault"], lastVisibleColumnsSelected: ["p-last-visible-columns-selected", "lastVisibleColumnsSelected"], maxColumns: ["p-max-columns", "maxColumns"] }, outputs: { visibleColumnsChange: "p-visible-columns-change", changeVisibleColumns: "p-change-visible-columns", initialColumns: "p-initial-columns" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["p-position", "bottom-left", 3, "p-target", "p-close", 4, "ngIf"], ["p-position", "bottom-left", 3, "p-target", "p-close"], ["popover", ""], [1, "po-table-column-manager-header"], [1, "po-table-column-manager-header-title"], [1, "po-table-column-manager-header-close"], [1, "po-table-column-manager-header-close-button", "po-clickable", "po-icon", "po-icon-close", 3, "click"], [1, "po-table-column-manager-body"], ["name", "visibleColumns", "p-columns", "1", 3, "ngModel", "p-options", "ngModelChange", "p-change"], [1, "po-container-arrows-columns-manager"], [4, "ngFor", "ngForOf"], [1, "po-table-column-manager-footer"], ["p-small", "", "p-kind", "tertiary", 1, "po-table-column-manager-footer-restore", 3, "p-label", "p-click"], [1, "po-container-icons-arrows-columns-manager"], ["p-tooltip-position", "left", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-up", "p-small", "", 3, "p-tooltip", "p-disabled", "click"], ["p-tooltip-position", "top", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-down", "p-small", "", 3, "p-tooltip", "p-disabled", "click"]], template: function PoTableColumnManagerComponent_Template(rf, ctx) { if (rf & 1) {
14303
+ } }, inputs: { columns: ["p-columns", "columns"], target: ["p-target", "target"], colunsDefault: ["p-columns-default", "colunsDefault"], lastVisibleColumnsSelected: ["p-last-visible-columns-selected", "lastVisibleColumnsSelected"], maxColumns: ["p-max-columns", "maxColumns"] }, outputs: { visibleColumnsChange: "p-visible-columns-change", changeVisibleColumns: "p-change-visible-columns", initialColumns: "p-initial-columns" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["p-position", "bottom-left", 3, "p-target", "p-close", 4, "ngIf"], ["p-position", "bottom-left", 3, "p-target", "p-close"], ["popover", ""], [1, "po-table-column-manager-header"], [1, "po-table-column-manager-header-title"], [1, "po-table-column-manager-header-close"], [1, "po-table-column-manager-header-close-button", "po-clickable", "po-icon", "po-icon-close", 3, "click"], [1, "po-table-column-manager-body"], ["name", "visibleColumns", "p-columns", "1", 1, "po-checkbox-group-column-manager", 3, "ngModel", "p-options", "ngModelChange", "p-change"], [1, "po-container-arrows-columns-manager"], [4, "ngFor", "ngForOf"], [1, "po-table-column-manager-footer"], ["p-kind", "tertiary", 1, "po-table-column-manager-footer-restore", 3, "p-label", "p-click"], [1, "po-container-icons-arrows-columns-manager"], ["p-tooltip-position", "left", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-up", 3, "p-tooltip", "p-disabled", "click"], ["p-tooltip-position", "top", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-down", 3, "p-tooltip", "p-disabled", "click"]], template: function PoTableColumnManagerComponent_Template(rf, ctx) { if (rf & 1) {
14222
14304
  i0.ɵɵtemplate(0, PoTableColumnManagerComponent_po_popover_0_Template, 13, 6, "po-popover", 0);
14223
14305
  } if (rf & 2) {
14224
14306
  i0.ɵɵproperty("ngIf", ctx.target);
14225
14307
  } }, dependencies: [i1.NgForOf, i1.NgIf, i2$1.NgControlStatus, i2$1.NgModel, PoButtonComponent, PoCheckboxGroupComponent, PoPopoverComponent, PoTooltipDirective], encapsulation: 2 });
14226
14308
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableColumnManagerComponent, [{
14227
14309
  type: Component,
14228
- args: [{ selector: 'po-table-column-manager', template: "<po-popover #popover *ngIf=\"target\" [p-target]=\"target\" p-position=\"bottom-left\" (p-close)=\"checkChanges([], true)\">\n <div class=\"po-table-column-manager-header\">\n <div class=\"po-table-column-manager-header-title\">{{ literals.columnsManager }}</div>\n\n <div class=\"po-table-column-manager-header-close\">\n <button\n class=\"po-table-column-manager-header-close-button po-clickable po-icon po-icon-close\"\n (click)=\"popover.close()\"\n ></button>\n </div>\n </div>\n\n <div class=\"po-table-column-manager-body\">\n <po-checkbox-group\n name=\"visibleColumns\"\n [(ngModel)]=\"visibleColumns\"\n p-columns=\"1\"\n [p-options]=\"columnsOptions\"\n (p-change)=\"checkChanges($event, false)\"\n >\n </po-checkbox-group>\n\n <div class=\"po-container-arrows-columns-manager\">\n <div *ngFor=\"let option of columnsOptions\">\n <div class=\"po-container-icons-arrows-columns-manager\">\n <po-button\n [p-tooltip]=\"literals.up\"\n p-tooltip-position=\"left\"\n [p-disabled]=\"verifyArrowDisabled(option, 'up')\"\n (click)=\"changePosition(option, 'up'); $event.stopPropagation()\"\n p-kind=\"tertiary\"\n p-icon=\"po-icon po-icon-arrow-up\"\n p-small\n >\n </po-button>\n <po-button\n [p-tooltip]=\"literals.down\"\n p-tooltip-position=\"top\"\n [p-disabled]=\"verifyArrowDisabled(option, 'down')\"\n (click)=\"changePosition(option, 'down'); $event.stopPropagation()\"\n p-kind=\"tertiary\"\n p-icon=\"po-icon po-icon-arrow-down\"\n p-small\n >\n </po-button>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-column-manager-footer\">\n <po-button\n class=\"po-table-column-manager-footer-restore\"\n p-small\n p-kind=\"tertiary\"\n [p-label]=\"literals.restoreDefault\"\n (p-click)=\"restore()\"\n >\n </po-button>\n </div>\n</po-popover>\n" }]
14310
+ args: [{ selector: 'po-table-column-manager', template: "<po-popover #popover *ngIf=\"target\" [p-target]=\"target\" p-position=\"bottom-left\" (p-close)=\"checkChanges([], true)\">\n <div class=\"po-table-column-manager-header\">\n <div class=\"po-table-column-manager-header-title\">{{ literals.columnsManager }}</div>\n\n <div class=\"po-table-column-manager-header-close\">\n <button\n class=\"po-table-column-manager-header-close-button po-clickable po-icon po-icon-close\"\n (click)=\"popover.close()\"\n ></button>\n </div>\n </div>\n\n <div class=\"po-table-column-manager-body\">\n <po-checkbox-group\n class=\"po-checkbox-group-column-manager\"\n name=\"visibleColumns\"\n [(ngModel)]=\"visibleColumns\"\n p-columns=\"1\"\n [p-options]=\"columnsOptions\"\n (p-change)=\"checkChanges($event, false)\"\n >\n </po-checkbox-group>\n\n <div class=\"po-container-arrows-columns-manager\">\n <div *ngFor=\"let option of columnsOptions\">\n <div class=\"po-container-icons-arrows-columns-manager\">\n <po-button\n [p-tooltip]=\"literals.up\"\n p-tooltip-position=\"left\"\n [p-disabled]=\"verifyArrowDisabled(option, 'up')\"\n (click)=\"changePosition(option, 'up'); $event.stopPropagation()\"\n p-kind=\"tertiary\"\n p-icon=\"po-icon po-icon-arrow-up\"\n >\n </po-button>\n <po-button\n [p-tooltip]=\"literals.down\"\n p-tooltip-position=\"top\"\n [p-disabled]=\"verifyArrowDisabled(option, 'down')\"\n (click)=\"changePosition(option, 'down'); $event.stopPropagation()\"\n p-kind=\"tertiary\"\n p-icon=\"po-icon po-icon-arrow-down\"\n >\n </po-button>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-column-manager-footer\">\n <po-button\n class=\"po-table-column-manager-footer-restore\"\n p-kind=\"tertiary\"\n [p-label]=\"literals.restoreDefault\"\n (p-click)=\"restore()\"\n >\n </po-button>\n </div>\n</po-popover>\n" }]
14229
14311
  }], function () { return [{ type: i0.Renderer2 }, { type: PoLanguageService }]; }, { popover: [{
14230
14312
  type: ViewChild,
14231
14313
  args: [PoPopoverComponent]
@@ -14453,6 +14535,16 @@ class PoTableBaseComponent {
14453
14535
  * > Esta definição não se aplica aos itens filhos, os mesmos possuem comportamento independente do item pai.
14454
14536
  */
14455
14537
  this.singleSelect = false;
14538
+ /**
14539
+ * @description
14540
+ *
14541
+ * Permite selecionar um item da tabela clicando na linha.
14542
+ *
14543
+ * > Caso haja necessidade de selecionar o item apenas via radio ou checkbox, deve-se definir esta propriedade como `false`.
14544
+ *
14545
+ * @default `true`
14546
+ */
14547
+ this.selectableEntireLine = true;
14456
14548
  /**
14457
14549
  * @optional
14458
14550
  *
@@ -14909,6 +15001,9 @@ class PoTableBaseComponent {
14909
15001
  this.emitSelectEvents(row);
14910
15002
  this.configAfterSelectRow(this.items, row);
14911
15003
  }
15004
+ hasSelectableRow() {
15005
+ return this.selectable && this.selectableEntireLine;
15006
+ }
14912
15007
  selectDetailRow(row) {
14913
15008
  this.emitSelectEvents(row);
14914
15009
  }
@@ -15106,7 +15201,7 @@ class PoTableBaseComponent {
15106
15201
  }
15107
15202
  }
15108
15203
  PoTableBaseComponent.ɵfac = function PoTableBaseComponent_Factory(t) { return new (t || PoTableBaseComponent)(i0.ɵɵdirectiveInject(PoDateService), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(PoTableService)); };
15109
- PoTableBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoTableBaseComponent, inputs: { hideTextOverflow: ["p-hide-text-overflow", "hideTextOverflow"], hideColumnsManager: ["p-hide-columns-manager", "hideColumnsManager"], autoCollapse: ["p-auto-collapse", "autoCollapse"], loadingShowMore: ["p-loading-show-more", "loadingShowMore"], sort: ["p-sort", "sort"], showMoreDisabled: ["p-show-more-disabled", "showMoreDisabled"], striped: ["p-striped", "striped"], hideSelectAll: ["p-hide-select-all", "hideSelectAll"], singleSelect: ["p-single-select", "singleSelect"], actionRight: ["p-actions-right", "actionRight"], maxColumns: ["p-max-columns", "maxColumns"], items: ["p-items", "items"], columns: ["p-columns", "columns"], container: ["p-container", "container"], height: ["p-height", "height"], hideDetail: ["p-hide-detail", "hideDetail"], literals: ["p-literals", "literals"], loading: ["p-loading", "loading"], actions: ["p-actions", "actions"], selectable: ["p-selectable", "selectable"], infiniteScroll: ["p-infinite-scroll", "infiniteScroll"], infiniteScrollDistance: ["p-infinite-scroll-distance", "infiniteScrollDistance"], serviceApi: ["p-service-api", "serviceApi"] }, outputs: { allSelected: "p-all-selected", allUnselected: "p-all-unselected", collapsed: "p-collapsed", expanded: "p-expanded", selected: "p-selected", showMore: "p-show-more", sortBy: "p-sort-by", unselected: "p-unselected", changeVisibleColumns: "p-change-visible-columns", columnRestoreManager: "p-restore-column-manager" }, features: [i0.ɵɵNgOnChangesFeature] });
15204
+ PoTableBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoTableBaseComponent, inputs: { hideTextOverflow: ["p-hide-text-overflow", "hideTextOverflow"], hideColumnsManager: ["p-hide-columns-manager", "hideColumnsManager"], autoCollapse: ["p-auto-collapse", "autoCollapse"], loadingShowMore: ["p-loading-show-more", "loadingShowMore"], sort: ["p-sort", "sort"], showMoreDisabled: ["p-show-more-disabled", "showMoreDisabled"], striped: ["p-striped", "striped"], hideSelectAll: ["p-hide-select-all", "hideSelectAll"], singleSelect: ["p-single-select", "singleSelect"], selectableEntireLine: ["p-selectable-entire-line", "selectableEntireLine"], actionRight: ["p-actions-right", "actionRight"], maxColumns: ["p-max-columns", "maxColumns"], items: ["p-items", "items"], columns: ["p-columns", "columns"], container: ["p-container", "container"], height: ["p-height", "height"], hideDetail: ["p-hide-detail", "hideDetail"], literals: ["p-literals", "literals"], loading: ["p-loading", "loading"], actions: ["p-actions", "actions"], selectable: ["p-selectable", "selectable"], infiniteScroll: ["p-infinite-scroll", "infiniteScroll"], infiniteScrollDistance: ["p-infinite-scroll-distance", "infiniteScrollDistance"], serviceApi: ["p-service-api", "serviceApi"] }, outputs: { allSelected: "p-all-selected", allUnselected: "p-all-unselected", collapsed: "p-collapsed", expanded: "p-expanded", selected: "p-selected", showMore: "p-show-more", sortBy: "p-sort-by", unselected: "p-unselected", changeVisibleColumns: "p-change-visible-columns", columnRestoreManager: "p-restore-column-manager" }, features: [i0.ɵɵNgOnChangesFeature] });
15110
15205
  __decorate([
15111
15206
  InputBoolean()
15112
15207
  ], PoTableBaseComponent.prototype, "hideTextOverflow", void 0);
@@ -15134,6 +15229,9 @@ __decorate([
15134
15229
  __decorate([
15135
15230
  InputBoolean()
15136
15231
  ], PoTableBaseComponent.prototype, "singleSelect", void 0);
15232
+ __decorate([
15233
+ InputBoolean()
15234
+ ], PoTableBaseComponent.prototype, "selectableEntireLine", void 0);
15137
15235
  __decorate([
15138
15236
  InputBoolean()
15139
15237
  ], PoTableBaseComponent.prototype, "actionRight", void 0);
@@ -15166,6 +15264,9 @@ __decorate([
15166
15264
  }], singleSelect: [{
15167
15265
  type: Input,
15168
15266
  args: ['p-single-select']
15267
+ }], selectableEntireLine: [{
15268
+ type: Input,
15269
+ args: ['p-selectable-entire-line']
15169
15270
  }], actionRight: [{
15170
15271
  type: Input,
15171
15272
  args: ['p-actions-right']
@@ -16010,17 +16111,21 @@ PoTableSubtitleFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
16010
16111
  }] }); })();
16011
16112
 
16012
16113
  const _c0$W = ["noColumnsHeader"];
16013
- const _c1$q = ["popup"];
16014
- const _c2$b = ["tableFooter"];
16015
- const _c3$6 = ["tableWrapper"];
16016
- const _c4$4 = ["poTableTbody"];
16017
- const _c5$2 = ["poTableThead"];
16018
- const _c6$2 = ["poTableTbodyVirtual"];
16019
- const _c7$1 = ["columnManager"];
16020
- const _c8$1 = ["columnActionLeft"];
16021
- const _c9 = ["columnManagerTarget"];
16022
- const _c10 = ["actionsIconElement"];
16023
- const _c11 = ["actionsElement"];
16114
+ const _c1$q = ["noColumnsHeaderFixed"];
16115
+ const _c2$b = ["popup"];
16116
+ const _c3$6 = ["tableFooter"];
16117
+ const _c4$4 = ["tableWrapper"];
16118
+ const _c5$2 = ["poTableTbody"];
16119
+ const _c6$2 = ["poTableThead"];
16120
+ const _c7$1 = ["poTableTbodyVirtual"];
16121
+ const _c8$1 = ["columnManager"];
16122
+ const _c9 = ["columnManagerFixed"];
16123
+ const _c10 = ["columnActionLeft"];
16124
+ const _c11 = ["columnActionLeftFixed"];
16125
+ const _c12 = ["columnManagerTarget"];
16126
+ const _c13 = ["columnManagerTargetFixed"];
16127
+ const _c14 = ["actionsIconElement"];
16128
+ const _c15 = ["actionsElement"];
16024
16129
  function PoTableComponent_po_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16025
16130
  i0.ɵɵelementContainer(0);
16026
16131
  } }
@@ -16177,27 +16282,27 @@ function PoTableComponent_ng_template_4_th_6_Template(rf, ctx) { if (rf & 1) {
16177
16282
  i0.ɵɵadvance(2);
16178
16283
  i0.ɵɵproperty("ngIf", ctx_r45.height)("ngIfThen", _r19)("ngIfElse", _r21);
16179
16284
  } }
16180
- function PoTableComponent_ng_template_4_th_7_ng_container_3_Template(rf, ctx) { if (rf & 1) {
16285
+ function PoTableComponent_ng_template_4_th_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
16181
16286
  i0.ɵɵelementContainer(0);
16182
16287
  } }
16183
- const _c12 = function (a0) { return { $implicit: a0 }; };
16288
+ const _c16 = function (a0) { return { $implicit: a0 }; };
16184
16289
  function PoTableComponent_ng_template_4_th_7_Template(rf, ctx) { if (rf & 1) {
16185
- const _r63 = i0.ɵɵgetCurrentView();
16186
- i0.ɵɵelementStart(0, "th", 54, 55);
16187
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r63); const column_r58 = restoredCtx.$implicit; const ctx_r62 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r62.sortColumn(column_r58)); });
16188
- i0.ɵɵelementStart(2, "div", 56);
16189
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_th_7_ng_container_3_Template, 1, 0, "ng-container", 57);
16290
+ const _r62 = i0.ɵɵgetCurrentView();
16291
+ i0.ɵɵelementStart(0, "th", 54);
16292
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r62); const column_r58 = restoredCtx.$implicit; const ctx_r61 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r61.sortColumn(column_r58)); });
16293
+ i0.ɵɵelementStart(1, "div", 55);
16294
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_4_th_7_ng_container_2_Template, 1, 0, "ng-container", 56);
16190
16295
  i0.ɵɵelementEnd()();
16191
16296
  } if (rf & 2) {
16192
16297
  const column_r58 = ctx.$implicit;
16193
16298
  const ctx_r46 = i0.ɵɵnextContext(2);
16194
16299
  const _r17 = i0.ɵɵreference(19);
16195
- i0.ɵɵstyleProp("width", column_r58.width)("max-width", column_r58.width)("min-width", column_r58.width || "50px");
16300
+ i0.ɵɵstyleProp("width", column_r58.width)("max-width", column_r58.width)("min-width", column_r58.width);
16196
16301
  i0.ɵɵclassProp("po-clickable", ctx_r46.sort && column_r58.sortable !== false || ctx_r46.hasService)("po-table-header-subtitle", column_r58.type === "subtitle");
16197
- i0.ɵɵadvance(2);
16302
+ i0.ɵɵadvance(1);
16198
16303
  i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r46.height)("po-table-header-flex-right", column_r58.type === "currency" || column_r58.type === "number")("po-table-header-flex-center", column_r58.type === "subtitle");
16199
16304
  i0.ɵɵadvance(1);
16200
- i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c12, column_r58));
16305
+ i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c16, column_r58));
16201
16306
  } }
16202
16307
  function PoTableComponent_ng_template_4_th_8_Template(rf, ctx) { if (rf & 1) {
16203
16308
  i0.ɵɵelement(0, "th", 50);
@@ -16209,16 +16314,16 @@ function PoTableComponent_ng_template_4_th_9_Template(rf, ctx) { if (rf & 1) {
16209
16314
  i0.ɵɵclassProp("po-table-header-single-action", ctx_r48.isSingleAction && !ctx_r48.hideColumnsManager)("po-table-header-actions", !ctx_r48.isSingleAction);
16210
16315
  } }
16211
16316
  function PoTableComponent_ng_template_4_th_10_Template(rf, ctx) { if (rf & 1) {
16212
- const _r67 = i0.ɵɵgetCurrentView();
16213
- i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
16214
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r67); const ctx_r66 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r66.onOpenColumnManager()); });
16317
+ const _r66 = i0.ɵɵgetCurrentView();
16318
+ i0.ɵɵelementStart(0, "th", null, 57)(2, "div")(3, "button", 58, 59);
16319
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r66); const ctx_r65 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r65.onOpenColumnManager()); });
16215
16320
  i0.ɵɵelementEnd()()();
16216
16321
  } if (rf & 2) {
16217
- const _r64 = i0.ɵɵreference(1);
16322
+ const _r63 = i0.ɵɵreference(1);
16218
16323
  const ctx_r49 = i0.ɵɵnextContext(2);
16219
16324
  i0.ɵɵclassProp("po-table-header-column-manager", !ctx_r49.isSingleAction || !ctx_r49.actionRight)("po-table-header-column-manager-border", !ctx_r49.height && ctx_r49.container)("po-table-header-single-action", ctx_r49.isSingleAction && ctx_r49.actionRight);
16220
16325
  i0.ɵɵadvance(2);
16221
- i0.ɵɵstyleProp("width", ctx_r49.height && ctx_r49.visibleActions.length ? _r64.offsetWidth : undefined, "px");
16326
+ i0.ɵɵstyleProp("width", ctx_r49.height && ctx_r49.visibleActions.length ? _r63.offsetWidth : undefined, "px");
16222
16327
  i0.ɵɵclassProp("po-table-header-column-manager-border", ctx_r49.height && ctx_r49.container)("po-table-header-column-manager-fixed-inner", ctx_r49.height);
16223
16328
  i0.ɵɵadvance(1);
16224
16329
  i0.ɵɵproperty("p-tooltip", ctx_r49.literals.columnsManager);
@@ -16230,7 +16335,7 @@ function PoTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
16230
16335
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_th_4_Template, 1, 0, "th", 41);
16231
16336
  i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_th_5_Template, 2, 4, "th", 42);
16232
16337
  i0.ɵɵtemplate(6, PoTableComponent_ng_template_4_th_6_Template, 3, 3, "th", 43);
16233
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_4_th_7_Template, 4, 20, "th", 44);
16338
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_4_th_7_Template, 3, 20, "th", 44);
16234
16339
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_th_8_Template, 1, 0, "th", 41);
16235
16340
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_4_th_9_Template, 1, 4, "th", 45);
16236
16341
  i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_th_10_Template, 5, 14, "th", 46);
@@ -16258,114 +16363,114 @@ function PoTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
16258
16363
  i0.ɵɵproperty("ngIf", ctx_r5.hasValidColumns && !ctx_r5.hideColumnsManager);
16259
16364
  } }
16260
16365
  function PoTableComponent_ng_template_6_tbody_3_Template(rf, ctx) { if (rf & 1) {
16261
- i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 65)(2, "td", 66)(3, "span");
16366
+ i0.ɵɵelementStart(0, "tbody", 63)(1, "tr", 64)(2, "td", 65)(3, "span");
16262
16367
  i0.ɵɵtext(4);
16263
16368
  i0.ɵɵelementEnd()()()();
16264
16369
  } if (rf & 2) {
16265
- const ctx_r69 = i0.ɵɵnextContext(2);
16370
+ const ctx_r68 = i0.ɵɵnextContext(2);
16266
16371
  i0.ɵɵadvance(2);
16267
- i0.ɵɵproperty("colSpan", ctx_r69.columnCount);
16372
+ i0.ɵɵproperty("colSpan", ctx_r68.columnCount);
16268
16373
  i0.ɵɵadvance(2);
16269
- i0.ɵɵtextInterpolate1(" ", ctx_r69.literals.noData, " ");
16374
+ i0.ɵɵtextInterpolate1(" ", ctx_r68.literals.noData, " ");
16270
16375
  } }
16271
16376
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16272
16377
  i0.ɵɵelementContainer(0);
16273
16378
  } }
16274
16379
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
16275
16380
  i0.ɵɵelementStart(0, "td", 47);
16276
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 57);
16381
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 56);
16277
16382
  i0.ɵɵelementEnd();
16278
16383
  } if (rf & 2) {
16279
- const row_r72 = i0.ɵɵnextContext().$implicit;
16280
- const ctx_r74 = i0.ɵɵnextContext(3);
16384
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16385
+ const ctx_r73 = i0.ɵɵnextContext(3);
16281
16386
  const _r13 = i0.ɵɵreference(15);
16282
16387
  const _r15 = i0.ɵɵreference(17);
16283
16388
  i0.ɵɵadvance(1);
16284
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r74.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c12, row_r72));
16389
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r73.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c16, row_r71));
16285
16390
  } }
16286
16391
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
16287
- const _c13 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
16392
+ const _c17 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
16288
16393
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
16289
- const _r90 = i0.ɵɵgetCurrentView();
16290
- i0.ɵɵelementStart(0, "td", 72);
16291
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r90); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r88 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r88.toggleDetail(row_r72)); });
16292
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 73);
16394
+ const _r89 = i0.ɵɵgetCurrentView();
16395
+ i0.ɵɵelementStart(0, "td", 71);
16396
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r89); const row_r71 = i0.ɵɵnextContext().$implicit; const ctx_r87 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r87.toggleDetail(row_r71)); });
16397
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 72);
16293
16398
  i0.ɵɵelementEnd();
16294
16399
  } if (rf & 2) {
16295
- const ctx_r91 = i0.ɵɵnextContext();
16296
- const row_r72 = ctx_r91.$implicit;
16297
- const rowIndex_r73 = ctx_r91.index;
16400
+ const ctx_r90 = i0.ɵɵnextContext();
16401
+ const row_r71 = ctx_r90.$implicit;
16402
+ const rowIndex_r72 = ctx_r90.index;
16298
16403
  i0.ɵɵnextContext(3);
16299
16404
  const _r11 = i0.ɵɵreference(13);
16300
16405
  i0.ɵɵadvance(1);
16301
- i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r72, rowIndex_r73));
16406
+ i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r71, rowIndex_r72));
16302
16407
  } }
16303
16408
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template(rf, ctx) { }
16304
16409
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
16305
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 73);
16410
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 72);
16306
16411
  } if (rf & 2) {
16307
- const ctx_r93 = i0.ɵɵnextContext();
16308
- const row_r72 = ctx_r93.$implicit;
16309
- const rowIndex_r73 = ctx_r93.index;
16412
+ const ctx_r92 = i0.ɵɵnextContext();
16413
+ const row_r71 = ctx_r92.$implicit;
16414
+ const rowIndex_r72 = ctx_r92.index;
16310
16415
  i0.ɵɵnextContext(3);
16311
16416
  const _r23 = i0.ɵɵreference(25);
16312
- i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r72, rowIndex_r73));
16417
+ i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r71, rowIndex_r72));
16313
16418
  } }
16314
16419
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
16315
16420
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
16316
- const _r97 = i0.ɵɵgetCurrentView();
16317
- i0.ɵɵelementStart(0, "td", 72);
16318
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r97); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r95 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r95.toggleDetail(row_r72)); });
16319
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 73);
16421
+ const _r96 = i0.ɵɵgetCurrentView();
16422
+ i0.ɵɵelementStart(0, "td", 71);
16423
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r96); const row_r71 = i0.ɵɵnextContext().$implicit; const ctx_r94 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r94.toggleDetail(row_r71)); });
16424
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 72);
16320
16425
  i0.ɵɵelementEnd();
16321
16426
  } if (rf & 2) {
16322
- const ctx_r98 = i0.ɵɵnextContext();
16323
- const row_r72 = ctx_r98.$implicit;
16324
- const rowIndex_r73 = ctx_r98.index;
16427
+ const ctx_r97 = i0.ɵɵnextContext();
16428
+ const row_r71 = ctx_r97.$implicit;
16429
+ const rowIndex_r72 = ctx_r97.index;
16325
16430
  i0.ɵɵnextContext(3);
16326
16431
  const _r11 = i0.ɵɵreference(13);
16327
16432
  i0.ɵɵadvance(1);
16328
- i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r72, rowIndex_r73));
16433
+ i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r71, rowIndex_r72));
16329
16434
  } }
16330
16435
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16331
16436
  i0.ɵɵelementContainer(0);
16332
16437
  } }
16333
16438
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
16334
16439
  i0.ɵɵelementStart(0, "span");
16335
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 57);
16440
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 56);
16336
16441
  i0.ɵɵelementEnd();
16337
16442
  } if (rf & 2) {
16338
- const column_r99 = i0.ɵɵnextContext().$implicit;
16339
- const row_r72 = i0.ɵɵnextContext().$implicit;
16340
- const ctx_r101 = i0.ɵɵnextContext(3);
16443
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16444
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16445
+ const ctx_r100 = i0.ɵɵnextContext(3);
16341
16446
  i0.ɵɵadvance(1);
16342
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r101.getTemplate(column_r99))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c12, ctx_r101.getCellData(row_r72, column_r99)));
16447
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r100.getTemplate(column_r98))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c16, ctx_r100.getCellData(row_r71, column_r98)));
16343
16448
  } }
16344
16449
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16345
16450
  i0.ɵɵelementContainer(0);
16346
16451
  } }
16347
- const _c14 = function (a0, a1) { return { row: a0, column: a1 }; };
16452
+ const _c18 = function (a0, a1) { return { row: a0, column: a1 }; };
16348
16453
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
16349
16454
  i0.ɵɵelementStart(0, "span");
16350
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 57);
16455
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 56);
16351
16456
  i0.ɵɵelementEnd();
16352
16457
  } if (rf & 2) {
16353
- const column_r99 = i0.ɵɵnextContext().$implicit;
16354
- const row_r72 = i0.ɵɵnextContext().$implicit;
16355
- const ctx_r102 = i0.ɵɵnextContext(3);
16458
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16459
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16460
+ const ctx_r101 = i0.ɵɵnextContext(3);
16356
16461
  i0.ɵɵadvance(1);
16357
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r102.tableCellTemplate == null ? null : ctx_r102.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, column_r99));
16462
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r101.tableCellTemplate == null ? null : ctx_r101.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c18, row_r71, column_r98));
16358
16463
  } }
16359
16464
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template(rf, ctx) { if (rf & 1) {
16360
16465
  i0.ɵɵelementStart(0, "span");
16361
16466
  i0.ɵɵtext(1);
16362
16467
  i0.ɵɵelementEnd();
16363
16468
  } if (rf & 2) {
16364
- const column_r99 = i0.ɵɵnextContext().$implicit;
16365
- const row_r72 = i0.ɵɵnextContext().$implicit;
16366
- const ctx_r103 = i0.ɵɵnextContext(3);
16469
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16470
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16471
+ const ctx_r102 = i0.ɵɵnextContext(3);
16367
16472
  i0.ɵɵadvance(1);
16368
- i0.ɵɵtextInterpolate1(" ", ctx_r103.getBooleanLabel(ctx_r103.getCellData(row_r72, column_r99), column_r99), " ");
16473
+ i0.ɵɵtextInterpolate1(" ", ctx_r102.getBooleanLabel(ctx_r102.getCellData(row_r71, column_r98), column_r98), " ");
16369
16474
  } }
16370
16475
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template(rf, ctx) { if (rf & 1) {
16371
16476
  i0.ɵɵelementStart(0, "span");
@@ -16373,11 +16478,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Templ
16373
16478
  i0.ɵɵpipe(2, "currency");
16374
16479
  i0.ɵɵelementEnd();
16375
16480
  } if (rf & 2) {
16376
- const column_r99 = i0.ɵɵnextContext().$implicit;
16377
- const row_r72 = i0.ɵɵnextContext().$implicit;
16378
- const ctx_r104 = i0.ɵɵnextContext(3);
16481
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16482
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16483
+ const ctx_r103 = i0.ɵɵnextContext(3);
16379
16484
  i0.ɵɵadvance(1);
16380
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r104.getCellData(row_r72, column_r99), column_r99.format, "symbol", "1.2-2"), " ");
16485
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r103.getCellData(row_r71, column_r98), column_r98.format, "symbol", "1.2-2"), " ");
16381
16486
  } }
16382
16487
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template(rf, ctx) { if (rf & 1) {
16383
16488
  i0.ɵɵelementStart(0, "span");
@@ -16385,11 +16490,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Templ
16385
16490
  i0.ɵɵpipe(2, "date");
16386
16491
  i0.ɵɵelementEnd();
16387
16492
  } if (rf & 2) {
16388
- const column_r99 = i0.ɵɵnextContext().$implicit;
16389
- const row_r72 = i0.ɵɵnextContext().$implicit;
16390
- const ctx_r105 = i0.ɵɵnextContext(3);
16493
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16494
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16495
+ const ctx_r104 = i0.ɵɵnextContext(3);
16391
16496
  i0.ɵɵadvance(1);
16392
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r105.getCellData(row_r72, column_r99), column_r99.format || "dd/MM/yyyy"), " ");
16497
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r104.getCellData(row_r71, column_r98), column_r98.format || "dd/MM/yyyy"), " ");
16393
16498
  } }
16394
16499
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template(rf, ctx) { if (rf & 1) {
16395
16500
  i0.ɵɵelementStart(0, "span");
@@ -16397,11 +16502,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Templ
16397
16502
  i0.ɵɵpipe(2, "po_time");
16398
16503
  i0.ɵɵelementEnd();
16399
16504
  } if (rf & 2) {
16400
- const column_r99 = i0.ɵɵnextContext().$implicit;
16401
- const row_r72 = i0.ɵɵnextContext().$implicit;
16402
- const ctx_r106 = i0.ɵɵnextContext(3);
16505
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16506
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16507
+ const ctx_r105 = i0.ɵɵnextContext(3);
16403
16508
  i0.ɵɵadvance(1);
16404
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r106.getCellData(row_r72, column_r99), column_r99.format || "HH:mm:ss.ffffff"), " ");
16509
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r105.getCellData(row_r71, column_r98), column_r98.format || "HH:mm:ss.ffffff"), " ");
16405
16510
  } }
16406
16511
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template(rf, ctx) { if (rf & 1) {
16407
16512
  i0.ɵɵelementStart(0, "span");
@@ -16409,106 +16514,106 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Templ
16409
16514
  i0.ɵɵpipe(2, "date");
16410
16515
  i0.ɵɵelementEnd();
16411
16516
  } if (rf & 2) {
16412
- const column_r99 = i0.ɵɵnextContext().$implicit;
16413
- const row_r72 = i0.ɵɵnextContext().$implicit;
16414
- const ctx_r107 = i0.ɵɵnextContext(3);
16517
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16518
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16519
+ const ctx_r106 = i0.ɵɵnextContext(3);
16415
16520
  i0.ɵɵadvance(1);
16416
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r107.getCellData(row_r72, column_r99), column_r99.format || "dd/MM/yyyy HH:mm:ss"), " ");
16521
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r106.getCellData(row_r71, column_r98), column_r98.format || "dd/MM/yyyy HH:mm:ss"), " ");
16417
16522
  } }
16418
16523
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template(rf, ctx) { if (rf & 1) {
16419
16524
  i0.ɵɵelementStart(0, "span");
16420
16525
  i0.ɵɵtext(1);
16421
16526
  i0.ɵɵelementEnd();
16422
16527
  } if (rf & 2) {
16423
- const column_r99 = i0.ɵɵnextContext().$implicit;
16424
- const row_r72 = i0.ɵɵnextContext().$implicit;
16425
- const ctx_r108 = i0.ɵɵnextContext(3);
16528
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16529
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16530
+ const ctx_r107 = i0.ɵɵnextContext(3);
16426
16531
  i0.ɵɵadvance(1);
16427
- i0.ɵɵtextInterpolate1(" ", ctx_r108.formatNumber(ctx_r108.getCellData(row_r72, column_r99), column_r99.format), " ");
16532
+ i0.ɵɵtextInterpolate1(" ", ctx_r107.formatNumber(ctx_r107.getCellData(row_r71, column_r98), column_r98.format), " ");
16428
16533
  } }
16429
16534
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
16430
- const _r134 = i0.ɵɵgetCurrentView();
16431
- i0.ɵɵelementStart(0, "po-table-column-link", 80);
16432
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r134); const column_r99 = i0.ɵɵnextContext().$implicit; const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r132 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r132.onClickLink($event, row_r72, column_r99)); });
16535
+ const _r133 = i0.ɵɵgetCurrentView();
16536
+ i0.ɵɵelementStart(0, "po-table-column-link", 79);
16537
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r133); const column_r98 = i0.ɵɵnextContext().$implicit; const row_r71 = i0.ɵɵnextContext().$implicit; const ctx_r131 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r131.onClickLink($event, row_r71, column_r98)); });
16433
16538
  i0.ɵɵelementEnd();
16434
16539
  } if (rf & 2) {
16435
- const column_r99 = i0.ɵɵnextContext().$implicit;
16436
- const row_r72 = i0.ɵɵnextContext().$implicit;
16437
- const ctx_r109 = i0.ɵɵnextContext(3);
16438
- i0.ɵɵproperty("p-action", column_r99.action)("p-disabled", ctx_r109.checkDisabled(row_r72, column_r99))("p-link", row_r72[column_r99.link])("p-row", row_r72)("p-value", ctx_r109.getCellData(row_r72, column_r99));
16540
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16541
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16542
+ const ctx_r108 = i0.ɵɵnextContext(3);
16543
+ i0.ɵɵproperty("p-action", column_r98.action)("p-disabled", ctx_r108.checkDisabled(row_r71, column_r98))("p-link", row_r71[column_r98.link])("p-row", row_r71)("p-value", ctx_r108.getCellData(row_r71, column_r98));
16439
16544
  } }
16440
16545
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
16441
- i0.ɵɵelement(0, "po-table-column-icon", 81);
16546
+ i0.ɵɵelement(0, "po-table-column-icon", 80);
16442
16547
  } if (rf & 2) {
16443
- const column_r99 = i0.ɵɵnextContext().$implicit;
16444
- const row_r72 = i0.ɵɵnextContext().$implicit;
16445
- const ctx_r110 = i0.ɵɵnextContext(3);
16446
- i0.ɵɵproperty("p-column", column_r99)("p-icons", ctx_r110.getColumnIcons(row_r72, column_r99))("p-row", row_r72);
16548
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16549
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16550
+ const ctx_r109 = i0.ɵɵnextContext(3);
16551
+ i0.ɵɵproperty("p-column", column_r98)("p-icons", ctx_r109.getColumnIcons(row_r71, column_r98))("p-row", row_r71);
16447
16552
  } }
16448
16553
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
16449
16554
  i0.ɵɵelementStart(0, "span");
16450
- i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
16555
+ i0.ɵɵelement(1, "po-table-subtitle-circle", 81);
16451
16556
  i0.ɵɵelementEnd();
16452
16557
  } if (rf & 2) {
16453
- const column_r99 = i0.ɵɵnextContext().$implicit;
16454
- const row_r72 = i0.ɵɵnextContext().$implicit;
16455
- const ctx_r111 = i0.ɵɵnextContext(3);
16558
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16559
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16560
+ const ctx_r110 = i0.ɵɵnextContext(3);
16456
16561
  i0.ɵɵadvance(1);
16457
- i0.ɵɵproperty("p-subtitle", ctx_r111.getSubtitleColumn(row_r72, column_r99));
16562
+ i0.ɵɵproperty("p-subtitle", ctx_r110.getSubtitleColumn(row_r71, column_r98));
16458
16563
  } }
16459
16564
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
16460
16565
  i0.ɵɵelementStart(0, "span");
16461
- i0.ɵɵelement(1, "po-table-column-label", 83);
16566
+ i0.ɵɵelement(1, "po-table-column-label", 82);
16462
16567
  i0.ɵɵelementEnd();
16463
16568
  } if (rf & 2) {
16464
- const column_r99 = i0.ɵɵnextContext().$implicit;
16465
- const row_r72 = i0.ɵɵnextContext().$implicit;
16466
- const ctx_r112 = i0.ɵɵnextContext(3);
16569
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16570
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16571
+ const ctx_r111 = i0.ɵɵnextContext(3);
16467
16572
  i0.ɵɵadvance(1);
16468
- i0.ɵɵproperty("p-value", ctx_r112.getColumnLabel(row_r72, column_r99));
16573
+ i0.ɵɵproperty("p-value", ctx_r111.getColumnLabel(row_r71, column_r98));
16469
16574
  } }
16470
16575
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template(rf, ctx) { if (rf & 1) {
16471
16576
  i0.ɵɵelementStart(0, "span");
16472
16577
  i0.ɵɵtext(1);
16473
16578
  i0.ɵɵelementEnd();
16474
16579
  } if (rf & 2) {
16475
- const column_r99 = i0.ɵɵnextContext().$implicit;
16476
- const row_r72 = i0.ɵɵnextContext().$implicit;
16477
- const ctx_r113 = i0.ɵɵnextContext(3);
16580
+ const column_r98 = i0.ɵɵnextContext().$implicit;
16581
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16582
+ const ctx_r112 = i0.ɵɵnextContext(3);
16478
16583
  i0.ɵɵadvance(1);
16479
- i0.ɵɵtextInterpolate(ctx_r113.getCellData(row_r72, column_r99));
16584
+ i0.ɵɵtextInterpolate(ctx_r112.getCellData(row_r71, column_r98));
16480
16585
  } }
16481
16586
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
16482
- const _r147 = i0.ɵɵgetCurrentView();
16483
- i0.ɵɵelementStart(0, "td", 74);
16484
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r147); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r146 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r146.selectable ? ctx_r146.selectRow(row_r72) : "javascript:;"); });
16485
- i0.ɵɵelementStart(1, "div", 75);
16486
- i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r147); const column_r99 = restoredCtx.$implicit; const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r149 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r149.tooltipMouseEnter($event, column_r99, row_r72)); })("mouseleave", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r147); const ctx_r151 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r151.tooltipMouseLeave()); });
16487
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
16488
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
16489
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
16490
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
16491
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
16492
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
16493
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
16494
- i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
16495
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 77);
16496
- i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 78);
16497
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
16498
- i0.ɵɵtemplate(13, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
16499
- i0.ɵɵtemplate(14, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template, 2, 1, "span", 79);
16587
+ const _r146 = i0.ɵɵgetCurrentView();
16588
+ i0.ɵɵelementStart(0, "td", 73);
16589
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r146); const row_r71 = i0.ɵɵnextContext().$implicit; const ctx_r145 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r145.hasSelectableRow() ? ctx_r145.selectRow(row_r71) : "javascript:;"); });
16590
+ i0.ɵɵelementStart(1, "div", 74);
16591
+ i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r146); const column_r98 = restoredCtx.$implicit; const row_r71 = i0.ɵɵnextContext().$implicit; const ctx_r148 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r148.tooltipMouseEnter($event, column_r98, row_r71)); })("mouseleave", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r146); const ctx_r150 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r150.tooltipMouseLeave()); });
16592
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template, 2, 4, "span", 75);
16593
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template, 2, 5, "span", 75);
16594
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template, 2, 1, "span", 75);
16595
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template, 3, 6, "span", 75);
16596
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template, 3, 4, "span", 75);
16597
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template, 3, 4, "span", 75);
16598
+ i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template, 3, 4, "span", 75);
16599
+ i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template, 2, 1, "span", 75);
16600
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 76);
16601
+ i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 77);
16602
+ i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template, 2, 1, "span", 75);
16603
+ i0.ɵɵtemplate(13, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template, 2, 1, "span", 75);
16604
+ i0.ɵɵtemplate(14, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template, 2, 1, "span", 78);
16500
16605
  i0.ɵɵelementEnd()();
16501
16606
  } if (rf & 2) {
16502
- const column_r99 = ctx.$implicit;
16503
- const row_r72 = i0.ɵɵnextContext().$implicit;
16504
- const ctx_r78 = i0.ɵɵnextContext(3);
16505
- i0.ɵɵstyleProp("width", column_r99.width)("max-width", column_r99.width)("min-width", column_r99.width);
16506
- i0.ɵɵclassProp("po-table-column", column_r99.type !== "icon")("po-table-column-right", column_r99.type === "currency" || column_r99.type === "number")("po-table-column-center", column_r99.type === "subtitle")("po-table-column-icons", column_r99.type === "icon");
16507
- i0.ɵɵproperty("ngClass", ctx_r78.getClassColor(row_r72, column_r99));
16607
+ const column_r98 = ctx.$implicit;
16608
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16609
+ const ctx_r77 = i0.ɵɵnextContext(3);
16610
+ i0.ɵɵstyleProp("width", column_r98.width)("max-width", column_r98.width)("min-width", column_r98.width);
16611
+ i0.ɵɵclassProp("po-table-column", column_r98.type !== "icon")("po-table-column-right", column_r98.type === "currency" || column_r98.type === "number")("po-table-column-center", column_r98.type === "subtitle")("po-table-column-icons", column_r98.type === "icon");
16612
+ i0.ɵɵproperty("ngClass", ctx_r77.getClassColor(row_r71, column_r98));
16508
16613
  i0.ɵɵadvance(1);
16509
- i0.ɵɵstyleProp("width", ctx_r78.noColumnsHeader == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement.offsetWidth, "px");
16510
- i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r78.hideTextOverflow);
16511
- i0.ɵɵproperty("ngSwitch", column_r99.type)("p-tooltip", ctx_r78.tooltipText);
16614
+ i0.ɵɵstyleProp("width", ctx_r77.noColumnsHeaderFixed == null ? null : ctx_r77.noColumnsHeaderFixed.nativeElement.parentElement == null ? null : ctx_r77.noColumnsHeaderFixed.nativeElement.parentElement.offsetWidth, "px");
16615
+ i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r77.hideTextOverflow);
16616
+ i0.ɵɵproperty("ngSwitch", column_r98.type)("p-tooltip", ctx_r77.tooltipText);
16512
16617
  i0.ɵɵadvance(1);
16513
16618
  i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
16514
16619
  i0.ɵɵadvance(1);
@@ -16536,127 +16641,127 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf,
16536
16641
  } }
16537
16642
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
16538
16643
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
16539
- const _r156 = i0.ɵɵgetCurrentView();
16540
- i0.ɵɵelementStart(0, "td", 72);
16541
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r156); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r154 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r154.toggleDetail(row_r72)); });
16542
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 73);
16644
+ const _r155 = i0.ɵɵgetCurrentView();
16645
+ i0.ɵɵelementStart(0, "td", 71);
16646
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r155); const row_r71 = i0.ɵɵnextContext().$implicit; const ctx_r153 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r153.toggleDetail(row_r71)); });
16647
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 72);
16543
16648
  i0.ɵɵelementEnd();
16544
16649
  } if (rf & 2) {
16545
- const ctx_r157 = i0.ɵɵnextContext();
16546
- const row_r72 = ctx_r157.$implicit;
16547
- const rowIndex_r73 = ctx_r157.index;
16650
+ const ctx_r156 = i0.ɵɵnextContext();
16651
+ const row_r71 = ctx_r156.$implicit;
16652
+ const rowIndex_r72 = ctx_r156.index;
16548
16653
  i0.ɵɵnextContext(3);
16549
16654
  const _r11 = i0.ɵɵreference(13);
16550
16655
  i0.ɵɵadvance(1);
16551
- i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r72, rowIndex_r73));
16656
+ i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r71, rowIndex_r72));
16552
16657
  } }
16553
16658
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template(rf, ctx) { }
16554
16659
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
16555
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 73);
16660
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 72);
16556
16661
  } if (rf & 2) {
16557
- const ctx_r159 = i0.ɵɵnextContext();
16558
- const row_r72 = ctx_r159.$implicit;
16559
- const rowIndex_r73 = ctx_r159.index;
16662
+ const ctx_r158 = i0.ɵɵnextContext();
16663
+ const row_r71 = ctx_r158.$implicit;
16664
+ const rowIndex_r72 = ctx_r158.index;
16560
16665
  i0.ɵɵnextContext(3);
16561
16666
  const _r23 = i0.ɵɵreference(25);
16562
- i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r72, rowIndex_r73));
16667
+ i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r71, rowIndex_r72));
16563
16668
  } }
16564
16669
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
16565
16670
  i0.ɵɵelementContainerStart(0);
16566
- i0.ɵɵelement(1, "td", 84);
16671
+ i0.ɵɵelement(1, "td", 83);
16567
16672
  i0.ɵɵelementContainerEnd();
16568
16673
  } }
16569
16674
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template(rf, ctx) { if (rf & 1) {
16570
- i0.ɵɵelement(0, "td", 85);
16675
+ i0.ɵɵelement(0, "td", 84);
16571
16676
  } }
16572
16677
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
16573
- const _c15 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
16678
+ const _c19 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
16574
16679
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template(rf, ctx) { if (rf & 1) {
16575
- i0.ɵɵelementStart(0, "tr")(1, "td", 86);
16576
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 73);
16680
+ i0.ɵɵelementStart(0, "tr")(1, "td", 85);
16681
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 72);
16577
16682
  i0.ɵɵelementEnd()();
16578
16683
  } if (rf & 2) {
16579
- const ctx_r161 = i0.ɵɵnextContext();
16580
- const row_r72 = ctx_r161.$implicit;
16581
- const rowIndex_r73 = ctx_r161.index;
16582
- const ctx_r83 = i0.ɵɵnextContext(3);
16684
+ const ctx_r160 = i0.ɵɵnextContext();
16685
+ const row_r71 = ctx_r160.$implicit;
16686
+ const rowIndex_r72 = ctx_r160.index;
16687
+ const ctx_r82 = i0.ɵɵnextContext(3);
16583
16688
  i0.ɵɵadvance(1);
16584
- i0.ɵɵproperty("colSpan", ctx_r83.columnCountForMasterDetail);
16689
+ i0.ɵɵproperty("colSpan", ctx_r82.columnCountForMasterDetail);
16585
16690
  i0.ɵɵadvance(1);
16586
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r83.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c15, row_r72, rowIndex_r73));
16691
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r82.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c19, row_r71, rowIndex_r72));
16587
16692
  } }
16588
16693
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template(rf, ctx) { if (rf & 1) {
16589
- const _r163 = i0.ɵɵgetCurrentView();
16590
- i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
16591
- i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r163); const ctx_r162 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r162.selectDetailRow($event)); });
16694
+ const _r162 = i0.ɵɵgetCurrentView();
16695
+ i0.ɵɵelementStart(0, "tr")(1, "td", 86)(2, "po-table-detail", 87);
16696
+ i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r162); const ctx_r161 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r161.selectDetailRow($event)); });
16592
16697
  i0.ɵɵelementEnd()()();
16593
16698
  } if (rf & 2) {
16594
- const row_r72 = i0.ɵɵnextContext().$implicit;
16595
- const ctx_r84 = i0.ɵɵnextContext(3);
16699
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16700
+ const ctx_r83 = i0.ɵɵnextContext(3);
16596
16701
  i0.ɵɵadvance(1);
16597
- i0.ɵɵproperty("colSpan", ctx_r84.columnCountForMasterDetail);
16702
+ i0.ɵɵproperty("colSpan", ctx_r83.columnCountForMasterDetail);
16598
16703
  i0.ɵɵadvance(1);
16599
- i0.ɵɵproperty("p-selectable", ctx_r84.selectable && !ctx_r84.detailHideSelect)("p-detail", ctx_r84.columnMasterDetail.detail)("p-items", row_r72[ctx_r84.nameColumnDetail]);
16704
+ i0.ɵɵproperty("p-selectable", ctx_r83.selectable && !ctx_r83.detailHideSelect)("p-detail", ctx_r83.columnMasterDetail.detail)("p-items", row_r71[ctx_r83.nameColumnDetail]);
16600
16705
  } }
16601
16706
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template(rf, ctx) { if (rf & 1) {
16602
- i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
16707
+ i0.ɵɵelementStart(0, "tbody", 63)(1, "tr", 67);
16603
16708
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template, 2, 4, "td", 40);
16604
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template, 2, 5, "td", 69);
16709
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template, 2, 5, "td", 68);
16605
16710
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template, 1, 5, null, 23);
16606
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template, 2, 5, "td", 69);
16607
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template, 15, 33, "td", 70);
16608
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template, 2, 5, "td", 69);
16711
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template, 2, 5, "td", 68);
16712
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template, 15, 33, "td", 69);
16713
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template, 2, 5, "td", 68);
16609
16714
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template, 1, 5, null, 23);
16610
16715
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
16611
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template, 1, 0, "td", 71);
16716
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template, 1, 0, "td", 70);
16612
16717
  i0.ɵɵelementEnd();
16613
16718
  i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template, 3, 6, "tr", 23);
16614
16719
  i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template, 3, 4, "tr", 23);
16615
16720
  i0.ɵɵelementEnd();
16616
16721
  } if (rf & 2) {
16617
- const row_r72 = ctx.$implicit;
16618
- const rowIndex_r73 = ctx.index;
16619
- const ctx_r71 = i0.ɵɵnextContext(3);
16722
+ const row_r71 = ctx.$implicit;
16723
+ const rowIndex_r72 = ctx.index;
16724
+ const ctx_r70 = i0.ɵɵnextContext(3);
16620
16725
  i0.ɵɵadvance(1);
16621
- i0.ɵɵclassProp("po-table-row-active", row_r72.$selected || row_r72.$selected === null && ctx_r71.selectable);
16726
+ i0.ɵɵclassProp("po-table-row-active", row_r71.$selected || row_r71.$selected === null && ctx_r70.selectable);
16622
16727
  i0.ɵɵadvance(1);
16623
- i0.ɵɵproperty("ngIf", ctx_r71.selectable);
16728
+ i0.ɵɵproperty("ngIf", ctx_r70.selectable);
16624
16729
  i0.ɵɵadvance(1);
16625
- i0.ɵɵproperty("ngIf", ctx_r71.columnMasterDetail && !ctx_r71.hideDetail && !ctx_r71.hasRowTemplate);
16730
+ i0.ɵɵproperty("ngIf", ctx_r70.columnMasterDetail && !ctx_r70.hideDetail && !ctx_r70.hasRowTemplate);
16626
16731
  i0.ɵɵadvance(1);
16627
- i0.ɵɵproperty("ngIf", !ctx_r71.actionRight && (ctx_r71.visibleActions.length > 1 || ctx_r71.isSingleAction));
16732
+ i0.ɵɵproperty("ngIf", !ctx_r70.actionRight && (ctx_r70.visibleActions.length > 1 || ctx_r70.isSingleAction));
16628
16733
  i0.ɵɵadvance(1);
16629
- i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplate && !ctx_r71.hasRowTemplateWithArrowDirectionRight);
16734
+ i0.ɵɵproperty("ngIf", ctx_r70.hasRowTemplate && !ctx_r70.hasRowTemplateWithArrowDirectionRight);
16630
16735
  i0.ɵɵadvance(1);
16631
- i0.ɵɵproperty("ngForOf", ctx_r71.mainColumns)("ngForTrackBy", ctx_r71.trackBy);
16736
+ i0.ɵɵproperty("ngForOf", ctx_r70.mainColumns)("ngForTrackBy", ctx_r70.trackBy);
16632
16737
  i0.ɵɵadvance(1);
16633
- i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplateWithArrowDirectionRight);
16738
+ i0.ɵɵproperty("ngIf", ctx_r70.hasRowTemplateWithArrowDirectionRight);
16634
16739
  i0.ɵɵadvance(1);
16635
- i0.ɵɵproperty("ngIf", ctx_r71.actionRight);
16740
+ i0.ɵɵproperty("ngIf", ctx_r70.actionRight);
16636
16741
  i0.ɵɵadvance(1);
16637
- i0.ɵɵproperty("ngIf", !ctx_r71.actionRight && (ctx_r71.visibleActions.length > 1 || ctx_r71.isSingleAction) && !ctx_r71.hideColumnsManager);
16742
+ i0.ɵɵproperty("ngIf", !ctx_r70.actionRight && (ctx_r70.visibleActions.length > 1 || ctx_r70.isSingleAction) && !ctx_r70.hideColumnsManager);
16638
16743
  i0.ɵɵadvance(1);
16639
- i0.ɵɵproperty("ngIf", !ctx_r71.hasVisibleActions && !ctx_r71.hideColumnsManager && !ctx_r71.hasRowTemplateWithArrowDirectionRight);
16744
+ i0.ɵɵproperty("ngIf", !ctx_r70.hasVisibleActions && !ctx_r70.hideColumnsManager && !ctx_r70.hasRowTemplateWithArrowDirectionRight);
16640
16745
  i0.ɵɵadvance(1);
16641
- i0.ɵɵproperty("ngIf", ctx_r71.hasMainColumns && ctx_r71.hasRowTemplate && row_r72.$showDetail && ctx_r71.isShowRowTemplate(row_r72, rowIndex_r73));
16746
+ i0.ɵɵproperty("ngIf", ctx_r70.hasMainColumns && ctx_r70.hasRowTemplate && row_r71.$showDetail && ctx_r70.isShowRowTemplate(row_r71, rowIndex_r72));
16642
16747
  i0.ɵɵadvance(1);
16643
- i0.ɵɵproperty("ngIf", ctx_r71.hasMainColumns && ctx_r71.isShowMasterDetail(row_r72));
16748
+ i0.ɵɵproperty("ngIf", ctx_r70.hasMainColumns && ctx_r70.isShowMasterDetail(row_r71));
16644
16749
  } }
16645
16750
  function PoTableComponent_ng_template_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
16646
16751
  i0.ɵɵelementContainerStart(0);
16647
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template, 13, 14, "tbody", 67);
16752
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template, 13, 14, "tbody", 66);
16648
16753
  i0.ɵɵelementContainerEnd();
16649
16754
  } if (rf & 2) {
16650
- const ctx_r70 = i0.ɵɵnextContext(2);
16755
+ const ctx_r69 = i0.ɵɵnextContext(2);
16651
16756
  i0.ɵɵadvance(1);
16652
- i0.ɵɵproperty("cdkVirtualForOf", ctx_r70.items)("cdkVirtualForTrackBy", ctx_r70.trackBy);
16757
+ i0.ɵɵproperty("cdkVirtualForOf", ctx_r69.items)("cdkVirtualForTrackBy", ctx_r69.trackBy);
16653
16758
  } }
16654
16759
  function PoTableComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
16655
- const _r166 = i0.ɵɵgetCurrentView();
16656
- i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 61, 62);
16657
- i0.ɵɵlistener("scroll", function PoTableComponent_ng_template_6_Template_cdk_virtual_scroll_viewport_scroll_0_listener() { i0.ɵɵrestoreView(_r166); const ctx_r165 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r165.syncronizeHorizontalScroll()); });
16760
+ const _r165 = i0.ɵɵgetCurrentView();
16761
+ i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 60, 61);
16762
+ i0.ɵɵlistener("scroll", function PoTableComponent_ng_template_6_Template_cdk_virtual_scroll_viewport_scroll_0_listener() { i0.ɵɵrestoreView(_r165); const ctx_r164 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r164.syncronizeHorizontalScroll()); });
16658
16763
  i0.ɵɵelementStart(2, "table", 39);
16659
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_tbody_3_Template, 5, 2, "tbody", 63);
16764
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_tbody_3_Template, 5, 2, "tbody", 62);
16660
16765
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_Template, 2, 2, "ng-container", 23);
16661
16766
  i0.ɵɵelementEnd()();
16662
16767
  } if (rf & 2) {
@@ -16671,68 +16776,68 @@ function PoTableComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
16671
16776
  i0.ɵɵproperty("ngIf", ctx_r7.hasMainColumns);
16672
16777
  } }
16673
16778
  function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) { if (rf & 1) {
16674
- const _r179 = i0.ɵɵgetCurrentView();
16779
+ const _r178 = i0.ɵɵgetCurrentView();
16675
16780
  i0.ɵɵelementStart(0, "po-checkbox", 49);
16676
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_click_0_listener() { i0.ɵɵrestoreView(_r179); const ctx_r178 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r178.selectAllRows()); })("p-change", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_p_change_0_listener() { i0.ɵɵrestoreView(_r179); const ctx_r180 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r180.selectAllRows()); })("ngModelChange", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r179); const ctx_r181 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r181.selectAll = $event); });
16781
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_click_0_listener() { i0.ɵɵrestoreView(_r178); const ctx_r177 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r177.selectAllRows()); })("p-change", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_p_change_0_listener() { i0.ɵɵrestoreView(_r178); const ctx_r179 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r179.selectAllRows()); })("ngModelChange", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r178); const ctx_r180 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r180.selectAll = $event); });
16677
16782
  i0.ɵɵelementEnd();
16678
16783
  } if (rf & 2) {
16679
- const ctx_r177 = i0.ɵɵnextContext(3);
16680
- i0.ɵɵproperty("ngModel", ctx_r177.selectAll);
16784
+ const ctx_r176 = i0.ɵɵnextContext(3);
16785
+ i0.ɵɵproperty("ngModel", ctx_r176.selectAll);
16681
16786
  } }
16682
16787
  function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) { if (rf & 1) {
16683
16788
  i0.ɵɵelementStart(0, "th", 47)(1, "div");
16684
16789
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template, 1, 1, "po-checkbox", 48);
16685
16790
  i0.ɵɵelementEnd()();
16686
16791
  } if (rf & 2) {
16687
- const ctx_r167 = i0.ɵɵnextContext(2);
16792
+ const ctx_r166 = i0.ɵɵnextContext(2);
16688
16793
  i0.ɵɵadvance(1);
16689
- i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r167.height);
16794
+ i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r166.height);
16690
16795
  i0.ɵɵadvance(1);
16691
- i0.ɵɵproperty("ngIf", !ctx_r167.hideSelectAll);
16796
+ i0.ɵɵproperty("ngIf", !ctx_r166.hideSelectAll);
16692
16797
  } }
16693
16798
  function PoTableComponent_ng_template_8_th_4_Template(rf, ctx) { if (rf & 1) {
16694
16799
  i0.ɵɵelement(0, "th", 50);
16695
16800
  } }
16696
16801
  function PoTableComponent_ng_template_8_th_5_Template(rf, ctx) { if (rf & 1) {
16697
- i0.ɵɵelement(0, "th", null, 51);
16802
+ i0.ɵɵelement(0, "th", null, 88);
16698
16803
  } if (rf & 2) {
16699
- const ctx_r169 = i0.ɵɵnextContext(2);
16700
- i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r169.isSingleAction)("po-table-header-single-action", ctx_r169.isSingleAction);
16804
+ const ctx_r168 = i0.ɵɵnextContext(2);
16805
+ i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r168.isSingleAction)("po-table-header-single-action", ctx_r168.isSingleAction);
16701
16806
  } }
16702
16807
  function PoTableComponent_ng_template_8_th_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
16703
16808
  i0.ɵɵelementContainer(0);
16704
16809
  } }
16705
16810
  function PoTableComponent_ng_template_8_th_6_Template(rf, ctx) { if (rf & 1) {
16706
- i0.ɵɵelementStart(0, "th", 52, 53);
16811
+ i0.ɵɵelementStart(0, "th", 52, 89);
16707
16812
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container", 32);
16708
16813
  i0.ɵɵelementEnd();
16709
16814
  } if (rf & 2) {
16710
- const ctx_r170 = i0.ɵɵnextContext(2);
16815
+ const ctx_r169 = i0.ɵɵnextContext(2);
16711
16816
  const _r19 = i0.ɵɵreference(21);
16712
16817
  const _r21 = i0.ɵɵreference(23);
16713
16818
  i0.ɵɵadvance(2);
16714
- i0.ɵɵproperty("ngIf", ctx_r170.height)("ngIfThen", _r19)("ngIfElse", _r21);
16819
+ i0.ɵɵproperty("ngIf", ctx_r169.height)("ngIfThen", _r19)("ngIfElse", _r21);
16715
16820
  } }
16716
- function PoTableComponent_ng_template_8_th_7_ng_container_3_Template(rf, ctx) { if (rf & 1) {
16821
+ function PoTableComponent_ng_template_8_th_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
16717
16822
  i0.ɵɵelementContainer(0);
16718
16823
  } }
16719
16824
  function PoTableComponent_ng_template_8_th_7_Template(rf, ctx) { if (rf & 1) {
16720
- const _r190 = i0.ɵɵgetCurrentView();
16721
- i0.ɵɵelementStart(0, "th", 54, 55);
16722
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r190); const column_r185 = restoredCtx.$implicit; const ctx_r189 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r189.sortColumn(column_r185)); });
16723
- i0.ɵɵelementStart(2, "div", 56);
16724
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_7_ng_container_3_Template, 1, 0, "ng-container", 57);
16825
+ const _r188 = i0.ɵɵgetCurrentView();
16826
+ i0.ɵɵelementStart(0, "th", 54);
16827
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r188); const column_r184 = restoredCtx.$implicit; const ctx_r187 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r187.sortColumn(column_r184)); });
16828
+ i0.ɵɵelementStart(1, "div", 55);
16829
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_7_ng_container_2_Template, 1, 0, "ng-container", 56);
16725
16830
  i0.ɵɵelementEnd()();
16726
16831
  } if (rf & 2) {
16727
- const column_r185 = ctx.$implicit;
16728
- const ctx_r171 = i0.ɵɵnextContext(2);
16832
+ const column_r184 = ctx.$implicit;
16833
+ const ctx_r170 = i0.ɵɵnextContext(2);
16729
16834
  const _r17 = i0.ɵɵreference(19);
16730
- i0.ɵɵstyleProp("width", column_r185.width)("max-width", column_r185.width)("min-width", column_r185.width);
16731
- i0.ɵɵclassProp("po-clickable", ctx_r171.sort && column_r185.sortable !== false || ctx_r171.hasService)("po-table-header-subtitle", column_r185.type === "subtitle");
16732
- i0.ɵɵadvance(2);
16733
- i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r171.height)("po-table-header-flex-right", column_r185.type === "currency" || column_r185.type === "number")("po-table-header-flex-center", column_r185.type === "subtitle");
16835
+ i0.ɵɵstyleProp("width", column_r184.width)("max-width", column_r184.width)("min-width", column_r184.width);
16836
+ i0.ɵɵclassProp("po-clickable", ctx_r170.sort && column_r184.sortable !== false || ctx_r170.hasService)("po-table-header-subtitle", column_r184.type === "subtitle");
16837
+ i0.ɵɵadvance(1);
16838
+ i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r170.height)("po-table-header-flex-right", column_r184.type === "currency" || column_r184.type === "number")("po-table-header-flex-center", column_r184.type === "subtitle");
16734
16839
  i0.ɵɵadvance(1);
16735
- i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c12, column_r185));
16840
+ i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c16, column_r184));
16736
16841
  } }
16737
16842
  function PoTableComponent_ng_template_8_th_8_Template(rf, ctx) { if (rf & 1) {
16738
16843
  i0.ɵɵelement(0, "th", 50);
@@ -16740,132 +16845,132 @@ function PoTableComponent_ng_template_8_th_8_Template(rf, ctx) { if (rf & 1) {
16740
16845
  function PoTableComponent_ng_template_8_th_9_Template(rf, ctx) { if (rf & 1) {
16741
16846
  i0.ɵɵelement(0, "th");
16742
16847
  } if (rf & 2) {
16743
- const ctx_r173 = i0.ɵɵnextContext(2);
16744
- i0.ɵɵclassProp("po-table-header-single-action", ctx_r173.isSingleAction)("po-table-header-actions", !ctx_r173.isSingleAction);
16848
+ const ctx_r172 = i0.ɵɵnextContext(2);
16849
+ i0.ɵɵclassProp("po-table-header-single-action", ctx_r172.isSingleAction)("po-table-header-actions", !ctx_r172.isSingleAction);
16745
16850
  } }
16746
16851
  function PoTableComponent_ng_template_8_th_10_Template(rf, ctx) { if (rf & 1) {
16747
- const _r194 = i0.ɵɵgetCurrentView();
16748
- i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
16749
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r194); const ctx_r193 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r193.onOpenColumnManager()); });
16852
+ const _r192 = i0.ɵɵgetCurrentView();
16853
+ i0.ɵɵelementStart(0, "th", null, 90)(2, "div")(3, "button", 58, 91);
16854
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r192); const ctx_r191 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r191.onOpenColumnManager()); });
16750
16855
  i0.ɵɵelementEnd()()();
16751
16856
  } if (rf & 2) {
16752
- const _r191 = i0.ɵɵreference(1);
16753
- const ctx_r174 = i0.ɵɵnextContext(2);
16754
- i0.ɵɵclassProp("po-table-header-column-manager", !ctx_r174.isSingleAction || !ctx_r174.actionRight)("po-table-header-column-manager-border", !ctx_r174.height && ctx_r174.container)("po-table-header-single-action", ctx_r174.isSingleAction && ctx_r174.actionRight);
16857
+ const _r189 = i0.ɵɵreference(1);
16858
+ const ctx_r173 = i0.ɵɵnextContext(2);
16859
+ i0.ɵɵclassProp("po-table-header-column-manager", !ctx_r173.isSingleAction || !ctx_r173.actionRight)("po-table-header-column-manager-border", !ctx_r173.height && ctx_r173.container)("po-table-header-single-action", ctx_r173.isSingleAction && ctx_r173.actionRight);
16755
16860
  i0.ɵɵadvance(2);
16756
- i0.ɵɵstyleProp("width", ctx_r174.height && ctx_r174.visibleActions.length ? _r191.offsetWidth : undefined, "px");
16757
- i0.ɵɵclassProp("po-table-header-column-manager-border", ctx_r174.height && ctx_r174.container)("po-table-header-column-manager-fixed-inner", ctx_r174.height);
16861
+ i0.ɵɵstyleProp("width", ctx_r173.height && ctx_r173.visibleActions.length ? _r189.offsetWidth : undefined, "px");
16862
+ i0.ɵɵclassProp("po-table-header-column-manager-border", ctx_r173.height && ctx_r173.container)("po-table-header-column-manager-fixed-inner", ctx_r173.height);
16758
16863
  i0.ɵɵadvance(1);
16759
- i0.ɵɵproperty("p-tooltip", ctx_r174.literals.columnsManager);
16760
- i0.ɵɵattribute("aria-label", ctx_r174.literals.columnsManager);
16864
+ i0.ɵɵproperty("p-tooltip", ctx_r173.literals.columnsManager);
16865
+ i0.ɵɵattribute("aria-label", ctx_r173.literals.columnsManager);
16761
16866
  } }
16762
16867
  function PoTableComponent_ng_template_8_tbody_11_Template(rf, ctx) { if (rf & 1) {
16763
- i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 65)(2, "td", 66)(3, "span");
16868
+ i0.ɵɵelementStart(0, "tbody", 63)(1, "tr", 64)(2, "td", 65)(3, "span");
16764
16869
  i0.ɵɵtext(4);
16765
16870
  i0.ɵɵelementEnd()()()();
16766
16871
  } if (rf & 2) {
16767
- const ctx_r175 = i0.ɵɵnextContext(2);
16872
+ const ctx_r174 = i0.ɵɵnextContext(2);
16768
16873
  i0.ɵɵadvance(2);
16769
- i0.ɵɵproperty("colSpan", ctx_r175.columnCount);
16874
+ i0.ɵɵproperty("colSpan", ctx_r174.columnCount);
16770
16875
  i0.ɵɵadvance(2);
16771
- i0.ɵɵtextInterpolate1(" ", ctx_r175.literals.noData, " ");
16876
+ i0.ɵɵtextInterpolate1(" ", ctx_r174.literals.noData, " ");
16772
16877
  } }
16773
16878
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16774
16879
  i0.ɵɵelementContainer(0);
16775
16880
  } }
16776
16881
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
16777
16882
  i0.ɵɵelementStart(0, "td", 47);
16778
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 57);
16883
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 56);
16779
16884
  i0.ɵɵelementEnd();
16780
16885
  } if (rf & 2) {
16781
- const row_r196 = i0.ɵɵnextContext().$implicit;
16782
- const ctx_r198 = i0.ɵɵnextContext(3);
16886
+ const row_r194 = i0.ɵɵnextContext().$implicit;
16887
+ const ctx_r196 = i0.ɵɵnextContext(3);
16783
16888
  const _r13 = i0.ɵɵreference(15);
16784
16889
  const _r15 = i0.ɵɵreference(17);
16785
16890
  i0.ɵɵadvance(1);
16786
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r198.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c12, row_r196));
16891
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r196.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c16, row_r194));
16787
16892
  } }
16788
16893
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
16789
16894
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
16790
- const _r214 = i0.ɵɵgetCurrentView();
16791
- i0.ɵɵelementStart(0, "td", 72);
16792
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r214); const row_r196 = i0.ɵɵnextContext().$implicit; const ctx_r212 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r212.toggleDetail(row_r196)); });
16793
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 73);
16895
+ const _r212 = i0.ɵɵgetCurrentView();
16896
+ i0.ɵɵelementStart(0, "td", 71);
16897
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r212); const row_r194 = i0.ɵɵnextContext().$implicit; const ctx_r210 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r210.toggleDetail(row_r194)); });
16898
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 72);
16794
16899
  i0.ɵɵelementEnd();
16795
16900
  } if (rf & 2) {
16796
- const ctx_r215 = i0.ɵɵnextContext();
16797
- const row_r196 = ctx_r215.$implicit;
16798
- const rowIndex_r197 = ctx_r215.index;
16901
+ const ctx_r213 = i0.ɵɵnextContext();
16902
+ const row_r194 = ctx_r213.$implicit;
16903
+ const rowIndex_r195 = ctx_r213.index;
16799
16904
  i0.ɵɵnextContext(3);
16800
16905
  const _r11 = i0.ɵɵreference(13);
16801
16906
  i0.ɵɵadvance(1);
16802
- i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r196, rowIndex_r197));
16907
+ i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r194, rowIndex_r195));
16803
16908
  } }
16804
16909
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template(rf, ctx) { }
16805
16910
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
16806
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 73);
16911
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 72);
16807
16912
  } if (rf & 2) {
16808
- const ctx_r217 = i0.ɵɵnextContext();
16809
- const row_r196 = ctx_r217.$implicit;
16810
- const rowIndex_r197 = ctx_r217.index;
16913
+ const ctx_r215 = i0.ɵɵnextContext();
16914
+ const row_r194 = ctx_r215.$implicit;
16915
+ const rowIndex_r195 = ctx_r215.index;
16811
16916
  i0.ɵɵnextContext(3);
16812
16917
  const _r23 = i0.ɵɵreference(25);
16813
- i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r196, rowIndex_r197));
16918
+ i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r194, rowIndex_r195));
16814
16919
  } }
16815
16920
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
16816
16921
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
16817
- const _r221 = i0.ɵɵgetCurrentView();
16818
- i0.ɵɵelementStart(0, "td", 72);
16819
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r221); const row_r196 = i0.ɵɵnextContext().$implicit; const ctx_r219 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r219.toggleDetail(row_r196)); });
16820
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 73);
16922
+ const _r219 = i0.ɵɵgetCurrentView();
16923
+ i0.ɵɵelementStart(0, "td", 71);
16924
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r219); const row_r194 = i0.ɵɵnextContext().$implicit; const ctx_r217 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r217.toggleDetail(row_r194)); });
16925
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 72);
16821
16926
  i0.ɵɵelementEnd();
16822
16927
  } if (rf & 2) {
16823
- const ctx_r222 = i0.ɵɵnextContext();
16824
- const row_r196 = ctx_r222.$implicit;
16825
- const rowIndex_r197 = ctx_r222.index;
16928
+ const ctx_r220 = i0.ɵɵnextContext();
16929
+ const row_r194 = ctx_r220.$implicit;
16930
+ const rowIndex_r195 = ctx_r220.index;
16826
16931
  i0.ɵɵnextContext(3);
16827
16932
  const _r11 = i0.ɵɵreference(13);
16828
16933
  i0.ɵɵadvance(1);
16829
- i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r196, rowIndex_r197));
16934
+ i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r194, rowIndex_r195));
16830
16935
  } }
16831
16936
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16832
16937
  i0.ɵɵelementContainer(0);
16833
16938
  } }
16834
16939
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
16835
16940
  i0.ɵɵelementStart(0, "span");
16836
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 57);
16941
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 56);
16837
16942
  i0.ɵɵelementEnd();
16838
16943
  } if (rf & 2) {
16839
- const column_r223 = i0.ɵɵnextContext().$implicit;
16840
- const row_r196 = i0.ɵɵnextContext().$implicit;
16841
- const ctx_r225 = i0.ɵɵnextContext(3);
16944
+ const column_r221 = i0.ɵɵnextContext().$implicit;
16945
+ const row_r194 = i0.ɵɵnextContext().$implicit;
16946
+ const ctx_r223 = i0.ɵɵnextContext(3);
16842
16947
  i0.ɵɵadvance(1);
16843
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r225.getTemplate(column_r223))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c12, ctx_r225.getCellData(row_r196, column_r223)));
16948
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r223.getTemplate(column_r221))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c16, ctx_r223.getCellData(row_r194, column_r221)));
16844
16949
  } }
16845
16950
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16846
16951
  i0.ɵɵelementContainer(0);
16847
16952
  } }
16848
16953
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
16849
16954
  i0.ɵɵelementStart(0, "span");
16850
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 57);
16955
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 56);
16851
16956
  i0.ɵɵelementEnd();
16852
16957
  } if (rf & 2) {
16853
- const column_r223 = i0.ɵɵnextContext().$implicit;
16854
- const row_r196 = i0.ɵɵnextContext().$implicit;
16855
- const ctx_r226 = i0.ɵɵnextContext(3);
16958
+ const column_r221 = i0.ɵɵnextContext().$implicit;
16959
+ const row_r194 = i0.ɵɵnextContext().$implicit;
16960
+ const ctx_r224 = i0.ɵɵnextContext(3);
16856
16961
  i0.ɵɵadvance(1);
16857
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r226.tableCellTemplate == null ? null : ctx_r226.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r196, column_r223));
16962
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r224.tableCellTemplate == null ? null : ctx_r224.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c18, row_r194, column_r221));
16858
16963
  } }
16859
16964
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template(rf, ctx) { if (rf & 1) {
16860
16965
  i0.ɵɵelementStart(0, "span");
16861
16966
  i0.ɵɵtext(1);
16862
16967
  i0.ɵɵelementEnd();
16863
16968
  } if (rf & 2) {
16864
- const column_r223 = i0.ɵɵnextContext().$implicit;
16865
- const row_r196 = i0.ɵɵnextContext().$implicit;
16866
- const ctx_r227 = i0.ɵɵnextContext(3);
16969
+ const column_r221 = i0.ɵɵnextContext().$implicit;
16970
+ const row_r194 = i0.ɵɵnextContext().$implicit;
16971
+ const ctx_r225 = i0.ɵɵnextContext(3);
16867
16972
  i0.ɵɵadvance(1);
16868
- i0.ɵɵtextInterpolate1(" ", ctx_r227.getBooleanLabel(ctx_r227.getCellData(row_r196, column_r223), column_r223), " ");
16973
+ i0.ɵɵtextInterpolate1(" ", ctx_r225.getBooleanLabel(ctx_r225.getCellData(row_r194, column_r221), column_r221), " ");
16869
16974
  } }
16870
16975
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template(rf, ctx) { if (rf & 1) {
16871
16976
  i0.ɵɵelementStart(0, "span");
@@ -16873,11 +16978,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Temp
16873
16978
  i0.ɵɵpipe(2, "currency");
16874
16979
  i0.ɵɵelementEnd();
16875
16980
  } if (rf & 2) {
16876
- const column_r223 = i0.ɵɵnextContext().$implicit;
16877
- const row_r196 = i0.ɵɵnextContext().$implicit;
16878
- const ctx_r228 = i0.ɵɵnextContext(3);
16981
+ const column_r221 = i0.ɵɵnextContext().$implicit;
16982
+ const row_r194 = i0.ɵɵnextContext().$implicit;
16983
+ const ctx_r226 = i0.ɵɵnextContext(3);
16879
16984
  i0.ɵɵadvance(1);
16880
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r228.getCellData(row_r196, column_r223), column_r223.format, "symbol", "1.2-2"), " ");
16985
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r226.getCellData(row_r194, column_r221), column_r221.format, "symbol", "1.2-2"), " ");
16881
16986
  } }
16882
16987
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template(rf, ctx) { if (rf & 1) {
16883
16988
  i0.ɵɵelementStart(0, "span");
@@ -16885,11 +16990,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Temp
16885
16990
  i0.ɵɵpipe(2, "date");
16886
16991
  i0.ɵɵelementEnd();
16887
16992
  } if (rf & 2) {
16888
- const column_r223 = i0.ɵɵnextContext().$implicit;
16889
- const row_r196 = i0.ɵɵnextContext().$implicit;
16890
- const ctx_r229 = i0.ɵɵnextContext(3);
16993
+ const column_r221 = i0.ɵɵnextContext().$implicit;
16994
+ const row_r194 = i0.ɵɵnextContext().$implicit;
16995
+ const ctx_r227 = i0.ɵɵnextContext(3);
16891
16996
  i0.ɵɵadvance(1);
16892
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r229.getCellData(row_r196, column_r223), column_r223.format || "dd/MM/yyyy"), " ");
16997
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r227.getCellData(row_r194, column_r221), column_r221.format || "dd/MM/yyyy"), " ");
16893
16998
  } }
16894
16999
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template(rf, ctx) { if (rf & 1) {
16895
17000
  i0.ɵɵelementStart(0, "span");
@@ -16897,11 +17002,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Temp
16897
17002
  i0.ɵɵpipe(2, "po_time");
16898
17003
  i0.ɵɵelementEnd();
16899
17004
  } if (rf & 2) {
16900
- const column_r223 = i0.ɵɵnextContext().$implicit;
16901
- const row_r196 = i0.ɵɵnextContext().$implicit;
16902
- const ctx_r230 = i0.ɵɵnextContext(3);
17005
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17006
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17007
+ const ctx_r228 = i0.ɵɵnextContext(3);
16903
17008
  i0.ɵɵadvance(1);
16904
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r230.getCellData(row_r196, column_r223), column_r223.format || "HH:mm:ss.ffffff"), " ");
17009
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r228.getCellData(row_r194, column_r221), column_r221.format || "HH:mm:ss.ffffff"), " ");
16905
17010
  } }
16906
17011
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template(rf, ctx) { if (rf & 1) {
16907
17012
  i0.ɵɵelementStart(0, "span");
@@ -16909,105 +17014,105 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Temp
16909
17014
  i0.ɵɵpipe(2, "date");
16910
17015
  i0.ɵɵelementEnd();
16911
17016
  } if (rf & 2) {
16912
- const column_r223 = i0.ɵɵnextContext().$implicit;
16913
- const row_r196 = i0.ɵɵnextContext().$implicit;
16914
- const ctx_r231 = i0.ɵɵnextContext(3);
17017
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17018
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17019
+ const ctx_r229 = i0.ɵɵnextContext(3);
16915
17020
  i0.ɵɵadvance(1);
16916
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r231.getCellData(row_r196, column_r223), column_r223.format || "dd/MM/yyyy HH:mm:ss"), " ");
17021
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r229.getCellData(row_r194, column_r221), column_r221.format || "dd/MM/yyyy HH:mm:ss"), " ");
16917
17022
  } }
16918
17023
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template(rf, ctx) { if (rf & 1) {
16919
17024
  i0.ɵɵelementStart(0, "span");
16920
17025
  i0.ɵɵtext(1);
16921
17026
  i0.ɵɵelementEnd();
16922
17027
  } if (rf & 2) {
16923
- const column_r223 = i0.ɵɵnextContext().$implicit;
16924
- const row_r196 = i0.ɵɵnextContext().$implicit;
16925
- const ctx_r232 = i0.ɵɵnextContext(3);
17028
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17029
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17030
+ const ctx_r230 = i0.ɵɵnextContext(3);
16926
17031
  i0.ɵɵadvance(1);
16927
- i0.ɵɵtextInterpolate1(" ", ctx_r232.formatNumber(ctx_r232.getCellData(row_r196, column_r223), column_r223.format), " ");
17032
+ i0.ɵɵtextInterpolate1(" ", ctx_r230.formatNumber(ctx_r230.getCellData(row_r194, column_r221), column_r221.format), " ");
16928
17033
  } }
16929
17034
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
16930
- const _r258 = i0.ɵɵgetCurrentView();
16931
- i0.ɵɵelementStart(0, "po-table-column-link", 80);
16932
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r258); const column_r223 = i0.ɵɵnextContext().$implicit; const row_r196 = i0.ɵɵnextContext().$implicit; const ctx_r256 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r256.onClickLink($event, row_r196, column_r223)); });
17035
+ const _r256 = i0.ɵɵgetCurrentView();
17036
+ i0.ɵɵelementStart(0, "po-table-column-link", 79);
17037
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r256); const column_r221 = i0.ɵɵnextContext().$implicit; const row_r194 = i0.ɵɵnextContext().$implicit; const ctx_r254 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r254.onClickLink($event, row_r194, column_r221)); });
16933
17038
  i0.ɵɵelementEnd();
16934
17039
  } if (rf & 2) {
16935
- const column_r223 = i0.ɵɵnextContext().$implicit;
16936
- const row_r196 = i0.ɵɵnextContext().$implicit;
16937
- const ctx_r233 = i0.ɵɵnextContext(3);
16938
- i0.ɵɵproperty("p-action", column_r223.action)("p-disabled", ctx_r233.checkDisabled(row_r196, column_r223))("p-link", row_r196[column_r223.link])("p-row", row_r196)("p-value", ctx_r233.getCellData(row_r196, column_r223));
17040
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17041
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17042
+ const ctx_r231 = i0.ɵɵnextContext(3);
17043
+ i0.ɵɵproperty("p-action", column_r221.action)("p-disabled", ctx_r231.checkDisabled(row_r194, column_r221))("p-link", row_r194[column_r221.link])("p-row", row_r194)("p-value", ctx_r231.getCellData(row_r194, column_r221));
16939
17044
  } }
16940
17045
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
16941
- i0.ɵɵelement(0, "po-table-column-icon", 81);
17046
+ i0.ɵɵelement(0, "po-table-column-icon", 80);
16942
17047
  } if (rf & 2) {
16943
- const column_r223 = i0.ɵɵnextContext().$implicit;
16944
- const row_r196 = i0.ɵɵnextContext().$implicit;
16945
- const ctx_r234 = i0.ɵɵnextContext(3);
16946
- i0.ɵɵproperty("p-column", column_r223)("p-icons", ctx_r234.getColumnIcons(row_r196, column_r223))("p-row", row_r196);
17048
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17049
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17050
+ const ctx_r232 = i0.ɵɵnextContext(3);
17051
+ i0.ɵɵproperty("p-column", column_r221)("p-icons", ctx_r232.getColumnIcons(row_r194, column_r221))("p-row", row_r194);
16947
17052
  } }
16948
17053
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
16949
17054
  i0.ɵɵelementStart(0, "span");
16950
- i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
17055
+ i0.ɵɵelement(1, "po-table-subtitle-circle", 81);
16951
17056
  i0.ɵɵelementEnd();
16952
17057
  } if (rf & 2) {
16953
- const column_r223 = i0.ɵɵnextContext().$implicit;
16954
- const row_r196 = i0.ɵɵnextContext().$implicit;
16955
- const ctx_r235 = i0.ɵɵnextContext(3);
17058
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17059
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17060
+ const ctx_r233 = i0.ɵɵnextContext(3);
16956
17061
  i0.ɵɵadvance(1);
16957
- i0.ɵɵproperty("p-subtitle", ctx_r235.getSubtitleColumn(row_r196, column_r223));
17062
+ i0.ɵɵproperty("p-subtitle", ctx_r233.getSubtitleColumn(row_r194, column_r221));
16958
17063
  } }
16959
17064
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
16960
17065
  i0.ɵɵelementStart(0, "span");
16961
- i0.ɵɵelement(1, "po-table-column-label", 83);
17066
+ i0.ɵɵelement(1, "po-table-column-label", 82);
16962
17067
  i0.ɵɵelementEnd();
16963
17068
  } if (rf & 2) {
16964
- const column_r223 = i0.ɵɵnextContext().$implicit;
16965
- const row_r196 = i0.ɵɵnextContext().$implicit;
16966
- const ctx_r236 = i0.ɵɵnextContext(3);
17069
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17070
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17071
+ const ctx_r234 = i0.ɵɵnextContext(3);
16967
17072
  i0.ɵɵadvance(1);
16968
- i0.ɵɵproperty("p-value", ctx_r236.getColumnLabel(row_r196, column_r223));
17073
+ i0.ɵɵproperty("p-value", ctx_r234.getColumnLabel(row_r194, column_r221));
16969
17074
  } }
16970
17075
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template(rf, ctx) { if (rf & 1) {
16971
17076
  i0.ɵɵelementStart(0, "span");
16972
17077
  i0.ɵɵtext(1);
16973
17078
  i0.ɵɵelementEnd();
16974
17079
  } if (rf & 2) {
16975
- const column_r223 = i0.ɵɵnextContext().$implicit;
16976
- const row_r196 = i0.ɵɵnextContext().$implicit;
16977
- const ctx_r237 = i0.ɵɵnextContext(3);
17080
+ const column_r221 = i0.ɵɵnextContext().$implicit;
17081
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17082
+ const ctx_r235 = i0.ɵɵnextContext(3);
16978
17083
  i0.ɵɵadvance(1);
16979
- i0.ɵɵtextInterpolate(ctx_r237.getCellData(row_r196, column_r223));
17084
+ i0.ɵɵtextInterpolate(ctx_r235.getCellData(row_r194, column_r221));
16980
17085
  } }
16981
17086
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
16982
- const _r271 = i0.ɵɵgetCurrentView();
16983
- i0.ɵɵelementStart(0, "td", 74);
16984
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r271); const row_r196 = i0.ɵɵnextContext().$implicit; const ctx_r270 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r270.selectable ? ctx_r270.selectRow(row_r196) : "javascript:;"); });
16985
- i0.ɵɵelementStart(1, "div", 75);
16986
- i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r271); const column_r223 = restoredCtx.$implicit; const row_r196 = i0.ɵɵnextContext().$implicit; const ctx_r273 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r273.tooltipMouseEnter($event, column_r223, row_r196)); })("mouseleave", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r271); const ctx_r275 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r275.tooltipMouseLeave()); });
16987
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
16988
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
16989
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
16990
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
16991
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
16992
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
16993
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
16994
- i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
16995
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 77);
16996
- i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 78);
16997
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
16998
- i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
16999
- i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template, 2, 1, "span", 79);
17087
+ const _r269 = i0.ɵɵgetCurrentView();
17088
+ i0.ɵɵelementStart(0, "td", 73);
17089
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r269); const row_r194 = i0.ɵɵnextContext().$implicit; const ctx_r268 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r268.hasSelectableRow() ? ctx_r268.selectRow(row_r194) : "javascript:;"); });
17090
+ i0.ɵɵelementStart(1, "div", 74);
17091
+ i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r269); const column_r221 = restoredCtx.$implicit; const row_r194 = i0.ɵɵnextContext().$implicit; const ctx_r271 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r271.tooltipMouseEnter($event, column_r221, row_r194)); })("mouseleave", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r269); const ctx_r273 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r273.tooltipMouseLeave()); });
17092
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template, 2, 4, "span", 75);
17093
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template, 2, 5, "span", 75);
17094
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template, 2, 1, "span", 75);
17095
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template, 3, 6, "span", 75);
17096
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template, 3, 4, "span", 75);
17097
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template, 3, 4, "span", 75);
17098
+ i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template, 3, 4, "span", 75);
17099
+ i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template, 2, 1, "span", 75);
17100
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 76);
17101
+ i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 77);
17102
+ i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template, 2, 1, "span", 75);
17103
+ i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template, 2, 1, "span", 75);
17104
+ i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template, 2, 1, "span", 78);
17000
17105
  i0.ɵɵelementEnd()();
17001
17106
  } if (rf & 2) {
17002
- const column_r223 = ctx.$implicit;
17003
- const row_r196 = i0.ɵɵnextContext().$implicit;
17004
- const ctx_r202 = i0.ɵɵnextContext(3);
17005
- i0.ɵɵstyleProp("width", column_r223.width)("max-width", column_r223.width)("min-width", column_r223.width);
17006
- i0.ɵɵclassProp("po-table-column", column_r223.type !== "icon")("po-table-column-right", column_r223.type === "currency" || column_r223.type === "number")("po-table-column-center", column_r223.type === "subtitle")("po-table-column-icons", column_r223.type === "icon");
17007
- i0.ɵɵproperty("ngClass", ctx_r202.getClassColor(row_r196, column_r223));
17107
+ const column_r221 = ctx.$implicit;
17108
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17109
+ const ctx_r200 = i0.ɵɵnextContext(3);
17110
+ i0.ɵɵstyleProp("width", column_r221.width)("max-width", column_r221.width)("min-width", column_r221.width);
17111
+ i0.ɵɵclassProp("po-table-column", column_r221.type !== "icon")("po-table-column-right", column_r221.type === "currency" || column_r221.type === "number")("po-table-column-center", column_r221.type === "subtitle")("po-table-column-icons", column_r221.type === "icon");
17112
+ i0.ɵɵproperty("ngClass", ctx_r200.getClassColor(row_r194, column_r221));
17008
17113
  i0.ɵɵadvance(1);
17009
- i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r202.hideTextOverflow);
17010
- i0.ɵɵproperty("ngSwitch", column_r223.type)("p-tooltip", ctx_r202.tooltipText);
17114
+ i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r200.hideTextOverflow);
17115
+ i0.ɵɵproperty("ngSwitch", column_r221.type)("p-tooltip", ctx_r200.tooltipText);
17011
17116
  i0.ɵɵadvance(1);
17012
17117
  i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
17013
17118
  i0.ɵɵadvance(1);
@@ -17035,119 +17140,119 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf
17035
17140
  } }
17036
17141
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
17037
17142
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
17038
- const _r280 = i0.ɵɵgetCurrentView();
17039
- i0.ɵɵelementStart(0, "td", 72);
17040
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r280); const row_r196 = i0.ɵɵnextContext().$implicit; const ctx_r278 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r278.toggleDetail(row_r196)); });
17041
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 73);
17143
+ const _r278 = i0.ɵɵgetCurrentView();
17144
+ i0.ɵɵelementStart(0, "td", 71);
17145
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r278); const row_r194 = i0.ɵɵnextContext().$implicit; const ctx_r276 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r276.toggleDetail(row_r194)); });
17146
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 72);
17042
17147
  i0.ɵɵelementEnd();
17043
17148
  } if (rf & 2) {
17044
- const ctx_r281 = i0.ɵɵnextContext();
17045
- const row_r196 = ctx_r281.$implicit;
17046
- const rowIndex_r197 = ctx_r281.index;
17149
+ const ctx_r279 = i0.ɵɵnextContext();
17150
+ const row_r194 = ctx_r279.$implicit;
17151
+ const rowIndex_r195 = ctx_r279.index;
17047
17152
  i0.ɵɵnextContext(3);
17048
17153
  const _r11 = i0.ɵɵreference(13);
17049
17154
  i0.ɵɵadvance(1);
17050
- i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r196, rowIndex_r197));
17155
+ i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r194, rowIndex_r195));
17051
17156
  } }
17052
17157
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template(rf, ctx) { }
17053
17158
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
17054
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 73);
17159
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 72);
17055
17160
  } if (rf & 2) {
17056
- const ctx_r283 = i0.ɵɵnextContext();
17057
- const row_r196 = ctx_r283.$implicit;
17058
- const rowIndex_r197 = ctx_r283.index;
17161
+ const ctx_r281 = i0.ɵɵnextContext();
17162
+ const row_r194 = ctx_r281.$implicit;
17163
+ const rowIndex_r195 = ctx_r281.index;
17059
17164
  i0.ɵɵnextContext(3);
17060
17165
  const _r23 = i0.ɵɵreference(25);
17061
- i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c13, row_r196, rowIndex_r197));
17166
+ i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c17, row_r194, rowIndex_r195));
17062
17167
  } }
17063
17168
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
17064
17169
  i0.ɵɵelementContainerStart(0);
17065
- i0.ɵɵelement(1, "td", 90);
17170
+ i0.ɵɵelement(1, "td", 93);
17066
17171
  i0.ɵɵelementContainerEnd();
17067
17172
  } }
17068
17173
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template(rf, ctx) { if (rf & 1) {
17069
- i0.ɵɵelement(0, "td", 85);
17174
+ i0.ɵɵelement(0, "td", 84);
17070
17175
  } }
17071
17176
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
17072
17177
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template(rf, ctx) { if (rf & 1) {
17073
- i0.ɵɵelementStart(0, "tr")(1, "td", 86);
17074
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 73);
17178
+ i0.ɵɵelementStart(0, "tr")(1, "td", 85);
17179
+ i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 72);
17075
17180
  i0.ɵɵelementEnd()();
17076
17181
  } if (rf & 2) {
17077
- const ctx_r285 = i0.ɵɵnextContext();
17078
- const row_r196 = ctx_r285.$implicit;
17079
- const rowIndex_r197 = ctx_r285.index;
17080
- const ctx_r207 = i0.ɵɵnextContext(3);
17182
+ const ctx_r283 = i0.ɵɵnextContext();
17183
+ const row_r194 = ctx_r283.$implicit;
17184
+ const rowIndex_r195 = ctx_r283.index;
17185
+ const ctx_r205 = i0.ɵɵnextContext(3);
17081
17186
  i0.ɵɵadvance(1);
17082
- i0.ɵɵproperty("colSpan", ctx_r207.columnCountForMasterDetail);
17187
+ i0.ɵɵproperty("colSpan", ctx_r205.columnCountForMasterDetail);
17083
17188
  i0.ɵɵadvance(1);
17084
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r207.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c15, row_r196, rowIndex_r197));
17189
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r205.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c19, row_r194, rowIndex_r195));
17085
17190
  } }
17086
17191
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template(rf, ctx) { if (rf & 1) {
17087
- const _r287 = i0.ɵɵgetCurrentView();
17088
- i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
17089
- i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r287); const ctx_r286 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r286.selectDetailRow($event)); });
17192
+ const _r285 = i0.ɵɵgetCurrentView();
17193
+ i0.ɵɵelementStart(0, "tr")(1, "td", 86)(2, "po-table-detail", 87);
17194
+ i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r285); const ctx_r284 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r284.selectDetailRow($event)); });
17090
17195
  i0.ɵɵelementEnd()()();
17091
17196
  } if (rf & 2) {
17092
- const row_r196 = i0.ɵɵnextContext().$implicit;
17093
- const ctx_r208 = i0.ɵɵnextContext(3);
17197
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17198
+ const ctx_r206 = i0.ɵɵnextContext(3);
17094
17199
  i0.ɵɵadvance(1);
17095
- i0.ɵɵproperty("colSpan", ctx_r208.columnCountForMasterDetail);
17200
+ i0.ɵɵproperty("colSpan", ctx_r206.columnCountForMasterDetail);
17096
17201
  i0.ɵɵadvance(1);
17097
- i0.ɵɵproperty("p-selectable", ctx_r208.selectable && !ctx_r208.detailHideSelect)("p-detail", ctx_r208.columnMasterDetail.detail)("p-items", row_r196[ctx_r208.nameColumnDetail]);
17202
+ i0.ɵɵproperty("p-selectable", ctx_r206.selectable && !ctx_r206.detailHideSelect)("p-detail", ctx_r206.columnMasterDetail.detail)("p-items", row_r194[ctx_r206.nameColumnDetail]);
17098
17203
  } }
17099
17204
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template(rf, ctx) { if (rf & 1) {
17100
- i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
17205
+ i0.ɵɵelementStart(0, "tbody", 63)(1, "tr", 67);
17101
17206
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template, 2, 4, "td", 40);
17102
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template, 2, 5, "td", 69);
17207
+ i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template, 2, 5, "td", 68);
17103
17208
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template, 1, 5, null, 23);
17104
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template, 2, 5, "td", 69);
17105
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template, 15, 31, "td", 70);
17106
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template, 2, 5, "td", 69);
17209
+ i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template, 2, 5, "td", 68);
17210
+ i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template, 15, 31, "td", 69);
17211
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template, 2, 5, "td", 68);
17107
17212
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template, 1, 5, null, 23);
17108
17213
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
17109
- i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template, 1, 0, "td", 71);
17214
+ i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template, 1, 0, "td", 70);
17110
17215
  i0.ɵɵelementEnd();
17111
17216
  i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template, 3, 6, "tr", 23);
17112
17217
  i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template, 3, 4, "tr", 23);
17113
17218
  i0.ɵɵelementEnd();
17114
17219
  } if (rf & 2) {
17115
- const row_r196 = ctx.$implicit;
17116
- const rowIndex_r197 = ctx.index;
17117
- const ctx_r195 = i0.ɵɵnextContext(3);
17220
+ const row_r194 = ctx.$implicit;
17221
+ const rowIndex_r195 = ctx.index;
17222
+ const ctx_r193 = i0.ɵɵnextContext(3);
17118
17223
  i0.ɵɵadvance(1);
17119
- i0.ɵɵclassProp("po-table-row-active", row_r196.$selected || row_r196.$selected === null && ctx_r195.selectable);
17224
+ i0.ɵɵclassProp("po-table-row-active", row_r194.$selected || row_r194.$selected === null && ctx_r193.selectable);
17120
17225
  i0.ɵɵadvance(1);
17121
- i0.ɵɵproperty("ngIf", ctx_r195.selectable);
17226
+ i0.ɵɵproperty("ngIf", ctx_r193.selectable);
17122
17227
  i0.ɵɵadvance(1);
17123
- i0.ɵɵproperty("ngIf", ctx_r195.columnMasterDetail && !ctx_r195.hideDetail && !ctx_r195.hasRowTemplate);
17228
+ i0.ɵɵproperty("ngIf", ctx_r193.columnMasterDetail && !ctx_r193.hideDetail && !ctx_r193.hasRowTemplate);
17124
17229
  i0.ɵɵadvance(1);
17125
- i0.ɵɵproperty("ngIf", !ctx_r195.actionRight && (ctx_r195.visibleActions.length > 1 || ctx_r195.isSingleAction));
17230
+ i0.ɵɵproperty("ngIf", !ctx_r193.actionRight && (ctx_r193.visibleActions.length > 1 || ctx_r193.isSingleAction));
17126
17231
  i0.ɵɵadvance(1);
17127
- i0.ɵɵproperty("ngIf", ctx_r195.hasRowTemplate && !ctx_r195.hasRowTemplateWithArrowDirectionRight);
17232
+ i0.ɵɵproperty("ngIf", ctx_r193.hasRowTemplate && !ctx_r193.hasRowTemplateWithArrowDirectionRight);
17128
17233
  i0.ɵɵadvance(1);
17129
- i0.ɵɵproperty("ngForOf", ctx_r195.mainColumns)("ngForTrackBy", ctx_r195.trackBy);
17234
+ i0.ɵɵproperty("ngForOf", ctx_r193.mainColumns)("ngForTrackBy", ctx_r193.trackBy);
17130
17235
  i0.ɵɵadvance(1);
17131
- i0.ɵɵproperty("ngIf", ctx_r195.hasRowTemplateWithArrowDirectionRight);
17236
+ i0.ɵɵproperty("ngIf", ctx_r193.hasRowTemplateWithArrowDirectionRight);
17132
17237
  i0.ɵɵadvance(1);
17133
- i0.ɵɵproperty("ngIf", ctx_r195.actionRight);
17238
+ i0.ɵɵproperty("ngIf", ctx_r193.actionRight);
17134
17239
  i0.ɵɵadvance(1);
17135
- i0.ɵɵproperty("ngIf", !ctx_r195.actionRight && (ctx_r195.visibleActions.length > 1 || ctx_r195.isSingleAction) && !ctx_r195.hideColumnsManager);
17240
+ i0.ɵɵproperty("ngIf", !ctx_r193.actionRight && (ctx_r193.visibleActions.length > 1 || ctx_r193.isSingleAction) && !ctx_r193.hideColumnsManager);
17136
17241
  i0.ɵɵadvance(1);
17137
- i0.ɵɵproperty("ngIf", !ctx_r195.hasVisibleActions && !ctx_r195.hideColumnsManager && !ctx_r195.hasRowTemplateWithArrowDirectionRight);
17242
+ i0.ɵɵproperty("ngIf", !ctx_r193.hasVisibleActions && !ctx_r193.hideColumnsManager && !ctx_r193.hasRowTemplateWithArrowDirectionRight);
17138
17243
  i0.ɵɵadvance(1);
17139
- i0.ɵɵproperty("ngIf", ctx_r195.hasMainColumns && ctx_r195.hasRowTemplate && row_r196.$showDetail && ctx_r195.isShowRowTemplate(row_r196, rowIndex_r197));
17244
+ i0.ɵɵproperty("ngIf", ctx_r193.hasMainColumns && ctx_r193.hasRowTemplate && row_r194.$showDetail && ctx_r193.isShowRowTemplate(row_r194, rowIndex_r195));
17140
17245
  i0.ɵɵadvance(1);
17141
- i0.ɵɵproperty("ngIf", ctx_r195.hasMainColumns && ctx_r195.isShowMasterDetail(row_r196));
17246
+ i0.ɵɵproperty("ngIf", ctx_r193.hasMainColumns && ctx_r193.isShowMasterDetail(row_r194));
17142
17247
  } }
17143
17248
  function PoTableComponent_ng_template_8_ng_container_12_Template(rf, ctx) { if (rf & 1) {
17144
17249
  i0.ɵɵelementContainerStart(0);
17145
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template, 13, 14, "tbody", 89);
17250
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template, 13, 14, "tbody", 92);
17146
17251
  i0.ɵɵelementContainerEnd();
17147
17252
  } if (rf & 2) {
17148
- const ctx_r176 = i0.ɵɵnextContext(2);
17253
+ const ctx_r175 = i0.ɵɵnextContext(2);
17149
17254
  i0.ɵɵadvance(1);
17150
- i0.ɵɵproperty("ngForOf", ctx_r176.items)("ngForTrackBy", ctx_r176.trackBy);
17255
+ i0.ɵɵproperty("ngForOf", ctx_r175.items)("ngForTrackBy", ctx_r175.trackBy);
17151
17256
  } }
17152
17257
  function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
17153
17258
  i0.ɵɵelementStart(0, "table", 39)(1, "thead")(2, "tr");
@@ -17155,12 +17260,12 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
17155
17260
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_th_4_Template, 1, 0, "th", 41);
17156
17261
  i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_th_5_Template, 2, 4, "th", 42);
17157
17262
  i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_th_6_Template, 3, 3, "th", 43);
17158
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_th_7_Template, 4, 20, "th", 44);
17263
+ i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_th_7_Template, 3, 20, "th", 44);
17159
17264
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_th_8_Template, 1, 0, "th", 41);
17160
17265
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_th_9_Template, 1, 4, "th", 45);
17161
17266
  i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_th_10_Template, 5, 14, "th", 46);
17162
17267
  i0.ɵɵelementEnd()();
17163
- i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_tbody_11_Template, 5, 2, "tbody", 63);
17268
+ i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_tbody_11_Template, 5, 2, "tbody", 62);
17164
17269
  i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_Template, 2, 2, "ng-container", 23);
17165
17270
  i0.ɵɵelementEnd();
17166
17271
  } if (rf & 2) {
@@ -17190,64 +17295,64 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
17190
17295
  i0.ɵɵproperty("ngIf", ctx_r9.hasMainColumns);
17191
17296
  } }
17192
17297
  function PoTableComponent_ng_template_12_span_0_Template(rf, ctx) { if (rf & 1) {
17193
- i0.ɵɵelement(0, "span", 92);
17298
+ i0.ɵɵelement(0, "span", 95);
17194
17299
  } if (rf & 2) {
17195
- const row_r289 = i0.ɵɵnextContext().row;
17196
- i0.ɵɵclassProp("po-icon-arrow-up", row_r289.$showDetail)("po-icon-arrow-down", !row_r289.$showDetail);
17300
+ const row_r287 = i0.ɵɵnextContext().row;
17301
+ i0.ɵɵclassProp("po-icon-arrow-up", row_r287.$showDetail)("po-icon-arrow-down", !row_r287.$showDetail);
17197
17302
  } }
17198
17303
  function PoTableComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
17199
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_12_span_0_Template, 1, 4, "span", 91);
17304
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_12_span_0_Template, 1, 4, "span", 94);
17200
17305
  } if (rf & 2) {
17201
- const row_r289 = ctx.row;
17202
- const rowIndex_r290 = ctx.rowIndex;
17306
+ const row_r287 = ctx.row;
17307
+ const rowIndex_r288 = ctx.rowIndex;
17203
17308
  const ctx_r12 = i0.ɵɵnextContext();
17204
- i0.ɵɵproperty("ngIf", ctx_r12.containsMasterDetail(row_r289) && !ctx_r12.hasRowTemplate || ctx_r12.isShowRowTemplate(row_r289, rowIndex_r290) && ctx_r12.hasRowTemplate);
17309
+ i0.ɵɵproperty("ngIf", ctx_r12.containsMasterDetail(row_r287) && !ctx_r12.hasRowTemplate || ctx_r12.isShowRowTemplate(row_r287, rowIndex_r288) && ctx_r12.hasRowTemplate);
17205
17310
  } }
17206
17311
  function PoTableComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
17207
- const _r295 = i0.ɵɵgetCurrentView();
17208
- i0.ɵɵelement(0, "input", 93);
17209
- i0.ɵɵelementStart(1, "label", 94);
17210
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_14_Template_label_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r295); const row_r293 = restoredCtx.$implicit; const ctx_r294 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r294.selectable ? ctx_r294.selectRow(row_r293) : "javascript:;"); });
17312
+ const _r293 = i0.ɵɵgetCurrentView();
17313
+ i0.ɵɵelement(0, "input", 96);
17314
+ i0.ɵɵelementStart(1, "label", 97);
17315
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_14_Template_label_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r293); const row_r291 = restoredCtx.$implicit; const ctx_r292 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r292.selectable ? ctx_r292.selectRow(row_r291) : "javascript:;"); });
17211
17316
  i0.ɵɵelementEnd();
17212
17317
  } if (rf & 2) {
17213
- const row_r293 = ctx.$implicit;
17214
- i0.ɵɵclassProp("po-table-radio-checked", row_r293.$selected);
17318
+ const row_r291 = ctx.$implicit;
17319
+ i0.ɵɵclassProp("po-table-radio-checked", row_r291.$selected);
17215
17320
  } }
17216
17321
  function PoTableComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
17217
- const _r298 = i0.ɵɵgetCurrentView();
17218
- i0.ɵɵelementStart(0, "po-checkbox", 95);
17219
- i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_16_Template_po_checkbox_p_change_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r298); const row_r296 = restoredCtx.$implicit; const ctx_r297 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r297.selectable ? ctx_r297.selectRow(row_r296) : "javascript:;"); })("ngModelChange", function PoTableComponent_ng_template_16_Template_po_checkbox_ngModelChange_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r298); const row_r296 = restoredCtx.$implicit; return i0.ɵɵresetView(row_r296.$selected = $event); })("click", function PoTableComponent_ng_template_16_Template_po_checkbox_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r298); const row_r296 = restoredCtx.$implicit; const ctx_r300 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r300.selectable ? ctx_r300.selectRow(row_r296) : "javascript:;"); });
17322
+ const _r296 = i0.ɵɵgetCurrentView();
17323
+ i0.ɵɵelementStart(0, "po-checkbox", 98);
17324
+ i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_16_Template_po_checkbox_p_change_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r296); const row_r294 = restoredCtx.$implicit; const ctx_r295 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r295.selectable ? ctx_r295.selectRow(row_r294) : "javascript:;"); })("ngModelChange", function PoTableComponent_ng_template_16_Template_po_checkbox_ngModelChange_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r296); const row_r294 = restoredCtx.$implicit; return i0.ɵɵresetView(row_r294.$selected = $event); })("click", function PoTableComponent_ng_template_16_Template_po_checkbox_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r296); const row_r294 = restoredCtx.$implicit; const ctx_r298 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r298.selectable ? ctx_r298.selectRow(row_r294) : "javascript:;"); });
17220
17325
  i0.ɵɵelementEnd();
17221
17326
  } if (rf & 2) {
17222
- const row_r296 = ctx.$implicit;
17223
- i0.ɵɵproperty("ngModel", row_r296.$selected);
17327
+ const row_r294 = ctx.$implicit;
17328
+ i0.ɵɵproperty("ngModel", row_r294.$selected);
17224
17329
  } }
17225
17330
  function PoTableComponent_ng_template_18_span_4_Template(rf, ctx) { if (rf & 1) {
17226
17331
  i0.ɵɵelement(0, "span");
17227
17332
  } if (rf & 2) {
17228
- const column_r301 = i0.ɵɵnextContext().$implicit;
17229
- const ctx_r303 = i0.ɵɵnextContext();
17230
- i0.ɵɵclassProp("po-table-header-icon-unselected", (ctx_r303.sortedColumn == null ? null : ctx_r303.sortedColumn.property) !== column_r301)("po-table-header-icon-descending", (ctx_r303.sortedColumn == null ? null : ctx_r303.sortedColumn.property) === column_r301 && ctx_r303.sortedColumn.ascending)("po-table-header-icon-ascending", (ctx_r303.sortedColumn == null ? null : ctx_r303.sortedColumn.property) === column_r301 && !ctx_r303.sortedColumn.ascending);
17333
+ const column_r299 = i0.ɵɵnextContext().$implicit;
17334
+ const ctx_r301 = i0.ɵɵnextContext();
17335
+ i0.ɵɵclassProp("po-table-header-icon-unselected", (ctx_r301.sortedColumn == null ? null : ctx_r301.sortedColumn.property) !== column_r299)("po-table-header-icon-descending", (ctx_r301.sortedColumn == null ? null : ctx_r301.sortedColumn.property) === column_r299 && ctx_r301.sortedColumn.ascending)("po-table-header-icon-ascending", (ctx_r301.sortedColumn == null ? null : ctx_r301.sortedColumn.property) === column_r299 && !ctx_r301.sortedColumn.ascending);
17231
17336
  } }
17232
17337
  function PoTableComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
17233
- const _r306 = i0.ɵɵgetCurrentView();
17234
- i0.ɵɵelementStart(0, "span", 96, 97);
17235
- i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_18_Template_span_mouseenter_0_listener($event) { i0.ɵɵrestoreView(_r306); const ctx_r305 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r305.tooltipMouseEnter($event)); })("mouseleave", function PoTableComponent_ng_template_18_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r306); const ctx_r307 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r307.tooltipMouseLeave()); });
17338
+ const _r304 = i0.ɵɵgetCurrentView();
17339
+ i0.ɵɵelementStart(0, "span", 99, 100);
17340
+ i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_18_Template_span_mouseenter_0_listener($event) { i0.ɵɵrestoreView(_r304); const ctx_r303 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r303.tooltipMouseEnter($event)); })("mouseleave", function PoTableComponent_ng_template_18_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r304); const ctx_r305 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r305.tooltipMouseLeave()); });
17236
17341
  i0.ɵɵtext(2);
17237
17342
  i0.ɵɵpipe(3, "titlecase");
17238
17343
  i0.ɵɵelementEnd();
17239
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_18_span_4_Template, 1, 6, "span", 98);
17344
+ i0.ɵɵtemplate(4, PoTableComponent_ng_template_18_span_4_Template, 1, 6, "span", 101);
17240
17345
  } if (rf & 2) {
17241
- const column_r301 = ctx.$implicit;
17346
+ const column_r299 = ctx.$implicit;
17242
17347
  const ctx_r18 = i0.ɵɵnextContext();
17243
17348
  i0.ɵɵproperty("p-tooltip", ctx_r18.tooltipText);
17244
17349
  i0.ɵɵadvance(2);
17245
- i0.ɵɵtextInterpolate1(" ", column_r301.label || i0.ɵɵpipeBind1(3, 3, column_r301.property), " ");
17350
+ i0.ɵɵtextInterpolate1(" ", column_r299.label || i0.ɵɵpipeBind1(3, 3, column_r299.property), " ");
17246
17351
  i0.ɵɵadvance(2);
17247
- i0.ɵɵproperty("ngIf", ctx_r18.sort && column_r301.sortable !== false);
17352
+ i0.ɵɵproperty("ngIf", ctx_r18.sort && column_r299.sortable !== false);
17248
17353
  } }
17249
17354
  function PoTableComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
17250
- i0.ɵɵelementStart(0, "div", 99);
17355
+ i0.ɵɵelementStart(0, "div", 102);
17251
17356
  i0.ɵɵtext(1);
17252
17357
  i0.ɵɵelementEnd();
17253
17358
  } if (rf & 2) {
@@ -17263,46 +17368,46 @@ function PoTableComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
17263
17368
  i0.ɵɵtextInterpolate1(" ", ctx_r22.hasValidColumns ? ctx_r22.literals.noVisibleColumn : ctx_r22.literals.noColumns, "\n");
17264
17369
  } }
17265
17370
  function PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template(rf, ctx) { if (rf & 1) {
17266
- i0.ɵɵelement(0, "po-icon", 106);
17371
+ i0.ɵɵelement(0, "po-icon", 109);
17267
17372
  } if (rf & 2) {
17268
- const ctx_r313 = i0.ɵɵnextContext(4);
17269
- i0.ɵɵproperty("p-icon", ctx_r313.firstAction.icon);
17373
+ const ctx_r311 = i0.ɵɵnextContext(4);
17374
+ i0.ɵɵproperty("p-icon", ctx_r311.firstAction.icon);
17270
17375
  } }
17271
17376
  function PoTableComponent_ng_template_24_td_0_div_1_Template(rf, ctx) { if (rf & 1) {
17272
- const _r316 = i0.ɵɵgetCurrentView();
17273
- i0.ɵɵelementStart(0, "div", 104);
17274
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_0_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r316); const row_r308 = i0.ɵɵnextContext(2).row; const ctx_r314 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r314.executeTableAction(row_r308, ctx_r314.firstAction)); });
17275
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon", 105);
17377
+ const _r314 = i0.ɵɵgetCurrentView();
17378
+ i0.ɵɵelementStart(0, "div", 107);
17379
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_0_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r314); const row_r306 = i0.ɵɵnextContext(2).row; const ctx_r312 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r312.executeTableAction(row_r306, ctx_r312.firstAction)); });
17380
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon", 108);
17276
17381
  i0.ɵɵtext(2);
17277
17382
  i0.ɵɵelementEnd();
17278
17383
  } if (rf & 2) {
17279
- const row_r308 = i0.ɵɵnextContext(2).row;
17280
- const ctx_r312 = i0.ɵɵnextContext();
17281
- i0.ɵɵclassProp("po-table-action-disabled", ctx_r312.firstAction.disabled ? ctx_r312.validateTableAction(row_r308, ctx_r312.firstAction) : false);
17384
+ const row_r306 = i0.ɵɵnextContext(2).row;
17385
+ const ctx_r310 = i0.ɵɵnextContext();
17386
+ i0.ɵɵclassProp("po-table-action-disabled", ctx_r310.firstAction.disabled ? ctx_r310.validateTableAction(row_r306, ctx_r310.firstAction) : false);
17282
17387
  i0.ɵɵadvance(1);
17283
- i0.ɵɵproperty("ngIf", ctx_r312.firstAction.icon);
17388
+ i0.ɵɵproperty("ngIf", ctx_r310.firstAction.icon);
17284
17389
  i0.ɵɵadvance(1);
17285
- i0.ɵɵtextInterpolate1(" ", ctx_r312.firstAction.label, " ");
17390
+ i0.ɵɵtextInterpolate1(" ", ctx_r310.firstAction.label, " ");
17286
17391
  } }
17287
17392
  function PoTableComponent_ng_template_24_td_0_Template(rf, ctx) { if (rf & 1) {
17288
- i0.ɵɵelementStart(0, "td", 102);
17289
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_Template, 3, 4, "div", 103);
17393
+ i0.ɵɵelementStart(0, "td", 105);
17394
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_Template, 3, 4, "div", 106);
17290
17395
  i0.ɵɵelementEnd();
17291
17396
  } if (rf & 2) {
17292
- const ctx_r310 = i0.ɵɵnextContext(2);
17293
- i0.ɵɵstyleProp("width", ctx_r310.height && ctx_r310.actionRight ? ctx_r310.getWidthColumnManager() : "", "px")("max-width", ctx_r310.height && !ctx_r310.actionRight ? ctx_r310.getColumnWidthActionsLeft() : "", "px")("width", ctx_r310.height && !ctx_r310.actionRight ? ctx_r310.getColumnWidthActionsLeft() : "", "px");
17397
+ const ctx_r308 = i0.ɵɵnextContext(2);
17398
+ i0.ɵɵstyleProp("width", ctx_r308.height && ctx_r308.actionRight ? ctx_r308.getWidthColumnManager() : "", "px")("max-width", ctx_r308.height && !ctx_r308.actionRight ? ctx_r308.getColumnWidthActionsLeft() : "", "px")("width", ctx_r308.height && !ctx_r308.actionRight ? ctx_r308.getColumnWidthActionsLeft() : "", "px");
17294
17399
  i0.ɵɵadvance(1);
17295
- i0.ɵɵproperty("ngIf", ctx_r310.firstAction.visible !== false);
17400
+ i0.ɵɵproperty("ngIf", ctx_r308.firstAction.visible !== false);
17296
17401
  } }
17297
17402
  function PoTableComponent_ng_template_24_td_1_Template(rf, ctx) { if (rf & 1) {
17298
- const _r321 = i0.ɵɵgetCurrentView();
17299
- i0.ɵɵelementStart(0, "td", 107)(1, "span", 108, 109);
17300
- i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_1_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r321); const _r318 = i0.ɵɵreference(2); const row_r308 = i0.ɵɵnextContext().row; const ctx_r319 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r319.togglePopup(row_r308, _r318)); });
17403
+ const _r319 = i0.ɵɵgetCurrentView();
17404
+ i0.ɵɵelementStart(0, "td", 110)(1, "span", 111, 112);
17405
+ i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_1_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r319); const _r316 = i0.ɵɵreference(2); const row_r306 = i0.ɵɵnextContext().row; const ctx_r317 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r317.togglePopup(row_r306, _r316)); });
17301
17406
  i0.ɵɵelementEnd()();
17302
17407
  } }
17303
17408
  function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
17304
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_24_td_0_Template, 2, 7, "td", 100);
17305
- i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_1_Template, 3, 0, "td", 101);
17409
+ i0.ɵɵtemplate(0, PoTableComponent_ng_template_24_td_0_Template, 2, 7, "td", 103);
17410
+ i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_1_Template, 3, 0, "td", 104);
17306
17411
  } if (rf & 2) {
17307
17412
  const ctx_r24 = i0.ɵɵnextContext();
17308
17413
  i0.ɵɵproperty("ngIf", ctx_r24.isSingleAction);
@@ -17310,13 +17415,13 @@ function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
17310
17415
  i0.ɵɵproperty("ngIf", ctx_r24.visibleActions.length > 1);
17311
17416
  } }
17312
17417
  function PoTableComponent_po_table_column_manager_26_Template(rf, ctx) { if (rf & 1) {
17313
- const _r323 = i0.ɵɵgetCurrentView();
17314
- i0.ɵɵelementStart(0, "po-table-column-manager", 110);
17315
- i0.ɵɵlistener("p-visible-columns-change", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_visible_columns_change_0_listener($event) { i0.ɵɵrestoreView(_r323); const ctx_r322 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r322.onVisibleColumnsChange($event)); })("p-change-visible-columns", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_change_visible_columns_0_listener($event) { i0.ɵɵrestoreView(_r323); const ctx_r324 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r324.onChangeVisibleColumns($event)); })("p-initial-columns", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_initial_columns_0_listener($event) { i0.ɵɵrestoreView(_r323); const ctx_r325 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r325.onColumnRestoreManager($event)); });
17418
+ const _r321 = i0.ɵɵgetCurrentView();
17419
+ i0.ɵɵelementStart(0, "po-table-column-manager", 113);
17420
+ i0.ɵɵlistener("p-visible-columns-change", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_visible_columns_change_0_listener($event) { i0.ɵɵrestoreView(_r321); const ctx_r320 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r320.onVisibleColumnsChange($event)); })("p-change-visible-columns", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_change_visible_columns_0_listener($event) { i0.ɵɵrestoreView(_r321); const ctx_r322 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r322.onChangeVisibleColumns($event)); })("p-initial-columns", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_initial_columns_0_listener($event) { i0.ɵɵrestoreView(_r321); const ctx_r323 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r323.onColumnRestoreManager($event)); });
17316
17421
  i0.ɵɵelementEnd();
17317
17422
  } if (rf & 2) {
17318
17423
  const ctx_r25 = i0.ɵɵnextContext();
17319
- i0.ɵɵproperty("p-columns", ctx_r25.columns)("p-max-columns", ctx_r25.maxColumns)("p-target", ctx_r25.columnManagerTarget)("p-last-visible-columns-selected", ctx_r25.lastVisibleColumnsSelected)("p-columns-default", ctx_r25.initialColumns);
17424
+ i0.ɵɵproperty("p-columns", ctx_r25.columns)("p-max-columns", ctx_r25.maxColumns)("p-target", ctx_r25.height ? ctx_r25.columnManagerTargetFixed : ctx_r25.columnManagerTarget)("p-last-visible-columns-selected", ctx_r25.lastVisibleColumnsSelected)("p-columns-default", ctx_r25.initialColumns);
17320
17425
  } }
17321
17426
  /**
17322
17427
  * @docsExtends PoTableBaseComponent
@@ -17388,6 +17493,13 @@ class PoTableComponent extends PoTableBaseComponent {
17388
17493
  get columnManagerTarget() {
17389
17494
  return this._columnManagerTarget;
17390
17495
  }
17496
+ set columnManagerTargetFixed(value) {
17497
+ this._columnManagerTargetFixed = value;
17498
+ this.changeDetector.detectChanges();
17499
+ }
17500
+ get columnManagerTargetFixed() {
17501
+ return this._columnManagerTargetFixed;
17502
+ }
17391
17503
  get hasRowTemplateWithArrowDirectionRight() {
17392
17504
  return this.tableRowTemplate?.tableRowTemplateArrowDirection === PoTableRowTemplateArrowDirection.Right;
17393
17505
  }
@@ -17716,10 +17828,14 @@ class PoTableComponent extends PoTableBaseComponent {
17716
17828
  this.poTableThead.nativeElement.scrollLeft = this.poTableTbodyVirtual.nativeElement.scrollLeft;
17717
17829
  }
17718
17830
  getWidthColumnManager() {
17719
- return this.columnManager?.nativeElement.offsetWidth;
17831
+ return this.height
17832
+ ? this.columnManagerFixed?.nativeElement.offsetWidth
17833
+ : this.columnManager?.nativeElement.offsetWidth;
17720
17834
  }
17721
17835
  getColumnWidthActionsLeft() {
17722
- return this.columnActionLeft?.nativeElement.offsetWidth;
17836
+ return this.height
17837
+ ? this.columnActionLeftFixed?.nativeElement.offsetWidth
17838
+ : this.columnActionLeft?.nativeElement.offsetWidth;
17723
17839
  }
17724
17840
  calculateHeightTableContainer(height) {
17725
17841
  const value = parseFloat(height);
@@ -17856,20 +17972,25 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17856
17972
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableColumnTemplates = _t);
17857
17973
  } }, viewQuery: function PoTableComponent_Query(rf, ctx) { if (rf & 1) {
17858
17974
  i0.ɵɵviewQuery(_c0$W, 5, ElementRef);
17859
- i0.ɵɵviewQuery(_c1$q, 5);
17860
- i0.ɵɵviewQuery(_c2$b, 5, ElementRef);
17975
+ i0.ɵɵviewQuery(_c1$q, 5, ElementRef);
17976
+ i0.ɵɵviewQuery(_c2$b, 5);
17861
17977
  i0.ɵɵviewQuery(_c3$6, 5, ElementRef);
17862
17978
  i0.ɵɵviewQuery(_c4$4, 5, ElementRef);
17863
17979
  i0.ɵɵviewQuery(_c5$2, 5, ElementRef);
17864
17980
  i0.ɵɵviewQuery(_c6$2, 5, ElementRef);
17865
17981
  i0.ɵɵviewQuery(_c7$1, 5, ElementRef);
17866
17982
  i0.ɵɵviewQuery(_c8$1, 5, ElementRef);
17867
- i0.ɵɵviewQuery(_c9, 5);
17983
+ i0.ɵɵviewQuery(_c9, 5, ElementRef);
17868
17984
  i0.ɵɵviewQuery(_c10, 5, ElementRef);
17869
17985
  i0.ɵɵviewQuery(_c11, 5, ElementRef);
17986
+ i0.ɵɵviewQuery(_c12, 5);
17987
+ i0.ɵɵviewQuery(_c13, 5);
17988
+ i0.ɵɵviewQuery(_c14, 5, ElementRef);
17989
+ i0.ɵɵviewQuery(_c15, 5, ElementRef);
17870
17990
  } if (rf & 2) {
17871
17991
  let _t;
17872
17992
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.noColumnsHeader = _t.first);
17993
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.noColumnsHeaderFixed = _t.first);
17873
17994
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPopupComponent = _t.first);
17874
17995
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableFooterElement = _t.first);
17875
17996
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableWrapperElement = _t.first);
@@ -17877,11 +17998,14 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17877
17998
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableThead = _t.first);
17878
17999
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableTbodyVirtual = _t.first);
17879
18000
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManager = _t.first);
18001
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerFixed = _t.first);
17880
18002
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnActionLeft = _t.first);
18003
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnActionLeftFixed = _t.first);
17881
18004
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTarget = _t.first);
18005
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTargetFixed = _t.first);
17882
18006
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsIconElement = _t);
17883
18007
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsElement = _t);
17884
- } }, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 6, consts: [["p-no-padding", "", 3, "p-no-shadow", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableHeaderTemplate", ""], ["tableBodyTemplate", ""], ["tableTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], ["p-no-padding", "", 3, "p-no-shadow"], [4, "ngTemplateOutlet"], ["class", "po-table-overlay", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 3, "height", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [1, "po-table-overlay"], [1, "po-table-overlay-content", 3, "p-text"], [1, "po-table-container"], [1, "po-table-header-fixed", "po-table-header"], ["poTableThead", ""], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], ["class", "po-table-header-ellipsis", 3, "width", "max-width", "min-width", "po-clickable", "po-table-header-subtitle", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], [3, "po-table-header-column-manager", "po-table-header-column-manager-border", "po-table-header-single-action", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange", 4, "ngIf"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange"], [1, "po-table-header-column", "po-table-header-master-detail"], ["columnActionLeft", ""], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeader", ""], [1, "po-table-header-ellipsis", 3, "click"], ["headersTable", ""], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["columnManager", ""], ["type", "button", "p-tooltip-position", "left", 1, "po-table-header-column-manager-button", "po-icon", "po-icon-settings", "po-clickable", 3, "p-tooltip", "click"], ["columnManagerTarget", ""], [3, "itemSize", "minBufferPx", "maxBufferPx", "scroll"], ["poTableTbodyVirtual", ""], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], [3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-table-column", 4, "ngIf"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass", "click"], [1, "po-table-column-cell", "notranslate", 3, "ngSwitch", "p-tooltip", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-column", "po-table-column-empty"], [1, "po-table-column"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row-no-data", "po-table-column-empty"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], ["type", "radio", 1, "po-table-radio"], [1, "po-table-radio-label", "po-clickable", 3, "click"], ["name", "checkbox", 3, "ngModel", "p-change", "ngModelChange", "click"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 3, "width", "max-width", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) { if (rf & 1) {
18008
+ } }, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 6, consts: [["p-no-padding", "", 3, "p-no-shadow", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableHeaderTemplate", ""], ["tableBodyTemplate", ""], ["tableTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], ["p-no-padding", "", 3, "p-no-shadow"], [4, "ngTemplateOutlet"], ["class", "po-table-overlay", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 3, "height", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [1, "po-table-overlay"], [1, "po-table-overlay-content", 3, "p-text"], [1, "po-table-container"], [1, "po-table-header-fixed", "po-table-header"], ["poTableThead", ""], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], ["class", "po-table-header-ellipsis", 3, "width", "max-width", "min-width", "po-clickable", "po-table-header-subtitle", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], [3, "po-table-header-column-manager", "po-table-header-column-manager-border", "po-table-header-single-action", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange", 4, "ngIf"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange"], [1, "po-table-header-column", "po-table-header-master-detail"], ["columnActionLeftFixed", ""], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeaderFixed", ""], [1, "po-table-header-ellipsis", 3, "click"], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["columnManagerFixed", ""], ["type", "button", "p-tooltip-position", "left", 1, "po-table-header-column-manager-button", "po-icon", "po-icon-settings", "po-clickable", 3, "p-tooltip", "click"], ["columnManagerTargetFixed", ""], [3, "itemSize", "minBufferPx", "maxBufferPx", "scroll"], ["poTableTbodyVirtual", ""], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], [3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-table-column", 4, "ngIf"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass", "click"], [1, "po-table-column-cell", "notranslate", 3, "ngSwitch", "p-tooltip", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-column", "po-table-column-empty"], [1, "po-table-column"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], ["columnActionLeft", ""], ["noColumnsHeader", ""], ["columnManager", ""], ["columnManagerTarget", ""], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row-no-data", "po-table-column-empty"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], ["type", "radio", 1, "po-table-radio"], [1, "po-table-radio-label", "po-clickable", 3, "click"], ["name", "checkbox", 3, "ngModel", "p-change", "ngModelChange", "click"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 3, "width", "max-width", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) { if (rf & 1) {
17885
18009
  i0.ɵɵtemplate(0, PoTableComponent_po_container_0_Template, 2, 2, "po-container", 0);
17886
18010
  i0.ɵɵtemplate(1, PoTableComponent_ng_template_1_Template, 8, 10, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
17887
18011
  i0.ɵɵtemplate(3, PoTableComponent_div_3_Template, 3, 5, "div", 2);
@@ -17909,7 +18033,7 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17909
18033
  } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2$1.NgControlStatus, i2$1.NgModel, i7.CdkFixedSizeVirtualScroll, i7.CdkVirtualForOf, i7.CdkVirtualScrollViewport, PoButtonComponent, PoContainerComponent, PoLoadingComponent, PoPopupComponent, PoTooltipDirective, PoIconComponent, PoCheckboxComponent, PoTableColumnIconComponent, PoTableColumnLabelComponent, PoTableColumnLinkComponent, PoTableColumnManagerComponent, PoTableDetailComponent, PoTableSubtitleCircleComponent, PoTableSubtitleFooterComponent, i1.TitleCasePipe, i1.CurrencyPipe, i1.DatePipe, PoTimePipe], encapsulation: 2 });
17910
18034
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
17911
18035
  type: Component,
17912
- args: [{ selector: 'po-table', providers: [PoDateService], template: "<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding [p-no-shadow]=\"container === 'border'\">\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-relative]=\"loading\">\n <div *ngIf=\"loading\" class=\"po-table-overlay\">\n <po-loading class=\"po-table-overlay-content\" [p-text]=\"literals.loadingData\"></po-loading>\n </div>\n\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\" [style.height.px]=\"heightTableContainer\">\n <div #poTableThead class=\"po-table-header-fixed po-table-header\">\n <ng-container *ngTemplateOutlet=\"tableHeaderTemplate\"></ng-container>\n </div>\n\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngIf=\"height; then tableBodyTemplate; else tableTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<ng-template #tableHeaderTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n #headersTable\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width || '50px'\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction && !hideColumnsManager\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManager\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManager.offsetWidth : undefined\"\n >\n <button\n #columnManagerTarget\n type=\"button\"\n [attr.aria-label]=\"literals.columnsManager\"\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n </table>\n</ng-template>\n\n<!-- s\u00F3 virtual -->\n<ng-template #tableBodyTemplate>\n <cdk-virtual-scroll-viewport\n #poTableTbodyVirtual\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableVirtual\"\n [minBufferPx]=\"heightTableVirtual < 100 ? 100 : heightTableVirtual\"\n [maxBufferPx]=\"heightTableVirtual < 200 ? 200 : heightTableVirtual\"\n (scroll)=\"syncronizeHorizontalScroll()\"\n >\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *cdkVirtualFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [style.width.px]=\"noColumnsHeader?.nativeElement.parentElement?.offsetWidth\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-column po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<ng-template #tableTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"!height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n #headersTable\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManager\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManager.offsetWidth : undefined\"\n >\n <button\n #columnManagerTarget\n type=\"button\"\n [attr.aria-label]=\"literals.columnsManager\"\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-row-no-data po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <input type=\"radio\" class=\"po-table-radio\" [class.po-table-radio-checked]=\"row.$selected\" />\n <label class=\"po-table-radio-label po-clickable\" (click)=\"selectable ? selectRow(row) : 'javascript:;'\"></label>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [(ngModel)]=\"row.$selected\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"sortedColumn?.property !== column\"\n [class.po-table-header-icon-descending]=\"sortedColumn?.property === column && sortedColumn.ascending\"\n [class.po-table-header-icon-ascending]=\"sortedColumn?.property === column && !sortedColumn.ascending\"\n >\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"noColumnsHeader?.nativeElement.offsetWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td\n *ngIf=\"isSingleAction\"\n class=\"po-table-column po-table-column-single-action\"\n [style.width.px]=\"height && actionRight ? getWidthColumnManager() : ''\"\n [style.max-width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n [style.width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n >\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n" }]
18036
+ args: [{ selector: 'po-table', providers: [PoDateService], template: "<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding [p-no-shadow]=\"container === 'border'\">\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-relative]=\"loading\">\n <div *ngIf=\"loading\" class=\"po-table-overlay\">\n <po-loading class=\"po-table-overlay-content\" [p-text]=\"literals.loadingData\"></po-loading>\n </div>\n\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\" [style.height.px]=\"heightTableContainer\">\n <div #poTableThead class=\"po-table-header-fixed po-table-header\">\n <ng-container *ngTemplateOutlet=\"tableHeaderTemplate\"></ng-container>\n </div>\n\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngIf=\"height; then tableBodyTemplate; else tableTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<ng-template #tableHeaderTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeftFixed\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeaderFixed class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction && !hideColumnsManager\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManagerFixed\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManagerFixed.offsetWidth : undefined\"\n >\n <button\n #columnManagerTargetFixed\n type=\"button\"\n [attr.aria-label]=\"literals.columnsManager\"\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n </table>\n</ng-template>\n\n<!-- s\u00F3 virtual -->\n<ng-template #tableBodyTemplate>\n <cdk-virtual-scroll-viewport\n #poTableTbodyVirtual\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableVirtual\"\n [minBufferPx]=\"heightTableVirtual < 100 ? 100 : heightTableVirtual\"\n [maxBufferPx]=\"heightTableVirtual < 200 ? 200 : heightTableVirtual\"\n (scroll)=\"syncronizeHorizontalScroll()\"\n >\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *cdkVirtualFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [style.width.px]=\"noColumnsHeaderFixed?.nativeElement.parentElement?.offsetWidth\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-column po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<ng-template #tableTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"!height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManager\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManager.offsetWidth : undefined\"\n >\n <button\n #columnManagerTarget\n type=\"button\"\n [attr.aria-label]=\"literals.columnsManager\"\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"hasSelectableRow() ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-row-no-data po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <input type=\"radio\" class=\"po-table-radio\" [class.po-table-radio-checked]=\"row.$selected\" />\n <label class=\"po-table-radio-label po-clickable\" (click)=\"selectable ? selectRow(row) : 'javascript:;'\"></label>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [(ngModel)]=\"row.$selected\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"sortedColumn?.property !== column\"\n [class.po-table-header-icon-descending]=\"sortedColumn?.property === column && sortedColumn.ascending\"\n [class.po-table-header-icon-ascending]=\"sortedColumn?.property === column && !sortedColumn.ascending\"\n >\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"noColumnsHeader?.nativeElement.offsetWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td\n *ngIf=\"isSingleAction\"\n class=\"po-table-column po-table-column-single-action\"\n [style.width.px]=\"height && actionRight ? getWidthColumnManager() : ''\"\n [style.max-width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n [style.width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n >\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"height ? columnManagerTargetFixed : columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n" }]
17913
18037
  }], function () { return [{ type: PoDateService }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }, { type: i1.DecimalPipe }, { type: i2.Router }, { type: PoTableService }]; }, { tableRowTemplate: [{
17914
18038
  type: ContentChild,
17915
18039
  args: [PoTableRowTemplateDirective, { static: true }]
@@ -17922,6 +18046,9 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17922
18046
  }], noColumnsHeader: [{
17923
18047
  type: ViewChild,
17924
18048
  args: ['noColumnsHeader', { read: ElementRef }]
18049
+ }], noColumnsHeaderFixed: [{
18050
+ type: ViewChild,
18051
+ args: ['noColumnsHeaderFixed', { read: ElementRef }]
17925
18052
  }], poPopupComponent: [{
17926
18053
  type: ViewChild,
17927
18054
  args: ['popup']
@@ -17943,9 +18070,15 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17943
18070
  }], columnManager: [{
17944
18071
  type: ViewChild,
17945
18072
  args: ['columnManager', { read: ElementRef, static: false }]
18073
+ }], columnManagerFixed: [{
18074
+ type: ViewChild,
18075
+ args: ['columnManagerFixed', { read: ElementRef, static: false }]
17946
18076
  }], columnActionLeft: [{
17947
18077
  type: ViewChild,
17948
18078
  args: ['columnActionLeft', { read: ElementRef, static: false }]
18079
+ }], columnActionLeftFixed: [{
18080
+ type: ViewChild,
18081
+ args: ['columnActionLeftFixed', { read: ElementRef, static: false }]
17949
18082
  }], actionsIconElement: [{
17950
18083
  type: ViewChildren,
17951
18084
  args: ['actionsIconElement', { read: ElementRef }]
@@ -17955,6 +18088,9 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17955
18088
  }], columnManagerTarget: [{
17956
18089
  type: ViewChild,
17957
18090
  args: ['columnManagerTarget']
18091
+ }], columnManagerTargetFixed: [{
18092
+ type: ViewChild,
18093
+ args: ['columnManagerTargetFixed']
17958
18094
  }] }); })();
17959
18095
 
17960
18096
  /**
@@ -18184,6 +18320,8 @@ class PoComboBaseComponent {
18184
18320
  this.page = 1;
18185
18321
  this.pageSize = 10;
18186
18322
  this.loading = false;
18323
+ this.dynamicLabel = 'label';
18324
+ this.dynamicValue = 'value';
18187
18325
  this.cacheStaticOptions = [];
18188
18326
  this.comboOptionsList = [];
18189
18327
  this.onModelTouched = null;
@@ -18288,6 +18426,9 @@ class PoComboBaseComponent {
18288
18426
  * @default `value`
18289
18427
  */
18290
18428
  set fieldValue(value) {
18429
+ if (!this.service && !this.filterService) {
18430
+ this.dynamicValue = value;
18431
+ }
18291
18432
  this._fieldValue = value || PO_COMBO_FIELD_VALUE_DEFAULT;
18292
18433
  if (isTypeof(this.filterService, 'string') && this.service) {
18293
18434
  this.service.fieldValue = this._fieldValue;
@@ -18309,6 +18450,9 @@ class PoComboBaseComponent {
18309
18450
  * @default `label`
18310
18451
  */
18311
18452
  set fieldLabel(value) {
18453
+ if (!this.service && !this.filterService) {
18454
+ this.dynamicLabel = value;
18455
+ }
18312
18456
  this._fieldLabel = value || PO_COMBO_FIELD_LABEL_DEFAULT;
18313
18457
  if (isTypeof(this.filterService, 'string') && this.service) {
18314
18458
  this.service.fieldLabel = this._fieldLabel;
@@ -18387,14 +18531,16 @@ class PoComboBaseComponent {
18387
18531
  /**
18388
18532
  * Nesta propriedade define a lista de opções do `po-combo`.
18389
18533
  *
18390
- * > A lista pode ser definida em dois formatos, simples ou com agrupamentos.
18391
- * - Utilize `PoComboOption` para lista de opções simples.
18392
- * - Utilize `PoComboOptionGroup` para lista de opções com agrupamento.
18534
+ * > A lista pode ser definida utilizando um array com o valor representando o `value` e o `label` das seguintes formas:
18535
+ *
18536
+ * ```
18537
+ * <po-combo name="combo" p-label="PO Combo" [p-options]="[{value: 1, label: 'One'}, {value: 2, label: 'two'}]"> </po-combo>
18538
+ * ```
18539
+ *
18540
+ * ```
18541
+ * <po-combo name="combo" p-label="PO Combo" [p-options]="[{name: 'Roger', age: 28}, {name: 'Anne', age: 35}]" p-field-label="name" p-field-value="age"> </po-combo>
18542
+ * ```
18393
18543
  *
18394
- * **Importante:**
18395
- * - A lista deve seguir as definições descritas nas respectivas interfaces, caso contrário não exibirá a(as) opção(ões) fora dos padrões.
18396
- * - O componente interpretará o formato da lista de acordo com a interface utilizada e só exibirá as opções correspondentes à ela.
18397
- * - Um agrupamento só será exibido se houver pelo menos uma opção válida.
18398
18544
  * - Aconselha-se utilizar valores distintos no `label` e `value` dos itens.
18399
18545
  */
18400
18546
  set options(options) {
@@ -18492,6 +18638,8 @@ class PoComboBaseComponent {
18492
18638
  return this._options.length && this._options[0].hasOwnProperty('options');
18493
18639
  }
18494
18640
  ngOnInit() {
18641
+ this.dynamicValue = this.checkIfService('value');
18642
+ this.dynamicLabel = this.checkIfService('label');
18495
18643
  this.updateComboList();
18496
18644
  }
18497
18645
  onInitService() {
@@ -18522,27 +18670,27 @@ class PoComboBaseComponent {
18522
18670
  }
18523
18671
  }
18524
18672
  startsWith(search, option) {
18525
- return option.label.toLowerCase().startsWith(search.toLowerCase());
18673
+ return option[this.dynamicLabel].toLowerCase().startsWith(search.toLowerCase());
18526
18674
  }
18527
18675
  contains(search, option) {
18528
- return option.label.toLowerCase().indexOf(search.toLowerCase()) > -1;
18676
+ return option[this.dynamicLabel].toLowerCase().indexOf(search.toLowerCase()) > -1;
18529
18677
  }
18530
18678
  endsWith(search, option) {
18531
- return option.label.toLowerCase().endsWith(search.toLowerCase());
18679
+ return option[this.dynamicLabel].toLowerCase().endsWith(search.toLowerCase());
18532
18680
  }
18533
18681
  getOptionFromValue(value, options) {
18534
- return options ? options.find((option) => this.isEqual(option.value, value)) : null;
18682
+ return options ? options.find((option) => this.isEqual(option[this.dynamicValue], value)) : null;
18535
18683
  }
18536
18684
  getOptionFromLabel(label, options) {
18537
18685
  if (options) {
18538
- return options.find((option) => option.label.toString().toLowerCase() === label.toString().toLowerCase());
18686
+ return options.find((option) => option[this.dynamicLabel].toString().toLowerCase() === label.toString().toLowerCase());
18539
18687
  }
18540
18688
  else {
18541
18689
  return null;
18542
18690
  }
18543
18691
  }
18544
18692
  updateSelectedValue(option, isUpdateModel = true) {
18545
- const optionLabel = (option && option.label) || '';
18693
+ const optionLabel = (option && option[this.dynamicLabel]) || '';
18546
18694
  this.updateInternalVariables(option);
18547
18695
  // atualiza o valor do input quando for changeOnEnter apenas se for para atualizar o model.
18548
18696
  if (this.changeOnEnter && isUpdateModel) {
@@ -18552,7 +18700,7 @@ class PoComboBaseComponent {
18552
18700
  this.setInputValue(optionLabel);
18553
18701
  }
18554
18702
  if (isUpdateModel) {
18555
- const optionValue = option?.value !== undefined ? option.value : undefined;
18703
+ const optionValue = option?.[this.dynamicValue] !== undefined ? option[this.dynamicValue] : undefined;
18556
18704
  this.updateModel(optionValue);
18557
18705
  }
18558
18706
  }
@@ -18579,7 +18727,7 @@ class PoComboBaseComponent {
18579
18727
  addedOptionsGroupTitle = false;
18580
18728
  return (optionsGroupTitle = option);
18581
18729
  }
18582
- if (option.label && (this.compareMethod(search, option, filterMode) || this.service)) {
18730
+ if (option[this.dynamicLabel] && (this.compareMethod(search, option, filterMode) || this.service)) {
18583
18731
  if (this.isOptionGroupList && !addedOptionsGroupTitle) {
18584
18732
  newOptions.push(optionsGroupTitle);
18585
18733
  addedOptionsGroupTitle = true;
@@ -18599,7 +18747,7 @@ class PoComboBaseComponent {
18599
18747
  const newOptions = !options && !this.infiniteScroll && this.selectedValue ? [{ ...this.selectedOption }] : copyOptions;
18600
18748
  this.visibleOptions = newOptions;
18601
18749
  if (!this.selectedView && this.visibleOptions.length) {
18602
- this.selectedView = copyOptions.find(option => option.value !== undefined);
18750
+ this.selectedView = copyOptions.find(option => option[this.dynamicValue] !== undefined);
18603
18751
  }
18604
18752
  }
18605
18753
  getNextOption(value, options, reverse = false) {
@@ -18607,13 +18755,13 @@ class PoComboBaseComponent {
18607
18755
  let optionFound = null;
18608
18756
  let found = false;
18609
18757
  for (const option of optionsList) {
18610
- if (option.value && !optionFound) {
18758
+ if (option[this.dynamicValue] && !optionFound) {
18611
18759
  optionFound = option;
18612
18760
  }
18613
- if (option.value && found) {
18761
+ if (option[this.dynamicValue] && found) {
18614
18762
  return option;
18615
18763
  }
18616
- if (this.isEqual(option.value, value)) {
18764
+ if (this.isEqual(option[this.dynamicValue], value)) {
18617
18765
  found = true;
18618
18766
  }
18619
18767
  }
@@ -18636,17 +18784,17 @@ class PoComboBaseComponent {
18636
18784
  if (!this.service) {
18637
18785
  this.updateComboList([...this.cacheStaticOptions]);
18638
18786
  }
18639
- if (optionFound && optionFound.value !== this.selectedValue) {
18787
+ if (optionFound && optionFound[this.dynamicValue] !== this.selectedValue) {
18640
18788
  this.updateSelectedValue(optionFound);
18641
- this.previousSearchValue = optionFound.label;
18789
+ this.previousSearchValue = optionFound[this.dynamicLabel];
18642
18790
  }
18643
- else if (this.selectedValue && this.selectedOption && this.selectedOption.label !== inputValue) {
18791
+ else if (this.selectedValue && this.selectedOption && this.selectedOption[this.dynamicLabel] !== inputValue) {
18644
18792
  this.updateSelectedValueWithOldOption();
18645
- this.previousSearchValue = this.selectedOption.label;
18793
+ this.previousSearchValue = this.selectedOption[this.dynamicLabel];
18646
18794
  return;
18647
18795
  }
18648
18796
  else if (inputValue && !optionFound) {
18649
- const isInputValueDiffSelectedLabel = !!(this.selectedOption && this.selectedOption.label !== inputValue);
18797
+ const isInputValueDiffSelectedLabel = !!(this.selectedOption && this.selectedOption[this.dynamicLabel] !== inputValue);
18650
18798
  this.updateSelectedValue(null, isInputValueDiffSelectedLabel || this.changeOnEnter);
18651
18799
  this.previousSearchValue = '';
18652
18800
  return;
@@ -18727,17 +18875,33 @@ class PoComboBaseComponent {
18727
18875
  this.cacheStaticOptions = this.comboOptionsList;
18728
18876
  this.updateComboList();
18729
18877
  }
18730
- compareOptions(optionA, optionB) {
18731
- const labelA = optionA.label.toString().toLowerCase();
18732
- const labelB = optionB.label.toString().toLowerCase();
18733
- return labelA < labelB ? -1 : labelA > labelB ? 1 : 0;
18878
+ checkIfService(dynamicValue) {
18879
+ if ((this.service || this.filterService) && dynamicValue === 'label') {
18880
+ return PO_COMBO_FIELD_LABEL_DEFAULT;
18881
+ }
18882
+ if ((this.service || this.filterService) && dynamicValue === 'value') {
18883
+ return PO_COMBO_FIELD_VALUE_DEFAULT;
18884
+ }
18885
+ if (!this.service && dynamicValue === 'label') {
18886
+ return this.fieldLabel;
18887
+ }
18888
+ if (!this.service && dynamicValue === 'value') {
18889
+ return this.fieldValue;
18890
+ }
18891
+ }
18892
+ compareOptions(dynamicLabel) {
18893
+ return function (optionA, optionB) {
18894
+ const labelA = optionA[dynamicLabel].toString().toLowerCase();
18895
+ const labelB = optionB[dynamicLabel].toString().toLowerCase();
18896
+ return labelA < labelB ? -1 : labelA > labelB ? 1 : 0;
18897
+ };
18734
18898
  }
18735
18899
  hasDuplicatedOption(options, currentOption, accumulatedGroupOptions) {
18736
18900
  if (accumulatedGroupOptions) {
18737
- return accumulatedGroupOptions.some(option => option.label === currentOption);
18901
+ return accumulatedGroupOptions.some(option => option[this.dynamicLabel] === currentOption);
18738
18902
  }
18739
18903
  else {
18740
- return options.some(option => option.value === currentOption);
18904
+ return options.some(option => option[this.dynamicValue] === currentOption);
18741
18905
  }
18742
18906
  }
18743
18907
  listingComboOptions(comboOptions) {
@@ -18751,20 +18915,21 @@ class PoComboBaseComponent {
18751
18915
  }
18752
18916
  sortOptions(comboOptionsList) {
18753
18917
  if (comboOptionsList.length > 0 && this.sort) {
18754
- return comboOptionsList.sort(this.compareOptions);
18918
+ return comboOptionsList.sort(this.compareOptions(this.dynamicLabel));
18755
18919
  }
18756
18920
  }
18757
18921
  validateValue(currentOption, verifyingOptionsGroup = false) {
18758
- const { label, options, value } = currentOption;
18922
+ const { options } = currentOption;
18759
18923
  if (this.isOptionGroupList) {
18760
- return ((validValue(label) && options && options.length > 0) || (verifyingOptionsGroup === true && validValue(value)));
18924
+ return ((validValue(currentOption[this.dynamicLabel]) && options && options.length > 0) ||
18925
+ (verifyingOptionsGroup === true && validValue(currentOption[this.dynamicValue])));
18761
18926
  }
18762
- return validValue(value) && !options;
18927
+ return validValue(currentOption[this.dynamicValue]) && !options;
18763
18928
  }
18764
18929
  verifyComboOptions(comboOptions, verifyingOptionsGroup = false, accumulatedGroupOptions) {
18765
18930
  return comboOptions.reduce((accumulatedOptions, currentOption) => {
18766
18931
  if (!this.verifyIfHasLabel(currentOption) ||
18767
- this.hasDuplicatedOption(accumulatedOptions, currentOption['value'] || currentOption['label'], accumulatedGroupOptions) ||
18932
+ this.hasDuplicatedOption(accumulatedOptions, currentOption[this.dynamicValue] || currentOption[this.dynamicLabel], accumulatedGroupOptions) ||
18768
18933
  !this.validateValue(currentOption, verifyingOptionsGroup)) {
18769
18934
  return accumulatedOptions;
18770
18935
  }
@@ -18774,22 +18939,24 @@ class PoComboBaseComponent {
18774
18939
  }
18775
18940
  verifyComboOptionsGroup(comboOptionsList) {
18776
18941
  return comboOptionsList.reduce((accumulatedGroupOptions, currentOption) => {
18777
- const { options, label } = currentOption;
18942
+ const { options } = currentOption;
18778
18943
  const verifiedComboOptionsGroupList = this.verifyComboOptions(options, true, accumulatedGroupOptions);
18779
18944
  if (verifiedComboOptionsGroupList.length > 0) {
18780
18945
  this.sortOptions(verifiedComboOptionsGroupList);
18781
- accumulatedGroupOptions.push({ label: label, options: true }, ...verifiedComboOptionsGroupList);
18946
+ accumulatedGroupOptions.push({ label: currentOption[this.dynamicLabel], options: true }, ...verifiedComboOptionsGroupList);
18782
18947
  }
18783
18948
  return accumulatedGroupOptions;
18784
18949
  }, []);
18785
18950
  }
18786
18951
  verifyIfHasLabel(currentOption = {}) {
18787
- const { label, options, value } = currentOption;
18788
- if ((this.isOptionGroupList && options && !label) || (!label && !value) || (!this.isOptionGroupList && options)) {
18952
+ const { options } = currentOption;
18953
+ if ((this.isOptionGroupList && options && !currentOption[this.dynamicLabel]) ||
18954
+ (!currentOption[this.dynamicLabel] && !currentOption[this.dynamicValue]) ||
18955
+ (!this.isOptionGroupList && options)) {
18789
18956
  return false;
18790
18957
  }
18791
- if (!currentOption.label) {
18792
- currentOption.label = currentOption.value.toString();
18958
+ if (!currentOption[this.dynamicLabel]) {
18959
+ currentOption[this.dynamicLabel] = currentOption[this.dynamicValue].toString();
18793
18960
  return true;
18794
18961
  }
18795
18962
  return true;
@@ -18816,7 +18983,7 @@ class PoComboBaseComponent {
18816
18983
  }
18817
18984
  updateSelectedValueWithOldOption() {
18818
18985
  const oldOption = this.getOptionFromValue(this.selectedValue, this.comboOptionsList);
18819
- if (oldOption && oldOption.label) {
18986
+ if (oldOption && oldOption[this.dynamicLabel]) {
18820
18987
  return this.updateSelectedValue(oldOption);
18821
18988
  }
18822
18989
  }
@@ -19142,8 +19309,9 @@ function PoComboComponent_ng_template_18_li_3_ng_template_2_label_0_Template(rf,
19142
19309
  i0.ɵɵelementEnd();
19143
19310
  } if (rf & 2) {
19144
19311
  const option_r21 = i0.ɵɵnextContext(2).$implicit;
19312
+ const ctx_r27 = i0.ɵɵnextContext(2);
19145
19313
  i0.ɵɵadvance(1);
19146
- i0.ɵɵtextInterpolate(option_r21.label);
19314
+ i0.ɵɵtextInterpolate(option_r21[ctx_r27.dynamicLabel]);
19147
19315
  } }
19148
19316
  function PoComboComponent_ng_template_18_li_3_ng_template_2_ng_template_1_Template(rf, ctx) { if (rf & 1) {
19149
19317
  i0.ɵɵelementStart(0, "a", 29);
@@ -19153,7 +19321,7 @@ function PoComboComponent_ng_template_18_li_3_ng_template_2_ng_template_1_Templa
19153
19321
  const option_r21 = i0.ɵɵnextContext(2).$implicit;
19154
19322
  const ctx_r29 = i0.ɵɵnextContext(2);
19155
19323
  i0.ɵɵadvance(1);
19156
- i0.ɵɵproperty("innerHTML", ctx_r29.getLabelFormatted(option_r21 == null ? null : option_r21.label), i0.ɵɵsanitizeHtml);
19324
+ i0.ɵɵproperty("innerHTML", ctx_r29.getLabelFormatted(option_r21 == null ? null : option_r21[ctx_r29.dynamicLabel]), i0.ɵɵsanitizeHtml);
19157
19325
  } }
19158
19326
  function PoComboComponent_ng_template_18_li_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
19159
19327
  i0.ɵɵtemplate(0, PoComboComponent_ng_template_18_li_3_ng_template_2_label_0_Template, 2, 1, "label", 26);
@@ -19485,7 +19653,7 @@ class PoComboComponent extends PoComboBaseComponent {
19485
19653
  }
19486
19654
  }
19487
19655
  controlApplyFilter(value) {
19488
- if (!this.isProcessingValueByTab && (!this.selectedOption || value !== this.selectedOption.label)) {
19656
+ if (!this.isProcessingValueByTab && (!this.selectedOption || value !== this.selectedOption[this.dynamicLabel])) {
19489
19657
  this.defaultService.hasNext = true;
19490
19658
  this.page = this.setPage();
19491
19659
  this.options = [];
@@ -19500,7 +19668,7 @@ class PoComboComponent extends PoComboBaseComponent {
19500
19668
  const param = this.infiniteScroll
19501
19669
  ? { property: this.fieldLabel, value, page: this.page, pageSize: this.pageSize }
19502
19670
  : { property: this.fieldLabel, value };
19503
- this.filterSubscription = this.service.getFilteredData(param, this.filterParams).subscribe(items => this.setOptionsByApplyFilter(value, items, reset), error => this.onErrorFilteredData());
19671
+ this.filterSubscription = this.service?.getFilteredData(param, this.filterParams).subscribe(items => this.setOptionsByApplyFilter(value, items, reset), error => this.onErrorFilteredData());
19504
19672
  }
19505
19673
  }
19506
19674
  setOptionsByApplyFilter(value, items, reset = false) {
@@ -19517,7 +19685,7 @@ class PoComboComponent extends PoComboBaseComponent {
19517
19685
  }
19518
19686
  }
19519
19687
  getObjectByValue(value) {
19520
- if (this.selectedValue !== value && this.selectedOption?.label !== value) {
19688
+ if (this.selectedValue !== value && this.selectedOption?.[this.dynamicLabel] !== value) {
19521
19689
  this.isProcessingValueByTab = true;
19522
19690
  this.getSubscription = this.service.getObjectByValue(value, this.filterParams).subscribe(item => this.updateOptionByFilteredValue(item), error => this.onErrorGetObjectByValue());
19523
19691
  }
@@ -19535,26 +19703,26 @@ class PoComboComponent extends PoComboBaseComponent {
19535
19703
  }, this.debounceTime);
19536
19704
  }
19537
19705
  selectPreviousOption() {
19538
- const currentViewValue = this.selectedView && this.selectedView.value;
19706
+ const currentViewValue = this.selectedView && this.selectedView[this.dynamicValue];
19539
19707
  if (currentViewValue) {
19540
19708
  const nextOption = this.getNextOption(currentViewValue, this.visibleOptions, true);
19541
- this.updateSelectedValue(nextOption, nextOption && nextOption.value !== currentViewValue && !this.changeOnEnter);
19709
+ this.updateSelectedValue(nextOption, nextOption && nextOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19542
19710
  }
19543
19711
  else if (this.visibleOptions.length) {
19544
19712
  const visibleOption = this.visibleOptions[this.visibleOptions.length - 1];
19545
- this.updateSelectedValue(visibleOption, visibleOption.value !== currentViewValue && !this.changeOnEnter);
19713
+ this.updateSelectedValue(visibleOption, visibleOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19546
19714
  }
19547
19715
  }
19548
19716
  selectNextOption() {
19549
- const currentViewValue = this.selectedView && this.selectedView.value;
19717
+ const currentViewValue = this.selectedView && this.selectedView[this.dynamicValue];
19550
19718
  if (currentViewValue) {
19551
19719
  const nextOption = this.getNextOption(currentViewValue, this.visibleOptions);
19552
- this.updateSelectedValue(nextOption, nextOption && nextOption.value !== currentViewValue && !this.changeOnEnter);
19720
+ this.updateSelectedValue(nextOption, nextOption && nextOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19553
19721
  }
19554
19722
  else if (this.visibleOptions.length) {
19555
19723
  const index = this.changeOnEnter ? 1 : 0;
19556
19724
  const visibleOption = this.visibleOptions[index];
19557
- this.updateSelectedValue(visibleOption, visibleOption.value !== currentViewValue && !this.changeOnEnter);
19725
+ this.updateSelectedValue(visibleOption, visibleOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19558
19726
  }
19559
19727
  }
19560
19728
  toggleComboVisibility() {
@@ -19578,7 +19746,8 @@ class PoComboComponent extends PoComboBaseComponent {
19578
19746
  }
19579
19747
  onOptionClick(option, event) {
19580
19748
  const inputValue = this.getInputValue();
19581
- const isUpdateModel = option.value !== this.selectedValue || !!(this.selectedView && inputValue !== this.selectedView.label);
19749
+ const isUpdateModel = option[this.dynamicValue] !== this.selectedValue ||
19750
+ !!(this.selectedView && inputValue !== this.selectedView[this.dynamicLabel]);
19582
19751
  if (event) {
19583
19752
  event.stopPropagation();
19584
19753
  }
@@ -19587,7 +19756,7 @@ class PoComboComponent extends PoComboBaseComponent {
19587
19756
  if (!this.service) {
19588
19757
  this.updateComboList([...this.cacheStaticOptions]);
19589
19758
  }
19590
- this.previousSearchValue = this.selectedView.label;
19759
+ this.previousSearchValue = this.selectedView[this.dynamicLabel];
19591
19760
  }
19592
19761
  scrollTo(index) {
19593
19762
  const selectedItem = this.element.nativeElement.querySelectorAll('.po-combo-item-selected');
@@ -19892,7 +20061,7 @@ PoComboComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoComboCom
19892
20061
  useExisting: forwardRef(() => PoComboComponent),
19893
20062
  multi: true
19894
20063
  }
19895
- ], template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon class=\"po-field-icon\" [class.po-field-icon-disabled]=\"disabled\" [p-icon]=\"icon\"></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input po-combo-input\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [class.po-input-icon-left]=\"icon\"\n autocomplete=\"off\"\n type=\"text\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n (click)=\"toggleComboVisibility()\"\n (keyup)=\"onKeyUp($event)\"\n (blur)=\"onBlur()\"\n (keyup.enter)=\"searchOnEnter($event.target.value)\"\n (keydown)=\"onKeyDown($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean *ngIf=\"clean && !disabled\" (p-change-event)=\"clear($event)\" [p-element-ref]=\"inputEl\"> </po-clean>\n <span\n #iconArrow\n class=\"po-icon po-field-icon {{ comboIcon }}\"\n [class.po-field-icon-disabled]=\"disabled\"\n [class.po-field-icon]=\"!disabled\"\n (click)=\"toggleComboVisibility()\"\n >\n </span>\n </div>\n </div>\n\n <div #containerElement class=\"po-combo-container\" [hidden]=\"!comboOpen && !isServerSearching\">\n <ng-container *ngIf=\"visibleOptions.length; then visibleOptionsTemplate; else noDataTemplate\"> </ng-container>\n <div *ngIf=\"isServerSearching\">\n <ng-container *ngIf=\"infiniteLoading; then infiniteLoadingTemplate; else normalLoadingTemplate\"></ng-container>\n </div>\n </div>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #normalLoadingTemplate>\n <po-loading class=\"po-combo-container-loading\"> </po-loading>\n</ng-template>\n\n<ng-template #infiniteLoadingTemplate>\n <po-loading-overlay class=\"po-combo-container-loading\"> </po-loading-overlay>\n</ng-template>\n\n<ng-template #visibleOptionsTemplate>\n <ul #contentElement #poComboBody class=\"po-combo-container-content\">\n <li\n *ngFor=\"let option of visibleOptions\"\n [class.po-combo-item-selected]=\"compareObjects(selectedView, option)\"\n (click)=\"option?.options ? undefined : onOptionClick(option, $event)\"\n >\n <ng-container *ngIf=\"comboOptionTemplate; then optionTemplate; else defaultOptionTemplate\"></ng-container>\n\n <ng-template #defaultOptionTemplate>\n <label *ngIf=\"option?.options; else optionLink\" class=\"po-combo-item-title\">{{ option.label }}</label>\n <ng-template #optionLink>\n <a class=\"po-combo-item\">\n <span style=\"pointer-events: none\" [innerHTML]=\"getLabelFormatted(option?.label)\"></span>\n </a>\n </ng-template>\n </ng-template>\n\n <ng-template #optionTemplate>\n <ng-container *ngIf=\"isOptionGroupList; then optionsGroupTemplate; else defaultOptionsTemplate\"></ng-container>\n\n <ng-template #optionsGroupTemplate>\n <ng-template\n [ngTemplateOutlet]=\"comboOptionTemplate?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, selected: compareObjects(selectedView, option) }\"\n >\n </ng-template>\n </ng-template>\n\n <ng-template #defaultOptionsTemplate>\n <a class=\"po-combo-item\">\n <ng-template\n [ngTemplateOutlet]=\"comboOptionTemplate?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n >\n </ng-template>\n </a>\n </ng-template>\n </ng-template>\n </li>\n </ul>\n</ng-template>\n\n<ng-template #noDataTemplate>\n <div class=\"po-combo-container-no-data\">\n <div class=\"po-combo-no-data po-text-center\">\n <span *ngIf=\"!isServerSearching\">\n {{ literals.noData }}\n </span>\n </div>\n </div>\n</ng-template>\n" }]
20064
+ ], template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon class=\"po-field-icon\" [class.po-field-icon-disabled]=\"disabled\" [p-icon]=\"icon\"></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input po-combo-input\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [class.po-input-icon-left]=\"icon\"\n autocomplete=\"off\"\n type=\"text\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n (click)=\"toggleComboVisibility()\"\n (keyup)=\"onKeyUp($event)\"\n (blur)=\"onBlur()\"\n (keyup.enter)=\"searchOnEnter($event.target.value)\"\n (keydown)=\"onKeyDown($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean *ngIf=\"clean && !disabled\" (p-change-event)=\"clear($event)\" [p-element-ref]=\"inputEl\"> </po-clean>\n <span\n #iconArrow\n class=\"po-icon po-field-icon {{ comboIcon }}\"\n [class.po-field-icon-disabled]=\"disabled\"\n [class.po-field-icon]=\"!disabled\"\n (click)=\"toggleComboVisibility()\"\n >\n </span>\n </div>\n </div>\n\n <div #containerElement class=\"po-combo-container\" [hidden]=\"!comboOpen && !isServerSearching\">\n <ng-container *ngIf=\"visibleOptions.length; then visibleOptionsTemplate; else noDataTemplate\"> </ng-container>\n <div *ngIf=\"isServerSearching\">\n <ng-container *ngIf=\"infiniteLoading; then infiniteLoadingTemplate; else normalLoadingTemplate\"></ng-container>\n </div>\n </div>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #normalLoadingTemplate>\n <po-loading class=\"po-combo-container-loading\"> </po-loading>\n</ng-template>\n\n<ng-template #infiniteLoadingTemplate>\n <po-loading-overlay class=\"po-combo-container-loading\"> </po-loading-overlay>\n</ng-template>\n\n<ng-template #visibleOptionsTemplate>\n <ul #contentElement #poComboBody class=\"po-combo-container-content\">\n <li\n *ngFor=\"let option of visibleOptions\"\n [class.po-combo-item-selected]=\"compareObjects(selectedView, option)\"\n (click)=\"option?.options ? undefined : onOptionClick(option, $event)\"\n >\n <ng-container *ngIf=\"comboOptionTemplate; then optionTemplate; else defaultOptionTemplate\"></ng-container>\n\n <ng-template #defaultOptionTemplate>\n <label *ngIf=\"option?.options; else optionLink\" class=\"po-combo-item-title\">{{\n option[this.dynamicLabel]\n }}</label>\n <ng-template #optionLink>\n <a class=\"po-combo-item\">\n <span style=\"pointer-events: none\" [innerHTML]=\"getLabelFormatted(option?.[this.dynamicLabel])\"></span>\n </a>\n </ng-template>\n </ng-template>\n\n <ng-template #optionTemplate>\n <ng-container *ngIf=\"isOptionGroupList; then optionsGroupTemplate; else defaultOptionsTemplate\"></ng-container>\n\n <ng-template #optionsGroupTemplate>\n <ng-template\n [ngTemplateOutlet]=\"comboOptionTemplate?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, selected: compareObjects(selectedView, option) }\"\n >\n </ng-template>\n </ng-template>\n\n <ng-template #defaultOptionsTemplate>\n <a class=\"po-combo-item\">\n <ng-template\n [ngTemplateOutlet]=\"comboOptionTemplate?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n >\n </ng-template>\n </a>\n </ng-template>\n </ng-template>\n </li>\n </ul>\n</ng-template>\n\n<ng-template #noDataTemplate>\n <div class=\"po-combo-container-no-data\">\n <div class=\"po-combo-no-data po-text-center\">\n <span *ngIf=\"!isServerSearching\">\n {{ literals.noData }}\n </span>\n </div>\n </div>\n</ng-template>\n" }]
19896
20065
  }], function () { return [{ type: i0.ElementRef }, { type: i0.IterableDiffers }, { type: PoComboFilterService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: PoControlPositionService }, { type: i3.DomSanitizer }, { type: PoLanguageService }]; }, { comboOptionTemplate: [{
19897
20066
  type: ContentChild,
19898
20067
  args: [PoComboOptionTemplateDirective, { static: true }]
@@ -20220,6 +20389,26 @@ class PoDatepickerRangeBaseComponent {
20220
20389
  get startDate() {
20221
20390
  return this._startDate;
20222
20391
  }
20392
+ /**
20393
+ * @optional
20394
+ *
20395
+ * @description
20396
+ *
20397
+ * Idioma que o calendário utilizará para exibir as datas.
20398
+ *
20399
+ * > O locale padrão será recuperado com base no [`PoI18nService`](/documentation/po-i18n) ou *browser*.
20400
+ */
20401
+ set locale(value) {
20402
+ if (value) {
20403
+ this._locale = value.length >= 2 ? value : poLocaleDefault;
20404
+ }
20405
+ else {
20406
+ this._locale = this.language;
20407
+ }
20408
+ }
20409
+ get locale() {
20410
+ return this._locale || this.language;
20411
+ }
20223
20412
  // Função implementada do ControlValueAccessor
20224
20413
  // Usada para interceptar os estados de habilitado via forms api
20225
20414
  setDisabledState(isDisabled) {
@@ -20383,7 +20572,7 @@ class PoDatepickerRangeBaseComponent {
20383
20572
  }
20384
20573
  }
20385
20574
  PoDatepickerRangeBaseComponent.ɵfac = function PoDatepickerRangeBaseComponent_Factory(t) { return new (t || PoDatepickerRangeBaseComponent)(i0.ɵɵdirectiveInject(PoDateService), i0.ɵɵdirectiveInject(PoLanguageService)); };
20386
- PoDatepickerRangeBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoDatepickerRangeBaseComponent, inputs: { autoFocus: ["p-auto-focus", "autoFocus"], help: ["p-help", "help"], label: ["p-label", "label"], optional: ["p-optional", "optional"], clean: ["p-clean", "clean"], disabled: ["p-disabled", "disabled"], endDate: ["p-end-date", "endDate"], literals: ["p-literals", "literals"], minDate: ["p-min-date", "minDate"], maxDate: ["p-max-date", "maxDate"], noAutocomplete: ["p-no-autocomplete", "noAutocomplete"], readonly: ["p-readonly", "readonly"], required: ["p-required", "required"], startDate: ["p-start-date", "startDate"] }, outputs: { onChange: "p-change" } });
20575
+ PoDatepickerRangeBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoDatepickerRangeBaseComponent, inputs: { autoFocus: ["p-auto-focus", "autoFocus"], help: ["p-help", "help"], label: ["p-label", "label"], optional: ["p-optional", "optional"], clean: ["p-clean", "clean"], disabled: ["p-disabled", "disabled"], endDate: ["p-end-date", "endDate"], literals: ["p-literals", "literals"], minDate: ["p-min-date", "minDate"], maxDate: ["p-max-date", "maxDate"], noAutocomplete: ["p-no-autocomplete", "noAutocomplete"], readonly: ["p-readonly", "readonly"], required: ["p-required", "required"], startDate: ["p-start-date", "startDate"], locale: ["p-locale", "locale"] }, outputs: { onChange: "p-change" } });
20387
20576
  __decorate([
20388
20577
  InputBoolean()
20389
20578
  ], PoDatepickerRangeBaseComponent.prototype, "autoFocus", void 0);
@@ -20434,6 +20623,9 @@ __decorate([
20434
20623
  }], startDate: [{
20435
20624
  type: Input,
20436
20625
  args: ['p-start-date']
20626
+ }], locale: [{
20627
+ type: Input,
20628
+ args: ['p-locale']
20437
20629
  }] }); })();
20438
20630
 
20439
20631
  const _c0$U = ["dateRangeField"];
@@ -20457,7 +20649,7 @@ function PoDatepickerRangeComponent_ng_container_17_Template(rf, ctx) { if (rf &
20457
20649
  } if (rf & 2) {
20458
20650
  const ctx_r5 = i0.ɵɵnextContext();
20459
20651
  i0.ɵɵadvance(3);
20460
- i0.ɵɵproperty("ngModel", ctx_r5.dateRange)("p-max-date", ctx_r5.maxDate)("p-min-date", ctx_r5.minDate);
20652
+ i0.ɵɵproperty("ngModel", ctx_r5.dateRange)("p-max-date", ctx_r5.maxDate)("p-min-date", ctx_r5.minDate)("p-locale", ctx_r5.locale);
20461
20653
  } }
20462
20654
  const arrowLeftKey = 37;
20463
20655
  const arrowRightKey = 39;
@@ -20882,7 +21074,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
20882
21074
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.startDateInput = _t.first);
20883
21075
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconCalendar = _t.first);
20884
21076
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.calendarPicker = _t.first);
20885
- } }, features: [i0.ɵɵProvidersFeature(providers$5), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 18, vars: 20, consts: [[3, "p-help", "p-label", "p-optional"], [1, "po-datepicker-range-field", "po-input"], ["dateRangeField", ""], [1, "po-datepicker-range-start-date"], ["maxlength", "10", "type", "text", 1, "po-datepicker-range-input", 3, "autocomplete", "disabled", "name", "readonly", "blur", "focus", "keydown", "keyup", "click"], ["startDateInput", ""], [1, "po-datepicker-range-separator"], [1, "po-datepicker-range-end-date"], ["endDateInput", ""], [1, "po-datepicker-range-icon"], [3, "p-change-event", 4, "ngIf"], [1, "po-icon", "po-field-icon", "po-icon-calendar", 3, "click"], ["iconCalendar", ""], [3, "p-error-pattern"], [4, "ngIf"], [3, "p-change-event"], [1, "po-calendar-range-picker"], ["calendarPicker", ""], ["p-mode", "range", 3, "ngModel", "p-max-date", "p-min-date", "ngModelChange"]], template: function PoDatepickerRangeComponent_Template(rf, ctx) { if (rf & 1) {
21077
+ } }, features: [i0.ɵɵProvidersFeature(providers$5), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 18, vars: 20, consts: [[3, "p-help", "p-label", "p-optional"], [1, "po-datepicker-range-field", "po-input"], ["dateRangeField", ""], [1, "po-datepicker-range-start-date"], ["maxlength", "10", "type", "text", 1, "po-datepicker-range-input", 3, "autocomplete", "disabled", "name", "readonly", "blur", "focus", "keydown", "keyup", "click"], ["startDateInput", ""], [1, "po-datepicker-range-separator"], [1, "po-datepicker-range-end-date"], ["endDateInput", ""], [1, "po-datepicker-range-icon"], [3, "p-change-event", 4, "ngIf"], [1, "po-icon", "po-field-icon", "po-icon-calendar", 3, "click"], ["iconCalendar", ""], [3, "p-error-pattern"], [4, "ngIf"], [3, "p-change-event"], [1, "po-calendar-range-picker"], ["calendarPicker", ""], ["p-mode", "range", 3, "ngModel", "p-max-date", "p-min-date", "p-locale", "ngModelChange"]], template: function PoDatepickerRangeComponent_Template(rf, ctx) { if (rf & 1) {
20886
21078
  i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1, 2)(3, "div", 3)(4, "input", 4, 5);
20887
21079
  i0.ɵɵlistener("blur", function PoDatepickerRangeComponent_Template_input_blur_4_listener($event) { return ctx.onBlur($event); })("focus", function PoDatepickerRangeComponent_Template_input_focus_4_listener($event) { return ctx.onFocus($event); })("keydown", function PoDatepickerRangeComponent_Template_input_keydown_4_listener($event) { return ctx.onKeydown($event); })("keyup", function PoDatepickerRangeComponent_Template_input_keyup_4_listener($event) { return ctx.onKeyup($event); })("click", function PoDatepickerRangeComponent_Template_input_click_4_listener($event) { return ctx.eventOnClick($event); });
20888
21080
  i0.ɵɵelementEnd()();
@@ -20900,7 +21092,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
20900
21092
  i0.ɵɵelementEnd()()();
20901
21093
  i0.ɵɵelement(16, "po-field-container-bottom", 13);
20902
21094
  i0.ɵɵelementEnd();
20903
- i0.ɵɵtemplate(17, PoDatepickerRangeComponent_ng_container_17_Template, 4, 3, "ng-container", 14);
21095
+ i0.ɵɵtemplate(17, PoDatepickerRangeComponent_ng_container_17_Template, 4, 4, "ng-container", 14);
20904
21096
  } if (rf & 2) {
20905
21097
  i0.ɵɵproperty("p-help", ctx.help)("p-label", ctx.label)("p-optional", !ctx.required && ctx.optional);
20906
21098
  i0.ɵɵadvance(1);
@@ -20920,7 +21112,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
20920
21112
  } }, dependencies: [i1.NgIf, i2$1.NgControlStatus, i2$1.NgModel, PoCleanComponent, PoCalendarComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent], encapsulation: 2, changeDetection: 0 });
20921
21113
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDatepickerRangeComponent, [{
20922
21114
  type: Component,
20923
- args: [{ selector: 'po-datepicker-range', providers: providers$5, changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div #dateRangeField class=\"po-datepicker-range-field po-input\" [class.po-datepicker-range-field-disabled]=\"disabled\">\n <div class=\"po-datepicker-range-start-date\">\n <input\n #startDateInput\n class=\"po-datepicker-range-input\"\n maxlength=\"10\"\n type=\"text\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [name]=\"startDateInputName\"\n [readonly]=\"readonly\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"\n (keydown)=\"onKeydown($event)\"\n (keyup)=\"onKeyup($event)\"\n (click)=\"eventOnClick($event)\"\n />\n </div>\n\n <div class=\"po-datepicker-range-separator\">-</div>\n\n <div class=\"po-datepicker-range-end-date\">\n <input\n #endDateInput\n class=\"po-datepicker-range-input\"\n maxlength=\"10\"\n type=\"text\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [name]=\"endDateInputName\"\n [readonly]=\"readonly\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"\n (keydown)=\"onKeydown($event)\"\n (keyup)=\"onKeyup($event)\"\n (click)=\"eventOnClick($event)\"\n />\n </div>\n\n <div class=\"po-datepicker-range-icon\">\n <po-clean *ngIf=\"enableCleaner\" (p-change-event)=\"clear()\"></po-clean>\n </div>\n\n <div class=\"po-datepicker-range-icon\">\n <span\n #iconCalendar\n class=\"po-icon po-field-icon po-icon-calendar\"\n [class.po-clickable]=\"!disabled && !readonly\"\n [class.po-field-icon-disabled]=\"disabled || readonly\"\n (click)=\"toggleCalendar()\"\n >\n </span>\n </div>\n </div>\n\n <po-field-container-bottom [p-error-pattern]=\"getErrorMessage\"></po-field-container-bottom>\n</po-field-container>\n\n<ng-container *ngIf=\"isCalendarVisible\">\n <div #calendarPicker class=\"po-calendar-range-picker\">\n <po-calendar\n p-mode=\"range\"\n [ngModel]=\"dateRange\"\n [p-max-date]=\"maxDate\"\n [p-min-date]=\"minDate\"\n (ngModelChange)=\"onCalendarChange($event)\"\n ></po-calendar>\n </div>\n</ng-container>\n" }]
21115
+ args: [{ selector: 'po-datepicker-range', providers: providers$5, changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div #dateRangeField class=\"po-datepicker-range-field po-input\" [class.po-datepicker-range-field-disabled]=\"disabled\">\n <div class=\"po-datepicker-range-start-date\">\n <input\n #startDateInput\n class=\"po-datepicker-range-input\"\n maxlength=\"10\"\n type=\"text\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [name]=\"startDateInputName\"\n [readonly]=\"readonly\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"\n (keydown)=\"onKeydown($event)\"\n (keyup)=\"onKeyup($event)\"\n (click)=\"eventOnClick($event)\"\n />\n </div>\n\n <div class=\"po-datepicker-range-separator\">-</div>\n\n <div class=\"po-datepicker-range-end-date\">\n <input\n #endDateInput\n class=\"po-datepicker-range-input\"\n maxlength=\"10\"\n type=\"text\"\n [autocomplete]=\"autocomplete\"\n [disabled]=\"disabled\"\n [name]=\"endDateInputName\"\n [readonly]=\"readonly\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"\n (keydown)=\"onKeydown($event)\"\n (keyup)=\"onKeyup($event)\"\n (click)=\"eventOnClick($event)\"\n />\n </div>\n\n <div class=\"po-datepicker-range-icon\">\n <po-clean *ngIf=\"enableCleaner\" (p-change-event)=\"clear()\"></po-clean>\n </div>\n\n <div class=\"po-datepicker-range-icon\">\n <span\n #iconCalendar\n class=\"po-icon po-field-icon po-icon-calendar\"\n [class.po-clickable]=\"!disabled && !readonly\"\n [class.po-field-icon-disabled]=\"disabled || readonly\"\n (click)=\"toggleCalendar()\"\n >\n </span>\n </div>\n </div>\n\n <po-field-container-bottom [p-error-pattern]=\"getErrorMessage\"></po-field-container-bottom>\n</po-field-container>\n\n<ng-container *ngIf=\"isCalendarVisible\">\n <div #calendarPicker class=\"po-calendar-range-picker\">\n <po-calendar\n p-mode=\"range\"\n [ngModel]=\"dateRange\"\n [p-max-date]=\"maxDate\"\n [p-min-date]=\"minDate\"\n [p-locale]=\"locale\"\n (ngModelChange)=\"onCalendarChange($event)\"\n ></po-calendar>\n </div>\n</ng-container>\n" }]
20924
21116
  }], function () { return [{ type: i0.ChangeDetectorRef }, { type: PoControlPositionService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: PoDateService }, { type: i0.ElementRef }, { type: PoLanguageService }]; }, { dateRangeField: [{
20925
21117
  type: ViewChild,
20926
21118
  args: ['dateRangeField', { read: ElementRef, static: true }]
@@ -22557,6 +22749,26 @@ class PoLookupBaseComponent {
22557
22749
  * Por parâmetro será passado o novo valor.
22558
22750
  */
22559
22751
  this.change = new EventEmitter();
22752
+ /**
22753
+ * @optional
22754
+ *
22755
+ * @description
22756
+ * Evento disparado ao fechar o popover do gerenciador de colunas após alterar as colunas visíveis.
22757
+ *
22758
+ * O componente envia como parâmetro um array de string com as colunas visíveis atualizadas.
22759
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
22760
+ */
22761
+ this.changeVisibleColumns = new EventEmitter();
22762
+ /**
22763
+ * @optional
22764
+ *
22765
+ * @description
22766
+ * Evento disparado ao clicar no botão de restaurar padrão no gerenciador de colunas.
22767
+ *
22768
+ * O componente envia como parâmetro um array de string com as colunas configuradas inicialmente.
22769
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
22770
+ */
22771
+ this.columnRestoreManager = new EventEmitter();
22560
22772
  this.selectedOptions = [];
22561
22773
  this.oldValue = '';
22562
22774
  this.oldValueToModel = null;
@@ -22866,7 +23078,7 @@ class PoLookupBaseComponent {
22866
23078
  }
22867
23079
  }
22868
23080
  PoLookupBaseComponent.ɵfac = function PoLookupBaseComponent_Factory(t) { return new (t || PoLookupBaseComponent)(i0.ɵɵdirectiveInject(PoLookupFilterService), i0.ɵɵdirectiveInject(Injector)); };
22869
- PoLookupBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLookupBaseComponent, inputs: { autoFocus: ["p-auto-focus", "autoFocus"], label: ["p-label", "label"], literals: ["p-literals", "literals"], help: ["p-help", "help"], placeholder: ["p-placeholder", "placeholder"], name: "name", fieldValue: ["p-field-value", "fieldValue"], fieldLabel: ["p-field-label", "fieldLabel"], filterParams: ["p-filter-params", "filterParams"], fieldFormat: ["p-field-format", "fieldFormat"], columns: ["p-columns", "columns"], optional: ["p-optional", "optional"], advancedFilters: ["p-advanced-filters", "advancedFilters"], infiniteScroll: ["p-infinite-scroll", "infiniteScroll"], clean: ["p-clean", "clean"], multiple: ["p-multiple", "multiple"], autoHeight: ["p-auto-height", "autoHeight"], filterService: ["p-filter-service", "filterService"], noAutocomplete: ["p-no-autocomplete", "noAutocomplete"], required: ["p-required", "required"], disabled: ["p-disabled", "disabled"] }, outputs: { onError: "p-error", selected: "p-selected", change: "p-change" }, features: [i0.ɵɵNgOnChangesFeature] });
23081
+ PoLookupBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoLookupBaseComponent, inputs: { autoFocus: ["p-auto-focus", "autoFocus"], label: ["p-label", "label"], literals: ["p-literals", "literals"], help: ["p-help", "help"], placeholder: ["p-placeholder", "placeholder"], name: "name", fieldValue: ["p-field-value", "fieldValue"], fieldLabel: ["p-field-label", "fieldLabel"], filterParams: ["p-filter-params", "filterParams"], fieldFormat: ["p-field-format", "fieldFormat"], columns: ["p-columns", "columns"], optional: ["p-optional", "optional"], advancedFilters: ["p-advanced-filters", "advancedFilters"], infiniteScroll: ["p-infinite-scroll", "infiniteScroll"], clean: ["p-clean", "clean"], multiple: ["p-multiple", "multiple"], autoHeight: ["p-auto-height", "autoHeight"], filterService: ["p-filter-service", "filterService"], noAutocomplete: ["p-no-autocomplete", "noAutocomplete"], required: ["p-required", "required"], disabled: ["p-disabled", "disabled"] }, outputs: { onError: "p-error", selected: "p-selected", change: "p-change", changeVisibleColumns: "p-change-visible-columns", columnRestoreManager: "p-restore-column-manager" }, features: [i0.ɵɵNgOnChangesFeature] });
22870
23082
  __decorate([
22871
23083
  InputBoolean()
22872
23084
  ], PoLookupBaseComponent.prototype, "autoFocus", void 0);
@@ -22947,6 +23159,12 @@ __decorate([
22947
23159
  }], change: [{
22948
23160
  type: Output,
22949
23161
  args: ['p-change']
23162
+ }], changeVisibleColumns: [{
23163
+ type: Output,
23164
+ args: ['p-change-visible-columns']
23165
+ }], columnRestoreManager: [{
23166
+ type: Output,
23167
+ args: ['p-restore-column-manager']
22950
23168
  }], filterService: [{
22951
23169
  type: Input,
22952
23170
  args: ['p-filter-service']
@@ -23037,6 +23255,26 @@ class PoLookupModalBaseComponent {
23037
23255
  this.multiple = false;
23038
23256
  /** Evento utilizado ao selecionar um registro da tabela. */
23039
23257
  this.model = new EventEmitter();
23258
+ /**
23259
+ * @optional
23260
+ *
23261
+ * @description
23262
+ * Evento disparado ao fechar o popover do gerenciador de colunas após alterar as colunas visíveis.
23263
+ *
23264
+ * O componente envia como parâmetro um array de string com as colunas visíveis atualizadas.
23265
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
23266
+ */
23267
+ this.changeVisibleColumns = new EventEmitter();
23268
+ /**
23269
+ * @optional
23270
+ *
23271
+ * @description
23272
+ * Evento disparado ao clicar no botão de restaurar padrão no gerenciador de colunas.
23273
+ *
23274
+ * O componente envia como parâmetro um array de string com as colunas configuradas inicialmente.
23275
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
23276
+ */
23277
+ this.columnRestoreManager = new EventEmitter();
23040
23278
  this.hasNext = true;
23041
23279
  this.isLoading = false;
23042
23280
  this.page = 1;
@@ -23294,7 +23532,7 @@ PoLookupModalBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type:
23294
23532
  let _t;
23295
23533
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poModal = _t.first);
23296
23534
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTable = _t.first);
23297
- } }, inputs: { advancedFilters: ["p-advanced-filters", "advancedFilters"], columns: ["p-columns", "columns"], items: ["p-items", "items"], filterService: ["p-filter-service", "filterService"], filterParams: ["p-filter-params", "filterParams"], infiniteScroll: ["p-infinite-scroll", "infiniteScroll"], multiple: ["p-multiple", "multiple"], selectedItems: ["p-selected-items", "selectedItems"], fieldLabel: ["p-field-label", "fieldLabel"], fieldValue: ["p-field-value", "fieldValue"], literals: ["p-literals", "literals"], title: ["p-title", "title"] }, outputs: { model: "p-change-model" } });
23535
+ } }, inputs: { advancedFilters: ["p-advanced-filters", "advancedFilters"], columns: ["p-columns", "columns"], items: ["p-items", "items"], filterService: ["p-filter-service", "filterService"], filterParams: ["p-filter-params", "filterParams"], infiniteScroll: ["p-infinite-scroll", "infiniteScroll"], multiple: ["p-multiple", "multiple"], selectedItems: ["p-selected-items", "selectedItems"], fieldLabel: ["p-field-label", "fieldLabel"], fieldValue: ["p-field-value", "fieldValue"], literals: ["p-literals", "literals"], title: ["p-title", "title"] }, outputs: { model: "p-change-model", changeVisibleColumns: "p-change-visible-columns", columnRestoreManager: "p-restore-column-manager" } });
23298
23536
  __decorate([
23299
23537
  InputBoolean()
23300
23538
  ], PoLookupModalBaseComponent.prototype, "infiniteScroll", void 0);
@@ -23342,6 +23580,12 @@ __decorate([
23342
23580
  }], fieldValue: [{
23343
23581
  type: Input,
23344
23582
  args: ['p-field-value']
23583
+ }], changeVisibleColumns: [{
23584
+ type: Output,
23585
+ args: ['p-change-visible-columns']
23586
+ }], columnRestoreManager: [{
23587
+ type: Output,
23588
+ args: ['p-restore-column-manager']
23345
23589
  }], literals: [{
23346
23590
  type: Input,
23347
23591
  args: ['p-literals']
@@ -23915,7 +24159,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
23915
24159
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTable = _t.first);
23916
24160
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputSearchEl = _t.first);
23917
24161
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
23918
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 24, consts: [["p-click-out", "false", "p-hide-close", "false", "p-size", "lg", 3, "p-primary-action", "p-secondary-action", "p-title"], [3, "hidden"], [1, "po-lookup-header", "po-pull-right", 3, "p-optional"], [1, "po-lookup-filter-content"], [1, "po-field-icon-container-right"], [1, "po-icon", "po-field-icon", "po-icon-search", 3, "click"], ["iconLookup", ""], ["name", "contentSearch", "type", "text", 1, "po-input", "po-input-icon-right", 3, "ngModel", "placeholder", "ngModelChange"], ["inpsearch", ""], ["class", "po-lookup-advanced-search", 4, "ngIf"], ["class", "po-md-12", 3, "p-disclaimers", "p-title", "p-change", 4, "ngIf"], [1, "po-row", "po-lookup-container-table"], [1, "po-md-12", 3, "p-selectable", "p-hide-detail", "p-single-select", "p-sort", "p-columns", "p-height", "p-items", "p-literals", "p-loading", "p-show-more-disabled", "p-infinite-scroll", "p-selected", "p-unselected", "p-all-selected", "p-all-unselected", "p-show-more", "p-sort-by"], ["poTable", ""], ["class", "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all", 4, "ngIf"], ["container", ""], [1, "po-lookup-advanced-search"], ["tabindex", "0", "tabindex", "0", 1, "po-lookup-advanced-search-link", 3, "click", "keydown.enter"], [1, "po-md-12", 3, "p-disclaimers", "p-title", "p-change"], [1, "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all"]], template: function PoLookupModalComponent_Template(rf, ctx) { if (rf & 1) {
24162
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 24, consts: [["p-click-out", "false", "p-hide-close", "false", "p-size", "lg", 3, "p-primary-action", "p-secondary-action", "p-title"], [3, "hidden"], [1, "po-lookup-header", "po-pull-right", 3, "p-optional"], [1, "po-lookup-filter-content"], [1, "po-field-icon-container-right"], [1, "po-icon", "po-field-icon", "po-icon-search", 3, "click"], ["iconLookup", ""], ["name", "contentSearch", "type", "text", 1, "po-input", "po-input-icon-right", 3, "ngModel", "placeholder", "ngModelChange"], ["inpsearch", ""], ["class", "po-lookup-advanced-search", 4, "ngIf"], ["class", "po-md-12", 3, "p-disclaimers", "p-title", "p-change", 4, "ngIf"], [1, "po-row", "po-lookup-container-table"], [1, "po-md-12", 3, "p-selectable", "p-hide-detail", "p-single-select", "p-sort", "p-columns", "p-height", "p-items", "p-literals", "p-loading", "p-show-more-disabled", "p-infinite-scroll", "p-selected", "p-unselected", "p-all-selected", "p-all-unselected", "p-show-more", "p-sort-by", "p-change-visible-columns", "p-restore-column-manager"], ["poTable", ""], ["class", "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all", 4, "ngIf"], ["container", ""], [1, "po-lookup-advanced-search"], ["tabindex", "0", "tabindex", "0", 1, "po-lookup-advanced-search-link", 3, "click", "keydown.enter"], [1, "po-md-12", 3, "p-disclaimers", "p-title", "p-change"], [1, "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all"]], template: function PoLookupModalComponent_Template(rf, ctx) { if (rf & 1) {
23919
24163
  i0.ɵɵelementStart(0, "po-modal", 0)(1, "div", 1)(2, "po-field-container", 2)(3, "div", 3)(4, "div", 4)(5, "span", 5, 6);
23920
24164
  i0.ɵɵlistener("click", function PoLookupModalComponent_Template_span_click_5_listener() { return ctx.search(); });
23921
24165
  i0.ɵɵelementEnd()();
@@ -23926,7 +24170,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
23926
24170
  i0.ɵɵelementEnd();
23927
24171
  i0.ɵɵtemplate(10, PoLookupModalComponent_po_disclaimer_group_10_Template, 1, 2, "po-disclaimer-group", 10);
23928
24172
  i0.ɵɵelementStart(11, "div", 11)(12, "po-table", 12, 13);
23929
- i0.ɵɵlistener("p-selected", function PoLookupModalComponent_Template_po_table_p_selected_12_listener($event) { return ctx.onSelect($event); })("p-unselected", function PoLookupModalComponent_Template_po_table_p_unselected_12_listener($event) { return ctx.onUnselect($event); })("p-all-selected", function PoLookupModalComponent_Template_po_table_p_all_selected_12_listener($event) { return ctx.onAllSelected($event); })("p-all-unselected", function PoLookupModalComponent_Template_po_table_p_all_unselected_12_listener($event) { return ctx.onAllUnselected($event); })("p-show-more", function PoLookupModalComponent_Template_po_table_p_show_more_12_listener() { return ctx.showMoreEvent(); })("p-sort-by", function PoLookupModalComponent_Template_po_table_p_sort_by_12_listener($event) { return ctx.sortBy($event); });
24173
+ i0.ɵɵlistener("p-selected", function PoLookupModalComponent_Template_po_table_p_selected_12_listener($event) { return ctx.onSelect($event); })("p-unselected", function PoLookupModalComponent_Template_po_table_p_unselected_12_listener($event) { return ctx.onUnselect($event); })("p-all-selected", function PoLookupModalComponent_Template_po_table_p_all_selected_12_listener($event) { return ctx.onAllSelected($event); })("p-all-unselected", function PoLookupModalComponent_Template_po_table_p_all_unselected_12_listener($event) { return ctx.onAllUnselected($event); })("p-show-more", function PoLookupModalComponent_Template_po_table_p_show_more_12_listener() { return ctx.showMoreEvent(); })("p-sort-by", function PoLookupModalComponent_Template_po_table_p_sort_by_12_listener($event) { return ctx.sortBy($event); })("p-change-visible-columns", function PoLookupModalComponent_Template_po_table_p_change_visible_columns_12_listener($event) { return ctx.changeVisibleColumns.emit($event); })("p-restore-column-manager", function PoLookupModalComponent_Template_po_table_p_restore_column_manager_12_listener($event) { return ctx.columnRestoreManager.emit($event); });
23930
24174
  i0.ɵɵelementEnd()();
23931
24175
  i0.ɵɵtemplate(14, PoLookupModalComponent_po_disclaimer_group_14_Template, 1, 1, "po-disclaimer-group", 14);
23932
24176
  i0.ɵɵelementEnd();
@@ -23956,7 +24200,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
23956
24200
  } }, dependencies: [i1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, PoDisclaimerGroupComponent, PoFieldContainerComponent, PoModalComponent, PoTableComponent], encapsulation: 2, changeDetection: 0 });
23957
24201
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupModalComponent, [{
23958
24202
  type: Component,
23959
- args: [{ selector: 'po-lookup-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-modal\n p-click-out=\"false\"\n p-hide-close=\"false\"\n p-size=\"lg\"\n [p-primary-action]=\"isAdvancedFilter ? primaryActionAdvancedFilter : primaryAction\"\n [p-secondary-action]=\"isAdvancedFilter ? secondaryActionAdvancedFilter : secondaryAction\"\n [p-title]=\"isAdvancedFilter ? advancedFilterModalTitle : title\"\n>\n <div [hidden]=\"isAdvancedFilter\">\n <po-field-container class=\"po-lookup-header po-pull-right\" [p-optional]=\"false\">\n <div class=\"po-lookup-filter-content\">\n <div class=\"po-field-icon-container-right\">\n <span #iconLookup class=\"po-icon po-field-icon po-icon-search\" (click)=\"search()\"> </span>\n </div>\n\n <input\n #inpsearch\n class=\"po-input po-input-icon-right\"\n name=\"contentSearch\"\n [(ngModel)]=\"searchValue\"\n [placeholder]=\"literals.modalPlaceholder\"\n type=\"text\"\n />\n </div>\n\n <div *ngIf=\"advancedFilters && advancedFilters.length > 0\" class=\"po-lookup-advanced-search\">\n <span\n class=\"po-lookup-advanced-search-link\"\n tabindex=\"0\"\n (click)=\"onAdvancedFilter()\"\n (keydown.enter)=\"onAdvancedFilter()\"\n tabindex=\"0\"\n >\n {{ literals.modalAdvancedSearch }}\n </span>\n </div>\n </po-field-container>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"!!disclaimerGroup\"\n class=\"po-md-12\"\n [p-disclaimers]=\"disclaimerGroup?.disclaimers\"\n [p-title]=\"disclaimerGroup?.title\"\n (p-change)=\"onChangeDisclaimerGroup()\"\n >\n </po-disclaimer-group>\n\n <div class=\"po-row po-lookup-container-table\" [style.height.px]=\"containerHeight\">\n <po-table\n #poTable\n class=\"po-md-12\"\n [p-selectable]=\"true\"\n [p-hide-detail]=\"true\"\n [p-single-select]=\"!multiple\"\n [p-sort]=\"true\"\n [p-columns]=\"columns\"\n [p-height]=\"tableHeight\"\n [p-items]=\"items\"\n [p-literals]=\"tableLiterals\"\n [p-loading]=\"isLoading\"\n [p-show-more-disabled]=\"!hasNext\"\n [p-infinite-scroll]=\"infiniteScroll\"\n (p-selected)=\"onSelect($event)\"\n (p-unselected)=\"onUnselect($event)\"\n (p-all-selected)=\"onAllSelected($event)\"\n (p-all-unselected)=\"onAllUnselected($event)\"\n (p-show-more)=\"showMoreEvent()\"\n (p-sort-by)=\"sortBy($event)\"\n >\n </po-table>\n </div>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"multiple\"\n class=\"po-md-12\"\n [p-disclaimers]=\"selecteds\"\n (p-remove)=\"onUnselectFromDisclaimer($event.removedDisclaimer)\"\n (p-remove-all)=\"onAllUnselected($event)\"\n >\n </po-disclaimer-group>\n </div>\n <div [hidden]=\"!isAdvancedFilter\">\n <ng-container #container> </ng-container>\n </div>\n</po-modal>\n" }]
24203
+ args: [{ selector: 'po-lookup-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-modal\n p-click-out=\"false\"\n p-hide-close=\"false\"\n p-size=\"lg\"\n [p-primary-action]=\"isAdvancedFilter ? primaryActionAdvancedFilter : primaryAction\"\n [p-secondary-action]=\"isAdvancedFilter ? secondaryActionAdvancedFilter : secondaryAction\"\n [p-title]=\"isAdvancedFilter ? advancedFilterModalTitle : title\"\n>\n <div [hidden]=\"isAdvancedFilter\">\n <po-field-container class=\"po-lookup-header po-pull-right\" [p-optional]=\"false\">\n <div class=\"po-lookup-filter-content\">\n <div class=\"po-field-icon-container-right\">\n <span #iconLookup class=\"po-icon po-field-icon po-icon-search\" (click)=\"search()\"> </span>\n </div>\n\n <input\n #inpsearch\n class=\"po-input po-input-icon-right\"\n name=\"contentSearch\"\n [(ngModel)]=\"searchValue\"\n [placeholder]=\"literals.modalPlaceholder\"\n type=\"text\"\n />\n </div>\n\n <div *ngIf=\"advancedFilters && advancedFilters.length > 0\" class=\"po-lookup-advanced-search\">\n <span\n class=\"po-lookup-advanced-search-link\"\n tabindex=\"0\"\n (click)=\"onAdvancedFilter()\"\n (keydown.enter)=\"onAdvancedFilter()\"\n tabindex=\"0\"\n >\n {{ literals.modalAdvancedSearch }}\n </span>\n </div>\n </po-field-container>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"!!disclaimerGroup\"\n class=\"po-md-12\"\n [p-disclaimers]=\"disclaimerGroup?.disclaimers\"\n [p-title]=\"disclaimerGroup?.title\"\n (p-change)=\"onChangeDisclaimerGroup()\"\n >\n </po-disclaimer-group>\n\n <div class=\"po-row po-lookup-container-table\" [style.height.px]=\"containerHeight\">\n <po-table\n #poTable\n class=\"po-md-12\"\n [p-selectable]=\"true\"\n [p-hide-detail]=\"true\"\n [p-single-select]=\"!multiple\"\n [p-sort]=\"true\"\n [p-columns]=\"columns\"\n [p-height]=\"tableHeight\"\n [p-items]=\"items\"\n [p-literals]=\"tableLiterals\"\n [p-loading]=\"isLoading\"\n [p-show-more-disabled]=\"!hasNext\"\n [p-infinite-scroll]=\"infiniteScroll\"\n (p-selected)=\"onSelect($event)\"\n (p-unselected)=\"onUnselect($event)\"\n (p-all-selected)=\"onAllSelected($event)\"\n (p-all-unselected)=\"onAllUnselected($event)\"\n (p-show-more)=\"showMoreEvent()\"\n (p-sort-by)=\"sortBy($event)\"\n (p-change-visible-columns)=\"changeVisibleColumns.emit($event)\"\n (p-restore-column-manager)=\"columnRestoreManager.emit($event)\"\n >\n </po-table>\n </div>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"multiple\"\n class=\"po-md-12\"\n [p-disclaimers]=\"selecteds\"\n (p-remove)=\"onUnselectFromDisclaimer($event.removedDisclaimer)\"\n (p-remove-all)=\"onAllUnselected($event)\"\n >\n </po-disclaimer-group>\n </div>\n <div [hidden]=\"!isAdvancedFilter\">\n <ng-container #container> </ng-container>\n </div>\n</po-modal>\n" }]
23960
24204
  }], function () { return [{ type: i0.ComponentFactoryResolver }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }]; }, { poTable: [{
23961
24205
  type: ViewChild,
23962
24206
  args: [PoTableComponent, { static: true }]
@@ -23991,9 +24235,11 @@ class PoLookupModalService {
23991
24235
  * @param selectedItems {any} Valor que está selecionado que será repassado para o modal para apresentar na tabela.
23992
24236
  * @param fieldLabel {string} Valor que será utilizado como descrição do campo.
23993
24237
  * @param fieldValue {string} Valor que será utilizado como valor do campo.
24238
+ * @param changeVisibleColumns {function} Função que será executada quando for alterada a visibilidade das colunas.
24239
+ * @param columnRestoreManager {function} Função que será executada quando for restaurar as colunas padrão.
23994
24240
  */
23995
24241
  openModal(params) {
23996
- const { advancedFilters, service, columns, filterParams, title, literals, infiniteScroll, multiple, selectedItems, fieldLabel, fieldValue } = params;
24242
+ const { advancedFilters, service, columns, filterParams, title, literals, infiniteScroll, multiple, selectedItems, fieldLabel, fieldValue, changeVisibleColumns, columnRestoreManager } = params;
23997
24243
  this.componentRef = this.poComponentInjector.createComponentInApplication(PoLookupModalComponent);
23998
24244
  this.componentRef.instance.advancedFilters = advancedFilters;
23999
24245
  this.componentRef.instance.title = title;
@@ -24009,6 +24255,8 @@ class PoLookupModalService {
24009
24255
  this.componentRef.instance.selectedItems = selectedItems;
24010
24256
  this.componentRef.instance.fieldLabel = fieldLabel;
24011
24257
  this.componentRef.instance.fieldValue = fieldValue;
24258
+ this.componentRef.instance.changeVisibleColumns = changeVisibleColumns;
24259
+ this.componentRef.instance.columnRestoreManager = columnRestoreManager;
24012
24260
  this.componentRef.changeDetectorRef.detectChanges();
24013
24261
  this.componentRef.instance.openModal();
24014
24262
  }
@@ -24241,7 +24489,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
24241
24489
  }
24242
24490
  openLookup() {
24243
24491
  if (this.isAllowedOpenModal()) {
24244
- const { advancedFilters, service, columns, filterParams, literals, infiniteScroll, multiple, fieldLabel, fieldValue } = this;
24492
+ const { advancedFilters, service, columns, filterParams, literals, infiniteScroll, multiple, fieldLabel, fieldValue, changeVisibleColumns, columnRestoreManager } = this;
24245
24493
  const selectedItems = this.checkSelectedItems();
24246
24494
  this.poLookupModalService.openModal({
24247
24495
  advancedFilters,
@@ -24254,7 +24502,9 @@ class PoLookupComponent extends PoLookupBaseComponent {
24254
24502
  multiple,
24255
24503
  selectedItems,
24256
24504
  fieldLabel,
24257
- fieldValue
24505
+ fieldValue,
24506
+ changeVisibleColumns,
24507
+ columnRestoreManager
24258
24508
  });
24259
24509
  if (!this.modalSubscription) {
24260
24510
  this.modalSubscription = this.poLookupModalService.selectValueEvent.subscribe(selectedOptions => {
@@ -25469,7 +25719,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
25469
25719
  this.initialized = true;
25470
25720
  }
25471
25721
  ngOnChanges(changes) {
25472
- if (changes.filterService || changes.fieldValue || changes.fieldLabel) {
25722
+ if (this.filterService && (changes.filterService || changes.fieldValue || changes.fieldLabel)) {
25473
25723
  this.setService(this.filterService);
25474
25724
  }
25475
25725
  }
@@ -26648,7 +26898,8 @@ class PoUploadBaseService {
26648
26898
  }
26649
26899
  }
26650
26900
  sendFile(url, file, headers, formData, uploadCallback, successCallback, errorCallback) {
26651
- const request = this.getRequest(url, headers, formData).subscribe(event => {
26901
+ let request = new Subscription();
26902
+ request = this.getRequest(url, headers, formData).subscribe(event => {
26652
26903
  if (event.type === HttpEventType.UploadProgress) {
26653
26904
  this.addRequest(file, request);
26654
26905
  const percentDone = Math.round((100 * event.loaded) / event.total);
@@ -29032,7 +29283,7 @@ function PoRichTextToolbarComponent_div_5_Template(rf, ctx) { if (rf & 1) {
29032
29283
  } if (rf & 2) {
29033
29284
  const ctx_r2 = i0.ɵɵnextContext();
29034
29285
  i0.ɵɵadvance(1);
29035
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx_r2.alignButtons);
29286
+ i0.ɵɵproperty("p-buttons", ctx_r2.alignButtons);
29036
29287
  } }
29037
29288
  const poRichTextDefaultColor = '#000000';
29038
29289
  class PoRichTextToolbarComponent {
@@ -29194,12 +29445,12 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
29194
29445
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.toolbarElement = _t.first);
29195
29446
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextImageModal = _t.first);
29196
29447
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextLinkModal = _t.first);
29197
- } }, inputs: { disabledTextAlign: ["p-disabled-text-align", "disabledTextAlign"], readonly: ["p-readonly", "readonly"] }, outputs: { command: "p-command", modal: "p-modal", linkEditing: "p-link-editing" }, decls: 16, vars: 10, consts: [[1, "po-rich-text-toolbar"], ["toolbarElement", ""], ["data-rich-text-toolbar", "format", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "multiple", 3, "p-small", "p-buttons"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "color", 4, "ngIf"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "align", 4, "ngIf"], ["data-rich-text-toolbar", "list", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "single", 3, "p-small", "p-buttons"], ["data-rich-text-toolbar", "link", 1, "po-rich-text-toolbar-button-align"], [3, "p-small", "p-buttons"], ["data-rich-text-toolbar", "media", 1, "po-rich-text-toolbar-button-align"], [3, "p-command"], ["richTextImageModal", ""], [3, "p-command", "p-link-editing"], ["richTextLinkModal", ""], ["data-rich-text-toolbar", "color", 1, "po-rich-text-toolbar-button-align"], [1, "po-rich-text-toolbar-color-picker-container"], [1, "po-button", "po-button-default", "po-button-sm", "po-text-ellipsis", "po-rich-text-toolbar-color-picker-button", 3, "disabled", "p-tooltip"], ["type", "color", 1, "po-rich-text-toolbar-color-picker-input", 3, "disabled", "change"], ["colorPickerInput", ""], ["data-rich-text-toolbar", "align", 1, "po-rich-text-toolbar-button-align"]], template: function PoRichTextToolbarComponent_Template(rf, ctx) { if (rf & 1) {
29448
+ } }, inputs: { disabledTextAlign: ["p-disabled-text-align", "disabledTextAlign"], readonly: ["p-readonly", "readonly"] }, outputs: { command: "p-command", modal: "p-modal", linkEditing: "p-link-editing" }, decls: 16, vars: 6, consts: [[1, "po-rich-text-toolbar"], ["toolbarElement", ""], ["data-rich-text-toolbar", "format", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "multiple", 3, "p-buttons"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "color", 4, "ngIf"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "align", 4, "ngIf"], ["data-rich-text-toolbar", "list", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "single", 3, "p-buttons"], ["data-rich-text-toolbar", "link", 1, "po-rich-text-toolbar-button-align"], [3, "p-buttons"], ["data-rich-text-toolbar", "media", 1, "po-rich-text-toolbar-button-align"], [3, "p-command"], ["richTextImageModal", ""], [3, "p-command", "p-link-editing"], ["richTextLinkModal", ""], ["data-rich-text-toolbar", "color", 1, "po-rich-text-toolbar-button-align"], [1, "po-rich-text-toolbar-color-picker-container"], [1, "po-button", "po-button-default", "po-rich-text-toolbar-color-picker-button", 3, "disabled", "p-tooltip"], ["type", "color", 1, "po-rich-text-toolbar-color-picker-input", 3, "disabled", "change"], ["colorPickerInput", ""], ["data-rich-text-toolbar", "align", 1, "po-rich-text-toolbar-button-align"]], template: function PoRichTextToolbarComponent_Template(rf, ctx) { if (rf & 1) {
29198
29449
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
29199
29450
  i0.ɵɵelement(3, "po-button-group", 3);
29200
29451
  i0.ɵɵelementEnd();
29201
29452
  i0.ɵɵtemplate(4, PoRichTextToolbarComponent_div_4_Template, 5, 5, "div", 4);
29202
- i0.ɵɵtemplate(5, PoRichTextToolbarComponent_div_5_Template, 2, 2, "div", 5);
29453
+ i0.ɵɵtemplate(5, PoRichTextToolbarComponent_div_5_Template, 2, 1, "div", 5);
29203
29454
  i0.ɵɵelementStart(6, "div", 6);
29204
29455
  i0.ɵɵelement(7, "po-button-group", 7);
29205
29456
  i0.ɵɵelementEnd();
@@ -29217,21 +29468,21 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
29217
29468
  i0.ɵɵelementEnd();
29218
29469
  } if (rf & 2) {
29219
29470
  i0.ɵɵadvance(3);
29220
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.formatButtons);
29471
+ i0.ɵɵproperty("p-buttons", ctx.formatButtons);
29221
29472
  i0.ɵɵadvance(1);
29222
29473
  i0.ɵɵproperty("ngIf", !ctx.isInternetExplorer);
29223
29474
  i0.ɵɵadvance(1);
29224
29475
  i0.ɵɵproperty("ngIf", !ctx.disabledTextAlign);
29225
29476
  i0.ɵɵadvance(2);
29226
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.listButtons);
29477
+ i0.ɵɵproperty("p-buttons", ctx.listButtons);
29227
29478
  i0.ɵɵadvance(2);
29228
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.linkButtons);
29479
+ i0.ɵɵproperty("p-buttons", ctx.linkButtons);
29229
29480
  i0.ɵɵadvance(2);
29230
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.mediaButtons);
29481
+ i0.ɵɵproperty("p-buttons", ctx.mediaButtons);
29231
29482
  } }, dependencies: [i1.NgIf, PoButtonGroupComponent, PoTooltipDirective, PoRichTextImageModalComponent, PoRichTextLinkModalComponent], encapsulation: 2 });
29232
29483
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRichTextToolbarComponent, [{
29233
29484
  type: Component,
29234
- args: [{ selector: 'po-rich-text-toolbar', template: "<div class=\"po-rich-text-toolbar\" #toolbarElement>\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"format\">\n <po-button-group p-toggle=\"multiple\" [p-small]=\"true\" [p-buttons]=\"formatButtons\"> </po-button-group>\n </div>\n\n <div *ngIf=\"!isInternetExplorer\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"color\">\n <div class=\"po-rich-text-toolbar-color-picker-container\">\n <button\n class=\"po-button po-button-default po-button-sm po-text-ellipsis po-rich-text-toolbar-color-picker-button\"\n [disabled]=\"readonly\"\n [p-tooltip]=\"literals.textColor\"\n [attr.aria-label]=\"literals.textColor\"\n >\n <input\n #colorPickerInput\n class=\"po-rich-text-toolbar-color-picker-input\"\n type=\"color\"\n [disabled]=\"readonly\"\n (change)=\"changeTextColor($event.target.value)\"\n [attr.aria-label]=\"literals.textColor\"\n />\n </button>\n </div>\n </div>\n\n <div *ngIf=\"!disabledTextAlign\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"align\">\n <po-button-group p-toggle=\"single\" [p-small]=\"true\" [p-buttons]=\"alignButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"list\">\n <po-button-group p-toggle=\"single\" [p-small]=\"true\" [p-buttons]=\"listButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"link\">\n <po-button-group [p-small]=\"true\" [p-buttons]=\"linkButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"media\">\n <po-button-group [p-small]=\"true\" [p-buttons]=\"mediaButtons\"> </po-button-group>\n </div>\n</div>\n\n<po-rich-text-image-modal #richTextImageModal (p-command)=\"emitCommand($event)\"> </po-rich-text-image-modal>\n\n<po-rich-text-link-modal\n #richTextLinkModal\n (p-command)=\"emitCommand($event)\"\n (p-link-editing)=\"emitLinkEditing($event)\"\n>\n</po-rich-text-link-modal>\n" }]
29485
+ args: [{ selector: 'po-rich-text-toolbar', template: "<div class=\"po-rich-text-toolbar\" #toolbarElement>\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"format\">\n <po-button-group p-toggle=\"multiple\" [p-buttons]=\"formatButtons\"> </po-button-group>\n </div>\n\n <div *ngIf=\"!isInternetExplorer\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"color\">\n <div class=\"po-rich-text-toolbar-color-picker-container\">\n <button\n class=\"po-button po-button-default po-rich-text-toolbar-color-picker-button\"\n [disabled]=\"readonly\"\n [p-tooltip]=\"literals.textColor\"\n [attr.aria-label]=\"literals.textColor\"\n >\n <input\n #colorPickerInput\n class=\"po-rich-text-toolbar-color-picker-input\"\n type=\"color\"\n [disabled]=\"readonly\"\n (change)=\"changeTextColor($event.target.value)\"\n [attr.aria-label]=\"literals.textColor\"\n />\n </button>\n </div>\n </div>\n\n <div *ngIf=\"!disabledTextAlign\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"align\">\n <po-button-group p-toggle=\"single\" [p-buttons]=\"alignButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"list\">\n <po-button-group p-toggle=\"single\" [p-buttons]=\"listButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"link\">\n <po-button-group [p-buttons]=\"linkButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"media\">\n <po-button-group [p-buttons]=\"mediaButtons\"> </po-button-group>\n </div>\n</div>\n\n<po-rich-text-image-modal #richTextImageModal (p-command)=\"emitCommand($event)\"> </po-rich-text-image-modal>\n\n<po-rich-text-link-modal\n #richTextLinkModal\n (p-command)=\"emitCommand($event)\"\n (p-link-editing)=\"emitLinkEditing($event)\"\n>\n</po-rich-text-link-modal>\n" }]
29235
29486
  }], function () { return [{ type: PoLanguageService }]; }, { colorPickerInput: [{
29236
29487
  type: ViewChild,
29237
29488
  args: ['colorPickerInput', { read: ElementRef }]
@@ -30359,9 +30610,9 @@ function PoSelectComponent_option_4_Template(rf, ctx) { if (rf & 1) {
30359
30610
  } if (rf & 2) {
30360
30611
  const option_r7 = ctx.$implicit;
30361
30612
  const ctx_r2 = i0.ɵɵnextContext();
30362
- i0.ɵɵproperty("disabled", ctx_r2.readonly)("value", option_r7.value);
30613
+ i0.ɵɵproperty("disabled", ctx_r2.readonly)("value", option_r7 == null ? null : option_r7[ctx_r2.fieldValue]);
30363
30614
  i0.ɵɵadvance(1);
30364
- i0.ɵɵtextInterpolate1(" ", option_r7 == null ? null : option_r7.label, " ");
30615
+ i0.ɵɵtextInterpolate1(" ", option_r7 == null ? null : option_r7[ctx_r2.fieldLabel], " ");
30365
30616
  } }
30366
30617
  function PoSelectComponent_li_15_ng_container_2_Template(rf, ctx) { if (rf & 1) {
30367
30618
  i0.ɵɵelementContainer(0);
@@ -30372,8 +30623,9 @@ function PoSelectComponent_li_15_ng_template_3_Template(rf, ctx) { if (rf & 1) {
30372
30623
  i0.ɵɵelementEnd();
30373
30624
  } if (rf & 2) {
30374
30625
  const option_r10 = i0.ɵɵnextContext().$implicit;
30626
+ const ctx_r13 = i0.ɵɵnextContext();
30375
30627
  i0.ɵɵadvance(1);
30376
- i0.ɵɵtextInterpolate(option_r10 == null ? null : option_r10.label);
30628
+ i0.ɵɵtextInterpolate(option_r10 == null ? null : option_r10[ctx_r13.fieldLabel]);
30377
30629
  } }
30378
30630
  function PoSelectComponent_li_15_ng_template_5_Template(rf, ctx) { }
30379
30631
  const _c4$1 = function (a0) { return { $implicit: a0 }; };
@@ -30391,8 +30643,8 @@ function PoSelectComponent_li_15_Template(rf, ctx) { if (rf & 1) {
30391
30643
  const _r12 = i0.ɵɵreference(4);
30392
30644
  const _r14 = i0.ɵɵreference(6);
30393
30645
  const ctx_r6 = i0.ɵɵnextContext();
30394
- i0.ɵɵclassProp("po-select-item-selected", ctx_r6.selectedValue === option_r10.value);
30395
- i0.ɵɵproperty("value", option_r10.value);
30646
+ i0.ɵɵclassProp("po-select-item-selected", ctx_r6.selectedValue === (option_r10 == null ? null : option_r10[ctx_r6.fieldLabel]));
30647
+ i0.ɵɵproperty("value", option_r10 == null ? null : option_r10[ctx_r6.fieldValue]);
30396
30648
  i0.ɵɵadvance(2);
30397
30649
  i0.ɵɵproperty("ngIf", ctx_r6.selectOptionTemplate)("ngIfThen", _r14)("ngIfElse", _r12);
30398
30650
  i0.ɵɵadvance(3);
@@ -30404,6 +30656,8 @@ const _c7 = function (a0, a1) { return { "po-field-icon-disabled": a0, "po-field
30404
30656
  const _c8 = function (a0) { return { "po-invisible": a0 }; };
30405
30657
  const poSelectContentOffset = 8;
30406
30658
  const poSelectContentPositionDefault = 'bottom';
30659
+ const PO_SELECT_FIELD_LABEL_DEFAULT = 'label';
30660
+ const PO_SELECT_FIELD_VALUE_DEFAULT = 'value';
30407
30661
  /**
30408
30662
  * @docsExtends PoFieldValidateModel
30409
30663
  *
@@ -30427,6 +30681,11 @@ const poSelectContentPositionDefault = 'bottom';
30427
30681
  * <file name='sample-po-select-customer-registration/sample-po-select-customer-registration.component.po.ts'> </file>
30428
30682
  * </example>
30429
30683
  *
30684
+ * <example name="po-select-companies" title="PO Select Companies">
30685
+ * <file name="sample-po-select-companies/sample-po-select-companies.component.html"> </file>
30686
+ * <file name="sample-po-select-companies/sample-po-select-companies.component.ts"> </file>
30687
+ * </example>
30688
+ *
30430
30689
  * @description
30431
30690
  *
30432
30691
  * O componente po-select exibe uma lista de valores e permite que o usuário selecione um desses valores.
@@ -30477,6 +30736,8 @@ class PoSelectComponent extends PoFieldValidateModel {
30477
30736
  this.isMobile = isMobile();
30478
30737
  this.open = false;
30479
30738
  this.selectIcon = 'po-icon-arrow-down';
30739
+ this._fieldLabel = PO_SELECT_FIELD_LABEL_DEFAULT;
30740
+ this._fieldValue = PO_SELECT_FIELD_VALUE_DEFAULT;
30480
30741
  this.onScroll = () => {
30481
30742
  this.controlPosition.adjustPosition(poSelectContentPositionDefault);
30482
30743
  };
@@ -30499,14 +30760,55 @@ class PoSelectComponent extends PoFieldValidateModel {
30499
30760
  * ```
30500
30761
  */
30501
30762
  set options(options) {
30502
- this._options = options;
30503
- removeDuplicatedOptions(this._options);
30504
- removeUndefinedAndNullOptions(this._options);
30763
+ if (this.fieldLabel && this.fieldValue) {
30764
+ options.map(option => {
30765
+ option.label = option[this.fieldLabel];
30766
+ option.value = option[this.fieldValue];
30767
+ });
30768
+ }
30769
+ this.validateOptions([...options]);
30505
30770
  this.onUpdateOptions();
30771
+ this._options = [...options];
30506
30772
  }
30507
30773
  get options() {
30508
30774
  return this._options;
30509
30775
  }
30776
+ /**
30777
+ * @optional
30778
+ *
30779
+ * @description
30780
+ * Deve ser informado o nome da propriedade do objeto que será utilizado para a conversão dos itens apresentados na lista do componente
30781
+ * (`p-options`), esta propriedade será responsável pelo texto de apresentação de cada item da lista.
30782
+ *
30783
+ * @default `label`
30784
+ */
30785
+ set fieldLabel(value) {
30786
+ this._fieldLabel = value || PO_SELECT_FIELD_LABEL_DEFAULT;
30787
+ if (this.options && this.options.length > 0) {
30788
+ this.options = [...this.options];
30789
+ }
30790
+ }
30791
+ get fieldLabel() {
30792
+ return this._fieldLabel;
30793
+ }
30794
+ /**
30795
+ * @optional
30796
+ *
30797
+ * @description
30798
+ * Deve ser informado o nome da propriedade do objeto que será utilizado para a conversão dos itens apresentados na lista do componente
30799
+ * (`p-options`), esta propriedade será responsável pelo valor de cada item da lista.
30800
+ *
30801
+ * @default `value`
30802
+ */
30803
+ set fieldValue(value) {
30804
+ this._fieldValue = value || PO_SELECT_FIELD_VALUE_DEFAULT;
30805
+ if (this.options && this.options.length > 0) {
30806
+ this.options = [...this.options];
30807
+ }
30808
+ }
30809
+ get fieldValue() {
30810
+ return this._fieldValue;
30811
+ }
30510
30812
  get isInvisibleSelectNative() {
30511
30813
  return this.readonly && this.isMobile;
30512
30814
  }
@@ -30540,6 +30842,8 @@ class PoSelectComponent extends PoFieldValidateModel {
30540
30842
  if (change) {
30541
30843
  removeDuplicatedOptions(this.options);
30542
30844
  removeUndefinedAndNullOptions(this.options);
30845
+ removeDuplicatedOptionsWithFieldValue(this.options, this.fieldValue);
30846
+ removeUndefinedAndNullOptionsWithFieldValue(this.options, this.fieldValue);
30543
30847
  }
30544
30848
  }
30545
30849
  /**
@@ -30606,12 +30910,12 @@ class PoSelectComponent extends PoFieldValidateModel {
30606
30910
  }
30607
30911
  // Atualiza valores
30608
30912
  updateValues(option) {
30609
- if (this.selectedValue !== option.value) {
30610
- this.selectedValue = option.value;
30611
- this.selectElement.nativeElement.value = option.value;
30612
- this.updateModel(option.value);
30613
- this.displayValue = option.label;
30614
- this.emitChange(option.value);
30913
+ if (this.selectedValue !== option[this.fieldValue]) {
30914
+ this.selectedValue = option[this.fieldValue];
30915
+ this.selectElement.nativeElement.value = option[this.fieldValue];
30916
+ this.updateModel(option[this.fieldValue]);
30917
+ this.displayValue = option[this.fieldLabel];
30918
+ this.emitChange(option[this.fieldValue]);
30615
30919
  }
30616
30920
  }
30617
30921
  // Esconde Content do Select quando for clicado fora
@@ -30626,9 +30930,9 @@ class PoSelectComponent extends PoFieldValidateModel {
30626
30930
  const optionFound = this.findOptionValue(value);
30627
30931
  if (optionFound) {
30628
30932
  this.selectElement.nativeElement.value = optionFound.value;
30629
- this.selectedValue = optionFound.value;
30630
- this.displayValue = optionFound.label;
30631
- this.setScrollPosition(optionFound.value);
30933
+ this.selectedValue = optionFound[this.fieldValue];
30934
+ this.displayValue = optionFound[this.fieldLabel];
30935
+ this.setScrollPosition(optionFound[this.fieldValue]);
30632
30936
  }
30633
30937
  else if (validValue(this.selectedValue)) {
30634
30938
  this.selectElement.nativeElement.value = undefined;
@@ -30711,6 +31015,12 @@ class PoSelectComponent extends PoFieldValidateModel {
30711
31015
  }
30712
31016
  }
30713
31017
  }
31018
+ validateOptions(options) {
31019
+ removeDuplicatedOptions(options);
31020
+ removeUndefinedAndNullOptions(options);
31021
+ removeDuplicatedOptionsWithFieldValue(options, this.fieldValue);
31022
+ removeUndefinedAndNullOptionsWithFieldValue(options, this.fieldValue);
31023
+ }
30714
31024
  }
30715
31025
  PoSelectComponent.ɵfac = function PoSelectComponent_Factory(t) { return new (t || PoSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoControlPositionService)); };
30716
31026
  PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectComponent, selectors: [["po-select"]], viewQuery: function PoSelectComponent_Query(rf, ctx) { if (rf & 1) {
@@ -30726,7 +31036,7 @@ PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectC
30726
31036
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectButtonElement = _t.first);
30727
31037
  } }, hostBindings: function PoSelectComponent_HostBindings(rf, ctx) { if (rf & 1) {
30728
31038
  i0.ɵɵlistener("keydown", function PoSelectComponent_keydown_HostBindingHandler($event) { return ctx.onKeydown($event); });
30729
- } }, inputs: { readonly: ["p-readonly", "readonly"], placeholder: ["p-placeholder", "placeholder"], options: ["p-options", "options"] }, outputs: { ngModelChange: "ngModelChange" }, features: [i0.ɵɵProvidersFeature([
31039
+ } }, inputs: { readonly: ["p-readonly", "readonly"], placeholder: ["p-placeholder", "placeholder"], options: ["p-options", "options"], fieldLabel: ["p-field-label", "fieldLabel"], fieldValue: ["p-field-value", "fieldValue"] }, outputs: { ngModelChange: "ngModelChange" }, features: [i0.ɵɵProvidersFeature([
30730
31040
  {
30731
31041
  provide: NG_VALUE_ACCESSOR,
30732
31042
  useExisting: forwardRef(() => PoSelectComponent),
@@ -30795,7 +31105,7 @@ __decorate([
30795
31105
  multi: true
30796
31106
  },
30797
31107
  PoControlPositionService
30798
- ], template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <select\n #select\n class=\"po-select\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [ngClass]=\"{ 'po-select-mobile': isMobile, 'po-invisible': isInvisibleSelectNative }\"\n [required]=\"required\"\n (change)=\"onSelectChange($event.target.value)\"\n (blur)=\"onBlur()\"\n >\n <option *ngIf=\"isMobile\" disabled hidden selected></option>\n <option *ngFor=\"let option of options\" [disabled]=\"readonly\" [value]=\"option.value\" (click)=\"onOptionClick(option)\">\n {{ option?.label }}\n </option>\n </select>\n\n <div class=\"po-select-container\">\n <div\n #selectButton\n class=\"po-select-button\"\n [ngClass]=\"{ 'po-select-button-disabled': disabled, 'po-select-button-readonly': readonly }\"\n (click)=\"toggleButton()\"\n >\n <span>{{ displayValue || placeholder }}</span>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #icon\n class=\"po-icon {{ selectIcon }} po-field-icon\"\n [ngClass]=\"{ 'po-field-icon-disabled': disabled, 'po-field-icon-readonly': readonly }\"\n ></span>\n </div>\n </div>\n\n <ul #contentList class=\"po-select-content\" [ngClass]=\"{ 'po-invisible': isMobile }\">\n <li\n *ngFor=\"let option of options\"\n [class.po-select-item-selected]=\"selectedValue === option.value\"\n [value]=\"option.value\"\n (click)=\"onOptionClick(option)\"\n >\n <div class=\"po-select-item\">\n <ng-container *ngIf=\"selectOptionTemplate; then optionTemplate; else defaultOptionTemplate\"></ng-container>\n\n <ng-template #defaultOptionTemplate>\n <span>{{ option?.label }}</span>\n </ng-template>\n\n <ng-template\n #optionTemplate\n [ngTemplateOutlet]=\"selectOptionTemplate?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n >\n </ng-template>\n </div>\n </li>\n </ul>\n </div>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
31108
+ ], template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <select\n #select\n class=\"po-select\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [ngClass]=\"{ 'po-select-mobile': isMobile, 'po-invisible': isInvisibleSelectNative }\"\n [required]=\"required\"\n (change)=\"onSelectChange($event.target.value)\"\n (blur)=\"onBlur()\"\n >\n <option *ngIf=\"isMobile\" disabled hidden selected></option>\n <option\n *ngFor=\"let option of options\"\n [disabled]=\"readonly\"\n [value]=\"option?.[this.fieldValue]\"\n (click)=\"onOptionClick(option)\"\n >\n {{ option?.[this.fieldLabel] }}\n </option>\n </select>\n\n <div class=\"po-select-container\">\n <div\n #selectButton\n class=\"po-select-button\"\n [ngClass]=\"{ 'po-select-button-disabled': disabled, 'po-select-button-readonly': readonly }\"\n (click)=\"toggleButton()\"\n >\n <span>{{ displayValue || placeholder }}</span>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #icon\n class=\"po-icon {{ selectIcon }} po-field-icon\"\n [ngClass]=\"{ 'po-field-icon-disabled': disabled, 'po-field-icon-readonly': readonly }\"\n ></span>\n </div>\n </div>\n\n <ul #contentList class=\"po-select-content\" [ngClass]=\"{ 'po-invisible': isMobile }\">\n <li\n *ngFor=\"let option of options\"\n [class.po-select-item-selected]=\"selectedValue === option?.[this.fieldLabel]\"\n [value]=\"option?.[this.fieldValue]\"\n (click)=\"onOptionClick(option)\"\n >\n <div class=\"po-select-item\">\n <ng-container *ngIf=\"selectOptionTemplate; then optionTemplate; else defaultOptionTemplate\"></ng-container>\n\n <ng-template #defaultOptionTemplate>\n <span>{{ option?.[this.fieldLabel] }}</span>\n </ng-template>\n\n <ng-template\n #optionTemplate\n [ngTemplateOutlet]=\"selectOptionTemplate?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\"\n >\n </ng-template>\n </div>\n </li>\n </ul>\n </div>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
30799
31109
  }], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoControlPositionService }]; }, { contentList: [{
30800
31110
  type: ViewChild,
30801
31111
  args: ['contentList', { read: ElementRef, static: true }]
@@ -30820,6 +31130,12 @@ __decorate([
30820
31130
  }], options: [{
30821
31131
  type: Input,
30822
31132
  args: ['p-options']
31133
+ }], fieldLabel: [{
31134
+ type: Input,
31135
+ args: ['p-field-label']
31136
+ }], fieldValue: [{
31137
+ type: Input,
31138
+ args: ['p-field-value']
30823
31139
  }], onKeydown: [{
30824
31140
  type: HostListener,
30825
31141
  args: ['keydown', ['$event']]
@@ -32868,7 +33184,7 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_combo_10_Template(
32868
33184
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template(rf, ctx) { if (rf & 1) {
32869
33185
  const _r90 = i0.ɵɵgetCurrentView();
32870
33186
  i0.ɵɵelementStart(0, "po-lookup", 28, 19);
32871
- i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template_po_lookup_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r90); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r89 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r89.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template_po_lookup_p_change_0_listener() { i0.ɵɵrestoreView(_r90); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r92 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r92.onChangeField(field_r2)); });
33187
+ i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template_po_lookup_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r90); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r89 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r89.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template_po_lookup_p_change_0_listener() { i0.ɵɵrestoreView(_r90); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r92 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r92.onChangeField(field_r2)); })("p-change-visible-columns", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template_po_lookup_p_change_visible_columns_0_listener($event) { i0.ɵɵrestoreView(_r90); const field_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(field_r2.changeVisibleColumns($event)); })("p-restore-column-manager", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template_po_lookup_p_restore_column_manager_0_listener($event) { i0.ɵɵrestoreView(_r90); const field_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(field_r2.columnRestoreManager($event)); });
32872
33188
  i0.ɵɵelementEnd();
32873
33189
  } if (rf & 2) {
32874
33190
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32876,9 +33192,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template
32876
33192
  i0.ɵɵproperty("name", field_r2.property)("ngModel", ctx_r13.value[field_r2.property])("ngClass", field_r2.componentClass)("p-clean", field_r2.clean)("p-columns", field_r2.columns)("p-disabled", ctx_r13.isDisabled(field_r2))("p-field-label", field_r2.fieldLabel || "label")("p-field-value", field_r2.fieldValue || "value")("p-filter-params", field_r2.params)("p-filter-service", field_r2.searchService)("p-auto-focus", field_r2.focus)("p-auto-height", field_r2.autoHeight)("p-help", field_r2.help)("p-field-format", field_r2.format)("p-infinite-scroll", field_r2.infiniteScroll)("p-label", field_r2.label)("p-literals", field_r2.literals)("p-multiple", field_r2.multiple)("p-no-autocomplete", field_r2.noAutocomplete)("p-optional", field_r2.optional)("p-required", field_r2.required)("p-placeholder", field_r2.placeholder)("p-advanced-filters", field_r2.advancedFilters);
32877
33193
  } }
32878
33194
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_Template(rf, ctx) { if (rf & 1) {
32879
- const _r97 = i0.ɵɵgetCurrentView();
33195
+ const _r101 = i0.ɵɵgetCurrentView();
32880
33196
  i0.ɵɵelementStart(0, "po-checkbox-group", 25, 19);
32881
- i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_Template_po_checkbox_group_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r97); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r96 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r96.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_Template_po_checkbox_group_p_change_0_listener() { i0.ɵɵrestoreView(_r97); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r99 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r99.onChangeField(field_r2)); });
33197
+ i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_Template_po_checkbox_group_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r101); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r100 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r100.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_Template_po_checkbox_group_p_change_0_listener() { i0.ɵɵrestoreView(_r101); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r103 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r103.onChangeField(field_r2)); });
32882
33198
  i0.ɵɵelementEnd();
32883
33199
  } if (rf & 2) {
32884
33200
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32886,9 +33202,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_
32886
33202
  i0.ɵɵproperty("name", field_r2.property)("ngModel", ctx_r14.value[field_r2.property])("ngClass", field_r2.componentClass)("p-columns", field_r2.columns || 3)("p-auto-focus", field_r2.focus)("p-disabled", ctx_r14.isDisabled(field_r2))("p-help", field_r2.help)("p-label", field_r2.label)("p-optional", field_r2.optional)("p-options", field_r2.options)("p-required", field_r2.required);
32887
33203
  } }
32888
33204
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Template(rf, ctx) { if (rf & 1) {
32889
- const _r104 = i0.ɵɵgetCurrentView();
33205
+ const _r108 = i0.ɵɵgetCurrentView();
32890
33206
  i0.ɵɵelementStart(0, "po-multiselect", 29, 19);
32891
- i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Template_po_multiselect_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r104); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r103 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r103.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Template_po_multiselect_p_change_0_listener() { i0.ɵɵrestoreView(_r104); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r106 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r106.onChangeField(field_r2)); });
33207
+ i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Template_po_multiselect_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r108); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r107 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r107.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Template_po_multiselect_p_change_0_listener() { i0.ɵɵrestoreView(_r108); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r110 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r110.onChangeField(field_r2)); });
32892
33208
  i0.ɵɵelementEnd();
32893
33209
  } if (rf & 2) {
32894
33210
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32896,9 +33212,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Tem
32896
33212
  i0.ɵɵproperty("name", field_r2.property)("ngModel", ctx_r15.value[field_r2.property])("ngClass", field_r2.componentClass)("p-disabled", ctx_r15.isDisabled(field_r2))("p-auto-focus", field_r2.focus)("p-auto-height", field_r2.autoHeight)("p-help", field_r2.help)("p-label", field_r2.label)("p-literals", field_r2.literals)("p-optional", field_r2.optional)("p-options", field_r2.options)("p-required", field_r2.required)("p-placeholder", field_r2.placeholder)("p-field-label", field_r2.fieldLabel)("p-field-value", field_r2.fieldValue)("p-filter-service", field_r2.optionsService)("p-filter-mode", field_r2.filterMode)("p-debounce-time", field_r2.debounceTime)("p-sort", field_r2.sort)("p-placeholder-search", field_r2.placeholderSearch)("p-hide-search", field_r2.hideSearch)("p-hide-select-all", field_r2.hideSelectAll);
32897
33213
  } }
32898
33214
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template(rf, ctx) { if (rf & 1) {
32899
- const _r111 = i0.ɵɵgetCurrentView();
33215
+ const _r115 = i0.ɵɵgetCurrentView();
32900
33216
  i0.ɵɵelementStart(0, "po-textarea", 30, 19);
32901
- i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template_po_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r111); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r110 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r110.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template_po_textarea_p_change_0_listener() { i0.ɵɵrestoreView(_r111); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r113 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r113.onChangeField(field_r2)); })("p-change-model", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template_po_textarea_p_change_model_0_listener() { i0.ɵɵrestoreView(_r111); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r115 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r115.onChangeFieldModel(field_r2)); });
33217
+ i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template_po_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r115); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r114 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r114.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template_po_textarea_p_change_0_listener() { i0.ɵɵrestoreView(_r115); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r117 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r117.onChangeField(field_r2)); })("p-change-model", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template_po_textarea_p_change_model_0_listener() { i0.ɵɵrestoreView(_r115); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r119 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r119.onChangeFieldModel(field_r2)); });
32902
33218
  i0.ɵɵelementEnd();
32903
33219
  } if (rf & 2) {
32904
33220
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32906,9 +33222,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Templa
32906
33222
  i0.ɵɵproperty("name", field_r2.property)("ngModel", ctx_r16.value[field_r2.property])("ngClass", field_r2.componentClass)("p-disabled", ctx_r16.isDisabled(field_r2))("p-auto-focus", field_r2.focus)("p-help", field_r2.help)("p-label", field_r2.label)("p-maxlength", field_r2.maxLength)("p-minlength", field_r2.minLength)("p-optional", field_r2.optional)("p-readonly", field_r2.readonly)("p-required", field_r2.required)("p-rows", field_r2.rows)("p-placeholder", field_r2.placeholder);
32907
33223
  } }
32908
33224
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template(rf, ctx) { if (rf & 1) {
32909
- const _r120 = i0.ɵɵgetCurrentView();
33225
+ const _r124 = i0.ɵɵgetCurrentView();
32910
33226
  i0.ɵɵelementStart(0, "po-password", 31, 19);
32911
- i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template_po_password_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r120); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r119 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r119.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template_po_password_p_change_0_listener() { i0.ɵɵrestoreView(_r120); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r122 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r122.onChangeField(field_r2)); })("p-change-model", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template_po_password_p_change_model_0_listener() { i0.ɵɵrestoreView(_r120); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r124 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r124.onChangeFieldModel(field_r2)); });
33227
+ i0.ɵɵlistener("ngModelChange", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template_po_password_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r124); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r123 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r123.value[field_r2.property] = $event)); })("p-change", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template_po_password_p_change_0_listener() { i0.ɵɵrestoreView(_r124); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r126 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r126.onChangeField(field_r2)); })("p-change-model", function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template_po_password_p_change_model_0_listener() { i0.ɵɵrestoreView(_r124); const field_r2 = i0.ɵɵnextContext().$implicit; const ctx_r128 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r128.onChangeFieldModel(field_r2)); });
32912
33228
  i0.ɵɵelementEnd();
32913
33229
  } if (rf & 2) {
32914
33230
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -33090,14 +33406,14 @@ PoDynamicFormFieldsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
33090
33406
  } if (rf & 2) {
33091
33407
  let _t;
33092
33408
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.components = _t);
33093
- } }, features: [i0.ɵɵProvidersFeature([PoDynamicFormValidationService], [{ provide: ControlContainer, useExisting: NgForm }]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "po-row", 4, "ngIf"], [1, "po-row"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-sm-12", 3, "p-label", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-format", "p-help", "p-iso-format", "p-label", "p-locale", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-literals", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-mask-format-model", "p-mask", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-required", "p-icon", "p-placeholder", "p-readonly", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-step", "p-readonly", "p-required", "p-icon", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-error-pattern", "p-disabled", "p-decimals-length", "p-thousand-maxlength", "p-icon", "p-auto-focus", "p-help", "p-label", "p-locale", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "p-placeholder", "p-readonly", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-columns", "p-auto-focus", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-label-off", "p-label-on", "p-label-position", "ngModelChange", "p-change", 4, "ngIf"], ["p-emit-object-value", "", 3, "name", "ngModel", "ngClass", "p-auto-focus", "p-clean", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-help", "p-infinite-scroll", "p-infinite-scroll-distance", "p-label", "p-literals", "p-options", "p-optional", "p-sort", "p-required", "p-icon", "p-placeholder", "p-filter-minlength", "p-filter-mode", "p-disabled-init-filter", "p-disabled-tab-filter", "p-debounce-time", "p-change-on-enter", "ngModelChange", "p-change", 4, "ngIf"], ["p-field-label", "label", "p-field-value", "value", 3, "name", "ngModel", "ngClass", "p-clean", "p-columns", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-auto-focus", "p-auto-height", "p-help", "p-field-format", "p-infinite-scroll", "p-label", "p-literals", "p-multiple", "p-no-autocomplete", "p-optional", "p-required", "p-placeholder", "p-advanced-filters", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-auto-height", "p-help", "p-label", "p-literals", "p-optional", "p-options", "p-required", "p-placeholder", "p-field-label", "p-field-value", "p-filter-service", "p-filter-mode", "p-debounce-time", "p-sort", "p-placeholder-search", "p-hide-search", "p-hide-select-all", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-maxlength", "p-minlength", "p-optional", "p-readonly", "p-required", "p-rows", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-hide-password-peek", "p-icon", "p-label", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [1, "po-sm-12", 3, "p-label"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-format", "p-help", "p-iso-format", "p-label", "p-locale", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change"], ["component", ""], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-literals", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-mask-format-model", "p-mask", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-required", "p-icon", "p-placeholder", "p-readonly", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-step", "p-readonly", "p-required", "p-icon", "p-placeholder", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-clean", "p-error-pattern", "p-disabled", "p-decimals-length", "p-thousand-maxlength", "p-icon", "p-auto-focus", "p-help", "p-label", "p-locale", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "p-placeholder", "p-readonly", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-columns", "p-auto-focus", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-label-off", "p-label-on", "p-label-position", "ngModelChange", "p-change"], ["p-emit-object-value", "", 3, "name", "ngModel", "ngClass", "p-auto-focus", "p-clean", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-help", "p-infinite-scroll", "p-infinite-scroll-distance", "p-label", "p-literals", "p-options", "p-optional", "p-sort", "p-required", "p-icon", "p-placeholder", "p-filter-minlength", "p-filter-mode", "p-disabled-init-filter", "p-disabled-tab-filter", "p-debounce-time", "p-change-on-enter", "ngModelChange", "p-change"], ["p-field-label", "label", "p-field-value", "value", 3, "name", "ngModel", "ngClass", "p-clean", "p-columns", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-auto-focus", "p-auto-height", "p-help", "p-field-format", "p-infinite-scroll", "p-label", "p-literals", "p-multiple", "p-no-autocomplete", "p-optional", "p-required", "p-placeholder", "p-advanced-filters", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-auto-height", "p-help", "p-label", "p-literals", "p-optional", "p-options", "p-required", "p-placeholder", "p-field-label", "p-field-value", "p-filter-service", "p-filter-mode", "p-debounce-time", "p-sort", "p-placeholder-search", "p-hide-search", "p-hide-select-all", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-maxlength", "p-minlength", "p-optional", "p-readonly", "p-required", "p-rows", "p-placeholder", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-hide-password-peek", "p-icon", "p-label", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model"]], template: function PoDynamicFormFieldsComponent_Template(rf, ctx) { if (rf & 1) {
33409
+ } }, features: [i0.ɵɵProvidersFeature([PoDynamicFormValidationService], [{ provide: ControlContainer, useExisting: NgForm }]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "po-row", 4, "ngIf"], [1, "po-row"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-sm-12", 3, "p-label", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-format", "p-help", "p-iso-format", "p-label", "p-locale", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-literals", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-mask-format-model", "p-mask", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-required", "p-icon", "p-placeholder", "p-readonly", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-step", "p-readonly", "p-required", "p-icon", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-error-pattern", "p-disabled", "p-decimals-length", "p-thousand-maxlength", "p-icon", "p-auto-focus", "p-help", "p-label", "p-locale", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "p-placeholder", "p-readonly", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-columns", "p-auto-focus", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-label-off", "p-label-on", "p-label-position", "ngModelChange", "p-change", 4, "ngIf"], ["p-emit-object-value", "", 3, "name", "ngModel", "ngClass", "p-auto-focus", "p-clean", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-help", "p-infinite-scroll", "p-infinite-scroll-distance", "p-label", "p-literals", "p-options", "p-optional", "p-sort", "p-required", "p-icon", "p-placeholder", "p-filter-minlength", "p-filter-mode", "p-disabled-init-filter", "p-disabled-tab-filter", "p-debounce-time", "p-change-on-enter", "ngModelChange", "p-change", 4, "ngIf"], ["p-field-label", "label", "p-field-value", "value", 3, "name", "ngModel", "ngClass", "p-clean", "p-columns", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-auto-focus", "p-auto-height", "p-help", "p-field-format", "p-infinite-scroll", "p-label", "p-literals", "p-multiple", "p-no-autocomplete", "p-optional", "p-required", "p-placeholder", "p-advanced-filters", "ngModelChange", "p-change", "p-change-visible-columns", "p-restore-column-manager", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-auto-height", "p-help", "p-label", "p-literals", "p-optional", "p-options", "p-required", "p-placeholder", "p-field-label", "p-field-value", "p-filter-service", "p-filter-mode", "p-debounce-time", "p-sort", "p-placeholder-search", "p-hide-search", "p-hide-select-all", "ngModelChange", "p-change", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-maxlength", "p-minlength", "p-optional", "p-readonly", "p-required", "p-rows", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-hide-password-peek", "p-icon", "p-label", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model", 4, "ngIf"], [1, "po-sm-12", 3, "p-label"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-format", "p-help", "p-iso-format", "p-label", "p-locale", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change"], ["component", ""], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-literals", "p-max-date", "p-min-date", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-mask-format-model", "p-mask", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-required", "p-icon", "p-placeholder", "p-readonly", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-label", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-step", "p-readonly", "p-required", "p-icon", "p-placeholder", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-clean", "p-error-pattern", "p-disabled", "p-decimals-length", "p-thousand-maxlength", "p-icon", "p-auto-focus", "p-help", "p-label", "p-locale", "p-min", "p-max", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "p-placeholder", "p-readonly", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-columns", "p-auto-focus", "p-disabled", "p-help", "p-label", "p-optional", "p-options", "p-required", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-help", "p-label", "p-label-off", "p-label-on", "p-label-position", "ngModelChange", "p-change"], ["p-emit-object-value", "", 3, "name", "ngModel", "ngClass", "p-auto-focus", "p-clean", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-help", "p-infinite-scroll", "p-infinite-scroll-distance", "p-label", "p-literals", "p-options", "p-optional", "p-sort", "p-required", "p-icon", "p-placeholder", "p-filter-minlength", "p-filter-mode", "p-disabled-init-filter", "p-disabled-tab-filter", "p-debounce-time", "p-change-on-enter", "ngModelChange", "p-change"], ["p-field-label", "label", "p-field-value", "value", 3, "name", "ngModel", "ngClass", "p-clean", "p-columns", "p-disabled", "p-field-label", "p-field-value", "p-filter-params", "p-filter-service", "p-auto-focus", "p-auto-height", "p-help", "p-field-format", "p-infinite-scroll", "p-label", "p-literals", "p-multiple", "p-no-autocomplete", "p-optional", "p-required", "p-placeholder", "p-advanced-filters", "ngModelChange", "p-change", "p-change-visible-columns", "p-restore-column-manager"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-auto-height", "p-help", "p-label", "p-literals", "p-optional", "p-options", "p-required", "p-placeholder", "p-field-label", "p-field-value", "p-filter-service", "p-filter-mode", "p-debounce-time", "p-sort", "p-placeholder-search", "p-hide-search", "p-hide-select-all", "ngModelChange", "p-change"], [3, "name", "ngModel", "ngClass", "p-disabled", "p-auto-focus", "p-help", "p-label", "p-maxlength", "p-minlength", "p-optional", "p-readonly", "p-required", "p-rows", "p-placeholder", "ngModelChange", "p-change", "p-change-model"], [3, "name", "ngModel", "ngClass", "p-clean", "p-disabled", "p-error-pattern", "p-auto-focus", "p-help", "p-hide-password-peek", "p-icon", "p-label", "p-maxlength", "p-minlength", "p-no-autocomplete", "p-optional", "p-pattern", "p-readonly", "p-required", "p-placeholder", "ngModelChange", "p-change", "p-change-model"]], template: function PoDynamicFormFieldsComponent_Template(rf, ctx) { if (rf & 1) {
33094
33410
  i0.ɵɵtemplate(0, PoDynamicFormFieldsComponent_div_0_Template, 2, 2, "div", 0);
33095
33411
  } if (rf & 2) {
33096
33412
  i0.ɵɵproperty("ngIf", ctx.visibleFields && ctx.visibleFields.length > 0);
33097
33413
  } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2$1.NgControlStatus, i2$1.NgModel, PoDividerComponent, PoCheckboxGroupComponent, PoDatepickerComponent, PoComboComponent, PoDecimalComponent, PoDatepickerRangeComponent, PoInputComponent, PoLookupComponent, PoMultiselectComponent, PoNumberComponent, PoPasswordComponent, PoRadioGroupComponent, PoSelectComponent, PoSwitchComponent, PoTextareaComponent], encapsulation: 2 });
33098
33414
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDynamicFormFieldsComponent, [{
33099
33415
  type: Component,
33100
- args: [{ selector: 'po-dynamic-form-fields', viewProviders: [{ provide: ControlContainer, useExisting: NgForm }], providers: [PoDynamicFormValidationService], template: "<div class=\"po-row\" *ngIf=\"visibleFields && visibleFields.length > 0\">\n <ng-container *ngFor=\"let field of visibleFields; trackBy: trackBy\">\n <po-divider *ngIf=\"field?.divider?.trim()\" class=\"po-sm-12\" [p-label]=\"field.divider\"> </po-divider>\n\n <po-datepicker\n #component\n *ngIf=\"compareTo(field.control, 'datepicker')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-format]=\"field.format\"\n [p-help]=\"field.help\"\n [p-iso-format]=\"field.isoFormat\"\n [p-label]=\"field.label\"\n [p-locale]=\"field.locale\"\n [p-max-date]=\"field.maxValue\"\n [p-min-date]=\"field.minValue\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-datepicker>\n\n <po-datepicker-range\n #component\n *ngIf=\"compareTo(field.control, 'datepickerrange')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-max-date]=\"field.maxValue\"\n [p-min-date]=\"field.minValue\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-datepicker-range>\n\n <po-input\n #component\n *ngIf=\"compareTo(field.control, 'input')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-mask-format-model]=\"field.maskFormatModel\"\n [p-mask]=\"field.mask\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-pattern]=\"field.pattern\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-icon]=\"field.icon\"\n [p-placeholder]=\"field.placeholder\"\n [p-readonly]=\"field.readonly\"\n >\n </po-input>\n\n <po-number\n #component\n *ngIf=\"compareTo(field.control, 'number')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-min]=\"field.minValue\"\n [p-max]=\"field.maxValue\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-step]=\"field.step\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-icon]=\"field.icon\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-number>\n\n <po-decimal\n #component\n *ngIf=\"compareTo(field.control, 'decimal')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-disabled]=\"isDisabled(field)\"\n [p-decimals-length]=\"field.decimalsLength\"\n [p-thousand-maxlength]=\"field.thousandMaxlength\"\n [p-icon]=\"field.icon\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-locale]=\"field.locale\"\n [p-min]=\"field.minValue\"\n [p-max]=\"field.maxValue\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-decimal>\n\n <po-select\n #component\n *ngIf=\"compareTo(field.control, 'select')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n [p-readonly]=\"field.readonly\"\n >\n </po-select>\n\n <po-radio-group\n #component\n *ngIf=\"compareTo(field.control, 'radioGroup')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-columns]=\"field.columns || 3\"\n [p-auto-focus]=\"field.focus\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-radio-group>\n\n <po-switch\n #component\n *ngIf=\"compareTo(field.control, 'switch')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-label-off]=\"field.booleanFalse\"\n [p-label-on]=\"field.booleanTrue\"\n [p-label-position]=\"field.labelPosition\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-switch>\n\n <po-combo\n #component\n *ngIf=\"compareTo(field.control, 'combo')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n p-emit-object-value\n [p-auto-focus]=\"field.focus\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-field-label]=\"field.fieldLabel\"\n [p-field-value]=\"field.fieldValue\"\n [p-filter-params]=\"field.params\"\n [p-filter-service]=\"field.optionsService\"\n [p-help]=\"field.help\"\n [p-infinite-scroll]=\"field.infiniteScroll\"\n [p-infinite-scroll-distance]=\"field.infiniteScrollDistance || 100\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-options]=\"field.options\"\n [p-optional]=\"field.optional\"\n [p-sort]=\"field.sort\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field, $event)\"\n [p-icon]=\"field.icon\"\n [p-placeholder]=\"field.placeholder\"\n [p-filter-minlength]=\"field.filterMinlength\"\n [p-filter-mode]=\"field.filterMode\"\n [p-disabled-init-filter]=\"field.disabledInitFilter\"\n [p-disabled-tab-filter]=\"field.disabledTabFilter\"\n [p-debounce-time]=\"field.debounceTime\"\n [p-change-on-enter]=\"field.changeOnEnter\"\n >\n </po-combo>\n\n <po-lookup\n #component\n *ngIf=\"compareTo(field.control, 'lookup')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n p-field-label=\"label\"\n p-field-value=\"value\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-columns]=\"field.columns\"\n [p-disabled]=\"isDisabled(field)\"\n [p-field-label]=\"field.fieldLabel || 'label'\"\n [p-field-value]=\"field.fieldValue || 'value'\"\n [p-filter-params]=\"field.params\"\n [p-filter-service]=\"field.searchService\"\n [p-auto-focus]=\"field.focus\"\n [p-auto-height]=\"field.autoHeight\"\n [p-help]=\"field.help\"\n [p-field-format]=\"field.format\"\n [p-infinite-scroll]=\"field.infiniteScroll\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-multiple]=\"field.multiple\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n [p-advanced-filters]=\"field.advancedFilters\"\n >\n </po-lookup>\n\n <po-checkbox-group\n #component\n *ngIf=\"compareTo(field.control, 'checkboxGroup')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-columns]=\"field.columns || 3\"\n [p-auto-focus]=\"field.focus\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-checkbox-group>\n\n <po-multiselect\n #component\n *ngIf=\"compareTo(field.control, 'multiselect')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-auto-focus]=\"field.focus\"\n [p-auto-height]=\"field.autoHeight\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n [p-field-label]=\"field.fieldLabel\"\n [p-field-value]=\"field.fieldValue\"\n [p-filter-service]=\"field.optionsService\"\n [p-filter-mode]=\"field.filterMode\"\n [p-debounce-time]=\"field.debounceTime\"\n [p-sort]=\"field.sort\"\n [p-placeholder-search]=\"field.placeholderSearch\"\n [p-hide-search]=\"field.hideSearch\"\n [p-hide-select-all]=\"field.hideSelectAll\"\n >\n </po-multiselect>\n\n <po-textarea\n #component\n *ngIf=\"compareTo(field.control, 'textarea')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n [p-rows]=\"field.rows\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-textarea>\n\n <po-password\n #component\n *ngIf=\"compareTo(field.control, 'password')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-hide-password-peek]=\"field.hidePasswordPeek\"\n [p-icon]=\"field.icon\"\n [p-label]=\"field.label\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-pattern]=\"field.pattern\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-password>\n </ng-container>\n</div>\n" }]
33416
+ args: [{ selector: 'po-dynamic-form-fields', viewProviders: [{ provide: ControlContainer, useExisting: NgForm }], providers: [PoDynamicFormValidationService], template: "<div class=\"po-row\" *ngIf=\"visibleFields && visibleFields.length > 0\">\n <ng-container *ngFor=\"let field of visibleFields; trackBy: trackBy\">\n <po-divider *ngIf=\"field?.divider?.trim()\" class=\"po-sm-12\" [p-label]=\"field.divider\"> </po-divider>\n\n <po-datepicker\n #component\n *ngIf=\"compareTo(field.control, 'datepicker')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-format]=\"field.format\"\n [p-help]=\"field.help\"\n [p-iso-format]=\"field.isoFormat\"\n [p-label]=\"field.label\"\n [p-locale]=\"field.locale\"\n [p-max-date]=\"field.maxValue\"\n [p-min-date]=\"field.minValue\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-datepicker>\n\n <po-datepicker-range\n #component\n *ngIf=\"compareTo(field.control, 'datepickerrange')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-max-date]=\"field.maxValue\"\n [p-min-date]=\"field.minValue\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-datepicker-range>\n\n <po-input\n #component\n *ngIf=\"compareTo(field.control, 'input')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-mask-format-model]=\"field.maskFormatModel\"\n [p-mask]=\"field.mask\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-pattern]=\"field.pattern\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-icon]=\"field.icon\"\n [p-placeholder]=\"field.placeholder\"\n [p-readonly]=\"field.readonly\"\n >\n </po-input>\n\n <po-number\n #component\n *ngIf=\"compareTo(field.control, 'number')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-min]=\"field.minValue\"\n [p-max]=\"field.maxValue\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-step]=\"field.step\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-icon]=\"field.icon\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-number>\n\n <po-decimal\n #component\n *ngIf=\"compareTo(field.control, 'decimal')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-disabled]=\"isDisabled(field)\"\n [p-decimals-length]=\"field.decimalsLength\"\n [p-thousand-maxlength]=\"field.thousandMaxlength\"\n [p-icon]=\"field.icon\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-locale]=\"field.locale\"\n [p-min]=\"field.minValue\"\n [p-max]=\"field.maxValue\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-decimal>\n\n <po-select\n #component\n *ngIf=\"compareTo(field.control, 'select')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n [p-readonly]=\"field.readonly\"\n >\n </po-select>\n\n <po-radio-group\n #component\n *ngIf=\"compareTo(field.control, 'radioGroup')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-columns]=\"field.columns || 3\"\n [p-auto-focus]=\"field.focus\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-radio-group>\n\n <po-switch\n #component\n *ngIf=\"compareTo(field.control, 'switch')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-label-off]=\"field.booleanFalse\"\n [p-label-on]=\"field.booleanTrue\"\n [p-label-position]=\"field.labelPosition\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-switch>\n\n <po-combo\n #component\n *ngIf=\"compareTo(field.control, 'combo')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n p-emit-object-value\n [p-auto-focus]=\"field.focus\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-field-label]=\"field.fieldLabel\"\n [p-field-value]=\"field.fieldValue\"\n [p-filter-params]=\"field.params\"\n [p-filter-service]=\"field.optionsService\"\n [p-help]=\"field.help\"\n [p-infinite-scroll]=\"field.infiniteScroll\"\n [p-infinite-scroll-distance]=\"field.infiniteScrollDistance || 100\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-options]=\"field.options\"\n [p-optional]=\"field.optional\"\n [p-sort]=\"field.sort\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field, $event)\"\n [p-icon]=\"field.icon\"\n [p-placeholder]=\"field.placeholder\"\n [p-filter-minlength]=\"field.filterMinlength\"\n [p-filter-mode]=\"field.filterMode\"\n [p-disabled-init-filter]=\"field.disabledInitFilter\"\n [p-disabled-tab-filter]=\"field.disabledTabFilter\"\n [p-debounce-time]=\"field.debounceTime\"\n [p-change-on-enter]=\"field.changeOnEnter\"\n >\n </po-combo>\n\n <po-lookup\n #component\n *ngIf=\"compareTo(field.control, 'lookup')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n p-field-label=\"label\"\n p-field-value=\"value\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-columns]=\"field.columns\"\n [p-disabled]=\"isDisabled(field)\"\n [p-field-label]=\"field.fieldLabel || 'label'\"\n [p-field-value]=\"field.fieldValue || 'value'\"\n [p-filter-params]=\"field.params\"\n [p-filter-service]=\"field.searchService\"\n [p-auto-focus]=\"field.focus\"\n [p-auto-height]=\"field.autoHeight\"\n [p-help]=\"field.help\"\n [p-field-format]=\"field.format\"\n [p-infinite-scroll]=\"field.infiniteScroll\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-multiple]=\"field.multiple\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n [p-advanced-filters]=\"field.advancedFilters\"\n (p-change-visible-columns)=\"field.changeVisibleColumns($event)\"\n (p-restore-column-manager)=\"field.columnRestoreManager($event)\"\n >\n </po-lookup>\n\n <po-checkbox-group\n #component\n *ngIf=\"compareTo(field.control, 'checkboxGroup')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-columns]=\"field.columns || 3\"\n [p-auto-focus]=\"field.focus\"\n [p-disabled]=\"isDisabled(field)\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n >\n </po-checkbox-group>\n\n <po-multiselect\n #component\n *ngIf=\"compareTo(field.control, 'multiselect')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-auto-focus]=\"field.focus\"\n [p-auto-height]=\"field.autoHeight\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-literals]=\"field.literals\"\n [p-optional]=\"field.optional\"\n [p-options]=\"field.options\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n [p-placeholder]=\"field.placeholder\"\n [p-field-label]=\"field.fieldLabel\"\n [p-field-value]=\"field.fieldValue\"\n [p-filter-service]=\"field.optionsService\"\n [p-filter-mode]=\"field.filterMode\"\n [p-debounce-time]=\"field.debounceTime\"\n [p-sort]=\"field.sort\"\n [p-placeholder-search]=\"field.placeholderSearch\"\n [p-hide-search]=\"field.hideSearch\"\n [p-hide-select-all]=\"field.hideSelectAll\"\n >\n </po-multiselect>\n\n <po-textarea\n #component\n *ngIf=\"compareTo(field.control, 'textarea')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-disabled]=\"isDisabled(field)\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-label]=\"field.label\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-optional]=\"field.optional\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n [p-rows]=\"field.rows\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-textarea>\n\n <po-password\n #component\n *ngIf=\"compareTo(field.control, 'password')\"\n [name]=\"field.property\"\n [(ngModel)]=\"value[field.property]\"\n [ngClass]=\"field.componentClass\"\n [p-clean]=\"field.clean\"\n [p-disabled]=\"isDisabled(field)\"\n [p-error-pattern]=\"field.errorMessage\"\n [p-auto-focus]=\"field.focus\"\n [p-help]=\"field.help\"\n [p-hide-password-peek]=\"field.hidePasswordPeek\"\n [p-icon]=\"field.icon\"\n [p-label]=\"field.label\"\n [p-maxlength]=\"field.maxLength\"\n [p-minlength]=\"field.minLength\"\n [p-no-autocomplete]=\"field.noAutocomplete\"\n [p-optional]=\"field.optional\"\n [p-pattern]=\"field.pattern\"\n [p-readonly]=\"field.readonly\"\n [p-required]=\"field.required\"\n (p-change)=\"onChangeField(field)\"\n (p-change-model)=\"onChangeFieldModel(field)\"\n [p-placeholder]=\"field.placeholder\"\n >\n </po-password>\n </ng-container>\n</div>\n" }]
33101
33417
  }], function () { return [{ type: i1.TitleCasePipe }, { type: PoDynamicFormValidationService }, { type: i0.ChangeDetectorRef }, { type: i2$1.NgForm }]; }, { components: [{
33102
33418
  type: ViewChildren,
33103
33419
  args: ['component']
@@ -35854,7 +36170,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
35854
36170
  } if (rf & 2) {
35855
36171
  let _t;
35856
36172
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPopupComponent = _t.first);
35857
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 13, consts: [["class", "po-list-view-main-header", 4, "ngIf"], [1, "po-list-view-main-content"], ["class", "po-list-view", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-mb-2 po-text-center", 4, "ngIf"], [3, "p-actions", "p-target"], ["popup", ""], [1, "po-list-view-main-header"], [1, "po-checkbox-group-item"], [1, "po-list-view-main-select"], ["name", "selectAll", 3, "ngModel", "p-label", "ngModelChange", "p-change", "click"], [1, "po-list-view"], [1, "po-list-view-container-no-data", "po-text-center"], [1, "po-list-view-container"], [1, "po-list-view-header"], [1, "po-list-view-title", 3, "ngSwitch"], ["class", "po-list-view-select", 4, "ngIf"], ["class", "po-list-view-title-link", "target", "_blank", 3, "href", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-link", 3, "routerLink", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-no-link", 3, "po-list-view-title-link", "click", 4, "ngSwitchCase"], ["class", "po-list-view-actions", 4, "ngIf"], ["class", "po-list-view-more-actions", 4, "ngIf"], ["class", "po-list-view-content", 4, "ngIf"], ["class", "po-list-view-detail", 4, "ngIf"], ["class", "po-list-view-detail-button", 4, "ngIf"], [1, "po-list-view-select"], ["name", "checkbox", 3, "ngModel", "ngModelChange", "p-change", "click"], ["target", "_blank", 1, "po-list-view-title-link", 3, "href", "click"], [1, "po-list-view-title-link", 3, "routerLink", "click"], [1, "po-list-view-title-no-link", 3, "click"], [1, "po-list-view-actions"], ["p-small", "true", 3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click", 4, "ngFor", "ngForOf"], ["p-small", "true", 3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click"], [1, "po-list-view-more-actions"], [1, "po-icon", "po-icon-more", "po-list-view-more-icon", "po-clickable", 3, "click"], ["popupTarget", ""], [1, "po-list-view-content"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "po-list-view-detail"], [1, "po-list-view-detail-button"], [1, "po-clickable", 3, "click"], [1, "po-mb-2", "po-text-center"], [3, "p-disabled", "p-label", "p-click"]], template: function PoListViewComponent_Template(rf, ctx) { if (rf & 1) {
36173
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 13, consts: [["class", "po-list-view-main-header", 4, "ngIf"], [1, "po-list-view-main-content"], ["class", "po-list-view", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-mb-2 po-text-center", 4, "ngIf"], [3, "p-actions", "p-target"], ["popup", ""], [1, "po-list-view-main-header"], [1, "po-checkbox-group-item"], [1, "po-list-view-main-select"], ["name", "selectAll", 3, "ngModel", "p-label", "ngModelChange", "p-change", "click"], [1, "po-list-view"], [1, "po-list-view-container-no-data", "po-text-center"], [1, "po-list-view-container"], [1, "po-list-view-header"], [1, "po-list-view-title", 3, "ngSwitch"], ["class", "po-list-view-select", 4, "ngIf"], ["class", "po-list-view-title-link", "target", "_blank", 3, "href", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-link", 3, "routerLink", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-no-link", 3, "po-list-view-title-link", "click", 4, "ngSwitchCase"], ["class", "po-list-view-actions", 4, "ngIf"], ["class", "po-list-view-more-actions", 4, "ngIf"], ["class", "po-list-view-content", 4, "ngIf"], ["class", "po-list-view-detail", 4, "ngIf"], ["class", "po-list-view-detail-button", 4, "ngIf"], [1, "po-list-view-select"], ["name", "checkbox", 3, "ngModel", "ngModelChange", "p-change", "click"], ["target", "_blank", 1, "po-list-view-title-link", 3, "href", "click"], [1, "po-list-view-title-link", 3, "routerLink", "click"], [1, "po-list-view-title-no-link", 3, "click"], [1, "po-list-view-actions"], [3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click", 4, "ngFor", "ngForOf"], [3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click"], [1, "po-list-view-more-actions"], [1, "po-icon", "po-icon-more", "po-list-view-more-icon", "po-clickable", 3, "click"], ["popupTarget", ""], [1, "po-list-view-content"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "po-list-view-detail"], [1, "po-list-view-detail-button"], [1, "po-clickable", 3, "click"], [1, "po-mb-2", "po-text-center"], [3, "p-disabled", "p-label", "p-click"]], template: function PoListViewComponent_Template(rf, ctx) { if (rf & 1) {
35858
36174
  i0.ɵɵelementStart(0, "div");
35859
36175
  i0.ɵɵtemplate(1, PoListViewComponent_div_1_Template, 4, 2, "div", 0);
35860
36176
  i0.ɵɵelementStart(2, "div", 1);
@@ -35893,7 +36209,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
35893
36209
  transition('* => void', [style({ height: '*', 'overflow-y': 'hidden' }), animate(100, style({ height: 0 }))]),
35894
36210
  transition('void => *', [style({ height: '0' }), animate(100, style({ height: '*' }))])
35895
36211
  ])
35896
- ], template: "<div\n [class.po-list-view-main-container-header]=\"showHeader\"\n [class.po-list-view-main-container]=\"!showHeader\"\n [style.height.px]=\"height\"\n>\n <div *ngIf=\"showHeader\" class=\"po-list-view-main-header\">\n <div class=\"po-checkbox-group-item\">\n <div class=\"po-list-view-main-select\">\n <po-checkbox\n name=\"selectAll\"\n [(ngModel)]=\"selectAll\"\n [p-label]=\"literals.selectAll\"\n (p-change)=\"selectAllListItems()\"\n (click)=\"selectAllListItems()\"\n ></po-checkbox>\n </div>\n </div>\n </div>\n\n <div class=\"po-list-view-main-content\">\n <div class=\"po-list-view\" *ngIf=\"!hasItems()\">\n <div class=\"po-list-view-container-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </div>\n </div>\n\n <ng-container *ngFor=\"let item of items; let index = index; trackBy: trackBy\">\n <div class=\"po-list-view\">\n <div class=\"po-list-view-container\">\n <div class=\"po-list-view-header\">\n <div class=\"po-list-view-title\" [ngSwitch]=\"checkTitleType(item)\">\n <div *ngIf=\"select\" class=\"po-list-view-select\">\n <po-checkbox\n [(ngModel)]=\"item.$selected\"\n name=\"checkbox\"\n (p-change)=\"selectListItem(item)\"\n (click)=\"selectListItem(item)\"\n ></po-checkbox>\n </div>\n <a\n *ngSwitchCase=\"'externalLink'\"\n class=\"po-list-view-title-link\"\n target=\"_blank\"\n [href]=\"item[propertyLink]\"\n (click)=\"runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </a>\n <a\n *ngSwitchCase=\"'internalLink'\"\n class=\"po-list-view-title-link\"\n [routerLink]=\"item[propertyLink]\"\n (click)=\"runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </a>\n <span\n *ngSwitchCase=\"'noLink'\"\n class=\"po-list-view-title-no-link\"\n [class.po-list-view-title-link]=\"titleHasAction\"\n (click)=\"titleHasAction && runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </span>\n </div>\n\n <div *ngIf=\"showButtonsActions\" class=\"po-list-view-actions\">\n <po-button\n *ngFor=\"let action of visibleActions\"\n p-small=\"true\"\n [p-disabled]=\"returnBooleanValue(action, item)\"\n [p-icon]=\"action.icon\"\n [p-label]=\"action.label\"\n [p-kind]=\"action.type\"\n (p-click)=\"onClickAction(action, item)\"\n >\n </po-button>\n </div>\n\n <div *ngIf=\"showPopupActions\" class=\"po-list-view-more-actions\">\n <span\n #popupTarget\n class=\"po-icon po-icon-more po-list-view-more-icon po-clickable\"\n (click)=\"togglePopup(item, popupTarget)\"\n >\n </span>\n </div>\n </div>\n\n <div *ngIf=\"hasContentTemplate\" class=\"po-list-view-content\">\n <ng-template\n [ngTemplateOutlet]=\"listViewContentTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-template>\n </div>\n\n <div @showHideDetail *ngIf=\"hasDetailTemplate && item.$showDetail\" class=\"po-list-view-detail\">\n <ng-template\n [ngTemplateOutlet]=\"listViewDetailTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-template>\n </div>\n </div>\n\n <div *ngIf=\"hasDetailTemplate\" class=\"po-list-view-detail-button\">\n <span class=\"po-clickable\" (click)=\"item.$showDetail = !item.$showDetail\">\n {{ item.$showDetail ? literals.hideDetails : literals.showDetails }}\n </span>\n </div>\n </div>\n </ng-container>\n </div>\n</div>\n\n<div *ngIf=\"displayShowMoreButton\" class=\"po-mb-2 po-text-center\">\n <po-button [p-disabled]=\"showMoreDisabled\" [p-label]=\"literals.loadMoreData\" (p-click)=\"onShowMore()\"> </po-button>\n</div>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n" }]
36212
+ ], template: "<div\n [class.po-list-view-main-container-header]=\"showHeader\"\n [class.po-list-view-main-container]=\"!showHeader\"\n [style.height.px]=\"height\"\n>\n <div *ngIf=\"showHeader\" class=\"po-list-view-main-header\">\n <div class=\"po-checkbox-group-item\">\n <div class=\"po-list-view-main-select\">\n <po-checkbox\n name=\"selectAll\"\n [(ngModel)]=\"selectAll\"\n [p-label]=\"literals.selectAll\"\n (p-change)=\"selectAllListItems()\"\n (click)=\"selectAllListItems()\"\n ></po-checkbox>\n </div>\n </div>\n </div>\n\n <div class=\"po-list-view-main-content\">\n <div class=\"po-list-view\" *ngIf=\"!hasItems()\">\n <div class=\"po-list-view-container-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </div>\n </div>\n\n <ng-container *ngFor=\"let item of items; let index = index; trackBy: trackBy\">\n <div class=\"po-list-view\">\n <div class=\"po-list-view-container\">\n <div class=\"po-list-view-header\">\n <div class=\"po-list-view-title\" [ngSwitch]=\"checkTitleType(item)\">\n <div *ngIf=\"select\" class=\"po-list-view-select\">\n <po-checkbox\n [(ngModel)]=\"item.$selected\"\n name=\"checkbox\"\n (p-change)=\"selectListItem(item)\"\n (click)=\"selectListItem(item)\"\n ></po-checkbox>\n </div>\n <a\n *ngSwitchCase=\"'externalLink'\"\n class=\"po-list-view-title-link\"\n target=\"_blank\"\n [href]=\"item[propertyLink]\"\n (click)=\"runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </a>\n <a\n *ngSwitchCase=\"'internalLink'\"\n class=\"po-list-view-title-link\"\n [routerLink]=\"item[propertyLink]\"\n (click)=\"runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </a>\n <span\n *ngSwitchCase=\"'noLink'\"\n class=\"po-list-view-title-no-link\"\n [class.po-list-view-title-link]=\"titleHasAction\"\n (click)=\"titleHasAction && runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </span>\n </div>\n\n <div *ngIf=\"showButtonsActions\" class=\"po-list-view-actions\">\n <po-button\n *ngFor=\"let action of visibleActions\"\n [p-disabled]=\"returnBooleanValue(action, item)\"\n [p-icon]=\"action.icon\"\n [p-label]=\"action.label\"\n [p-kind]=\"action.type\"\n (p-click)=\"onClickAction(action, item)\"\n >\n </po-button>\n </div>\n\n <div *ngIf=\"showPopupActions\" class=\"po-list-view-more-actions\">\n <span\n #popupTarget\n class=\"po-icon po-icon-more po-list-view-more-icon po-clickable\"\n (click)=\"togglePopup(item, popupTarget)\"\n >\n </span>\n </div>\n </div>\n\n <div *ngIf=\"hasContentTemplate\" class=\"po-list-view-content\">\n <ng-template\n [ngTemplateOutlet]=\"listViewContentTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-template>\n </div>\n\n <div @showHideDetail *ngIf=\"hasDetailTemplate && item.$showDetail\" class=\"po-list-view-detail\">\n <ng-template\n [ngTemplateOutlet]=\"listViewDetailTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-template>\n </div>\n </div>\n\n <div *ngIf=\"hasDetailTemplate\" class=\"po-list-view-detail-button\">\n <span class=\"po-clickable\" (click)=\"item.$showDetail = !item.$showDetail\">\n {{ item.$showDetail ? literals.hideDetails : literals.showDetails }}\n </span>\n </div>\n </div>\n </ng-container>\n </div>\n</div>\n\n<div *ngIf=\"displayShowMoreButton\" class=\"po-mb-2 po-text-center\">\n <po-button [p-disabled]=\"showMoreDisabled\" [p-label]=\"literals.loadMoreData\" (p-click)=\"onShowMore()\"> </po-button>\n</div>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n" }]
35897
36213
  }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.IterableDiffers }, { type: PoLanguageService }]; }, { listViewContentTemplate: [{
35898
36214
  type: ContentChild,
35899
36215
  args: [PoListViewContentTemplateDirective, { static: true }]
@@ -43816,6 +44132,7 @@ class PoWidgetBaseComponent {
43816
44132
  */
43817
44133
  this.titleAction = new EventEmitter();
43818
44134
  this.containerHeight = 'auto';
44135
+ this.id = uuid();
43819
44136
  this._disabled = false;
43820
44137
  this._noShadow = false;
43821
44138
  this._primary = false;
@@ -44020,17 +44337,23 @@ function PoWidgetComponent_div_1_div_4_span_1_Template(rf, ctx) { if (rf & 1) {
44020
44337
  i0.ɵɵelementStart(0, "span", 13);
44021
44338
  i0.ɵɵlistener("click", function PoWidgetComponent_div_1_div_4_span_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r10.settingOutput($event)); });
44022
44339
  i0.ɵɵelementEnd();
44340
+ } if (rf & 2) {
44341
+ const ctx_r8 = i0.ɵɵnextContext(3);
44342
+ i0.ɵɵpropertyInterpolate1("id", "settingAction-", ctx_r8.id, "");
44023
44343
  } }
44024
44344
  function PoWidgetComponent_div_1_div_4_span_2_Template(rf, ctx) { if (rf & 1) {
44025
44345
  const _r13 = i0.ɵɵgetCurrentView();
44026
44346
  i0.ɵɵelementStart(0, "span", 14);
44027
44347
  i0.ɵɵlistener("click", function PoWidgetComponent_div_1_div_4_span_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r12.openHelp($event)); });
44028
44348
  i0.ɵɵelementEnd();
44349
+ } if (rf & 2) {
44350
+ const ctx_r9 = i0.ɵɵnextContext(3);
44351
+ i0.ɵɵpropertyInterpolate1("id", "helpLink-", ctx_r9.id, "");
44029
44352
  } }
44030
44353
  function PoWidgetComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
44031
44354
  i0.ɵɵelementStart(0, "div", 10);
44032
- i0.ɵɵtemplate(1, PoWidgetComponent_div_1_div_4_span_1_Template, 1, 0, "span", 11);
44033
- i0.ɵɵtemplate(2, PoWidgetComponent_div_1_div_4_span_2_Template, 1, 0, "span", 12);
44355
+ i0.ɵɵtemplate(1, PoWidgetComponent_div_1_div_4_span_1_Template, 1, 1, "span", 11);
44356
+ i0.ɵɵtemplate(2, PoWidgetComponent_div_1_div_4_span_2_Template, 1, 1, "span", 12);
44034
44357
  i0.ɵɵelementEnd();
44035
44358
  } if (rf & 2) {
44036
44359
  const ctx_r5 = i0.ɵɵnextContext(2);
@@ -44061,7 +44384,9 @@ function PoWidgetComponent_div_5_div_1_Template(rf, ctx) { if (rf & 1) {
44061
44384
  i0.ɵɵelementEnd()();
44062
44385
  } if (rf & 2) {
44063
44386
  const ctx_r14 = i0.ɵɵnextContext(2);
44064
- i0.ɵɵadvance(2);
44387
+ i0.ɵɵadvance(1);
44388
+ i0.ɵɵpropertyInterpolate1("id", "primaryAct-", ctx_r14.id, "");
44389
+ i0.ɵɵadvance(1);
44065
44390
  i0.ɵɵtextInterpolate(ctx_r14.primaryLabel);
44066
44391
  } }
44067
44392
  function PoWidgetComponent_div_5_div_2_Template(rf, ctx) { if (rf & 1) {
@@ -44072,25 +44397,29 @@ function PoWidgetComponent_div_5_div_2_Template(rf, ctx) { if (rf & 1) {
44072
44397
  i0.ɵɵelementEnd()();
44073
44398
  } if (rf & 2) {
44074
44399
  const ctx_r15 = i0.ɵɵnextContext(2);
44075
- i0.ɵɵadvance(2);
44400
+ i0.ɵɵadvance(1);
44401
+ i0.ɵɵpropertyInterpolate1("id", "primaryAct-", ctx_r15.id, "");
44402
+ i0.ɵɵadvance(1);
44076
44403
  i0.ɵɵtextInterpolate(ctx_r15.primaryLabel);
44077
44404
  } }
44078
44405
  function PoWidgetComponent_div_5_div_3_Template(rf, ctx) { if (rf & 1) {
44079
44406
  const _r22 = i0.ɵɵgetCurrentView();
44080
- i0.ɵɵelementStart(0, "div", 20)(1, "a", 21);
44407
+ i0.ɵɵelementStart(0, "div", 20)(1, "a", 19);
44081
44408
  i0.ɵɵlistener("click", function PoWidgetComponent_div_5_div_3_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r21.runSecondaryAction($event)); });
44082
44409
  i0.ɵɵtext(2);
44083
44410
  i0.ɵɵelementEnd()();
44084
44411
  } if (rf & 2) {
44085
44412
  const ctx_r16 = i0.ɵɵnextContext(2);
44086
- i0.ɵɵadvance(2);
44413
+ i0.ɵɵadvance(1);
44414
+ i0.ɵɵpropertyInterpolate1("id", "secondaryAct-", ctx_r16.id, "");
44415
+ i0.ɵɵadvance(1);
44087
44416
  i0.ɵɵtextInterpolate(ctx_r16.secondaryLabel);
44088
44417
  } }
44089
44418
  function PoWidgetComponent_div_5_Template(rf, ctx) { if (rf & 1) {
44090
44419
  i0.ɵɵelementStart(0, "div", 15);
44091
- i0.ɵɵtemplate(1, PoWidgetComponent_div_5_div_1_Template, 3, 1, "div", 16);
44092
- i0.ɵɵtemplate(2, PoWidgetComponent_div_5_div_2_Template, 3, 1, "div", 17);
44093
- i0.ɵɵtemplate(3, PoWidgetComponent_div_5_div_3_Template, 3, 1, "div", 17);
44420
+ i0.ɵɵtemplate(1, PoWidgetComponent_div_5_div_1_Template, 3, 2, "div", 16);
44421
+ i0.ɵɵtemplate(2, PoWidgetComponent_div_5_div_2_Template, 3, 2, "div", 17);
44422
+ i0.ɵɵtemplate(3, PoWidgetComponent_div_5_div_3_Template, 3, 2, "div", 17);
44094
44423
  i0.ɵɵelementEnd();
44095
44424
  } if (rf & 2) {
44096
44425
  const ctx_r1 = i0.ɵɵnextContext();
@@ -44205,7 +44534,7 @@ class PoWidgetComponent extends PoWidgetBaseComponent {
44205
44534
  }
44206
44535
  }
44207
44536
  PoWidgetComponent.ɵfac = function PoWidgetComponent_Factory(t) { return new (t || PoWidgetComponent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
44208
- PoWidgetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoWidgetComponent, selectors: [["po-widget"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1, decls: 6, vars: 15, consts: [[3, "click"], ["class", "po-widget-header", 4, "ngIf"], ["p-no-border", "", 3, "p-height"], [1, "po-widget-body"], ["class", "po-widget-footer", 4, "ngIf"], [1, "po-widget-header"], ["class", "po-widget-title-action", 3, "click", 4, "ngIf", "ngIfElse"], ["noTitleAction", ""], ["class", "po-pull-right", 4, "ngIf"], [1, "po-widget-title-action", 3, "click"], [1, "po-pull-right"], ["id", "settingAction", "class", "po-clickable po-icon po-icon-settings", 3, "click", 4, "ngIf"], ["id", "helpLink", "class", "po-clickable po-icon po-icon-help", 3, "click", 4, "ngIf"], ["id", "settingAction", 1, "po-clickable", "po-icon", "po-icon-settings", 3, "click"], ["id", "helpLink", 1, "po-clickable", "po-icon", "po-icon-help", 3, "click"], [1, "po-widget-footer"], ["class", "po-widget-xl", 4, "ngIf"], ["class", "po-widget-md", 4, "ngIf"], [1, "po-widget-xl"], ["id", "primaryAct", 1, "po-widget-action", 3, "click"], [1, "po-widget-md"], ["id", "secondaryAct", 1, "po-widget-action", 3, "click"]], template: function PoWidgetComponent_Template(rf, ctx) { if (rf & 1) {
44537
+ PoWidgetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoWidgetComponent, selectors: [["po-widget"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1, decls: 6, vars: 15, consts: [[3, "click"], ["class", "po-widget-header", 4, "ngIf"], ["p-no-border", "", 3, "p-height"], [1, "po-widget-body"], ["class", "po-widget-footer", 4, "ngIf"], [1, "po-widget-header"], ["class", "po-widget-title-action", 3, "click", 4, "ngIf", "ngIfElse"], ["noTitleAction", ""], ["class", "po-pull-right", 4, "ngIf"], [1, "po-widget-title-action", 3, "click"], [1, "po-pull-right"], ["class", "po-clickable po-icon po-icon-settings", 3, "id", "click", 4, "ngIf"], ["class", "po-clickable po-icon po-icon-help", 3, "id", "click", 4, "ngIf"], [1, "po-clickable", "po-icon", "po-icon-settings", 3, "id", "click"], [1, "po-clickable", "po-icon", "po-icon-help", 3, "id", "click"], [1, "po-widget-footer"], ["class", "po-widget-xl", 4, "ngIf"], ["class", "po-widget-md", 4, "ngIf"], [1, "po-widget-xl"], [1, "po-widget-action", 3, "id", "click"], [1, "po-widget-md"]], template: function PoWidgetComponent_Template(rf, ctx) { if (rf & 1) {
44209
44538
  i0.ɵɵprojectionDef();
44210
44539
  i0.ɵɵelementStart(0, "div", 0);
44211
44540
  i0.ɵɵlistener("click", function PoWidgetComponent_Template_div_click_0_listener($event) { return ctx.onClick($event); });
@@ -44227,7 +44556,7 @@ PoWidgetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoWidgetC
44227
44556
  } }, dependencies: [i1.NgIf, PoContainerComponent], encapsulation: 2 });
44228
44557
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoWidgetComponent, [{
44229
44558
  type: Component,
44230
- args: [{ selector: 'po-widget', template: "<div\n [class.po-clickable]=\"click.observers.length\"\n [class.po-widget]=\"!primary\"\n [class.po-widget-disabled]=\"disabled\"\n [class.po-widget-primary]=\"primary\"\n [class.po-widget-no-shadow]=\"noShadow\"\n [style.background-image]=\"background ? 'url(' + background + ')' : undefined\"\n (click)=\"onClick($event)\"\n>\n <div *ngIf=\"hasTitleHelpOrSetting()\" class=\"po-widget-header\">\n <span *ngIf=\"showTitleAction; else noTitleAction\" class=\"po-widget-title-action\" (click)=\"runTitleAction($event)\">\n {{ title }}\n </span>\n <ng-template #noTitleAction>{{ title }}</ng-template>\n\n <div *ngIf=\"setting.observers[0] || help\" class=\"po-pull-right\">\n <span\n id=\"settingAction\"\n *ngIf=\"setting.observers[0]\"\n class=\"po-clickable po-icon po-icon-settings\"\n (click)=\"settingOutput($event)\"\n >\n </span>\n <span id=\"helpLink\" *ngIf=\"help\" class=\"po-clickable po-icon po-icon-help\" (click)=\"openHelp($event)\"> </span>\n </div>\n </div>\n\n <po-container p-no-border [p-height]=\"containerHeight\">\n <div class=\"po-widget-body\">\n <ng-content></ng-content>\n </div>\n </po-container>\n\n <div *ngIf=\"primaryLabel\" class=\"po-widget-footer\">\n <div class=\"po-widget-xl\" *ngIf=\"!secondaryLabel\">\n <a class=\"po-widget-action\" id=\"primaryAct\" (click)=\"runPrimaryAction($event)\">{{ primaryLabel }}</a>\n </div>\n\n <div class=\"po-widget-md\" *ngIf=\"secondaryLabel\">\n <a class=\"po-widget-action\" id=\"primaryAct\" (click)=\"runPrimaryAction($event)\">{{ primaryLabel }}</a>\n </div>\n <div class=\"po-widget-md\" *ngIf=\"secondaryLabel\">\n <a class=\"po-widget-action\" id=\"secondaryAct\" (click)=\"runSecondaryAction($event)\">{{ secondaryLabel }}</a>\n </div>\n </div>\n</div>\n" }]
44559
+ args: [{ selector: 'po-widget', template: "<div\n [class.po-clickable]=\"click.observers.length\"\n [class.po-widget]=\"!primary\"\n [class.po-widget-disabled]=\"disabled\"\n [class.po-widget-primary]=\"primary\"\n [class.po-widget-no-shadow]=\"noShadow\"\n [style.background-image]=\"background ? 'url(' + background + ')' : undefined\"\n (click)=\"onClick($event)\"\n>\n <div *ngIf=\"hasTitleHelpOrSetting()\" class=\"po-widget-header\">\n <span *ngIf=\"showTitleAction; else noTitleAction\" class=\"po-widget-title-action\" (click)=\"runTitleAction($event)\">\n {{ title }}\n </span>\n <ng-template #noTitleAction>{{ title }}</ng-template>\n\n <div *ngIf=\"setting.observers[0] || help\" class=\"po-pull-right\">\n <span\n id=\"settingAction-{{ id }}\"\n *ngIf=\"setting.observers[0]\"\n class=\"po-clickable po-icon po-icon-settings\"\n (click)=\"settingOutput($event)\"\n >\n </span>\n <span id=\"helpLink-{{ id }}\" *ngIf=\"help\" class=\"po-clickable po-icon po-icon-help\" (click)=\"openHelp($event)\">\n </span>\n </div>\n </div>\n\n <po-container p-no-border [p-height]=\"containerHeight\">\n <div class=\"po-widget-body\">\n <ng-content></ng-content>\n </div>\n </po-container>\n\n <div *ngIf=\"primaryLabel\" class=\"po-widget-footer\">\n <div class=\"po-widget-xl\" *ngIf=\"!secondaryLabel\">\n <a class=\"po-widget-action\" id=\"primaryAct-{{ id }}\" (click)=\"runPrimaryAction($event)\">{{ primaryLabel }}</a>\n </div>\n\n <div class=\"po-widget-md\" *ngIf=\"secondaryLabel\">\n <a class=\"po-widget-action\" id=\"primaryAct-{{ id }}\" (click)=\"runPrimaryAction($event)\">{{ primaryLabel }}</a>\n </div>\n <div class=\"po-widget-md\" *ngIf=\"secondaryLabel\">\n <a class=\"po-widget-action\" id=\"secondaryAct-{{ id }}\" (click)=\"runSecondaryAction($event)\">{{\n secondaryLabel\n }}</a>\n </div>\n </div>\n</div>\n" }]
44231
44560
  }], function () { return [{ type: i0.ViewContainerRef }]; }, null); })();
44232
44561
 
44233
44562
  /**