@po-ui/ng-components 14.2.0 → 14.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) 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.component.mjs +2 -1
  15. package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.mjs +25 -2
  16. package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.mjs +5 -5
  17. package/esm2020/lib/components/po-field/po-lookup/po-lookup-base.component.mjs +28 -2
  18. package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.mjs +28 -2
  19. package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.mjs +4 -4
  20. package/esm2020/lib/components/po-field/po-lookup/po-lookup.component.mjs +5 -3
  21. package/esm2020/lib/components/po-field/po-lookup/services/po-lookup-modal.service.mjs +6 -2
  22. package/esm2020/lib/components/po-field/po-multiselect/po-multiselect.component.mjs +2 -2
  23. package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.mjs +9 -9
  24. package/esm2020/lib/components/po-field/po-select/po-select.component.mjs +90 -25
  25. package/esm2020/lib/components/po-field/po-upload/po-upload-base.service.mjs +4 -2
  26. package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +3 -3
  27. package/esm2020/lib/components/po-table/po-table-base.component.mjs +21 -2
  28. package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +3 -3
  29. package/esm2020/lib/components/po-table/po-table.component.mjs +512 -476
  30. package/esm2020/lib/components/po-widget/po-widget-base.component.mjs +3 -2
  31. package/esm2020/lib/components/po-widget/po-widget.component.mjs +24 -12
  32. package/esm2020/lib/utils/util.mjs +20 -1
  33. package/fesm2015/po-ui-ng-components.mjs +1287 -935
  34. package/fesm2015/po-ui-ng-components.mjs.map +1 -1
  35. package/fesm2020/po-ui-ng-components.mjs +1265 -920
  36. package/fesm2020/po-ui-ng-components.mjs.map +1 -1
  37. package/lib/components/po-button/po-button-base.component.d.ts +29 -4
  38. package/lib/components/po-button/po-button-size.enum.d.ts +4 -0
  39. package/lib/components/po-button-group/po-button-group-base.component.d.ts +7 -0
  40. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.d.ts +18 -0
  41. package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +2 -1
  42. package/lib/components/po-field/po-checkbox-group/po-checkbox-group.module.d.ts +2 -1
  43. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +27 -22
  44. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +13 -1
  45. package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +21 -1
  46. package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +21 -1
  47. package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +4 -0
  48. package/lib/components/po-field/po-select/po-select.component.d.ts +36 -7
  49. package/lib/components/po-table/po-table-base.component.d.ts +12 -1
  50. package/lib/components/po-table/po-table.component.d.ts +7 -0
  51. package/lib/components/po-widget/po-widget-base.component.d.ts +1 -0
  52. package/lib/utils/util.d.ts +2 -0
  53. package/package.json +4 -4
  54. package/po-ui-ng-components-14.3.1.tgz +0 -0
  55. package/schematics/ng-add/index.js +1 -1
  56. package/schematics/ng-update/v14/index.js +1 -1
  57. package/schematics/ng-update/v2/index.js +1 -1
  58. package/schematics/ng-update/v3/index.js +1 -1
  59. package/schematics/ng-update/v4/index.js +1 -1
  60. package/schematics/ng-update/v5/index.js +1 -1
  61. package/schematics/ng-update/v6/index.js +1 -1
  62. package/po-ui-ng-components-14.2.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']
@@ -1018,6 +1020,17 @@ function removeDuplicatedOptions(list) {
1018
1020
  }
1019
1021
  }
1020
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
+ }
1021
1034
  function removeUndefinedAndNullOptions(list) {
1022
1035
  for (let i = 0; i < list.length; i++) {
1023
1036
  if (list[i].value === undefined || list[i].value === null) {
@@ -1026,6 +1039,14 @@ function removeUndefinedAndNullOptions(list) {
1026
1039
  }
1027
1040
  }
1028
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
+ }
1029
1050
  function validValue(value) {
1030
1051
  return (value !== null && value !== undefined && value !== '') || value === false;
1031
1052
  }
@@ -2314,6 +2335,12 @@ var PoButtonKind;
2314
2335
  PoButtonKind["danger"] = "danger";
2315
2336
  })(PoButtonKind || (PoButtonKind = {}));
2316
2337
 
2338
+ var PoButtonSize;
2339
+ (function (PoButtonSize) {
2340
+ PoButtonSize["medium"] = "medium";
2341
+ PoButtonSize["large"] = "large";
2342
+ })(PoButtonSize || (PoButtonSize = {}));
2343
+
2317
2344
  /**
2318
2345
  * @description
2319
2346
  *
@@ -2341,8 +2368,10 @@ class PoButtonBaseComponent {
2341
2368
  this._danger = false;
2342
2369
  this._disabled = false;
2343
2370
  this._loading = false;
2344
- this._small = false;
2345
2371
  this._kind = PoButtonKind.secondary;
2372
+ this._size = PoButtonSize.medium;
2373
+ this._small = false;
2374
+ this.hasSize = false;
2346
2375
  }
2347
2376
  /**
2348
2377
  * @optional
@@ -2362,16 +2391,26 @@ class PoButtonBaseComponent {
2362
2391
  return this._loading;
2363
2392
  }
2364
2393
  /**
2394
+ * @deprecated 16.x.x
2395
+ *
2365
2396
  * @optional
2366
2397
  *
2367
2398
  * @description
2368
2399
  *
2369
- * 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.
2370
2406
  *
2371
2407
  * @default `false`
2372
2408
  */
2373
2409
  set small(value) {
2374
- this._small = value === '' ? true : convertToBoolean(value);
2410
+ this._small = !this.hasSize ? value : false;
2411
+ if (this._small) {
2412
+ this._size = 'small';
2413
+ }
2375
2414
  }
2376
2415
  get small() {
2377
2416
  return this._small;
@@ -2416,6 +2455,34 @@ class PoButtonBaseComponent {
2416
2455
  get danger() {
2417
2456
  return this._danger;
2418
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
+ }
2419
2486
  /**
2420
2487
  * @optional
2421
2488
  *
@@ -2423,7 +2490,7 @@ class PoButtonBaseComponent {
2423
2490
  *
2424
2491
  * Define o estilo do `po-button`.
2425
2492
  *
2426
- * Valore válidos:
2493
+ * Valores válidos:
2427
2494
  * - `primary`: deixa o `po-button` com destaque, deve ser usado para ações primárias.
2428
2495
  * - `secondary`: estilo padrão do `po-button`.
2429
2496
  * - `tertiary`: o `po-button` é exibido sem cor do fundo, recebendo menos destaque entre as ações.
@@ -2453,9 +2520,12 @@ class PoButtonBaseComponent {
2453
2520
  }
2454
2521
  }
2455
2522
  PoButtonBaseComponent.ɵfac = function PoButtonBaseComponent_Factory(t) { return new (t || PoButtonBaseComponent)(); };
2456
- PoButtonBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoButtonBaseComponent, hostVars: 2, hostBindings: function PoButtonBaseComponent_HostBindings(rf, ctx) { if (rf & 2) {
2457
- i0.ɵɵattribute("p-danger", ctx.danger)("p-kind", ctx.kind);
2458
- } }, 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);
2459
2529
  __decorate([
2460
2530
  InputBoolean()
2461
2531
  ], PoButtonBaseComponent.prototype, "danger", null);
@@ -2485,6 +2555,12 @@ __decorate([
2485
2555
  }, {
2486
2556
  type: Input,
2487
2557
  args: ['p-danger']
2558
+ }], size: [{
2559
+ type: HostBinding,
2560
+ args: ['attr.p-size']
2561
+ }, {
2562
+ type: Input,
2563
+ args: ['p-size']
2488
2564
  }], kind: [{
2489
2565
  type: HostBinding,
2490
2566
  args: ['attr.p-kind']
@@ -2574,7 +2650,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2574
2650
  } if (rf & 2) {
2575
2651
  let _t;
2576
2652
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonElement = _t.first);
2577
- } }, 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) {
2578
2654
  i0.ɵɵelementStart(0, "button", 0, 1);
2579
2655
  i0.ɵɵlistener("click", function PoButtonComponent_Template_button_click_0_listener() { return ctx.onClick(); });
2580
2656
  i0.ɵɵtemplate(2, PoButtonComponent_div_2_Template, 2, 0, "div", 2);
@@ -2584,7 +2660,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2584
2660
  } if (rf & 2) {
2585
2661
  i0.ɵɵclassProp("po-button-sm", ctx.small);
2586
2662
  i0.ɵɵproperty("disabled", ctx.disabled || ctx.loading);
2587
- 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);
2588
2664
  i0.ɵɵadvance(2);
2589
2665
  i0.ɵɵproperty("ngIf", ctx.loading);
2590
2666
  i0.ɵɵadvance(1);
@@ -2594,7 +2670,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2594
2670
  } }, dependencies: [i1.NgIf, PoLoadingIconComponent, PoIconComponent], encapsulation: 2, changeDetection: 0 });
2595
2671
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoButtonComponent, [{
2596
2672
  type: Component,
2597
- 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" }]
2598
2674
  }], null, { buttonElement: [{
2599
2675
  type: ViewChild,
2600
2676
  args: ['button', { static: true }]
@@ -3353,10 +3429,17 @@ class PoButtonGroupBaseComponent {
3353
3429
  this._toggle = PO_TOGGLE_TYPE_DEFAULT;
3354
3430
  }
3355
3431
  /**
3432
+ * @deprecated 16.x.x
3433
+ *
3356
3434
  * @optional
3357
3435
  *
3358
3436
  * @description
3359
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
+ *
3360
3443
  * Torna o grupo de botões com tamanho minificado.
3361
3444
  *
3362
3445
  * @default `false`
@@ -9876,14 +9959,291 @@ __decorate([
9876
9959
  args: ['p-required']
9877
9960
  }] }); })();
9878
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
+
9879
10114
  const _c0$12 = ["checkboxLabel"];
9880
- 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) {
9881
10244
  const _r4 = i0.ɵɵgetCurrentView();
9882
- i0.ɵɵelementStart(0, "div");
9883
- i0.ɵɵelement(1, "input", 4);
9884
- i0.ɵɵelementStart(2, "label", 5, 6);
9885
- 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)); });
9886
- 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)); });
9887
10247
  i0.ɵɵelementEnd()();
9888
10248
  } if (rf & 2) {
9889
10249
  const option_r1 = ctx.$implicit;
@@ -9891,13 +10251,7 @@ function PoCheckboxGroupComponent_div_3_Template(rf, ctx) { if (rf & 1) {
9891
10251
  i0.ɵɵclassMapInterpolate2("po-checkbox-group-item po-md-", ctx_r0.mdColumns, " po-lg-", ctx_r0.columns, "");
9892
10252
  i0.ɵɵclassProp("po-checkbox-group-item-disabled", option_r1.disabled || ctx_r0.disabled);
9893
10253
  i0.ɵɵadvance(1);
9894
- 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);
9895
- 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);
9896
- i0.ɵɵadvance(1);
9897
- i0.ɵɵclassProp("po-clickable", !option_r1.disabled && !ctx_r0.disabled);
9898
- i0.ɵɵproperty("for", option_r1.id)("tabindex", option_r1.disabled || ctx_r0.disabled ? -1 : 0);
9899
- i0.ɵɵadvance(2);
9900
- 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);
9901
10255
  } }
9902
10256
  /**
9903
10257
  * @docsExtends PoCheckboxGroupBaseComponent
@@ -9970,7 +10324,7 @@ class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent {
9970
10324
  }
9971
10325
  PoCheckboxGroupComponent.ɵfac = function PoCheckboxGroupComponent_Factory(t) { return new (t || PoCheckboxGroupComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
9972
10326
  PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxGroupComponent, selectors: [["po-checkbox-group"]], viewQuery: function PoCheckboxGroupComponent_Query(rf, ctx) { if (rf & 1) {
9973
- i0.ɵɵviewQuery(_c0$12, 5);
10327
+ i0.ɵɵviewQuery(_c0$11, 5);
9974
10328
  } if (rf & 2) {
9975
10329
  let _t;
9976
10330
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabels = _t);
@@ -9985,17 +10339,19 @@ PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
9985
10339
  useExisting: forwardRef(() => PoCheckboxGroupComponent),
9986
10340
  multi: true
9987
10341
  }
9988
- ]), 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) {
9989
- i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1)(2, "div", 2);
9990
- 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);
9991
10345
  i0.ɵɵelementEnd()();
9992
10346
  i0.ɵɵelement(4, "po-field-container-bottom");
9993
10347
  i0.ɵɵelementEnd();
9994
10348
  } if (rf & 2) {
9995
10349
  i0.ɵɵproperty("p-help", ctx.help)("p-label", ctx.label)("p-optional", !ctx.required && ctx.optional);
9996
- i0.ɵɵadvance(3);
10350
+ i0.ɵɵadvance(1);
10351
+ i0.ɵɵattribute("aria-label", ctx.label);
10352
+ i0.ɵɵadvance(2);
9997
10353
  i0.ɵɵproperty("ngForOf", ctx.checkboxGroupOptionsView)("ngForTrackBy", ctx.trackByFn);
9998
- } }, dependencies: [i1.NgForOf, PoFieldContainerBottomComponent, PoFieldContainerComponent], encapsulation: 2, changeDetection: 0 });
10354
+ } }, dependencies: [i1.NgForOf, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoCheckboxComponent], encapsulation: 2, changeDetection: 0 });
9999
10355
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxGroupComponent, [{
10000
10356
  type: Component,
10001
10357
  args: [{ selector: 'po-checkbox-group', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
@@ -10009,12 +10365,27 @@ PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
10009
10365
  useExisting: forwardRef(() => PoCheckboxGroupComponent),
10010
10366
  multi: true
10011
10367
  }
10012
- ], 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" }]
10013
10369
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { checkboxLabels: [{
10014
10370
  type: ViewChildren,
10015
10371
  args: ['checkboxLabel']
10016
10372
  }] }); })();
10017
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
+
10018
10389
  /**
10019
10390
  * @description
10020
10391
  *
@@ -10024,16 +10395,16 @@ class PoCheckboxGroupModule {
10024
10395
  }
10025
10396
  PoCheckboxGroupModule.ɵfac = function PoCheckboxGroupModule_Factory(t) { return new (t || PoCheckboxGroupModule)(); };
10026
10397
  PoCheckboxGroupModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoCheckboxGroupModule });
10027
- PoCheckboxGroupModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule, PoFieldContainerModule] });
10398
+ PoCheckboxGroupModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule, PoFieldContainerModule, PoCheckboxModule] });
10028
10399
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxGroupModule, [{
10029
10400
  type: NgModule,
10030
10401
  args: [{
10031
- imports: [CommonModule, FormsModule, PoFieldContainerModule],
10402
+ imports: [CommonModule, FormsModule, PoFieldContainerModule, PoCheckboxModule],
10032
10403
  exports: [PoCheckboxGroupComponent],
10033
10404
  declarations: [PoCheckboxGroupComponent]
10034
10405
  }]
10035
10406
  }], null, null); })();
10036
- (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] }); })();
10037
10408
 
10038
10409
  /**
10039
10410
  * @docsPrivate
@@ -11038,7 +11409,7 @@ __decorate([
11038
11409
  args: ['p-locale']
11039
11410
  }] }); })();
11040
11411
 
11041
- const _c0$11 = ["calendar"];
11412
+ const _c0$10 = ["calendar"];
11042
11413
  const _c1$u = ["dialogPicker"];
11043
11414
  const _c2$d = ["iconDatepicker"];
11044
11415
  const _c3$7 = ["inp"];
@@ -11176,6 +11547,7 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
11176
11547
  }
11177
11548
  }
11178
11549
  dateSelected() {
11550
+ this.onTouchedModel?.();
11179
11551
  if (!this.verifyMobile()) {
11180
11552
  this.inputEl.nativeElement.focus();
11181
11553
  }
@@ -11357,7 +11729,7 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
11357
11729
  }
11358
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)); };
11359
11731
  PoDatepickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerComponent, selectors: [["po-datepicker"]], viewQuery: function PoDatepickerComponent_Query(rf, ctx) { if (rf & 1) {
11360
- i0.ɵɵviewQuery(_c0$11, 7);
11732
+ i0.ɵɵviewQuery(_c0$10, 7);
11361
11733
  i0.ɵɵviewQuery(_c1$u, 7, ElementRef);
11362
11734
  i0.ɵɵviewQuery(_c2$d, 7, ElementRef);
11363
11735
  i0.ɵɵviewQuery(_c3$7, 7, ElementRef);
@@ -11621,7 +11993,7 @@ PoModalBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoModa
11621
11993
  args: ['p-hide-close']
11622
11994
  }] }); })();
11623
11995
 
11624
- const _c0$10 = ["*"];
11996
+ const _c0$$ = ["*"];
11625
11997
  /**
11626
11998
  * @description
11627
11999
  *
@@ -11655,7 +12027,7 @@ class PoModalFooterComponent {
11655
12027
  }
11656
12028
  }
11657
12029
  PoModalFooterComponent.ɵfac = function PoModalFooterComponent_Factory(t) { return new (t || PoModalFooterComponent)(); };
11658
- 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) {
11659
12031
  i0.ɵɵprojectionDef();
11660
12032
  i0.ɵɵelementStart(0, "div", 0);
11661
12033
  i0.ɵɵprojection(1);
@@ -11685,7 +12057,7 @@ PoActiveOverlayService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: P
11685
12057
  }]
11686
12058
  }], null, null); })();
11687
12059
 
11688
- const _c0$$ = ["modalContent"];
12060
+ const _c0$_ = ["modalContent"];
11689
12061
  function PoModalComponent_div_0_a_9_Template(rf, ctx) { if (rf & 1) {
11690
12062
  const _r7 = i0.ɵɵgetCurrentView();
11691
12063
  i0.ɵɵelementStart(0, "a", 13);
@@ -11849,7 +12221,7 @@ PoModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalCom
11849
12221
  let _t;
11850
12222
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalFooter = _t.first);
11851
12223
  } }, viewQuery: function PoModalComponent_Query(rf, ctx) { if (rf & 1) {
11852
- i0.ɵɵviewQuery(_c0$$, 5, ElementRef);
12224
+ i0.ɵɵviewQuery(_c0$_, 5, ElementRef);
11853
12225
  } if (rf & 2) {
11854
12226
  let _t;
11855
12227
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
@@ -12659,7 +13031,7 @@ var PoToasterType;
12659
13031
  PoToasterType[PoToasterType["Warning"] = 3] = "Warning";
12660
13032
  })(PoToasterType || (PoToasterType = {}));
12661
13033
 
12662
- const _c0$_ = ["toaster"];
13034
+ const _c0$Z = ["toaster"];
12663
13035
  const _c1$s = ["buttonClose"];
12664
13036
  function PoToasterComponent_po_button_8_Template(rf, ctx) { if (rf & 1) {
12665
13037
  const _r4 = i0.ɵɵgetCurrentView();
@@ -12795,7 +13167,7 @@ class PoToasterComponent extends PoToasterBaseComponent {
12795
13167
  }
12796
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)); };
12797
13169
  PoToasterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoToasterComponent, selectors: [["po-toaster"]], viewQuery: function PoToasterComponent_Query(rf, ctx) { if (rf & 1) {
12798
- i0.ɵɵviewQuery(_c0$_, 5);
13170
+ i0.ɵɵviewQuery(_c0$Z, 5);
12799
13171
  i0.ɵɵviewQuery(_c1$s, 5);
12800
13172
  } if (rf & 2) {
12801
13173
  let _t;
@@ -13037,7 +13409,7 @@ PoPopoverBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPo
13037
13409
  args: ['p-trigger']
13038
13410
  }] }); })();
13039
13411
 
13040
- const _c0$Z = ["popoverElement"];
13412
+ const _c0$Y = ["popoverElement"];
13041
13413
  function PoPopoverComponent_div_2_Template(rf, ctx) { if (rf & 1) {
13042
13414
  i0.ɵɵelement(0, "div");
13043
13415
  } if (rf & 2) {
@@ -13176,7 +13548,7 @@ class PoPopoverComponent extends PoPopoverBaseComponent {
13176
13548
  }
13177
13549
  PoPopoverComponent.ɵfac = function PoPopoverComponent_Factory(t) { return new (t || PoPopoverComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoControlPositionService)); };
13178
13550
  PoPopoverComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopoverComponent, selectors: [["po-popover"]], viewQuery: function PoPopoverComponent_Query(rf, ctx) { if (rf & 1) {
13179
- i0.ɵɵviewQuery(_c0$Z, 7, ElementRef);
13551
+ i0.ɵɵviewQuery(_c0$Y, 7, ElementRef);
13180
13552
  } if (rf & 2) {
13181
13553
  let _t;
13182
13554
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverElement = _t.first);
@@ -13300,281 +13672,6 @@ PoTimeModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
13300
13672
  }], null, null); })();
13301
13673
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoTimeModule, { declarations: [PoTimePipe], exports: [PoTimePipe] }); })();
13302
13674
 
13303
- /**
13304
- * @docsPrivate
13305
- *
13306
- * @description
13307
- *
13308
- * Enum que contém os valores numéricos dos *keyCodes*.
13309
- */
13310
- var PoKeyCodeEnum;
13311
- (function (PoKeyCodeEnum) {
13312
- /** Seta para baixo */
13313
- PoKeyCodeEnum[PoKeyCodeEnum["arrowDown"] = 40] = "arrowDown";
13314
- /** Seta para cima */
13315
- PoKeyCodeEnum[PoKeyCodeEnum["arrowUp"] = 38] = "arrowUp";
13316
- /** Backspace */
13317
- PoKeyCodeEnum[PoKeyCodeEnum["backspace"] = 8] = "backspace";
13318
- /** Delete */
13319
- PoKeyCodeEnum[PoKeyCodeEnum["delete"] = 46] = "delete";
13320
- /** Enter */
13321
- PoKeyCodeEnum[PoKeyCodeEnum["enter"] = 13] = "enter";
13322
- /** Esc */
13323
- PoKeyCodeEnum[PoKeyCodeEnum["esc"] = 27] = "esc";
13324
- /** Tecla K */
13325
- PoKeyCodeEnum[PoKeyCodeEnum["keyK"] = 75] = "keyK";
13326
- /** Tecla L */
13327
- PoKeyCodeEnum[PoKeyCodeEnum["keyL"] = 76] = "keyL";
13328
- /** Espaço */
13329
- PoKeyCodeEnum[PoKeyCodeEnum["space"] = 32] = "space";
13330
- /** Tab */
13331
- PoKeyCodeEnum[PoKeyCodeEnum["tab"] = 9] = "tab";
13332
- })(PoKeyCodeEnum || (PoKeyCodeEnum = {}));
13333
-
13334
- /**
13335
- * @description
13336
- *
13337
- * 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
13338
- * no *click* do *mouse* quanto por meio da tecla *space* quando estiver com foco.
13339
- *
13340
- * Cada opção poderá receber um estado de marcado, desmarcado, indeterminado/mixed e desabilitado, como também uma ação que será disparada quando
13341
- * ocorrer mudanças do valor.
13342
- *
13343
- * > O *model* deste componente aceitará valores igual à `true`, `false` ou `null` para quando for indeterminado/mixed.
13344
- *
13345
- * **Acessibilidade tratada no componente:**
13346
- *
13347
- * 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:
13348
- *
13349
- * - 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)
13350
- * - 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)
13351
- * - 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)
13352
- */
13353
- class PoCheckboxBaseComponent {
13354
- constructor() {
13355
- /**
13356
- * @optional
13357
- *
13358
- * @description
13359
- *
13360
- * Aplica foco no elemento ao ser iniciado.
13361
- *
13362
- * > Caso mais de um elemento seja configurado com essa propriedade, apenas o último elemento declarado com ela terá o foco.
13363
- *
13364
- * @default `false`
13365
- */
13366
- this.autoFocus = false;
13367
- /**
13368
- * @optional
13369
- *
13370
- * @description
13371
- *
13372
- * Evento disparado quando o valor do *checkbox* for alterado.
13373
- */
13374
- this.change = new EventEmitter();
13375
- this.id = uuid();
13376
- this._disabled = false;
13377
- }
13378
- /**
13379
- * @optional
13380
- *
13381
- * @description
13382
- *
13383
- * Define o estado do *checkbox* como desabilitado.
13384
- *
13385
- * @default `false`
13386
- */
13387
- set disabled(value) {
13388
- this._disabled = convertToBoolean(value);
13389
- }
13390
- get disabled() {
13391
- return this._disabled;
13392
- }
13393
- changeValue() {
13394
- if (this.propagateChange) {
13395
- this.propagateChange(this.checkboxValue);
13396
- }
13397
- this.change.emit(this.checkboxValue);
13398
- }
13399
- checkOption(value) {
13400
- if (!this.disabled) {
13401
- value === 'mixed' ? this.changeModelValue(true) : this.changeModelValue(!value);
13402
- this.changeValue();
13403
- }
13404
- }
13405
- // Função implementada do ControlValueAccessor
13406
- // Usada para interceptar os estados de habilitado via forms api
13407
- setDisabledState(isDisabled) {
13408
- this.disabled = isDisabled;
13409
- }
13410
- registerOnChange(fn) {
13411
- this.propagateChange = fn;
13412
- }
13413
- registerOnTouched(fn) {
13414
- this.onTouched = fn;
13415
- }
13416
- writeValue(value) {
13417
- if (value !== this.checkboxValue) {
13418
- this.changeModelValue(value);
13419
- }
13420
- }
13421
- }
13422
- PoCheckboxBaseComponent.ɵfac = function PoCheckboxBaseComponent_Factory(t) { return new (t || PoCheckboxBaseComponent)(); };
13423
- 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" } });
13424
- __decorate([
13425
- InputBoolean()
13426
- ], PoCheckboxBaseComponent.prototype, "autoFocus", void 0);
13427
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxBaseComponent, [{
13428
- type: Directive
13429
- }], null, { name: [{
13430
- type: Input,
13431
- args: ['name']
13432
- }], autoFocus: [{
13433
- type: Input,
13434
- args: ['p-auto-focus']
13435
- }], label: [{
13436
- type: Input,
13437
- args: ['p-label']
13438
- }], change: [{
13439
- type: Output,
13440
- args: ['p-change']
13441
- }], disabled: [{
13442
- type: Input,
13443
- args: ['p-disabled']
13444
- }] }); })();
13445
-
13446
- const _c0$Y = ["checkboxLabel"];
13447
- /**
13448
- * @docsExtends PoCheckboxBaseComponent
13449
- *
13450
- * @example
13451
- *
13452
- * <example name="po-checkbox-basic" title="PO Checkbox Basic">
13453
- * <file name="sample-po-checkbox-basic/sample-po-checkbox-basic.component.html"> </file>
13454
- * <file name="sample-po-checkbox-basic/sample-po-checkbox-basic.component.ts"> </file>
13455
- * </example>
13456
- *
13457
- * <example name="po-checkbox-labs" title="PO Checkbox Labs">
13458
- * <file name="sample-po-checkbox-labs/sample-po-checkbox-labs.component.html"> </file>
13459
- * <file name="sample-po-checkbox-labs/sample-po-checkbox-labs.component.ts"> </file>
13460
- * </example>
13461
- *
13462
- * <example name="po-checkbox-acceptance-term" title="PO Checkbox - Acceptance Term">
13463
- * <file name="sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.html"> </file>
13464
- * <file name="sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts"> </file>
13465
- * </example>
13466
- */
13467
- class PoCheckboxComponent extends PoCheckboxBaseComponent {
13468
- constructor(changeDetector) {
13469
- super();
13470
- this.changeDetector = changeDetector;
13471
- }
13472
- /**
13473
- * Função que atribui foco ao *checkbox*.
13474
- *
13475
- * Para utilizá-la é necessário capturar a referência do componente no DOM através do `ViewChild`, como por exemplo:
13476
- *
13477
- * ```
13478
- * ...
13479
- * import { ViewChild } from '@angular/core';
13480
- * import { PoCheckboxComponent } from '@po-ui/ng-components';
13481
- *
13482
- * ...
13483
- *
13484
- * @ViewChild(PoCheckboxComponent, { static: true }) checkbox: PoCheckboxComponent;
13485
- *
13486
- * focusCheckbox() {
13487
- * this.checkbox.focus();
13488
- * }
13489
- * ```
13490
- */
13491
- focus() {
13492
- if (this.checkboxLabel && !this.disabled) {
13493
- this.checkboxLabel.nativeElement.focus();
13494
- }
13495
- }
13496
- onBlur() {
13497
- this.onTouched?.();
13498
- }
13499
- ngAfterViewInit() {
13500
- if (this.autoFocus) {
13501
- this.focus();
13502
- }
13503
- }
13504
- onKeyDown(event, value) {
13505
- if (event.which === PoKeyCodeEnum.space || event.keyCode === PoKeyCodeEnum.space) {
13506
- this.checkOption(value);
13507
- event.preventDefault();
13508
- }
13509
- }
13510
- changeModelValue(value) {
13511
- if (value === null) {
13512
- this.checkboxValue = 'mixed';
13513
- }
13514
- else {
13515
- this.checkboxValue = typeof value === 'boolean' || value === null ? value : false;
13516
- }
13517
- this.changeDetector.detectChanges();
13518
- }
13519
- }
13520
- PoCheckboxComponent.ɵfac = function PoCheckboxComponent_Factory(t) { return new (t || PoCheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
13521
- PoCheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxComponent, selectors: [["po-checkbox"]], viewQuery: function PoCheckboxComponent_Query(rf, ctx) { if (rf & 1) {
13522
- i0.ɵɵviewQuery(_c0$Y, 7);
13523
- } if (rf & 2) {
13524
- let _t;
13525
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabel = _t.first);
13526
- } }, features: [i0.ɵɵProvidersFeature([
13527
- {
13528
- provide: NG_VALUE_ACCESSOR,
13529
- useExisting: forwardRef(() => PoCheckboxComponent),
13530
- multi: true
13531
- }
13532
- ]), 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) {
13533
- i0.ɵɵelementStart(0, "div", 0);
13534
- 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); });
13535
- i0.ɵɵelement(1, "span", 1);
13536
- i0.ɵɵelementStart(2, "label", 2, 3);
13537
- i0.ɵɵtext(4);
13538
- i0.ɵɵelementEnd()();
13539
- } if (rf & 2) {
13540
- i0.ɵɵattribute("checked", ctx.checkboxValue);
13541
- i0.ɵɵadvance(1);
13542
- i0.ɵɵproperty("id", ctx.id)("tabindex", ctx.disabled ? -1 : 0);
13543
- i0.ɵɵattribute("aria-checked", ctx.checkboxValue)("aria-label", ctx.label)("aria-disabled", ctx.disabled);
13544
- i0.ɵɵadvance(1);
13545
- i0.ɵɵproperty("for", ctx.id);
13546
- i0.ɵɵadvance(2);
13547
- i0.ɵɵtextInterpolate1(" ", ctx.label, " ");
13548
- } }, encapsulation: 2, changeDetection: 0 });
13549
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxComponent, [{
13550
- type: Component,
13551
- args: [{ selector: 'po-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
13552
- {
13553
- provide: NG_VALUE_ACCESSOR,
13554
- useExisting: forwardRef(() => PoCheckboxComponent),
13555
- multi: true
13556
- }
13557
- ], 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" }]
13558
- }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { checkboxLabel: [{
13559
- type: ViewChild,
13560
- args: ['checkboxLabel', { static: true }]
13561
- }] }); })();
13562
-
13563
- class PoCheckboxModule {
13564
- }
13565
- PoCheckboxModule.ɵfac = function PoCheckboxModule_Factory(t) { return new (t || PoCheckboxModule)(); };
13566
- PoCheckboxModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoCheckboxModule });
13567
- PoCheckboxModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule] });
13568
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoCheckboxModule, [{
13569
- type: NgModule,
13570
- args: [{
13571
- declarations: [PoCheckboxComponent],
13572
- imports: [CommonModule, FormsModule],
13573
- exports: [PoCheckboxComponent]
13574
- }]
13575
- }], null, null); })();
13576
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoCheckboxModule, { declarations: [PoCheckboxComponent], imports: [CommonModule, FormsModule], exports: [PoCheckboxComponent] }); })();
13577
-
13578
13675
  const _c0$X = function (a0, a1) { return { "po-clickable": a0, "po-table-icon-disabled": a1 }; };
13579
13676
  /**
13580
13677
  * @docsPrivate
@@ -14203,14 +14300,14 @@ PoTableColumnManagerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
14203
14300
  } if (rf & 2) {
14204
14301
  let _t;
14205
14302
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popover = _t.first);
14206
- } }, 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) {
14207
14304
  i0.ɵɵtemplate(0, PoTableColumnManagerComponent_po_popover_0_Template, 13, 6, "po-popover", 0);
14208
14305
  } if (rf & 2) {
14209
14306
  i0.ɵɵproperty("ngIf", ctx.target);
14210
14307
  } }, dependencies: [i1.NgForOf, i1.NgIf, i2$1.NgControlStatus, i2$1.NgModel, PoButtonComponent, PoCheckboxGroupComponent, PoPopoverComponent, PoTooltipDirective], encapsulation: 2 });
14211
14308
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableColumnManagerComponent, [{
14212
14309
  type: Component,
14213
- 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" }]
14214
14311
  }], function () { return [{ type: i0.Renderer2 }, { type: PoLanguageService }]; }, { popover: [{
14215
14312
  type: ViewChild,
14216
14313
  args: [PoPopoverComponent]
@@ -14438,6 +14535,16 @@ class PoTableBaseComponent {
14438
14535
  * > Esta definição não se aplica aos itens filhos, os mesmos possuem comportamento independente do item pai.
14439
14536
  */
14440
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;
14441
14548
  /**
14442
14549
  * @optional
14443
14550
  *
@@ -14894,6 +15001,9 @@ class PoTableBaseComponent {
14894
15001
  this.emitSelectEvents(row);
14895
15002
  this.configAfterSelectRow(this.items, row);
14896
15003
  }
15004
+ hasSelectableRow() {
15005
+ return this.selectable && this.selectableEntireLine;
15006
+ }
14897
15007
  selectDetailRow(row) {
14898
15008
  this.emitSelectEvents(row);
14899
15009
  }
@@ -15091,7 +15201,7 @@ class PoTableBaseComponent {
15091
15201
  }
15092
15202
  }
15093
15203
  PoTableBaseComponent.ɵfac = function PoTableBaseComponent_Factory(t) { return new (t || PoTableBaseComponent)(i0.ɵɵdirectiveInject(PoDateService), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(PoTableService)); };
15094
- 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] });
15095
15205
  __decorate([
15096
15206
  InputBoolean()
15097
15207
  ], PoTableBaseComponent.prototype, "hideTextOverflow", void 0);
@@ -15119,6 +15229,9 @@ __decorate([
15119
15229
  __decorate([
15120
15230
  InputBoolean()
15121
15231
  ], PoTableBaseComponent.prototype, "singleSelect", void 0);
15232
+ __decorate([
15233
+ InputBoolean()
15234
+ ], PoTableBaseComponent.prototype, "selectableEntireLine", void 0);
15122
15235
  __decorate([
15123
15236
  InputBoolean()
15124
15237
  ], PoTableBaseComponent.prototype, "actionRight", void 0);
@@ -15151,6 +15264,9 @@ __decorate([
15151
15264
  }], singleSelect: [{
15152
15265
  type: Input,
15153
15266
  args: ['p-single-select']
15267
+ }], selectableEntireLine: [{
15268
+ type: Input,
15269
+ args: ['p-selectable-entire-line']
15154
15270
  }], actionRight: [{
15155
15271
  type: Input,
15156
15272
  args: ['p-actions-right']
@@ -15995,17 +16111,21 @@ PoTableSubtitleFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
15995
16111
  }] }); })();
15996
16112
 
15997
16113
  const _c0$W = ["noColumnsHeader"];
15998
- const _c1$q = ["popup"];
15999
- const _c2$b = ["tableFooter"];
16000
- const _c3$6 = ["tableWrapper"];
16001
- const _c4$4 = ["poTableTbody"];
16002
- const _c5$2 = ["poTableThead"];
16003
- const _c6$2 = ["poTableTbodyVirtual"];
16004
- const _c7$1 = ["columnManager"];
16005
- const _c8$1 = ["columnActionLeft"];
16006
- const _c9 = ["columnManagerTarget"];
16007
- const _c10 = ["actionsIconElement"];
16008
- 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"];
16009
16129
  function PoTableComponent_po_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16010
16130
  i0.ɵɵelementContainer(0);
16011
16131
  } }
@@ -16162,27 +16282,27 @@ function PoTableComponent_ng_template_4_th_6_Template(rf, ctx) { if (rf & 1) {
16162
16282
  i0.ɵɵadvance(2);
16163
16283
  i0.ɵɵproperty("ngIf", ctx_r45.height)("ngIfThen", _r19)("ngIfElse", _r21);
16164
16284
  } }
16165
- 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) {
16166
16286
  i0.ɵɵelementContainer(0);
16167
16287
  } }
16168
- const _c12 = function (a0) { return { $implicit: a0 }; };
16288
+ const _c16 = function (a0) { return { $implicit: a0 }; };
16169
16289
  function PoTableComponent_ng_template_4_th_7_Template(rf, ctx) { if (rf & 1) {
16170
- const _r63 = i0.ɵɵgetCurrentView();
16171
- i0.ɵɵelementStart(0, "th", 54, 55);
16172
- 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)); });
16173
- i0.ɵɵelementStart(2, "div", 56);
16174
- 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);
16175
16295
  i0.ɵɵelementEnd()();
16176
16296
  } if (rf & 2) {
16177
16297
  const column_r58 = ctx.$implicit;
16178
16298
  const ctx_r46 = i0.ɵɵnextContext(2);
16179
16299
  const _r17 = i0.ɵɵreference(19);
16180
- 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);
16181
16301
  i0.ɵɵclassProp("po-clickable", ctx_r46.sort && column_r58.sortable !== false || ctx_r46.hasService)("po-table-header-subtitle", column_r58.type === "subtitle");
16182
- i0.ɵɵadvance(2);
16302
+ i0.ɵɵadvance(1);
16183
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");
16184
16304
  i0.ɵɵadvance(1);
16185
- i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c12, column_r58));
16305
+ i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c16, column_r58));
16186
16306
  } }
16187
16307
  function PoTableComponent_ng_template_4_th_8_Template(rf, ctx) { if (rf & 1) {
16188
16308
  i0.ɵɵelement(0, "th", 50);
@@ -16194,16 +16314,16 @@ function PoTableComponent_ng_template_4_th_9_Template(rf, ctx) { if (rf & 1) {
16194
16314
  i0.ɵɵclassProp("po-table-header-single-action", ctx_r48.isSingleAction && !ctx_r48.hideColumnsManager)("po-table-header-actions", !ctx_r48.isSingleAction);
16195
16315
  } }
16196
16316
  function PoTableComponent_ng_template_4_th_10_Template(rf, ctx) { if (rf & 1) {
16197
- const _r67 = i0.ɵɵgetCurrentView();
16198
- i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
16199
- 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()); });
16200
16320
  i0.ɵɵelementEnd()()();
16201
16321
  } if (rf & 2) {
16202
- const _r64 = i0.ɵɵreference(1);
16322
+ const _r63 = i0.ɵɵreference(1);
16203
16323
  const ctx_r49 = i0.ɵɵnextContext(2);
16204
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);
16205
16325
  i0.ɵɵadvance(2);
16206
- 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");
16207
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);
16208
16328
  i0.ɵɵadvance(1);
16209
16329
  i0.ɵɵproperty("p-tooltip", ctx_r49.literals.columnsManager);
@@ -16215,7 +16335,7 @@ function PoTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
16215
16335
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_th_4_Template, 1, 0, "th", 41);
16216
16336
  i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_th_5_Template, 2, 4, "th", 42);
16217
16337
  i0.ɵɵtemplate(6, PoTableComponent_ng_template_4_th_6_Template, 3, 3, "th", 43);
16218
- 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);
16219
16339
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_th_8_Template, 1, 0, "th", 41);
16220
16340
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_4_th_9_Template, 1, 4, "th", 45);
16221
16341
  i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_th_10_Template, 5, 14, "th", 46);
@@ -16243,114 +16363,114 @@ function PoTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
16243
16363
  i0.ɵɵproperty("ngIf", ctx_r5.hasValidColumns && !ctx_r5.hideColumnsManager);
16244
16364
  } }
16245
16365
  function PoTableComponent_ng_template_6_tbody_3_Template(rf, ctx) { if (rf & 1) {
16246
- 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");
16247
16367
  i0.ɵɵtext(4);
16248
16368
  i0.ɵɵelementEnd()()()();
16249
16369
  } if (rf & 2) {
16250
- const ctx_r69 = i0.ɵɵnextContext(2);
16370
+ const ctx_r68 = i0.ɵɵnextContext(2);
16251
16371
  i0.ɵɵadvance(2);
16252
- i0.ɵɵproperty("colSpan", ctx_r69.columnCount);
16372
+ i0.ɵɵproperty("colSpan", ctx_r68.columnCount);
16253
16373
  i0.ɵɵadvance(2);
16254
- i0.ɵɵtextInterpolate1(" ", ctx_r69.literals.noData, " ");
16374
+ i0.ɵɵtextInterpolate1(" ", ctx_r68.literals.noData, " ");
16255
16375
  } }
16256
16376
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16257
16377
  i0.ɵɵelementContainer(0);
16258
16378
  } }
16259
16379
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
16260
16380
  i0.ɵɵelementStart(0, "td", 47);
16261
- 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);
16262
16382
  i0.ɵɵelementEnd();
16263
16383
  } if (rf & 2) {
16264
- const row_r72 = i0.ɵɵnextContext().$implicit;
16265
- const ctx_r74 = i0.ɵɵnextContext(3);
16384
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16385
+ const ctx_r73 = i0.ɵɵnextContext(3);
16266
16386
  const _r13 = i0.ɵɵreference(15);
16267
16387
  const _r15 = i0.ɵɵreference(17);
16268
16388
  i0.ɵɵadvance(1);
16269
- 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));
16270
16390
  } }
16271
16391
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
16272
- const _c13 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
16392
+ const _c17 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
16273
16393
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
16274
- const _r90 = i0.ɵɵgetCurrentView();
16275
- i0.ɵɵelementStart(0, "td", 72);
16276
- 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)); });
16277
- 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);
16278
16398
  i0.ɵɵelementEnd();
16279
16399
  } if (rf & 2) {
16280
- const ctx_r91 = i0.ɵɵnextContext();
16281
- const row_r72 = ctx_r91.$implicit;
16282
- 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;
16283
16403
  i0.ɵɵnextContext(3);
16284
16404
  const _r11 = i0.ɵɵreference(13);
16285
16405
  i0.ɵɵadvance(1);
16286
- 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));
16287
16407
  } }
16288
16408
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template(rf, ctx) { }
16289
16409
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
16290
- 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);
16291
16411
  } if (rf & 2) {
16292
- const ctx_r93 = i0.ɵɵnextContext();
16293
- const row_r72 = ctx_r93.$implicit;
16294
- 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;
16295
16415
  i0.ɵɵnextContext(3);
16296
16416
  const _r23 = i0.ɵɵreference(25);
16297
- 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));
16298
16418
  } }
16299
16419
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
16300
16420
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
16301
- const _r97 = i0.ɵɵgetCurrentView();
16302
- i0.ɵɵelementStart(0, "td", 72);
16303
- 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)); });
16304
- 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);
16305
16425
  i0.ɵɵelementEnd();
16306
16426
  } if (rf & 2) {
16307
- const ctx_r98 = i0.ɵɵnextContext();
16308
- const row_r72 = ctx_r98.$implicit;
16309
- 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;
16310
16430
  i0.ɵɵnextContext(3);
16311
16431
  const _r11 = i0.ɵɵreference(13);
16312
16432
  i0.ɵɵadvance(1);
16313
- 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));
16314
16434
  } }
16315
16435
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16316
16436
  i0.ɵɵelementContainer(0);
16317
16437
  } }
16318
16438
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
16319
16439
  i0.ɵɵelementStart(0, "span");
16320
- 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);
16321
16441
  i0.ɵɵelementEnd();
16322
16442
  } if (rf & 2) {
16323
- const column_r99 = i0.ɵɵnextContext().$implicit;
16324
- const row_r72 = i0.ɵɵnextContext().$implicit;
16325
- 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);
16326
16446
  i0.ɵɵadvance(1);
16327
- 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)));
16328
16448
  } }
16329
16449
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16330
16450
  i0.ɵɵelementContainer(0);
16331
16451
  } }
16332
- const _c14 = function (a0, a1) { return { row: a0, column: a1 }; };
16452
+ const _c18 = function (a0, a1) { return { row: a0, column: a1 }; };
16333
16453
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
16334
16454
  i0.ɵɵelementStart(0, "span");
16335
- 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);
16336
16456
  i0.ɵɵelementEnd();
16337
16457
  } if (rf & 2) {
16338
- const column_r99 = i0.ɵɵnextContext().$implicit;
16339
- const row_r72 = i0.ɵɵnextContext().$implicit;
16340
- 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);
16341
16461
  i0.ɵɵadvance(1);
16342
- 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));
16343
16463
  } }
16344
16464
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template(rf, ctx) { if (rf & 1) {
16345
16465
  i0.ɵɵelementStart(0, "span");
16346
16466
  i0.ɵɵtext(1);
16347
16467
  i0.ɵɵelementEnd();
16348
16468
  } if (rf & 2) {
16349
- const column_r99 = i0.ɵɵnextContext().$implicit;
16350
- const row_r72 = i0.ɵɵnextContext().$implicit;
16351
- 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);
16352
16472
  i0.ɵɵadvance(1);
16353
- 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), " ");
16354
16474
  } }
16355
16475
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template(rf, ctx) { if (rf & 1) {
16356
16476
  i0.ɵɵelementStart(0, "span");
@@ -16358,11 +16478,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Templ
16358
16478
  i0.ɵɵpipe(2, "currency");
16359
16479
  i0.ɵɵelementEnd();
16360
16480
  } if (rf & 2) {
16361
- const column_r99 = i0.ɵɵnextContext().$implicit;
16362
- const row_r72 = i0.ɵɵnextContext().$implicit;
16363
- 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);
16364
16484
  i0.ɵɵadvance(1);
16365
- 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"), " ");
16366
16486
  } }
16367
16487
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template(rf, ctx) { if (rf & 1) {
16368
16488
  i0.ɵɵelementStart(0, "span");
@@ -16370,11 +16490,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Templ
16370
16490
  i0.ɵɵpipe(2, "date");
16371
16491
  i0.ɵɵelementEnd();
16372
16492
  } if (rf & 2) {
16373
- const column_r99 = i0.ɵɵnextContext().$implicit;
16374
- const row_r72 = i0.ɵɵnextContext().$implicit;
16375
- 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);
16376
16496
  i0.ɵɵadvance(1);
16377
- 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"), " ");
16378
16498
  } }
16379
16499
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template(rf, ctx) { if (rf & 1) {
16380
16500
  i0.ɵɵelementStart(0, "span");
@@ -16382,11 +16502,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Templ
16382
16502
  i0.ɵɵpipe(2, "po_time");
16383
16503
  i0.ɵɵelementEnd();
16384
16504
  } if (rf & 2) {
16385
- const column_r99 = i0.ɵɵnextContext().$implicit;
16386
- const row_r72 = i0.ɵɵnextContext().$implicit;
16387
- 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);
16388
16508
  i0.ɵɵadvance(1);
16389
- 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"), " ");
16390
16510
  } }
16391
16511
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template(rf, ctx) { if (rf & 1) {
16392
16512
  i0.ɵɵelementStart(0, "span");
@@ -16394,106 +16514,106 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Templ
16394
16514
  i0.ɵɵpipe(2, "date");
16395
16515
  i0.ɵɵelementEnd();
16396
16516
  } if (rf & 2) {
16397
- const column_r99 = i0.ɵɵnextContext().$implicit;
16398
- const row_r72 = i0.ɵɵnextContext().$implicit;
16399
- 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);
16400
16520
  i0.ɵɵadvance(1);
16401
- 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"), " ");
16402
16522
  } }
16403
16523
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template(rf, ctx) { if (rf & 1) {
16404
16524
  i0.ɵɵelementStart(0, "span");
16405
16525
  i0.ɵɵtext(1);
16406
16526
  i0.ɵɵelementEnd();
16407
16527
  } if (rf & 2) {
16408
- const column_r99 = i0.ɵɵnextContext().$implicit;
16409
- const row_r72 = i0.ɵɵnextContext().$implicit;
16410
- 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);
16411
16531
  i0.ɵɵadvance(1);
16412
- 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), " ");
16413
16533
  } }
16414
16534
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
16415
- const _r134 = i0.ɵɵgetCurrentView();
16416
- i0.ɵɵelementStart(0, "po-table-column-link", 80);
16417
- 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)); });
16418
16538
  i0.ɵɵelementEnd();
16419
16539
  } if (rf & 2) {
16420
- const column_r99 = i0.ɵɵnextContext().$implicit;
16421
- const row_r72 = i0.ɵɵnextContext().$implicit;
16422
- const ctx_r109 = i0.ɵɵnextContext(3);
16423
- 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));
16424
16544
  } }
16425
16545
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
16426
- i0.ɵɵelement(0, "po-table-column-icon", 81);
16546
+ i0.ɵɵelement(0, "po-table-column-icon", 80);
16427
16547
  } if (rf & 2) {
16428
- const column_r99 = i0.ɵɵnextContext().$implicit;
16429
- const row_r72 = i0.ɵɵnextContext().$implicit;
16430
- const ctx_r110 = i0.ɵɵnextContext(3);
16431
- 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);
16432
16552
  } }
16433
16553
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
16434
16554
  i0.ɵɵelementStart(0, "span");
16435
- i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
16555
+ i0.ɵɵelement(1, "po-table-subtitle-circle", 81);
16436
16556
  i0.ɵɵelementEnd();
16437
16557
  } if (rf & 2) {
16438
- const column_r99 = i0.ɵɵnextContext().$implicit;
16439
- const row_r72 = i0.ɵɵnextContext().$implicit;
16440
- 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);
16441
16561
  i0.ɵɵadvance(1);
16442
- i0.ɵɵproperty("p-subtitle", ctx_r111.getSubtitleColumn(row_r72, column_r99));
16562
+ i0.ɵɵproperty("p-subtitle", ctx_r110.getSubtitleColumn(row_r71, column_r98));
16443
16563
  } }
16444
16564
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
16445
16565
  i0.ɵɵelementStart(0, "span");
16446
- i0.ɵɵelement(1, "po-table-column-label", 83);
16566
+ i0.ɵɵelement(1, "po-table-column-label", 82);
16447
16567
  i0.ɵɵelementEnd();
16448
16568
  } if (rf & 2) {
16449
- const column_r99 = i0.ɵɵnextContext().$implicit;
16450
- const row_r72 = i0.ɵɵnextContext().$implicit;
16451
- 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);
16452
16572
  i0.ɵɵadvance(1);
16453
- i0.ɵɵproperty("p-value", ctx_r112.getColumnLabel(row_r72, column_r99));
16573
+ i0.ɵɵproperty("p-value", ctx_r111.getColumnLabel(row_r71, column_r98));
16454
16574
  } }
16455
16575
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template(rf, ctx) { if (rf & 1) {
16456
16576
  i0.ɵɵelementStart(0, "span");
16457
16577
  i0.ɵɵtext(1);
16458
16578
  i0.ɵɵelementEnd();
16459
16579
  } if (rf & 2) {
16460
- const column_r99 = i0.ɵɵnextContext().$implicit;
16461
- const row_r72 = i0.ɵɵnextContext().$implicit;
16462
- 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);
16463
16583
  i0.ɵɵadvance(1);
16464
- i0.ɵɵtextInterpolate(ctx_r113.getCellData(row_r72, column_r99));
16584
+ i0.ɵɵtextInterpolate(ctx_r112.getCellData(row_r71, column_r98));
16465
16585
  } }
16466
16586
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
16467
- const _r147 = i0.ɵɵgetCurrentView();
16468
- i0.ɵɵelementStart(0, "td", 74);
16469
- 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:;"); });
16470
- i0.ɵɵelementStart(1, "div", 75);
16471
- 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()); });
16472
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
16473
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
16474
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
16475
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
16476
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
16477
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
16478
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
16479
- i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
16480
- 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);
16481
- 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);
16482
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
16483
- i0.ɵɵtemplate(13, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
16484
- 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);
16485
16605
  i0.ɵɵelementEnd()();
16486
16606
  } if (rf & 2) {
16487
- const column_r99 = ctx.$implicit;
16488
- const row_r72 = i0.ɵɵnextContext().$implicit;
16489
- const ctx_r78 = i0.ɵɵnextContext(3);
16490
- i0.ɵɵstyleProp("width", column_r99.width)("max-width", column_r99.width)("min-width", column_r99.width);
16491
- 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");
16492
- 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));
16493
16613
  i0.ɵɵadvance(1);
16494
- i0.ɵɵstyleProp("width", ctx_r78.noColumnsHeader == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement.offsetWidth, "px");
16495
- i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r78.hideTextOverflow);
16496
- 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);
16497
16617
  i0.ɵɵadvance(1);
16498
16618
  i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
16499
16619
  i0.ɵɵadvance(1);
@@ -16521,127 +16641,127 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf,
16521
16641
  } }
16522
16642
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
16523
16643
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
16524
- const _r156 = i0.ɵɵgetCurrentView();
16525
- i0.ɵɵelementStart(0, "td", 72);
16526
- 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)); });
16527
- 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);
16528
16648
  i0.ɵɵelementEnd();
16529
16649
  } if (rf & 2) {
16530
- const ctx_r157 = i0.ɵɵnextContext();
16531
- const row_r72 = ctx_r157.$implicit;
16532
- 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;
16533
16653
  i0.ɵɵnextContext(3);
16534
16654
  const _r11 = i0.ɵɵreference(13);
16535
16655
  i0.ɵɵadvance(1);
16536
- 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));
16537
16657
  } }
16538
16658
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template(rf, ctx) { }
16539
16659
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
16540
- 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);
16541
16661
  } if (rf & 2) {
16542
- const ctx_r159 = i0.ɵɵnextContext();
16543
- const row_r72 = ctx_r159.$implicit;
16544
- 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;
16545
16665
  i0.ɵɵnextContext(3);
16546
16666
  const _r23 = i0.ɵɵreference(25);
16547
- 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));
16548
16668
  } }
16549
16669
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
16550
16670
  i0.ɵɵelementContainerStart(0);
16551
- i0.ɵɵelement(1, "td", 84);
16671
+ i0.ɵɵelement(1, "td", 83);
16552
16672
  i0.ɵɵelementContainerEnd();
16553
16673
  } }
16554
16674
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template(rf, ctx) { if (rf & 1) {
16555
- i0.ɵɵelement(0, "td", 85);
16675
+ i0.ɵɵelement(0, "td", 84);
16556
16676
  } }
16557
16677
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
16558
- const _c15 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
16678
+ const _c19 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
16559
16679
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template(rf, ctx) { if (rf & 1) {
16560
- i0.ɵɵelementStart(0, "tr")(1, "td", 86);
16561
- 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);
16562
16682
  i0.ɵɵelementEnd()();
16563
16683
  } if (rf & 2) {
16564
- const ctx_r161 = i0.ɵɵnextContext();
16565
- const row_r72 = ctx_r161.$implicit;
16566
- const rowIndex_r73 = ctx_r161.index;
16567
- 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);
16568
16688
  i0.ɵɵadvance(1);
16569
- i0.ɵɵproperty("colSpan", ctx_r83.columnCountForMasterDetail);
16689
+ i0.ɵɵproperty("colSpan", ctx_r82.columnCountForMasterDetail);
16570
16690
  i0.ɵɵadvance(1);
16571
- 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));
16572
16692
  } }
16573
16693
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template(rf, ctx) { if (rf & 1) {
16574
- const _r163 = i0.ɵɵgetCurrentView();
16575
- i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
16576
- 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)); });
16577
16697
  i0.ɵɵelementEnd()()();
16578
16698
  } if (rf & 2) {
16579
- const row_r72 = i0.ɵɵnextContext().$implicit;
16580
- const ctx_r84 = i0.ɵɵnextContext(3);
16699
+ const row_r71 = i0.ɵɵnextContext().$implicit;
16700
+ const ctx_r83 = i0.ɵɵnextContext(3);
16581
16701
  i0.ɵɵadvance(1);
16582
- i0.ɵɵproperty("colSpan", ctx_r84.columnCountForMasterDetail);
16702
+ i0.ɵɵproperty("colSpan", ctx_r83.columnCountForMasterDetail);
16583
16703
  i0.ɵɵadvance(1);
16584
- 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]);
16585
16705
  } }
16586
16706
  function PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template(rf, ctx) { if (rf & 1) {
16587
- i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
16707
+ i0.ɵɵelementStart(0, "tbody", 63)(1, "tr", 67);
16588
16708
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template, 2, 4, "td", 40);
16589
- 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);
16590
16710
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template, 1, 5, null, 23);
16591
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template, 2, 5, "td", 69);
16592
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template, 15, 33, "td", 70);
16593
- 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);
16594
16714
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template, 1, 5, null, 23);
16595
16715
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
16596
- 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);
16597
16717
  i0.ɵɵelementEnd();
16598
16718
  i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template, 3, 6, "tr", 23);
16599
16719
  i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template, 3, 4, "tr", 23);
16600
16720
  i0.ɵɵelementEnd();
16601
16721
  } if (rf & 2) {
16602
- const row_r72 = ctx.$implicit;
16603
- const rowIndex_r73 = ctx.index;
16604
- 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);
16605
16725
  i0.ɵɵadvance(1);
16606
- 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);
16607
16727
  i0.ɵɵadvance(1);
16608
- i0.ɵɵproperty("ngIf", ctx_r71.selectable);
16728
+ i0.ɵɵproperty("ngIf", ctx_r70.selectable);
16609
16729
  i0.ɵɵadvance(1);
16610
- 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);
16611
16731
  i0.ɵɵadvance(1);
16612
- 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));
16613
16733
  i0.ɵɵadvance(1);
16614
- i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplate && !ctx_r71.hasRowTemplateWithArrowDirectionRight);
16734
+ i0.ɵɵproperty("ngIf", ctx_r70.hasRowTemplate && !ctx_r70.hasRowTemplateWithArrowDirectionRight);
16615
16735
  i0.ɵɵadvance(1);
16616
- i0.ɵɵproperty("ngForOf", ctx_r71.mainColumns)("ngForTrackBy", ctx_r71.trackBy);
16736
+ i0.ɵɵproperty("ngForOf", ctx_r70.mainColumns)("ngForTrackBy", ctx_r70.trackBy);
16617
16737
  i0.ɵɵadvance(1);
16618
- i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplateWithArrowDirectionRight);
16738
+ i0.ɵɵproperty("ngIf", ctx_r70.hasRowTemplateWithArrowDirectionRight);
16619
16739
  i0.ɵɵadvance(1);
16620
- i0.ɵɵproperty("ngIf", ctx_r71.actionRight);
16740
+ i0.ɵɵproperty("ngIf", ctx_r70.actionRight);
16621
16741
  i0.ɵɵadvance(1);
16622
- 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);
16623
16743
  i0.ɵɵadvance(1);
16624
- 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);
16625
16745
  i0.ɵɵadvance(1);
16626
- 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));
16627
16747
  i0.ɵɵadvance(1);
16628
- i0.ɵɵproperty("ngIf", ctx_r71.hasMainColumns && ctx_r71.isShowMasterDetail(row_r72));
16748
+ i0.ɵɵproperty("ngIf", ctx_r70.hasMainColumns && ctx_r70.isShowMasterDetail(row_r71));
16629
16749
  } }
16630
16750
  function PoTableComponent_ng_template_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
16631
16751
  i0.ɵɵelementContainerStart(0);
16632
- 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);
16633
16753
  i0.ɵɵelementContainerEnd();
16634
16754
  } if (rf & 2) {
16635
- const ctx_r70 = i0.ɵɵnextContext(2);
16755
+ const ctx_r69 = i0.ɵɵnextContext(2);
16636
16756
  i0.ɵɵadvance(1);
16637
- i0.ɵɵproperty("cdkVirtualForOf", ctx_r70.items)("cdkVirtualForTrackBy", ctx_r70.trackBy);
16757
+ i0.ɵɵproperty("cdkVirtualForOf", ctx_r69.items)("cdkVirtualForTrackBy", ctx_r69.trackBy);
16638
16758
  } }
16639
16759
  function PoTableComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
16640
- const _r166 = i0.ɵɵgetCurrentView();
16641
- i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 61, 62);
16642
- 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()); });
16643
16763
  i0.ɵɵelementStart(2, "table", 39);
16644
- 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);
16645
16765
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_Template, 2, 2, "ng-container", 23);
16646
16766
  i0.ɵɵelementEnd()();
16647
16767
  } if (rf & 2) {
@@ -16656,68 +16776,68 @@ function PoTableComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
16656
16776
  i0.ɵɵproperty("ngIf", ctx_r7.hasMainColumns);
16657
16777
  } }
16658
16778
  function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) { if (rf & 1) {
16659
- const _r179 = i0.ɵɵgetCurrentView();
16779
+ const _r178 = i0.ɵɵgetCurrentView();
16660
16780
  i0.ɵɵelementStart(0, "po-checkbox", 49);
16661
- 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); });
16662
16782
  i0.ɵɵelementEnd();
16663
16783
  } if (rf & 2) {
16664
- const ctx_r177 = i0.ɵɵnextContext(3);
16665
- i0.ɵɵproperty("ngModel", ctx_r177.selectAll);
16784
+ const ctx_r176 = i0.ɵɵnextContext(3);
16785
+ i0.ɵɵproperty("ngModel", ctx_r176.selectAll);
16666
16786
  } }
16667
16787
  function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) { if (rf & 1) {
16668
16788
  i0.ɵɵelementStart(0, "th", 47)(1, "div");
16669
16789
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template, 1, 1, "po-checkbox", 48);
16670
16790
  i0.ɵɵelementEnd()();
16671
16791
  } if (rf & 2) {
16672
- const ctx_r167 = i0.ɵɵnextContext(2);
16792
+ const ctx_r166 = i0.ɵɵnextContext(2);
16673
16793
  i0.ɵɵadvance(1);
16674
- i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r167.height);
16794
+ i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r166.height);
16675
16795
  i0.ɵɵadvance(1);
16676
- i0.ɵɵproperty("ngIf", !ctx_r167.hideSelectAll);
16796
+ i0.ɵɵproperty("ngIf", !ctx_r166.hideSelectAll);
16677
16797
  } }
16678
16798
  function PoTableComponent_ng_template_8_th_4_Template(rf, ctx) { if (rf & 1) {
16679
16799
  i0.ɵɵelement(0, "th", 50);
16680
16800
  } }
16681
16801
  function PoTableComponent_ng_template_8_th_5_Template(rf, ctx) { if (rf & 1) {
16682
- i0.ɵɵelement(0, "th", null, 51);
16802
+ i0.ɵɵelement(0, "th", null, 88);
16683
16803
  } if (rf & 2) {
16684
- const ctx_r169 = i0.ɵɵnextContext(2);
16685
- 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);
16686
16806
  } }
16687
16807
  function PoTableComponent_ng_template_8_th_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
16688
16808
  i0.ɵɵelementContainer(0);
16689
16809
  } }
16690
16810
  function PoTableComponent_ng_template_8_th_6_Template(rf, ctx) { if (rf & 1) {
16691
- i0.ɵɵelementStart(0, "th", 52, 53);
16811
+ i0.ɵɵelementStart(0, "th", 52, 89);
16692
16812
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container", 32);
16693
16813
  i0.ɵɵelementEnd();
16694
16814
  } if (rf & 2) {
16695
- const ctx_r170 = i0.ɵɵnextContext(2);
16815
+ const ctx_r169 = i0.ɵɵnextContext(2);
16696
16816
  const _r19 = i0.ɵɵreference(21);
16697
16817
  const _r21 = i0.ɵɵreference(23);
16698
16818
  i0.ɵɵadvance(2);
16699
- i0.ɵɵproperty("ngIf", ctx_r170.height)("ngIfThen", _r19)("ngIfElse", _r21);
16819
+ i0.ɵɵproperty("ngIf", ctx_r169.height)("ngIfThen", _r19)("ngIfElse", _r21);
16700
16820
  } }
16701
- 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) {
16702
16822
  i0.ɵɵelementContainer(0);
16703
16823
  } }
16704
16824
  function PoTableComponent_ng_template_8_th_7_Template(rf, ctx) { if (rf & 1) {
16705
- const _r190 = i0.ɵɵgetCurrentView();
16706
- i0.ɵɵelementStart(0, "th", 54, 55);
16707
- 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)); });
16708
- i0.ɵɵelementStart(2, "div", 56);
16709
- 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);
16710
16830
  i0.ɵɵelementEnd()();
16711
16831
  } if (rf & 2) {
16712
- const column_r185 = ctx.$implicit;
16713
- const ctx_r171 = i0.ɵɵnextContext(2);
16832
+ const column_r184 = ctx.$implicit;
16833
+ const ctx_r170 = i0.ɵɵnextContext(2);
16714
16834
  const _r17 = i0.ɵɵreference(19);
16715
- i0.ɵɵstyleProp("width", column_r185.width)("max-width", column_r185.width)("min-width", column_r185.width);
16716
- i0.ɵɵclassProp("po-clickable", ctx_r171.sort && column_r185.sortable !== false || ctx_r171.hasService)("po-table-header-subtitle", column_r185.type === "subtitle");
16717
- i0.ɵɵadvance(2);
16718
- 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");
16719
16837
  i0.ɵɵadvance(1);
16720
- i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c12, column_r185));
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");
16839
+ i0.ɵɵadvance(1);
16840
+ i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c16, column_r184));
16721
16841
  } }
16722
16842
  function PoTableComponent_ng_template_8_th_8_Template(rf, ctx) { if (rf & 1) {
16723
16843
  i0.ɵɵelement(0, "th", 50);
@@ -16725,132 +16845,132 @@ function PoTableComponent_ng_template_8_th_8_Template(rf, ctx) { if (rf & 1) {
16725
16845
  function PoTableComponent_ng_template_8_th_9_Template(rf, ctx) { if (rf & 1) {
16726
16846
  i0.ɵɵelement(0, "th");
16727
16847
  } if (rf & 2) {
16728
- const ctx_r173 = i0.ɵɵnextContext(2);
16729
- 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);
16730
16850
  } }
16731
16851
  function PoTableComponent_ng_template_8_th_10_Template(rf, ctx) { if (rf & 1) {
16732
- const _r194 = i0.ɵɵgetCurrentView();
16733
- i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
16734
- 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()); });
16735
16855
  i0.ɵɵelementEnd()()();
16736
16856
  } if (rf & 2) {
16737
- const _r191 = i0.ɵɵreference(1);
16738
- const ctx_r174 = i0.ɵɵnextContext(2);
16739
- 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);
16740
16860
  i0.ɵɵadvance(2);
16741
- i0.ɵɵstyleProp("width", ctx_r174.height && ctx_r174.visibleActions.length ? _r191.offsetWidth : undefined, "px");
16742
- 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);
16743
16863
  i0.ɵɵadvance(1);
16744
- i0.ɵɵproperty("p-tooltip", ctx_r174.literals.columnsManager);
16745
- 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);
16746
16866
  } }
16747
16867
  function PoTableComponent_ng_template_8_tbody_11_Template(rf, ctx) { if (rf & 1) {
16748
- 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");
16749
16869
  i0.ɵɵtext(4);
16750
16870
  i0.ɵɵelementEnd()()()();
16751
16871
  } if (rf & 2) {
16752
- const ctx_r175 = i0.ɵɵnextContext(2);
16872
+ const ctx_r174 = i0.ɵɵnextContext(2);
16753
16873
  i0.ɵɵadvance(2);
16754
- i0.ɵɵproperty("colSpan", ctx_r175.columnCount);
16874
+ i0.ɵɵproperty("colSpan", ctx_r174.columnCount);
16755
16875
  i0.ɵɵadvance(2);
16756
- i0.ɵɵtextInterpolate1(" ", ctx_r175.literals.noData, " ");
16876
+ i0.ɵɵtextInterpolate1(" ", ctx_r174.literals.noData, " ");
16757
16877
  } }
16758
16878
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16759
16879
  i0.ɵɵelementContainer(0);
16760
16880
  } }
16761
16881
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
16762
16882
  i0.ɵɵelementStart(0, "td", 47);
16763
- 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);
16764
16884
  i0.ɵɵelementEnd();
16765
16885
  } if (rf & 2) {
16766
- const row_r196 = i0.ɵɵnextContext().$implicit;
16767
- const ctx_r198 = i0.ɵɵnextContext(3);
16886
+ const row_r194 = i0.ɵɵnextContext().$implicit;
16887
+ const ctx_r196 = i0.ɵɵnextContext(3);
16768
16888
  const _r13 = i0.ɵɵreference(15);
16769
16889
  const _r15 = i0.ɵɵreference(17);
16770
16890
  i0.ɵɵadvance(1);
16771
- 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));
16772
16892
  } }
16773
16893
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
16774
16894
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
16775
- const _r214 = i0.ɵɵgetCurrentView();
16776
- i0.ɵɵelementStart(0, "td", 72);
16777
- 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)); });
16778
- 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);
16779
16899
  i0.ɵɵelementEnd();
16780
16900
  } if (rf & 2) {
16781
- const ctx_r215 = i0.ɵɵnextContext();
16782
- const row_r196 = ctx_r215.$implicit;
16783
- 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;
16784
16904
  i0.ɵɵnextContext(3);
16785
16905
  const _r11 = i0.ɵɵreference(13);
16786
16906
  i0.ɵɵadvance(1);
16787
- 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));
16788
16908
  } }
16789
16909
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template(rf, ctx) { }
16790
16910
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
16791
- 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);
16792
16912
  } if (rf & 2) {
16793
- const ctx_r217 = i0.ɵɵnextContext();
16794
- const row_r196 = ctx_r217.$implicit;
16795
- 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;
16796
16916
  i0.ɵɵnextContext(3);
16797
16917
  const _r23 = i0.ɵɵreference(25);
16798
- 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));
16799
16919
  } }
16800
16920
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
16801
16921
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
16802
- const _r221 = i0.ɵɵgetCurrentView();
16803
- i0.ɵɵelementStart(0, "td", 72);
16804
- 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)); });
16805
- 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);
16806
16926
  i0.ɵɵelementEnd();
16807
16927
  } if (rf & 2) {
16808
- const ctx_r222 = i0.ɵɵnextContext();
16809
- const row_r196 = ctx_r222.$implicit;
16810
- 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;
16811
16931
  i0.ɵɵnextContext(3);
16812
16932
  const _r11 = i0.ɵɵreference(13);
16813
16933
  i0.ɵɵadvance(1);
16814
- 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));
16815
16935
  } }
16816
16936
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16817
16937
  i0.ɵɵelementContainer(0);
16818
16938
  } }
16819
16939
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
16820
16940
  i0.ɵɵelementStart(0, "span");
16821
- 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);
16822
16942
  i0.ɵɵelementEnd();
16823
16943
  } if (rf & 2) {
16824
- const column_r223 = i0.ɵɵnextContext().$implicit;
16825
- const row_r196 = i0.ɵɵnextContext().$implicit;
16826
- 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);
16827
16947
  i0.ɵɵadvance(1);
16828
- 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)));
16829
16949
  } }
16830
16950
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
16831
16951
  i0.ɵɵelementContainer(0);
16832
16952
  } }
16833
16953
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
16834
16954
  i0.ɵɵelementStart(0, "span");
16835
- 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);
16836
16956
  i0.ɵɵelementEnd();
16837
16957
  } if (rf & 2) {
16838
- const column_r223 = i0.ɵɵnextContext().$implicit;
16839
- const row_r196 = i0.ɵɵnextContext().$implicit;
16840
- 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);
16841
16961
  i0.ɵɵadvance(1);
16842
- 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));
16843
16963
  } }
16844
16964
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template(rf, ctx) { if (rf & 1) {
16845
16965
  i0.ɵɵelementStart(0, "span");
16846
16966
  i0.ɵɵtext(1);
16847
16967
  i0.ɵɵelementEnd();
16848
16968
  } if (rf & 2) {
16849
- const column_r223 = i0.ɵɵnextContext().$implicit;
16850
- const row_r196 = i0.ɵɵnextContext().$implicit;
16851
- 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);
16852
16972
  i0.ɵɵadvance(1);
16853
- 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), " ");
16854
16974
  } }
16855
16975
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template(rf, ctx) { if (rf & 1) {
16856
16976
  i0.ɵɵelementStart(0, "span");
@@ -16858,11 +16978,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Temp
16858
16978
  i0.ɵɵpipe(2, "currency");
16859
16979
  i0.ɵɵelementEnd();
16860
16980
  } if (rf & 2) {
16861
- const column_r223 = i0.ɵɵnextContext().$implicit;
16862
- const row_r196 = i0.ɵɵnextContext().$implicit;
16863
- 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);
16864
16984
  i0.ɵɵadvance(1);
16865
- 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"), " ");
16866
16986
  } }
16867
16987
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template(rf, ctx) { if (rf & 1) {
16868
16988
  i0.ɵɵelementStart(0, "span");
@@ -16870,11 +16990,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Temp
16870
16990
  i0.ɵɵpipe(2, "date");
16871
16991
  i0.ɵɵelementEnd();
16872
16992
  } if (rf & 2) {
16873
- const column_r223 = i0.ɵɵnextContext().$implicit;
16874
- const row_r196 = i0.ɵɵnextContext().$implicit;
16875
- 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);
16876
16996
  i0.ɵɵadvance(1);
16877
- 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"), " ");
16878
16998
  } }
16879
16999
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template(rf, ctx) { if (rf & 1) {
16880
17000
  i0.ɵɵelementStart(0, "span");
@@ -16882,11 +17002,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Temp
16882
17002
  i0.ɵɵpipe(2, "po_time");
16883
17003
  i0.ɵɵelementEnd();
16884
17004
  } if (rf & 2) {
16885
- const column_r223 = i0.ɵɵnextContext().$implicit;
16886
- const row_r196 = i0.ɵɵnextContext().$implicit;
16887
- 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);
16888
17008
  i0.ɵɵadvance(1);
16889
- 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"), " ");
16890
17010
  } }
16891
17011
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template(rf, ctx) { if (rf & 1) {
16892
17012
  i0.ɵɵelementStart(0, "span");
@@ -16894,105 +17014,105 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Temp
16894
17014
  i0.ɵɵpipe(2, "date");
16895
17015
  i0.ɵɵelementEnd();
16896
17016
  } if (rf & 2) {
16897
- const column_r223 = i0.ɵɵnextContext().$implicit;
16898
- const row_r196 = i0.ɵɵnextContext().$implicit;
16899
- 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);
16900
17020
  i0.ɵɵadvance(1);
16901
- 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"), " ");
16902
17022
  } }
16903
17023
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template(rf, ctx) { if (rf & 1) {
16904
17024
  i0.ɵɵelementStart(0, "span");
16905
17025
  i0.ɵɵtext(1);
16906
17026
  i0.ɵɵelementEnd();
16907
17027
  } if (rf & 2) {
16908
- const column_r223 = i0.ɵɵnextContext().$implicit;
16909
- const row_r196 = i0.ɵɵnextContext().$implicit;
16910
- 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);
16911
17031
  i0.ɵɵadvance(1);
16912
- 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), " ");
16913
17033
  } }
16914
17034
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
16915
- const _r258 = i0.ɵɵgetCurrentView();
16916
- i0.ɵɵelementStart(0, "po-table-column-link", 80);
16917
- 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)); });
16918
17038
  i0.ɵɵelementEnd();
16919
17039
  } if (rf & 2) {
16920
- const column_r223 = i0.ɵɵnextContext().$implicit;
16921
- const row_r196 = i0.ɵɵnextContext().$implicit;
16922
- const ctx_r233 = i0.ɵɵnextContext(3);
16923
- 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));
16924
17044
  } }
16925
17045
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
16926
- i0.ɵɵelement(0, "po-table-column-icon", 81);
17046
+ i0.ɵɵelement(0, "po-table-column-icon", 80);
16927
17047
  } if (rf & 2) {
16928
- const column_r223 = i0.ɵɵnextContext().$implicit;
16929
- const row_r196 = i0.ɵɵnextContext().$implicit;
16930
- const ctx_r234 = i0.ɵɵnextContext(3);
16931
- 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);
16932
17052
  } }
16933
17053
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
16934
17054
  i0.ɵɵelementStart(0, "span");
16935
- i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
17055
+ i0.ɵɵelement(1, "po-table-subtitle-circle", 81);
16936
17056
  i0.ɵɵelementEnd();
16937
17057
  } if (rf & 2) {
16938
- const column_r223 = i0.ɵɵnextContext().$implicit;
16939
- const row_r196 = i0.ɵɵnextContext().$implicit;
16940
- 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);
16941
17061
  i0.ɵɵadvance(1);
16942
- i0.ɵɵproperty("p-subtitle", ctx_r235.getSubtitleColumn(row_r196, column_r223));
17062
+ i0.ɵɵproperty("p-subtitle", ctx_r233.getSubtitleColumn(row_r194, column_r221));
16943
17063
  } }
16944
17064
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
16945
17065
  i0.ɵɵelementStart(0, "span");
16946
- i0.ɵɵelement(1, "po-table-column-label", 83);
17066
+ i0.ɵɵelement(1, "po-table-column-label", 82);
16947
17067
  i0.ɵɵelementEnd();
16948
17068
  } if (rf & 2) {
16949
- const column_r223 = i0.ɵɵnextContext().$implicit;
16950
- const row_r196 = i0.ɵɵnextContext().$implicit;
16951
- 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);
16952
17072
  i0.ɵɵadvance(1);
16953
- i0.ɵɵproperty("p-value", ctx_r236.getColumnLabel(row_r196, column_r223));
17073
+ i0.ɵɵproperty("p-value", ctx_r234.getColumnLabel(row_r194, column_r221));
16954
17074
  } }
16955
17075
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template(rf, ctx) { if (rf & 1) {
16956
17076
  i0.ɵɵelementStart(0, "span");
16957
17077
  i0.ɵɵtext(1);
16958
17078
  i0.ɵɵelementEnd();
16959
17079
  } if (rf & 2) {
16960
- const column_r223 = i0.ɵɵnextContext().$implicit;
16961
- const row_r196 = i0.ɵɵnextContext().$implicit;
16962
- 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);
16963
17083
  i0.ɵɵadvance(1);
16964
- i0.ɵɵtextInterpolate(ctx_r237.getCellData(row_r196, column_r223));
17084
+ i0.ɵɵtextInterpolate(ctx_r235.getCellData(row_r194, column_r221));
16965
17085
  } }
16966
17086
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
16967
- const _r271 = i0.ɵɵgetCurrentView();
16968
- i0.ɵɵelementStart(0, "td", 74);
16969
- 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:;"); });
16970
- i0.ɵɵelementStart(1, "div", 75);
16971
- 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()); });
16972
- i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
16973
- i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
16974
- i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
16975
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
16976
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
16977
- i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
16978
- i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
16979
- i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
16980
- 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);
16981
- 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);
16982
- i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
16983
- i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
16984
- 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);
16985
17105
  i0.ɵɵelementEnd()();
16986
17106
  } if (rf & 2) {
16987
- const column_r223 = ctx.$implicit;
16988
- const row_r196 = i0.ɵɵnextContext().$implicit;
16989
- const ctx_r202 = i0.ɵɵnextContext(3);
16990
- i0.ɵɵstyleProp("width", column_r223.width)("max-width", column_r223.width)("min-width", column_r223.width);
16991
- 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");
16992
- 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));
16993
17113
  i0.ɵɵadvance(1);
16994
- i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r202.hideTextOverflow);
16995
- 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);
16996
17116
  i0.ɵɵadvance(1);
16997
17117
  i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
16998
17118
  i0.ɵɵadvance(1);
@@ -17020,119 +17140,119 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf
17020
17140
  } }
17021
17141
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
17022
17142
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
17023
- const _r280 = i0.ɵɵgetCurrentView();
17024
- i0.ɵɵelementStart(0, "td", 72);
17025
- 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)); });
17026
- 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);
17027
17147
  i0.ɵɵelementEnd();
17028
17148
  } if (rf & 2) {
17029
- const ctx_r281 = i0.ɵɵnextContext();
17030
- const row_r196 = ctx_r281.$implicit;
17031
- 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;
17032
17152
  i0.ɵɵnextContext(3);
17033
17153
  const _r11 = i0.ɵɵreference(13);
17034
17154
  i0.ɵɵadvance(1);
17035
- 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));
17036
17156
  } }
17037
17157
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template(rf, ctx) { }
17038
17158
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
17039
- 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);
17040
17160
  } if (rf & 2) {
17041
- const ctx_r283 = i0.ɵɵnextContext();
17042
- const row_r196 = ctx_r283.$implicit;
17043
- 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;
17044
17164
  i0.ɵɵnextContext(3);
17045
17165
  const _r23 = i0.ɵɵreference(25);
17046
- 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));
17047
17167
  } }
17048
17168
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
17049
17169
  i0.ɵɵelementContainerStart(0);
17050
- i0.ɵɵelement(1, "td", 90);
17170
+ i0.ɵɵelement(1, "td", 93);
17051
17171
  i0.ɵɵelementContainerEnd();
17052
17172
  } }
17053
17173
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template(rf, ctx) { if (rf & 1) {
17054
- i0.ɵɵelement(0, "td", 85);
17174
+ i0.ɵɵelement(0, "td", 84);
17055
17175
  } }
17056
17176
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
17057
17177
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template(rf, ctx) { if (rf & 1) {
17058
- i0.ɵɵelementStart(0, "tr")(1, "td", 86);
17059
- 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);
17060
17180
  i0.ɵɵelementEnd()();
17061
17181
  } if (rf & 2) {
17062
- const ctx_r285 = i0.ɵɵnextContext();
17063
- const row_r196 = ctx_r285.$implicit;
17064
- const rowIndex_r197 = ctx_r285.index;
17065
- 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);
17066
17186
  i0.ɵɵadvance(1);
17067
- i0.ɵɵproperty("colSpan", ctx_r207.columnCountForMasterDetail);
17187
+ i0.ɵɵproperty("colSpan", ctx_r205.columnCountForMasterDetail);
17068
17188
  i0.ɵɵadvance(1);
17069
- 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));
17070
17190
  } }
17071
17191
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template(rf, ctx) { if (rf & 1) {
17072
- const _r287 = i0.ɵɵgetCurrentView();
17073
- i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
17074
- 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)); });
17075
17195
  i0.ɵɵelementEnd()()();
17076
17196
  } if (rf & 2) {
17077
- const row_r196 = i0.ɵɵnextContext().$implicit;
17078
- const ctx_r208 = i0.ɵɵnextContext(3);
17197
+ const row_r194 = i0.ɵɵnextContext().$implicit;
17198
+ const ctx_r206 = i0.ɵɵnextContext(3);
17079
17199
  i0.ɵɵadvance(1);
17080
- i0.ɵɵproperty("colSpan", ctx_r208.columnCountForMasterDetail);
17200
+ i0.ɵɵproperty("colSpan", ctx_r206.columnCountForMasterDetail);
17081
17201
  i0.ɵɵadvance(1);
17082
- 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]);
17083
17203
  } }
17084
17204
  function PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template(rf, ctx) { if (rf & 1) {
17085
- i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
17205
+ i0.ɵɵelementStart(0, "tbody", 63)(1, "tr", 67);
17086
17206
  i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template, 2, 4, "td", 40);
17087
- 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);
17088
17208
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template, 1, 5, null, 23);
17089
- i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template, 2, 5, "td", 69);
17090
- i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template, 15, 31, "td", 70);
17091
- 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);
17092
17212
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template, 1, 5, null, 23);
17093
17213
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
17094
- 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);
17095
17215
  i0.ɵɵelementEnd();
17096
17216
  i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template, 3, 6, "tr", 23);
17097
17217
  i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template, 3, 4, "tr", 23);
17098
17218
  i0.ɵɵelementEnd();
17099
17219
  } if (rf & 2) {
17100
- const row_r196 = ctx.$implicit;
17101
- const rowIndex_r197 = ctx.index;
17102
- 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);
17103
17223
  i0.ɵɵadvance(1);
17104
- 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);
17105
17225
  i0.ɵɵadvance(1);
17106
- i0.ɵɵproperty("ngIf", ctx_r195.selectable);
17226
+ i0.ɵɵproperty("ngIf", ctx_r193.selectable);
17107
17227
  i0.ɵɵadvance(1);
17108
- 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);
17109
17229
  i0.ɵɵadvance(1);
17110
- 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));
17111
17231
  i0.ɵɵadvance(1);
17112
- i0.ɵɵproperty("ngIf", ctx_r195.hasRowTemplate && !ctx_r195.hasRowTemplateWithArrowDirectionRight);
17232
+ i0.ɵɵproperty("ngIf", ctx_r193.hasRowTemplate && !ctx_r193.hasRowTemplateWithArrowDirectionRight);
17113
17233
  i0.ɵɵadvance(1);
17114
- i0.ɵɵproperty("ngForOf", ctx_r195.mainColumns)("ngForTrackBy", ctx_r195.trackBy);
17234
+ i0.ɵɵproperty("ngForOf", ctx_r193.mainColumns)("ngForTrackBy", ctx_r193.trackBy);
17115
17235
  i0.ɵɵadvance(1);
17116
- i0.ɵɵproperty("ngIf", ctx_r195.hasRowTemplateWithArrowDirectionRight);
17236
+ i0.ɵɵproperty("ngIf", ctx_r193.hasRowTemplateWithArrowDirectionRight);
17117
17237
  i0.ɵɵadvance(1);
17118
- i0.ɵɵproperty("ngIf", ctx_r195.actionRight);
17238
+ i0.ɵɵproperty("ngIf", ctx_r193.actionRight);
17119
17239
  i0.ɵɵadvance(1);
17120
- 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);
17121
17241
  i0.ɵɵadvance(1);
17122
- 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);
17123
17243
  i0.ɵɵadvance(1);
17124
- 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));
17125
17245
  i0.ɵɵadvance(1);
17126
- i0.ɵɵproperty("ngIf", ctx_r195.hasMainColumns && ctx_r195.isShowMasterDetail(row_r196));
17246
+ i0.ɵɵproperty("ngIf", ctx_r193.hasMainColumns && ctx_r193.isShowMasterDetail(row_r194));
17127
17247
  } }
17128
17248
  function PoTableComponent_ng_template_8_ng_container_12_Template(rf, ctx) { if (rf & 1) {
17129
17249
  i0.ɵɵelementContainerStart(0);
17130
- 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);
17131
17251
  i0.ɵɵelementContainerEnd();
17132
17252
  } if (rf & 2) {
17133
- const ctx_r176 = i0.ɵɵnextContext(2);
17253
+ const ctx_r175 = i0.ɵɵnextContext(2);
17134
17254
  i0.ɵɵadvance(1);
17135
- i0.ɵɵproperty("ngForOf", ctx_r176.items)("ngForTrackBy", ctx_r176.trackBy);
17255
+ i0.ɵɵproperty("ngForOf", ctx_r175.items)("ngForTrackBy", ctx_r175.trackBy);
17136
17256
  } }
17137
17257
  function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
17138
17258
  i0.ɵɵelementStart(0, "table", 39)(1, "thead")(2, "tr");
@@ -17140,12 +17260,12 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
17140
17260
  i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_th_4_Template, 1, 0, "th", 41);
17141
17261
  i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_th_5_Template, 2, 4, "th", 42);
17142
17262
  i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_th_6_Template, 3, 3, "th", 43);
17143
- 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);
17144
17264
  i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_th_8_Template, 1, 0, "th", 41);
17145
17265
  i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_th_9_Template, 1, 4, "th", 45);
17146
17266
  i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_th_10_Template, 5, 14, "th", 46);
17147
17267
  i0.ɵɵelementEnd()();
17148
- 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);
17149
17269
  i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_Template, 2, 2, "ng-container", 23);
17150
17270
  i0.ɵɵelementEnd();
17151
17271
  } if (rf & 2) {
@@ -17175,64 +17295,64 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
17175
17295
  i0.ɵɵproperty("ngIf", ctx_r9.hasMainColumns);
17176
17296
  } }
17177
17297
  function PoTableComponent_ng_template_12_span_0_Template(rf, ctx) { if (rf & 1) {
17178
- i0.ɵɵelement(0, "span", 92);
17298
+ i0.ɵɵelement(0, "span", 95);
17179
17299
  } if (rf & 2) {
17180
- const row_r289 = i0.ɵɵnextContext().row;
17181
- 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);
17182
17302
  } }
17183
17303
  function PoTableComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
17184
- 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);
17185
17305
  } if (rf & 2) {
17186
- const row_r289 = ctx.row;
17187
- const rowIndex_r290 = ctx.rowIndex;
17306
+ const row_r287 = ctx.row;
17307
+ const rowIndex_r288 = ctx.rowIndex;
17188
17308
  const ctx_r12 = i0.ɵɵnextContext();
17189
- 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);
17190
17310
  } }
17191
17311
  function PoTableComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
17192
- const _r295 = i0.ɵɵgetCurrentView();
17193
- i0.ɵɵelement(0, "input", 93);
17194
- i0.ɵɵelementStart(1, "label", 94);
17195
- 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:;"); });
17196
17316
  i0.ɵɵelementEnd();
17197
17317
  } if (rf & 2) {
17198
- const row_r293 = ctx.$implicit;
17199
- 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);
17200
17320
  } }
17201
17321
  function PoTableComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
17202
- const _r298 = i0.ɵɵgetCurrentView();
17203
- i0.ɵɵelementStart(0, "po-checkbox", 95);
17204
- 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:;"); });
17205
17325
  i0.ɵɵelementEnd();
17206
17326
  } if (rf & 2) {
17207
- const row_r296 = ctx.$implicit;
17208
- i0.ɵɵproperty("ngModel", row_r296.$selected);
17327
+ const row_r294 = ctx.$implicit;
17328
+ i0.ɵɵproperty("ngModel", row_r294.$selected);
17209
17329
  } }
17210
17330
  function PoTableComponent_ng_template_18_span_4_Template(rf, ctx) { if (rf & 1) {
17211
17331
  i0.ɵɵelement(0, "span");
17212
17332
  } if (rf & 2) {
17213
- const column_r301 = i0.ɵɵnextContext().$implicit;
17214
- const ctx_r303 = i0.ɵɵnextContext();
17215
- 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.JSON.stringify(ctx_r301.sortedColumn == null ? null : ctx_r301.sortedColumn.property) !== ctx_r301.JSON.stringify(column_r299))("po-table-header-icon-descending", ctx_r301.JSON.stringify(ctx_r301.sortedColumn == null ? null : ctx_r301.sortedColumn.property) === ctx_r301.JSON.stringify(column_r299) && ctx_r301.sortedColumn.ascending)("po-table-header-icon-ascending", ctx_r301.JSON.stringify(ctx_r301.sortedColumn == null ? null : ctx_r301.sortedColumn.property) === ctx_r301.JSON.stringify(column_r299) && !ctx_r301.sortedColumn.ascending);
17216
17336
  } }
17217
17337
  function PoTableComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
17218
- const _r306 = i0.ɵɵgetCurrentView();
17219
- i0.ɵɵelementStart(0, "span", 96, 97);
17220
- 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()); });
17221
17341
  i0.ɵɵtext(2);
17222
17342
  i0.ɵɵpipe(3, "titlecase");
17223
17343
  i0.ɵɵelementEnd();
17224
- 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);
17225
17345
  } if (rf & 2) {
17226
- const column_r301 = ctx.$implicit;
17346
+ const column_r299 = ctx.$implicit;
17227
17347
  const ctx_r18 = i0.ɵɵnextContext();
17228
17348
  i0.ɵɵproperty("p-tooltip", ctx_r18.tooltipText);
17229
17349
  i0.ɵɵadvance(2);
17230
- 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), " ");
17231
17351
  i0.ɵɵadvance(2);
17232
- i0.ɵɵproperty("ngIf", ctx_r18.sort && column_r301.sortable !== false);
17352
+ i0.ɵɵproperty("ngIf", ctx_r18.sort && column_r299.sortable !== false);
17233
17353
  } }
17234
17354
  function PoTableComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
17235
- i0.ɵɵelementStart(0, "div", 99);
17355
+ i0.ɵɵelementStart(0, "div", 102);
17236
17356
  i0.ɵɵtext(1);
17237
17357
  i0.ɵɵelementEnd();
17238
17358
  } if (rf & 2) {
@@ -17248,46 +17368,46 @@ function PoTableComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
17248
17368
  i0.ɵɵtextInterpolate1(" ", ctx_r22.hasValidColumns ? ctx_r22.literals.noVisibleColumn : ctx_r22.literals.noColumns, "\n");
17249
17369
  } }
17250
17370
  function PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template(rf, ctx) { if (rf & 1) {
17251
- i0.ɵɵelement(0, "po-icon", 106);
17371
+ i0.ɵɵelement(0, "po-icon", 109);
17252
17372
  } if (rf & 2) {
17253
- const ctx_r313 = i0.ɵɵnextContext(4);
17254
- i0.ɵɵproperty("p-icon", ctx_r313.firstAction.icon);
17373
+ const ctx_r311 = i0.ɵɵnextContext(4);
17374
+ i0.ɵɵproperty("p-icon", ctx_r311.firstAction.icon);
17255
17375
  } }
17256
17376
  function PoTableComponent_ng_template_24_td_0_div_1_Template(rf, ctx) { if (rf & 1) {
17257
- const _r316 = i0.ɵɵgetCurrentView();
17258
- i0.ɵɵelementStart(0, "div", 104);
17259
- 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)); });
17260
- 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);
17261
17381
  i0.ɵɵtext(2);
17262
17382
  i0.ɵɵelementEnd();
17263
17383
  } if (rf & 2) {
17264
- const row_r308 = i0.ɵɵnextContext(2).row;
17265
- const ctx_r312 = i0.ɵɵnextContext();
17266
- 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);
17267
17387
  i0.ɵɵadvance(1);
17268
- i0.ɵɵproperty("ngIf", ctx_r312.firstAction.icon);
17388
+ i0.ɵɵproperty("ngIf", ctx_r310.firstAction.icon);
17269
17389
  i0.ɵɵadvance(1);
17270
- i0.ɵɵtextInterpolate1(" ", ctx_r312.firstAction.label, " ");
17390
+ i0.ɵɵtextInterpolate1(" ", ctx_r310.firstAction.label, " ");
17271
17391
  } }
17272
17392
  function PoTableComponent_ng_template_24_td_0_Template(rf, ctx) { if (rf & 1) {
17273
- i0.ɵɵelementStart(0, "td", 102);
17274
- 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);
17275
17395
  i0.ɵɵelementEnd();
17276
17396
  } if (rf & 2) {
17277
- const ctx_r310 = i0.ɵɵnextContext(2);
17278
- 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");
17279
17399
  i0.ɵɵadvance(1);
17280
- i0.ɵɵproperty("ngIf", ctx_r310.firstAction.visible !== false);
17400
+ i0.ɵɵproperty("ngIf", ctx_r308.firstAction.visible !== false);
17281
17401
  } }
17282
17402
  function PoTableComponent_ng_template_24_td_1_Template(rf, ctx) { if (rf & 1) {
17283
- const _r321 = i0.ɵɵgetCurrentView();
17284
- i0.ɵɵelementStart(0, "td", 107)(1, "span", 108, 109);
17285
- 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)); });
17286
17406
  i0.ɵɵelementEnd()();
17287
17407
  } }
17288
17408
  function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
17289
- i0.ɵɵtemplate(0, PoTableComponent_ng_template_24_td_0_Template, 2, 7, "td", 100);
17290
- 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);
17291
17411
  } if (rf & 2) {
17292
17412
  const ctx_r24 = i0.ɵɵnextContext();
17293
17413
  i0.ɵɵproperty("ngIf", ctx_r24.isSingleAction);
@@ -17295,13 +17415,13 @@ function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
17295
17415
  i0.ɵɵproperty("ngIf", ctx_r24.visibleActions.length > 1);
17296
17416
  } }
17297
17417
  function PoTableComponent_po_table_column_manager_26_Template(rf, ctx) { if (rf & 1) {
17298
- const _r323 = i0.ɵɵgetCurrentView();
17299
- i0.ɵɵelementStart(0, "po-table-column-manager", 110);
17300
- 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)); });
17301
17421
  i0.ɵɵelementEnd();
17302
17422
  } if (rf & 2) {
17303
17423
  const ctx_r25 = i0.ɵɵnextContext();
17304
- 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);
17305
17425
  } }
17306
17426
  /**
17307
17427
  * @docsExtends PoTableBaseComponent
@@ -17358,6 +17478,7 @@ class PoTableComponent extends PoTableBaseComponent {
17358
17478
  this.itemSize = 32;
17359
17479
  this.initialized = false;
17360
17480
  this.visibleElement = false;
17481
+ this.JSON = JSON;
17361
17482
  this.differ = differs.find([]).create(null);
17362
17483
  // TODO: #5550 ao remover este listener, no portal, quando as colunas forem fixas não sofrem
17363
17484
  // alteração de largura, pois o ngDoCheck não é executado.
@@ -17373,6 +17494,13 @@ class PoTableComponent extends PoTableBaseComponent {
17373
17494
  get columnManagerTarget() {
17374
17495
  return this._columnManagerTarget;
17375
17496
  }
17497
+ set columnManagerTargetFixed(value) {
17498
+ this._columnManagerTargetFixed = value;
17499
+ this.changeDetector.detectChanges();
17500
+ }
17501
+ get columnManagerTargetFixed() {
17502
+ return this._columnManagerTargetFixed;
17503
+ }
17376
17504
  get hasRowTemplateWithArrowDirectionRight() {
17377
17505
  return this.tableRowTemplate?.tableRowTemplateArrowDirection === PoTableRowTemplateArrowDirection.Right;
17378
17506
  }
@@ -17701,10 +17829,14 @@ class PoTableComponent extends PoTableBaseComponent {
17701
17829
  this.poTableThead.nativeElement.scrollLeft = this.poTableTbodyVirtual.nativeElement.scrollLeft;
17702
17830
  }
17703
17831
  getWidthColumnManager() {
17704
- return this.columnManager?.nativeElement.offsetWidth;
17832
+ return this.height
17833
+ ? this.columnManagerFixed?.nativeElement.offsetWidth
17834
+ : this.columnManager?.nativeElement.offsetWidth;
17705
17835
  }
17706
17836
  getColumnWidthActionsLeft() {
17707
- return this.columnActionLeft?.nativeElement.offsetWidth;
17837
+ return this.height
17838
+ ? this.columnActionLeftFixed?.nativeElement.offsetWidth
17839
+ : this.columnActionLeft?.nativeElement.offsetWidth;
17708
17840
  }
17709
17841
  calculateHeightTableContainer(height) {
17710
17842
  const value = parseFloat(height);
@@ -17841,20 +17973,25 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17841
17973
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableColumnTemplates = _t);
17842
17974
  } }, viewQuery: function PoTableComponent_Query(rf, ctx) { if (rf & 1) {
17843
17975
  i0.ɵɵviewQuery(_c0$W, 5, ElementRef);
17844
- i0.ɵɵviewQuery(_c1$q, 5);
17845
- i0.ɵɵviewQuery(_c2$b, 5, ElementRef);
17976
+ i0.ɵɵviewQuery(_c1$q, 5, ElementRef);
17977
+ i0.ɵɵviewQuery(_c2$b, 5);
17846
17978
  i0.ɵɵviewQuery(_c3$6, 5, ElementRef);
17847
17979
  i0.ɵɵviewQuery(_c4$4, 5, ElementRef);
17848
17980
  i0.ɵɵviewQuery(_c5$2, 5, ElementRef);
17849
17981
  i0.ɵɵviewQuery(_c6$2, 5, ElementRef);
17850
17982
  i0.ɵɵviewQuery(_c7$1, 5, ElementRef);
17851
17983
  i0.ɵɵviewQuery(_c8$1, 5, ElementRef);
17852
- i0.ɵɵviewQuery(_c9, 5);
17984
+ i0.ɵɵviewQuery(_c9, 5, ElementRef);
17853
17985
  i0.ɵɵviewQuery(_c10, 5, ElementRef);
17854
17986
  i0.ɵɵviewQuery(_c11, 5, ElementRef);
17987
+ i0.ɵɵviewQuery(_c12, 5);
17988
+ i0.ɵɵviewQuery(_c13, 5);
17989
+ i0.ɵɵviewQuery(_c14, 5, ElementRef);
17990
+ i0.ɵɵviewQuery(_c15, 5, ElementRef);
17855
17991
  } if (rf & 2) {
17856
17992
  let _t;
17857
17993
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.noColumnsHeader = _t.first);
17994
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.noColumnsHeaderFixed = _t.first);
17858
17995
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPopupComponent = _t.first);
17859
17996
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableFooterElement = _t.first);
17860
17997
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableWrapperElement = _t.first);
@@ -17862,11 +17999,14 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17862
17999
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableThead = _t.first);
17863
18000
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableTbodyVirtual = _t.first);
17864
18001
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManager = _t.first);
18002
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerFixed = _t.first);
17865
18003
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnActionLeft = _t.first);
18004
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnActionLeftFixed = _t.first);
17866
18005
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTarget = _t.first);
18006
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTargetFixed = _t.first);
17867
18007
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsIconElement = _t);
17868
18008
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsElement = _t);
17869
- } }, 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) {
18009
+ } }, 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) {
17870
18010
  i0.ɵɵtemplate(0, PoTableComponent_po_container_0_Template, 2, 2, "po-container", 0);
17871
18011
  i0.ɵɵtemplate(1, PoTableComponent_ng_template_1_Template, 8, 10, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
17872
18012
  i0.ɵɵtemplate(3, PoTableComponent_div_3_Template, 3, 5, "div", 2);
@@ -17894,7 +18034,7 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17894
18034
  } }, 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 });
17895
18035
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
17896
18036
  type: Component,
17897
- 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" }]
18037
+ 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]=\"JSON.stringify(sortedColumn?.property) !== JSON.stringify(column)\"\n [class.po-table-header-icon-descending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && sortedColumn.ascending\n \"\n [class.po-table-header-icon-ascending]=\"\n JSON.stringify(sortedColumn?.property) === JSON.stringify(column) && !sortedColumn.ascending\n \"\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" }]
17898
18038
  }], function () { return [{ type: PoDateService }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }, { type: i1.DecimalPipe }, { type: i2.Router }, { type: PoTableService }]; }, { tableRowTemplate: [{
17899
18039
  type: ContentChild,
17900
18040
  args: [PoTableRowTemplateDirective, { static: true }]
@@ -17907,6 +18047,9 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17907
18047
  }], noColumnsHeader: [{
17908
18048
  type: ViewChild,
17909
18049
  args: ['noColumnsHeader', { read: ElementRef }]
18050
+ }], noColumnsHeaderFixed: [{
18051
+ type: ViewChild,
18052
+ args: ['noColumnsHeaderFixed', { read: ElementRef }]
17910
18053
  }], poPopupComponent: [{
17911
18054
  type: ViewChild,
17912
18055
  args: ['popup']
@@ -17928,9 +18071,15 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17928
18071
  }], columnManager: [{
17929
18072
  type: ViewChild,
17930
18073
  args: ['columnManager', { read: ElementRef, static: false }]
18074
+ }], columnManagerFixed: [{
18075
+ type: ViewChild,
18076
+ args: ['columnManagerFixed', { read: ElementRef, static: false }]
17931
18077
  }], columnActionLeft: [{
17932
18078
  type: ViewChild,
17933
18079
  args: ['columnActionLeft', { read: ElementRef, static: false }]
18080
+ }], columnActionLeftFixed: [{
18081
+ type: ViewChild,
18082
+ args: ['columnActionLeftFixed', { read: ElementRef, static: false }]
17934
18083
  }], actionsIconElement: [{
17935
18084
  type: ViewChildren,
17936
18085
  args: ['actionsIconElement', { read: ElementRef }]
@@ -17940,6 +18089,9 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
17940
18089
  }], columnManagerTarget: [{
17941
18090
  type: ViewChild,
17942
18091
  args: ['columnManagerTarget']
18092
+ }], columnManagerTargetFixed: [{
18093
+ type: ViewChild,
18094
+ args: ['columnManagerTargetFixed']
17943
18095
  }] }); })();
17944
18096
 
17945
18097
  /**
@@ -18169,6 +18321,8 @@ class PoComboBaseComponent {
18169
18321
  this.page = 1;
18170
18322
  this.pageSize = 10;
18171
18323
  this.loading = false;
18324
+ this.dynamicLabel = 'label';
18325
+ this.dynamicValue = 'value';
18172
18326
  this.cacheStaticOptions = [];
18173
18327
  this.comboOptionsList = [];
18174
18328
  this.onModelTouched = null;
@@ -18273,6 +18427,9 @@ class PoComboBaseComponent {
18273
18427
  * @default `value`
18274
18428
  */
18275
18429
  set fieldValue(value) {
18430
+ if (!this.service && !this.filterService) {
18431
+ this.dynamicValue = value;
18432
+ }
18276
18433
  this._fieldValue = value || PO_COMBO_FIELD_VALUE_DEFAULT;
18277
18434
  if (isTypeof(this.filterService, 'string') && this.service) {
18278
18435
  this.service.fieldValue = this._fieldValue;
@@ -18294,6 +18451,9 @@ class PoComboBaseComponent {
18294
18451
  * @default `label`
18295
18452
  */
18296
18453
  set fieldLabel(value) {
18454
+ if (!this.service && !this.filterService) {
18455
+ this.dynamicLabel = value;
18456
+ }
18297
18457
  this._fieldLabel = value || PO_COMBO_FIELD_LABEL_DEFAULT;
18298
18458
  if (isTypeof(this.filterService, 'string') && this.service) {
18299
18459
  this.service.fieldLabel = this._fieldLabel;
@@ -18372,14 +18532,16 @@ class PoComboBaseComponent {
18372
18532
  /**
18373
18533
  * Nesta propriedade define a lista de opções do `po-combo`.
18374
18534
  *
18375
- * > A lista pode ser definida em dois formatos, simples ou com agrupamentos.
18376
- * - Utilize `PoComboOption` para lista de opções simples.
18377
- * - Utilize `PoComboOptionGroup` para lista de opções com agrupamento.
18535
+ * > A lista pode ser definida utilizando um array com o valor representando o `value` e o `label` das seguintes formas:
18536
+ *
18537
+ * ```
18538
+ * <po-combo name="combo" p-label="PO Combo" [p-options]="[{value: 1, label: 'One'}, {value: 2, label: 'two'}]"> </po-combo>
18539
+ * ```
18540
+ *
18541
+ * ```
18542
+ * <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>
18543
+ * ```
18378
18544
  *
18379
- * **Importante:**
18380
- * - 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.
18381
- * - O componente interpretará o formato da lista de acordo com a interface utilizada e só exibirá as opções correspondentes à ela.
18382
- * - Um agrupamento só será exibido se houver pelo menos uma opção válida.
18383
18545
  * - Aconselha-se utilizar valores distintos no `label` e `value` dos itens.
18384
18546
  */
18385
18547
  set options(options) {
@@ -18477,6 +18639,8 @@ class PoComboBaseComponent {
18477
18639
  return this._options.length && this._options[0].hasOwnProperty('options');
18478
18640
  }
18479
18641
  ngOnInit() {
18642
+ this.dynamicValue = this.checkIfService('value');
18643
+ this.dynamicLabel = this.checkIfService('label');
18480
18644
  this.updateComboList();
18481
18645
  }
18482
18646
  onInitService() {
@@ -18507,27 +18671,27 @@ class PoComboBaseComponent {
18507
18671
  }
18508
18672
  }
18509
18673
  startsWith(search, option) {
18510
- return option.label.toLowerCase().startsWith(search.toLowerCase());
18674
+ return option[this.dynamicLabel].toLowerCase().startsWith(search.toLowerCase());
18511
18675
  }
18512
18676
  contains(search, option) {
18513
- return option.label.toLowerCase().indexOf(search.toLowerCase()) > -1;
18677
+ return option[this.dynamicLabel].toLowerCase().indexOf(search.toLowerCase()) > -1;
18514
18678
  }
18515
18679
  endsWith(search, option) {
18516
- return option.label.toLowerCase().endsWith(search.toLowerCase());
18680
+ return option[this.dynamicLabel].toLowerCase().endsWith(search.toLowerCase());
18517
18681
  }
18518
18682
  getOptionFromValue(value, options) {
18519
- return options ? options.find((option) => this.isEqual(option.value, value)) : null;
18683
+ return options ? options.find((option) => this.isEqual(option[this.dynamicValue], value)) : null;
18520
18684
  }
18521
18685
  getOptionFromLabel(label, options) {
18522
18686
  if (options) {
18523
- return options.find((option) => option.label.toString().toLowerCase() === label.toString().toLowerCase());
18687
+ return options.find((option) => option[this.dynamicLabel].toString().toLowerCase() === label.toString().toLowerCase());
18524
18688
  }
18525
18689
  else {
18526
18690
  return null;
18527
18691
  }
18528
18692
  }
18529
18693
  updateSelectedValue(option, isUpdateModel = true) {
18530
- const optionLabel = (option && option.label) || '';
18694
+ const optionLabel = (option && option[this.dynamicLabel]) || '';
18531
18695
  this.updateInternalVariables(option);
18532
18696
  // atualiza o valor do input quando for changeOnEnter apenas se for para atualizar o model.
18533
18697
  if (this.changeOnEnter && isUpdateModel) {
@@ -18537,7 +18701,7 @@ class PoComboBaseComponent {
18537
18701
  this.setInputValue(optionLabel);
18538
18702
  }
18539
18703
  if (isUpdateModel) {
18540
- const optionValue = option?.value !== undefined ? option.value : undefined;
18704
+ const optionValue = option?.[this.dynamicValue] !== undefined ? option[this.dynamicValue] : undefined;
18541
18705
  this.updateModel(optionValue);
18542
18706
  }
18543
18707
  }
@@ -18564,7 +18728,7 @@ class PoComboBaseComponent {
18564
18728
  addedOptionsGroupTitle = false;
18565
18729
  return (optionsGroupTitle = option);
18566
18730
  }
18567
- if (option.label && (this.compareMethod(search, option, filterMode) || this.service)) {
18731
+ if (option[this.dynamicLabel] && (this.compareMethod(search, option, filterMode) || this.service)) {
18568
18732
  if (this.isOptionGroupList && !addedOptionsGroupTitle) {
18569
18733
  newOptions.push(optionsGroupTitle);
18570
18734
  addedOptionsGroupTitle = true;
@@ -18584,7 +18748,7 @@ class PoComboBaseComponent {
18584
18748
  const newOptions = !options && !this.infiniteScroll && this.selectedValue ? [{ ...this.selectedOption }] : copyOptions;
18585
18749
  this.visibleOptions = newOptions;
18586
18750
  if (!this.selectedView && this.visibleOptions.length) {
18587
- this.selectedView = copyOptions.find(option => option.value !== undefined);
18751
+ this.selectedView = copyOptions.find(option => option[this.dynamicValue] !== undefined);
18588
18752
  }
18589
18753
  }
18590
18754
  getNextOption(value, options, reverse = false) {
@@ -18592,13 +18756,13 @@ class PoComboBaseComponent {
18592
18756
  let optionFound = null;
18593
18757
  let found = false;
18594
18758
  for (const option of optionsList) {
18595
- if (option.value && !optionFound) {
18759
+ if (option[this.dynamicValue] && !optionFound) {
18596
18760
  optionFound = option;
18597
18761
  }
18598
- if (option.value && found) {
18762
+ if (option[this.dynamicValue] && found) {
18599
18763
  return option;
18600
18764
  }
18601
- if (this.isEqual(option.value, value)) {
18765
+ if (this.isEqual(option[this.dynamicValue], value)) {
18602
18766
  found = true;
18603
18767
  }
18604
18768
  }
@@ -18621,17 +18785,17 @@ class PoComboBaseComponent {
18621
18785
  if (!this.service) {
18622
18786
  this.updateComboList([...this.cacheStaticOptions]);
18623
18787
  }
18624
- if (optionFound && optionFound.value !== this.selectedValue) {
18788
+ if (optionFound && optionFound[this.dynamicValue] !== this.selectedValue) {
18625
18789
  this.updateSelectedValue(optionFound);
18626
- this.previousSearchValue = optionFound.label;
18790
+ this.previousSearchValue = optionFound[this.dynamicLabel];
18627
18791
  }
18628
- else if (this.selectedValue && this.selectedOption && this.selectedOption.label !== inputValue) {
18792
+ else if (this.selectedValue && this.selectedOption && this.selectedOption[this.dynamicLabel] !== inputValue) {
18629
18793
  this.updateSelectedValueWithOldOption();
18630
- this.previousSearchValue = this.selectedOption.label;
18794
+ this.previousSearchValue = this.selectedOption[this.dynamicLabel];
18631
18795
  return;
18632
18796
  }
18633
18797
  else if (inputValue && !optionFound) {
18634
- const isInputValueDiffSelectedLabel = !!(this.selectedOption && this.selectedOption.label !== inputValue);
18798
+ const isInputValueDiffSelectedLabel = !!(this.selectedOption && this.selectedOption[this.dynamicLabel] !== inputValue);
18635
18799
  this.updateSelectedValue(null, isInputValueDiffSelectedLabel || this.changeOnEnter);
18636
18800
  this.previousSearchValue = '';
18637
18801
  return;
@@ -18712,17 +18876,33 @@ class PoComboBaseComponent {
18712
18876
  this.cacheStaticOptions = this.comboOptionsList;
18713
18877
  this.updateComboList();
18714
18878
  }
18715
- compareOptions(optionA, optionB) {
18716
- const labelA = optionA.label.toString().toLowerCase();
18717
- const labelB = optionB.label.toString().toLowerCase();
18718
- return labelA < labelB ? -1 : labelA > labelB ? 1 : 0;
18879
+ checkIfService(dynamicValue) {
18880
+ if ((this.service || this.filterService) && dynamicValue === 'label') {
18881
+ return PO_COMBO_FIELD_LABEL_DEFAULT;
18882
+ }
18883
+ if ((this.service || this.filterService) && dynamicValue === 'value') {
18884
+ return PO_COMBO_FIELD_VALUE_DEFAULT;
18885
+ }
18886
+ if (!this.service && dynamicValue === 'label') {
18887
+ return this.fieldLabel;
18888
+ }
18889
+ if (!this.service && dynamicValue === 'value') {
18890
+ return this.fieldValue;
18891
+ }
18892
+ }
18893
+ compareOptions(dynamicLabel) {
18894
+ return function (optionA, optionB) {
18895
+ const labelA = optionA[dynamicLabel].toString().toLowerCase();
18896
+ const labelB = optionB[dynamicLabel].toString().toLowerCase();
18897
+ return labelA < labelB ? -1 : labelA > labelB ? 1 : 0;
18898
+ };
18719
18899
  }
18720
18900
  hasDuplicatedOption(options, currentOption, accumulatedGroupOptions) {
18721
18901
  if (accumulatedGroupOptions) {
18722
- return accumulatedGroupOptions.some(option => option.label === currentOption);
18902
+ return accumulatedGroupOptions.some(option => option[this.dynamicLabel] === currentOption);
18723
18903
  }
18724
18904
  else {
18725
- return options.some(option => option.value === currentOption);
18905
+ return options.some(option => option[this.dynamicValue] === currentOption);
18726
18906
  }
18727
18907
  }
18728
18908
  listingComboOptions(comboOptions) {
@@ -18736,20 +18916,21 @@ class PoComboBaseComponent {
18736
18916
  }
18737
18917
  sortOptions(comboOptionsList) {
18738
18918
  if (comboOptionsList.length > 0 && this.sort) {
18739
- return comboOptionsList.sort(this.compareOptions);
18919
+ return comboOptionsList.sort(this.compareOptions(this.dynamicLabel));
18740
18920
  }
18741
18921
  }
18742
18922
  validateValue(currentOption, verifyingOptionsGroup = false) {
18743
- const { label, options, value } = currentOption;
18923
+ const { options } = currentOption;
18744
18924
  if (this.isOptionGroupList) {
18745
- return ((validValue(label) && options && options.length > 0) || (verifyingOptionsGroup === true && validValue(value)));
18925
+ return ((validValue(currentOption[this.dynamicLabel]) && options && options.length > 0) ||
18926
+ (verifyingOptionsGroup === true && validValue(currentOption[this.dynamicValue])));
18746
18927
  }
18747
- return validValue(value) && !options;
18928
+ return validValue(currentOption[this.dynamicValue]) && !options;
18748
18929
  }
18749
18930
  verifyComboOptions(comboOptions, verifyingOptionsGroup = false, accumulatedGroupOptions) {
18750
18931
  return comboOptions.reduce((accumulatedOptions, currentOption) => {
18751
18932
  if (!this.verifyIfHasLabel(currentOption) ||
18752
- this.hasDuplicatedOption(accumulatedOptions, currentOption['value'] || currentOption['label'], accumulatedGroupOptions) ||
18933
+ this.hasDuplicatedOption(accumulatedOptions, currentOption[this.dynamicValue] || currentOption[this.dynamicLabel], accumulatedGroupOptions) ||
18753
18934
  !this.validateValue(currentOption, verifyingOptionsGroup)) {
18754
18935
  return accumulatedOptions;
18755
18936
  }
@@ -18759,22 +18940,24 @@ class PoComboBaseComponent {
18759
18940
  }
18760
18941
  verifyComboOptionsGroup(comboOptionsList) {
18761
18942
  return comboOptionsList.reduce((accumulatedGroupOptions, currentOption) => {
18762
- const { options, label } = currentOption;
18943
+ const { options } = currentOption;
18763
18944
  const verifiedComboOptionsGroupList = this.verifyComboOptions(options, true, accumulatedGroupOptions);
18764
18945
  if (verifiedComboOptionsGroupList.length > 0) {
18765
18946
  this.sortOptions(verifiedComboOptionsGroupList);
18766
- accumulatedGroupOptions.push({ label: label, options: true }, ...verifiedComboOptionsGroupList);
18947
+ accumulatedGroupOptions.push({ label: currentOption[this.dynamicLabel], options: true }, ...verifiedComboOptionsGroupList);
18767
18948
  }
18768
18949
  return accumulatedGroupOptions;
18769
18950
  }, []);
18770
18951
  }
18771
18952
  verifyIfHasLabel(currentOption = {}) {
18772
- const { label, options, value } = currentOption;
18773
- if ((this.isOptionGroupList && options && !label) || (!label && !value) || (!this.isOptionGroupList && options)) {
18953
+ const { options } = currentOption;
18954
+ if ((this.isOptionGroupList && options && !currentOption[this.dynamicLabel]) ||
18955
+ (!currentOption[this.dynamicLabel] && !currentOption[this.dynamicValue]) ||
18956
+ (!this.isOptionGroupList && options)) {
18774
18957
  return false;
18775
18958
  }
18776
- if (!currentOption.label) {
18777
- currentOption.label = currentOption.value.toString();
18959
+ if (!currentOption[this.dynamicLabel]) {
18960
+ currentOption[this.dynamicLabel] = currentOption[this.dynamicValue].toString();
18778
18961
  return true;
18779
18962
  }
18780
18963
  return true;
@@ -18801,7 +18984,7 @@ class PoComboBaseComponent {
18801
18984
  }
18802
18985
  updateSelectedValueWithOldOption() {
18803
18986
  const oldOption = this.getOptionFromValue(this.selectedValue, this.comboOptionsList);
18804
- if (oldOption && oldOption.label) {
18987
+ if (oldOption && oldOption[this.dynamicLabel]) {
18805
18988
  return this.updateSelectedValue(oldOption);
18806
18989
  }
18807
18990
  }
@@ -19127,8 +19310,9 @@ function PoComboComponent_ng_template_18_li_3_ng_template_2_label_0_Template(rf,
19127
19310
  i0.ɵɵelementEnd();
19128
19311
  } if (rf & 2) {
19129
19312
  const option_r21 = i0.ɵɵnextContext(2).$implicit;
19313
+ const ctx_r27 = i0.ɵɵnextContext(2);
19130
19314
  i0.ɵɵadvance(1);
19131
- i0.ɵɵtextInterpolate(option_r21.label);
19315
+ i0.ɵɵtextInterpolate(option_r21[ctx_r27.dynamicLabel]);
19132
19316
  } }
19133
19317
  function PoComboComponent_ng_template_18_li_3_ng_template_2_ng_template_1_Template(rf, ctx) { if (rf & 1) {
19134
19318
  i0.ɵɵelementStart(0, "a", 29);
@@ -19138,7 +19322,7 @@ function PoComboComponent_ng_template_18_li_3_ng_template_2_ng_template_1_Templa
19138
19322
  const option_r21 = i0.ɵɵnextContext(2).$implicit;
19139
19323
  const ctx_r29 = i0.ɵɵnextContext(2);
19140
19324
  i0.ɵɵadvance(1);
19141
- i0.ɵɵproperty("innerHTML", ctx_r29.getLabelFormatted(option_r21 == null ? null : option_r21.label), i0.ɵɵsanitizeHtml);
19325
+ i0.ɵɵproperty("innerHTML", ctx_r29.getLabelFormatted(option_r21 == null ? null : option_r21[ctx_r29.dynamicLabel]), i0.ɵɵsanitizeHtml);
19142
19326
  } }
19143
19327
  function PoComboComponent_ng_template_18_li_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
19144
19328
  i0.ɵɵtemplate(0, PoComboComponent_ng_template_18_li_3_ng_template_2_label_0_Template, 2, 1, "label", 26);
@@ -19470,7 +19654,7 @@ class PoComboComponent extends PoComboBaseComponent {
19470
19654
  }
19471
19655
  }
19472
19656
  controlApplyFilter(value) {
19473
- if (!this.isProcessingValueByTab && (!this.selectedOption || value !== this.selectedOption.label)) {
19657
+ if (!this.isProcessingValueByTab && (!this.selectedOption || value !== this.selectedOption[this.dynamicLabel])) {
19474
19658
  this.defaultService.hasNext = true;
19475
19659
  this.page = this.setPage();
19476
19660
  this.options = [];
@@ -19485,7 +19669,7 @@ class PoComboComponent extends PoComboBaseComponent {
19485
19669
  const param = this.infiniteScroll
19486
19670
  ? { property: this.fieldLabel, value, page: this.page, pageSize: this.pageSize }
19487
19671
  : { property: this.fieldLabel, value };
19488
- this.filterSubscription = this.service.getFilteredData(param, this.filterParams).subscribe(items => this.setOptionsByApplyFilter(value, items, reset), error => this.onErrorFilteredData());
19672
+ this.filterSubscription = this.service?.getFilteredData(param, this.filterParams).subscribe(items => this.setOptionsByApplyFilter(value, items, reset), error => this.onErrorFilteredData());
19489
19673
  }
19490
19674
  }
19491
19675
  setOptionsByApplyFilter(value, items, reset = false) {
@@ -19502,7 +19686,7 @@ class PoComboComponent extends PoComboBaseComponent {
19502
19686
  }
19503
19687
  }
19504
19688
  getObjectByValue(value) {
19505
- if (this.selectedValue !== value && this.selectedOption?.label !== value) {
19689
+ if (this.selectedValue !== value && this.selectedOption?.[this.dynamicLabel] !== value) {
19506
19690
  this.isProcessingValueByTab = true;
19507
19691
  this.getSubscription = this.service.getObjectByValue(value, this.filterParams).subscribe(item => this.updateOptionByFilteredValue(item), error => this.onErrorGetObjectByValue());
19508
19692
  }
@@ -19520,26 +19704,26 @@ class PoComboComponent extends PoComboBaseComponent {
19520
19704
  }, this.debounceTime);
19521
19705
  }
19522
19706
  selectPreviousOption() {
19523
- const currentViewValue = this.selectedView && this.selectedView.value;
19707
+ const currentViewValue = this.selectedView && this.selectedView[this.dynamicValue];
19524
19708
  if (currentViewValue) {
19525
19709
  const nextOption = this.getNextOption(currentViewValue, this.visibleOptions, true);
19526
- this.updateSelectedValue(nextOption, nextOption && nextOption.value !== currentViewValue && !this.changeOnEnter);
19710
+ this.updateSelectedValue(nextOption, nextOption && nextOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19527
19711
  }
19528
19712
  else if (this.visibleOptions.length) {
19529
19713
  const visibleOption = this.visibleOptions[this.visibleOptions.length - 1];
19530
- this.updateSelectedValue(visibleOption, visibleOption.value !== currentViewValue && !this.changeOnEnter);
19714
+ this.updateSelectedValue(visibleOption, visibleOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19531
19715
  }
19532
19716
  }
19533
19717
  selectNextOption() {
19534
- const currentViewValue = this.selectedView && this.selectedView.value;
19718
+ const currentViewValue = this.selectedView && this.selectedView[this.dynamicValue];
19535
19719
  if (currentViewValue) {
19536
19720
  const nextOption = this.getNextOption(currentViewValue, this.visibleOptions);
19537
- this.updateSelectedValue(nextOption, nextOption && nextOption.value !== currentViewValue && !this.changeOnEnter);
19721
+ this.updateSelectedValue(nextOption, nextOption && nextOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19538
19722
  }
19539
19723
  else if (this.visibleOptions.length) {
19540
19724
  const index = this.changeOnEnter ? 1 : 0;
19541
19725
  const visibleOption = this.visibleOptions[index];
19542
- this.updateSelectedValue(visibleOption, visibleOption.value !== currentViewValue && !this.changeOnEnter);
19726
+ this.updateSelectedValue(visibleOption, visibleOption[this.dynamicValue] !== currentViewValue && !this.changeOnEnter);
19543
19727
  }
19544
19728
  }
19545
19729
  toggleComboVisibility() {
@@ -19563,7 +19747,8 @@ class PoComboComponent extends PoComboBaseComponent {
19563
19747
  }
19564
19748
  onOptionClick(option, event) {
19565
19749
  const inputValue = this.getInputValue();
19566
- const isUpdateModel = option.value !== this.selectedValue || !!(this.selectedView && inputValue !== this.selectedView.label);
19750
+ const isUpdateModel = option[this.dynamicValue] !== this.selectedValue ||
19751
+ !!(this.selectedView && inputValue !== this.selectedView[this.dynamicLabel]);
19567
19752
  if (event) {
19568
19753
  event.stopPropagation();
19569
19754
  }
@@ -19572,7 +19757,7 @@ class PoComboComponent extends PoComboBaseComponent {
19572
19757
  if (!this.service) {
19573
19758
  this.updateComboList([...this.cacheStaticOptions]);
19574
19759
  }
19575
- this.previousSearchValue = this.selectedView.label;
19760
+ this.previousSearchValue = this.selectedView[this.dynamicLabel];
19576
19761
  }
19577
19762
  scrollTo(index) {
19578
19763
  const selectedItem = this.element.nativeElement.querySelectorAll('.po-combo-item-selected');
@@ -19877,7 +20062,7 @@ PoComboComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoComboCom
19877
20062
  useExisting: forwardRef(() => PoComboComponent),
19878
20063
  multi: true
19879
20064
  }
19880
- ], 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" }]
20065
+ ], 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" }]
19881
20066
  }], function () { return [{ type: i0.ElementRef }, { type: i0.IterableDiffers }, { type: PoComboFilterService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: PoControlPositionService }, { type: i3.DomSanitizer }, { type: PoLanguageService }]; }, { comboOptionTemplate: [{
19882
20067
  type: ContentChild,
19883
20068
  args: [PoComboOptionTemplateDirective, { static: true }]
@@ -20205,6 +20390,26 @@ class PoDatepickerRangeBaseComponent {
20205
20390
  get startDate() {
20206
20391
  return this._startDate;
20207
20392
  }
20393
+ /**
20394
+ * @optional
20395
+ *
20396
+ * @description
20397
+ *
20398
+ * Idioma que o calendário utilizará para exibir as datas.
20399
+ *
20400
+ * > O locale padrão será recuperado com base no [`PoI18nService`](/documentation/po-i18n) ou *browser*.
20401
+ */
20402
+ set locale(value) {
20403
+ if (value) {
20404
+ this._locale = value.length >= 2 ? value : poLocaleDefault;
20405
+ }
20406
+ else {
20407
+ this._locale = this.language;
20408
+ }
20409
+ }
20410
+ get locale() {
20411
+ return this._locale || this.language;
20412
+ }
20208
20413
  // Função implementada do ControlValueAccessor
20209
20414
  // Usada para interceptar os estados de habilitado via forms api
20210
20415
  setDisabledState(isDisabled) {
@@ -20368,7 +20573,7 @@ class PoDatepickerRangeBaseComponent {
20368
20573
  }
20369
20574
  }
20370
20575
  PoDatepickerRangeBaseComponent.ɵfac = function PoDatepickerRangeBaseComponent_Factory(t) { return new (t || PoDatepickerRangeBaseComponent)(i0.ɵɵdirectiveInject(PoDateService), i0.ɵɵdirectiveInject(PoLanguageService)); };
20371
- 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" } });
20576
+ 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" } });
20372
20577
  __decorate([
20373
20578
  InputBoolean()
20374
20579
  ], PoDatepickerRangeBaseComponent.prototype, "autoFocus", void 0);
@@ -20419,6 +20624,9 @@ __decorate([
20419
20624
  }], startDate: [{
20420
20625
  type: Input,
20421
20626
  args: ['p-start-date']
20627
+ }], locale: [{
20628
+ type: Input,
20629
+ args: ['p-locale']
20422
20630
  }] }); })();
20423
20631
 
20424
20632
  const _c0$U = ["dateRangeField"];
@@ -20442,7 +20650,7 @@ function PoDatepickerRangeComponent_ng_container_17_Template(rf, ctx) { if (rf &
20442
20650
  } if (rf & 2) {
20443
20651
  const ctx_r5 = i0.ɵɵnextContext();
20444
20652
  i0.ɵɵadvance(3);
20445
- i0.ɵɵproperty("ngModel", ctx_r5.dateRange)("p-max-date", ctx_r5.maxDate)("p-min-date", ctx_r5.minDate);
20653
+ i0.ɵɵproperty("ngModel", ctx_r5.dateRange)("p-max-date", ctx_r5.maxDate)("p-min-date", ctx_r5.minDate)("p-locale", ctx_r5.locale);
20446
20654
  } }
20447
20655
  const arrowLeftKey = 37;
20448
20656
  const arrowRightKey = 39;
@@ -20867,7 +21075,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
20867
21075
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.startDateInput = _t.first);
20868
21076
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconCalendar = _t.first);
20869
21077
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.calendarPicker = _t.first);
20870
- } }, 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) {
21078
+ } }, 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) {
20871
21079
  i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1, 2)(3, "div", 3)(4, "input", 4, 5);
20872
21080
  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); });
20873
21081
  i0.ɵɵelementEnd()();
@@ -20885,7 +21093,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
20885
21093
  i0.ɵɵelementEnd()()();
20886
21094
  i0.ɵɵelement(16, "po-field-container-bottom", 13);
20887
21095
  i0.ɵɵelementEnd();
20888
- i0.ɵɵtemplate(17, PoDatepickerRangeComponent_ng_container_17_Template, 4, 3, "ng-container", 14);
21096
+ i0.ɵɵtemplate(17, PoDatepickerRangeComponent_ng_container_17_Template, 4, 4, "ng-container", 14);
20889
21097
  } if (rf & 2) {
20890
21098
  i0.ɵɵproperty("p-help", ctx.help)("p-label", ctx.label)("p-optional", !ctx.required && ctx.optional);
20891
21099
  i0.ɵɵadvance(1);
@@ -20905,7 +21113,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
20905
21113
  } }, dependencies: [i1.NgIf, i2$1.NgControlStatus, i2$1.NgModel, PoCleanComponent, PoCalendarComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent], encapsulation: 2, changeDetection: 0 });
20906
21114
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDatepickerRangeComponent, [{
20907
21115
  type: Component,
20908
- 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" }]
21116
+ 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" }]
20909
21117
  }], function () { return [{ type: i0.ChangeDetectorRef }, { type: PoControlPositionService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: PoDateService }, { type: i0.ElementRef }, { type: PoLanguageService }]; }, { dateRangeField: [{
20910
21118
  type: ViewChild,
20911
21119
  args: ['dateRangeField', { read: ElementRef, static: true }]
@@ -22542,6 +22750,26 @@ class PoLookupBaseComponent {
22542
22750
  * Por parâmetro será passado o novo valor.
22543
22751
  */
22544
22752
  this.change = new EventEmitter();
22753
+ /**
22754
+ * @optional
22755
+ *
22756
+ * @description
22757
+ * Evento disparado ao fechar o popover do gerenciador de colunas após alterar as colunas visíveis.
22758
+ *
22759
+ * O componente envia como parâmetro um array de string com as colunas visíveis atualizadas.
22760
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
22761
+ */
22762
+ this.changeVisibleColumns = new EventEmitter();
22763
+ /**
22764
+ * @optional
22765
+ *
22766
+ * @description
22767
+ * Evento disparado ao clicar no botão de restaurar padrão no gerenciador de colunas.
22768
+ *
22769
+ * O componente envia como parâmetro um array de string com as colunas configuradas inicialmente.
22770
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
22771
+ */
22772
+ this.columnRestoreManager = new EventEmitter();
22545
22773
  this.selectedOptions = [];
22546
22774
  this.oldValue = '';
22547
22775
  this.oldValueToModel = null;
@@ -22851,7 +23079,7 @@ class PoLookupBaseComponent {
22851
23079
  }
22852
23080
  }
22853
23081
  PoLookupBaseComponent.ɵfac = function PoLookupBaseComponent_Factory(t) { return new (t || PoLookupBaseComponent)(i0.ɵɵdirectiveInject(PoLookupFilterService), i0.ɵɵdirectiveInject(Injector)); };
22854
- 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] });
23082
+ 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] });
22855
23083
  __decorate([
22856
23084
  InputBoolean()
22857
23085
  ], PoLookupBaseComponent.prototype, "autoFocus", void 0);
@@ -22932,6 +23160,12 @@ __decorate([
22932
23160
  }], change: [{
22933
23161
  type: Output,
22934
23162
  args: ['p-change']
23163
+ }], changeVisibleColumns: [{
23164
+ type: Output,
23165
+ args: ['p-change-visible-columns']
23166
+ }], columnRestoreManager: [{
23167
+ type: Output,
23168
+ args: ['p-restore-column-manager']
22935
23169
  }], filterService: [{
22936
23170
  type: Input,
22937
23171
  args: ['p-filter-service']
@@ -23022,6 +23256,26 @@ class PoLookupModalBaseComponent {
23022
23256
  this.multiple = false;
23023
23257
  /** Evento utilizado ao selecionar um registro da tabela. */
23024
23258
  this.model = new EventEmitter();
23259
+ /**
23260
+ * @optional
23261
+ *
23262
+ * @description
23263
+ * Evento disparado ao fechar o popover do gerenciador de colunas após alterar as colunas visíveis.
23264
+ *
23265
+ * O componente envia como parâmetro um array de string com as colunas visíveis atualizadas.
23266
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
23267
+ */
23268
+ this.changeVisibleColumns = new EventEmitter();
23269
+ /**
23270
+ * @optional
23271
+ *
23272
+ * @description
23273
+ * Evento disparado ao clicar no botão de restaurar padrão no gerenciador de colunas.
23274
+ *
23275
+ * O componente envia como parâmetro um array de string com as colunas configuradas inicialmente.
23276
+ * Por exemplo: ["idCard", "name", "hireStatus", "age"].
23277
+ */
23278
+ this.columnRestoreManager = new EventEmitter();
23025
23279
  this.hasNext = true;
23026
23280
  this.isLoading = false;
23027
23281
  this.page = 1;
@@ -23279,7 +23533,7 @@ PoLookupModalBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type:
23279
23533
  let _t;
23280
23534
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poModal = _t.first);
23281
23535
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTable = _t.first);
23282
- } }, 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" } });
23536
+ } }, 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" } });
23283
23537
  __decorate([
23284
23538
  InputBoolean()
23285
23539
  ], PoLookupModalBaseComponent.prototype, "infiniteScroll", void 0);
@@ -23327,6 +23581,12 @@ __decorate([
23327
23581
  }], fieldValue: [{
23328
23582
  type: Input,
23329
23583
  args: ['p-field-value']
23584
+ }], changeVisibleColumns: [{
23585
+ type: Output,
23586
+ args: ['p-change-visible-columns']
23587
+ }], columnRestoreManager: [{
23588
+ type: Output,
23589
+ args: ['p-restore-column-manager']
23330
23590
  }], literals: [{
23331
23591
  type: Input,
23332
23592
  args: ['p-literals']
@@ -23900,7 +24160,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
23900
24160
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTable = _t.first);
23901
24161
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputSearchEl = _t.first);
23902
24162
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
23903
- } }, 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) {
24163
+ } }, 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) {
23904
24164
  i0.ɵɵelementStart(0, "po-modal", 0)(1, "div", 1)(2, "po-field-container", 2)(3, "div", 3)(4, "div", 4)(5, "span", 5, 6);
23905
24165
  i0.ɵɵlistener("click", function PoLookupModalComponent_Template_span_click_5_listener() { return ctx.search(); });
23906
24166
  i0.ɵɵelementEnd()();
@@ -23911,7 +24171,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
23911
24171
  i0.ɵɵelementEnd();
23912
24172
  i0.ɵɵtemplate(10, PoLookupModalComponent_po_disclaimer_group_10_Template, 1, 2, "po-disclaimer-group", 10);
23913
24173
  i0.ɵɵelementStart(11, "div", 11)(12, "po-table", 12, 13);
23914
- 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); });
24174
+ 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); });
23915
24175
  i0.ɵɵelementEnd()();
23916
24176
  i0.ɵɵtemplate(14, PoLookupModalComponent_po_disclaimer_group_14_Template, 1, 1, "po-disclaimer-group", 14);
23917
24177
  i0.ɵɵelementEnd();
@@ -23941,7 +24201,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
23941
24201
  } }, dependencies: [i1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, PoDisclaimerGroupComponent, PoFieldContainerComponent, PoModalComponent, PoTableComponent], encapsulation: 2, changeDetection: 0 });
23942
24202
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupModalComponent, [{
23943
24203
  type: Component,
23944
- 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" }]
24204
+ 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" }]
23945
24205
  }], function () { return [{ type: i0.ComponentFactoryResolver }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }]; }, { poTable: [{
23946
24206
  type: ViewChild,
23947
24207
  args: [PoTableComponent, { static: true }]
@@ -23976,9 +24236,11 @@ class PoLookupModalService {
23976
24236
  * @param selectedItems {any} Valor que está selecionado que será repassado para o modal para apresentar na tabela.
23977
24237
  * @param fieldLabel {string} Valor que será utilizado como descrição do campo.
23978
24238
  * @param fieldValue {string} Valor que será utilizado como valor do campo.
24239
+ * @param changeVisibleColumns {function} Função que será executada quando for alterada a visibilidade das colunas.
24240
+ * @param columnRestoreManager {function} Função que será executada quando for restaurar as colunas padrão.
23979
24241
  */
23980
24242
  openModal(params) {
23981
- const { advancedFilters, service, columns, filterParams, title, literals, infiniteScroll, multiple, selectedItems, fieldLabel, fieldValue } = params;
24243
+ const { advancedFilters, service, columns, filterParams, title, literals, infiniteScroll, multiple, selectedItems, fieldLabel, fieldValue, changeVisibleColumns, columnRestoreManager } = params;
23982
24244
  this.componentRef = this.poComponentInjector.createComponentInApplication(PoLookupModalComponent);
23983
24245
  this.componentRef.instance.advancedFilters = advancedFilters;
23984
24246
  this.componentRef.instance.title = title;
@@ -23994,6 +24256,8 @@ class PoLookupModalService {
23994
24256
  this.componentRef.instance.selectedItems = selectedItems;
23995
24257
  this.componentRef.instance.fieldLabel = fieldLabel;
23996
24258
  this.componentRef.instance.fieldValue = fieldValue;
24259
+ this.componentRef.instance.changeVisibleColumns = changeVisibleColumns;
24260
+ this.componentRef.instance.columnRestoreManager = columnRestoreManager;
23997
24261
  this.componentRef.changeDetectorRef.detectChanges();
23998
24262
  this.componentRef.instance.openModal();
23999
24263
  }
@@ -24226,7 +24490,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
24226
24490
  }
24227
24491
  openLookup() {
24228
24492
  if (this.isAllowedOpenModal()) {
24229
- const { advancedFilters, service, columns, filterParams, literals, infiniteScroll, multiple, fieldLabel, fieldValue } = this;
24493
+ const { advancedFilters, service, columns, filterParams, literals, infiniteScroll, multiple, fieldLabel, fieldValue, changeVisibleColumns, columnRestoreManager } = this;
24230
24494
  const selectedItems = this.checkSelectedItems();
24231
24495
  this.poLookupModalService.openModal({
24232
24496
  advancedFilters,
@@ -24239,7 +24503,9 @@ class PoLookupComponent extends PoLookupBaseComponent {
24239
24503
  multiple,
24240
24504
  selectedItems,
24241
24505
  fieldLabel,
24242
- fieldValue
24506
+ fieldValue,
24507
+ changeVisibleColumns,
24508
+ columnRestoreManager
24243
24509
  });
24244
24510
  if (!this.modalSubscription) {
24245
24511
  this.modalSubscription = this.poLookupModalService.selectValueEvent.subscribe(selectedOptions => {
@@ -25454,7 +25720,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
25454
25720
  this.initialized = true;
25455
25721
  }
25456
25722
  ngOnChanges(changes) {
25457
- if (changes.filterService || changes.fieldValue || changes.fieldLabel) {
25723
+ if (this.filterService && (changes.filterService || changes.fieldValue || changes.fieldLabel)) {
25458
25724
  this.setService(this.filterService);
25459
25725
  }
25460
25726
  }
@@ -26633,7 +26899,8 @@ class PoUploadBaseService {
26633
26899
  }
26634
26900
  }
26635
26901
  sendFile(url, file, headers, formData, uploadCallback, successCallback, errorCallback) {
26636
- const request = this.getRequest(url, headers, formData).subscribe(event => {
26902
+ let request = new Subscription();
26903
+ request = this.getRequest(url, headers, formData).subscribe(event => {
26637
26904
  if (event.type === HttpEventType.UploadProgress) {
26638
26905
  this.addRequest(file, request);
26639
26906
  const percentDone = Math.round((100 * event.loaded) / event.total);
@@ -29017,7 +29284,7 @@ function PoRichTextToolbarComponent_div_5_Template(rf, ctx) { if (rf & 1) {
29017
29284
  } if (rf & 2) {
29018
29285
  const ctx_r2 = i0.ɵɵnextContext();
29019
29286
  i0.ɵɵadvance(1);
29020
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx_r2.alignButtons);
29287
+ i0.ɵɵproperty("p-buttons", ctx_r2.alignButtons);
29021
29288
  } }
29022
29289
  const poRichTextDefaultColor = '#000000';
29023
29290
  class PoRichTextToolbarComponent {
@@ -29179,12 +29446,12 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
29179
29446
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.toolbarElement = _t.first);
29180
29447
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextImageModal = _t.first);
29181
29448
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextLinkModal = _t.first);
29182
- } }, 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) {
29449
+ } }, 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) {
29183
29450
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
29184
29451
  i0.ɵɵelement(3, "po-button-group", 3);
29185
29452
  i0.ɵɵelementEnd();
29186
29453
  i0.ɵɵtemplate(4, PoRichTextToolbarComponent_div_4_Template, 5, 5, "div", 4);
29187
- i0.ɵɵtemplate(5, PoRichTextToolbarComponent_div_5_Template, 2, 2, "div", 5);
29454
+ i0.ɵɵtemplate(5, PoRichTextToolbarComponent_div_5_Template, 2, 1, "div", 5);
29188
29455
  i0.ɵɵelementStart(6, "div", 6);
29189
29456
  i0.ɵɵelement(7, "po-button-group", 7);
29190
29457
  i0.ɵɵelementEnd();
@@ -29202,21 +29469,21 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
29202
29469
  i0.ɵɵelementEnd();
29203
29470
  } if (rf & 2) {
29204
29471
  i0.ɵɵadvance(3);
29205
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.formatButtons);
29472
+ i0.ɵɵproperty("p-buttons", ctx.formatButtons);
29206
29473
  i0.ɵɵadvance(1);
29207
29474
  i0.ɵɵproperty("ngIf", !ctx.isInternetExplorer);
29208
29475
  i0.ɵɵadvance(1);
29209
29476
  i0.ɵɵproperty("ngIf", !ctx.disabledTextAlign);
29210
29477
  i0.ɵɵadvance(2);
29211
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.listButtons);
29478
+ i0.ɵɵproperty("p-buttons", ctx.listButtons);
29212
29479
  i0.ɵɵadvance(2);
29213
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.linkButtons);
29480
+ i0.ɵɵproperty("p-buttons", ctx.linkButtons);
29214
29481
  i0.ɵɵadvance(2);
29215
- i0.ɵɵproperty("p-small", true)("p-buttons", ctx.mediaButtons);
29482
+ i0.ɵɵproperty("p-buttons", ctx.mediaButtons);
29216
29483
  } }, dependencies: [i1.NgIf, PoButtonGroupComponent, PoTooltipDirective, PoRichTextImageModalComponent, PoRichTextLinkModalComponent], encapsulation: 2 });
29217
29484
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRichTextToolbarComponent, [{
29218
29485
  type: Component,
29219
- 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" }]
29486
+ 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" }]
29220
29487
  }], function () { return [{ type: PoLanguageService }]; }, { colorPickerInput: [{
29221
29488
  type: ViewChild,
29222
29489
  args: ['colorPickerInput', { read: ElementRef }]
@@ -30344,9 +30611,9 @@ function PoSelectComponent_option_4_Template(rf, ctx) { if (rf & 1) {
30344
30611
  } if (rf & 2) {
30345
30612
  const option_r7 = ctx.$implicit;
30346
30613
  const ctx_r2 = i0.ɵɵnextContext();
30347
- i0.ɵɵproperty("disabled", ctx_r2.readonly)("value", option_r7.value);
30614
+ i0.ɵɵproperty("disabled", ctx_r2.readonly)("value", option_r7 == null ? null : option_r7[ctx_r2.fieldValue]);
30348
30615
  i0.ɵɵadvance(1);
30349
- i0.ɵɵtextInterpolate1(" ", option_r7 == null ? null : option_r7.label, " ");
30616
+ i0.ɵɵtextInterpolate1(" ", option_r7 == null ? null : option_r7[ctx_r2.fieldLabel], " ");
30350
30617
  } }
30351
30618
  function PoSelectComponent_li_15_ng_container_2_Template(rf, ctx) { if (rf & 1) {
30352
30619
  i0.ɵɵelementContainer(0);
@@ -30357,8 +30624,9 @@ function PoSelectComponent_li_15_ng_template_3_Template(rf, ctx) { if (rf & 1) {
30357
30624
  i0.ɵɵelementEnd();
30358
30625
  } if (rf & 2) {
30359
30626
  const option_r10 = i0.ɵɵnextContext().$implicit;
30627
+ const ctx_r13 = i0.ɵɵnextContext();
30360
30628
  i0.ɵɵadvance(1);
30361
- i0.ɵɵtextInterpolate(option_r10 == null ? null : option_r10.label);
30629
+ i0.ɵɵtextInterpolate(option_r10 == null ? null : option_r10[ctx_r13.fieldLabel]);
30362
30630
  } }
30363
30631
  function PoSelectComponent_li_15_ng_template_5_Template(rf, ctx) { }
30364
30632
  const _c4$1 = function (a0) { return { $implicit: a0 }; };
@@ -30376,8 +30644,8 @@ function PoSelectComponent_li_15_Template(rf, ctx) { if (rf & 1) {
30376
30644
  const _r12 = i0.ɵɵreference(4);
30377
30645
  const _r14 = i0.ɵɵreference(6);
30378
30646
  const ctx_r6 = i0.ɵɵnextContext();
30379
- i0.ɵɵclassProp("po-select-item-selected", ctx_r6.selectedValue === option_r10.value);
30380
- i0.ɵɵproperty("value", option_r10.value);
30647
+ i0.ɵɵclassProp("po-select-item-selected", ctx_r6.selectedValue === (option_r10 == null ? null : option_r10[ctx_r6.fieldLabel]));
30648
+ i0.ɵɵproperty("value", option_r10 == null ? null : option_r10[ctx_r6.fieldValue]);
30381
30649
  i0.ɵɵadvance(2);
30382
30650
  i0.ɵɵproperty("ngIf", ctx_r6.selectOptionTemplate)("ngIfThen", _r14)("ngIfElse", _r12);
30383
30651
  i0.ɵɵadvance(3);
@@ -30389,6 +30657,8 @@ const _c7 = function (a0, a1) { return { "po-field-icon-disabled": a0, "po-field
30389
30657
  const _c8 = function (a0) { return { "po-invisible": a0 }; };
30390
30658
  const poSelectContentOffset = 8;
30391
30659
  const poSelectContentPositionDefault = 'bottom';
30660
+ const PO_SELECT_FIELD_LABEL_DEFAULT = 'label';
30661
+ const PO_SELECT_FIELD_VALUE_DEFAULT = 'value';
30392
30662
  /**
30393
30663
  * @docsExtends PoFieldValidateModel
30394
30664
  *
@@ -30412,6 +30682,11 @@ const poSelectContentPositionDefault = 'bottom';
30412
30682
  * <file name='sample-po-select-customer-registration/sample-po-select-customer-registration.component.po.ts'> </file>
30413
30683
  * </example>
30414
30684
  *
30685
+ * <example name="po-select-companies" title="PO Select Companies">
30686
+ * <file name="sample-po-select-companies/sample-po-select-companies.component.html"> </file>
30687
+ * <file name="sample-po-select-companies/sample-po-select-companies.component.ts"> </file>
30688
+ * </example>
30689
+ *
30415
30690
  * @description
30416
30691
  *
30417
30692
  * O componente po-select exibe uma lista de valores e permite que o usuário selecione um desses valores.
@@ -30462,6 +30737,8 @@ class PoSelectComponent extends PoFieldValidateModel {
30462
30737
  this.isMobile = isMobile();
30463
30738
  this.open = false;
30464
30739
  this.selectIcon = 'po-icon-arrow-down';
30740
+ this._fieldLabel = PO_SELECT_FIELD_LABEL_DEFAULT;
30741
+ this._fieldValue = PO_SELECT_FIELD_VALUE_DEFAULT;
30465
30742
  this.onScroll = () => {
30466
30743
  this.controlPosition.adjustPosition(poSelectContentPositionDefault);
30467
30744
  };
@@ -30484,14 +30761,55 @@ class PoSelectComponent extends PoFieldValidateModel {
30484
30761
  * ```
30485
30762
  */
30486
30763
  set options(options) {
30487
- this._options = options;
30488
- removeDuplicatedOptions(this._options);
30489
- removeUndefinedAndNullOptions(this._options);
30764
+ if (this.fieldLabel && this.fieldValue) {
30765
+ options.map(option => {
30766
+ option.label = option[this.fieldLabel];
30767
+ option.value = option[this.fieldValue];
30768
+ });
30769
+ }
30770
+ this.validateOptions([...options]);
30490
30771
  this.onUpdateOptions();
30772
+ this._options = [...options];
30491
30773
  }
30492
30774
  get options() {
30493
30775
  return this._options;
30494
30776
  }
30777
+ /**
30778
+ * @optional
30779
+ *
30780
+ * @description
30781
+ * Deve ser informado o nome da propriedade do objeto que será utilizado para a conversão dos itens apresentados na lista do componente
30782
+ * (`p-options`), esta propriedade será responsável pelo texto de apresentação de cada item da lista.
30783
+ *
30784
+ * @default `label`
30785
+ */
30786
+ set fieldLabel(value) {
30787
+ this._fieldLabel = value || PO_SELECT_FIELD_LABEL_DEFAULT;
30788
+ if (this.options && this.options.length > 0) {
30789
+ this.options = [...this.options];
30790
+ }
30791
+ }
30792
+ get fieldLabel() {
30793
+ return this._fieldLabel;
30794
+ }
30795
+ /**
30796
+ * @optional
30797
+ *
30798
+ * @description
30799
+ * Deve ser informado o nome da propriedade do objeto que será utilizado para a conversão dos itens apresentados na lista do componente
30800
+ * (`p-options`), esta propriedade será responsável pelo valor de cada item da lista.
30801
+ *
30802
+ * @default `value`
30803
+ */
30804
+ set fieldValue(value) {
30805
+ this._fieldValue = value || PO_SELECT_FIELD_VALUE_DEFAULT;
30806
+ if (this.options && this.options.length > 0) {
30807
+ this.options = [...this.options];
30808
+ }
30809
+ }
30810
+ get fieldValue() {
30811
+ return this._fieldValue;
30812
+ }
30495
30813
  get isInvisibleSelectNative() {
30496
30814
  return this.readonly && this.isMobile;
30497
30815
  }
@@ -30525,6 +30843,8 @@ class PoSelectComponent extends PoFieldValidateModel {
30525
30843
  if (change) {
30526
30844
  removeDuplicatedOptions(this.options);
30527
30845
  removeUndefinedAndNullOptions(this.options);
30846
+ removeDuplicatedOptionsWithFieldValue(this.options, this.fieldValue);
30847
+ removeUndefinedAndNullOptionsWithFieldValue(this.options, this.fieldValue);
30528
30848
  }
30529
30849
  }
30530
30850
  /**
@@ -30591,12 +30911,12 @@ class PoSelectComponent extends PoFieldValidateModel {
30591
30911
  }
30592
30912
  // Atualiza valores
30593
30913
  updateValues(option) {
30594
- if (this.selectedValue !== option.value) {
30595
- this.selectedValue = option.value;
30596
- this.selectElement.nativeElement.value = option.value;
30597
- this.updateModel(option.value);
30598
- this.displayValue = option.label;
30599
- this.emitChange(option.value);
30914
+ if (this.selectedValue !== option[this.fieldValue]) {
30915
+ this.selectedValue = option[this.fieldValue];
30916
+ this.selectElement.nativeElement.value = option[this.fieldValue];
30917
+ this.updateModel(option[this.fieldValue]);
30918
+ this.displayValue = option[this.fieldLabel];
30919
+ this.emitChange(option[this.fieldValue]);
30600
30920
  }
30601
30921
  }
30602
30922
  // Esconde Content do Select quando for clicado fora
@@ -30611,9 +30931,9 @@ class PoSelectComponent extends PoFieldValidateModel {
30611
30931
  const optionFound = this.findOptionValue(value);
30612
30932
  if (optionFound) {
30613
30933
  this.selectElement.nativeElement.value = optionFound.value;
30614
- this.selectedValue = optionFound.value;
30615
- this.displayValue = optionFound.label;
30616
- this.setScrollPosition(optionFound.value);
30934
+ this.selectedValue = optionFound[this.fieldValue];
30935
+ this.displayValue = optionFound[this.fieldLabel];
30936
+ this.setScrollPosition(optionFound[this.fieldValue]);
30617
30937
  }
30618
30938
  else if (validValue(this.selectedValue)) {
30619
30939
  this.selectElement.nativeElement.value = undefined;
@@ -30696,6 +31016,12 @@ class PoSelectComponent extends PoFieldValidateModel {
30696
31016
  }
30697
31017
  }
30698
31018
  }
31019
+ validateOptions(options) {
31020
+ removeDuplicatedOptions(options);
31021
+ removeUndefinedAndNullOptions(options);
31022
+ removeDuplicatedOptionsWithFieldValue(options, this.fieldValue);
31023
+ removeUndefinedAndNullOptionsWithFieldValue(options, this.fieldValue);
31024
+ }
30699
31025
  }
30700
31026
  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)); };
30701
31027
  PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectComponent, selectors: [["po-select"]], viewQuery: function PoSelectComponent_Query(rf, ctx) { if (rf & 1) {
@@ -30711,7 +31037,7 @@ PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectC
30711
31037
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectButtonElement = _t.first);
30712
31038
  } }, hostBindings: function PoSelectComponent_HostBindings(rf, ctx) { if (rf & 1) {
30713
31039
  i0.ɵɵlistener("keydown", function PoSelectComponent_keydown_HostBindingHandler($event) { return ctx.onKeydown($event); });
30714
- } }, inputs: { readonly: ["p-readonly", "readonly"], placeholder: ["p-placeholder", "placeholder"], options: ["p-options", "options"] }, outputs: { ngModelChange: "ngModelChange" }, features: [i0.ɵɵProvidersFeature([
31040
+ } }, 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([
30715
31041
  {
30716
31042
  provide: NG_VALUE_ACCESSOR,
30717
31043
  useExisting: forwardRef(() => PoSelectComponent),
@@ -30780,7 +31106,7 @@ __decorate([
30780
31106
  multi: true
30781
31107
  },
30782
31108
  PoControlPositionService
30783
- ], 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" }]
31109
+ ], 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" }]
30784
31110
  }], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoControlPositionService }]; }, { contentList: [{
30785
31111
  type: ViewChild,
30786
31112
  args: ['contentList', { read: ElementRef, static: true }]
@@ -30805,6 +31131,12 @@ __decorate([
30805
31131
  }], options: [{
30806
31132
  type: Input,
30807
31133
  args: ['p-options']
31134
+ }], fieldLabel: [{
31135
+ type: Input,
31136
+ args: ['p-field-label']
31137
+ }], fieldValue: [{
31138
+ type: Input,
31139
+ args: ['p-field-value']
30808
31140
  }], onKeydown: [{
30809
31141
  type: HostListener,
30810
31142
  args: ['keydown', ['$event']]
@@ -32853,7 +33185,7 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_combo_10_Template(
32853
33185
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template(rf, ctx) { if (rf & 1) {
32854
33186
  const _r90 = i0.ɵɵgetCurrentView();
32855
33187
  i0.ɵɵelementStart(0, "po-lookup", 28, 19);
32856
- 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)); });
33188
+ 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)); });
32857
33189
  i0.ɵɵelementEnd();
32858
33190
  } if (rf & 2) {
32859
33191
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32861,9 +33193,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_lookup_11_Template
32861
33193
  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);
32862
33194
  } }
32863
33195
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_Template(rf, ctx) { if (rf & 1) {
32864
- const _r97 = i0.ɵɵgetCurrentView();
33196
+ const _r101 = i0.ɵɵgetCurrentView();
32865
33197
  i0.ɵɵelementStart(0, "po-checkbox-group", 25, 19);
32866
- 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)); });
33198
+ 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)); });
32867
33199
  i0.ɵɵelementEnd();
32868
33200
  } if (rf & 2) {
32869
33201
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32871,9 +33203,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_checkbox_group_12_
32871
33203
  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);
32872
33204
  } }
32873
33205
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Template(rf, ctx) { if (rf & 1) {
32874
- const _r104 = i0.ɵɵgetCurrentView();
33206
+ const _r108 = i0.ɵɵgetCurrentView();
32875
33207
  i0.ɵɵelementStart(0, "po-multiselect", 29, 19);
32876
- 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)); });
33208
+ 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)); });
32877
33209
  i0.ɵɵelementEnd();
32878
33210
  } if (rf & 2) {
32879
33211
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32881,9 +33213,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_multiselect_13_Tem
32881
33213
  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);
32882
33214
  } }
32883
33215
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Template(rf, ctx) { if (rf & 1) {
32884
- const _r111 = i0.ɵɵgetCurrentView();
33216
+ const _r115 = i0.ɵɵgetCurrentView();
32885
33217
  i0.ɵɵelementStart(0, "po-textarea", 30, 19);
32886
- 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)); });
33218
+ 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)); });
32887
33219
  i0.ɵɵelementEnd();
32888
33220
  } if (rf & 2) {
32889
33221
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -32891,9 +33223,9 @@ function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_textarea_14_Templa
32891
33223
  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);
32892
33224
  } }
32893
33225
  function PoDynamicFormFieldsComponent_div_0_ng_container_1_po_password_15_Template(rf, ctx) { if (rf & 1) {
32894
- const _r120 = i0.ɵɵgetCurrentView();
33226
+ const _r124 = i0.ɵɵgetCurrentView();
32895
33227
  i0.ɵɵelementStart(0, "po-password", 31, 19);
32896
- 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)); });
33228
+ 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)); });
32897
33229
  i0.ɵɵelementEnd();
32898
33230
  } if (rf & 2) {
32899
33231
  const field_r2 = i0.ɵɵnextContext().$implicit;
@@ -33075,14 +33407,14 @@ PoDynamicFormFieldsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
33075
33407
  } if (rf & 2) {
33076
33408
  let _t;
33077
33409
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.components = _t);
33078
- } }, 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) {
33410
+ } }, 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) {
33079
33411
  i0.ɵɵtemplate(0, PoDynamicFormFieldsComponent_div_0_Template, 2, 2, "div", 0);
33080
33412
  } if (rf & 2) {
33081
33413
  i0.ɵɵproperty("ngIf", ctx.visibleFields && ctx.visibleFields.length > 0);
33082
33414
  } }, 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 });
33083
33415
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDynamicFormFieldsComponent, [{
33084
33416
  type: Component,
33085
- 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" }]
33417
+ 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" }]
33086
33418
  }], function () { return [{ type: i1.TitleCasePipe }, { type: PoDynamicFormValidationService }, { type: i0.ChangeDetectorRef }, { type: i2$1.NgForm }]; }, { components: [{
33087
33419
  type: ViewChildren,
33088
33420
  args: ['component']
@@ -35839,7 +36171,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
35839
36171
  } if (rf & 2) {
35840
36172
  let _t;
35841
36173
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPopupComponent = _t.first);
35842
- } }, 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) {
36174
+ } }, 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) {
35843
36175
  i0.ɵɵelementStart(0, "div");
35844
36176
  i0.ɵɵtemplate(1, PoListViewComponent_div_1_Template, 4, 2, "div", 0);
35845
36177
  i0.ɵɵelementStart(2, "div", 1);
@@ -35878,7 +36210,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
35878
36210
  transition('* => void', [style({ height: '*', 'overflow-y': 'hidden' }), animate(100, style({ height: 0 }))]),
35879
36211
  transition('void => *', [style({ height: '0' }), animate(100, style({ height: '*' }))])
35880
36212
  ])
35881
- ], 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" }]
36213
+ ], 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" }]
35882
36214
  }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.IterableDiffers }, { type: PoLanguageService }]; }, { listViewContentTemplate: [{
35883
36215
  type: ContentChild,
35884
36216
  args: [PoListViewContentTemplateDirective, { static: true }]
@@ -43801,6 +44133,7 @@ class PoWidgetBaseComponent {
43801
44133
  */
43802
44134
  this.titleAction = new EventEmitter();
43803
44135
  this.containerHeight = 'auto';
44136
+ this.id = uuid();
43804
44137
  this._disabled = false;
43805
44138
  this._noShadow = false;
43806
44139
  this._primary = false;
@@ -44005,17 +44338,23 @@ function PoWidgetComponent_div_1_div_4_span_1_Template(rf, ctx) { if (rf & 1) {
44005
44338
  i0.ɵɵelementStart(0, "span", 13);
44006
44339
  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)); });
44007
44340
  i0.ɵɵelementEnd();
44341
+ } if (rf & 2) {
44342
+ const ctx_r8 = i0.ɵɵnextContext(3);
44343
+ i0.ɵɵpropertyInterpolate1("id", "settingAction-", ctx_r8.id, "");
44008
44344
  } }
44009
44345
  function PoWidgetComponent_div_1_div_4_span_2_Template(rf, ctx) { if (rf & 1) {
44010
44346
  const _r13 = i0.ɵɵgetCurrentView();
44011
44347
  i0.ɵɵelementStart(0, "span", 14);
44012
44348
  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)); });
44013
44349
  i0.ɵɵelementEnd();
44350
+ } if (rf & 2) {
44351
+ const ctx_r9 = i0.ɵɵnextContext(3);
44352
+ i0.ɵɵpropertyInterpolate1("id", "helpLink-", ctx_r9.id, "");
44014
44353
  } }
44015
44354
  function PoWidgetComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
44016
44355
  i0.ɵɵelementStart(0, "div", 10);
44017
- i0.ɵɵtemplate(1, PoWidgetComponent_div_1_div_4_span_1_Template, 1, 0, "span", 11);
44018
- i0.ɵɵtemplate(2, PoWidgetComponent_div_1_div_4_span_2_Template, 1, 0, "span", 12);
44356
+ i0.ɵɵtemplate(1, PoWidgetComponent_div_1_div_4_span_1_Template, 1, 1, "span", 11);
44357
+ i0.ɵɵtemplate(2, PoWidgetComponent_div_1_div_4_span_2_Template, 1, 1, "span", 12);
44019
44358
  i0.ɵɵelementEnd();
44020
44359
  } if (rf & 2) {
44021
44360
  const ctx_r5 = i0.ɵɵnextContext(2);
@@ -44046,7 +44385,9 @@ function PoWidgetComponent_div_5_div_1_Template(rf, ctx) { if (rf & 1) {
44046
44385
  i0.ɵɵelementEnd()();
44047
44386
  } if (rf & 2) {
44048
44387
  const ctx_r14 = i0.ɵɵnextContext(2);
44049
- i0.ɵɵadvance(2);
44388
+ i0.ɵɵadvance(1);
44389
+ i0.ɵɵpropertyInterpolate1("id", "primaryAct-", ctx_r14.id, "");
44390
+ i0.ɵɵadvance(1);
44050
44391
  i0.ɵɵtextInterpolate(ctx_r14.primaryLabel);
44051
44392
  } }
44052
44393
  function PoWidgetComponent_div_5_div_2_Template(rf, ctx) { if (rf & 1) {
@@ -44057,25 +44398,29 @@ function PoWidgetComponent_div_5_div_2_Template(rf, ctx) { if (rf & 1) {
44057
44398
  i0.ɵɵelementEnd()();
44058
44399
  } if (rf & 2) {
44059
44400
  const ctx_r15 = i0.ɵɵnextContext(2);
44060
- i0.ɵɵadvance(2);
44401
+ i0.ɵɵadvance(1);
44402
+ i0.ɵɵpropertyInterpolate1("id", "primaryAct-", ctx_r15.id, "");
44403
+ i0.ɵɵadvance(1);
44061
44404
  i0.ɵɵtextInterpolate(ctx_r15.primaryLabel);
44062
44405
  } }
44063
44406
  function PoWidgetComponent_div_5_div_3_Template(rf, ctx) { if (rf & 1) {
44064
44407
  const _r22 = i0.ɵɵgetCurrentView();
44065
- i0.ɵɵelementStart(0, "div", 20)(1, "a", 21);
44408
+ i0.ɵɵelementStart(0, "div", 20)(1, "a", 19);
44066
44409
  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)); });
44067
44410
  i0.ɵɵtext(2);
44068
44411
  i0.ɵɵelementEnd()();
44069
44412
  } if (rf & 2) {
44070
44413
  const ctx_r16 = i0.ɵɵnextContext(2);
44071
- i0.ɵɵadvance(2);
44414
+ i0.ɵɵadvance(1);
44415
+ i0.ɵɵpropertyInterpolate1("id", "secondaryAct-", ctx_r16.id, "");
44416
+ i0.ɵɵadvance(1);
44072
44417
  i0.ɵɵtextInterpolate(ctx_r16.secondaryLabel);
44073
44418
  } }
44074
44419
  function PoWidgetComponent_div_5_Template(rf, ctx) { if (rf & 1) {
44075
44420
  i0.ɵɵelementStart(0, "div", 15);
44076
- i0.ɵɵtemplate(1, PoWidgetComponent_div_5_div_1_Template, 3, 1, "div", 16);
44077
- i0.ɵɵtemplate(2, PoWidgetComponent_div_5_div_2_Template, 3, 1, "div", 17);
44078
- i0.ɵɵtemplate(3, PoWidgetComponent_div_5_div_3_Template, 3, 1, "div", 17);
44421
+ i0.ɵɵtemplate(1, PoWidgetComponent_div_5_div_1_Template, 3, 2, "div", 16);
44422
+ i0.ɵɵtemplate(2, PoWidgetComponent_div_5_div_2_Template, 3, 2, "div", 17);
44423
+ i0.ɵɵtemplate(3, PoWidgetComponent_div_5_div_3_Template, 3, 2, "div", 17);
44079
44424
  i0.ɵɵelementEnd();
44080
44425
  } if (rf & 2) {
44081
44426
  const ctx_r1 = i0.ɵɵnextContext();
@@ -44190,7 +44535,7 @@ class PoWidgetComponent extends PoWidgetBaseComponent {
44190
44535
  }
44191
44536
  }
44192
44537
  PoWidgetComponent.ɵfac = function PoWidgetComponent_Factory(t) { return new (t || PoWidgetComponent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
44193
- 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) {
44538
+ 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) {
44194
44539
  i0.ɵɵprojectionDef();
44195
44540
  i0.ɵɵelementStart(0, "div", 0);
44196
44541
  i0.ɵɵlistener("click", function PoWidgetComponent_Template_div_click_0_listener($event) { return ctx.onClick($event); });
@@ -44212,7 +44557,7 @@ PoWidgetComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoWidgetC
44212
44557
  } }, dependencies: [i1.NgIf, PoContainerComponent], encapsulation: 2 });
44213
44558
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoWidgetComponent, [{
44214
44559
  type: Component,
44215
- 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" }]
44560
+ 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" }]
44216
44561
  }], function () { return [{ type: i0.ViewContainerRef }]; }, null); })();
44217
44562
 
44218
44563
  /**