@po-ui/ng-components 6.9.0 → 6.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/esm2020/lib/components/po-button/po-button-base.component.mjs +37 -10
  2. package/esm2020/lib/components/po-button/po-button-type.enum.mjs +10 -0
  3. package/esm2020/lib/components/po-button/po-button.component.mjs +4 -4
  4. package/esm2020/lib/components/po-dynamic/po-dynamic-field.interface.mjs +1 -1
  5. package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.mjs +12 -2
  6. package/esm2020/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.mjs +12 -2
  7. package/esm2020/lib/components/po-dynamic/po-dynamic.util.mjs +18 -11
  8. package/esm2020/lib/components/po-field/po-combo/po-combo-base.component.mjs +10 -4
  9. package/esm2020/lib/components/po-field/po-decimal/po-decimal.component.mjs +15 -4
  10. package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.mjs +8 -8
  11. package/esm2020/lib/components/po-field/po-upload/po-upload.component.mjs +3 -3
  12. package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +4 -4
  13. package/esm2020/lib/components/po-modal/po-modal-footer/po-modal-footer.component.mjs +2 -2
  14. package/esm2020/lib/components/po-modal/po-modal.component.mjs +6 -6
  15. package/esm2020/lib/components/po-page/po-page-default/po-page-default.component.mjs +3 -3
  16. package/esm2020/lib/components/po-page/po-page-detail/po-page-detail.component.mjs +7 -7
  17. package/esm2020/lib/components/po-page/po-page-edit/po-page-edit.component.mjs +6 -6
  18. package/esm2020/lib/components/po-page/po-page-list/po-page-list.component.mjs +3 -3
  19. package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +3 -3
  20. package/fesm2015/po-ui-ng-components.mjs +144 -64
  21. package/fesm2015/po-ui-ng-components.mjs.map +1 -1
  22. package/fesm2020/po-ui-ng-components.mjs +144 -64
  23. package/fesm2020/po-ui-ng-components.mjs.map +1 -1
  24. package/lib/components/po-button/po-button-base.component.d.ts +26 -5
  25. package/lib/components/po-button/po-button-type.enum.d.ts +8 -0
  26. package/lib/components/po-dynamic/po-dynamic-field.interface.d.ts +44 -0
  27. package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +5 -0
  28. package/lib/components/po-dynamic/po-dynamic.util.d.ts +1 -1
  29. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -0
  30. package/lib/components/po-modal/po-modal-footer/po-modal-footer.component.d.ts +1 -1
  31. package/lib/components/po-modal/po-modal.component.d.ts +1 -1
  32. package/package.json +4 -4
  33. package/po-ui-ng-components-6.11.0.tgz +0 -0
  34. package/schematics/ng-add/index.js +1 -1
  35. package/schematics/ng-update/v2/index.js +1 -1
  36. package/schematics/ng-update/v3/index.js +1 -1
  37. package/schematics/ng-update/v4/index.js +1 -1
  38. package/schematics/ng-update/v5/index.js +1 -1
  39. package/schematics/ng-update/v6/index.js +1 -1
  40. package/po-ui-ng-components-6.9.0.tgz +0 -0
@@ -2463,8 +2463,16 @@ function validateProperty(property, target) {
2463
2463
  }
2464
2464
  }
2465
2465
 
2466
- const PO_BUTTON_TYPES = ['default', 'primary', 'danger', 'link'];
2467
- const PO_BUTTON_TYPE_DEFAULT = 'default';
2466
+ var PoButtonKind;
2467
+ (function (PoButtonKind) {
2468
+ PoButtonKind["primary"] = "primary";
2469
+ PoButtonKind["default"] = "secondary";
2470
+ PoButtonKind["secondary"] = "secondary";
2471
+ PoButtonKind["link"] = "tertiary";
2472
+ PoButtonKind["tertiary"] = "tertiary";
2473
+ PoButtonKind["danger"] = "danger";
2474
+ })(PoButtonKind || (PoButtonKind = {}));
2475
+
2468
2476
  /**
2469
2477
  * @description
2470
2478
  *
@@ -2502,7 +2510,7 @@ class PoButtonBaseComponent {
2502
2510
  this._disabled = false;
2503
2511
  this._loading = false;
2504
2512
  this._small = false;
2505
- this._type = 'default';
2513
+ this._kind = PoButtonKind.secondary;
2506
2514
  }
2507
2515
  /**
2508
2516
  * @optional
@@ -2537,25 +2545,50 @@ class PoButtonBaseComponent {
2537
2545
  return this._small;
2538
2546
  }
2539
2547
  /**
2548
+ * @deprecated 15.x.x
2549
+ *
2540
2550
  * @optional
2541
2551
  *
2542
2552
  * @description
2553
+ * **Deprecated 15.x.x**. Utilizar `p-kind` no lugar.
2543
2554
  *
2544
2555
  * Define o estilo do `po-button`.
2545
2556
  *
2546
2557
  * Valore válidos:
2547
- * - `default`: estilo padrão do `po-button`.
2558
+ * - `default`: **Deprecated 15.x.x**. Utilizar `p-kind="secondary"`.
2548
2559
  * - `primary`: deixa o `po-button` com destaque, deve ser usado para ações primárias.
2549
2560
  * - `danger`: deve ser usado para ações que o usuário precisa ter cuidado ao executa-lá.
2550
- * - `link`: o `po-button` recebe o estilo de um link.
2561
+ * - `link`: **Deprecated 15.x.x**. Utilizar `p-kind="tertiary"`.
2551
2562
  *
2552
- * @default `default`
2563
+ * @default `secondary`
2553
2564
  */
2554
2565
  set type(value) {
2555
- this._type = PO_BUTTON_TYPES.includes(value) ? value : PO_BUTTON_TYPE_DEFAULT;
2566
+ this.kind = value;
2556
2567
  }
2557
2568
  get type() {
2558
- return this._type;
2569
+ return this.kind;
2570
+ }
2571
+ /**
2572
+ *
2573
+ * @optional
2574
+ *
2575
+ * @description
2576
+ *
2577
+ * Define o estilo do `po-button`.
2578
+ *
2579
+ * Valore válidos:
2580
+ * - `primary`: deixa o `po-button` com destaque, deve ser usado para ações primárias.
2581
+ * - `secondary`: estilo padrão do `po-button`.
2582
+ * - `danger`: deve ser usado para ações que o usuário precisa ter cuidado ao executa-lá.
2583
+ * - `tertiary`: o `po-button` é exibido sem cor do fundo, recebendo menos destaque entre as ações.
2584
+ *
2585
+ * @default `secondary`
2586
+ */
2587
+ set kind(value) {
2588
+ this._kind = PoButtonKind[value] ? PoButtonKind[value] : PoButtonKind.secondary;
2589
+ }
2590
+ get kind() {
2591
+ return this._kind;
2559
2592
  }
2560
2593
  /**
2561
2594
  * @optional
@@ -2574,7 +2607,7 @@ class PoButtonBaseComponent {
2574
2607
  }
2575
2608
  }
2576
2609
  PoButtonBaseComponent.ɵfac = function PoButtonBaseComponent_Factory(t) { return new (t || PoButtonBaseComponent)(); };
2577
- PoButtonBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoButtonBaseComponent, inputs: { autoFocus: ["p-auto-focus", "autoFocus"], label: ["p-label", "label"], icon: ["p-icon", "icon"], loading: ["p-loading", "loading"], small: ["p-small", "small"], type: ["p-type", "type"], disabled: ["p-disabled", "disabled"] }, outputs: { click: "p-click" } });
2610
+ PoButtonBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoButtonBaseComponent, inputs: { autoFocus: ["p-auto-focus", "autoFocus"], label: ["p-label", "label"], icon: ["p-icon", "icon"], loading: ["p-loading", "loading"], small: ["p-small", "small"], type: ["p-type", "type"], kind: ["p-kind", "kind"], disabled: ["p-disabled", "disabled"] }, outputs: { click: "p-click" } });
2578
2611
  __decorate([
2579
2612
  InputBoolean()
2580
2613
  ], PoButtonBaseComponent.prototype, "autoFocus", void 0);
@@ -2602,6 +2635,9 @@ __decorate([
2602
2635
  }], type: [{
2603
2636
  type: Input,
2604
2637
  args: ['p-type']
2638
+ }], kind: [{
2639
+ type: Input,
2640
+ args: ['p-kind']
2605
2641
  }], disabled: [{
2606
2642
  type: Input,
2607
2643
  args: ['p-disabled']
@@ -2702,7 +2738,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2702
2738
  let _t;
2703
2739
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonElement = _t.first);
2704
2740
  }
2705
- }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 14, consts: [["type", "button", 1, "po-button", "po-text-ellipsis", 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) {
2741
+ }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 16, consts: [["type", "button", 1, "po-button", "po-text-ellipsis", 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) {
2706
2742
  if (rf & 1) {
2707
2743
  i0.ɵɵelementStart(0, "button", 0, 1);
2708
2744
  i0.ɵɵlistener("click", function PoButtonComponent_Template_button_click_0_listener() { return ctx.onClick(); });
@@ -2712,7 +2748,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2712
2748
  i0.ɵɵelementEnd();
2713
2749
  }
2714
2750
  if (rf & 2) {
2715
- i0.ɵɵclassProp("po-button-danger", ctx.type === "danger")("po-button-link", ctx.type === "link")("po-button-primary", ctx.type === "primary")("po-button-sm", ctx.small)("po-clickable", ctx.type === "link");
2751
+ i0.ɵɵclassProp("po-button-default", ctx.kind === "secondary")("po-button-danger", ctx.kind === "danger")("po-button-link", ctx.kind === "tertiary")("po-button-primary", ctx.kind === "primary")("po-button-sm", ctx.small)("po-clickable", ctx.kind === "link");
2716
2752
  i0.ɵɵproperty("disabled", ctx.disabled || ctx.loading);
2717
2753
  i0.ɵɵadvance(2);
2718
2754
  i0.ɵɵproperty("ngIf", ctx.loading);
@@ -2725,7 +2761,7 @@ PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonC
2725
2761
  (function () {
2726
2762
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoButtonComponent, [{
2727
2763
  type: Component,
2728
- args: [{ selector: 'po-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n #button\n class=\"po-button po-text-ellipsis\"\n type=\"button\"\n [class.po-button-danger]=\"type === 'danger'\"\n [class.po-button-link]=\"type === 'link'\"\n [class.po-button-primary]=\"type === 'primary'\"\n [class.po-button-sm]=\"small\"\n [class.po-clickable]=\"type === 'link'\"\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" }]
2764
+ args: [{ selector: 'po-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n #button\n class=\"po-button po-text-ellipsis\"\n type=\"button\"\n [class.po-button-default]=\"kind === 'secondary'\"\n [class.po-button-danger]=\"kind === 'danger'\"\n [class.po-button-link]=\"kind === 'tertiary'\"\n [class.po-button-primary]=\"kind === 'primary'\"\n [class.po-button-sm]=\"small\"\n [class.po-clickable]=\"kind === 'link'\"\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" }]
2729
2765
  }], null, { buttonElement: [{
2730
2766
  type: ViewChild,
2731
2767
  args: ['button', { static: true }]
@@ -12239,7 +12275,7 @@ const _c0$$ = ["*"];
12239
12275
  * <po-modal-footer>
12240
12276
  * <po-button p-label="Close" (p-click)="modal.close()"> </po-button>
12241
12277
  * <po-button p-label="Clean" (p-click)="clean()"> </po-button>
12242
- * <po-button p-label="Confirm" p-type="primary" (p-click)="confirm()"> </po-button>
12278
+ * <po-button p-label="Confirm" p-kind="primary" (p-click)="confirm()"> </po-button>
12243
12279
  * </po-modal-footer>
12244
12280
  * </po-modal>
12245
12281
  * ```
@@ -12324,7 +12360,7 @@ function PoModalComponent_div_0_ng_template_13_po_button_1_Template(rf, ctx) {
12324
12360
  }
12325
12361
  if (rf & 2) {
12326
12362
  const ctx_r8 = i0.ɵɵnextContext(3);
12327
- i0.ɵɵproperty("p-disabled", ctx_r8.secondaryAction.disabled)("p-label", ctx_r8.secondaryAction.label)("p-loading", ctx_r8.secondaryAction.loading)("p-type", ctx_r8.getSecondaryActionButtonType());
12363
+ i0.ɵɵproperty("p-disabled", ctx_r8.secondaryAction.disabled)("p-label", ctx_r8.secondaryAction.label)("p-loading", ctx_r8.secondaryAction.loading)("p-kind", ctx_r8.getSecondaryActionButtonType());
12328
12364
  }
12329
12365
  }
12330
12366
  function PoModalComponent_div_0_ng_template_13_Template(rf, ctx) {
@@ -12341,7 +12377,7 @@ function PoModalComponent_div_0_ng_template_13_Template(rf, ctx) {
12341
12377
  i0.ɵɵadvance(1);
12342
12378
  i0.ɵɵproperty("ngIf", ctx_r5.secondaryAction);
12343
12379
  i0.ɵɵadvance(1);
12344
- i0.ɵɵproperty("p-disabled", ctx_r5.primaryAction.disabled)("p-label", ctx_r5.primaryAction.label)("p-loading", ctx_r5.primaryAction.loading)("p-type", ctx_r5.getPrimaryActionButtonType());
12380
+ i0.ɵɵproperty("p-disabled", ctx_r5.primaryAction.disabled)("p-label", ctx_r5.primaryAction.label)("p-loading", ctx_r5.primaryAction.loading)("p-kind", ctx_r5.getPrimaryActionButtonType());
12345
12381
  }
12346
12382
  }
12347
12383
  function PoModalComponent_div_0_Template(rf, ctx) {
@@ -12424,7 +12460,7 @@ class PoModalComponent extends PoModalBaseComponent {
12424
12460
  return this.primaryAction.danger ? 'danger' : 'primary';
12425
12461
  }
12426
12462
  getSecondaryActionButtonType() {
12427
- return this.secondaryAction && this.secondaryAction.danger && !this.primaryAction.danger ? 'danger' : 'default';
12463
+ return this.secondaryAction && this.secondaryAction.danger && !this.primaryAction.danger ? 'danger' : 'secondary';
12428
12464
  }
12429
12465
  onClickOut(event) {
12430
12466
  if (this.clickOut && !this.modalContent.nativeElement.contains(event.target)) {
@@ -12488,7 +12524,7 @@ PoModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalCom
12488
12524
  let _t;
12489
12525
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
12490
12526
  }
12491
- }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$b, decls: 1, vars: 1, consts: [["class", "po-modal", "tabindex", "0", 3, "keydown.esc", 4, "ngIf"], ["tabindex", "0", 1, "po-modal", 3, "keydown.esc"], [1, "po-modal-overlay"], [1, "po-modal-container", "po-pb-2", "po-pt-2", 3, "mousedown"], [1, "po-modal-vertical-align"], ["tabindex", "-1"], ["modalContent", ""], [1, "po-modal-header"], [1, "po-modal-title", "po-text-ellipsis"], ["class", "po-modal-header-close-button", "tabindex", "0", 3, "click", 4, "ngIf"], [1, "po-modal-body"], [4, "ngIf", "ngIfElse"], ["defaultModalFooterTemplate", ""], ["tabindex", "0", 1, "po-modal-header-close-button", 3, "click"], [1, "po-icon", "po-icon-close"], [3, "p-disabled", "p-label", "p-loading", "p-type", "p-click", 4, "ngIf"], [1, "po-button-modal-first-action", 3, "p-disabled", "p-label", "p-loading", "p-type", "p-click"], [3, "p-disabled", "p-label", "p-loading", "p-type", "p-click"]], template: function PoModalComponent_Template(rf, ctx) {
12527
+ }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$b, decls: 1, vars: 1, consts: [["class", "po-modal", "tabindex", "0", 3, "keydown.esc", 4, "ngIf"], ["tabindex", "0", 1, "po-modal", 3, "keydown.esc"], [1, "po-modal-overlay"], [1, "po-modal-container", "po-pb-2", "po-pt-2", 3, "mousedown"], [1, "po-modal-vertical-align"], ["tabindex", "-1"], ["modalContent", ""], [1, "po-modal-header"], [1, "po-modal-title", "po-text-ellipsis"], ["class", "po-modal-header-close-button", "tabindex", "0", 3, "click", 4, "ngIf"], [1, "po-modal-body"], [4, "ngIf", "ngIfElse"], ["defaultModalFooterTemplate", ""], ["tabindex", "0", 1, "po-modal-header-close-button", 3, "click"], [1, "po-icon", "po-icon-close"], [3, "p-disabled", "p-label", "p-loading", "p-kind", "p-click", 4, "ngIf"], [1, "po-button-modal-first-action", 3, "p-disabled", "p-label", "p-loading", "p-kind", "p-click"], [3, "p-disabled", "p-label", "p-loading", "p-kind", "p-click"]], template: function PoModalComponent_Template(rf, ctx) {
12492
12528
  if (rf & 1) {
12493
12529
  i0.ɵɵprojectionDef(_c1$r);
12494
12530
  i0.ɵɵtemplate(0, PoModalComponent_div_0_Template, 15, 7, "div", 0);
@@ -12500,7 +12536,7 @@ PoModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalCom
12500
12536
  (function () {
12501
12537
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoModalComponent, [{
12502
12538
  type: Component,
12503
- args: [{ selector: 'po-modal', template: "<div *ngIf=\"!isHidden\" class=\"po-modal\" tabindex=\"0\" (keydown.esc)=\"closeModalOnEscapeKey($event)\">\n <div class=\"po-modal-overlay\">\n <div class=\"po-modal-container po-pb-2 po-pt-2\" (mousedown)=\"onClickOut($event)\">\n <div class=\"po-modal-vertical-align\">\n <div #modalContent class=\"po-modal-content po-modal-{{ size }}\" tabindex=\"-1\">\n <div class=\"po-modal-header\">\n <div class=\"po-modal-title po-text-ellipsis\">\n {{ title }}\n </div>\n\n <a *ngIf=\"!hideClose\" class=\"po-modal-header-close-button\" tabindex=\"0\" (click)=\"close(true)\">\n <span class=\"po-icon po-icon-close\"></span>\n </a>\n </div>\n\n <div class=\"po-modal-body\">\n <ng-content></ng-content>\n </div>\n\n <ng-container *ngIf=\"modalFooter; else defaultModalFooterTemplate\">\n <ng-content select=\"po-modal-footer\"></ng-content>\n </ng-container>\n\n <ng-template #defaultModalFooterTemplate>\n <po-modal-footer>\n <po-button\n *ngIf=\"secondaryAction\"\n [p-disabled]=\"secondaryAction.disabled\"\n [p-label]=\"secondaryAction.label\"\n [p-loading]=\"secondaryAction.loading\"\n [p-type]=\"getSecondaryActionButtonType()\"\n (p-click)=\"secondaryAction.action()\"\n >\n </po-button>\n\n <po-button\n class=\"po-button-modal-first-action\"\n [p-disabled]=\"primaryAction.disabled\"\n [p-label]=\"primaryAction.label\"\n [p-loading]=\"primaryAction.loading\"\n [p-type]=\"getPrimaryActionButtonType()\"\n (p-click)=\"primaryAction.action()\"\n >\n </po-button>\n </po-modal-footer>\n </ng-template>\n </div>\n </div>\n </div>\n </div>\n</div>\n" }]
12539
+ args: [{ selector: 'po-modal', template: "<div *ngIf=\"!isHidden\" class=\"po-modal\" tabindex=\"0\" (keydown.esc)=\"closeModalOnEscapeKey($event)\">\n <div class=\"po-modal-overlay\">\n <div class=\"po-modal-container po-pb-2 po-pt-2\" (mousedown)=\"onClickOut($event)\">\n <div class=\"po-modal-vertical-align\">\n <div #modalContent class=\"po-modal-content po-modal-{{ size }}\" tabindex=\"-1\">\n <div class=\"po-modal-header\">\n <div class=\"po-modal-title po-text-ellipsis\">\n {{ title }}\n </div>\n\n <a *ngIf=\"!hideClose\" class=\"po-modal-header-close-button\" tabindex=\"0\" (click)=\"close(true)\">\n <span class=\"po-icon po-icon-close\"></span>\n </a>\n </div>\n\n <div class=\"po-modal-body\">\n <ng-content></ng-content>\n </div>\n\n <ng-container *ngIf=\"modalFooter; else defaultModalFooterTemplate\">\n <ng-content select=\"po-modal-footer\"></ng-content>\n </ng-container>\n\n <ng-template #defaultModalFooterTemplate>\n <po-modal-footer>\n <po-button\n *ngIf=\"secondaryAction\"\n [p-disabled]=\"secondaryAction.disabled\"\n [p-label]=\"secondaryAction.label\"\n [p-loading]=\"secondaryAction.loading\"\n [p-kind]=\"getSecondaryActionButtonType()\"\n (p-click)=\"secondaryAction.action()\"\n >\n </po-button>\n\n <po-button\n class=\"po-button-modal-first-action\"\n [p-disabled]=\"primaryAction.disabled\"\n [p-label]=\"primaryAction.label\"\n [p-loading]=\"primaryAction.loading\"\n [p-kind]=\"getPrimaryActionButtonType()\"\n (p-click)=\"primaryAction.action()\"\n >\n </po-button>\n </po-modal-footer>\n </ng-template>\n </div>\n </div>\n </div>\n </div>\n</div>\n" }]
12504
12540
  }], function () { return [{ type: PoActiveOverlayService }, { type: PoLanguageService }]; }, { modalContent: [{
12505
12541
  type: ViewChild,
12506
12542
  args: ['modalContent', { read: ElementRef }]
@@ -14595,7 +14631,7 @@ PoTableColumnManagerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
14595
14631
  let _t;
14596
14632
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popover = _t.first);
14597
14633
  }
14598
- }, 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-table-column-manager-footer"], ["p-small", "", "p-type", "link", 1, "po-table-column-manager-footer-restore", 3, "p-label", "p-click"]], template: function PoTableColumnManagerComponent_Template(rf, ctx) {
14634
+ }, 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-table-column-manager-footer"], ["p-small", "", "p-kind", "tertiary", 1, "po-table-column-manager-footer-restore", 3, "p-label", "p-click"]], template: function PoTableColumnManagerComponent_Template(rf, ctx) {
14599
14635
  if (rf & 1) {
14600
14636
  i0.ɵɵtemplate(0, PoTableColumnManagerComponent_po_popover_0_Template, 11, 5, "po-popover", 0);
14601
14637
  }
@@ -14606,7 +14642,7 @@ PoTableColumnManagerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
14606
14642
  (function () {
14607
14643
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableColumnManagerComponent, [{
14608
14644
  type: Component,
14609
- 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 </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-type=\"link\"\n [p-label]=\"literals.restoreDefault\"\n (p-click)=\"restore()\"\n >\n </po-button>\n </div>\n</po-popover>\n" }]
14645
+ 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 </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" }]
14610
14646
  }], function () { return [{ type: i0.Renderer2 }, { type: PoLanguageService }]; }, { popover: [{
14611
14647
  type: ViewChild,
14612
14648
  args: [PoPopoverComponent]
@@ -19430,6 +19466,7 @@ class PoComboBaseComponent {
19430
19466
  * - 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.
19431
19467
  * - O componente interpretará o formato da lista de acordo com a interface utilizada e só exibirá as opções correspondentes à ela.
19432
19468
  * - Um agrupamento só será exibido se houver pelo menos uma opção válida.
19469
+ * - Aconselha-se utilizar valores distintos no `label` e `value` dos itens.
19433
19470
  */
19434
19471
  set options(options) {
19435
19472
  this._options = Array.isArray(options) ? options : [];
@@ -19727,6 +19764,7 @@ class PoComboBaseComponent {
19727
19764
  this.callModelChange(value);
19728
19765
  this.updateSelectedValue(null);
19729
19766
  this.updateComboList();
19767
+ this.initInputObservable();
19730
19768
  }
19731
19769
  configAfterSetFilterService(service) {
19732
19770
  if (service) {
@@ -19762,8 +19800,12 @@ class PoComboBaseComponent {
19762
19800
  return labelA < labelB ? -1 : labelA > labelB ? 1 : 0;
19763
19801
  }
19764
19802
  hasDuplicatedOption(options, currentOption, accumulatedGroupOptions) {
19765
- return (options.some(option => option.label === currentOption) ||
19766
- (accumulatedGroupOptions && accumulatedGroupOptions.some(option => option.label === currentOption)));
19803
+ if (accumulatedGroupOptions) {
19804
+ return accumulatedGroupOptions.some(option => option.label === currentOption);
19805
+ }
19806
+ else {
19807
+ return options.some(option => option.value === currentOption);
19808
+ }
19767
19809
  }
19768
19810
  listingComboOptions(comboOptions) {
19769
19811
  const comboOptionsList = comboOptions.concat();
@@ -19789,7 +19831,7 @@ class PoComboBaseComponent {
19789
19831
  verifyComboOptions(comboOptions, verifyingOptionsGroup = false, accumulatedGroupOptions) {
19790
19832
  return comboOptions.reduce((accumulatedOptions, currentOption) => {
19791
19833
  if (!this.verifyIfHasLabel(currentOption) ||
19792
- this.hasDuplicatedOption(accumulatedOptions, currentOption.label, accumulatedGroupOptions) ||
19834
+ this.hasDuplicatedOption(accumulatedOptions, currentOption['value'] || currentOption['label'], accumulatedGroupOptions) ||
19793
19835
  !this.validateValue(currentOption, verifyingOptionsGroup)) {
19794
19836
  return accumulatedOptions;
19795
19837
  }
@@ -22664,16 +22706,27 @@ class PoDecimalComponent extends PoInputBaseComponent {
22664
22706
  this.controlChangeEmitter();
22665
22707
  }
22666
22708
  extraValidation(abstractControl) {
22709
+ const value = abstractControl.value;
22710
+ const thousandValue = Math.trunc(value);
22667
22711
  // Verifica se já possui algum error pattern padrão.
22668
22712
  this.errorPattern = this.errorPattern !== 'Valor Inválido' ? this.errorPattern : '';
22669
- if (minFailed(this.min, abstractControl.value)) {
22713
+ if (minFailed(this.min, value)) {
22670
22714
  return {
22671
22715
  min: {
22672
22716
  valid: false
22673
22717
  }
22674
22718
  };
22675
22719
  }
22676
- if (maxFailed(this.max, abstractControl.value)) {
22720
+ if (maxFailed(this.max, value)) {
22721
+ return {
22722
+ max: {
22723
+ valid: false
22724
+ }
22725
+ };
22726
+ }
22727
+ if ((maxlengpoailed(this.thousandMaxlength, thousandValue) &&
22728
+ this.thousandMaxlength < poDecimalDefaultThousandMaxlength) ||
22729
+ maxlengpoailed(poDecimalTotalLengthLimit, value)) {
22677
22730
  return {
22678
22731
  max: {
22679
22732
  valid: false
@@ -29775,7 +29828,7 @@ PoUploadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadC
29775
29828
  useExisting: forwardRef(() => PoUploadComponent),
29776
29829
  multi: true
29777
29830
  }
29778
- ]), i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 13, consts: [[3, "p-label", "p-help", "p-optional"], [1, "po-upload"], ["type", "file", 1, "po-upload-input", 3, "accept", "disabled", "multiple", "required", "change"], ["inputFile", ""], [3, "p-directory-compatible", "p-disabled", "p-drag-drop-height", "p-literals", "p-file-change", "p-select-files", 4, "ngIf"], ["class", "po-upload-button", "for", "file", 3, "p-disabled", "p-label", "p-click", 4, "ngIf"], ["class", "po-upload-file-restrictions", 3, "ngClass", "p-allowed-extensions", "p-max-files", "p-max-file-size", "p-min-file-size", 4, "ngIf"], ["class", "po-upload-progress-container", 4, "ngIf"], ["class", "po-upload-send-button", "p-type", "primary", 3, "po-mt-3", "p-disabled", "p-label", "p-click", 4, "ngIf"], [3, "p-directory-compatible", "p-disabled", "p-drag-drop-height", "p-literals", "p-file-change", "p-select-files"], ["for", "file", 1, "po-upload-button", 3, "p-disabled", "p-label", "p-click"], ["uploadButton", ""], [1, "po-upload-file-restrictions", 3, "ngClass", "p-allowed-extensions", "p-max-files", "p-max-file-size", "p-min-file-size"], [1, "po-upload-progress-container"], ["p-no-shadow", "", 3, "p-height", "p-no-border", "p-no-padding"], [3, "ngClass"], [3, "p-info", "p-info-icon", "p-status", "p-text", "p-value", "p-cancel", "p-retry", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-info", "p-info-icon", "p-status", "p-text", "p-value", "p-cancel", "p-retry"], ["p-type", "primary", 1, "po-upload-send-button", 3, "p-disabled", "p-label", "p-click"]], template: function PoUploadComponent_Template(rf, ctx) {
29831
+ ]), i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 13, consts: [[3, "p-label", "p-help", "p-optional"], [1, "po-upload"], ["type", "file", 1, "po-upload-input", 3, "accept", "disabled", "multiple", "required", "change"], ["inputFile", ""], [3, "p-directory-compatible", "p-disabled", "p-drag-drop-height", "p-literals", "p-file-change", "p-select-files", 4, "ngIf"], ["class", "po-upload-button", "for", "file", 3, "p-disabled", "p-label", "p-click", 4, "ngIf"], ["class", "po-upload-file-restrictions", 3, "ngClass", "p-allowed-extensions", "p-max-files", "p-max-file-size", "p-min-file-size", 4, "ngIf"], ["class", "po-upload-progress-container", 4, "ngIf"], ["class", "po-upload-send-button", "p-kind", "primary", 3, "po-mt-3", "p-disabled", "p-label", "p-click", 4, "ngIf"], [3, "p-directory-compatible", "p-disabled", "p-drag-drop-height", "p-literals", "p-file-change", "p-select-files"], ["for", "file", 1, "po-upload-button", 3, "p-disabled", "p-label", "p-click"], ["uploadButton", ""], [1, "po-upload-file-restrictions", 3, "ngClass", "p-allowed-extensions", "p-max-files", "p-max-file-size", "p-min-file-size"], [1, "po-upload-progress-container"], ["p-no-shadow", "", 3, "p-height", "p-no-border", "p-no-padding"], [3, "ngClass"], [3, "p-info", "p-info-icon", "p-status", "p-text", "p-value", "p-cancel", "p-retry", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-info", "p-info-icon", "p-status", "p-text", "p-value", "p-cancel", "p-retry"], ["p-kind", "primary", 1, "po-upload-send-button", 3, "p-disabled", "p-label", "p-click"]], template: function PoUploadComponent_Template(rf, ctx) {
29779
29832
  if (rf & 1) {
29780
29833
  i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1)(2, "input", 2, 3);
29781
29834
  i0.ɵɵlistener("change", function PoUploadComponent_Template_input_change_2_listener($event) { return ctx.onFileChange($event); });
@@ -29820,7 +29873,7 @@ PoUploadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadC
29820
29873
  useExisting: forwardRef(() => PoUploadComponent),
29821
29874
  multi: true
29822
29875
  }
29823
- ], template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-upload\">\n <input\n #inputFile\n class=\"po-upload-input\"\n type=\"file\"\n [accept]=\"allowedExtensions\"\n [attr.name]=\"name\"\n [disabled]=\"isDisabled\"\n [multiple]=\"isMultiple\"\n [required]=\"required\"\n (change)=\"onFileChange($event)\"\n />\n\n <po-upload-drag-drop\n *ngIf=\"displayDragDrop\"\n [p-directory-compatible]=\"canHandleDirectory\"\n [p-disabled]=\"isDisabled\"\n [p-drag-drop-height]=\"dragDropHeight\"\n [p-literals]=\"literals\"\n (p-file-change)=\"onFileChangeDragDrop($event)\"\n (p-select-files)=\"selectFiles()\"\n >\n </po-upload-drag-drop>\n\n <po-button\n *ngIf=\"!hideSelectButton && !displayDragDrop\"\n #uploadButton\n class=\"po-upload-button\"\n for=\"file\"\n [p-disabled]=\"isDisabled\"\n [p-label]=\"selectFileButtonLabel\"\n (p-click)=\"selectFiles()\"\n >\n </po-button>\n\n <po-upload-file-restrictions\n *ngIf=\"fileRestrictions && !hideRestrictionsInfo\"\n class=\"po-upload-file-restrictions\"\n [ngClass]=\"{ 'po-upload-file-restrictions-drag-drop': displayDragDrop }\"\n [p-allowed-extensions]=\"fileRestrictions?.allowedExtensions\"\n [p-max-files]=\"maxFiles\"\n [p-max-file-size]=\"fileRestrictions?.maxFileSize\"\n [p-min-file-size]=\"fileRestrictions?.minFileSize\"\n >\n </po-upload-file-restrictions>\n\n <div *ngIf=\"currentFiles && currentFiles.length\" class=\"po-upload-progress-container\">\n <po-container\n p-no-shadow\n [p-height]=\"hasMoreThanFourItems ? 280 : 'auto'\"\n [p-no-border]=\"!hasMoreThanFourItems\"\n [p-no-padding]=\"!hasMoreThanFourItems\"\n >\n <div [ngClass]=\"{ 'po-upload-progress-container-area po-pt-2 po-pl-1': hasMoreThanFourItems }\">\n <po-progress\n *ngFor=\"let file of currentFiles; trackBy: trackByFn\"\n [p-info]=\"infoByUploadStatus[file.status]?.text(file.percent)\"\n [p-info-icon]=\"infoByUploadStatus[file.status]?.icon\"\n [p-status]=\"progressStatusByFileStatus[file.status]\"\n [p-text]=\"file.displayName\"\n [p-value]=\"file.percent\"\n (p-cancel)=\"cancel(file)\"\n (p-retry)=\"uploadFiles([file])\"\n >\n </po-progress>\n </div>\n </po-container>\n </div>\n\n <po-button\n *ngIf=\"displaySendButton\"\n class=\"po-upload-send-button\"\n [class.po-mt-3]=\"hasMoreThanFourItems\"\n p-type=\"primary\"\n [p-disabled]=\"hasAnyFileUploading(currentFiles)\"\n [p-label]=\"literals.startSending\"\n (p-click)=\"uploadFiles(currentFiles)\"\n >\n </po-button>\n </div>\n</po-field-container>\n" }]
29876
+ ], template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-upload\">\n <input\n #inputFile\n class=\"po-upload-input\"\n type=\"file\"\n [accept]=\"allowedExtensions\"\n [attr.name]=\"name\"\n [disabled]=\"isDisabled\"\n [multiple]=\"isMultiple\"\n [required]=\"required\"\n (change)=\"onFileChange($event)\"\n />\n\n <po-upload-drag-drop\n *ngIf=\"displayDragDrop\"\n [p-directory-compatible]=\"canHandleDirectory\"\n [p-disabled]=\"isDisabled\"\n [p-drag-drop-height]=\"dragDropHeight\"\n [p-literals]=\"literals\"\n (p-file-change)=\"onFileChangeDragDrop($event)\"\n (p-select-files)=\"selectFiles()\"\n >\n </po-upload-drag-drop>\n\n <po-button\n *ngIf=\"!hideSelectButton && !displayDragDrop\"\n #uploadButton\n class=\"po-upload-button\"\n for=\"file\"\n [p-disabled]=\"isDisabled\"\n [p-label]=\"selectFileButtonLabel\"\n (p-click)=\"selectFiles()\"\n >\n </po-button>\n\n <po-upload-file-restrictions\n *ngIf=\"fileRestrictions && !hideRestrictionsInfo\"\n class=\"po-upload-file-restrictions\"\n [ngClass]=\"{ 'po-upload-file-restrictions-drag-drop': displayDragDrop }\"\n [p-allowed-extensions]=\"fileRestrictions?.allowedExtensions\"\n [p-max-files]=\"maxFiles\"\n [p-max-file-size]=\"fileRestrictions?.maxFileSize\"\n [p-min-file-size]=\"fileRestrictions?.minFileSize\"\n >\n </po-upload-file-restrictions>\n\n <div *ngIf=\"currentFiles && currentFiles.length\" class=\"po-upload-progress-container\">\n <po-container\n p-no-shadow\n [p-height]=\"hasMoreThanFourItems ? 280 : 'auto'\"\n [p-no-border]=\"!hasMoreThanFourItems\"\n [p-no-padding]=\"!hasMoreThanFourItems\"\n >\n <div [ngClass]=\"{ 'po-upload-progress-container-area po-pt-2 po-pl-1': hasMoreThanFourItems }\">\n <po-progress\n *ngFor=\"let file of currentFiles; trackBy: trackByFn\"\n [p-info]=\"infoByUploadStatus[file.status]?.text(file.percent)\"\n [p-info-icon]=\"infoByUploadStatus[file.status]?.icon\"\n [p-status]=\"progressStatusByFileStatus[file.status]\"\n [p-text]=\"file.displayName\"\n [p-value]=\"file.percent\"\n (p-cancel)=\"cancel(file)\"\n (p-retry)=\"uploadFiles([file])\"\n >\n </po-progress>\n </div>\n </po-container>\n </div>\n\n <po-button\n *ngIf=\"displaySendButton\"\n class=\"po-upload-send-button\"\n [class.po-mt-3]=\"hasMoreThanFourItems\"\n p-kind=\"primary\"\n [p-disabled]=\"hasAnyFileUploading(currentFiles)\"\n [p-label]=\"literals.startSending\"\n (p-click)=\"uploadFiles(currentFiles)\"\n >\n </po-button>\n </div>\n</po-field-container>\n" }]
29824
29877
  }], function () { return [{ type: PoUploadService }, { type: i0.Renderer2 }, { type: PoI18nPipe }, { type: PoNotificationService }, { type: i0.ChangeDetectorRef }, { type: PoLanguageService }]; }, { inputFile: [{
29825
29878
  type: ViewChild,
29826
29879
  args: ['inputFile', { read: ElementRef, static: true }]
@@ -30556,7 +30609,7 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
30556
30609
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextImageModal = _t.first);
30557
30610
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextLinkModal = _t.first);
30558
30611
  }
30559
- }, inputs: { readonly: ["p-readonly", "readonly"] }, outputs: { command: "p-command", modal: "p-modal", linkEditing: "p-link-editing" }, decls: 17, vars: 6, consts: [[1, "po-rich-text-toolbar"], ["toolbarElement", ""], [1, "po-rich-text-toolbar-button-align"], ["p-toggle", "multiple", 3, "p-buttons"], ["class", "po-rich-text-toolbar-button-align", 4, "ngIf"], ["p-toggle", "single", 3, "p-buttons"], [3, "p-buttons"], [3, "p-command"], ["richTextImageModal", ""], [3, "p-command", "p-link-editing"], ["richTextLinkModal", ""], [1, "po-rich-text-toolbar-color-picker-container"], [1, "po-button", "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", ""]], template: function PoRichTextToolbarComponent_Template(rf, ctx) {
30612
+ }, inputs: { readonly: ["p-readonly", "readonly"] }, outputs: { command: "p-command", modal: "p-modal", linkEditing: "p-link-editing" }, decls: 17, vars: 11, consts: [[1, "po-rich-text-toolbar"], ["toolbarElement", ""], [1, "po-rich-text-toolbar-button-align"], ["p-toggle", "multiple", 3, "p-small", "p-buttons"], ["class", "po-rich-text-toolbar-button-align", 4, "ngIf"], ["p-toggle", "single", 3, "p-small", "p-buttons"], [3, "p-small", "p-buttons"], [3, "p-command"], ["richTextImageModal", ""], [3, "p-command", "p-link-editing"], ["richTextLinkModal", ""], [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", ""]], template: function PoRichTextToolbarComponent_Template(rf, ctx) {
30560
30613
  if (rf & 1) {
30561
30614
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
30562
30615
  i0.ɵɵelement(3, "po-button-group", 3);
@@ -30583,23 +30636,23 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
30583
30636
  }
30584
30637
  if (rf & 2) {
30585
30638
  i0.ɵɵadvance(3);
30586
- i0.ɵɵproperty("p-buttons", ctx.formatButtons);
30639
+ i0.ɵɵproperty("p-small", true)("p-buttons", ctx.formatButtons);
30587
30640
  i0.ɵɵadvance(1);
30588
30641
  i0.ɵɵproperty("ngIf", !ctx.isInternetExplorer);
30589
30642
  i0.ɵɵadvance(2);
30590
- i0.ɵɵproperty("p-buttons", ctx.alignButtons);
30643
+ i0.ɵɵproperty("p-small", true)("p-buttons", ctx.alignButtons);
30591
30644
  i0.ɵɵadvance(2);
30592
- i0.ɵɵproperty("p-buttons", ctx.listButtons);
30645
+ i0.ɵɵproperty("p-small", true)("p-buttons", ctx.listButtons);
30593
30646
  i0.ɵɵadvance(2);
30594
- i0.ɵɵproperty("p-buttons", ctx.linkButtons);
30647
+ i0.ɵɵproperty("p-small", true)("p-buttons", ctx.linkButtons);
30595
30648
  i0.ɵɵadvance(2);
30596
- i0.ɵɵproperty("p-buttons", ctx.mediaButtons);
30649
+ i0.ɵɵproperty("p-small", true)("p-buttons", ctx.mediaButtons);
30597
30650
  }
30598
30651
  }, directives: [PoButtonGroupComponent, i1.NgIf, PoTooltipDirective, PoRichTextImageModalComponent, PoRichTextLinkModalComponent], encapsulation: 2 });
30599
30652
  (function () {
30600
30653
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRichTextToolbarComponent, [{
30601
30654
  type: Component,
30602
- args: [{ selector: 'po-rich-text-toolbar', template: "<div class=\"po-rich-text-toolbar\" #toolbarElement>\n <div class=\"po-rich-text-toolbar-button-align\">\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\">\n <div class=\"po-rich-text-toolbar-color-picker-container\">\n <button\n class=\"po-button 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 class=\"po-rich-text-toolbar-button-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\">\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\">\n <po-button-group [p-buttons]=\"linkButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\">\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" }]
30655
+ args: [{ selector: 'po-rich-text-toolbar', template: "<div class=\"po-rich-text-toolbar\" #toolbarElement>\n <div class=\"po-rich-text-toolbar-button-align\">\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\">\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 class=\"po-rich-text-toolbar-button-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\">\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\">\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\">\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" }]
30603
30656
  }], function () { return [{ type: PoLanguageService }]; }, { colorPickerInput: [{
30604
30657
  type: ViewChild,
30605
30658
  args: ['colorPickerInput', { read: ElementRef }]
@@ -33891,18 +33944,25 @@ PoTagModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imports
33891
33944
  })();
33892
33945
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoTagModule, { declarations: [PoTagComponent], imports: [CommonModule, PoIconModule], exports: [PoTagComponent] }); })();
33893
33946
 
33894
- function getGridColumnsClasses(smColumns, mdColumns, lgColumns, xlColumns, gridColumns, pullColumns) {
33947
+ function getGridColumnsClasses(gridColumns, offsetColumns, grid, offset, pull) {
33895
33948
  const systemGrid = {
33896
- sm: smColumns || gridColumns || 12,
33897
- md: mdColumns || gridColumns || 6,
33898
- lg: lgColumns || gridColumns || 4,
33899
- xl: xlColumns || gridColumns || 3,
33900
- pullSm: (pullColumns === null || pullColumns === void 0 ? void 0 : pullColumns.smPull) || 0,
33901
- pullMd: (pullColumns === null || pullColumns === void 0 ? void 0 : pullColumns.mdPull) || 0,
33902
- pullLg: (pullColumns === null || pullColumns === void 0 ? void 0 : pullColumns.lgPull) || 0,
33903
- pullXl: (pullColumns === null || pullColumns === void 0 ? void 0 : pullColumns.xlPull) || 0
33949
+ gridSm: (grid === null || grid === void 0 ? void 0 : grid.smGrid) || gridColumns || 12,
33950
+ gridMd: (grid === null || grid === void 0 ? void 0 : grid.mdGrid) || gridColumns || 6,
33951
+ gridLg: (grid === null || grid === void 0 ? void 0 : grid.lgGrid) || gridColumns || 4,
33952
+ gridXl: (grid === null || grid === void 0 ? void 0 : grid.xlGrid) || gridColumns || 3,
33953
+ offsetSm: (offset === null || offset === void 0 ? void 0 : offset.smOffset) || offsetColumns || 0,
33954
+ offsetMd: (offset === null || offset === void 0 ? void 0 : offset.mdOffset) || offsetColumns || 0,
33955
+ offsetLg: (offset === null || offset === void 0 ? void 0 : offset.lgOffset) || offsetColumns || 0,
33956
+ offsetXl: (offset === null || offset === void 0 ? void 0 : offset.xlOffset) || offsetColumns || 0,
33957
+ pullSm: (pull === null || pull === void 0 ? void 0 : pull.smPull) || 0,
33958
+ pullMd: (pull === null || pull === void 0 ? void 0 : pull.mdPull) || 0,
33959
+ pullLg: (pull === null || pull === void 0 ? void 0 : pull.lgPull) || 0,
33960
+ pullXl: (pull === null || pull === void 0 ? void 0 : pull.xlPull) || 0
33904
33961
  };
33905
- return `po-sm-${systemGrid.sm} po-pull-sm-${systemGrid.pullSm} po-md-${systemGrid.md} po-pull-md-${systemGrid.pullMd} po-lg-${systemGrid.lg} po-pull-lg-${systemGrid.pullLg} po-xl-${systemGrid.xl} po-pull-xl-${systemGrid.pullXl}`;
33962
+ return (`po-sm-${systemGrid.gridSm} po-offset-sm-${systemGrid.offsetSm} po-pull-sm-${systemGrid.pullSm} ` +
33963
+ `po-md-${systemGrid.gridMd} po-offset-md-${systemGrid.offsetMd} po-pull-md-${systemGrid.pullMd} ` +
33964
+ `po-lg-${systemGrid.gridLg} po-offset-lg-${systemGrid.offsetLg} po-pull-lg-${systemGrid.pullLg} ` +
33965
+ `po-xl-${systemGrid.gridXl} po-offset-xl-${systemGrid.offsetXl} po-pull-xl-${systemGrid.pullXl}`);
33906
33966
  }
33907
33967
  function isVisibleField(field) {
33908
33968
  const containsVisible = 'visible' in field;
@@ -33999,7 +34059,17 @@ class PoDynamicFormFieldsBaseComponent {
33999
34059
  const options = !!field.options ? this.convertOptions(field.options) : undefined;
34000
34060
  const focus = this.hasFocus(field);
34001
34061
  const type = field && field.type ? field.type.toLocaleLowerCase() : 'string';
34002
- const componentClass = getGridColumnsClasses(field.gridSmColumns, field.gridMdColumns, field.gridLgColumns, field.gridXlColumns, field.gridColumns, {
34062
+ const componentClass = getGridColumnsClasses(field.gridColumns, field.offsetColumns, {
34063
+ smGrid: field.gridSmColumns,
34064
+ mdGrid: field.gridMdColumns,
34065
+ lgGrid: field.gridLgColumns,
34066
+ xlGrid: field.gridXlColumns
34067
+ }, {
34068
+ smOffset: field.offsetSmColumns,
34069
+ mdOffset: field.offsetMdColumns,
34070
+ lgOffset: field.offsetLgColumns,
34071
+ xlOffset: field.offsetXlColumns
34072
+ }, {
34003
34073
  smPull: field.gridSmPull,
34004
34074
  mdPull: field.gridMdPull,
34005
34075
  lgPull: field.gridLgPull,
@@ -34661,7 +34731,17 @@ class PoDynamicViewBaseComponent {
34661
34731
  createField(field) {
34662
34732
  const property = field.property;
34663
34733
  const value = this.transformValue(field.type, this.value[property], field.format);
34664
- const classesGridColumns = getGridColumnsClasses(field.gridSmColumns, field.gridMdColumns, field.gridLgColumns, field.gridXlColumns, field.gridColumns, {
34734
+ const classesGridColumns = getGridColumnsClasses(field.gridColumns, field.offsetColumns, {
34735
+ smGrid: field.gridSmColumns,
34736
+ mdGrid: field.gridMdColumns,
34737
+ lgGrid: field.gridLgColumns,
34738
+ xlGrid: field.gridXlColumns
34739
+ }, {
34740
+ smOffset: field.offsetSmColumns,
34741
+ mdOffset: field.offsetMdColumns,
34742
+ lgOffset: field.offsetLgColumns,
34743
+ xlOffset: field.offsetXlColumns
34744
+ }, {
34665
34745
  smPull: field.gridSmPull,
34666
34746
  mdPull: field.gridMdPull,
34667
34747
  lgPull: field.gridLgPull,
@@ -37299,7 +37379,7 @@ function PoListViewComponent_ng_container_4_div_9_po_button_1_Template(rf, ctx)
37299
37379
  const action_r35 = ctx.$implicit;
37300
37380
  const item_r7 = i0.ɵɵnextContext(2).$implicit;
37301
37381
  const ctx_r34 = i0.ɵɵnextContext();
37302
- i0.ɵɵproperty("p-disabled", ctx_r34.returnBooleanValue(action_r35, item_r7))("p-icon", action_r35.icon)("p-label", action_r35.label)("p-type", action_r35.type);
37382
+ i0.ɵɵproperty("p-disabled", ctx_r34.returnBooleanValue(action_r35, item_r7))("p-icon", action_r35.icon)("p-label", action_r35.label)("p-kind", action_r35.type);
37303
37383
  }
37304
37384
  }
37305
37385
  function PoListViewComponent_ng_container_4_div_9_Template(rf, ctx) {
@@ -37543,7 +37623,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
37543
37623
  let _t;
37544
37624
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPopupComponent = _t.first);
37545
37625
  }
37546
- }, 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"], ["type", "checkbox", 1, "po-input", "po-checkbox-group-input"], [1, "po-checkbox-group-label", "po-list-view-selectable-label", "po-clickable", 3, "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"], ["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-type", "p-click", 4, "ngFor", "ngForOf"], ["p-small", "true", 3, "p-disabled", "p-icon", "p-label", "p-type", "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) {
37626
+ }, 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"], ["type", "checkbox", 1, "po-input", "po-checkbox-group-input"], [1, "po-checkbox-group-label", "po-list-view-selectable-label", "po-clickable", 3, "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"], ["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) {
37547
37627
  if (rf & 1) {
37548
37628
  i0.ɵɵelementStart(0, "div");
37549
37629
  i0.ɵɵtemplate(1, PoListViewComponent_div_1_Template, 6, 5, "div", 0);
@@ -37586,7 +37666,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
37586
37666
  transition('* => void', [style({ height: '*', 'overflow-y': 'hidden' }), animate(100, style({ height: 0 }))]),
37587
37667
  transition('void => *', [style({ height: '0' }), animate(100, style({ height: '*' }))])
37588
37668
  ])
37589
- ], 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 <input\n class=\"po-input po-checkbox-group-input\"\n type=\"checkbox\"\n [class.po-checkbox-group-input-checked]=\"selectAll\"\n [class.po-checkbox-group-input-indeterminate]=\"selectAll === null\"\n />\n <label\n class=\"po-checkbox-group-label po-list-view-selectable-label po-clickable\"\n (click)=\"selectAllListItems()\"\n >\n {{ literals.selectAll }}\n </label>\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 <input\n class=\"po-input po-checkbox-group-input\"\n type=\"checkbox\"\n [class.po-checkbox-group-input-checked]=\"item.$selected\"\n />\n <label\n class=\"po-checkbox-group-label po-list-view-selectable-label po-clickable\"\n (click)=\"selectListItem(item)\"\n ></label>\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-type]=\"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" }]
37669
+ ], 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 <input\n class=\"po-input po-checkbox-group-input\"\n type=\"checkbox\"\n [class.po-checkbox-group-input-checked]=\"selectAll\"\n [class.po-checkbox-group-input-indeterminate]=\"selectAll === null\"\n />\n <label\n class=\"po-checkbox-group-label po-list-view-selectable-label po-clickable\"\n (click)=\"selectAllListItems()\"\n >\n {{ literals.selectAll }}\n </label>\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 <input\n class=\"po-input po-checkbox-group-input\"\n type=\"checkbox\"\n [class.po-checkbox-group-input-checked]=\"item.$selected\"\n />\n <label\n class=\"po-checkbox-group-label po-list-view-selectable-label po-clickable\"\n (click)=\"selectListItem(item)\"\n ></label>\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" }]
37590
37670
  }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.IterableDiffers }, { type: PoLanguageService }]; }, { listViewContentTemplate: [{
37591
37671
  type: ContentChild,
37592
37672
  args: [PoListViewContentTemplateDirective, { static: true }]
@@ -41231,7 +41311,7 @@ class PoPageDefaultComponent extends PoPageDefaultBaseComponent {
41231
41311
  }
41232
41312
  }
41233
41313
  PoPageDefaultComponent.ɵfac = function PoPageDefaultComponent_Factory(t) { return new (t || PoPageDefaultComponent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i2.Router)); };
41234
- PoPageDefaultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageDefaultComponent, selectors: [["po-page-default"]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$e, decls: 4, vars: 1, consts: [[3, "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], [1, "po-page-header-actions"], [3, "p-label", "p-actions", 4, "ngIf"], [3, "p-disabled", "p-label", "p-click", 4, "ngIf"], ["p-type", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click", 4, "ngIf"], [3, "p-label", "p-actions"], [3, "p-disabled", "p-label", "p-click"], ["p-type", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click"]], template: function PoPageDefaultComponent_Template(rf, ctx) {
41314
+ PoPageDefaultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageDefaultComponent, selectors: [["po-page-default"]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$e, decls: 4, vars: 1, consts: [[3, "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], [1, "po-page-header-actions"], [3, "p-label", "p-actions", 4, "ngIf"], [3, "p-disabled", "p-label", "p-click", 4, "ngIf"], ["p-kind", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click", 4, "ngIf"], [3, "p-label", "p-actions"], [3, "p-disabled", "p-label", "p-click"], ["p-kind", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click"]], template: function PoPageDefaultComponent_Template(rf, ctx) {
41235
41315
  if (rf & 1) {
41236
41316
  i0.ɵɵprojectionDef();
41237
41317
  i0.ɵɵelementStart(0, "po-page");
@@ -41248,7 +41328,7 @@ PoPageDefaultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPa
41248
41328
  (function () {
41249
41329
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDefaultComponent, [{
41250
41330
  type: Component,
41251
- args: [{ selector: 'po-page-default', template: "<po-page>\n <!-- HEADER -->\n <po-page-header *ngIf=\"hasPageHeader()\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <!-- OPERATIONS -->\n <div class=\"po-page-header-actions\">\n <po-dropdown\n *ngIf=\"visibleActions.length > limitPrimaryActions\"\n [p-label]=\"literals.otherActions\"\n [p-actions]=\"dropdownActions\"\n >\n </po-dropdown>\n\n <po-button\n *ngIf=\"visibleActions.length === 3 && visibleActions[2] && !isMobile\"\n [p-disabled]=\"actionIsDisabled(visibleActions[2])\"\n [p-label]=\"visibleActions[2].label\"\n (p-click)=\"callAction(visibleActions[2])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions[1] && (visibleActions.length === 2 || !isMobile)\"\n [p-disabled]=\"actionIsDisabled(visibleActions[1])\"\n [p-label]=\"visibleActions[1].label\"\n (p-click)=\"callAction(visibleActions[1])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions[0]\"\n p-type=\"primary\"\n [p-disabled]=\"actionIsDisabled(visibleActions[0])\"\n [p-icon]=\"visibleActions[0].icon\"\n [p-label]=\"visibleActions[0].label\"\n (p-click)=\"callAction(visibleActions[0])\"\n >\n </po-button>\n </div>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content></ng-content>\n </po-page-content>\n</po-page>\n" }]
41331
+ args: [{ selector: 'po-page-default', template: "<po-page>\n <!-- HEADER -->\n <po-page-header *ngIf=\"hasPageHeader()\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <!-- OPERATIONS -->\n <div class=\"po-page-header-actions\">\n <po-dropdown\n *ngIf=\"visibleActions.length > limitPrimaryActions\"\n [p-label]=\"literals.otherActions\"\n [p-actions]=\"dropdownActions\"\n >\n </po-dropdown>\n\n <po-button\n *ngIf=\"visibleActions.length === 3 && visibleActions[2] && !isMobile\"\n [p-disabled]=\"actionIsDisabled(visibleActions[2])\"\n [p-label]=\"visibleActions[2].label\"\n (p-click)=\"callAction(visibleActions[2])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions[1] && (visibleActions.length === 2 || !isMobile)\"\n [p-disabled]=\"actionIsDisabled(visibleActions[1])\"\n [p-label]=\"visibleActions[1].label\"\n (p-click)=\"callAction(visibleActions[1])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions[0]\"\n p-kind=\"primary\"\n [p-disabled]=\"actionIsDisabled(visibleActions[0])\"\n [p-icon]=\"visibleActions[0].icon\"\n [p-label]=\"visibleActions[0].label\"\n (p-click)=\"callAction(visibleActions[0])\"\n >\n </po-button>\n </div>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content></ng-content>\n </po-page-content>\n</po-page>\n" }]
41252
41332
  }], function () { return [{ type: i0.ViewContainerRef }, { type: PoLanguageService }, { type: i0.Renderer2 }, { type: i2.Router }]; }, null);
41253
41333
  })();
41254
41334
 
@@ -41419,7 +41499,7 @@ function PoPageDetailComponent_po_page_header_1_div_1_po_button_1_Template(rf, c
41419
41499
  }
41420
41500
  if (rf & 2) {
41421
41501
  const ctx_r2 = i0.ɵɵnextContext(3);
41422
- i0.ɵɵproperty("p-icon", ctx_r2.hasEditOrRemoveFn("icon"))("p-label", ctx_r2.literals.back)("p-type", ctx_r2.hasEditOrRemoveFn("type"));
41502
+ i0.ɵɵproperty("p-icon", ctx_r2.hasEditOrRemoveFn("icon"))("p-label", ctx_r2.literals.back)("p-kind", ctx_r2.hasEditOrRemoveFn("type"));
41423
41503
  }
41424
41504
  }
41425
41505
  function PoPageDetailComponent_po_page_header_1_div_1_po_button_2_Template(rf, ctx) {
@@ -41431,7 +41511,7 @@ function PoPageDetailComponent_po_page_header_1_div_1_po_button_2_Template(rf, c
41431
41511
  }
41432
41512
  if (rf & 2) {
41433
41513
  const ctx_r3 = i0.ɵɵnextContext(3);
41434
- i0.ɵɵproperty("p-icon", ctx_r3.hasEditFn("icon"))("p-label", ctx_r3.literals.remove)("p-type", ctx_r3.hasEditFn("type"));
41514
+ i0.ɵɵproperty("p-icon", ctx_r3.hasEditFn("icon"))("p-label", ctx_r3.literals.remove)("p-kind", ctx_r3.hasEditFn("type"));
41435
41515
  }
41436
41516
  }
41437
41517
  function PoPageDetailComponent_po_page_header_1_div_1_po_button_3_Template(rf, ctx) {
@@ -41507,7 +41587,7 @@ class PoPageDetailComponent extends PoPageDetailBaseComponent {
41507
41587
  return this.hasEvent('edit') ? '' : 'po-icon-delete';
41508
41588
  }
41509
41589
  else if (property === 'type') {
41510
- return this.hasEvent('edit') ? 'default' : 'primary';
41590
+ return this.hasEvent('edit') ? 'secondary' : 'primary';
41511
41591
  }
41512
41592
  else {
41513
41593
  return '';
@@ -41518,7 +41598,7 @@ class PoPageDetailComponent extends PoPageDetailBaseComponent {
41518
41598
  return this.hasEvent('edit') || this.hasEvent('remove') ? '' : 'po-icon-arrow-left';
41519
41599
  }
41520
41600
  else if (property === 'type') {
41521
- return this.hasEvent('edit') || this.hasEvent('remove') ? 'default' : 'primary';
41601
+ return this.hasEvent('edit') || this.hasEvent('remove') ? 'secondary' : 'primary';
41522
41602
  }
41523
41603
  else {
41524
41604
  return '';
@@ -41532,7 +41612,7 @@ class PoPageDetailComponent extends PoPageDetailBaseComponent {
41532
41612
  }
41533
41613
  }
41534
41614
  PoPageDetailComponent.ɵfac = /*@__PURE__*/ function () { let ɵPoPageDetailComponent_BaseFactory; return function PoPageDetailComponent_Factory(t) { return (ɵPoPageDetailComponent_BaseFactory || (ɵPoPageDetailComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoPageDetailComponent)))(t || PoPageDetailComponent); }; }();
41535
- PoPageDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageDetailComponent, selectors: [["po-page-detail"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$d, decls: 4, vars: 1, consts: [[3, "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], ["class", "po-page-header-actions", 4, "ngIf"], [1, "po-page-header-actions"], [3, "p-icon", "p-label", "p-type", "p-click", 4, "ngIf"], ["p-icon", "po-icon-edit", "p-type", "primary", 3, "p-label", "p-click", 4, "ngIf"], [3, "p-icon", "p-label", "p-type", "p-click"], ["p-icon", "po-icon-edit", "p-type", "primary", 3, "p-label", "p-click"]], template: function PoPageDetailComponent_Template(rf, ctx) {
41615
+ PoPageDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageDetailComponent, selectors: [["po-page-detail"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$d, decls: 4, vars: 1, consts: [[3, "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], ["class", "po-page-header-actions", 4, "ngIf"], [1, "po-page-header-actions"], [3, "p-icon", "p-label", "p-kind", "p-click", 4, "ngIf"], ["p-icon", "po-icon-edit", "p-kind", "primary", 3, "p-label", "p-click", 4, "ngIf"], [3, "p-icon", "p-label", "p-kind", "p-click"], ["p-icon", "po-icon-edit", "p-kind", "primary", 3, "p-label", "p-click"]], template: function PoPageDetailComponent_Template(rf, ctx) {
41536
41616
  if (rf & 1) {
41537
41617
  i0.ɵɵprojectionDef();
41538
41618
  i0.ɵɵelementStart(0, "po-page");
@@ -41549,7 +41629,7 @@ PoPageDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPag
41549
41629
  (function () {
41550
41630
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDetailComponent, [{
41551
41631
  type: Component,
41552
- args: [{ selector: 'po-page-detail', template: "<po-page>\n <!-- HEADER -->\n <po-page-header *ngIf=\"hasPageHeader()\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <!-- OPERATIONS -->\n <div *ngIf=\"hasAnyAction()\" class=\"po-page-header-actions\">\n <po-button\n *ngIf=\"hasEvent('back')\"\n [p-icon]=\"hasEditOrRemoveFn('icon')\"\n [p-label]=\"literals.back\"\n [p-type]=\"hasEditOrRemoveFn('type')\"\n (p-click)=\"back.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('remove')\"\n [p-icon]=\"hasEditFn('icon')\"\n [p-label]=\"literals.remove\"\n [p-type]=\"hasEditFn('type')\"\n (p-click)=\"remove.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('edit')\"\n p-icon=\"po-icon-edit\"\n p-type=\"primary\"\n [p-label]=\"literals.edit\"\n (p-click)=\"edit.emit()\"\n >\n </po-button>\n </div>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content> </ng-content>\n </po-page-content>\n</po-page>\n" }]
41632
+ args: [{ selector: 'po-page-detail', template: "<po-page>\n <!-- HEADER -->\n <po-page-header *ngIf=\"hasPageHeader()\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <!-- OPERATIONS -->\n <div *ngIf=\"hasAnyAction()\" class=\"po-page-header-actions\">\n <po-button\n *ngIf=\"hasEvent('back')\"\n [p-icon]=\"hasEditOrRemoveFn('icon')\"\n [p-label]=\"literals.back\"\n [p-kind]=\"hasEditOrRemoveFn('type')\"\n (p-click)=\"back.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('remove')\"\n [p-icon]=\"hasEditFn('icon')\"\n [p-label]=\"literals.remove\"\n [p-kind]=\"hasEditFn('type')\"\n (p-click)=\"remove.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('edit')\"\n p-icon=\"po-icon-edit\"\n p-kind=\"primary\"\n [p-label]=\"literals.edit\"\n (p-click)=\"edit.emit()\"\n >\n </po-button>\n </div>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content> </ng-content>\n </po-page-content>\n</po-page>\n" }]
41553
41633
  }], null, null);
41554
41634
  })();
41555
41635
 
@@ -41727,7 +41807,7 @@ function PoPageEditComponent_po_page_header_1_div_1_po_button_1_Template(rf, ctx
41727
41807
  }
41728
41808
  if (rf & 2) {
41729
41809
  const ctx_r2 = i0.ɵɵnextContext(3);
41730
- i0.ɵɵproperty("p-icon", ctx_r2.getIcon("cancel"))("p-label", ctx_r2.literals.cancel)("p-type", ctx_r2.getType("cancel"));
41810
+ i0.ɵɵproperty("p-icon", ctx_r2.getIcon("cancel"))("p-label", ctx_r2.literals.cancel)("p-kind", ctx_r2.getType("cancel"));
41731
41811
  }
41732
41812
  }
41733
41813
  function PoPageEditComponent_po_page_header_1_div_1_po_button_2_Template(rf, ctx) {
@@ -41739,7 +41819,7 @@ function PoPageEditComponent_po_page_header_1_div_1_po_button_2_Template(rf, ctx
41739
41819
  }
41740
41820
  if (rf & 2) {
41741
41821
  const ctx_r3 = i0.ɵɵnextContext(3);
41742
- i0.ɵɵproperty("p-disabled", ctx_r3.disableSubmit)("p-icon", ctx_r3.getIcon("saveNew"))("p-label", ctx_r3.literals.saveNew)("p-type", ctx_r3.getType("saveNew"));
41822
+ i0.ɵɵproperty("p-disabled", ctx_r3.disableSubmit)("p-icon", ctx_r3.getIcon("saveNew"))("p-label", ctx_r3.literals.saveNew)("p-kind", ctx_r3.getType("saveNew"));
41743
41823
  }
41744
41824
  }
41745
41825
  function PoPageEditComponent_po_page_header_1_div_1_po_button_3_Template(rf, ctx) {
@@ -41819,7 +41899,7 @@ class PoPageEditComponent extends PoPageEditBaseComponent {
41819
41899
  getType(type) {
41820
41900
  const isCancelPrimaryAction = type === 'cancel' && this.isPrimaryAction('cancel');
41821
41901
  const isSaveNewPrimaryAction = type === 'saveNew' && this.isPrimaryAction('saveNew');
41822
- return isCancelPrimaryAction || isSaveNewPrimaryAction ? 'primary' : 'default';
41902
+ return isCancelPrimaryAction || isSaveNewPrimaryAction ? 'primary' : 'secondary';
41823
41903
  }
41824
41904
  hasAnyAction() {
41825
41905
  return this.hasEvent('cancel') || this.hasEvent('saveNew') || this.hasEvent('save');
@@ -41843,7 +41923,7 @@ class PoPageEditComponent extends PoPageEditBaseComponent {
41843
41923
  }
41844
41924
  }
41845
41925
  PoPageEditComponent.ɵfac = /*@__PURE__*/ function () { let ɵPoPageEditComponent_BaseFactory; return function PoPageEditComponent_Factory(t) { return (ɵPoPageEditComponent_BaseFactory || (ɵPoPageEditComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoPageEditComponent)))(t || PoPageEditComponent); }; }();
41846
- PoPageEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageEditComponent, selectors: [["po-page-edit"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls: 4, vars: 1, consts: [[3, "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], ["class", "po-page-header-actions", 4, "ngIf"], [1, "po-page-header-actions"], [3, "p-icon", "p-label", "p-type", "p-click", 4, "ngIf"], [3, "p-disabled", "p-icon", "p-label", "p-type", "p-click", 4, "ngIf"], ["p-icon", "po-icon-ok", "p-type", "primary", 3, "p-disabled", "p-label", "p-click", 4, "ngIf"], [3, "p-icon", "p-label", "p-type", "p-click"], [3, "p-disabled", "p-icon", "p-label", "p-type", "p-click"], ["p-icon", "po-icon-ok", "p-type", "primary", 3, "p-disabled", "p-label", "p-click"]], template: function PoPageEditComponent_Template(rf, ctx) {
41926
+ PoPageEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageEditComponent, selectors: [["po-page-edit"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls: 4, vars: 1, consts: [[3, "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], ["class", "po-page-header-actions", 4, "ngIf"], [1, "po-page-header-actions"], [3, "p-icon", "p-label", "p-kind", "p-click", 4, "ngIf"], [3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click", 4, "ngIf"], ["p-icon", "po-icon-ok", "p-kind", "primary", 3, "p-disabled", "p-label", "p-click", 4, "ngIf"], [3, "p-icon", "p-label", "p-kind", "p-click"], [3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click"], ["p-icon", "po-icon-ok", "p-kind", "primary", 3, "p-disabled", "p-label", "p-click"]], template: function PoPageEditComponent_Template(rf, ctx) {
41847
41927
  if (rf & 1) {
41848
41928
  i0.ɵɵprojectionDef();
41849
41929
  i0.ɵɵelementStart(0, "po-page");
@@ -41860,7 +41940,7 @@ PoPageEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageE
41860
41940
  (function () {
41861
41941
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageEditComponent, [{
41862
41942
  type: Component,
41863
- args: [{ selector: 'po-page-edit', template: "<po-page>\n <!-- HEADER -->\n <po-page-header *ngIf=\"hasPageHeader()\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <!-- OPERATIONS -->\n <div *ngIf=\"hasAnyAction()\" class=\"po-page-header-actions\">\n <po-button\n *ngIf=\"hasEvent('cancel')\"\n [p-icon]=\"getIcon('cancel')\"\n [p-label]=\"literals.cancel\"\n [p-type]=\"getType('cancel')\"\n (p-click)=\"cancel.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('saveNew')\"\n [p-disabled]=\"disableSubmit\"\n [p-icon]=\"getIcon('saveNew')\"\n [p-label]=\"literals.saveNew\"\n [p-type]=\"getType('saveNew')\"\n (p-click)=\"saveNew.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('save')\"\n p-icon=\"po-icon-ok\"\n p-type=\"primary\"\n [p-disabled]=\"disableSubmit\"\n [p-label]=\"literals.save\"\n (p-click)=\"save.emit()\"\n >\n </po-button>\n </div>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content> </ng-content>\n </po-page-content>\n</po-page>\n" }]
41943
+ args: [{ selector: 'po-page-edit', template: "<po-page>\n <!-- HEADER -->\n <po-page-header *ngIf=\"hasPageHeader()\" [p-breadcrumb]=\"breadcrumb\" [p-title]=\"title\">\n <!-- OPERATIONS -->\n <div *ngIf=\"hasAnyAction()\" class=\"po-page-header-actions\">\n <po-button\n *ngIf=\"hasEvent('cancel')\"\n [p-icon]=\"getIcon('cancel')\"\n [p-label]=\"literals.cancel\"\n [p-kind]=\"getType('cancel')\"\n (p-click)=\"cancel.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('saveNew')\"\n [p-disabled]=\"disableSubmit\"\n [p-icon]=\"getIcon('saveNew')\"\n [p-label]=\"literals.saveNew\"\n [p-kind]=\"getType('saveNew')\"\n (p-click)=\"saveNew.emit()\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"hasEvent('save')\"\n p-icon=\"po-icon-ok\"\n p-kind=\"primary\"\n [p-disabled]=\"disableSubmit\"\n [p-label]=\"literals.save\"\n (p-click)=\"save.emit()\"\n >\n </po-button>\n </div>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content> </ng-content>\n </po-page-content>\n</po-page>\n" }]
41864
41944
  }], null, null);
41865
41945
  })();
41866
41946
 
@@ -42323,7 +42403,7 @@ PoPageListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageL
42323
42403
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterInput = _t.first);
42324
42404
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPageContent = _t.first);
42325
42405
  }
42326
- }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$5, decls: 4, vars: 1, consts: [[3, "po-page-list-header-padding", "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], [1, "po-page-list-operations"], [1, "po-page-list-actions"], ["p-type", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click", 4, "ngIf"], [3, "p-disabled", "p-label", "p-click", 4, "ngIf"], [3, "p-actions", "p-label", 4, "ngIf"], ["class", "po-page-list-filter-wrapper", 3, "ngClass", 4, "ngIf"], [3, "po-page-list-disclaimer-group", "p-disclaimers", "p-hide-remove-all", "p-title", "p-change", "p-remove", "p-remove-all", 4, "ngIf"], ["p-type", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click"], [3, "p-disabled", "p-label", "p-click"], [3, "p-actions", "p-label"], [1, "po-page-list-filter-wrapper", 3, "ngClass"], [1, "po-field-container-content", "po-page-filter-content", 3, "ngClass"], [1, "po-field-icon-container-right"], [1, "po-icon", "po-icon-search", "po-field-icon", 3, "click"], ["name", "model", "type", "text", 1, "po-input", "po-input-icon-right", 3, "placeholder", "keypress"], ["filterInput", ""], ["class", "po-page-list-filter-search", 4, "ngIf"], [1, "po-page-list-filter-search"], ["tabindex", "0", 1, "po-page-list-filter-search-link", 3, "click", "keydown.enter"], [3, "p-disclaimers", "p-hide-remove-all", "p-title", "p-change", "p-remove", "p-remove-all"]], template: function PoPageListComponent_Template(rf, ctx) {
42406
+ }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$5, decls: 4, vars: 1, consts: [[3, "po-page-list-header-padding", "p-breadcrumb", "p-title", 4, "ngIf"], [3, "p-breadcrumb", "p-title"], [1, "po-page-list-operations"], [1, "po-page-list-actions"], ["p-kind", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click", 4, "ngIf"], [3, "p-disabled", "p-label", "p-click", 4, "ngIf"], [3, "p-actions", "p-label", 4, "ngIf"], ["class", "po-page-list-filter-wrapper", 3, "ngClass", 4, "ngIf"], [3, "po-page-list-disclaimer-group", "p-disclaimers", "p-hide-remove-all", "p-title", "p-change", "p-remove", "p-remove-all", 4, "ngIf"], ["p-kind", "primary", 3, "p-disabled", "p-icon", "p-label", "p-click"], [3, "p-disabled", "p-label", "p-click"], [3, "p-actions", "p-label"], [1, "po-page-list-filter-wrapper", 3, "ngClass"], [1, "po-field-container-content", "po-page-filter-content", 3, "ngClass"], [1, "po-field-icon-container-right"], [1, "po-icon", "po-icon-search", "po-field-icon", 3, "click"], ["name", "model", "type", "text", 1, "po-input", "po-input-icon-right", 3, "placeholder", "keypress"], ["filterInput", ""], ["class", "po-page-list-filter-search", 4, "ngIf"], [1, "po-page-list-filter-search"], ["tabindex", "0", 1, "po-page-list-filter-search-link", 3, "click", "keydown.enter"], [3, "p-disclaimers", "p-hide-remove-all", "p-title", "p-change", "p-remove", "p-remove-all"]], template: function PoPageListComponent_Template(rf, ctx) {
42327
42407
  if (rf & 1) {
42328
42408
  i0.ɵɵprojectionDef();
42329
42409
  i0.ɵɵelementStart(0, "po-page");
@@ -42340,7 +42420,7 @@ PoPageListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageL
42340
42420
  (function () {
42341
42421
  (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageListComponent, [{
42342
42422
  type: Component,
42343
- args: [{ selector: 'po-page-list', template: "<po-page>\n <!-- HEADER -->\n <po-page-header\n *ngIf=\"hasPageHeader()\"\n [class.po-page-list-header-padding]=\"filter && !visibleActions.length\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-title]=\"title\"\n >\n <!-- OPERATIONS -->\n <div class=\"po-page-list-operations\">\n <div class=\"po-page-list-actions\" [class.po-page-list-actions-padding]=\"filter\">\n <po-button\n *ngIf=\"visibleActions[0]\"\n p-type=\"primary\"\n [p-disabled]=\"actionIsDisabled(actions[0])\"\n [p-icon]=\"visibleActions[0].icon\"\n [p-label]=\"visibleActions[0].label\"\n (p-click)=\"callAction(visibleActions[0])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions[1] && (visibleActions.length === 2 || !isMobile)\"\n [p-disabled]=\"actionIsDisabled(actions[1])\"\n [p-label]=\"visibleActions[1].label\"\n (p-click)=\"callAction(visibleActions[1])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions.length === 3 && visibleActions[2] && !isMobile\"\n [p-disabled]=\"actionIsDisabled(visibleActions[2])\"\n [p-label]=\"visibleActions[2].label\"\n (p-click)=\"callAction(visibleActions[2])\"\n >\n </po-button>\n\n <po-dropdown\n *ngIf=\"visibleActions.length > limitPrimaryActions\"\n [p-actions]=\"dropdownActions\"\n [p-label]=\"literals.otherActions\"\n >\n </po-dropdown>\n </div>\n\n <!-- FILTER -->\n <div\n class=\"po-page-list-filter-wrapper\"\n *ngIf=\"filter\"\n [ngClass]=\"hasCustomFilterSize() ? filterSizeClass(filter.width) : ''\"\n >\n <div\n class=\"po-field-container-content po-page-filter-content\"\n [ngClass]=\"\n hasCustomFilterSize()\n ? filter.advancedAction\n ? 'po-page-filter-input-variable-size'\n : 'po-page-filter-input-variable-size-wo-adv-search'\n : ''\n \"\n >\n <div class=\"po-field-icon-container-right\">\n <span class=\"po-icon po-icon-search po-field-icon\" (click)=\"callActionFilter('action')\"> </span>\n </div>\n\n <input\n #filterInput\n class=\"po-input po-input-icon-right\"\n name=\"model\"\n type=\"text\"\n [placeholder]=\"filter.placeholder || ''\"\n (keypress)=\"onkeypress($event.keyCode)\"\n />\n </div>\n\n <div class=\"po-page-list-filter-search\" *ngIf=\"filter.advancedAction\">\n <span\n class=\"po-page-list-filter-search-link\"\n tabindex=\"0\"\n (click)=\"callActionFilter('advancedAction')\"\n (keydown.enter)=\"callActionFilter('advancedAction')\"\n >\n {{ advancedSearch }}\n </span>\n </div>\n </div>\n </div>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"!!disclaimerGroup\"\n [class.po-page-list-disclaimer-group]=\"!!disclaimerGroup?.disclaimers?.length\"\n [p-disclaimers]=\"disclaimerGroup?.disclaimers\"\n [p-hide-remove-all]=\"disclaimerGroup?.hideRemoveAll\"\n [p-title]=\"disclaimerGroup?.title\"\n (p-change)=\"onChangeDisclaimerGroup($event)\"\n (p-remove)=\"onRemoveDisclaimer($event)\"\n (p-remove-all)=\"onRemoveAllDisclaimers($event)\"\n >\n </po-disclaimer-group>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content></ng-content>\n </po-page-content>\n</po-page>\n" }]
42423
+ args: [{ selector: 'po-page-list', template: "<po-page>\n <!-- HEADER -->\n <po-page-header\n *ngIf=\"hasPageHeader()\"\n [class.po-page-list-header-padding]=\"filter && !visibleActions.length\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-title]=\"title\"\n >\n <!-- OPERATIONS -->\n <div class=\"po-page-list-operations\">\n <div class=\"po-page-list-actions\" [class.po-page-list-actions-padding]=\"filter\">\n <po-button\n *ngIf=\"visibleActions[0]\"\n p-kind=\"primary\"\n [p-disabled]=\"actionIsDisabled(actions[0])\"\n [p-icon]=\"visibleActions[0].icon\"\n [p-label]=\"visibleActions[0].label\"\n (p-click)=\"callAction(visibleActions[0])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions[1] && (visibleActions.length === 2 || !isMobile)\"\n [p-disabled]=\"actionIsDisabled(actions[1])\"\n [p-label]=\"visibleActions[1].label\"\n (p-click)=\"callAction(visibleActions[1])\"\n >\n </po-button>\n\n <po-button\n *ngIf=\"visibleActions.length === 3 && visibleActions[2] && !isMobile\"\n [p-disabled]=\"actionIsDisabled(visibleActions[2])\"\n [p-label]=\"visibleActions[2].label\"\n (p-click)=\"callAction(visibleActions[2])\"\n >\n </po-button>\n\n <po-dropdown\n *ngIf=\"visibleActions.length > limitPrimaryActions\"\n [p-actions]=\"dropdownActions\"\n [p-label]=\"literals.otherActions\"\n >\n </po-dropdown>\n </div>\n\n <!-- FILTER -->\n <div\n class=\"po-page-list-filter-wrapper\"\n *ngIf=\"filter\"\n [ngClass]=\"hasCustomFilterSize() ? filterSizeClass(filter.width) : ''\"\n >\n <div\n class=\"po-field-container-content po-page-filter-content\"\n [ngClass]=\"\n hasCustomFilterSize()\n ? filter.advancedAction\n ? 'po-page-filter-input-variable-size'\n : 'po-page-filter-input-variable-size-wo-adv-search'\n : ''\n \"\n >\n <div class=\"po-field-icon-container-right\">\n <span class=\"po-icon po-icon-search po-field-icon\" (click)=\"callActionFilter('action')\"> </span>\n </div>\n\n <input\n #filterInput\n class=\"po-input po-input-icon-right\"\n name=\"model\"\n type=\"text\"\n [placeholder]=\"filter.placeholder || ''\"\n (keypress)=\"onkeypress($event.keyCode)\"\n />\n </div>\n\n <div class=\"po-page-list-filter-search\" *ngIf=\"filter.advancedAction\">\n <span\n class=\"po-page-list-filter-search-link\"\n tabindex=\"0\"\n (click)=\"callActionFilter('advancedAction')\"\n (keydown.enter)=\"callActionFilter('advancedAction')\"\n >\n {{ advancedSearch }}\n </span>\n </div>\n </div>\n </div>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"!!disclaimerGroup\"\n [class.po-page-list-disclaimer-group]=\"!!disclaimerGroup?.disclaimers?.length\"\n [p-disclaimers]=\"disclaimerGroup?.disclaimers\"\n [p-hide-remove-all]=\"disclaimerGroup?.hideRemoveAll\"\n [p-title]=\"disclaimerGroup?.title\"\n (p-change)=\"onChangeDisclaimerGroup($event)\"\n (p-remove)=\"onRemoveDisclaimer($event)\"\n (p-remove-all)=\"onRemoveAllDisclaimers($event)\"\n >\n </po-disclaimer-group>\n </po-page-header>\n\n <!-- CONTENT -->\n <po-page-content>\n <ng-content></ng-content>\n </po-page-content>\n</po-page>\n" }]
42344
42424
  }], function () { return [{ type: i0.ViewContainerRef }, { type: PoLanguageService }, { type: i0.Renderer2 }, { type: i2.Router }, { type: i0.ChangeDetectorRef }]; }, { filterInput: [{
42345
42425
  type: ViewChild,
42346
42426
  args: ['filterInput']