@po-ui/ng-components 6.12.0 → 6.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/po-button/po-button-base.component.mjs +4 -7
- package/esm2020/lib/components/po-field/index.mjs +2 -1
- package/esm2020/lib/components/po-field/po-datepicker/po-datepicker-base.component.mjs +8 -3
- package/esm2020/lib/components/po-field/po-field.module.mjs +8 -3
- package/esm2020/lib/components/po-field/po-radio/po-radio-base.component.mjs +104 -0
- package/esm2020/lib/components/po-field/po-radio/po-radio-size.enum.mjs +6 -0
- package/esm2020/lib/components/po-field/po-radio/po-radio.component.mjs +100 -0
- package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +77 -82
- package/esm2020/lib/components/po-list-view/po-list-view.module.mjs +6 -4
- package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +80 -23
- package/esm2020/lib/components/po-table/po-table.component.mjs +487 -466
- package/esm2020/lib/utils/util.mjs +9 -1
- package/fesm2015/po-ui-ng-components.mjs +1079 -781
- package/fesm2015/po-ui-ng-components.mjs.map +1 -1
- package/fesm2020/po-ui-ng-components.mjs +1063 -781
- package/fesm2020/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-button/po-button-base.component.d.ts +1 -1
- package/lib/components/po-field/index.d.ts +1 -0
- package/lib/components/po-field/po-field.module.d.ts +23 -22
- package/lib/components/po-field/po-radio/po-radio-base.component.d.ts +58 -0
- package/lib/components/po-field/po-radio/po-radio-size.enum.d.ts +4 -0
- package/lib/components/po-field/po-radio/po-radio.component.d.ts +38 -0
- package/lib/components/po-list-view/po-list-view.module.d.ts +6 -4
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +13 -1
- package/lib/components/po-table/po-table.component.d.ts +4 -0
- package/lib/utils/util.d.ts +1 -0
- package/package.json +6 -4
- package/po-ui-ng-components-6.13.1.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-6.12.0.tgz +0 -0
|
@@ -80,7 +80,7 @@ function PoAccordionItemComponent_ng_template_0_Template(rf, ctx) {
|
|
|
80
80
|
i0.ɵɵprojection(0);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
const _c0$
|
|
83
|
+
const _c0$1u = ["*"];
|
|
84
84
|
/**
|
|
85
85
|
* @description
|
|
86
86
|
*
|
|
@@ -140,7 +140,7 @@ PoAccordionItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
|
|
|
140
140
|
let _t;
|
|
141
141
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templateRef = _t.first);
|
|
142
142
|
}
|
|
143
|
-
}, inputs: { label: ["p-label", "label"] }, ngContentSelectors: _c0$
|
|
143
|
+
}, inputs: { label: ["p-label", "label"] }, ngContentSelectors: _c0$1u, decls: 1, vars: 0, template: function PoAccordionItemComponent_Template(rf, ctx) {
|
|
144
144
|
if (rf & 1) {
|
|
145
145
|
i0.ɵɵprojectionDef();
|
|
146
146
|
i0.ɵɵtemplate(0, PoAccordionItemComponent_ng_template_0_Template, 1, 0, "ng-template");
|
|
@@ -211,14 +211,14 @@ function PoAccordionItemBodyComponent_div_0_Template(rf, ctx) {
|
|
|
211
211
|
i0.ɵɵproperty("@toggleBody", undefined);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
const _c0$
|
|
214
|
+
const _c0$1t = ["*"];
|
|
215
215
|
class PoAccordionItemBodyComponent {
|
|
216
216
|
constructor() {
|
|
217
217
|
this.expanded = false;
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
PoAccordionItemBodyComponent.ɵfac = function PoAccordionItemBodyComponent_Factory(t) { return new (t || PoAccordionItemBodyComponent)(); };
|
|
221
|
-
PoAccordionItemBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoAccordionItemBodyComponent, selectors: [["po-accordion-item-body"]], inputs: { expanded: ["p-expanded", "expanded"] }, ngContentSelectors: _c0$
|
|
221
|
+
PoAccordionItemBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoAccordionItemBodyComponent, selectors: [["po-accordion-item-body"]], inputs: { expanded: ["p-expanded", "expanded"] }, ngContentSelectors: _c0$1t, decls: 1, vars: 1, consts: [["class", "po-accordion-item-body", 4, "ngIf"], [1, "po-accordion-item-body"], [1, "po-accordion-item-body-content"]], template: function PoAccordionItemBodyComponent_Template(rf, ctx) {
|
|
222
222
|
if (rf & 1) {
|
|
223
223
|
i0.ɵɵprojectionDef();
|
|
224
224
|
i0.ɵɵtemplate(0, PoAccordionItemBodyComponent_div_0_Template, 3, 1, "div", 0);
|
|
@@ -1016,6 +1016,14 @@ function convertIsoToDate(value, start, end) {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
|
+
function convertIsoToDateNoTimezone(value) {
|
|
1020
|
+
if (value) {
|
|
1021
|
+
const day = parseInt(value.substring(8, 10), 10);
|
|
1022
|
+
const month = parseInt(value.substring(5, 7), 10);
|
|
1023
|
+
const year = parseInt(value.substring(0, 4), 10);
|
|
1024
|
+
return new Date(year, month - 1, day);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1019
1027
|
function convertDateToISODate(date) {
|
|
1020
1028
|
if (date) {
|
|
1021
1029
|
const getMonth = date.getMonth() + 1;
|
|
@@ -1692,8 +1700,8 @@ PoBreadcrumbDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
1692
1700
|
}] });
|
|
1693
1701
|
})();
|
|
1694
1702
|
|
|
1695
|
-
const _c0$
|
|
1696
|
-
const _c1$
|
|
1703
|
+
const _c0$1s = ["breadcrumb"];
|
|
1704
|
+
const _c1$D = ["dropdownIcon"];
|
|
1697
1705
|
function PoBreadcrumbComponent_li_3_Template(rf, ctx) {
|
|
1698
1706
|
if (rf & 1) {
|
|
1699
1707
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -1879,8 +1887,8 @@ class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent {
|
|
|
1879
1887
|
PoBreadcrumbComponent.ɵfac = function PoBreadcrumbComponent_Factory(t) { return new (t || PoBreadcrumbComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
1880
1888
|
PoBreadcrumbComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoBreadcrumbComponent, selectors: [["po-breadcrumb"]], viewQuery: function PoBreadcrumbComponent_Query(rf, ctx) {
|
|
1881
1889
|
if (rf & 1) {
|
|
1882
|
-
i0.ɵɵviewQuery(_c0$
|
|
1883
|
-
i0.ɵɵviewQuery(_c1$
|
|
1890
|
+
i0.ɵɵviewQuery(_c0$1s, 7, ElementRef);
|
|
1891
|
+
i0.ɵɵviewQuery(_c1$D, 5, ElementRef);
|
|
1884
1892
|
}
|
|
1885
1893
|
if (rf & 2) {
|
|
1886
1894
|
let _t;
|
|
@@ -2578,13 +2586,10 @@ class PoButtonBaseComponent {
|
|
|
2578
2586
|
*
|
|
2579
2587
|
* Deve ser usado em ações irreversíveis que o usuário precisa ter cuidado ao executá-la, como a exclusão de um registro.
|
|
2580
2588
|
*
|
|
2581
|
-
* >
|
|
2589
|
+
* > A propriedade `p-kind="tertiary"` será inativada ao utilizar esta propriedade.
|
|
2582
2590
|
*/
|
|
2583
2591
|
set danger(value) {
|
|
2584
|
-
this._danger = value;
|
|
2585
|
-
if (this._danger) {
|
|
2586
|
-
this.kind = PoButtonKind.secondary;
|
|
2587
|
-
}
|
|
2592
|
+
this._danger = this.kind !== PoButtonKind.tertiary ? value : false;
|
|
2588
2593
|
}
|
|
2589
2594
|
get danger() {
|
|
2590
2595
|
return this._danger;
|
|
@@ -2604,7 +2609,7 @@ class PoButtonBaseComponent {
|
|
|
2604
2609
|
* @default `secondary`
|
|
2605
2610
|
*/
|
|
2606
2611
|
set kind(value) {
|
|
2607
|
-
this._kind = PoButtonKind[value]
|
|
2612
|
+
this._kind = PoButtonKind[value] ? PoButtonKind[value] : PoButtonKind.secondary;
|
|
2608
2613
|
}
|
|
2609
2614
|
get kind() {
|
|
2610
2615
|
return this._kind;
|
|
@@ -2669,7 +2674,7 @@ __decorate([
|
|
|
2669
2674
|
}] });
|
|
2670
2675
|
})();
|
|
2671
2676
|
|
|
2672
|
-
const _c0$
|
|
2677
|
+
const _c0$1r = ["button"];
|
|
2673
2678
|
function PoButtonComponent_div_2_Template(rf, ctx) {
|
|
2674
2679
|
if (rf & 1) {
|
|
2675
2680
|
i0.ɵɵelementStart(0, "div", 5);
|
|
@@ -2757,7 +2762,7 @@ class PoButtonComponent extends PoButtonBaseComponent {
|
|
|
2757
2762
|
PoButtonComponent.ɵfac = /*@__PURE__*/ function () { let ɵPoButtonComponent_BaseFactory; return function PoButtonComponent_Factory(t) { return (ɵPoButtonComponent_BaseFactory || (ɵPoButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoButtonComponent)))(t || PoButtonComponent); }; }();
|
|
2758
2763
|
PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonComponent, selectors: [["po-button"]], viewQuery: function PoButtonComponent_Query(rf, ctx) {
|
|
2759
2764
|
if (rf & 1) {
|
|
2760
|
-
i0.ɵɵviewQuery(_c0$
|
|
2765
|
+
i0.ɵɵviewQuery(_c0$1r, 7);
|
|
2761
2766
|
}
|
|
2762
2767
|
if (rf & 2) {
|
|
2763
2768
|
let _t;
|
|
@@ -4384,7 +4389,7 @@ function PoCalendarHeaderComponent_span_4_Template(rf, ctx) {
|
|
|
4384
4389
|
i0.ɵɵelementEnd();
|
|
4385
4390
|
}
|
|
4386
4391
|
}
|
|
4387
|
-
const _c0$
|
|
4392
|
+
const _c0$1q = ["*"];
|
|
4388
4393
|
class PoCalendarHeaderComponent {
|
|
4389
4394
|
constructor() {
|
|
4390
4395
|
this.hidePrevious = false;
|
|
@@ -4394,7 +4399,7 @@ class PoCalendarHeaderComponent {
|
|
|
4394
4399
|
}
|
|
4395
4400
|
}
|
|
4396
4401
|
PoCalendarHeaderComponent.ɵfac = function PoCalendarHeaderComponent_Factory(t) { return new (t || PoCalendarHeaderComponent)(); };
|
|
4397
|
-
PoCalendarHeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCalendarHeaderComponent, selectors: [["po-calendar-header"]], inputs: { hidePrevious: ["p-hide-previous", "hidePrevious"], hideNext: ["p-hide-next", "hideNext"] }, outputs: { previous: "p-previous", next: "p-next" }, ngContentSelectors: _c0$
|
|
4402
|
+
PoCalendarHeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCalendarHeaderComponent, selectors: [["po-calendar-header"]], inputs: { hidePrevious: ["p-hide-previous", "hidePrevious"], hideNext: ["p-hide-next", "hideNext"] }, outputs: { previous: "p-previous", next: "p-next" }, ngContentSelectors: _c0$1q, decls: 5, vars: 2, consts: [[1, "po-calendar-header"], ["class", "po-calendar-header-left po-icon po-icon-arrow-left", 3, "click", 4, "ngIf"], ["attr-calendar", "", 1, "po-calendar-header-title"], ["class", "po-calendar-header-right po-icon po-icon-arrow-right", 3, "click", 4, "ngIf"], [1, "po-calendar-header-left", "po-icon", "po-icon-arrow-left", 3, "click"], [1, "po-calendar-header-right", "po-icon", "po-icon-arrow-right", 3, "click"]], template: function PoCalendarHeaderComponent_Template(rf, ctx) {
|
|
4398
4403
|
if (rf & 1) {
|
|
4399
4404
|
i0.ɵɵprojectionDef();
|
|
4400
4405
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -4920,7 +4925,7 @@ function PoCalendarComponent_ng_template_1_ng_container_2_ng_container_1_Templat
|
|
|
4920
4925
|
i0.ɵɵelementContainer(0);
|
|
4921
4926
|
}
|
|
4922
4927
|
}
|
|
4923
|
-
const _c0$
|
|
4928
|
+
const _c0$1p = function () { return { partType: "end" }; };
|
|
4924
4929
|
function PoCalendarComponent_ng_template_1_ng_container_2_Template(rf, ctx) {
|
|
4925
4930
|
if (rf & 1) {
|
|
4926
4931
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -4931,10 +4936,10 @@ function PoCalendarComponent_ng_template_1_ng_container_2_Template(rf, ctx) {
|
|
|
4931
4936
|
i0.ɵɵnextContext(2);
|
|
4932
4937
|
const _r5 = i0.ɵɵreference(6);
|
|
4933
4938
|
i0.ɵɵadvance(1);
|
|
4934
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c0$
|
|
4939
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c0$1p));
|
|
4935
4940
|
}
|
|
4936
4941
|
}
|
|
4937
|
-
const _c1$
|
|
4942
|
+
const _c1$C = function () { return { partType: "start" }; };
|
|
4938
4943
|
function PoCalendarComponent_ng_template_1_Template(rf, ctx) {
|
|
4939
4944
|
if (rf & 1) {
|
|
4940
4945
|
i0.ɵɵelementStart(0, "div", 4);
|
|
@@ -4946,7 +4951,7 @@ function PoCalendarComponent_ng_template_1_Template(rf, ctx) {
|
|
|
4946
4951
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
4947
4952
|
const _r5 = i0.ɵɵreference(6);
|
|
4948
4953
|
i0.ɵɵadvance(1);
|
|
4949
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c1$
|
|
4954
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c1$C));
|
|
4950
4955
|
i0.ɵɵadvance(1);
|
|
4951
4956
|
i0.ɵɵproperty("ngIf", !ctx_r2.isResponsive);
|
|
4952
4957
|
}
|
|
@@ -5391,7 +5396,7 @@ PoChartMathsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoCh
|
|
|
5391
5396
|
}], null, null);
|
|
5392
5397
|
})();
|
|
5393
5398
|
|
|
5394
|
-
const _c0$
|
|
5399
|
+
const _c0$1o = ["chartLine"];
|
|
5395
5400
|
class PoChartLineBaseComponent {
|
|
5396
5401
|
constructor(mathsService, renderer, elementRef) {
|
|
5397
5402
|
this.mathsService = mathsService;
|
|
@@ -5521,7 +5526,7 @@ class PoChartLineBaseComponent {
|
|
|
5521
5526
|
PoChartLineBaseComponent.ɵfac = function PoChartLineBaseComponent_Factory(t) { return new (t || PoChartLineBaseComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
5522
5527
|
PoChartLineBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoChartLineBaseComponent, viewQuery: function PoChartLineBaseComponent_Query(rf, ctx) {
|
|
5523
5528
|
if (rf & 1) {
|
|
5524
|
-
i0.ɵɵviewQuery(_c0$
|
|
5529
|
+
i0.ɵɵviewQuery(_c0$1o, 5);
|
|
5525
5530
|
}
|
|
5526
5531
|
if (rf & 2) {
|
|
5527
5532
|
let _t;
|
|
@@ -5564,8 +5569,8 @@ PoChartLineBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Po
|
|
|
5564
5569
|
}] });
|
|
5565
5570
|
})();
|
|
5566
5571
|
|
|
5567
|
-
const _c0$
|
|
5568
|
-
const _c1$
|
|
5572
|
+
const _c0$1n = ["chartPath"];
|
|
5573
|
+
const _c1$B = ["po-chart-path", ""];
|
|
5569
5574
|
const pathDashoffsetDefaultWidth = 0;
|
|
5570
5575
|
class PoChartPathComponent {
|
|
5571
5576
|
constructor(changeDetector) {
|
|
@@ -5606,13 +5611,13 @@ class PoChartPathComponent {
|
|
|
5606
5611
|
PoChartPathComponent.ɵfac = function PoChartPathComponent_Factory(t) { return new (t || PoChartPathComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
5607
5612
|
PoChartPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPathComponent, selectors: [["", "po-chart-path", ""]], viewQuery: function PoChartPathComponent_Query(rf, ctx) {
|
|
5608
5613
|
if (rf & 1) {
|
|
5609
|
-
i0.ɵɵviewQuery(_c0$
|
|
5614
|
+
i0.ɵɵviewQuery(_c0$1n, 7);
|
|
5610
5615
|
}
|
|
5611
5616
|
if (rf & 2) {
|
|
5612
5617
|
let _t;
|
|
5613
5618
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chartPath = _t.first);
|
|
5614
5619
|
}
|
|
5615
|
-
}, inputs: { isActive: ["p-is-active", "isActive"], chartLine: ["p-chart-line", "chartLine"], coordinates: ["p-coordinates", "coordinates"], color: ["p-color", "color"], animate: ["p-animate", "animate"] }, attrs: _c1$
|
|
5620
|
+
}, inputs: { isActive: ["p-is-active", "isActive"], chartLine: ["p-chart-line", "chartLine"], coordinates: ["p-coordinates", "coordinates"], color: ["p-color", "color"], animate: ["p-animate", "animate"] }, attrs: _c1$B, decls: 2, vars: 11, consts: [[1, "po-chart-path"], ["chartPath", ""]], template: function PoChartPathComponent_Template(rf, ctx) {
|
|
5616
5621
|
if (rf & 1) {
|
|
5617
5622
|
i0.ɵɵnamespaceSVG();
|
|
5618
5623
|
i0.ɵɵelement(0, "path", 0, 1);
|
|
@@ -5654,7 +5659,7 @@ __decorate([
|
|
|
5654
5659
|
}] });
|
|
5655
5660
|
})();
|
|
5656
5661
|
|
|
5657
|
-
const _c0$
|
|
5662
|
+
const _c0$1m = ["po-chart-series-point", ""];
|
|
5658
5663
|
function PoChartSeriesPointComponent__svg_circle_0_Template(rf, ctx) {
|
|
5659
5664
|
if (rf & 1) {
|
|
5660
5665
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
@@ -5735,7 +5740,7 @@ class PoChartSeriesPointComponent {
|
|
|
5735
5740
|
}
|
|
5736
5741
|
}
|
|
5737
5742
|
PoChartSeriesPointComponent.ɵfac = function PoChartSeriesPointComponent_Factory(t) { return new (t || PoChartSeriesPointComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
5738
|
-
PoChartSeriesPointComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartSeriesPointComponent, selectors: [["", "po-chart-series-point", ""]], inputs: { animate: ["p-animate", "animate"], isActive: ["p-is-active", "isActive"], chartLine: ["p-chart-line", "chartLine"], relativeTo: ["p-relative-to", "relativeTo"], color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"] }, outputs: { pointClick: "p-point-click", pointHover: "p-point-hover" }, attrs: _c0$
|
|
5743
|
+
PoChartSeriesPointComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartSeriesPointComponent, selectors: [["", "po-chart-series-point", ""]], inputs: { animate: ["p-animate", "animate"], isActive: ["p-is-active", "isActive"], chartLine: ["p-chart-line", "chartLine"], relativeTo: ["p-relative-to", "relativeTo"], color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"] }, outputs: { pointClick: "p-point-click", pointHover: "p-point-hover" }, attrs: _c0$1m, decls: 2, vars: 4, consts: [["p-tooltip-position", "top", "class", "po-chart-line-point", 3, "p-tooltip", "p-append-in-body", "p-display-tooltip", "class", "po-chart-active-point", "click", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["p-tooltip-position", "top", 1, "po-chart-line-point", 3, "p-tooltip", "p-append-in-body", "p-display-tooltip", "click", "mouseenter", "mouseleave"]], template: function PoChartSeriesPointComponent_Template(rf, ctx) {
|
|
5739
5744
|
if (rf & 1) {
|
|
5740
5745
|
i0.ɵɵtemplate(0, PoChartSeriesPointComponent__svg_circle_0_Template, 1, 11, "circle", 0);
|
|
5741
5746
|
i0.ɵɵpipe(1, "async");
|
|
@@ -5781,7 +5786,7 @@ __decorate([
|
|
|
5781
5786
|
}] });
|
|
5782
5787
|
})();
|
|
5783
5788
|
|
|
5784
|
-
const _c0$
|
|
5789
|
+
const _c0$1l = ["po-chart-area", ""];
|
|
5785
5790
|
function PoChartAreaComponent__svg_g_2_Template(rf, ctx) {
|
|
5786
5791
|
if (rf & 1) {
|
|
5787
5792
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -5866,7 +5871,7 @@ class PoChartAreaComponent extends PoChartLineBaseComponent {
|
|
|
5866
5871
|
}
|
|
5867
5872
|
}
|
|
5868
5873
|
PoChartAreaComponent.ɵfac = function PoChartAreaComponent_Factory(t) { return new (t || PoChartAreaComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
5869
|
-
PoChartAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAreaComponent, selectors: [["", "po-chart-area", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
5874
|
+
PoChartAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAreaComponent, selectors: [["", "po-chart-area", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1l, decls: 3, vars: 2, consts: [["chartLine", ""], [3, "class", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseenter", "mouseleave"], ["po-chart-path", "", 3, "p-chart-line", "p-animate", "p-color", "p-coordinates", "p-is-active"], ["po-chart-series-point", "", 3, "p-animate", "p-chart-line", "p-color", "p-coordinates", "p-is-active", "p-relative-to", "p-point-click", "p-point-hover"]], template: function PoChartAreaComponent_Template(rf, ctx) {
|
|
5870
5875
|
if (rf & 1) {
|
|
5871
5876
|
i0.ɵɵnamespaceSVG();
|
|
5872
5877
|
i0.ɵɵelementStart(0, "g", null, 0);
|
|
@@ -5885,7 +5890,7 @@ PoChartAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChar
|
|
|
5885
5890
|
}], function () { return [{ type: PoChartMathsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, null);
|
|
5886
5891
|
})();
|
|
5887
5892
|
|
|
5888
|
-
const _c0$
|
|
5893
|
+
const _c0$1k = ["po-chart-axis-path", ""];
|
|
5889
5894
|
function PoChartAxisPathComponent__svg_path_1_Template(rf, ctx) {
|
|
5890
5895
|
if (rf & 1) {
|
|
5891
5896
|
i0.ɵɵnamespaceSVG();
|
|
@@ -5913,7 +5918,7 @@ class PoChartAxisPathComponent {
|
|
|
5913
5918
|
}
|
|
5914
5919
|
}
|
|
5915
5920
|
PoChartAxisPathComponent.ɵfac = function PoChartAxisPathComponent_Factory(t) { return new (t || PoChartAxisPathComponent)(); };
|
|
5916
|
-
PoChartAxisPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisPathComponent, selectors: [["", "po-chart-axis-path", ""]], inputs: { axisXCoordinates: ["p-axis-x-coordinates", "axisXCoordinates"], axisYCoordinates: ["p-axis-y-coordinates", "axisYCoordinates"] }, attrs: _c0$
|
|
5921
|
+
PoChartAxisPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisPathComponent, selectors: [["", "po-chart-axis-path", ""]], inputs: { axisXCoordinates: ["p-axis-x-coordinates", "axisXCoordinates"], axisYCoordinates: ["p-axis-y-coordinates", "axisYCoordinates"] }, attrs: _c0$1k, decls: 4, vars: 4, consts: [["class", "po-chart-axis-path", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-chart-axis-path"]], template: function PoChartAxisPathComponent_Template(rf, ctx) {
|
|
5917
5922
|
if (rf & 1) {
|
|
5918
5923
|
i0.ɵɵnamespaceSVG();
|
|
5919
5924
|
i0.ɵɵelementStart(0, "g");
|
|
@@ -5943,7 +5948,7 @@ PoChartAxisPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
|
|
|
5943
5948
|
}] });
|
|
5944
5949
|
})();
|
|
5945
5950
|
|
|
5946
|
-
const _c0$
|
|
5951
|
+
const _c0$1j = ["po-chart-axis-label", ""];
|
|
5947
5952
|
function PoChartAxisLabelComponent__svg_text_1_Template(rf, ctx) {
|
|
5948
5953
|
if (rf & 1) {
|
|
5949
5954
|
i0.ɵɵnamespaceSVG();
|
|
@@ -5983,7 +5988,7 @@ class PoChartAxisLabelComponent {
|
|
|
5983
5988
|
}
|
|
5984
5989
|
}
|
|
5985
5990
|
PoChartAxisLabelComponent.ɵfac = function PoChartAxisLabelComponent_Factory(t) { return new (t || PoChartAxisLabelComponent)(); };
|
|
5986
|
-
PoChartAxisLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisLabelComponent, selectors: [["", "po-chart-axis-label", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], axisXLabelCoordinates: ["p-axis-x-label-coordinates", "axisXLabelCoordinates"], axisYLabelCoordinates: ["p-axis-y-label-coordinates", "axisYLabelCoordinates"], type: ["p-type", "type"] }, attrs: _c0$
|
|
5991
|
+
PoChartAxisLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisLabelComponent, selectors: [["", "po-chart-axis-label", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], axisXLabelCoordinates: ["p-axis-x-label-coordinates", "axisXLabelCoordinates"], axisYLabelCoordinates: ["p-axis-y-label-coordinates", "axisYLabelCoordinates"], type: ["p-type", "type"] }, attrs: _c0$1j, decls: 4, vars: 4, consts: [["class", "po-chart-axis-x-label", "dominant-baseline", "middle", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-chart-axis-y-label", 3, "po-chart-centered-label", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["dominant-baseline", "middle", 1, "po-chart-axis-x-label"], [1, "po-chart-axis-y-label"]], template: function PoChartAxisLabelComponent_Template(rf, ctx) {
|
|
5987
5992
|
if (rf & 1) {
|
|
5988
5993
|
i0.ɵɵnamespaceSVG();
|
|
5989
5994
|
i0.ɵɵelementStart(0, "g");
|
|
@@ -6019,7 +6024,7 @@ PoChartAxisLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: P
|
|
|
6019
6024
|
}] });
|
|
6020
6025
|
})();
|
|
6021
6026
|
|
|
6022
|
-
const _c0$
|
|
6027
|
+
const _c0$1i = ["po-chart-axis", ""];
|
|
6023
6028
|
class PoChartAxisComponent {
|
|
6024
6029
|
constructor(mathsService) {
|
|
6025
6030
|
this.mathsService = mathsService;
|
|
@@ -6284,7 +6289,7 @@ class PoChartAxisComponent {
|
|
|
6284
6289
|
}
|
|
6285
6290
|
}
|
|
6286
6291
|
PoChartAxisComponent.ɵfac = function PoChartAxisComponent_Factory(t) { return new (t || PoChartAxisComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
6287
|
-
PoChartAxisComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisComponent, selectors: [["", "po-chart-axis", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], type: ["p-type", "type"], range: ["p-range", "range"], series: ["p-series", "series"], categories: ["p-categories", "categories"], containerSize: ["p-container-size", "containerSize"], axisOptions: ["p-options", "axisOptions"] }, outputs: { categoriesCoordinates: "p-categories-coordinates" }, attrs: _c0$
|
|
6292
|
+
PoChartAxisComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisComponent, selectors: [["", "po-chart-axis", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], type: ["p-type", "type"], range: ["p-range", "range"], series: ["p-series", "series"], categories: ["p-categories", "categories"], containerSize: ["p-container-size", "containerSize"], axisOptions: ["p-options", "axisOptions"] }, outputs: { categoriesCoordinates: "p-categories-coordinates" }, attrs: _c0$1i, decls: 2, vars: 6, consts: [["po-chart-axis-path", "", 3, "p-axis-x-coordinates", "p-axis-y-coordinates"], ["po-chart-axis-label", "", 3, "p-align-by-the-corners", "p-axis-x-label-coordinates", "p-axis-y-label-coordinates", "p-type"]], template: function PoChartAxisComponent_Template(rf, ctx) {
|
|
6288
6293
|
if (rf & 1) {
|
|
6289
6294
|
i0.ɵɵnamespaceSVG();
|
|
6290
6295
|
i0.ɵɵelement(0, "g", 0)(1, "g", 1);
|
|
@@ -6429,7 +6434,7 @@ PoChartBarBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoC
|
|
|
6429
6434
|
}] });
|
|
6430
6435
|
})();
|
|
6431
6436
|
|
|
6432
|
-
const _c0$
|
|
6437
|
+
const _c0$1h = ["po-chart-bar-path", ""];
|
|
6433
6438
|
function PoChartBarPathComponent__svg_path_0_Template(rf, ctx) {
|
|
6434
6439
|
if (rf & 1) {
|
|
6435
6440
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
@@ -6464,7 +6469,7 @@ class PoChartBarPathComponent {
|
|
|
6464
6469
|
}
|
|
6465
6470
|
}
|
|
6466
6471
|
PoChartBarPathComponent.ɵfac = function PoChartBarPathComponent_Factory(t) { return new (t || PoChartBarPathComponent)(); };
|
|
6467
|
-
PoChartBarPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarPathComponent, selectors: [["", "po-chart-bar-path", ""]], inputs: { color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"], tooltipPosition: ["p-tooltip-position", "tooltipPosition"] }, outputs: { barClick: "p-bar-click", barHover: "p-bar-hover" }, attrs: _c0$
|
|
6472
|
+
PoChartBarPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarPathComponent, selectors: [["", "po-chart-bar-path", ""]], inputs: { color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"], tooltipPosition: ["p-tooltip-position", "tooltipPosition"] }, outputs: { barClick: "p-bar-click", barHover: "p-bar-hover" }, attrs: _c0$1h, decls: 1, vars: 2, consts: [["class", "po-chart-bar-path", 3, "p-tooltip", "p-tooltip-position", "p-append-in-body", "class", "mouseenter", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-chart-bar-path", 3, "p-tooltip", "p-tooltip-position", "p-append-in-body", "mouseenter", "click"]], template: function PoChartBarPathComponent_Template(rf, ctx) {
|
|
6468
6473
|
if (rf & 1) {
|
|
6469
6474
|
i0.ɵɵtemplate(0, PoChartBarPathComponent__svg_path_0_Template, 1, 7, "path", 0);
|
|
6470
6475
|
}
|
|
@@ -6494,7 +6499,7 @@ PoChartBarPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoC
|
|
|
6494
6499
|
}] });
|
|
6495
6500
|
})();
|
|
6496
6501
|
|
|
6497
|
-
const _c0$
|
|
6502
|
+
const _c0$1g = ["po-chart-bar", ""];
|
|
6498
6503
|
function PoChartBarComponent__svg_g_1_Template(rf, ctx) {
|
|
6499
6504
|
if (rf & 1) {
|
|
6500
6505
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -6558,7 +6563,7 @@ class PoChartBarComponent extends PoChartBarBaseComponent {
|
|
|
6558
6563
|
}
|
|
6559
6564
|
}
|
|
6560
6565
|
PoChartBarComponent.ɵfac = function PoChartBarComponent_Factory(t) { return new (t || PoChartBarComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
6561
|
-
PoChartBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarComponent, selectors: [["", "po-chart-bar", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
6566
|
+
PoChartBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarComponent, selectors: [["", "po-chart-bar", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1g, decls: 2, vars: 2, consts: [[3, "class", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["po-chart-bar-path", "", 3, "p-color", "p-coordinates", "p-tooltip-position", "p-bar-click", "p-bar-hover"]], template: function PoChartBarComponent_Template(rf, ctx) {
|
|
6562
6567
|
if (rf & 1) {
|
|
6563
6568
|
i0.ɵɵnamespaceSVG();
|
|
6564
6569
|
i0.ɵɵelementStart(0, "g");
|
|
@@ -6577,7 +6582,7 @@ PoChartBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChart
|
|
|
6577
6582
|
}], function () { return [{ type: PoChartMathsService }]; }, null);
|
|
6578
6583
|
})();
|
|
6579
6584
|
|
|
6580
|
-
const _c0$
|
|
6585
|
+
const _c0$1f = ["po-chart-column", ""];
|
|
6581
6586
|
function PoChartColumnComponent__svg_g_1_Template(rf, ctx) {
|
|
6582
6587
|
if (rf & 1) {
|
|
6583
6588
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -6642,7 +6647,7 @@ class PoChartColumnComponent extends PoChartBarBaseComponent {
|
|
|
6642
6647
|
}
|
|
6643
6648
|
}
|
|
6644
6649
|
PoChartColumnComponent.ɵfac = function PoChartColumnComponent_Factory(t) { return new (t || PoChartColumnComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
6645
|
-
PoChartColumnComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartColumnComponent, selectors: [["", "po-chart-column", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
6650
|
+
PoChartColumnComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartColumnComponent, selectors: [["", "po-chart-column", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1f, decls: 2, vars: 2, consts: [[3, "class", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["po-chart-bar-path", "", 3, "p-color", "p-coordinates", "p-tooltip-position", "p-bar-click", "p-bar-hover"]], template: function PoChartColumnComponent_Template(rf, ctx) {
|
|
6646
6651
|
if (rf & 1) {
|
|
6647
6652
|
i0.ɵɵnamespaceSVG();
|
|
6648
6653
|
i0.ɵɵelementStart(0, "g");
|
|
@@ -7152,7 +7157,7 @@ PoResizeObserverDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: P
|
|
|
7152
7157
|
}] });
|
|
7153
7158
|
})();
|
|
7154
7159
|
|
|
7155
|
-
const _c0$
|
|
7160
|
+
const _c0$1e = ["po-chart-line", ""];
|
|
7156
7161
|
function PoChartLineComponent__svg_g_2_Template(rf, ctx) {
|
|
7157
7162
|
if (rf & 1) {
|
|
7158
7163
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -7203,7 +7208,7 @@ class PoChartLineComponent extends PoChartLineBaseComponent {
|
|
|
7203
7208
|
}
|
|
7204
7209
|
}
|
|
7205
7210
|
PoChartLineComponent.ɵfac = function PoChartLineComponent_Factory(t) { return new (t || PoChartLineComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
7206
|
-
PoChartLineComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartLineComponent, selectors: [["", "po-chart-line", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
7211
|
+
PoChartLineComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartLineComponent, selectors: [["", "po-chart-line", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1e, decls: 3, vars: 2, consts: [["chartLine", ""], [3, "class", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseenter", "mouseleave"], ["po-chart-path", "", 3, "p-chart-line", "p-animate", "p-color", "p-coordinates", "p-is-active"], ["po-chart-series-point", "", 3, "p-animate", "p-chart-line", "p-color", "p-coordinates", "p-is-active", "p-relative-to", "p-point-click", "p-point-hover"]], template: function PoChartLineComponent_Template(rf, ctx) {
|
|
7207
7212
|
if (rf & 1) {
|
|
7208
7213
|
i0.ɵɵnamespaceSVG();
|
|
7209
7214
|
i0.ɵɵelementStart(0, "g", null, 0);
|
|
@@ -7222,8 +7227,8 @@ PoChartLineComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChar
|
|
|
7222
7227
|
}], function () { return [{ type: PoChartMathsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, null);
|
|
7223
7228
|
})();
|
|
7224
7229
|
|
|
7225
|
-
const _c0$
|
|
7226
|
-
const _c1$
|
|
7230
|
+
const _c0$1d = ["svgPaths"];
|
|
7231
|
+
const _c1$A = ["svgLabels"];
|
|
7227
7232
|
class PoChartCircularComponent {
|
|
7228
7233
|
constructor(ngZone, changeDetector) {
|
|
7229
7234
|
this.ngZone = ngZone;
|
|
@@ -7350,8 +7355,8 @@ class PoChartCircularComponent {
|
|
|
7350
7355
|
PoChartCircularComponent.ɵfac = function PoChartCircularComponent_Factory(t) { return new (t || PoChartCircularComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
7351
7356
|
PoChartCircularComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoChartCircularComponent, viewQuery: function PoChartCircularComponent_Query(rf, ctx) {
|
|
7352
7357
|
if (rf & 1) {
|
|
7353
|
-
i0.ɵɵviewQuery(_c0$
|
|
7354
|
-
i0.ɵɵviewQuery(_c1$
|
|
7358
|
+
i0.ɵɵviewQuery(_c0$1d, 5);
|
|
7359
|
+
i0.ɵɵviewQuery(_c1$A, 5);
|
|
7355
7360
|
}
|
|
7356
7361
|
if (rf & 2) {
|
|
7357
7362
|
let _t;
|
|
@@ -7472,8 +7477,8 @@ PoChartTooltipDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoC
|
|
|
7472
7477
|
}] });
|
|
7473
7478
|
})();
|
|
7474
7479
|
|
|
7475
|
-
const _c0$
|
|
7476
|
-
const _c1$
|
|
7480
|
+
const _c0$1c = ["svgPath"];
|
|
7481
|
+
const _c1$z = ["po-chart-circular-path", ""];
|
|
7477
7482
|
class PoChartCircularPathComponent {
|
|
7478
7483
|
constructor(renderer) {
|
|
7479
7484
|
this.renderer = renderer;
|
|
@@ -7495,13 +7500,13 @@ class PoChartCircularPathComponent {
|
|
|
7495
7500
|
PoChartCircularPathComponent.ɵfac = function PoChartCircularPathComponent_Factory(t) { return new (t || PoChartCircularPathComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
7496
7501
|
PoChartCircularPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartCircularPathComponent, selectors: [["", "po-chart-circular-path", ""]], viewQuery: function PoChartCircularPathComponent_Query(rf, ctx) {
|
|
7497
7502
|
if (rf & 1) {
|
|
7498
|
-
i0.ɵɵviewQuery(_c0$
|
|
7503
|
+
i0.ɵɵviewQuery(_c0$1c, 5, ElementRef);
|
|
7499
7504
|
}
|
|
7500
7505
|
if (rf & 2) {
|
|
7501
7506
|
let _t;
|
|
7502
7507
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgPath = _t.first);
|
|
7503
7508
|
}
|
|
7504
|
-
}, inputs: { serie: ["p-serie", "serie"] }, outputs: { onClick: "p-on-click", onHover: "p-on-hover" }, attrs: _c1$
|
|
7509
|
+
}, inputs: { serie: ["p-serie", "serie"] }, outputs: { onClick: "p-on-click", onHover: "p-on-hover" }, attrs: _c1$z, decls: 2, vars: 4, consts: [[1, "po-path-item", 3, "p-chart-tooltip", "click", "mouseenter"], ["svgPath", ""]], template: function PoChartCircularPathComponent_Template(rf, ctx) {
|
|
7505
7510
|
if (rf & 1) {
|
|
7506
7511
|
i0.ɵɵnamespaceSVG();
|
|
7507
7512
|
i0.ɵɵelementStart(0, "path", 0, 1);
|
|
@@ -7533,8 +7538,8 @@ PoChartCircularPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
7533
7538
|
}] });
|
|
7534
7539
|
})();
|
|
7535
7540
|
|
|
7536
|
-
const _c0$
|
|
7537
|
-
const _c1$
|
|
7541
|
+
const _c0$1b = ["svgLabel"];
|
|
7542
|
+
const _c1$y = ["po-chart-circular-label", ""];
|
|
7538
7543
|
class PoChartCircularLabelComponent {
|
|
7539
7544
|
constructor(changeDetection, renderer) {
|
|
7540
7545
|
this.changeDetection = changeDetection;
|
|
@@ -7550,13 +7555,13 @@ class PoChartCircularLabelComponent {
|
|
|
7550
7555
|
PoChartCircularLabelComponent.ɵfac = function PoChartCircularLabelComponent_Factory(t) { return new (t || PoChartCircularLabelComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
7551
7556
|
PoChartCircularLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartCircularLabelComponent, selectors: [["", "po-chart-circular-label", ""]], viewQuery: function PoChartCircularLabelComponent_Query(rf, ctx) {
|
|
7552
7557
|
if (rf & 1) {
|
|
7553
|
-
i0.ɵɵviewQuery(_c0$
|
|
7558
|
+
i0.ɵɵviewQuery(_c0$1b, 5, ElementRef);
|
|
7554
7559
|
}
|
|
7555
7560
|
if (rf & 2) {
|
|
7556
7561
|
let _t;
|
|
7557
7562
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgLabel = _t.first);
|
|
7558
7563
|
}
|
|
7559
|
-
}, inputs: { serie: ["p-serie", "serie"], showLabel: ["p-show-label", "showLabel"] }, attrs: _c1$
|
|
7564
|
+
}, inputs: { serie: ["p-serie", "serie"], showLabel: ["p-show-label", "showLabel"] }, attrs: _c1$y, decls: 3, vars: 6, consts: [["dominant-baseline", "middle", 1, "po-chart-label"], ["svgLabel", ""]], template: function PoChartCircularLabelComponent_Template(rf, ctx) {
|
|
7560
7565
|
if (rf & 1) {
|
|
7561
7566
|
i0.ɵɵnamespaceSVG();
|
|
7562
7567
|
i0.ɵɵelementStart(0, "text", 0, 1);
|
|
@@ -7586,7 +7591,7 @@ PoChartCircularLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
7586
7591
|
}] });
|
|
7587
7592
|
})();
|
|
7588
7593
|
|
|
7589
|
-
const _c0$
|
|
7594
|
+
const _c0$1a = ["po-chart-pie", ""];
|
|
7590
7595
|
function PoChartPieComponent__svg_g_1_Template(rf, ctx) {
|
|
7591
7596
|
if (rf & 1) {
|
|
7592
7597
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -7677,7 +7682,7 @@ class PoChartPieComponent extends PoChartCircularComponent {
|
|
|
7677
7682
|
}
|
|
7678
7683
|
}
|
|
7679
7684
|
PoChartPieComponent.ɵfac = function PoChartPieComponent_Factory(t) { return new (t || PoChartPieComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
7680
|
-
PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPieComponent, selectors: [["", "po-chart-pie", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$
|
|
7685
|
+
PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPieComponent, selectors: [["", "po-chart-pie", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$1a, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartPieComponent_Template(rf, ctx) {
|
|
7681
7686
|
if (rf & 1) {
|
|
7682
7687
|
i0.ɵɵnamespaceSVG();
|
|
7683
7688
|
i0.ɵɵelementStart(0, "g");
|
|
@@ -7699,7 +7704,7 @@ PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChart
|
|
|
7699
7704
|
}], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null);
|
|
7700
7705
|
})();
|
|
7701
7706
|
|
|
7702
|
-
const _c0$
|
|
7707
|
+
const _c0$19 = ["po-chart-donut", ""];
|
|
7703
7708
|
function PoChartDonutComponent__svg_g_1_Template(rf, ctx) {
|
|
7704
7709
|
if (rf & 1) {
|
|
7705
7710
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -7845,7 +7850,7 @@ class PoChartDonutComponent extends PoChartCircularComponent {
|
|
|
7845
7850
|
}
|
|
7846
7851
|
}
|
|
7847
7852
|
PoChartDonutComponent.ɵfac = function PoChartDonutComponent_Factory(t) { return new (t || PoChartDonutComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
7848
|
-
PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartDonutComponent, selectors: [["", "po-chart-donut", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$
|
|
7853
|
+
PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartDonutComponent, selectors: [["", "po-chart-donut", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$19, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartDonutComponent_Template(rf, ctx) {
|
|
7849
7854
|
if (rf & 1) {
|
|
7850
7855
|
i0.ɵɵnamespaceSVG();
|
|
7851
7856
|
i0.ɵɵelementStart(0, "g");
|
|
@@ -7867,7 +7872,7 @@ PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCha
|
|
|
7867
7872
|
}], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null);
|
|
7868
7873
|
})();
|
|
7869
7874
|
|
|
7870
|
-
const _c0$
|
|
7875
|
+
const _c0$18 = ["svgELement"];
|
|
7871
7876
|
function PoChartContainerComponent__svg_g_2_Template(rf, ctx) {
|
|
7872
7877
|
if (rf & 1) {
|
|
7873
7878
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
@@ -8058,7 +8063,7 @@ class PoChartContainerComponent {
|
|
|
8058
8063
|
PoChartContainerComponent.ɵfac = function PoChartContainerComponent_Factory(t) { return new (t || PoChartContainerComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
8059
8064
|
PoChartContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartContainerComponent, selectors: [["po-chart-container"]], viewQuery: function PoChartContainerComponent_Query(rf, ctx) {
|
|
8060
8065
|
if (rf & 1) {
|
|
8061
|
-
i0.ɵɵviewQuery(_c0$
|
|
8066
|
+
i0.ɵɵviewQuery(_c0$18, 7);
|
|
8062
8067
|
}
|
|
8063
8068
|
if (rf & 2) {
|
|
8064
8069
|
let _t;
|
|
@@ -8176,9 +8181,9 @@ PoChartLegendComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCh
|
|
|
8176
8181
|
}] });
|
|
8177
8182
|
})();
|
|
8178
8183
|
|
|
8179
|
-
const _c0$
|
|
8180
|
-
const _c1$
|
|
8181
|
-
const _c2$
|
|
8184
|
+
const _c0$17 = ["chartContainer"];
|
|
8185
|
+
const _c1$x = ["chartHeader"];
|
|
8186
|
+
const _c2$g = ["chartLegend"];
|
|
8182
8187
|
const _c3$9 = ["chartWrapper"];
|
|
8183
8188
|
function PoChartComponent_ng_template_7_Template(rf, ctx) { }
|
|
8184
8189
|
function PoChartComponent_div_9_ng_container_1_Template(rf, ctx) {
|
|
@@ -8367,9 +8372,9 @@ class PoChartComponent extends PoChartBaseComponent {
|
|
|
8367
8372
|
PoChartComponent.ɵfac = function PoChartComponent_Factory(t) { return new (t || PoChartComponent)(i0.ɵɵdirectiveInject(PoColorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoChartSvgContainerService), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
8368
8373
|
PoChartComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartComponent, selectors: [["po-chart"]], viewQuery: function PoChartComponent_Query(rf, ctx) {
|
|
8369
8374
|
if (rf & 1) {
|
|
8370
|
-
i0.ɵɵviewQuery(_c0$
|
|
8371
|
-
i0.ɵɵviewQuery(_c1$
|
|
8372
|
-
i0.ɵɵviewQuery(_c2$
|
|
8375
|
+
i0.ɵɵviewQuery(_c0$17, 7, ViewContainerRef);
|
|
8376
|
+
i0.ɵɵviewQuery(_c1$x, 7);
|
|
8377
|
+
i0.ɵɵviewQuery(_c2$g, 5, ElementRef);
|
|
8373
8378
|
i0.ɵɵviewQuery(_c3$9, 7);
|
|
8374
8379
|
}
|
|
8375
8380
|
if (rf & 2) {
|
|
@@ -8587,7 +8592,7 @@ PoContainerBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Po
|
|
|
8587
8592
|
}] });
|
|
8588
8593
|
})();
|
|
8589
8594
|
|
|
8590
|
-
const _c0$
|
|
8595
|
+
const _c0$16 = ["*"];
|
|
8591
8596
|
/**
|
|
8592
8597
|
* @docsExtends PoContainerBaseComponent
|
|
8593
8598
|
*
|
|
@@ -8612,7 +8617,7 @@ const _c0$15 = ["*"];
|
|
|
8612
8617
|
class PoContainerComponent extends PoContainerBaseComponent {
|
|
8613
8618
|
}
|
|
8614
8619
|
PoContainerComponent.ɵfac = /*@__PURE__*/ function () { let ɵPoContainerComponent_BaseFactory; return function PoContainerComponent_Factory(t) { return (ɵPoContainerComponent_BaseFactory || (ɵPoContainerComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoContainerComponent)))(t || PoContainerComponent); }; }();
|
|
8615
|
-
PoContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoContainerComponent, selectors: [["po-container"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
8620
|
+
PoContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoContainerComponent, selectors: [["po-container"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$16, decls: 2, vars: 8, consts: [[1, "po-container"]], template: function PoContainerComponent_Template(rf, ctx) {
|
|
8616
8621
|
if (rf & 1) {
|
|
8617
8622
|
i0.ɵɵprojectionDef();
|
|
8618
8623
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -9469,7 +9474,7 @@ PoPopupBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPopu
|
|
|
9469
9474
|
}] });
|
|
9470
9475
|
})();
|
|
9471
9476
|
|
|
9472
|
-
const _c0$
|
|
9477
|
+
const _c0$15 = ["popupRef"];
|
|
9473
9478
|
function PoPopupComponent_div_0_div_2_Template(rf, ctx) {
|
|
9474
9479
|
if (rf & 1) {
|
|
9475
9480
|
i0.ɵɵelement(0, "div");
|
|
@@ -9539,8 +9544,8 @@ function PoPopupComponent_div_0_Template(rf, ctx) {
|
|
|
9539
9544
|
i0.ɵɵproperty("ngForOf", ctx_r0.actions);
|
|
9540
9545
|
}
|
|
9541
9546
|
}
|
|
9542
|
-
const _c1$
|
|
9543
|
-
const _c2$
|
|
9547
|
+
const _c1$w = [[["", "p-popup-header-template", ""]]];
|
|
9548
|
+
const _c2$f = ["[p-popup-header-template]"];
|
|
9544
9549
|
/**
|
|
9545
9550
|
*
|
|
9546
9551
|
* @docsExtends PoPopupBaseComponent
|
|
@@ -9690,15 +9695,15 @@ class PoPopupComponent extends PoPopupBaseComponent {
|
|
|
9690
9695
|
PoPopupComponent.ɵfac = function PoPopupComponent_Factory(t) { return new (t || PoPopupComponent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
9691
9696
|
PoPopupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopupComponent, selectors: [["po-popup"]], viewQuery: function PoPopupComponent_Query(rf, ctx) {
|
|
9692
9697
|
if (rf & 1) {
|
|
9693
|
-
i0.ɵɵviewQuery(_c0$
|
|
9698
|
+
i0.ɵɵviewQuery(_c0$15, 5, ElementRef);
|
|
9694
9699
|
}
|
|
9695
9700
|
if (rf & 2) {
|
|
9696
9701
|
let _t;
|
|
9697
9702
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popupRef = _t.first);
|
|
9698
9703
|
}
|
|
9699
|
-
}, features: [i0.ɵɵProvidersFeature([PoControlPositionService]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$
|
|
9704
|
+
}, features: [i0.ɵɵProvidersFeature([PoControlPositionService]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$f, decls: 1, vars: 1, consts: [["class", "po-popup", 4, "ngIf"], [1, "po-popup"], ["popupRef", ""], [3, "class", 4, "ngIf"], [1, "po-popup-container"], [4, "ngFor", "ngForOf"], [3, "po-popup-item-default", "po-popup-item-danger", "po-popup-item-disabled", "po-popup-item-separator", "po-popup-item-selected", "click", 4, "ngIf"], [3, "click"], ["class", "po-popup-icon-item po-icon", 3, "p-icon", 4, "ngIf"], [1, "po-popup-icon-item", "po-icon", 3, "p-icon"]], template: function PoPopupComponent_Template(rf, ctx) {
|
|
9700
9705
|
if (rf & 1) {
|
|
9701
|
-
i0.ɵɵprojectionDef(_c1$
|
|
9706
|
+
i0.ɵɵprojectionDef(_c1$w);
|
|
9702
9707
|
i0.ɵɵtemplate(0, PoPopupComponent_div_0_Template, 6, 2, "div", 0);
|
|
9703
9708
|
}
|
|
9704
9709
|
if (rf & 2) {
|
|
@@ -9816,9 +9821,9 @@ PoDropdownBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoD
|
|
|
9816
9821
|
}] });
|
|
9817
9822
|
})();
|
|
9818
9823
|
|
|
9819
|
-
const _c0$
|
|
9820
|
-
const _c1$
|
|
9821
|
-
const _c2$
|
|
9824
|
+
const _c0$14 = ["dropdownRef"];
|
|
9825
|
+
const _c1$v = ["popupRef"];
|
|
9826
|
+
const _c2$e = function (a0) { return { "po-dropdown-button-disabled": a0 }; };
|
|
9822
9827
|
const _c3$8 = function () { return ["bottom-left", "top-left"]; };
|
|
9823
9828
|
/**
|
|
9824
9829
|
* @docsExtends PoDropdownBaseComponent
|
|
@@ -9903,8 +9908,8 @@ class PoDropdownComponent extends PoDropdownBaseComponent {
|
|
|
9903
9908
|
PoDropdownComponent.ɵfac = function PoDropdownComponent_Factory(t) { return new (t || PoDropdownComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
9904
9909
|
PoDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDropdownComponent, selectors: [["po-dropdown"]], viewQuery: function PoDropdownComponent_Query(rf, ctx) {
|
|
9905
9910
|
if (rf & 1) {
|
|
9906
|
-
i0.ɵɵviewQuery(_c0$
|
|
9907
|
-
i0.ɵɵviewQuery(_c1$
|
|
9911
|
+
i0.ɵɵviewQuery(_c0$14, 7, ElementRef);
|
|
9912
|
+
i0.ɵɵviewQuery(_c1$v, 5);
|
|
9908
9913
|
}
|
|
9909
9914
|
if (rf & 2) {
|
|
9910
9915
|
let _t;
|
|
@@ -9926,7 +9931,7 @@ PoDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDropd
|
|
|
9926
9931
|
const _r0 = i0.ɵɵreference(1);
|
|
9927
9932
|
i0.ɵɵpropertyInterpolate("tabindex", ctx.disabled ? -1 : 0);
|
|
9928
9933
|
i0.ɵɵadvance(2);
|
|
9929
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$
|
|
9934
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$e, ctx.disabled));
|
|
9930
9935
|
i0.ɵɵadvance(1);
|
|
9931
9936
|
i0.ɵɵtextInterpolate1(" ", ctx.label, " ");
|
|
9932
9937
|
i0.ɵɵadvance(1);
|
|
@@ -10060,7 +10065,7 @@ function PoFieldContainerComponent_div_5_Template(rf, ctx) {
|
|
|
10060
10065
|
i0.ɵɵtextInterpolate(ctx_r1.help);
|
|
10061
10066
|
}
|
|
10062
10067
|
}
|
|
10063
|
-
const _c0$
|
|
10068
|
+
const _c0$13 = ["*"];
|
|
10064
10069
|
/**
|
|
10065
10070
|
* @docsPrivate
|
|
10066
10071
|
*
|
|
@@ -10081,7 +10086,7 @@ class PoFieldContainerComponent {
|
|
|
10081
10086
|
}
|
|
10082
10087
|
}
|
|
10083
10088
|
PoFieldContainerComponent.ɵfac = function PoFieldContainerComponent_Factory(t) { return new (t || PoFieldContainerComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
10084
|
-
PoFieldContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoFieldContainerComponent, selectors: [["po-field-container"]], inputs: { label: ["p-label", "label"], help: ["p-help", "help"], optional: ["p-optional", "optional"] }, ngContentSelectors: _c0$
|
|
10089
|
+
PoFieldContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoFieldContainerComponent, selectors: [["po-field-container"]], inputs: { label: ["p-label", "label"], help: ["p-help", "help"], optional: ["p-optional", "optional"] }, ngContentSelectors: _c0$13, decls: 7, vars: 3, consts: [[1, "po-field-container"], [1, "po-field-container-title"], [1, "po-field-title"], ["class", "po-field-optional", 4, "ngIf"], ["class", "po-field-help", 4, "ngIf"], [1, "po-field-optional"], [1, "po-field-help"]], template: function PoFieldContainerComponent_Template(rf, ctx) {
|
|
10085
10090
|
if (rf & 1) {
|
|
10086
10091
|
i0.ɵɵprojectionDef();
|
|
10087
10092
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "span", 2);
|
|
@@ -10499,7 +10504,7 @@ __decorate([
|
|
|
10499
10504
|
}] });
|
|
10500
10505
|
})();
|
|
10501
10506
|
|
|
10502
|
-
const _c0$
|
|
10507
|
+
const _c0$12 = ["checkboxLabel"];
|
|
10503
10508
|
function PoCheckboxGroupComponent_div_3_Template(rf, ctx) {
|
|
10504
10509
|
if (rf & 1) {
|
|
10505
10510
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -10597,7 +10602,7 @@ class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent {
|
|
|
10597
10602
|
PoCheckboxGroupComponent.ɵfac = function PoCheckboxGroupComponent_Factory(t) { return new (t || PoCheckboxGroupComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
10598
10603
|
PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxGroupComponent, selectors: [["po-checkbox-group"]], viewQuery: function PoCheckboxGroupComponent_Query(rf, ctx) {
|
|
10599
10604
|
if (rf & 1) {
|
|
10600
|
-
i0.ɵɵviewQuery(_c0$
|
|
10605
|
+
i0.ɵɵviewQuery(_c0$12, 5);
|
|
10601
10606
|
}
|
|
10602
10607
|
if (rf & 2) {
|
|
10603
10608
|
let _t;
|
|
@@ -11515,7 +11520,12 @@ class PoDatepickerBaseComponent {
|
|
|
11515
11520
|
return this._locale || this.shortLanguage;
|
|
11516
11521
|
}
|
|
11517
11522
|
set date(value) {
|
|
11518
|
-
this.
|
|
11523
|
+
if (this.isExtendedISO) {
|
|
11524
|
+
this._date = typeof value === 'string' ? convertIsoToDate(value, false, false) : value;
|
|
11525
|
+
}
|
|
11526
|
+
else {
|
|
11527
|
+
this._date = typeof value === 'string' ? convertIsoToDateNoTimezone(value) : value;
|
|
11528
|
+
}
|
|
11519
11529
|
}
|
|
11520
11530
|
get date() {
|
|
11521
11531
|
return this._date;
|
|
@@ -11687,9 +11697,9 @@ __decorate([
|
|
|
11687
11697
|
}] });
|
|
11688
11698
|
})();
|
|
11689
11699
|
|
|
11690
|
-
const _c0$
|
|
11691
|
-
const _c1$
|
|
11692
|
-
const _c2$
|
|
11700
|
+
const _c0$11 = ["calendar"];
|
|
11701
|
+
const _c1$u = ["dialogPicker"];
|
|
11702
|
+
const _c2$d = ["iconDatepicker"];
|
|
11693
11703
|
const _c3$7 = ["inp"];
|
|
11694
11704
|
function PoDatepickerComponent_po_clean_5_Template(rf, ctx) {
|
|
11695
11705
|
if (rf & 1) {
|
|
@@ -12013,9 +12023,9 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
|
|
|
12013
12023
|
PoDatepickerComponent.ɵfac = function PoDatepickerComponent_Factory(t) { return new (t || PoDatepickerComponent)(i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
12014
12024
|
PoDatepickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerComponent, selectors: [["po-datepicker"]], viewQuery: function PoDatepickerComponent_Query(rf, ctx) {
|
|
12015
12025
|
if (rf & 1) {
|
|
12016
|
-
i0.ɵɵviewQuery(_c0$
|
|
12017
|
-
i0.ɵɵviewQuery(_c1$
|
|
12018
|
-
i0.ɵɵviewQuery(_c2$
|
|
12026
|
+
i0.ɵɵviewQuery(_c0$11, 7);
|
|
12027
|
+
i0.ɵɵviewQuery(_c1$u, 7, ElementRef);
|
|
12028
|
+
i0.ɵɵviewQuery(_c2$d, 7, ElementRef);
|
|
12019
12029
|
i0.ɵɵviewQuery(_c3$7, 7, ElementRef);
|
|
12020
12030
|
}
|
|
12021
12031
|
if (rf & 2) {
|
|
@@ -12288,7 +12298,7 @@ PoModalBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoModa
|
|
|
12288
12298
|
}] });
|
|
12289
12299
|
})();
|
|
12290
12300
|
|
|
12291
|
-
const _c0
|
|
12301
|
+
const _c0$10 = ["*"];
|
|
12292
12302
|
/**
|
|
12293
12303
|
* @description
|
|
12294
12304
|
*
|
|
@@ -12322,7 +12332,7 @@ class PoModalFooterComponent {
|
|
|
12322
12332
|
}
|
|
12323
12333
|
}
|
|
12324
12334
|
PoModalFooterComponent.ɵfac = function PoModalFooterComponent_Factory(t) { return new (t || PoModalFooterComponent)(); };
|
|
12325
|
-
PoModalFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0
|
|
12335
|
+
PoModalFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0$10, decls: 2, vars: 2, consts: [[1, "po-modal-footer"]], template: function PoModalFooterComponent_Template(rf, ctx) {
|
|
12326
12336
|
if (rf & 1) {
|
|
12327
12337
|
i0.ɵɵprojectionDef();
|
|
12328
12338
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -12359,7 +12369,7 @@ PoActiveOverlayService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: P
|
|
|
12359
12369
|
}], null, null);
|
|
12360
12370
|
})();
|
|
12361
12371
|
|
|
12362
|
-
const _c0
|
|
12372
|
+
const _c0$$ = ["modalContent"];
|
|
12363
12373
|
function PoModalComponent_div_0_a_9_Template(rf, ctx) {
|
|
12364
12374
|
if (rf & 1) {
|
|
12365
12375
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -12437,8 +12447,8 @@ function PoModalComponent_div_0_Template(rf, ctx) {
|
|
|
12437
12447
|
i0.ɵɵproperty("ngIf", ctx_r0.modalFooter)("ngIfElse", _r4);
|
|
12438
12448
|
}
|
|
12439
12449
|
}
|
|
12440
|
-
const _c1$
|
|
12441
|
-
const _c2$
|
|
12450
|
+
const _c1$t = ["*", [["po-modal-footer"]]];
|
|
12451
|
+
const _c2$c = ["*", "po-modal-footer"];
|
|
12442
12452
|
/**
|
|
12443
12453
|
* @docsExtends PoModalBaseComponent
|
|
12444
12454
|
*
|
|
@@ -12543,15 +12553,15 @@ PoModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalCom
|
|
|
12543
12553
|
}
|
|
12544
12554
|
}, viewQuery: function PoModalComponent_Query(rf, ctx) {
|
|
12545
12555
|
if (rf & 1) {
|
|
12546
|
-
i0.ɵɵviewQuery(_c0
|
|
12556
|
+
i0.ɵɵviewQuery(_c0$$, 5, ElementRef);
|
|
12547
12557
|
}
|
|
12548
12558
|
if (rf & 2) {
|
|
12549
12559
|
let _t;
|
|
12550
12560
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
12551
12561
|
}
|
|
12552
|
-
}, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$
|
|
12562
|
+
}, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$c, 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) {
|
|
12553
12563
|
if (rf & 1) {
|
|
12554
|
-
i0.ɵɵprojectionDef(_c1$
|
|
12564
|
+
i0.ɵɵprojectionDef(_c1$t);
|
|
12555
12565
|
i0.ɵɵtemplate(0, PoModalComponent_div_0_Template, 15, 7, "div", 0);
|
|
12556
12566
|
}
|
|
12557
12567
|
if (rf & 2) {
|
|
@@ -13417,8 +13427,8 @@ var PoToasterType;
|
|
|
13417
13427
|
PoToasterType[PoToasterType["Warning"] = 3] = "Warning";
|
|
13418
13428
|
})(PoToasterType || (PoToasterType = {}));
|
|
13419
13429
|
|
|
13420
|
-
const _c0$
|
|
13421
|
-
const _c1$
|
|
13430
|
+
const _c0$_ = ["toaster"];
|
|
13431
|
+
const _c1$s = ["buttonClose"];
|
|
13422
13432
|
function PoToasterComponent_po_button_7_Template(rf, ctx) {
|
|
13423
13433
|
if (rf & 1) {
|
|
13424
13434
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -13553,8 +13563,8 @@ class PoToasterComponent extends PoToasterBaseComponent {
|
|
|
13553
13563
|
PoToasterComponent.ɵfac = function PoToasterComponent_Factory(t) { return new (t || PoToasterComponent)(i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
13554
13564
|
PoToasterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoToasterComponent, selectors: [["po-toaster"]], viewQuery: function PoToasterComponent_Query(rf, ctx) {
|
|
13555
13565
|
if (rf & 1) {
|
|
13556
|
-
i0.ɵɵviewQuery(_c0$
|
|
13557
|
-
i0.ɵɵviewQuery(_c1$
|
|
13566
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
13567
|
+
i0.ɵɵviewQuery(_c1$s, 5);
|
|
13558
13568
|
}
|
|
13559
13569
|
if (rf & 2) {
|
|
13560
13570
|
let _t;
|
|
@@ -13810,7 +13820,7 @@ PoPopoverBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPo
|
|
|
13810
13820
|
}] });
|
|
13811
13821
|
})();
|
|
13812
13822
|
|
|
13813
|
-
const _c0$
|
|
13823
|
+
const _c0$Z = ["popoverElement"];
|
|
13814
13824
|
function PoPopoverComponent_div_2_Template(rf, ctx) {
|
|
13815
13825
|
if (rf & 1) {
|
|
13816
13826
|
i0.ɵɵelement(0, "div");
|
|
@@ -13832,7 +13842,7 @@ function PoPopoverComponent_span_4_Template(rf, ctx) {
|
|
|
13832
13842
|
i0.ɵɵtextInterpolate(ctx_r2.title);
|
|
13833
13843
|
}
|
|
13834
13844
|
}
|
|
13835
|
-
const _c1$
|
|
13845
|
+
const _c1$r = ["*"];
|
|
13836
13846
|
/**
|
|
13837
13847
|
*
|
|
13838
13848
|
* @docsExtends PoPopoverBaseComponent
|
|
@@ -13956,13 +13966,13 @@ class PoPopoverComponent extends PoPopoverBaseComponent {
|
|
|
13956
13966
|
PoPopoverComponent.ɵfac = function PoPopoverComponent_Factory(t) { return new (t || PoPopoverComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoControlPositionService)); };
|
|
13957
13967
|
PoPopoverComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopoverComponent, selectors: [["po-popover"]], viewQuery: function PoPopoverComponent_Query(rf, ctx) {
|
|
13958
13968
|
if (rf & 1) {
|
|
13959
|
-
i0.ɵɵviewQuery(_c0$
|
|
13969
|
+
i0.ɵɵviewQuery(_c0$Z, 7, ElementRef);
|
|
13960
13970
|
}
|
|
13961
13971
|
if (rf & 2) {
|
|
13962
13972
|
let _t;
|
|
13963
13973
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverElement = _t.first);
|
|
13964
13974
|
}
|
|
13965
|
-
}, features: [i0.ɵɵProvidersFeature([PoControlPositionService]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$
|
|
13975
|
+
}, features: [i0.ɵɵProvidersFeature([PoControlPositionService]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$r, decls: 6, vars: 3, consts: [[1, "po-popover", 3, "hidden"], ["popoverElement", ""], [3, "class", 4, "ngIf"], [1, "po-popover-content"], ["class", "po-popover-title", 4, "ngIf"], [1, "po-popover-title"]], template: function PoPopoverComponent_Template(rf, ctx) {
|
|
13966
13976
|
if (rf & 1) {
|
|
13967
13977
|
i0.ɵɵprojectionDef();
|
|
13968
13978
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
@@ -14238,7 +14248,7 @@ __decorate([
|
|
|
14238
14248
|
}] });
|
|
14239
14249
|
})();
|
|
14240
14250
|
|
|
14241
|
-
const _c0$
|
|
14251
|
+
const _c0$Y = ["checkboxLabel"];
|
|
14242
14252
|
/**
|
|
14243
14253
|
* @docsExtends PoCheckboxBaseComponent
|
|
14244
14254
|
*
|
|
@@ -14316,7 +14326,7 @@ class PoCheckboxComponent extends PoCheckboxBaseComponent {
|
|
|
14316
14326
|
PoCheckboxComponent.ɵfac = function PoCheckboxComponent_Factory(t) { return new (t || PoCheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
14317
14327
|
PoCheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxComponent, selectors: [["po-checkbox"]], viewQuery: function PoCheckboxComponent_Query(rf, ctx) {
|
|
14318
14328
|
if (rf & 1) {
|
|
14319
|
-
i0.ɵɵviewQuery(_c0$
|
|
14329
|
+
i0.ɵɵviewQuery(_c0$Y, 7);
|
|
14320
14330
|
}
|
|
14321
14331
|
if (rf & 2) {
|
|
14322
14332
|
let _t;
|
|
@@ -14381,7 +14391,7 @@ PoCheckboxModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[Common
|
|
|
14381
14391
|
})();
|
|
14382
14392
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoCheckboxModule, { declarations: [PoCheckboxComponent], imports: [CommonModule, FormsModule], exports: [PoCheckboxComponent] }); })();
|
|
14383
14393
|
|
|
14384
|
-
const _c0$
|
|
14394
|
+
const _c0$X = function (a0, a1) { return { "po-clickable": a0, "po-table-icon-disabled": a1 }; };
|
|
14385
14395
|
/**
|
|
14386
14396
|
* @docsPrivate
|
|
14387
14397
|
*
|
|
@@ -14420,7 +14430,7 @@ PoTableIconComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTabl
|
|
|
14420
14430
|
}
|
|
14421
14431
|
if (rf & 2) {
|
|
14422
14432
|
i0.ɵɵclassMapInterpolate1("po-table-icon-content ", ctx.disabled ? "" : ctx.color, "");
|
|
14423
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c0$
|
|
14433
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c0$X, ctx.clickable, ctx.disabled))("p-icon", ctx.icon)("p-tooltip", ctx.tooltip);
|
|
14424
14434
|
}
|
|
14425
14435
|
}, directives: [PoIconComponent, i1.NgClass, PoTooltipDirective], encapsulation: 2, changeDetection: 0 });
|
|
14426
14436
|
(function () {
|
|
@@ -14706,22 +14716,44 @@ PoTableColumnLinkComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
14706
14716
|
}] });
|
|
14707
14717
|
})();
|
|
14708
14718
|
|
|
14719
|
+
function PoTableColumnManagerComponent_po_popover_0_div_10_Template(rf, ctx) {
|
|
14720
|
+
if (rf & 1) {
|
|
14721
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
14722
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 13)(2, "po-button", 14);
|
|
14723
|
+
i0.ɵɵlistener("click", function PoTableColumnManagerComponent_po_popover_0_div_10_Template_po_button_click_2_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r5); const option_r3 = restoredCtx.$implicit; const ctx_r4 = i0.ɵɵnextContext(2); ctx_r4.changePosition(option_r3, "up"); return $event.stopPropagation(); });
|
|
14724
|
+
i0.ɵɵelementEnd();
|
|
14725
|
+
i0.ɵɵelementStart(3, "po-button", 15);
|
|
14726
|
+
i0.ɵɵlistener("click", function PoTableColumnManagerComponent_po_popover_0_div_10_Template_po_button_click_3_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r5); const option_r3 = restoredCtx.$implicit; const ctx_r6 = i0.ɵɵnextContext(2); ctx_r6.changePosition(option_r3, "down"); return $event.stopPropagation(); });
|
|
14727
|
+
i0.ɵɵelementEnd()()();
|
|
14728
|
+
}
|
|
14729
|
+
if (rf & 2) {
|
|
14730
|
+
const option_r3 = ctx.$implicit;
|
|
14731
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
14732
|
+
i0.ɵɵadvance(2);
|
|
14733
|
+
i0.ɵɵproperty("p-tooltip", ctx_r2.literals.up)("p-disabled", ctx_r2.verifyArrowDisabled(option_r3, "up"));
|
|
14734
|
+
i0.ɵɵadvance(1);
|
|
14735
|
+
i0.ɵɵproperty("p-tooltip", ctx_r2.literals.down)("p-disabled", ctx_r2.verifyArrowDisabled(option_r3, "down"));
|
|
14736
|
+
}
|
|
14737
|
+
}
|
|
14709
14738
|
function PoTableColumnManagerComponent_po_popover_0_Template(rf, ctx) {
|
|
14710
14739
|
if (rf & 1) {
|
|
14711
|
-
const
|
|
14740
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
14712
14741
|
i0.ɵɵelementStart(0, "po-popover", 1, 2);
|
|
14713
|
-
i0.ɵɵlistener("p-close", function PoTableColumnManagerComponent_po_popover_0_Template_po_popover_p_close_0_listener() { i0.ɵɵrestoreView(
|
|
14742
|
+
i0.ɵɵlistener("p-close", function PoTableColumnManagerComponent_po_popover_0_Template_po_popover_p_close_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.checkChanges([], true); });
|
|
14714
14743
|
i0.ɵɵelementStart(2, "div", 3)(3, "div", 4);
|
|
14715
14744
|
i0.ɵɵtext(4);
|
|
14716
14745
|
i0.ɵɵelementEnd();
|
|
14717
14746
|
i0.ɵɵelementStart(5, "div", 5)(6, "button", 6);
|
|
14718
|
-
i0.ɵɵlistener("click", function PoTableColumnManagerComponent_po_popover_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
14747
|
+
i0.ɵɵlistener("click", function PoTableColumnManagerComponent_po_popover_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r8); const _r1 = i0.ɵɵreference(1); return _r1.close(); });
|
|
14719
14748
|
i0.ɵɵelementEnd()()();
|
|
14720
14749
|
i0.ɵɵelementStart(7, "div", 7)(8, "po-checkbox-group", 8);
|
|
14721
|
-
i0.ɵɵlistener("ngModelChange", function PoTableColumnManagerComponent_po_popover_0_Template_po_checkbox_group_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(
|
|
14750
|
+
i0.ɵɵlistener("ngModelChange", function PoTableColumnManagerComponent_po_popover_0_Template_po_checkbox_group_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.visibleColumns = $event; })("p-change", function PoTableColumnManagerComponent_po_popover_0_Template_po_checkbox_group_p_change_8_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.checkChanges($event, false); });
|
|
14751
|
+
i0.ɵɵelementEnd();
|
|
14752
|
+
i0.ɵɵelementStart(9, "div", 9);
|
|
14753
|
+
i0.ɵɵtemplate(10, PoTableColumnManagerComponent_po_popover_0_div_10_Template, 4, 4, "div", 10);
|
|
14722
14754
|
i0.ɵɵelementEnd()();
|
|
14723
|
-
i0.ɵɵelementStart(
|
|
14724
|
-
i0.ɵɵlistener("p-click", function
|
|
14755
|
+
i0.ɵɵelementStart(11, "div", 11)(12, "po-button", 12);
|
|
14756
|
+
i0.ɵɵlistener("p-click", function PoTableColumnManagerComponent_po_popover_0_Template_po_button_p_click_12_listener() { i0.ɵɵrestoreView(_r8); const ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.restore(); });
|
|
14725
14757
|
i0.ɵɵelementEnd()()();
|
|
14726
14758
|
}
|
|
14727
14759
|
if (rf & 2) {
|
|
@@ -14732,6 +14764,8 @@ function PoTableColumnManagerComponent_po_popover_0_Template(rf, ctx) {
|
|
|
14732
14764
|
i0.ɵɵadvance(4);
|
|
14733
14765
|
i0.ɵɵproperty("ngModel", ctx_r0.visibleColumns)("p-options", ctx_r0.columnsOptions);
|
|
14734
14766
|
i0.ɵɵadvance(2);
|
|
14767
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.columnsOptions);
|
|
14768
|
+
i0.ɵɵadvance(2);
|
|
14735
14769
|
i0.ɵɵproperty("p-label", ctx_r0.literals.restoreDefault);
|
|
14736
14770
|
}
|
|
14737
14771
|
}
|
|
@@ -14739,19 +14773,27 @@ const PoTableColumnManagerMaxColumnsDefault = 99999;
|
|
|
14739
14773
|
const poTableColumnManagerLiteralsDefault = {
|
|
14740
14774
|
en: {
|
|
14741
14775
|
columnsManager: 'Columns manager',
|
|
14742
|
-
restoreDefault: 'Restore default'
|
|
14776
|
+
restoreDefault: 'Restore default',
|
|
14777
|
+
up: 'up',
|
|
14778
|
+
down: 'down'
|
|
14743
14779
|
},
|
|
14744
14780
|
es: {
|
|
14745
14781
|
columnsManager: 'Gerente de columna',
|
|
14746
|
-
restoreDefault: 'Restaurar por defecto'
|
|
14782
|
+
restoreDefault: 'Restaurar por defecto',
|
|
14783
|
+
up: 'arriba',
|
|
14784
|
+
down: 'abajo'
|
|
14747
14785
|
},
|
|
14748
14786
|
pt: {
|
|
14749
14787
|
columnsManager: 'Gerenciador de colunas',
|
|
14750
|
-
restoreDefault: 'Restaurar padrão'
|
|
14788
|
+
restoreDefault: 'Restaurar padrão',
|
|
14789
|
+
up: 'acima',
|
|
14790
|
+
down: 'abaixo'
|
|
14751
14791
|
},
|
|
14752
14792
|
ru: {
|
|
14753
14793
|
columnsManager: 'менеджер колонок',
|
|
14754
|
-
restoreDefault: 'сброс настроек'
|
|
14794
|
+
restoreDefault: 'сброс настроек',
|
|
14795
|
+
up: 'вверх',
|
|
14796
|
+
down: 'вниз'
|
|
14755
14797
|
}
|
|
14756
14798
|
};
|
|
14757
14799
|
class PoTableColumnManagerComponent {
|
|
@@ -14807,6 +14849,38 @@ class PoTableColumnManagerComponent {
|
|
|
14807
14849
|
this.initialColumns.emit(this.getVisibleColumns(this.colunsDefault));
|
|
14808
14850
|
this.checkChanges(defaultColumns, this.restoreDefaultEvent);
|
|
14809
14851
|
}
|
|
14852
|
+
changePosition(option, direction) {
|
|
14853
|
+
const indexColumn = this.columns.findIndex(el => el.property === option.value);
|
|
14854
|
+
const newColumn = [...this.columns];
|
|
14855
|
+
const hasDisabled = this.verifyArrowDisabled(option, direction);
|
|
14856
|
+
this.changePositionColumn(newColumn, indexColumn, direction, hasDisabled);
|
|
14857
|
+
this.columns = newColumn;
|
|
14858
|
+
this.visibleColumnsChange.emit(this.columns);
|
|
14859
|
+
}
|
|
14860
|
+
verifyArrowDisabled(option, direction) {
|
|
14861
|
+
const index = this.columns.findIndex(el => el.property === option.value);
|
|
14862
|
+
const existsDetail = this.columns.some(function (el) {
|
|
14863
|
+
return el.property === 'detail';
|
|
14864
|
+
});
|
|
14865
|
+
const valueSubtraction = existsDetail ? 2 : 1;
|
|
14866
|
+
if (index === 0 && direction === 'up') {
|
|
14867
|
+
return true;
|
|
14868
|
+
}
|
|
14869
|
+
if (index === this.columns.length - valueSubtraction && direction === 'down') {
|
|
14870
|
+
return true;
|
|
14871
|
+
}
|
|
14872
|
+
return false;
|
|
14873
|
+
}
|
|
14874
|
+
changePositionColumn(array, index, direction, hasDisabled) {
|
|
14875
|
+
if (!hasDisabled) {
|
|
14876
|
+
if (direction === 'up') {
|
|
14877
|
+
array.splice(index, 0, array.splice(index - 1, 1)[0]);
|
|
14878
|
+
}
|
|
14879
|
+
if (direction === 'down') {
|
|
14880
|
+
array.splice(index, 0, array.splice(index + 1, 1)[0]);
|
|
14881
|
+
}
|
|
14882
|
+
}
|
|
14883
|
+
}
|
|
14810
14884
|
verifyToEmitChange(event) {
|
|
14811
14885
|
const newColumns = [...event];
|
|
14812
14886
|
if (newColumns.length >= 1 && this.allowsChangeVisibleColumns()) {
|
|
@@ -14842,15 +14916,10 @@ class PoTableColumnManagerComponent {
|
|
|
14842
14916
|
const defaultColumns = [...this.defaultColumns];
|
|
14843
14917
|
const defaultVisibleColumns = this.getVisibleColumns(defaultColumns);
|
|
14844
14918
|
if (this.allowsChangeSelectedColumns(defaultVisibleColumns)) {
|
|
14845
|
-
this.
|
|
14919
|
+
this.visibleColumnsChange.emit(this.defaultColumns);
|
|
14846
14920
|
}
|
|
14847
14921
|
this.restoreDefaultEvent = false;
|
|
14848
14922
|
}
|
|
14849
|
-
emitChangeOnRestore(defaultVisibleColumns) {
|
|
14850
|
-
this.visibleColumns = [...defaultVisibleColumns];
|
|
14851
|
-
const visibleTableColumns = this.getVisibleTableColumns(this.visibleColumns);
|
|
14852
|
-
this.visibleColumnsChange.emit(visibleTableColumns);
|
|
14853
|
-
}
|
|
14854
14923
|
allowsChangeSelectedColumns(defaultVisibleColumns) {
|
|
14855
14924
|
const visibleColumns = this.getVisibleColumns(this.columns);
|
|
14856
14925
|
return !this.isEqualArrays(defaultVisibleColumns, visibleColumns);
|
|
@@ -14881,8 +14950,8 @@ class PoTableColumnManagerComponent {
|
|
|
14881
14950
|
isEqualArrays(first, second) {
|
|
14882
14951
|
const one = first ? [...first] : [];
|
|
14883
14952
|
const two = second ? [...second] : [];
|
|
14884
|
-
const firstSort = one.slice()
|
|
14885
|
-
const secondSort = two.slice()
|
|
14953
|
+
const firstSort = one.slice();
|
|
14954
|
+
const secondSort = two.slice();
|
|
14886
14955
|
const firstString = JSON.stringify(firstSort);
|
|
14887
14956
|
const secondString = JSON.stringify(secondSort);
|
|
14888
14957
|
return firstString === secondString;
|
|
@@ -14982,18 +15051,18 @@ PoTableColumnManagerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
14982
15051
|
let _t;
|
|
14983
15052
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popover = _t.first);
|
|
14984
15053
|
}
|
|
14985
|
-
}, 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) {
|
|
15054
|
+
}, inputs: { columns: ["p-columns", "columns"], target: ["p-target", "target"], colunsDefault: ["p-columns-default", "colunsDefault"], lastVisibleColumnsSelected: ["p-last-visible-columns-selected", "lastVisibleColumnsSelected"], maxColumns: ["p-max-columns", "maxColumns"] }, outputs: { visibleColumnsChange: "p-visible-columns-change", changeVisibleColumns: "p-change-visible-columns", initialColumns: "p-initial-columns" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["p-position", "bottom-left", 3, "p-target", "p-close", 4, "ngIf"], ["p-position", "bottom-left", 3, "p-target", "p-close"], ["popover", ""], [1, "po-table-column-manager-header"], [1, "po-table-column-manager-header-title"], [1, "po-table-column-manager-header-close"], [1, "po-table-column-manager-header-close-button", "po-clickable", "po-icon", "po-icon-close", 3, "click"], [1, "po-table-column-manager-body"], ["name", "visibleColumns", "p-columns", "1", 3, "ngModel", "p-options", "ngModelChange", "p-change"], [1, "po-container-arrows-columns-manager"], [4, "ngFor", "ngForOf"], [1, "po-table-column-manager-footer"], ["p-small", "", "p-kind", "tertiary", 1, "po-table-column-manager-footer-restore", 3, "p-label", "p-click"], [1, "po-container-icons-arrows-columns-manager"], ["p-tooltip-position", "left", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-up", "p-small", "", 3, "p-tooltip", "p-disabled", "click"], ["p-tooltip-position", "top", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-down", "p-small", "", 3, "p-tooltip", "p-disabled", "click"]], template: function PoTableColumnManagerComponent_Template(rf, ctx) {
|
|
14986
15055
|
if (rf & 1) {
|
|
14987
|
-
i0.ɵɵtemplate(0, PoTableColumnManagerComponent_po_popover_0_Template,
|
|
15056
|
+
i0.ɵɵtemplate(0, PoTableColumnManagerComponent_po_popover_0_Template, 13, 6, "po-popover", 0);
|
|
14988
15057
|
}
|
|
14989
15058
|
if (rf & 2) {
|
|
14990
15059
|
i0.ɵɵproperty("ngIf", ctx.target);
|
|
14991
15060
|
}
|
|
14992
|
-
}, directives: [i1.NgIf, PoPopoverComponent, PoCheckboxGroupComponent, i3.NgControlStatus, i3.NgModel, PoButtonComponent], encapsulation: 2 });
|
|
15061
|
+
}, directives: [i1.NgIf, PoPopoverComponent, PoCheckboxGroupComponent, i3.NgControlStatus, i3.NgModel, i1.NgForOf, PoButtonComponent, PoTooltipDirective], encapsulation: 2 });
|
|
14993
15062
|
(function () {
|
|
14994
15063
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableColumnManagerComponent, [{
|
|
14995
15064
|
type: Component,
|
|
14996
|
-
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" }]
|
|
15065
|
+
args: [{ selector: 'po-table-column-manager', template: "<po-popover #popover *ngIf=\"target\" [p-target]=\"target\" p-position=\"bottom-left\" (p-close)=\"checkChanges([], true)\">\n <div class=\"po-table-column-manager-header\">\n <div class=\"po-table-column-manager-header-title\">{{ literals.columnsManager }}</div>\n\n <div class=\"po-table-column-manager-header-close\">\n <button\n class=\"po-table-column-manager-header-close-button po-clickable po-icon po-icon-close\"\n (click)=\"popover.close()\"\n ></button>\n </div>\n </div>\n\n <div class=\"po-table-column-manager-body\">\n <po-checkbox-group\n name=\"visibleColumns\"\n [(ngModel)]=\"visibleColumns\"\n p-columns=\"1\"\n [p-options]=\"columnsOptions\"\n (p-change)=\"checkChanges($event, false)\"\n >\n </po-checkbox-group>\n\n <div class=\"po-container-arrows-columns-manager\">\n <div *ngFor=\"let option of columnsOptions\">\n <div class=\"po-container-icons-arrows-columns-manager\">\n <po-button\n [p-tooltip]=\"literals.up\"\n p-tooltip-position=\"left\"\n [p-disabled]=\"verifyArrowDisabled(option, 'up')\"\n (click)=\"changePosition(option, 'up'); $event.stopPropagation()\"\n p-kind=\"tertiary\"\n p-icon=\"po-icon po-icon-arrow-up\"\n p-small\n >\n </po-button>\n <po-button\n [p-tooltip]=\"literals.down\"\n p-tooltip-position=\"top\"\n [p-disabled]=\"verifyArrowDisabled(option, 'down')\"\n (click)=\"changePosition(option, 'down'); $event.stopPropagation()\"\n p-kind=\"tertiary\"\n p-icon=\"po-icon po-icon-arrow-down\"\n p-small\n >\n </po-button>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-column-manager-footer\">\n <po-button\n class=\"po-table-column-manager-footer-restore\"\n p-small\n p-kind=\"tertiary\"\n [p-label]=\"literals.restoreDefault\"\n (p-click)=\"restore()\"\n >\n </po-button>\n </div>\n</po-popover>\n" }]
|
|
14997
15066
|
}], function () { return [{ type: i0.Renderer2 }, { type: PoLanguageService }]; }, { popover: [{
|
|
14998
15067
|
type: ViewChild,
|
|
14999
15068
|
args: [PoPopoverComponent]
|
|
@@ -16861,17 +16930,19 @@ PoTableDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTa
|
|
|
16861
16930
|
}] });
|
|
16862
16931
|
})();
|
|
16863
16932
|
|
|
16864
|
-
const _c0$
|
|
16865
|
-
const _c1$
|
|
16866
|
-
const _c2$
|
|
16933
|
+
const _c0$W = ["noColumnsHeader"];
|
|
16934
|
+
const _c1$q = ["popup"];
|
|
16935
|
+
const _c2$b = ["tableFooter"];
|
|
16867
16936
|
const _c3$6 = ["tableWrapper"];
|
|
16868
16937
|
const _c4$4 = ["poTableTbody"];
|
|
16869
16938
|
const _c5$2 = ["poTableThead"];
|
|
16870
16939
|
const _c6$2 = ["poTableTbodyVirtual"];
|
|
16871
|
-
const _c7$1 = ["
|
|
16872
|
-
const _c8$1 = ["
|
|
16873
|
-
const _c9 = ["
|
|
16874
|
-
const _c10 = ["
|
|
16940
|
+
const _c7$1 = ["columnManager"];
|
|
16941
|
+
const _c8$1 = ["columnActionLeft"];
|
|
16942
|
+
const _c9 = ["columnManagerTarget"];
|
|
16943
|
+
const _c10 = ["actionsIconElement"];
|
|
16944
|
+
const _c11 = ["actionsElement"];
|
|
16945
|
+
const _c12 = ["headersTable"];
|
|
16875
16946
|
function PoTableComponent_po_container_0_ng_container_1_Template(rf, ctx) {
|
|
16876
16947
|
if (rf & 1) {
|
|
16877
16948
|
i0.ɵɵelementContainer(0);
|
|
@@ -17049,7 +17120,7 @@ function PoTableComponent_ng_template_4_th_4_Template(rf, ctx) {
|
|
|
17049
17120
|
}
|
|
17050
17121
|
function PoTableComponent_ng_template_4_th_5_Template(rf, ctx) {
|
|
17051
17122
|
if (rf & 1) {
|
|
17052
|
-
i0.ɵɵelement(0, "th");
|
|
17123
|
+
i0.ɵɵelement(0, "th", null, 51);
|
|
17053
17124
|
}
|
|
17054
17125
|
if (rf & 2) {
|
|
17055
17126
|
const ctx_r44 = i0.ɵɵnextContext(2);
|
|
@@ -17063,7 +17134,7 @@ function PoTableComponent_ng_template_4_th_6_ng_container_2_Template(rf, ctx) {
|
|
|
17063
17134
|
}
|
|
17064
17135
|
function PoTableComponent_ng_template_4_th_6_Template(rf, ctx) {
|
|
17065
17136
|
if (rf & 1) {
|
|
17066
|
-
i0.ɵɵelementStart(0, "th",
|
|
17137
|
+
i0.ɵɵelementStart(0, "th", 52, 53);
|
|
17067
17138
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_4_th_6_ng_container_2_Template, 1, 0, "ng-container", 32);
|
|
17068
17139
|
i0.ɵɵelementEnd();
|
|
17069
17140
|
}
|
|
@@ -17080,26 +17151,26 @@ function PoTableComponent_ng_template_4_th_7_ng_container_3_Template(rf, ctx) {
|
|
|
17080
17151
|
i0.ɵɵelementContainer(0);
|
|
17081
17152
|
}
|
|
17082
17153
|
}
|
|
17083
|
-
const
|
|
17154
|
+
const _c13 = function (a0) { return { $implicit: a0 }; };
|
|
17084
17155
|
function PoTableComponent_ng_template_4_th_7_Template(rf, ctx) {
|
|
17085
17156
|
if (rf & 1) {
|
|
17086
|
-
const
|
|
17087
|
-
i0.ɵɵelementStart(0, "th",
|
|
17088
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
17089
|
-
i0.ɵɵelementStart(2, "div",
|
|
17090
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_th_7_ng_container_3_Template, 1, 0, "ng-container",
|
|
17157
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
17158
|
+
i0.ɵɵelementStart(0, "th", 54, 55);
|
|
17159
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r63); const column_r58 = restoredCtx.$implicit; const ctx_r62 = i0.ɵɵnextContext(2); return ctx_r62.sortColumn(column_r58); });
|
|
17160
|
+
i0.ɵɵelementStart(2, "div", 56);
|
|
17161
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_th_7_ng_container_3_Template, 1, 0, "ng-container", 57);
|
|
17091
17162
|
i0.ɵɵelementEnd()();
|
|
17092
17163
|
}
|
|
17093
17164
|
if (rf & 2) {
|
|
17094
|
-
const
|
|
17165
|
+
const column_r58 = ctx.$implicit;
|
|
17095
17166
|
const ctx_r46 = i0.ɵɵnextContext(2);
|
|
17096
17167
|
const _r17 = i0.ɵɵreference(19);
|
|
17097
|
-
i0.ɵɵstyleProp("width",
|
|
17098
|
-
i0.ɵɵclassProp("po-clickable", ctx_r46.sort &&
|
|
17168
|
+
i0.ɵɵstyleProp("width", column_r58.width)("max-width", column_r58.width)("min-width", column_r58.width);
|
|
17169
|
+
i0.ɵɵclassProp("po-clickable", ctx_r46.sort && column_r58.sortable !== false || ctx_r46.hasService)("po-table-header-subtitle", column_r58.type === "subtitle");
|
|
17099
17170
|
i0.ɵɵadvance(2);
|
|
17100
|
-
i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r46.height)("po-table-header-flex-right",
|
|
17171
|
+
i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r46.height)("po-table-header-flex-right", column_r58.type === "currency" || column_r58.type === "number")("po-table-header-flex-center", column_r58.type === "subtitle");
|
|
17101
17172
|
i0.ɵɵadvance(1);
|
|
17102
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18,
|
|
17173
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c13, column_r58));
|
|
17103
17174
|
}
|
|
17104
17175
|
}
|
|
17105
17176
|
function PoTableComponent_ng_template_4_th_8_Template(rf, ctx) {
|
|
@@ -17113,25 +17184,26 @@ function PoTableComponent_ng_template_4_th_9_Template(rf, ctx) {
|
|
|
17113
17184
|
}
|
|
17114
17185
|
if (rf & 2) {
|
|
17115
17186
|
const ctx_r48 = i0.ɵɵnextContext(2);
|
|
17116
|
-
i0.ɵɵclassProp("po-table-header-single-action", ctx_r48.isSingleAction)("po-table-header-actions", !ctx_r48.isSingleAction);
|
|
17187
|
+
i0.ɵɵclassProp("po-table-header-single-action", ctx_r48.isSingleAction && !ctx_r48.hideColumnsManager)("po-table-header-actions", !ctx_r48.isSingleAction);
|
|
17117
17188
|
}
|
|
17118
17189
|
}
|
|
17119
17190
|
function PoTableComponent_ng_template_4_th_10_Template(rf, ctx) {
|
|
17120
17191
|
if (rf & 1) {
|
|
17121
|
-
const
|
|
17122
|
-
i0.ɵɵelementStart(0, "th", null,
|
|
17123
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
17192
|
+
const _r67 = i0.ɵɵgetCurrentView();
|
|
17193
|
+
i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
|
|
17194
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r67); const ctx_r66 = i0.ɵɵnextContext(2); return ctx_r66.onOpenColumnManager(); });
|
|
17124
17195
|
i0.ɵɵelementEnd()()();
|
|
17125
17196
|
}
|
|
17126
17197
|
if (rf & 2) {
|
|
17127
|
-
const
|
|
17198
|
+
const _r64 = i0.ɵɵreference(1);
|
|
17128
17199
|
const ctx_r49 = i0.ɵɵnextContext(2);
|
|
17129
17200
|
i0.ɵɵclassProp("po-table-header-column-manager", !ctx_r49.isSingleAction || !ctx_r49.actionRight)("po-table-header-column-manager-border", !ctx_r49.height && ctx_r49.container)("po-table-header-single-action", ctx_r49.isSingleAction && ctx_r49.actionRight);
|
|
17130
17201
|
i0.ɵɵadvance(2);
|
|
17131
|
-
i0.ɵɵstyleProp("width", ctx_r49.height && ctx_r49.visibleActions.length ?
|
|
17202
|
+
i0.ɵɵstyleProp("width", ctx_r49.height && ctx_r49.visibleActions.length ? _r64.offsetWidth : undefined, "px");
|
|
17132
17203
|
i0.ɵɵclassProp("po-table-header-column-manager-border", ctx_r49.height && ctx_r49.container)("po-table-header-column-manager-fixed-inner", ctx_r49.height);
|
|
17133
17204
|
i0.ɵɵadvance(1);
|
|
17134
17205
|
i0.ɵɵproperty("p-tooltip", ctx_r49.literals.columnsManager);
|
|
17206
|
+
i0.ɵɵattribute("aria-label", ctx_r49.literals.columnsManager);
|
|
17135
17207
|
}
|
|
17136
17208
|
}
|
|
17137
17209
|
function PoTableComponent_ng_template_4_Template(rf, ctx) {
|
|
@@ -17139,12 +17211,12 @@ function PoTableComponent_ng_template_4_Template(rf, ctx) {
|
|
|
17139
17211
|
i0.ɵɵelementStart(0, "table", 39)(1, "thead")(2, "tr");
|
|
17140
17212
|
i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_th_3_Template, 3, 3, "th", 40);
|
|
17141
17213
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_th_4_Template, 1, 0, "th", 41);
|
|
17142
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_th_5_Template,
|
|
17214
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_th_5_Template, 2, 4, "th", 42);
|
|
17143
17215
|
i0.ɵɵtemplate(6, PoTableComponent_ng_template_4_th_6_Template, 3, 3, "th", 43);
|
|
17144
17216
|
i0.ɵɵtemplate(7, PoTableComponent_ng_template_4_th_7_Template, 4, 20, "th", 44);
|
|
17145
17217
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_th_8_Template, 1, 0, "th", 41);
|
|
17146
17218
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_4_th_9_Template, 1, 4, "th", 45);
|
|
17147
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_th_10_Template, 5,
|
|
17219
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_th_10_Template, 5, 14, "th", 46);
|
|
17148
17220
|
i0.ɵɵelementEnd()()();
|
|
17149
17221
|
}
|
|
17150
17222
|
if (rf & 2) {
|
|
@@ -17172,16 +17244,16 @@ function PoTableComponent_ng_template_4_Template(rf, ctx) {
|
|
|
17172
17244
|
}
|
|
17173
17245
|
function PoTableComponent_ng_template_6_tbody_3_Template(rf, ctx) {
|
|
17174
17246
|
if (rf & 1) {
|
|
17175
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
17247
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 65)(2, "td", 66)(3, "span");
|
|
17176
17248
|
i0.ɵɵtext(4);
|
|
17177
17249
|
i0.ɵɵelementEnd()()()();
|
|
17178
17250
|
}
|
|
17179
17251
|
if (rf & 2) {
|
|
17180
|
-
const
|
|
17252
|
+
const ctx_r69 = i0.ɵɵnextContext(2);
|
|
17181
17253
|
i0.ɵɵadvance(2);
|
|
17182
|
-
i0.ɵɵproperty("colSpan",
|
|
17254
|
+
i0.ɵɵproperty("colSpan", ctx_r69.columnCount);
|
|
17183
17255
|
i0.ɵɵadvance(2);
|
|
17184
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17256
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r69.literals.noData, " ");
|
|
17185
17257
|
}
|
|
17186
17258
|
}
|
|
17187
17259
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template(rf, ctx) {
|
|
@@ -17192,69 +17264,69 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container
|
|
|
17192
17264
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template(rf, ctx) {
|
|
17193
17265
|
if (rf & 1) {
|
|
17194
17266
|
i0.ɵɵelementStart(0, "td", 47);
|
|
17195
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
17267
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
17196
17268
|
i0.ɵɵelementEnd();
|
|
17197
17269
|
}
|
|
17198
17270
|
if (rf & 2) {
|
|
17199
|
-
const
|
|
17200
|
-
const
|
|
17271
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17272
|
+
const ctx_r74 = i0.ɵɵnextContext(3);
|
|
17201
17273
|
const _r13 = i0.ɵɵreference(15);
|
|
17202
17274
|
const _r15 = i0.ɵɵreference(17);
|
|
17203
17275
|
i0.ɵɵadvance(1);
|
|
17204
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17276
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r74.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, row_r72));
|
|
17205
17277
|
}
|
|
17206
17278
|
}
|
|
17207
17279
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
|
|
17208
|
-
const
|
|
17280
|
+
const _c14 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
|
|
17209
17281
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template(rf, ctx) {
|
|
17210
17282
|
if (rf & 1) {
|
|
17211
|
-
const
|
|
17212
|
-
i0.ɵɵelementStart(0, "td",
|
|
17213
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
17214
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template",
|
|
17283
|
+
const _r90 = i0.ɵɵgetCurrentView();
|
|
17284
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
17285
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r90); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r88 = i0.ɵɵnextContext(3); return ctx_r88.toggleDetail(row_r72); });
|
|
17286
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
17215
17287
|
i0.ɵɵelementEnd();
|
|
17216
17288
|
}
|
|
17217
17289
|
if (rf & 2) {
|
|
17218
|
-
const
|
|
17219
|
-
const
|
|
17220
|
-
const
|
|
17290
|
+
const ctx_r91 = i0.ɵɵnextContext();
|
|
17291
|
+
const row_r72 = ctx_r91.$implicit;
|
|
17292
|
+
const rowIndex_r73 = ctx_r91.index;
|
|
17221
17293
|
i0.ɵɵnextContext(3);
|
|
17222
17294
|
const _r11 = i0.ɵɵreference(13);
|
|
17223
17295
|
i0.ɵɵadvance(1);
|
|
17224
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17296
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
17225
17297
|
}
|
|
17226
17298
|
}
|
|
17227
17299
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template(rf, ctx) { }
|
|
17228
17300
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template(rf, ctx) {
|
|
17229
17301
|
if (rf & 1) {
|
|
17230
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template",
|
|
17302
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
17231
17303
|
}
|
|
17232
17304
|
if (rf & 2) {
|
|
17233
|
-
const
|
|
17234
|
-
const
|
|
17235
|
-
const
|
|
17305
|
+
const ctx_r93 = i0.ɵɵnextContext();
|
|
17306
|
+
const row_r72 = ctx_r93.$implicit;
|
|
17307
|
+
const rowIndex_r73 = ctx_r93.index;
|
|
17236
17308
|
i0.ɵɵnextContext(3);
|
|
17237
17309
|
const _r23 = i0.ɵɵreference(25);
|
|
17238
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17310
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
17239
17311
|
}
|
|
17240
17312
|
}
|
|
17241
17313
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
|
|
17242
17314
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template(rf, ctx) {
|
|
17243
17315
|
if (rf & 1) {
|
|
17244
|
-
const
|
|
17245
|
-
i0.ɵɵelementStart(0, "td",
|
|
17246
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
17247
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template",
|
|
17316
|
+
const _r97 = i0.ɵɵgetCurrentView();
|
|
17317
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
17318
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r97); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r95 = i0.ɵɵnextContext(3); return ctx_r95.toggleDetail(row_r72); });
|
|
17319
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
17248
17320
|
i0.ɵɵelementEnd();
|
|
17249
17321
|
}
|
|
17250
17322
|
if (rf & 2) {
|
|
17251
|
-
const
|
|
17252
|
-
const
|
|
17253
|
-
const
|
|
17323
|
+
const ctx_r98 = i0.ɵɵnextContext();
|
|
17324
|
+
const row_r72 = ctx_r98.$implicit;
|
|
17325
|
+
const rowIndex_r73 = ctx_r98.index;
|
|
17254
17326
|
i0.ɵɵnextContext(3);
|
|
17255
17327
|
const _r11 = i0.ɵɵreference(13);
|
|
17256
17328
|
i0.ɵɵadvance(1);
|
|
17257
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17329
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
17258
17330
|
}
|
|
17259
17331
|
}
|
|
17260
17332
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) {
|
|
@@ -17265,15 +17337,15 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_co
|
|
|
17265
17337
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template(rf, ctx) {
|
|
17266
17338
|
if (rf & 1) {
|
|
17267
17339
|
i0.ɵɵelementStart(0, "span");
|
|
17268
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
17340
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
17269
17341
|
i0.ɵɵelementEnd();
|
|
17270
17342
|
}
|
|
17271
17343
|
if (rf & 2) {
|
|
17272
|
-
const
|
|
17273
|
-
const
|
|
17274
|
-
const
|
|
17344
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17345
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17346
|
+
const ctx_r101 = i0.ɵɵnextContext(3);
|
|
17275
17347
|
i0.ɵɵadvance(1);
|
|
17276
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17348
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r101.getTemplate(column_r99))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, ctx_r101.getCellData(row_r72, column_r99)));
|
|
17277
17349
|
}
|
|
17278
17350
|
}
|
|
17279
17351
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) {
|
|
@@ -17281,19 +17353,19 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_co
|
|
|
17281
17353
|
i0.ɵɵelementContainer(0);
|
|
17282
17354
|
}
|
|
17283
17355
|
}
|
|
17284
|
-
const
|
|
17356
|
+
const _c15 = function (a0, a1) { return { row: a0, column: a1 }; };
|
|
17285
17357
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template(rf, ctx) {
|
|
17286
17358
|
if (rf & 1) {
|
|
17287
17359
|
i0.ɵɵelementStart(0, "span");
|
|
17288
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container",
|
|
17360
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
17289
17361
|
i0.ɵɵelementEnd();
|
|
17290
17362
|
}
|
|
17291
17363
|
if (rf & 2) {
|
|
17292
|
-
const
|
|
17293
|
-
const
|
|
17294
|
-
const
|
|
17364
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17365
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17366
|
+
const ctx_r102 = i0.ɵɵnextContext(3);
|
|
17295
17367
|
i0.ɵɵadvance(1);
|
|
17296
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17368
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r102.tableCellTemplate == null ? null : ctx_r102.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c15, row_r72, column_r99));
|
|
17297
17369
|
}
|
|
17298
17370
|
}
|
|
17299
17371
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template(rf, ctx) {
|
|
@@ -17303,11 +17375,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Templ
|
|
|
17303
17375
|
i0.ɵɵelementEnd();
|
|
17304
17376
|
}
|
|
17305
17377
|
if (rf & 2) {
|
|
17306
|
-
const
|
|
17307
|
-
const
|
|
17308
|
-
const
|
|
17378
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17379
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17380
|
+
const ctx_r103 = i0.ɵɵnextContext(3);
|
|
17309
17381
|
i0.ɵɵadvance(1);
|
|
17310
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17382
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r103.getBooleanLabel(ctx_r103.getCellData(row_r72, column_r99), column_r99), " ");
|
|
17311
17383
|
}
|
|
17312
17384
|
}
|
|
17313
17385
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template(rf, ctx) {
|
|
@@ -17318,11 +17390,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Templ
|
|
|
17318
17390
|
i0.ɵɵelementEnd();
|
|
17319
17391
|
}
|
|
17320
17392
|
if (rf & 2) {
|
|
17321
|
-
const
|
|
17322
|
-
const
|
|
17323
|
-
const
|
|
17393
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17394
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17395
|
+
const ctx_r104 = i0.ɵɵnextContext(3);
|
|
17324
17396
|
i0.ɵɵadvance(1);
|
|
17325
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1,
|
|
17397
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r104.getCellData(row_r72, column_r99), column_r99.format, "symbol", "1.2-2"), " ");
|
|
17326
17398
|
}
|
|
17327
17399
|
}
|
|
17328
17400
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template(rf, ctx) {
|
|
@@ -17333,11 +17405,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Templ
|
|
|
17333
17405
|
i0.ɵɵelementEnd();
|
|
17334
17406
|
}
|
|
17335
17407
|
if (rf & 2) {
|
|
17336
|
-
const
|
|
17337
|
-
const
|
|
17338
|
-
const
|
|
17408
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17409
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17410
|
+
const ctx_r105 = i0.ɵɵnextContext(3);
|
|
17339
17411
|
i0.ɵɵadvance(1);
|
|
17340
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
17412
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r105.getCellData(row_r72, column_r99), column_r99.format || "dd/MM/yyyy"), " ");
|
|
17341
17413
|
}
|
|
17342
17414
|
}
|
|
17343
17415
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template(rf, ctx) {
|
|
@@ -17348,11 +17420,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Templ
|
|
|
17348
17420
|
i0.ɵɵelementEnd();
|
|
17349
17421
|
}
|
|
17350
17422
|
if (rf & 2) {
|
|
17351
|
-
const
|
|
17352
|
-
const
|
|
17353
|
-
const
|
|
17423
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17424
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17425
|
+
const ctx_r106 = i0.ɵɵnextContext(3);
|
|
17354
17426
|
i0.ɵɵadvance(1);
|
|
17355
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
17427
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r106.getCellData(row_r72, column_r99), column_r99.format || "HH:mm:ss.ffffff"), " ");
|
|
17356
17428
|
}
|
|
17357
17429
|
}
|
|
17358
17430
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template(rf, ctx) {
|
|
@@ -17363,11 +17435,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Templ
|
|
|
17363
17435
|
i0.ɵɵelementEnd();
|
|
17364
17436
|
}
|
|
17365
17437
|
if (rf & 2) {
|
|
17366
|
-
const
|
|
17367
|
-
const
|
|
17368
|
-
const
|
|
17438
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17439
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17440
|
+
const ctx_r107 = i0.ɵɵnextContext(3);
|
|
17369
17441
|
i0.ɵɵadvance(1);
|
|
17370
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
17442
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r107.getCellData(row_r72, column_r99), column_r99.format || "dd/MM/yyyy HH:mm:ss"), " ");
|
|
17371
17443
|
}
|
|
17372
17444
|
}
|
|
17373
17445
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template(rf, ctx) {
|
|
@@ -17377,64 +17449,64 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Templ
|
|
|
17377
17449
|
i0.ɵɵelementEnd();
|
|
17378
17450
|
}
|
|
17379
17451
|
if (rf & 2) {
|
|
17380
|
-
const
|
|
17381
|
-
const
|
|
17382
|
-
const
|
|
17452
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17453
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17454
|
+
const ctx_r108 = i0.ɵɵnextContext(3);
|
|
17383
17455
|
i0.ɵɵadvance(1);
|
|
17384
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17456
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r108.formatNumber(ctx_r108.getCellData(row_r72, column_r99), column_r99.format), " ");
|
|
17385
17457
|
}
|
|
17386
17458
|
}
|
|
17387
17459
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) {
|
|
17388
17460
|
if (rf & 1) {
|
|
17389
|
-
const
|
|
17390
|
-
i0.ɵɵelementStart(0, "po-table-column-link",
|
|
17391
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
17461
|
+
const _r134 = i0.ɵɵgetCurrentView();
|
|
17462
|
+
i0.ɵɵelementStart(0, "po-table-column-link", 80);
|
|
17463
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r134); const column_r99 = i0.ɵɵnextContext().$implicit; const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r132 = i0.ɵɵnextContext(3); return ctx_r132.onClickLink($event, row_r72, column_r99); });
|
|
17392
17464
|
i0.ɵɵelementEnd();
|
|
17393
17465
|
}
|
|
17394
17466
|
if (rf & 2) {
|
|
17395
|
-
const
|
|
17396
|
-
const
|
|
17397
|
-
const
|
|
17398
|
-
i0.ɵɵproperty("p-action",
|
|
17467
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17468
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17469
|
+
const ctx_r109 = i0.ɵɵnextContext(3);
|
|
17470
|
+
i0.ɵɵproperty("p-action", column_r99.action)("p-disabled", ctx_r109.checkDisabled(row_r72, column_r99))("p-link", row_r72[column_r99.link])("p-row", row_r72)("p-value", ctx_r109.getCellData(row_r72, column_r99));
|
|
17399
17471
|
}
|
|
17400
17472
|
}
|
|
17401
17473
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) {
|
|
17402
17474
|
if (rf & 1) {
|
|
17403
|
-
i0.ɵɵelement(0, "po-table-column-icon",
|
|
17475
|
+
i0.ɵɵelement(0, "po-table-column-icon", 81);
|
|
17404
17476
|
}
|
|
17405
17477
|
if (rf & 2) {
|
|
17406
|
-
const
|
|
17407
|
-
const
|
|
17408
|
-
const
|
|
17409
|
-
i0.ɵɵproperty("p-column",
|
|
17478
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17479
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17480
|
+
const ctx_r110 = i0.ɵɵnextContext(3);
|
|
17481
|
+
i0.ɵɵproperty("p-column", column_r99)("p-icons", ctx_r110.getColumnIcons(row_r72, column_r99))("p-row", row_r72);
|
|
17410
17482
|
}
|
|
17411
17483
|
}
|
|
17412
17484
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template(rf, ctx) {
|
|
17413
17485
|
if (rf & 1) {
|
|
17414
17486
|
i0.ɵɵelementStart(0, "span");
|
|
17415
|
-
i0.ɵɵelement(1, "po-table-subtitle-circle",
|
|
17487
|
+
i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
|
|
17416
17488
|
i0.ɵɵelementEnd();
|
|
17417
17489
|
}
|
|
17418
17490
|
if (rf & 2) {
|
|
17419
|
-
const
|
|
17420
|
-
const
|
|
17421
|
-
const
|
|
17491
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17492
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17493
|
+
const ctx_r111 = i0.ɵɵnextContext(3);
|
|
17422
17494
|
i0.ɵɵadvance(1);
|
|
17423
|
-
i0.ɵɵproperty("p-subtitle",
|
|
17495
|
+
i0.ɵɵproperty("p-subtitle", ctx_r111.getSubtitleColumn(row_r72, column_r99));
|
|
17424
17496
|
}
|
|
17425
17497
|
}
|
|
17426
17498
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template(rf, ctx) {
|
|
17427
17499
|
if (rf & 1) {
|
|
17428
17500
|
i0.ɵɵelementStart(0, "span");
|
|
17429
|
-
i0.ɵɵelement(1, "po-table-column-label",
|
|
17501
|
+
i0.ɵɵelement(1, "po-table-column-label", 83);
|
|
17430
17502
|
i0.ɵɵelementEnd();
|
|
17431
17503
|
}
|
|
17432
17504
|
if (rf & 2) {
|
|
17433
|
-
const
|
|
17434
|
-
const
|
|
17435
|
-
const
|
|
17505
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17506
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17507
|
+
const ctx_r112 = i0.ɵɵnextContext(3);
|
|
17436
17508
|
i0.ɵɵadvance(1);
|
|
17437
|
-
i0.ɵɵproperty("p-value",
|
|
17509
|
+
i0.ɵɵproperty("p-value", ctx_r112.getColumnLabel(row_r72, column_r99));
|
|
17438
17510
|
}
|
|
17439
17511
|
}
|
|
17440
17512
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template(rf, ctx) {
|
|
@@ -17444,46 +17516,46 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Temp
|
|
|
17444
17516
|
i0.ɵɵelementEnd();
|
|
17445
17517
|
}
|
|
17446
17518
|
if (rf & 2) {
|
|
17447
|
-
const
|
|
17448
|
-
const
|
|
17449
|
-
const
|
|
17519
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
17520
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17521
|
+
const ctx_r113 = i0.ɵɵnextContext(3);
|
|
17450
17522
|
i0.ɵɵadvance(1);
|
|
17451
|
-
i0.ɵɵtextInterpolate(
|
|
17523
|
+
i0.ɵɵtextInterpolate(ctx_r113.getCellData(row_r72, column_r99));
|
|
17452
17524
|
}
|
|
17453
17525
|
}
|
|
17454
17526
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf, ctx) {
|
|
17455
17527
|
if (rf & 1) {
|
|
17456
|
-
const
|
|
17457
|
-
i0.ɵɵelementStart(0, "td",
|
|
17458
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
17459
|
-
i0.ɵɵelementStart(1, "div",
|
|
17460
|
-
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(
|
|
17461
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template, 2, 4, "span",
|
|
17462
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template, 2, 5, "span",
|
|
17463
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template, 2, 1, "span",
|
|
17464
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template, 3, 6, "span",
|
|
17465
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template, 3, 4, "span",
|
|
17466
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template, 3, 4, "span",
|
|
17467
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template, 3, 4, "span",
|
|
17468
|
-
i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template, 2, 1, "span",
|
|
17469
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link",
|
|
17470
|
-
i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon",
|
|
17471
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template, 2, 1, "span",
|
|
17472
|
-
i0.ɵɵtemplate(13, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template, 2, 1, "span",
|
|
17473
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template, 2, 1, "span",
|
|
17528
|
+
const _r147 = i0.ɵɵgetCurrentView();
|
|
17529
|
+
i0.ɵɵelementStart(0, "td", 74);
|
|
17530
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r147); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r146 = i0.ɵɵnextContext(3); return ctx_r146.selectable ? ctx_r146.selectRow(row_r72) : "javascript:;"; });
|
|
17531
|
+
i0.ɵɵelementStart(1, "div", 75);
|
|
17532
|
+
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r147); const column_r99 = restoredCtx.$implicit; const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r149 = i0.ɵɵnextContext(3); return ctx_r149.tooltipMouseEnter($event, column_r99, row_r72); })("mouseleave", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r147); const ctx_r151 = i0.ɵɵnextContext(4); return ctx_r151.tooltipMouseLeave(); });
|
|
17533
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
|
|
17534
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
|
|
17535
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
|
|
17536
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
|
|
17537
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
|
|
17538
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
|
|
17539
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
|
|
17540
|
+
i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
|
|
17541
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 77);
|
|
17542
|
+
i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 78);
|
|
17543
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
|
|
17544
|
+
i0.ɵɵtemplate(13, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
|
|
17545
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template, 2, 1, "span", 79);
|
|
17474
17546
|
i0.ɵɵelementEnd()();
|
|
17475
17547
|
}
|
|
17476
17548
|
if (rf & 2) {
|
|
17477
|
-
const
|
|
17478
|
-
const
|
|
17479
|
-
const
|
|
17480
|
-
i0.ɵɵstyleProp("width",
|
|
17481
|
-
i0.ɵɵclassProp("po-table-column",
|
|
17482
|
-
i0.ɵɵproperty("ngClass",
|
|
17549
|
+
const column_r99 = ctx.$implicit;
|
|
17550
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17551
|
+
const ctx_r78 = i0.ɵɵnextContext(3);
|
|
17552
|
+
i0.ɵɵstyleProp("width", column_r99.width)("max-width", column_r99.width)("min-width", column_r99.width);
|
|
17553
|
+
i0.ɵɵclassProp("po-table-column", column_r99.type !== "icon")("po-table-column-right", column_r99.type === "currency" || column_r99.type === "number")("po-table-column-center", column_r99.type === "subtitle")("po-table-column-icons", column_r99.type === "icon");
|
|
17554
|
+
i0.ɵɵproperty("ngClass", ctx_r78.getClassColor(row_r72, column_r99));
|
|
17483
17555
|
i0.ɵɵadvance(1);
|
|
17484
|
-
i0.ɵɵstyleProp("width",
|
|
17485
|
-
i0.ɵɵclassProp("po-table-body-ellipsis",
|
|
17486
|
-
i0.ɵɵproperty("ngSwitch",
|
|
17556
|
+
i0.ɵɵstyleProp("width", ctx_r78.noColumnsHeader == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement.offsetWidth, "px");
|
|
17557
|
+
i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r78.hideTextOverflow);
|
|
17558
|
+
i0.ɵɵproperty("ngSwitch", column_r99.type)("p-tooltip", ctx_r78.tooltipText);
|
|
17487
17559
|
i0.ɵɵadvance(1);
|
|
17488
17560
|
i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
|
|
17489
17561
|
i0.ɵɵadvance(1);
|
|
@@ -17513,149 +17585,149 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf,
|
|
|
17513
17585
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
|
|
17514
17586
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template(rf, ctx) {
|
|
17515
17587
|
if (rf & 1) {
|
|
17516
|
-
const
|
|
17517
|
-
i0.ɵɵelementStart(0, "td",
|
|
17518
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
17519
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template",
|
|
17588
|
+
const _r156 = i0.ɵɵgetCurrentView();
|
|
17589
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
17590
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r156); const row_r72 = i0.ɵɵnextContext().$implicit; const ctx_r154 = i0.ɵɵnextContext(3); return ctx_r154.toggleDetail(row_r72); });
|
|
17591
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
17520
17592
|
i0.ɵɵelementEnd();
|
|
17521
17593
|
}
|
|
17522
17594
|
if (rf & 2) {
|
|
17523
|
-
const
|
|
17524
|
-
const
|
|
17525
|
-
const
|
|
17595
|
+
const ctx_r157 = i0.ɵɵnextContext();
|
|
17596
|
+
const row_r72 = ctx_r157.$implicit;
|
|
17597
|
+
const rowIndex_r73 = ctx_r157.index;
|
|
17526
17598
|
i0.ɵɵnextContext(3);
|
|
17527
17599
|
const _r11 = i0.ɵɵreference(13);
|
|
17528
17600
|
i0.ɵɵadvance(1);
|
|
17529
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17601
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
17530
17602
|
}
|
|
17531
17603
|
}
|
|
17532
17604
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template(rf, ctx) { }
|
|
17533
17605
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template(rf, ctx) {
|
|
17534
17606
|
if (rf & 1) {
|
|
17535
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template",
|
|
17607
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
17536
17608
|
}
|
|
17537
17609
|
if (rf & 2) {
|
|
17538
|
-
const
|
|
17539
|
-
const
|
|
17540
|
-
const
|
|
17610
|
+
const ctx_r159 = i0.ɵɵnextContext();
|
|
17611
|
+
const row_r72 = ctx_r159.$implicit;
|
|
17612
|
+
const rowIndex_r73 = ctx_r159.index;
|
|
17541
17613
|
i0.ɵɵnextContext(3);
|
|
17542
17614
|
const _r23 = i0.ɵɵreference(25);
|
|
17543
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17615
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
17544
17616
|
}
|
|
17545
17617
|
}
|
|
17546
17618
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template(rf, ctx) {
|
|
17547
17619
|
if (rf & 1) {
|
|
17548
17620
|
i0.ɵɵelementContainerStart(0);
|
|
17549
|
-
i0.ɵɵelement(1, "td",
|
|
17621
|
+
i0.ɵɵelement(1, "td", 84);
|
|
17550
17622
|
i0.ɵɵelementContainerEnd();
|
|
17551
17623
|
}
|
|
17552
17624
|
}
|
|
17553
17625
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template(rf, ctx) {
|
|
17554
17626
|
if (rf & 1) {
|
|
17555
|
-
i0.ɵɵelement(0, "td",
|
|
17627
|
+
i0.ɵɵelement(0, "td", 85);
|
|
17556
17628
|
}
|
|
17557
17629
|
}
|
|
17558
17630
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
|
|
17559
|
-
const
|
|
17631
|
+
const _c16 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
|
|
17560
17632
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template(rf, ctx) {
|
|
17561
17633
|
if (rf & 1) {
|
|
17562
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
17563
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template",
|
|
17634
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 86);
|
|
17635
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 73);
|
|
17564
17636
|
i0.ɵɵelementEnd()();
|
|
17565
17637
|
}
|
|
17566
17638
|
if (rf & 2) {
|
|
17567
|
-
const
|
|
17568
|
-
const
|
|
17569
|
-
const
|
|
17570
|
-
const
|
|
17639
|
+
const ctx_r161 = i0.ɵɵnextContext();
|
|
17640
|
+
const row_r72 = ctx_r161.$implicit;
|
|
17641
|
+
const rowIndex_r73 = ctx_r161.index;
|
|
17642
|
+
const ctx_r83 = i0.ɵɵnextContext(3);
|
|
17571
17643
|
i0.ɵɵadvance(1);
|
|
17572
|
-
i0.ɵɵproperty("colSpan",
|
|
17644
|
+
i0.ɵɵproperty("colSpan", ctx_r83.columnCountForMasterDetail);
|
|
17573
17645
|
i0.ɵɵadvance(1);
|
|
17574
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17646
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r83.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c16, row_r72, rowIndex_r73));
|
|
17575
17647
|
}
|
|
17576
17648
|
}
|
|
17577
17649
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template(rf, ctx) {
|
|
17578
17650
|
if (rf & 1) {
|
|
17579
|
-
const
|
|
17580
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
17581
|
-
i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(
|
|
17651
|
+
const _r163 = i0.ɵɵgetCurrentView();
|
|
17652
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
|
|
17653
|
+
i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r163); const ctx_r162 = i0.ɵɵnextContext(4); return ctx_r162.selectDetailRow($event); });
|
|
17582
17654
|
i0.ɵɵelementEnd()()();
|
|
17583
17655
|
}
|
|
17584
17656
|
if (rf & 2) {
|
|
17585
|
-
const
|
|
17586
|
-
const
|
|
17657
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
17658
|
+
const ctx_r84 = i0.ɵɵnextContext(3);
|
|
17587
17659
|
i0.ɵɵadvance(1);
|
|
17588
|
-
i0.ɵɵproperty("colSpan",
|
|
17660
|
+
i0.ɵɵproperty("colSpan", ctx_r84.columnCountForMasterDetail);
|
|
17589
17661
|
i0.ɵɵadvance(1);
|
|
17590
|
-
i0.ɵɵproperty("p-selectable",
|
|
17662
|
+
i0.ɵɵproperty("p-selectable", ctx_r84.selectable && !ctx_r84.detailHideSelect)("p-detail", ctx_r84.columnMasterDetail.detail)("p-items", row_r72[ctx_r84.nameColumnDetail]);
|
|
17591
17663
|
}
|
|
17592
17664
|
}
|
|
17593
17665
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template(rf, ctx) {
|
|
17594
17666
|
if (rf & 1) {
|
|
17595
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
17667
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
|
|
17596
17668
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template, 2, 4, "td", 40);
|
|
17597
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template, 2, 5, "td",
|
|
17669
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template, 2, 5, "td", 69);
|
|
17598
17670
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template, 1, 5, null, 23);
|
|
17599
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template, 2, 5, "td",
|
|
17600
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template, 15, 33, "td",
|
|
17601
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template, 2, 5, "td",
|
|
17671
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template, 2, 5, "td", 69);
|
|
17672
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template, 15, 33, "td", 70);
|
|
17673
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template, 2, 5, "td", 69);
|
|
17602
17674
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template, 1, 5, null, 23);
|
|
17603
17675
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
|
|
17604
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template, 1, 0, "td",
|
|
17676
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template, 1, 0, "td", 71);
|
|
17605
17677
|
i0.ɵɵelementEnd();
|
|
17606
17678
|
i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template, 3, 6, "tr", 23);
|
|
17607
17679
|
i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template, 3, 4, "tr", 23);
|
|
17608
17680
|
i0.ɵɵelementEnd();
|
|
17609
17681
|
}
|
|
17610
17682
|
if (rf & 2) {
|
|
17611
|
-
const
|
|
17612
|
-
const
|
|
17613
|
-
const
|
|
17683
|
+
const row_r72 = ctx.$implicit;
|
|
17684
|
+
const rowIndex_r73 = ctx.index;
|
|
17685
|
+
const ctx_r71 = i0.ɵɵnextContext(3);
|
|
17614
17686
|
i0.ɵɵadvance(1);
|
|
17615
|
-
i0.ɵɵclassProp("po-table-row-active",
|
|
17687
|
+
i0.ɵɵclassProp("po-table-row-active", row_r72.$selected || row_r72.$selected === null && ctx_r71.selectable);
|
|
17616
17688
|
i0.ɵɵadvance(1);
|
|
17617
|
-
i0.ɵɵproperty("ngIf",
|
|
17689
|
+
i0.ɵɵproperty("ngIf", ctx_r71.selectable);
|
|
17618
17690
|
i0.ɵɵadvance(1);
|
|
17619
|
-
i0.ɵɵproperty("ngIf",
|
|
17691
|
+
i0.ɵɵproperty("ngIf", ctx_r71.columnMasterDetail && !ctx_r71.hideDetail && !ctx_r71.hasRowTemplate);
|
|
17620
17692
|
i0.ɵɵadvance(1);
|
|
17621
|
-
i0.ɵɵproperty("ngIf", !
|
|
17693
|
+
i0.ɵɵproperty("ngIf", !ctx_r71.actionRight && (ctx_r71.visibleActions.length > 1 || ctx_r71.isSingleAction));
|
|
17622
17694
|
i0.ɵɵadvance(1);
|
|
17623
|
-
i0.ɵɵproperty("ngIf",
|
|
17695
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplate && !ctx_r71.hasRowTemplateWithArrowDirectionRight);
|
|
17624
17696
|
i0.ɵɵadvance(1);
|
|
17625
|
-
i0.ɵɵproperty("ngForOf",
|
|
17697
|
+
i0.ɵɵproperty("ngForOf", ctx_r71.mainColumns)("ngForTrackBy", ctx_r71.trackBy);
|
|
17626
17698
|
i0.ɵɵadvance(1);
|
|
17627
|
-
i0.ɵɵproperty("ngIf",
|
|
17699
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplateWithArrowDirectionRight);
|
|
17628
17700
|
i0.ɵɵadvance(1);
|
|
17629
|
-
i0.ɵɵproperty("ngIf",
|
|
17701
|
+
i0.ɵɵproperty("ngIf", ctx_r71.actionRight);
|
|
17630
17702
|
i0.ɵɵadvance(1);
|
|
17631
|
-
i0.ɵɵproperty("ngIf", !
|
|
17703
|
+
i0.ɵɵproperty("ngIf", !ctx_r71.actionRight && (ctx_r71.visibleActions.length > 1 || ctx_r71.isSingleAction) && !ctx_r71.hideColumnsManager);
|
|
17632
17704
|
i0.ɵɵadvance(1);
|
|
17633
|
-
i0.ɵɵproperty("ngIf", !
|
|
17705
|
+
i0.ɵɵproperty("ngIf", !ctx_r71.hasVisibleActions && !ctx_r71.hideColumnsManager && !ctx_r71.hasRowTemplateWithArrowDirectionRight);
|
|
17634
17706
|
i0.ɵɵadvance(1);
|
|
17635
|
-
i0.ɵɵproperty("ngIf",
|
|
17707
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasMainColumns && ctx_r71.hasRowTemplate && row_r72.$showDetail && ctx_r71.isShowRowTemplate(row_r72, rowIndex_r73));
|
|
17636
17708
|
i0.ɵɵadvance(1);
|
|
17637
|
-
i0.ɵɵproperty("ngIf",
|
|
17709
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasMainColumns && ctx_r71.isShowMasterDetail(row_r72));
|
|
17638
17710
|
}
|
|
17639
17711
|
}
|
|
17640
17712
|
function PoTableComponent_ng_template_6_ng_container_4_Template(rf, ctx) {
|
|
17641
17713
|
if (rf & 1) {
|
|
17642
17714
|
i0.ɵɵelementContainerStart(0);
|
|
17643
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template, 13, 14, "tbody",
|
|
17715
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template, 13, 14, "tbody", 67);
|
|
17644
17716
|
i0.ɵɵelementContainerEnd();
|
|
17645
17717
|
}
|
|
17646
17718
|
if (rf & 2) {
|
|
17647
|
-
const
|
|
17719
|
+
const ctx_r70 = i0.ɵɵnextContext(2);
|
|
17648
17720
|
i0.ɵɵadvance(1);
|
|
17649
|
-
i0.ɵɵproperty("cdkVirtualForOf",
|
|
17721
|
+
i0.ɵɵproperty("cdkVirtualForOf", ctx_r70.items)("cdkVirtualForTrackBy", ctx_r70.trackBy);
|
|
17650
17722
|
}
|
|
17651
17723
|
}
|
|
17652
17724
|
function PoTableComponent_ng_template_6_Template(rf, ctx) {
|
|
17653
17725
|
if (rf & 1) {
|
|
17654
|
-
const
|
|
17655
|
-
i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport",
|
|
17656
|
-
i0.ɵɵlistener("scroll", function PoTableComponent_ng_template_6_Template_cdk_virtual_scroll_viewport_scroll_0_listener() { i0.ɵɵrestoreView(
|
|
17726
|
+
const _r166 = i0.ɵɵgetCurrentView();
|
|
17727
|
+
i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 61, 62);
|
|
17728
|
+
i0.ɵɵlistener("scroll", function PoTableComponent_ng_template_6_Template_cdk_virtual_scroll_viewport_scroll_0_listener() { i0.ɵɵrestoreView(_r166); const ctx_r165 = i0.ɵɵnextContext(); return ctx_r165.syncronizeHorizontalScroll(); });
|
|
17657
17729
|
i0.ɵɵelementStart(2, "table", 39);
|
|
17658
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_tbody_3_Template, 5, 2, "tbody",
|
|
17730
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_tbody_3_Template, 5, 2, "tbody", 63);
|
|
17659
17731
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_Template, 2, 2, "ng-container", 23);
|
|
17660
17732
|
i0.ɵɵelementEnd()();
|
|
17661
17733
|
}
|
|
@@ -17673,14 +17745,14 @@ function PoTableComponent_ng_template_6_Template(rf, ctx) {
|
|
|
17673
17745
|
}
|
|
17674
17746
|
function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) {
|
|
17675
17747
|
if (rf & 1) {
|
|
17676
|
-
const
|
|
17748
|
+
const _r179 = i0.ɵɵgetCurrentView();
|
|
17677
17749
|
i0.ɵɵelementStart(0, "po-checkbox", 49);
|
|
17678
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_click_0_listener() { i0.ɵɵrestoreView(
|
|
17750
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_click_0_listener() { i0.ɵɵrestoreView(_r179); const ctx_r178 = i0.ɵɵnextContext(3); return ctx_r178.selectAllRows(); })("p-change", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_p_change_0_listener() { i0.ɵɵrestoreView(_r179); const ctx_r180 = i0.ɵɵnextContext(3); return ctx_r180.selectAllRows(); })("ngModelChange", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r179); const ctx_r181 = i0.ɵɵnextContext(3); return ctx_r181.selectAll = $event; });
|
|
17679
17751
|
i0.ɵɵelementEnd();
|
|
17680
17752
|
}
|
|
17681
17753
|
if (rf & 2) {
|
|
17682
|
-
const
|
|
17683
|
-
i0.ɵɵproperty("ngModel",
|
|
17754
|
+
const ctx_r177 = i0.ɵɵnextContext(3);
|
|
17755
|
+
i0.ɵɵproperty("ngModel", ctx_r177.selectAll);
|
|
17684
17756
|
}
|
|
17685
17757
|
}
|
|
17686
17758
|
function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) {
|
|
@@ -17690,11 +17762,11 @@ function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) {
|
|
|
17690
17762
|
i0.ɵɵelementEnd()();
|
|
17691
17763
|
}
|
|
17692
17764
|
if (rf & 2) {
|
|
17693
|
-
const
|
|
17765
|
+
const ctx_r167 = i0.ɵɵnextContext(2);
|
|
17694
17766
|
i0.ɵɵadvance(1);
|
|
17695
|
-
i0.ɵɵclassProp("po-table-header-fixed-inner",
|
|
17767
|
+
i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r167.height);
|
|
17696
17768
|
i0.ɵɵadvance(1);
|
|
17697
|
-
i0.ɵɵproperty("ngIf", !
|
|
17769
|
+
i0.ɵɵproperty("ngIf", !ctx_r167.hideSelectAll);
|
|
17698
17770
|
}
|
|
17699
17771
|
}
|
|
17700
17772
|
function PoTableComponent_ng_template_8_th_4_Template(rf, ctx) {
|
|
@@ -17707,8 +17779,8 @@ function PoTableComponent_ng_template_8_th_5_Template(rf, ctx) {
|
|
|
17707
17779
|
i0.ɵɵelement(0, "th");
|
|
17708
17780
|
}
|
|
17709
17781
|
if (rf & 2) {
|
|
17710
|
-
const
|
|
17711
|
-
i0.ɵɵclassProp("po-table-header-master-detail", !
|
|
17782
|
+
const ctx_r169 = i0.ɵɵnextContext(2);
|
|
17783
|
+
i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r169.isSingleAction)("po-table-header-single-action", ctx_r169.isSingleAction);
|
|
17712
17784
|
}
|
|
17713
17785
|
}
|
|
17714
17786
|
function PoTableComponent_ng_template_8_th_6_ng_container_2_Template(rf, ctx) {
|
|
@@ -17718,16 +17790,16 @@ function PoTableComponent_ng_template_8_th_6_ng_container_2_Template(rf, ctx) {
|
|
|
17718
17790
|
}
|
|
17719
17791
|
function PoTableComponent_ng_template_8_th_6_Template(rf, ctx) {
|
|
17720
17792
|
if (rf & 1) {
|
|
17721
|
-
i0.ɵɵelementStart(0, "th",
|
|
17793
|
+
i0.ɵɵelementStart(0, "th", 52, 53);
|
|
17722
17794
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container", 32);
|
|
17723
17795
|
i0.ɵɵelementEnd();
|
|
17724
17796
|
}
|
|
17725
17797
|
if (rf & 2) {
|
|
17726
|
-
const
|
|
17798
|
+
const ctx_r170 = i0.ɵɵnextContext(2);
|
|
17727
17799
|
const _r19 = i0.ɵɵreference(21);
|
|
17728
17800
|
const _r21 = i0.ɵɵreference(23);
|
|
17729
17801
|
i0.ɵɵadvance(2);
|
|
17730
|
-
i0.ɵɵproperty("ngIf",
|
|
17802
|
+
i0.ɵɵproperty("ngIf", ctx_r170.height)("ngIfThen", _r19)("ngIfElse", _r21);
|
|
17731
17803
|
}
|
|
17732
17804
|
}
|
|
17733
17805
|
function PoTableComponent_ng_template_8_th_7_ng_container_3_Template(rf, ctx) {
|
|
@@ -17737,23 +17809,23 @@ function PoTableComponent_ng_template_8_th_7_ng_container_3_Template(rf, ctx) {
|
|
|
17737
17809
|
}
|
|
17738
17810
|
function PoTableComponent_ng_template_8_th_7_Template(rf, ctx) {
|
|
17739
17811
|
if (rf & 1) {
|
|
17740
|
-
const
|
|
17741
|
-
i0.ɵɵelementStart(0, "th",
|
|
17742
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
17743
|
-
i0.ɵɵelementStart(2, "div",
|
|
17744
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_7_ng_container_3_Template, 1, 0, "ng-container",
|
|
17812
|
+
const _r189 = i0.ɵɵgetCurrentView();
|
|
17813
|
+
i0.ɵɵelementStart(0, "th", 54, 55);
|
|
17814
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r189); const column_r184 = restoredCtx.$implicit; const ctx_r188 = i0.ɵɵnextContext(2); return ctx_r188.sortColumn(column_r184); });
|
|
17815
|
+
i0.ɵɵelementStart(2, "div", 56);
|
|
17816
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_7_ng_container_3_Template, 1, 0, "ng-container", 57);
|
|
17745
17817
|
i0.ɵɵelementEnd()();
|
|
17746
17818
|
}
|
|
17747
17819
|
if (rf & 2) {
|
|
17748
|
-
const
|
|
17749
|
-
const
|
|
17820
|
+
const column_r184 = ctx.$implicit;
|
|
17821
|
+
const ctx_r171 = i0.ɵɵnextContext(2);
|
|
17750
17822
|
const _r17 = i0.ɵɵreference(19);
|
|
17751
|
-
i0.ɵɵstyleProp("width",
|
|
17752
|
-
i0.ɵɵclassProp("po-clickable",
|
|
17823
|
+
i0.ɵɵstyleProp("width", column_r184.width)("max-width", column_r184.width)("min-width", column_r184.width);
|
|
17824
|
+
i0.ɵɵclassProp("po-clickable", ctx_r171.sort && column_r184.sortable !== false || ctx_r171.hasService)("po-table-header-subtitle", column_r184.type === "subtitle");
|
|
17753
17825
|
i0.ɵɵadvance(2);
|
|
17754
|
-
i0.ɵɵclassProp("po-table-header-fixed-inner",
|
|
17826
|
+
i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r171.height)("po-table-header-flex-right", column_r184.type === "currency" || column_r184.type === "number")("po-table-header-flex-center", column_r184.type === "subtitle");
|
|
17755
17827
|
i0.ɵɵadvance(1);
|
|
17756
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18,
|
|
17828
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c13, column_r184));
|
|
17757
17829
|
}
|
|
17758
17830
|
}
|
|
17759
17831
|
function PoTableComponent_ng_template_8_th_8_Template(rf, ctx) {
|
|
@@ -17766,40 +17838,41 @@ function PoTableComponent_ng_template_8_th_9_Template(rf, ctx) {
|
|
|
17766
17838
|
i0.ɵɵelement(0, "th");
|
|
17767
17839
|
}
|
|
17768
17840
|
if (rf & 2) {
|
|
17769
|
-
const
|
|
17770
|
-
i0.ɵɵclassProp("po-table-header-single-action",
|
|
17841
|
+
const ctx_r173 = i0.ɵɵnextContext(2);
|
|
17842
|
+
i0.ɵɵclassProp("po-table-header-single-action", ctx_r173.isSingleAction)("po-table-header-actions", !ctx_r173.isSingleAction);
|
|
17771
17843
|
}
|
|
17772
17844
|
}
|
|
17773
17845
|
function PoTableComponent_ng_template_8_th_10_Template(rf, ctx) {
|
|
17774
17846
|
if (rf & 1) {
|
|
17775
|
-
const
|
|
17776
|
-
i0.ɵɵelementStart(0, "th", null,
|
|
17777
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
17847
|
+
const _r193 = i0.ɵɵgetCurrentView();
|
|
17848
|
+
i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
|
|
17849
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r193); const ctx_r192 = i0.ɵɵnextContext(2); return ctx_r192.onOpenColumnManager(); });
|
|
17778
17850
|
i0.ɵɵelementEnd()()();
|
|
17779
17851
|
}
|
|
17780
17852
|
if (rf & 2) {
|
|
17781
|
-
const
|
|
17782
|
-
const
|
|
17783
|
-
i0.ɵɵclassProp("po-table-header-column-manager", !
|
|
17853
|
+
const _r190 = i0.ɵɵreference(1);
|
|
17854
|
+
const ctx_r174 = i0.ɵɵnextContext(2);
|
|
17855
|
+
i0.ɵɵclassProp("po-table-header-column-manager", !ctx_r174.isSingleAction || !ctx_r174.actionRight)("po-table-header-column-manager-border", !ctx_r174.height && ctx_r174.container)("po-table-header-single-action", ctx_r174.isSingleAction && ctx_r174.actionRight);
|
|
17784
17856
|
i0.ɵɵadvance(2);
|
|
17785
|
-
i0.ɵɵstyleProp("width",
|
|
17786
|
-
i0.ɵɵclassProp("po-table-header-column-manager-border",
|
|
17857
|
+
i0.ɵɵstyleProp("width", ctx_r174.height && ctx_r174.visibleActions.length ? _r190.offsetWidth : undefined, "px");
|
|
17858
|
+
i0.ɵɵclassProp("po-table-header-column-manager-border", ctx_r174.height && ctx_r174.container)("po-table-header-column-manager-fixed-inner", ctx_r174.height);
|
|
17787
17859
|
i0.ɵɵadvance(1);
|
|
17788
|
-
i0.ɵɵproperty("p-tooltip",
|
|
17860
|
+
i0.ɵɵproperty("p-tooltip", ctx_r174.literals.columnsManager);
|
|
17861
|
+
i0.ɵɵattribute("aria-label", ctx_r174.literals.columnsManager);
|
|
17789
17862
|
}
|
|
17790
17863
|
}
|
|
17791
17864
|
function PoTableComponent_ng_template_8_tbody_11_Template(rf, ctx) {
|
|
17792
17865
|
if (rf & 1) {
|
|
17793
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
17866
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 65)(2, "td", 66)(3, "span");
|
|
17794
17867
|
i0.ɵɵtext(4);
|
|
17795
17868
|
i0.ɵɵelementEnd()()()();
|
|
17796
17869
|
}
|
|
17797
17870
|
if (rf & 2) {
|
|
17798
|
-
const
|
|
17871
|
+
const ctx_r175 = i0.ɵɵnextContext(2);
|
|
17799
17872
|
i0.ɵɵadvance(2);
|
|
17800
|
-
i0.ɵɵproperty("colSpan",
|
|
17873
|
+
i0.ɵɵproperty("colSpan", ctx_r175.columnCount);
|
|
17801
17874
|
i0.ɵɵadvance(2);
|
|
17802
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17875
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r175.literals.noData, " ");
|
|
17803
17876
|
}
|
|
17804
17877
|
}
|
|
17805
17878
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template(rf, ctx) {
|
|
@@ -17810,68 +17883,68 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_containe
|
|
|
17810
17883
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template(rf, ctx) {
|
|
17811
17884
|
if (rf & 1) {
|
|
17812
17885
|
i0.ɵɵelementStart(0, "td", 47);
|
|
17813
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
17886
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
17814
17887
|
i0.ɵɵelementEnd();
|
|
17815
17888
|
}
|
|
17816
17889
|
if (rf & 2) {
|
|
17817
|
-
const
|
|
17818
|
-
const
|
|
17890
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
17891
|
+
const ctx_r197 = i0.ɵɵnextContext(3);
|
|
17819
17892
|
const _r13 = i0.ɵɵreference(15);
|
|
17820
17893
|
const _r15 = i0.ɵɵreference(17);
|
|
17821
17894
|
i0.ɵɵadvance(1);
|
|
17822
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17895
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r197.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, row_r195));
|
|
17823
17896
|
}
|
|
17824
17897
|
}
|
|
17825
17898
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
|
|
17826
17899
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template(rf, ctx) {
|
|
17827
17900
|
if (rf & 1) {
|
|
17828
|
-
const
|
|
17829
|
-
i0.ɵɵelementStart(0, "td",
|
|
17830
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
17831
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template",
|
|
17901
|
+
const _r213 = i0.ɵɵgetCurrentView();
|
|
17902
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
17903
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r213); const row_r195 = i0.ɵɵnextContext().$implicit; const ctx_r211 = i0.ɵɵnextContext(3); return ctx_r211.toggleDetail(row_r195); });
|
|
17904
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
17832
17905
|
i0.ɵɵelementEnd();
|
|
17833
17906
|
}
|
|
17834
17907
|
if (rf & 2) {
|
|
17835
|
-
const
|
|
17836
|
-
const
|
|
17837
|
-
const
|
|
17908
|
+
const ctx_r214 = i0.ɵɵnextContext();
|
|
17909
|
+
const row_r195 = ctx_r214.$implicit;
|
|
17910
|
+
const rowIndex_r196 = ctx_r214.index;
|
|
17838
17911
|
i0.ɵɵnextContext(3);
|
|
17839
17912
|
const _r11 = i0.ɵɵreference(13);
|
|
17840
17913
|
i0.ɵɵadvance(1);
|
|
17841
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17914
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
17842
17915
|
}
|
|
17843
17916
|
}
|
|
17844
17917
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template(rf, ctx) { }
|
|
17845
17918
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template(rf, ctx) {
|
|
17846
17919
|
if (rf & 1) {
|
|
17847
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template",
|
|
17920
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
17848
17921
|
}
|
|
17849
17922
|
if (rf & 2) {
|
|
17850
|
-
const
|
|
17851
|
-
const
|
|
17852
|
-
const
|
|
17923
|
+
const ctx_r216 = i0.ɵɵnextContext();
|
|
17924
|
+
const row_r195 = ctx_r216.$implicit;
|
|
17925
|
+
const rowIndex_r196 = ctx_r216.index;
|
|
17853
17926
|
i0.ɵɵnextContext(3);
|
|
17854
17927
|
const _r23 = i0.ɵɵreference(25);
|
|
17855
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17928
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
17856
17929
|
}
|
|
17857
17930
|
}
|
|
17858
17931
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
|
|
17859
17932
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template(rf, ctx) {
|
|
17860
17933
|
if (rf & 1) {
|
|
17861
|
-
const
|
|
17862
|
-
i0.ɵɵelementStart(0, "td",
|
|
17863
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
17864
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template",
|
|
17934
|
+
const _r220 = i0.ɵɵgetCurrentView();
|
|
17935
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
17936
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r220); const row_r195 = i0.ɵɵnextContext().$implicit; const ctx_r218 = i0.ɵɵnextContext(3); return ctx_r218.toggleDetail(row_r195); });
|
|
17937
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
17865
17938
|
i0.ɵɵelementEnd();
|
|
17866
17939
|
}
|
|
17867
17940
|
if (rf & 2) {
|
|
17868
|
-
const
|
|
17869
|
-
const
|
|
17870
|
-
const
|
|
17941
|
+
const ctx_r221 = i0.ɵɵnextContext();
|
|
17942
|
+
const row_r195 = ctx_r221.$implicit;
|
|
17943
|
+
const rowIndex_r196 = ctx_r221.index;
|
|
17871
17944
|
i0.ɵɵnextContext(3);
|
|
17872
17945
|
const _r11 = i0.ɵɵreference(13);
|
|
17873
17946
|
i0.ɵɵadvance(1);
|
|
17874
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17947
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
17875
17948
|
}
|
|
17876
17949
|
}
|
|
17877
17950
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) {
|
|
@@ -17882,15 +17955,15 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_c
|
|
|
17882
17955
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template(rf, ctx) {
|
|
17883
17956
|
if (rf & 1) {
|
|
17884
17957
|
i0.ɵɵelementStart(0, "span");
|
|
17885
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
17958
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
17886
17959
|
i0.ɵɵelementEnd();
|
|
17887
17960
|
}
|
|
17888
17961
|
if (rf & 2) {
|
|
17889
|
-
const
|
|
17890
|
-
const
|
|
17891
|
-
const
|
|
17962
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
17963
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
17964
|
+
const ctx_r224 = i0.ɵɵnextContext(3);
|
|
17892
17965
|
i0.ɵɵadvance(1);
|
|
17893
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17966
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r224.getTemplate(column_r222))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, ctx_r224.getCellData(row_r195, column_r222)));
|
|
17894
17967
|
}
|
|
17895
17968
|
}
|
|
17896
17969
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) {
|
|
@@ -17901,15 +17974,15 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_c
|
|
|
17901
17974
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template(rf, ctx) {
|
|
17902
17975
|
if (rf & 1) {
|
|
17903
17976
|
i0.ɵɵelementStart(0, "span");
|
|
17904
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container",
|
|
17977
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
17905
17978
|
i0.ɵɵelementEnd();
|
|
17906
17979
|
}
|
|
17907
17980
|
if (rf & 2) {
|
|
17908
|
-
const
|
|
17909
|
-
const
|
|
17910
|
-
const
|
|
17981
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
17982
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
17983
|
+
const ctx_r225 = i0.ɵɵnextContext(3);
|
|
17911
17984
|
i0.ɵɵadvance(1);
|
|
17912
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17985
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r225.tableCellTemplate == null ? null : ctx_r225.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c15, row_r195, column_r222));
|
|
17913
17986
|
}
|
|
17914
17987
|
}
|
|
17915
17988
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template(rf, ctx) {
|
|
@@ -17919,11 +17992,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Temp
|
|
|
17919
17992
|
i0.ɵɵelementEnd();
|
|
17920
17993
|
}
|
|
17921
17994
|
if (rf & 2) {
|
|
17922
|
-
const
|
|
17923
|
-
const
|
|
17924
|
-
const
|
|
17995
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
17996
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
17997
|
+
const ctx_r226 = i0.ɵɵnextContext(3);
|
|
17925
17998
|
i0.ɵɵadvance(1);
|
|
17926
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17999
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r226.getBooleanLabel(ctx_r226.getCellData(row_r195, column_r222), column_r222), " ");
|
|
17927
18000
|
}
|
|
17928
18001
|
}
|
|
17929
18002
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template(rf, ctx) {
|
|
@@ -17934,11 +18007,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Temp
|
|
|
17934
18007
|
i0.ɵɵelementEnd();
|
|
17935
18008
|
}
|
|
17936
18009
|
if (rf & 2) {
|
|
17937
|
-
const
|
|
17938
|
-
const
|
|
17939
|
-
const
|
|
18010
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18011
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18012
|
+
const ctx_r227 = i0.ɵɵnextContext(3);
|
|
17940
18013
|
i0.ɵɵadvance(1);
|
|
17941
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1,
|
|
18014
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r227.getCellData(row_r195, column_r222), column_r222.format, "symbol", "1.2-2"), " ");
|
|
17942
18015
|
}
|
|
17943
18016
|
}
|
|
17944
18017
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template(rf, ctx) {
|
|
@@ -17949,11 +18022,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Temp
|
|
|
17949
18022
|
i0.ɵɵelementEnd();
|
|
17950
18023
|
}
|
|
17951
18024
|
if (rf & 2) {
|
|
17952
|
-
const
|
|
17953
|
-
const
|
|
17954
|
-
const
|
|
18025
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18026
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18027
|
+
const ctx_r228 = i0.ɵɵnextContext(3);
|
|
17955
18028
|
i0.ɵɵadvance(1);
|
|
17956
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
18029
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r228.getCellData(row_r195, column_r222), column_r222.format || "dd/MM/yyyy"), " ");
|
|
17957
18030
|
}
|
|
17958
18031
|
}
|
|
17959
18032
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template(rf, ctx) {
|
|
@@ -17964,11 +18037,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Temp
|
|
|
17964
18037
|
i0.ɵɵelementEnd();
|
|
17965
18038
|
}
|
|
17966
18039
|
if (rf & 2) {
|
|
17967
|
-
const
|
|
17968
|
-
const
|
|
17969
|
-
const
|
|
18040
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18041
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18042
|
+
const ctx_r229 = i0.ɵɵnextContext(3);
|
|
17970
18043
|
i0.ɵɵadvance(1);
|
|
17971
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
18044
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r229.getCellData(row_r195, column_r222), column_r222.format || "HH:mm:ss.ffffff"), " ");
|
|
17972
18045
|
}
|
|
17973
18046
|
}
|
|
17974
18047
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template(rf, ctx) {
|
|
@@ -17979,11 +18052,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Temp
|
|
|
17979
18052
|
i0.ɵɵelementEnd();
|
|
17980
18053
|
}
|
|
17981
18054
|
if (rf & 2) {
|
|
17982
|
-
const
|
|
17983
|
-
const
|
|
17984
|
-
const
|
|
18055
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18056
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18057
|
+
const ctx_r230 = i0.ɵɵnextContext(3);
|
|
17985
18058
|
i0.ɵɵadvance(1);
|
|
17986
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
18059
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r230.getCellData(row_r195, column_r222), column_r222.format || "dd/MM/yyyy HH:mm:ss"), " ");
|
|
17987
18060
|
}
|
|
17988
18061
|
}
|
|
17989
18062
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template(rf, ctx) {
|
|
@@ -17993,64 +18066,64 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Temp
|
|
|
17993
18066
|
i0.ɵɵelementEnd();
|
|
17994
18067
|
}
|
|
17995
18068
|
if (rf & 2) {
|
|
17996
|
-
const
|
|
17997
|
-
const
|
|
17998
|
-
const
|
|
18069
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18070
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18071
|
+
const ctx_r231 = i0.ɵɵnextContext(3);
|
|
17999
18072
|
i0.ɵɵadvance(1);
|
|
18000
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
18073
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r231.formatNumber(ctx_r231.getCellData(row_r195, column_r222), column_r222.format), " ");
|
|
18001
18074
|
}
|
|
18002
18075
|
}
|
|
18003
18076
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) {
|
|
18004
18077
|
if (rf & 1) {
|
|
18005
|
-
const
|
|
18006
|
-
i0.ɵɵelementStart(0, "po-table-column-link",
|
|
18007
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
18078
|
+
const _r257 = i0.ɵɵgetCurrentView();
|
|
18079
|
+
i0.ɵɵelementStart(0, "po-table-column-link", 80);
|
|
18080
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template_po_table_column_link_click_0_listener($event) { i0.ɵɵrestoreView(_r257); const column_r222 = i0.ɵɵnextContext().$implicit; const row_r195 = i0.ɵɵnextContext().$implicit; const ctx_r255 = i0.ɵɵnextContext(3); return ctx_r255.onClickLink($event, row_r195, column_r222); });
|
|
18008
18081
|
i0.ɵɵelementEnd();
|
|
18009
18082
|
}
|
|
18010
18083
|
if (rf & 2) {
|
|
18011
|
-
const
|
|
18012
|
-
const
|
|
18013
|
-
const
|
|
18014
|
-
i0.ɵɵproperty("p-action",
|
|
18084
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18085
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18086
|
+
const ctx_r232 = i0.ɵɵnextContext(3);
|
|
18087
|
+
i0.ɵɵproperty("p-action", column_r222.action)("p-disabled", ctx_r232.checkDisabled(row_r195, column_r222))("p-link", row_r195[column_r222.link])("p-row", row_r195)("p-value", ctx_r232.getCellData(row_r195, column_r222));
|
|
18015
18088
|
}
|
|
18016
18089
|
}
|
|
18017
18090
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) {
|
|
18018
18091
|
if (rf & 1) {
|
|
18019
|
-
i0.ɵɵelement(0, "po-table-column-icon",
|
|
18092
|
+
i0.ɵɵelement(0, "po-table-column-icon", 81);
|
|
18020
18093
|
}
|
|
18021
18094
|
if (rf & 2) {
|
|
18022
|
-
const
|
|
18023
|
-
const
|
|
18024
|
-
const
|
|
18025
|
-
i0.ɵɵproperty("p-column",
|
|
18095
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18096
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18097
|
+
const ctx_r233 = i0.ɵɵnextContext(3);
|
|
18098
|
+
i0.ɵɵproperty("p-column", column_r222)("p-icons", ctx_r233.getColumnIcons(row_r195, column_r222))("p-row", row_r195);
|
|
18026
18099
|
}
|
|
18027
18100
|
}
|
|
18028
18101
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template(rf, ctx) {
|
|
18029
18102
|
if (rf & 1) {
|
|
18030
18103
|
i0.ɵɵelementStart(0, "span");
|
|
18031
|
-
i0.ɵɵelement(1, "po-table-subtitle-circle",
|
|
18104
|
+
i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
|
|
18032
18105
|
i0.ɵɵelementEnd();
|
|
18033
18106
|
}
|
|
18034
18107
|
if (rf & 2) {
|
|
18035
|
-
const
|
|
18036
|
-
const
|
|
18037
|
-
const
|
|
18108
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18109
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18110
|
+
const ctx_r234 = i0.ɵɵnextContext(3);
|
|
18038
18111
|
i0.ɵɵadvance(1);
|
|
18039
|
-
i0.ɵɵproperty("p-subtitle",
|
|
18112
|
+
i0.ɵɵproperty("p-subtitle", ctx_r234.getSubtitleColumn(row_r195, column_r222));
|
|
18040
18113
|
}
|
|
18041
18114
|
}
|
|
18042
18115
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template(rf, ctx) {
|
|
18043
18116
|
if (rf & 1) {
|
|
18044
18117
|
i0.ɵɵelementStart(0, "span");
|
|
18045
|
-
i0.ɵɵelement(1, "po-table-column-label",
|
|
18118
|
+
i0.ɵɵelement(1, "po-table-column-label", 83);
|
|
18046
18119
|
i0.ɵɵelementEnd();
|
|
18047
18120
|
}
|
|
18048
18121
|
if (rf & 2) {
|
|
18049
|
-
const
|
|
18050
|
-
const
|
|
18051
|
-
const
|
|
18122
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18123
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18124
|
+
const ctx_r235 = i0.ɵɵnextContext(3);
|
|
18052
18125
|
i0.ɵɵadvance(1);
|
|
18053
|
-
i0.ɵɵproperty("p-value",
|
|
18126
|
+
i0.ɵɵproperty("p-value", ctx_r235.getColumnLabel(row_r195, column_r222));
|
|
18054
18127
|
}
|
|
18055
18128
|
}
|
|
18056
18129
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template(rf, ctx) {
|
|
@@ -18060,45 +18133,45 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Tem
|
|
|
18060
18133
|
i0.ɵɵelementEnd();
|
|
18061
18134
|
}
|
|
18062
18135
|
if (rf & 2) {
|
|
18063
|
-
const
|
|
18064
|
-
const
|
|
18065
|
-
const
|
|
18136
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
18137
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18138
|
+
const ctx_r236 = i0.ɵɵnextContext(3);
|
|
18066
18139
|
i0.ɵɵadvance(1);
|
|
18067
|
-
i0.ɵɵtextInterpolate(
|
|
18140
|
+
i0.ɵɵtextInterpolate(ctx_r236.getCellData(row_r195, column_r222));
|
|
18068
18141
|
}
|
|
18069
18142
|
}
|
|
18070
18143
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf, ctx) {
|
|
18071
18144
|
if (rf & 1) {
|
|
18072
|
-
const
|
|
18073
|
-
i0.ɵɵelementStart(0, "td",
|
|
18074
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
18075
|
-
i0.ɵɵelementStart(1, "div",
|
|
18076
|
-
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(
|
|
18077
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template, 2, 4, "span",
|
|
18078
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template, 2, 5, "span",
|
|
18079
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template, 2, 1, "span",
|
|
18080
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template, 3, 6, "span",
|
|
18081
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template, 3, 4, "span",
|
|
18082
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template, 3, 4, "span",
|
|
18083
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template, 3, 4, "span",
|
|
18084
|
-
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template, 2, 1, "span",
|
|
18085
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link",
|
|
18086
|
-
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon",
|
|
18087
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template, 2, 1, "span",
|
|
18088
|
-
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template, 2, 1, "span",
|
|
18089
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template, 2, 1, "span",
|
|
18145
|
+
const _r270 = i0.ɵɵgetCurrentView();
|
|
18146
|
+
i0.ɵɵelementStart(0, "td", 74);
|
|
18147
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r270); const row_r195 = i0.ɵɵnextContext().$implicit; const ctx_r269 = i0.ɵɵnextContext(3); return ctx_r269.selectable ? ctx_r269.selectRow(row_r195) : "javascript:;"; });
|
|
18148
|
+
i0.ɵɵelementStart(1, "div", 75);
|
|
18149
|
+
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_div_mouseenter_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r270); const column_r222 = restoredCtx.$implicit; const row_r195 = i0.ɵɵnextContext().$implicit; const ctx_r272 = i0.ɵɵnextContext(3); return ctx_r272.tooltipMouseEnter($event, column_r222, row_r195); })("mouseleave", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_div_mouseleave_1_listener() { i0.ɵɵrestoreView(_r270); const ctx_r274 = i0.ɵɵnextContext(4); return ctx_r274.tooltipMouseLeave(); });
|
|
18150
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
|
|
18151
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
|
|
18152
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
|
|
18153
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
|
|
18154
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
|
|
18155
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
|
|
18156
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
|
|
18157
|
+
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
|
|
18158
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template, 1, 5, "po-table-column-link", 77);
|
|
18159
|
+
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template, 1, 3, "po-table-column-icon", 78);
|
|
18160
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
|
|
18161
|
+
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
|
|
18162
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template, 2, 1, "span", 79);
|
|
18090
18163
|
i0.ɵɵelementEnd()();
|
|
18091
18164
|
}
|
|
18092
18165
|
if (rf & 2) {
|
|
18093
|
-
const
|
|
18094
|
-
const
|
|
18095
|
-
const
|
|
18096
|
-
i0.ɵɵstyleProp("width",
|
|
18097
|
-
i0.ɵɵclassProp("po-table-column",
|
|
18098
|
-
i0.ɵɵproperty("ngClass",
|
|
18166
|
+
const column_r222 = ctx.$implicit;
|
|
18167
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18168
|
+
const ctx_r201 = i0.ɵɵnextContext(3);
|
|
18169
|
+
i0.ɵɵstyleProp("width", column_r222.width)("max-width", column_r222.width)("min-width", column_r222.width);
|
|
18170
|
+
i0.ɵɵclassProp("po-table-column", column_r222.type !== "icon")("po-table-column-right", column_r222.type === "currency" || column_r222.type === "number")("po-table-column-center", column_r222.type === "subtitle")("po-table-column-icons", column_r222.type === "icon");
|
|
18171
|
+
i0.ɵɵproperty("ngClass", ctx_r201.getClassColor(row_r195, column_r222));
|
|
18099
18172
|
i0.ɵɵadvance(1);
|
|
18100
|
-
i0.ɵɵclassProp("po-table-body-ellipsis",
|
|
18101
|
-
i0.ɵɵproperty("ngSwitch",
|
|
18173
|
+
i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r201.hideTextOverflow);
|
|
18174
|
+
i0.ɵɵproperty("ngSwitch", column_r222.type)("p-tooltip", ctx_r201.tooltipText);
|
|
18102
18175
|
i0.ɵɵadvance(1);
|
|
18103
18176
|
i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
|
|
18104
18177
|
i0.ɵɵadvance(1);
|
|
@@ -18128,139 +18201,139 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf
|
|
|
18128
18201
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
|
|
18129
18202
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template(rf, ctx) {
|
|
18130
18203
|
if (rf & 1) {
|
|
18131
|
-
const
|
|
18132
|
-
i0.ɵɵelementStart(0, "td",
|
|
18133
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
18134
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template",
|
|
18204
|
+
const _r279 = i0.ɵɵgetCurrentView();
|
|
18205
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
18206
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r279); const row_r195 = i0.ɵɵnextContext().$implicit; const ctx_r277 = i0.ɵɵnextContext(3); return ctx_r277.toggleDetail(row_r195); });
|
|
18207
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
18135
18208
|
i0.ɵɵelementEnd();
|
|
18136
18209
|
}
|
|
18137
18210
|
if (rf & 2) {
|
|
18138
|
-
const
|
|
18139
|
-
const
|
|
18140
|
-
const
|
|
18211
|
+
const ctx_r280 = i0.ɵɵnextContext();
|
|
18212
|
+
const row_r195 = ctx_r280.$implicit;
|
|
18213
|
+
const rowIndex_r196 = ctx_r280.index;
|
|
18141
18214
|
i0.ɵɵnextContext(3);
|
|
18142
18215
|
const _r11 = i0.ɵɵreference(13);
|
|
18143
18216
|
i0.ɵɵadvance(1);
|
|
18144
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
18217
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
18145
18218
|
}
|
|
18146
18219
|
}
|
|
18147
18220
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template(rf, ctx) { }
|
|
18148
18221
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template(rf, ctx) {
|
|
18149
18222
|
if (rf & 1) {
|
|
18150
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template",
|
|
18223
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
18151
18224
|
}
|
|
18152
18225
|
if (rf & 2) {
|
|
18153
|
-
const
|
|
18154
|
-
const
|
|
18155
|
-
const
|
|
18226
|
+
const ctx_r282 = i0.ɵɵnextContext();
|
|
18227
|
+
const row_r195 = ctx_r282.$implicit;
|
|
18228
|
+
const rowIndex_r196 = ctx_r282.index;
|
|
18156
18229
|
i0.ɵɵnextContext(3);
|
|
18157
18230
|
const _r23 = i0.ɵɵreference(25);
|
|
18158
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
18231
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
18159
18232
|
}
|
|
18160
18233
|
}
|
|
18161
18234
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template(rf, ctx) {
|
|
18162
18235
|
if (rf & 1) {
|
|
18163
18236
|
i0.ɵɵelementContainerStart(0);
|
|
18164
|
-
i0.ɵɵelement(1, "td",
|
|
18237
|
+
i0.ɵɵelement(1, "td", 90);
|
|
18165
18238
|
i0.ɵɵelementContainerEnd();
|
|
18166
18239
|
}
|
|
18167
18240
|
}
|
|
18168
18241
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template(rf, ctx) {
|
|
18169
18242
|
if (rf & 1) {
|
|
18170
|
-
i0.ɵɵelement(0, "td",
|
|
18243
|
+
i0.ɵɵelement(0, "td", 85);
|
|
18171
18244
|
}
|
|
18172
18245
|
}
|
|
18173
18246
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
|
|
18174
18247
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template(rf, ctx) {
|
|
18175
18248
|
if (rf & 1) {
|
|
18176
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
18177
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template",
|
|
18249
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 86);
|
|
18250
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 73);
|
|
18178
18251
|
i0.ɵɵelementEnd()();
|
|
18179
18252
|
}
|
|
18180
18253
|
if (rf & 2) {
|
|
18181
|
-
const
|
|
18182
|
-
const
|
|
18183
|
-
const
|
|
18184
|
-
const
|
|
18254
|
+
const ctx_r284 = i0.ɵɵnextContext();
|
|
18255
|
+
const row_r195 = ctx_r284.$implicit;
|
|
18256
|
+
const rowIndex_r196 = ctx_r284.index;
|
|
18257
|
+
const ctx_r206 = i0.ɵɵnextContext(3);
|
|
18185
18258
|
i0.ɵɵadvance(1);
|
|
18186
|
-
i0.ɵɵproperty("colSpan",
|
|
18259
|
+
i0.ɵɵproperty("colSpan", ctx_r206.columnCountForMasterDetail);
|
|
18187
18260
|
i0.ɵɵadvance(1);
|
|
18188
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
18261
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r206.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c16, row_r195, rowIndex_r196));
|
|
18189
18262
|
}
|
|
18190
18263
|
}
|
|
18191
18264
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template(rf, ctx) {
|
|
18192
18265
|
if (rf & 1) {
|
|
18193
|
-
const
|
|
18194
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
18195
|
-
i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(
|
|
18266
|
+
const _r286 = i0.ɵɵgetCurrentView();
|
|
18267
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
|
|
18268
|
+
i0.ɵɵlistener("p-select-row", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template_po_table_detail_p_select_row_2_listener($event) { i0.ɵɵrestoreView(_r286); const ctx_r285 = i0.ɵɵnextContext(4); return ctx_r285.selectDetailRow($event); });
|
|
18196
18269
|
i0.ɵɵelementEnd()()();
|
|
18197
18270
|
}
|
|
18198
18271
|
if (rf & 2) {
|
|
18199
|
-
const
|
|
18200
|
-
const
|
|
18272
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
18273
|
+
const ctx_r207 = i0.ɵɵnextContext(3);
|
|
18201
18274
|
i0.ɵɵadvance(1);
|
|
18202
|
-
i0.ɵɵproperty("colSpan",
|
|
18275
|
+
i0.ɵɵproperty("colSpan", ctx_r207.columnCountForMasterDetail);
|
|
18203
18276
|
i0.ɵɵadvance(1);
|
|
18204
|
-
i0.ɵɵproperty("p-selectable",
|
|
18277
|
+
i0.ɵɵproperty("p-selectable", ctx_r207.selectable && !ctx_r207.detailHideSelect)("p-detail", ctx_r207.columnMasterDetail.detail)("p-items", row_r195[ctx_r207.nameColumnDetail]);
|
|
18205
18278
|
}
|
|
18206
18279
|
}
|
|
18207
18280
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template(rf, ctx) {
|
|
18208
18281
|
if (rf & 1) {
|
|
18209
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
18282
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
|
|
18210
18283
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template, 2, 4, "td", 40);
|
|
18211
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template, 2, 5, "td",
|
|
18284
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template, 2, 5, "td", 69);
|
|
18212
18285
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template, 1, 5, null, 23);
|
|
18213
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template, 2, 5, "td",
|
|
18214
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template, 15, 31, "td",
|
|
18215
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template, 2, 5, "td",
|
|
18286
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template, 2, 5, "td", 69);
|
|
18287
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template, 15, 31, "td", 70);
|
|
18288
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template, 2, 5, "td", 69);
|
|
18216
18289
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template, 1, 5, null, 23);
|
|
18217
18290
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
|
|
18218
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template, 1, 0, "td",
|
|
18291
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template, 1, 0, "td", 71);
|
|
18219
18292
|
i0.ɵɵelementEnd();
|
|
18220
18293
|
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template, 3, 6, "tr", 23);
|
|
18221
18294
|
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template, 3, 4, "tr", 23);
|
|
18222
18295
|
i0.ɵɵelementEnd();
|
|
18223
18296
|
}
|
|
18224
18297
|
if (rf & 2) {
|
|
18225
|
-
const
|
|
18226
|
-
const
|
|
18227
|
-
const
|
|
18298
|
+
const row_r195 = ctx.$implicit;
|
|
18299
|
+
const rowIndex_r196 = ctx.index;
|
|
18300
|
+
const ctx_r194 = i0.ɵɵnextContext(3);
|
|
18228
18301
|
i0.ɵɵadvance(1);
|
|
18229
|
-
i0.ɵɵclassProp("po-table-row-active",
|
|
18302
|
+
i0.ɵɵclassProp("po-table-row-active", row_r195.$selected || row_r195.$selected === null && ctx_r194.selectable);
|
|
18230
18303
|
i0.ɵɵadvance(1);
|
|
18231
|
-
i0.ɵɵproperty("ngIf",
|
|
18304
|
+
i0.ɵɵproperty("ngIf", ctx_r194.selectable);
|
|
18232
18305
|
i0.ɵɵadvance(1);
|
|
18233
|
-
i0.ɵɵproperty("ngIf",
|
|
18306
|
+
i0.ɵɵproperty("ngIf", ctx_r194.columnMasterDetail && !ctx_r194.hideDetail && !ctx_r194.hasRowTemplate);
|
|
18234
18307
|
i0.ɵɵadvance(1);
|
|
18235
|
-
i0.ɵɵproperty("ngIf", !
|
|
18308
|
+
i0.ɵɵproperty("ngIf", !ctx_r194.actionRight && (ctx_r194.visibleActions.length > 1 || ctx_r194.isSingleAction));
|
|
18236
18309
|
i0.ɵɵadvance(1);
|
|
18237
|
-
i0.ɵɵproperty("ngIf",
|
|
18310
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasRowTemplate && !ctx_r194.hasRowTemplateWithArrowDirectionRight);
|
|
18238
18311
|
i0.ɵɵadvance(1);
|
|
18239
|
-
i0.ɵɵproperty("ngForOf",
|
|
18312
|
+
i0.ɵɵproperty("ngForOf", ctx_r194.mainColumns)("ngForTrackBy", ctx_r194.trackBy);
|
|
18240
18313
|
i0.ɵɵadvance(1);
|
|
18241
|
-
i0.ɵɵproperty("ngIf",
|
|
18314
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasRowTemplateWithArrowDirectionRight);
|
|
18242
18315
|
i0.ɵɵadvance(1);
|
|
18243
|
-
i0.ɵɵproperty("ngIf",
|
|
18316
|
+
i0.ɵɵproperty("ngIf", ctx_r194.actionRight);
|
|
18244
18317
|
i0.ɵɵadvance(1);
|
|
18245
|
-
i0.ɵɵproperty("ngIf", !
|
|
18318
|
+
i0.ɵɵproperty("ngIf", !ctx_r194.actionRight && (ctx_r194.visibleActions.length > 1 || ctx_r194.isSingleAction) && !ctx_r194.hideColumnsManager);
|
|
18246
18319
|
i0.ɵɵadvance(1);
|
|
18247
|
-
i0.ɵɵproperty("ngIf", !
|
|
18320
|
+
i0.ɵɵproperty("ngIf", !ctx_r194.hasVisibleActions && !ctx_r194.hideColumnsManager && !ctx_r194.hasRowTemplateWithArrowDirectionRight);
|
|
18248
18321
|
i0.ɵɵadvance(1);
|
|
18249
|
-
i0.ɵɵproperty("ngIf",
|
|
18322
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasMainColumns && ctx_r194.hasRowTemplate && row_r195.$showDetail && ctx_r194.isShowRowTemplate(row_r195, rowIndex_r196));
|
|
18250
18323
|
i0.ɵɵadvance(1);
|
|
18251
|
-
i0.ɵɵproperty("ngIf",
|
|
18324
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasMainColumns && ctx_r194.isShowMasterDetail(row_r195));
|
|
18252
18325
|
}
|
|
18253
18326
|
}
|
|
18254
18327
|
function PoTableComponent_ng_template_8_ng_container_12_Template(rf, ctx) {
|
|
18255
18328
|
if (rf & 1) {
|
|
18256
18329
|
i0.ɵɵelementContainerStart(0);
|
|
18257
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template, 13, 14, "tbody",
|
|
18330
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template, 13, 14, "tbody", 89);
|
|
18258
18331
|
i0.ɵɵelementContainerEnd();
|
|
18259
18332
|
}
|
|
18260
18333
|
if (rf & 2) {
|
|
18261
|
-
const
|
|
18334
|
+
const ctx_r176 = i0.ɵɵnextContext(2);
|
|
18262
18335
|
i0.ɵɵadvance(1);
|
|
18263
|
-
i0.ɵɵproperty("ngForOf",
|
|
18336
|
+
i0.ɵɵproperty("ngForOf", ctx_r176.items)("ngForTrackBy", ctx_r176.trackBy);
|
|
18264
18337
|
}
|
|
18265
18338
|
}
|
|
18266
18339
|
function PoTableComponent_ng_template_8_Template(rf, ctx) {
|
|
@@ -18273,9 +18346,9 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) {
|
|
|
18273
18346
|
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_th_7_Template, 4, 20, "th", 44);
|
|
18274
18347
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_th_8_Template, 1, 0, "th", 41);
|
|
18275
18348
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_th_9_Template, 1, 4, "th", 45);
|
|
18276
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_th_10_Template, 5,
|
|
18349
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_th_10_Template, 5, 14, "th", 46);
|
|
18277
18350
|
i0.ɵɵelementEnd()();
|
|
18278
|
-
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_tbody_11_Template, 5, 2, "tbody",
|
|
18351
|
+
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_tbody_11_Template, 5, 2, "tbody", 63);
|
|
18279
18352
|
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_Template, 2, 2, "ng-container", 23);
|
|
18280
18353
|
i0.ɵɵelementEnd();
|
|
18281
18354
|
}
|
|
@@ -18308,47 +18381,47 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) {
|
|
|
18308
18381
|
}
|
|
18309
18382
|
function PoTableComponent_ng_template_12_span_0_Template(rf, ctx) {
|
|
18310
18383
|
if (rf & 1) {
|
|
18311
|
-
i0.ɵɵelement(0, "span",
|
|
18384
|
+
i0.ɵɵelement(0, "span", 92);
|
|
18312
18385
|
}
|
|
18313
18386
|
if (rf & 2) {
|
|
18314
|
-
const
|
|
18315
|
-
i0.ɵɵclassProp("po-icon-arrow-up",
|
|
18387
|
+
const row_r288 = i0.ɵɵnextContext().row;
|
|
18388
|
+
i0.ɵɵclassProp("po-icon-arrow-up", row_r288.$showDetail)("po-icon-arrow-down", !row_r288.$showDetail);
|
|
18316
18389
|
}
|
|
18317
18390
|
}
|
|
18318
18391
|
function PoTableComponent_ng_template_12_Template(rf, ctx) {
|
|
18319
18392
|
if (rf & 1) {
|
|
18320
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_12_span_0_Template, 1, 4, "span",
|
|
18393
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_12_span_0_Template, 1, 4, "span", 91);
|
|
18321
18394
|
}
|
|
18322
18395
|
if (rf & 2) {
|
|
18323
|
-
const
|
|
18324
|
-
const
|
|
18396
|
+
const row_r288 = ctx.row;
|
|
18397
|
+
const rowIndex_r289 = ctx.rowIndex;
|
|
18325
18398
|
const ctx_r12 = i0.ɵɵnextContext();
|
|
18326
|
-
i0.ɵɵproperty("ngIf", ctx_r12.containsMasterDetail(
|
|
18399
|
+
i0.ɵɵproperty("ngIf", ctx_r12.containsMasterDetail(row_r288) && !ctx_r12.hasRowTemplate || ctx_r12.isShowRowTemplate(row_r288, rowIndex_r289) && ctx_r12.hasRowTemplate);
|
|
18327
18400
|
}
|
|
18328
18401
|
}
|
|
18329
18402
|
function PoTableComponent_ng_template_14_Template(rf, ctx) {
|
|
18330
18403
|
if (rf & 1) {
|
|
18331
|
-
const
|
|
18332
|
-
i0.ɵɵelement(0, "input",
|
|
18333
|
-
i0.ɵɵelementStart(1, "label",
|
|
18334
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_14_Template_label_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
18404
|
+
const _r294 = i0.ɵɵgetCurrentView();
|
|
18405
|
+
i0.ɵɵelement(0, "input", 93);
|
|
18406
|
+
i0.ɵɵelementStart(1, "label", 94);
|
|
18407
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_14_Template_label_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r294); const row_r292 = restoredCtx.$implicit; const ctx_r293 = i0.ɵɵnextContext(); return ctx_r293.selectable ? ctx_r293.selectRow(row_r292) : "javascript:;"; });
|
|
18335
18408
|
i0.ɵɵelementEnd();
|
|
18336
18409
|
}
|
|
18337
18410
|
if (rf & 2) {
|
|
18338
|
-
const
|
|
18339
|
-
i0.ɵɵclassProp("po-table-radio-checked",
|
|
18411
|
+
const row_r292 = ctx.$implicit;
|
|
18412
|
+
i0.ɵɵclassProp("po-table-radio-checked", row_r292.$selected);
|
|
18340
18413
|
}
|
|
18341
18414
|
}
|
|
18342
18415
|
function PoTableComponent_ng_template_16_Template(rf, ctx) {
|
|
18343
18416
|
if (rf & 1) {
|
|
18344
|
-
const
|
|
18345
|
-
i0.ɵɵelementStart(0, "po-checkbox",
|
|
18346
|
-
i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_16_Template_po_checkbox_p_change_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
18417
|
+
const _r297 = i0.ɵɵgetCurrentView();
|
|
18418
|
+
i0.ɵɵelementStart(0, "po-checkbox", 95);
|
|
18419
|
+
i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_16_Template_po_checkbox_p_change_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r297); const row_r295 = restoredCtx.$implicit; const ctx_r296 = i0.ɵɵnextContext(); return ctx_r296.selectable ? ctx_r296.selectRow(row_r295) : "javascript:;"; })("ngModelChange", function PoTableComponent_ng_template_16_Template_po_checkbox_ngModelChange_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r297); const row_r295 = restoredCtx.$implicit; return row_r295.$selected = $event; })("click", function PoTableComponent_ng_template_16_Template_po_checkbox_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r297); const row_r295 = restoredCtx.$implicit; const ctx_r299 = i0.ɵɵnextContext(); return ctx_r299.selectable ? ctx_r299.selectRow(row_r295) : "javascript:;"; });
|
|
18347
18420
|
i0.ɵɵelementEnd();
|
|
18348
18421
|
}
|
|
18349
18422
|
if (rf & 2) {
|
|
18350
|
-
const
|
|
18351
|
-
i0.ɵɵproperty("ngModel",
|
|
18423
|
+
const row_r295 = ctx.$implicit;
|
|
18424
|
+
i0.ɵɵproperty("ngModel", row_r295.$selected);
|
|
18352
18425
|
}
|
|
18353
18426
|
}
|
|
18354
18427
|
function PoTableComponent_ng_template_18_span_4_Template(rf, ctx) {
|
|
@@ -18356,34 +18429,34 @@ function PoTableComponent_ng_template_18_span_4_Template(rf, ctx) {
|
|
|
18356
18429
|
i0.ɵɵelement(0, "span");
|
|
18357
18430
|
}
|
|
18358
18431
|
if (rf & 2) {
|
|
18359
|
-
const
|
|
18360
|
-
const
|
|
18361
|
-
i0.ɵɵclassProp("po-table-header-icon-unselected", (
|
|
18432
|
+
const column_r300 = i0.ɵɵnextContext().$implicit;
|
|
18433
|
+
const ctx_r302 = i0.ɵɵnextContext();
|
|
18434
|
+
i0.ɵɵclassProp("po-table-header-icon-unselected", (ctx_r302.sortedColumn == null ? null : ctx_r302.sortedColumn.property) !== column_r300)("po-table-header-icon-descending", (ctx_r302.sortedColumn == null ? null : ctx_r302.sortedColumn.property) === column_r300 && ctx_r302.sortedColumn.ascending)("po-table-header-icon-ascending", (ctx_r302.sortedColumn == null ? null : ctx_r302.sortedColumn.property) === column_r300 && !ctx_r302.sortedColumn.ascending);
|
|
18362
18435
|
}
|
|
18363
18436
|
}
|
|
18364
18437
|
function PoTableComponent_ng_template_18_Template(rf, ctx) {
|
|
18365
18438
|
if (rf & 1) {
|
|
18366
|
-
const
|
|
18367
|
-
i0.ɵɵelementStart(0, "span",
|
|
18368
|
-
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_18_Template_span_mouseenter_0_listener($event) { i0.ɵɵrestoreView(
|
|
18439
|
+
const _r305 = i0.ɵɵgetCurrentView();
|
|
18440
|
+
i0.ɵɵelementStart(0, "span", 96, 97);
|
|
18441
|
+
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_18_Template_span_mouseenter_0_listener($event) { i0.ɵɵrestoreView(_r305); const ctx_r304 = i0.ɵɵnextContext(); return ctx_r304.tooltipMouseEnter($event); })("mouseleave", function PoTableComponent_ng_template_18_Template_span_mouseleave_0_listener() { i0.ɵɵrestoreView(_r305); const ctx_r306 = i0.ɵɵnextContext(); return ctx_r306.tooltipMouseLeave(); });
|
|
18369
18442
|
i0.ɵɵtext(2);
|
|
18370
18443
|
i0.ɵɵpipe(3, "titlecase");
|
|
18371
18444
|
i0.ɵɵelementEnd();
|
|
18372
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_18_span_4_Template, 1, 6, "span",
|
|
18445
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_18_span_4_Template, 1, 6, "span", 98);
|
|
18373
18446
|
}
|
|
18374
18447
|
if (rf & 2) {
|
|
18375
|
-
const
|
|
18448
|
+
const column_r300 = ctx.$implicit;
|
|
18376
18449
|
const ctx_r18 = i0.ɵɵnextContext();
|
|
18377
18450
|
i0.ɵɵproperty("p-tooltip", ctx_r18.tooltipText);
|
|
18378
18451
|
i0.ɵɵadvance(2);
|
|
18379
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
18452
|
+
i0.ɵɵtextInterpolate1(" ", column_r300.label || i0.ɵɵpipeBind1(3, 3, column_r300.property), " ");
|
|
18380
18453
|
i0.ɵɵadvance(2);
|
|
18381
|
-
i0.ɵɵproperty("ngIf", ctx_r18.sort &&
|
|
18454
|
+
i0.ɵɵproperty("ngIf", ctx_r18.sort && column_r300.sortable !== false);
|
|
18382
18455
|
}
|
|
18383
18456
|
}
|
|
18384
18457
|
function PoTableComponent_ng_template_20_Template(rf, ctx) {
|
|
18385
18458
|
if (rf & 1) {
|
|
18386
|
-
i0.ɵɵelementStart(0, "div",
|
|
18459
|
+
i0.ɵɵelementStart(0, "div", 99);
|
|
18387
18460
|
i0.ɵɵtext(1);
|
|
18388
18461
|
i0.ɵɵelementEnd();
|
|
18389
18462
|
}
|
|
@@ -18405,56 +18478,57 @@ function PoTableComponent_ng_template_22_Template(rf, ctx) {
|
|
|
18405
18478
|
}
|
|
18406
18479
|
function PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template(rf, ctx) {
|
|
18407
18480
|
if (rf & 1) {
|
|
18408
|
-
i0.ɵɵelement(0, "po-icon",
|
|
18481
|
+
i0.ɵɵelement(0, "po-icon", 106);
|
|
18409
18482
|
}
|
|
18410
18483
|
if (rf & 2) {
|
|
18411
|
-
const
|
|
18412
|
-
i0.ɵɵproperty("p-icon",
|
|
18484
|
+
const ctx_r312 = i0.ɵɵnextContext(4);
|
|
18485
|
+
i0.ɵɵproperty("p-icon", ctx_r312.firstAction.icon);
|
|
18413
18486
|
}
|
|
18414
18487
|
}
|
|
18415
18488
|
function PoTableComponent_ng_template_24_td_0_div_1_Template(rf, ctx) {
|
|
18416
18489
|
if (rf & 1) {
|
|
18417
|
-
const
|
|
18418
|
-
i0.ɵɵelementStart(0, "div",
|
|
18419
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_0_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
18420
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon",
|
|
18490
|
+
const _r315 = i0.ɵɵgetCurrentView();
|
|
18491
|
+
i0.ɵɵelementStart(0, "div", 104);
|
|
18492
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_0_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r315); const row_r307 = i0.ɵɵnextContext(2).row; const ctx_r313 = i0.ɵɵnextContext(); return ctx_r313.executeTableAction(row_r307, ctx_r313.firstAction); });
|
|
18493
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon", 105);
|
|
18421
18494
|
i0.ɵɵtext(2);
|
|
18422
18495
|
i0.ɵɵelementEnd();
|
|
18423
18496
|
}
|
|
18424
18497
|
if (rf & 2) {
|
|
18425
|
-
const
|
|
18426
|
-
const
|
|
18427
|
-
i0.ɵɵclassProp("po-table-action-disabled",
|
|
18498
|
+
const row_r307 = i0.ɵɵnextContext(2).row;
|
|
18499
|
+
const ctx_r311 = i0.ɵɵnextContext();
|
|
18500
|
+
i0.ɵɵclassProp("po-table-action-disabled", ctx_r311.firstAction.disabled ? ctx_r311.validateTableAction(row_r307, ctx_r311.firstAction) : false);
|
|
18428
18501
|
i0.ɵɵadvance(1);
|
|
18429
|
-
i0.ɵɵproperty("ngIf",
|
|
18502
|
+
i0.ɵɵproperty("ngIf", ctx_r311.firstAction.icon);
|
|
18430
18503
|
i0.ɵɵadvance(1);
|
|
18431
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
18504
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r311.firstAction.label, " ");
|
|
18432
18505
|
}
|
|
18433
18506
|
}
|
|
18434
18507
|
function PoTableComponent_ng_template_24_td_0_Template(rf, ctx) {
|
|
18435
18508
|
if (rf & 1) {
|
|
18436
|
-
i0.ɵɵelementStart(0, "td",
|
|
18437
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_Template, 3, 4, "div",
|
|
18509
|
+
i0.ɵɵelementStart(0, "td", 102);
|
|
18510
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_Template, 3, 4, "div", 103);
|
|
18438
18511
|
i0.ɵɵelementEnd();
|
|
18439
18512
|
}
|
|
18440
18513
|
if (rf & 2) {
|
|
18441
|
-
const
|
|
18514
|
+
const ctx_r309 = i0.ɵɵnextContext(2);
|
|
18515
|
+
i0.ɵɵstyleProp("width", ctx_r309.height && ctx_r309.actionRight ? ctx_r309.getWidthColumnManager() : "", "px")("max-width", ctx_r309.height && !ctx_r309.actionRight ? ctx_r309.getColumnWidthActionsLeft() : "", "px")("width", ctx_r309.height && !ctx_r309.actionRight ? ctx_r309.getColumnWidthActionsLeft() : "", "px");
|
|
18442
18516
|
i0.ɵɵadvance(1);
|
|
18443
|
-
i0.ɵɵproperty("ngIf",
|
|
18517
|
+
i0.ɵɵproperty("ngIf", ctx_r309.firstAction.visible !== false);
|
|
18444
18518
|
}
|
|
18445
18519
|
}
|
|
18446
18520
|
function PoTableComponent_ng_template_24_td_1_Template(rf, ctx) {
|
|
18447
18521
|
if (rf & 1) {
|
|
18448
|
-
const
|
|
18449
|
-
i0.ɵɵelementStart(0, "td",
|
|
18450
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_1_Template_span_click_1_listener() { i0.ɵɵrestoreView(
|
|
18522
|
+
const _r320 = i0.ɵɵgetCurrentView();
|
|
18523
|
+
i0.ɵɵelementStart(0, "td", 107)(1, "span", 108, 109);
|
|
18524
|
+
i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_1_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r320); const _r317 = i0.ɵɵreference(2); const row_r307 = i0.ɵɵnextContext().row; const ctx_r318 = i0.ɵɵnextContext(); return ctx_r318.togglePopup(row_r307, _r317); });
|
|
18451
18525
|
i0.ɵɵelementEnd()();
|
|
18452
18526
|
}
|
|
18453
18527
|
}
|
|
18454
18528
|
function PoTableComponent_ng_template_24_Template(rf, ctx) {
|
|
18455
18529
|
if (rf & 1) {
|
|
18456
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_24_td_0_Template, 2,
|
|
18457
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_1_Template, 3, 0, "td",
|
|
18530
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_24_td_0_Template, 2, 7, "td", 100);
|
|
18531
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_1_Template, 3, 0, "td", 101);
|
|
18458
18532
|
}
|
|
18459
18533
|
if (rf & 2) {
|
|
18460
18534
|
const ctx_r24 = i0.ɵɵnextContext();
|
|
@@ -18465,9 +18539,9 @@ function PoTableComponent_ng_template_24_Template(rf, ctx) {
|
|
|
18465
18539
|
}
|
|
18466
18540
|
function PoTableComponent_po_table_column_manager_26_Template(rf, ctx) {
|
|
18467
18541
|
if (rf & 1) {
|
|
18468
|
-
const
|
|
18469
|
-
i0.ɵɵelementStart(0, "po-table-column-manager",
|
|
18470
|
-
i0.ɵɵlistener("p-visible-columns-change", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_visible_columns_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
18542
|
+
const _r322 = i0.ɵɵgetCurrentView();
|
|
18543
|
+
i0.ɵɵelementStart(0, "po-table-column-manager", 110);
|
|
18544
|
+
i0.ɵɵlistener("p-visible-columns-change", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_visible_columns_change_0_listener($event) { i0.ɵɵrestoreView(_r322); const ctx_r321 = i0.ɵɵnextContext(); return ctx_r321.onVisibleColumnsChange($event); })("p-change-visible-columns", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_change_visible_columns_0_listener($event) { i0.ɵɵrestoreView(_r322); const ctx_r323 = i0.ɵɵnextContext(); return ctx_r323.onChangeVisibleColumns($event); })("p-initial-columns", function PoTableComponent_po_table_column_manager_26_Template_po_table_column_manager_p_initial_columns_0_listener($event) { i0.ɵɵrestoreView(_r322); const ctx_r324 = i0.ɵɵnextContext(); return ctx_r324.onColumnRestoreManager($event); });
|
|
18471
18545
|
i0.ɵɵelementEnd();
|
|
18472
18546
|
}
|
|
18473
18547
|
if (rf & 2) {
|
|
@@ -18873,6 +18947,14 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
18873
18947
|
syncronizeHorizontalScroll() {
|
|
18874
18948
|
this.poTableThead.nativeElement.scrollLeft = this.poTableTbodyVirtual.nativeElement.scrollLeft;
|
|
18875
18949
|
}
|
|
18950
|
+
getWidthColumnManager() {
|
|
18951
|
+
var _a;
|
|
18952
|
+
return (_a = this.columnManager) === null || _a === void 0 ? void 0 : _a.nativeElement.offsetWidth;
|
|
18953
|
+
}
|
|
18954
|
+
getColumnWidthActionsLeft() {
|
|
18955
|
+
var _a;
|
|
18956
|
+
return (_a = this.columnActionLeft) === null || _a === void 0 ? void 0 : _a.nativeElement.offsetWidth;
|
|
18957
|
+
}
|
|
18876
18958
|
calculateHeightTableContainer(height) {
|
|
18877
18959
|
const value = parseFloat(height);
|
|
18878
18960
|
this.heightTableContainer = value ? value - this.getHeightTableFooter() : undefined;
|
|
@@ -19011,17 +19093,19 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
19011
19093
|
}
|
|
19012
19094
|
}, viewQuery: function PoTableComponent_Query(rf, ctx) {
|
|
19013
19095
|
if (rf & 1) {
|
|
19014
|
-
i0.ɵɵviewQuery(_c0$
|
|
19015
|
-
i0.ɵɵviewQuery(_c1$
|
|
19016
|
-
i0.ɵɵviewQuery(_c2$
|
|
19096
|
+
i0.ɵɵviewQuery(_c0$W, 5, ElementRef);
|
|
19097
|
+
i0.ɵɵviewQuery(_c1$q, 5);
|
|
19098
|
+
i0.ɵɵviewQuery(_c2$b, 5, ElementRef);
|
|
19017
19099
|
i0.ɵɵviewQuery(_c3$6, 5, ElementRef);
|
|
19018
19100
|
i0.ɵɵviewQuery(_c4$4, 5, ElementRef);
|
|
19019
19101
|
i0.ɵɵviewQuery(_c5$2, 5, ElementRef);
|
|
19020
19102
|
i0.ɵɵviewQuery(_c6$2, 5, ElementRef);
|
|
19021
|
-
i0.ɵɵviewQuery(_c7$1, 5);
|
|
19103
|
+
i0.ɵɵviewQuery(_c7$1, 5, ElementRef);
|
|
19022
19104
|
i0.ɵɵviewQuery(_c8$1, 5, ElementRef);
|
|
19023
|
-
i0.ɵɵviewQuery(_c9, 5
|
|
19024
|
-
i0.ɵɵviewQuery(_c10, 5);
|
|
19105
|
+
i0.ɵɵviewQuery(_c9, 5);
|
|
19106
|
+
i0.ɵɵviewQuery(_c10, 5, ElementRef);
|
|
19107
|
+
i0.ɵɵviewQuery(_c11, 5, ElementRef);
|
|
19108
|
+
i0.ɵɵviewQuery(_c12, 5);
|
|
19025
19109
|
}
|
|
19026
19110
|
if (rf & 2) {
|
|
19027
19111
|
let _t;
|
|
@@ -19032,12 +19116,14 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
19032
19116
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableTbody = _t.first);
|
|
19033
19117
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableThead = _t.first);
|
|
19034
19118
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableTbodyVirtual = _t.first);
|
|
19119
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManager = _t.first);
|
|
19120
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnActionLeft = _t.first);
|
|
19035
19121
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTarget = _t.first);
|
|
19036
19122
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsIconElement = _t);
|
|
19037
19123
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsElement = _t);
|
|
19038
19124
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headersTable = _t);
|
|
19039
19125
|
}
|
|
19040
|
-
}, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 6, consts: [["p-no-padding", "", 3, "p-no-shadow", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableHeaderTemplate", ""], ["tableBodyTemplate", ""], ["tableTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], ["p-no-padding", "", 3, "p-no-shadow"], [4, "ngTemplateOutlet"], ["class", "po-table-overlay", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [1, "po-table-overlay"], [1, "po-table-overlay-content", 3, "p-text"], [1, "po-table-container"], [1, "po-table-header-fixed", "po-table-header"], ["poTableThead", ""], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], ["class", "po-table-header-ellipsis", 3, "width", "max-width", "min-width", "po-clickable", "po-table-header-subtitle", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], [3, "po-table-header-column-manager", "po-table-header-column-manager-border", "po-table-header-single-action", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange", 4, "ngIf"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange"], [1, "po-table-header-column", "po-table-header-master-detail"], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeader", ""], [1, "po-table-header-ellipsis", 3, "click"], ["headersTable", ""], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["columnManager", ""], ["p-tooltip-position", "left", 1, "po-table-header-column-manager-button", "po-icon", "po-icon-settings", "po-clickable", 3, "p-tooltip", "click"], ["columnManagerTarget", ""], [3, "itemSize", "minBufferPx", "maxBufferPx", "scroll"], ["poTableTbodyVirtual", ""], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], [3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-table-column", 4, "ngIf"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass", "click"], [1, "po-table-column-cell", "notranslate", 3, "ngSwitch", "p-tooltip", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-column", "po-table-column-empty"], [1, "po-table-column"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row-no-data", "po-table-column-empty"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], ["type", "radio", 1, "po-table-radio"], [1, "po-table-radio-label", "po-clickable", 3, "click"], ["name", "checkbox", 3, "ngModel", "p-change", "ngModelChange", "click"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) {
|
|
19126
|
+
}, features: [i0.ɵɵProvidersFeature([PoDateService]), i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 6, consts: [["p-no-padding", "", 3, "p-no-shadow", 4, "ngIf", "ngIfElse"], ["tableContainerTemplate", ""], ["class", "po-row po-table-footer-show-more", 3, "po-invisible", 4, "ngIf"], ["tableHeaderTemplate", ""], ["tableBodyTemplate", ""], ["tableTemplate", ""], [3, "p-actions", "p-target"], ["popup", ""], ["poTableColumnDetail", ""], ["inputRadio", ""], ["inputCheckbox", ""], ["contentHeaderTemplate", ""], ["noColumnsWithHeight", ""], ["noColumnsWithoutHeight", ""], ["ActionsColumnTemplate", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns", 4, "ngIf"], ["p-no-padding", "", 3, "p-no-shadow"], [4, "ngTemplateOutlet"], ["class", "po-table-overlay", 4, "ngIf"], [1, "po-table-main-container"], [1, "po-table-wrapper"], ["tableWrapper", ""], ["class", "po-table-container", 4, "ngIf"], [4, "ngIf"], ["class", "po-table-footer", 4, "ngIf"], [1, "po-table-overlay"], [1, "po-table-overlay-content", 3, "p-text"], [1, "po-table-container"], [1, "po-table-header-fixed", "po-table-header"], ["poTableThead", ""], [1, "po-table-container-fixed-inner"], ["poTableTbody", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], [1, "po-table-footer"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "p-literals", "p-subtitles"], [1, "po-row", "po-table-footer-show-more"], ["tableFooter", ""], [1, "po-offset-xl-4", "po-offset-lg-4", "po-offset-md-3", "po-lg-4", "po-md-6", 3, "p-disabled", "p-label", "p-loading", "p-click"], [1, "po-table"], ["class", "po-table-column-selectable", 4, "ngIf"], ["class", "po-table-header-column po-table-header-master-detail", 4, "ngIf"], [3, "po-table-header-master-detail", "po-table-header-single-action", 4, "ngIf"], ["class", "po-table-header-column po-text-center", 4, "ngIf"], ["class", "po-table-header-ellipsis", 3, "width", "max-width", "min-width", "po-clickable", "po-table-header-subtitle", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "po-table-header-single-action", "po-table-header-actions", 4, "ngIf"], [3, "po-table-header-column-manager", "po-table-header-column-manager-border", "po-table-header-single-action", 4, "ngIf"], [1, "po-table-column-selectable"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange", 4, "ngIf"], ["name", "selectAll", 3, "ngModel", "click", "p-change", "ngModelChange"], [1, "po-table-header-column", "po-table-header-master-detail"], ["columnActionLeft", ""], [1, "po-table-header-column", "po-text-center"], ["noColumnsHeader", ""], [1, "po-table-header-ellipsis", 3, "click"], ["headersTable", ""], [1, "po-table-header-flex"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["columnManager", ""], ["p-tooltip-position", "left", 1, "po-table-header-column-manager-button", "po-icon", "po-icon-settings", "po-clickable", 3, "p-tooltip", "click"], ["columnManagerTarget", ""], [3, "itemSize", "minBufferPx", "maxBufferPx", "scroll"], ["poTableTbodyVirtual", ""], ["class", "po-table-group-row", 4, "ngIf"], [1, "po-table-group-row"], [1, "po-table-row", "po-table-row-no-data"], [1, "po-table-no-data", "po-text-center", 3, "colSpan"], ["class", "po-table-group-row", 4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTrackBy"], [1, "po-table-row"], ["class", "po-table-column-detail-toggle", 3, "click", 4, "ngIf"], [3, "width", "max-width", "min-width", "po-table-column", "po-table-column-right", "po-table-column-center", "po-table-column-icons", "ngClass", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-table-column", 4, "ngIf"], [1, "po-table-column-detail-toggle", 3, "click"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass", "click"], [1, "po-table-column-cell", "notranslate", 3, "ngSwitch", "p-tooltip", "mouseenter", "mouseleave"], [4, "ngSwitchCase"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click", 4, "ngSwitchCase"], [3, "p-column", "p-icons", "p-row", 4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "p-action", "p-disabled", "p-link", "p-row", "p-value", "click"], [3, "p-column", "p-icons", "p-row"], [3, "p-subtitle"], [3, "p-value"], [1, "po-table-column", "po-table-column-empty"], [1, "po-table-column"], [1, "po-table-row-template-container", 3, "colSpan"], [1, "po-table-column-detail", 3, "colSpan"], [3, "p-selectable", "p-detail", "p-items", "p-select-row"], ["class", "po-table-group-row", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-table-row-no-data", "po-table-column-empty"], ["class", "po-icon po-clickable", 3, "po-icon-arrow-up", "po-icon-arrow-down", 4, "ngIf"], [1, "po-icon", "po-clickable"], ["type", "radio", 1, "po-table-radio"], [1, "po-table-radio-label", "po-clickable", 3, "click"], ["name", "checkbox", 3, "ngModel", "p-change", "ngModelChange", "click"], [1, "po-table-header-ellipsis", 3, "p-tooltip", "mouseenter", "mouseleave"], ["columnHeader", ""], [3, "po-table-header-icon-unselected", "po-table-header-icon-descending", "po-table-header-icon-ascending", 4, "ngIf"], [1, "po-table-header-fixed-inner"], ["class", "po-table-column po-table-column-single-action", 3, "width", "max-width", 4, "ngIf"], ["class", "po-table-column-actions", 4, "ngIf"], [1, "po-table-column", "po-table-column-single-action"], ["class", "po-table-single-action po-clickable", 3, "po-table-action-disabled", "click", 4, "ngIf"], [1, "po-table-single-action", "po-clickable", 3, "click"], ["class", "po-table-single-action-content", 3, "p-icon", 4, "ngIf"], [1, "po-table-single-action-content", 3, "p-icon"], [1, "po-table-column-actions"], [1, "po-icon", "po-icon-more", "po-clickable", 3, "click"], ["popupTarget", ""], [3, "p-columns", "p-max-columns", "p-target", "p-last-visible-columns-selected", "p-columns-default", "p-visible-columns-change", "p-change-visible-columns", "p-initial-columns"]], template: function PoTableComponent_Template(rf, ctx) {
|
|
19041
19127
|
if (rf & 1) {
|
|
19042
19128
|
i0.ɵɵtemplate(0, PoTableComponent_po_container_0_Template, 2, 2, "po-container", 0);
|
|
19043
19129
|
i0.ɵɵtemplate(1, PoTableComponent_ng_template_1_Template, 8, 10, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -19069,7 +19155,7 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
19069
19155
|
(function () {
|
|
19070
19156
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
|
|
19071
19157
|
type: Component,
|
|
19072
|
-
args: [{ selector: 'po-table', providers: [PoDateService], template: "<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding [p-no-shadow]=\"container === 'border'\">\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-relative]=\"loading\">\n <div *ngIf=\"loading\" class=\"po-table-overlay\">\n <po-loading class=\"po-table-overlay-content\" [p-text]=\"literals.loadingData\"></po-loading>\n </div>\n\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\">\n <div #poTableThead class=\"po-table-header-fixed po-table-header\">\n <ng-container *ngTemplateOutlet=\"tableHeaderTemplate\"></ng-container>\n </div>\n\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngIf=\"height; then tableBodyTemplate; else tableTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<ng-template #tableHeaderTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"!height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n #headersTable\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManager\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManager.offsetWidth : undefined\"\n >\n <button\n #columnManagerTarget\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n </table>\n</ng-template>\n\n<!-- s\u00F3 virtual -->\n<ng-template #tableBodyTemplate>\n <cdk-virtual-scroll-viewport\n #poTableTbodyVirtual\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableContainer\"\n [minBufferPx]=\"height < 100 ? 100 : height\"\n [maxBufferPx]=\"height < 200 ? 200 : height\"\n (scroll)=\"syncronizeHorizontalScroll()\"\n >\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *cdkVirtualFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [style.width.px]=\"noColumnsHeader?.nativeElement.parentElement?.offsetWidth\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-column po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<ng-template #tableTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"!height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n #headersTable\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManager\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManager.offsetWidth : undefined\"\n >\n <button\n #columnManagerTarget\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-row-no-data po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <input type=\"radio\" class=\"po-table-radio\" [class.po-table-radio-checked]=\"row.$selected\" />\n <label class=\"po-table-radio-label po-clickable\" (click)=\"selectable ? selectRow(row) : 'javascript:;'\"></label>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [(ngModel)]=\"row.$selected\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"sortedColumn?.property !== column\"\n [class.po-table-header-icon-descending]=\"sortedColumn?.property === column && sortedColumn.ascending\"\n [class.po-table-header-icon-ascending]=\"sortedColumn?.property === column && !sortedColumn.ascending\"\n >\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"noColumnsHeader?.nativeElement.offsetWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td *ngIf=\"isSingleAction\" class=\"po-table-column po-table-column-single-action\">\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n" }]
|
|
19158
|
+
args: [{ selector: 'po-table', providers: [PoDateService], template: "<po-container *ngIf=\"container; else tableContainerTemplate\" p-no-padding [p-no-shadow]=\"container === 'border'\">\n <ng-container *ngTemplateOutlet=\"tableContainerTemplate\"></ng-container>\n</po-container>\n\n<ng-template #tableContainerTemplate>\n <div [class.po-table-container-relative]=\"loading\">\n <div *ngIf=\"loading\" class=\"po-table-overlay\">\n <po-loading class=\"po-table-overlay-content\" [p-text]=\"literals.loadingData\"></po-loading>\n </div>\n\n <div class=\"po-table-main-container\">\n <div\n #tableWrapper\n class=\"po-table-wrapper\"\n [class.po-table-header-fixed-columns-pixels]=\"allColumnsWidthPixels\"\n [style.opacity]=\"tableOpacity\"\n >\n <div *ngIf=\"height\" class=\"po-table-container\">\n <div #poTableThead class=\"po-table-header-fixed po-table-header\">\n <ng-container *ngTemplateOutlet=\"tableHeaderTemplate\"></ng-container>\n </div>\n\n <div #poTableTbody class=\"po-table-container-fixed-inner\">\n <ng-container *ngIf=\"height; then tableBodyTemplate; else tableTemplate\"></ng-container>\n </div>\n </div>\n\n <div *ngIf=\"!height\">\n <ng-container *ngTemplateOutlet=\"tableTemplate\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"po-table-footer\" *ngIf=\"hasFooter\">\n <ng-container *ngFor=\"let column of subtitleColumns; trackBy: trackBy\">\n <po-table-subtitle-footer [p-literals]=\"literals\" [p-subtitles]=\"column.subtitles\"> </po-table-subtitle-footer>\n </ng-container>\n </div>\n</ng-template>\n\n<div\n *ngIf=\"!infiniteScroll\"\n class=\"po-row po-table-footer-show-more\"\n [class.po-invisible]=\"showMore.observers.length === 0 && !hasService\"\n #tableFooter\n>\n <po-button\n class=\"po-offset-xl-4 po-offset-lg-4 po-offset-md-3 po-lg-4 po-md-6\"\n [p-disabled]=\"showMoreDisabled\"\n [p-label]=\"literals.loadMoreData\"\n [p-loading]=\"loadingShowMore\"\n (p-click)=\"onShowMore()\"\n >\n </po-button>\n</div>\n\n<ng-template #tableHeaderTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"!height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n #columnActionLeft\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n #headersTable\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction && !hideColumnsManager\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManager\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManager.offsetWidth : undefined\"\n >\n <button\n #columnManagerTarget\n [attr.aria-label]=\"literals.columnsManager\"\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n </table>\n</ng-template>\n\n<!-- s\u00F3 virtual -->\n<ng-template #tableBodyTemplate>\n <cdk-virtual-scroll-viewport\n #poTableTbodyVirtual\n [itemSize]=\"itemSize\"\n [style.height.px]=\"heightTableContainer\"\n [minBufferPx]=\"height < 100 ? 100 : height\"\n [maxBufferPx]=\"height < 200 ? 200 : height\"\n (scroll)=\"syncronizeHorizontalScroll()\"\n >\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *cdkVirtualFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr\n class=\"po-table-row\"\n [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\"\n >\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n [style.width.px]=\"noColumnsHeader?.nativeElement.parentElement?.offsetWidth\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container\n *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\"\n >\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-column po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n </cdk-virtual-scroll-viewport>\n</ng-template>\n\n<ng-template #tableTemplate>\n <table class=\"po-table\" [class.po-table-striped]=\"striped\" [class.po-table-layout-fixed]=\"hideTextOverflow\">\n <thead>\n <tr [class.po-table-header]=\"!height\">\n <th *ngIf=\"hasSelectableColumn\" class=\"po-table-column-selectable\">\n <div [class.po-table-header-fixed-inner]=\"height\">\n <po-checkbox\n name=\"selectAll\"\n *ngIf=\"!hideSelectAll\"\n (click)=\"selectAllRows()\"\n (p-change)=\"selectAllRows()\"\n [(ngModel)]=\"selectAll\"\n ></po-checkbox>\n </div>\n </th>\n\n <th\n *ngIf=\"(hasMasterDetailColumn || hasRowTemplate) && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <!-- Coluna criada para caso as a\u00E7\u00F5es fiquem no lado esquerdo -->\n <th\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [class.po-table-header-master-detail]=\"!isSingleAction\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n ></th>\n\n <th *ngIf=\"!hasMainColumns\" #noColumnsHeader class=\"po-table-header-column po-text-center\">\n <ng-container *ngIf=\"height; then noColumnsWithHeight; else noColumnsWithoutHeight\"> </ng-container>\n </th>\n\n <th\n *ngFor=\"let column of mainColumns; let i = index; trackBy: trackBy\"\n #headersTable\n class=\"po-table-header-ellipsis\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-clickable]=\"(sort && column.sortable !== false) || hasService\"\n [class.po-table-header-subtitle]=\"column.type === 'subtitle'\"\n (click)=\"sortColumn(column)\"\n >\n <div\n class=\"po-table-header-flex\"\n [class.po-table-header-fixed-inner]=\"height\"\n [class.po-table-header-flex-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-header-flex-center]=\"column.type === 'subtitle'\"\n >\n <ng-container *ngTemplateOutlet=\"contentHeaderTemplate; context: { $implicit: column }\"> </ng-container>\n </div>\n </th>\n\n <th\n *ngIf=\"hasRowTemplateWithArrowDirectionRight && (hasVisibleActions || hideColumnsManager)\"\n class=\"po-table-header-column po-table-header-master-detail\"\n ></th>\n\n <th\n *ngIf=\"hasVisibleActions && hideColumnsManager && actionRight\"\n [class.po-table-header-single-action]=\"isSingleAction\"\n [class.po-table-header-actions]=\"!isSingleAction\"\n ></th>\n\n <th\n #columnManager\n *ngIf=\"hasValidColumns && !hideColumnsManager\"\n [class.po-table-header-column-manager]=\"!isSingleAction || !actionRight\"\n [class.po-table-header-column-manager-border]=\"!height && container\"\n [class.po-table-header-single-action]=\"isSingleAction && actionRight\"\n >\n <div\n [class.po-table-header-column-manager-border]=\"height && container\"\n [class.po-table-header-column-manager-fixed-inner]=\"height\"\n [style.width.px]=\"height && visibleActions.length ? columnManager.offsetWidth : undefined\"\n >\n <button\n #columnManagerTarget\n [attr.aria-label]=\"literals.columnsManager\"\n class=\"po-table-header-column-manager-button po-icon po-icon-settings po-clickable\"\n p-tooltip-position=\"left\"\n [p-tooltip]=\"literals.columnsManager\"\n (click)=\"onOpenColumnManager()\"\n ></button>\n </div>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"po-table-group-row\" *ngIf=\"!hasItems || !hasMainColumns\">\n <tr class=\"po-table-row po-table-row-no-data\">\n <td [colSpan]=\"columnCount\" class=\"po-table-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </td>\n </tr>\n </tbody>\n\n <ng-container *ngIf=\"hasMainColumns\">\n <tbody class=\"po-table-group-row\" *ngFor=\"let row of items; let rowIndex = index; trackBy: trackBy\">\n <tr class=\"po-table-row\" [class.po-table-row-active]=\"row.$selected || (row.$selected === null && selectable)\">\n <td *ngIf=\"selectable\" class=\"po-table-column-selectable\">\n <ng-container *ngTemplateOutlet=\"singleSelect ? inputRadio : inputCheckbox; context: { $implicit: row }\">\n </ng-container>\n </td>\n\n <!-- Valida se a origem do detail \u00E9 pelo input do po-table -->\n <td\n *ngIf=\"columnMasterDetail && !hideDetail && !hasRowTemplate\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna com as a\u00E7\u00F5es na esquerda (padr\u00E3o)-->\n <ng-template\n *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction)\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Valida se a origem do detail \u00E9 pela diretiva -->\n <td\n *ngIf=\"hasRowTemplate && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <td\n *ngFor=\"let column of mainColumns; let columnIndex = index; trackBy: trackBy\"\n [style.width]=\"column.width\"\n [style.max-width]=\"column.width\"\n [style.min-width]=\"column.width\"\n [class.po-table-column]=\"column.type !== 'icon'\"\n [class.po-table-column-right]=\"column.type === 'currency' || column.type === 'number'\"\n [class.po-table-column-center]=\"column.type === 'subtitle'\"\n [class.po-table-column-icons]=\"column.type === 'icon'\"\n [ngClass]=\"getClassColor(row, column)\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n >\n <div\n class=\"po-table-column-cell notranslate\"\n [class.po-table-body-ellipsis]=\"hideTextOverflow\"\n [ngSwitch]=\"column.type\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event, column, row)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n <span *ngSwitchCase=\"'columnTemplate'\">\n <ng-container *ngTemplateOutlet=\"getTemplate(column); context: { $implicit: getCellData(row, column) }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'cellTemplate'\">\n <ng-container *ngTemplateOutlet=\"tableCellTemplate?.templateRef; context: { row: row, column: column }\">\n </ng-container>\n </span>\n\n <span *ngSwitchCase=\"'boolean'\">\n {{ getBooleanLabel(getCellData(row, column), column) }}\n </span>\n\n <span *ngSwitchCase=\"'currency'\">\n {{ getCellData(row, column) | currency: column.format:'symbol':'1.2-2' }}\n </span>\n\n <span *ngSwitchCase=\"'date'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy' }}\n </span>\n\n <span *ngSwitchCase=\"'time'\">\n {{ getCellData(row, column) | po_time: column.format || 'HH:mm:ss.ffffff' }}\n </span>\n\n <span *ngSwitchCase=\"'dateTime'\">\n {{ getCellData(row, column) | date: column.format || 'dd/MM/yyyy HH:mm:ss' }}\n </span>\n\n <span *ngSwitchCase=\"'number'\">\n {{ formatNumber(getCellData(row, column), column.format) }}\n </span>\n\n <po-table-column-link\n *ngSwitchCase=\"'link'\"\n [p-action]=\"column.action\"\n [p-disabled]=\"checkDisabled(row, column)\"\n [p-link]=\"row[column.link]\"\n [p-row]=\"row\"\n [p-value]=\"getCellData(row, column)\"\n (click)=\"onClickLink($event, row, column)\"\n >\n </po-table-column-link>\n\n <po-table-column-icon\n *ngSwitchCase=\"'icon'\"\n [p-column]=\"column\"\n [p-icons]=\"getColumnIcons(row, column)\"\n [p-row]=\"row\"\n >\n </po-table-column-icon>\n\n <span *ngSwitchCase=\"'subtitle'\">\n <po-table-subtitle-circle [p-subtitle]=\"getSubtitleColumn(row, column)\"></po-table-subtitle-circle>\n </span>\n <span *ngSwitchCase=\"'label'\">\n <po-table-column-label [p-value]=\"getColumnLabel(row, column)\"> </po-table-column-label>\n </span>\n <span *ngSwitchDefault>{{ getCellData(row, column) }}</span>\n </div>\n </td>\n\n <td\n *ngIf=\"hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column-detail-toggle\"\n (click)=\"toggleDetail(row)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"poTableColumnDetail\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n\n <!-- Coluna de a\u00E7oes na direita -->\n <ng-template\n *ngIf=\"actionRight\"\n [ngTemplateOutlet]=\"ActionsColumnTemplate\"\n [ngTemplateOutletContext]=\"{ row: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n\n <!-- Coluna para n\u00E3o ficar em branco nas linhas de gerenciamento -->\n <ng-container *ngIf=\"!actionRight && (visibleActions.length > 1 || isSingleAction) && !hideColumnsManager\">\n <td class=\"po-table-row-no-data po-table-column-empty\"></td>\n </ng-container>\n\n <!-- Column Manager -->\n <td\n *ngIf=\"!hasVisibleActions && !hideColumnsManager && !hasRowTemplateWithArrowDirectionRight\"\n class=\"po-table-column\"\n ></td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && hasRowTemplate && row.$showDetail && isShowRowTemplate(row, rowIndex)\">\n <td class=\"po-table-row-template-container\" [colSpan]=\"columnCountForMasterDetail\">\n <ng-template\n [ngTemplateOutlet]=\"tableRowTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: row, rowIndex: rowIndex }\"\n >\n </ng-template>\n </td>\n </tr>\n\n <tr *ngIf=\"hasMainColumns && isShowMasterDetail(row)\">\n <td class=\"po-table-column-detail\" [colSpan]=\"columnCountForMasterDetail\">\n <po-table-detail\n [p-selectable]=\"selectable && !detailHideSelect\"\n [p-detail]=\"columnMasterDetail.detail\"\n [p-items]=\"row[nameColumnDetail]\"\n (p-select-row)=\"selectDetailRow($event)\"\n >\n </po-table-detail>\n </td>\n </tr>\n </tbody>\n </ng-container>\n </table>\n</ng-template>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n\n<ng-template #poTableColumnDetail let-row=\"row\" let-rowIndex=\"rowIndex\">\n <span\n *ngIf=\"(containsMasterDetail(row) && !hasRowTemplate) || (isShowRowTemplate(row, rowIndex) && hasRowTemplate)\"\n class=\"po-icon po-clickable\"\n [class.po-icon-arrow-up]=\"row.$showDetail\"\n [class.po-icon-arrow-down]=\"!row.$showDetail\"\n >\n </span>\n</ng-template>\n\n<ng-template #inputRadio let-row>\n <input type=\"radio\" class=\"po-table-radio\" [class.po-table-radio-checked]=\"row.$selected\" />\n <label class=\"po-table-radio-label po-clickable\" (click)=\"selectable ? selectRow(row) : 'javascript:;'\"></label>\n</ng-template>\n\n<ng-template #inputCheckbox let-row>\n <po-checkbox\n name=\"checkbox\"\n (p-change)=\"selectable ? selectRow(row) : 'javascript:;'\"\n [(ngModel)]=\"row.$selected\"\n (click)=\"selectable ? selectRow(row) : 'javascript:;'\"\n ></po-checkbox>\n</ng-template>\n\n<ng-template #contentHeaderTemplate let-column>\n <span\n #columnHeader\n class=\"po-table-header-ellipsis\"\n [p-tooltip]=\"tooltipText\"\n (mouseenter)=\"tooltipMouseEnter($event)\"\n (mouseleave)=\"tooltipMouseLeave()\"\n >\n {{ column.label || (column.property | titlecase) }}\n </span>\n <span\n *ngIf=\"sort && column.sortable !== false\"\n [class.po-table-header-icon-unselected]=\"sortedColumn?.property !== column\"\n [class.po-table-header-icon-descending]=\"sortedColumn?.property === column && sortedColumn.ascending\"\n [class.po-table-header-icon-ascending]=\"sortedColumn?.property === column && !sortedColumn.ascending\"\n >\n </span>\n</ng-template>\n\n<ng-template #noColumnsWithHeight>\n <div class=\"po-table-header-fixed-inner\" [style.width.px]=\"noColumnsHeader?.nativeElement.offsetWidth\">\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n </div>\n</ng-template>\n\n<ng-template #noColumnsWithoutHeight>\n {{ hasValidColumns ? literals.noVisibleColumn : literals.noColumns }}\n</ng-template>\n\n<!-- Template de a\u00E7\u00F5es -->\n<ng-template #ActionsColumnTemplate let-row=\"row\" let-rowIndex=\"rowIndex\">\n <td\n *ngIf=\"isSingleAction\"\n class=\"po-table-column po-table-column-single-action\"\n [style.width.px]=\"height && actionRight ? getWidthColumnManager() : ''\"\n [style.max-width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n [style.width.px]=\"height && !actionRight ? getColumnWidthActionsLeft() : ''\"\n >\n <div\n *ngIf=\"firstAction.visible !== false\"\n class=\"po-table-single-action po-clickable\"\n [class.po-table-action-disabled]=\"firstAction.disabled ? validateTableAction(row, firstAction) : false\"\n (click)=\"executeTableAction(row, firstAction)\"\n >\n <po-icon *ngIf=\"firstAction.icon\" class=\"po-table-single-action-content\" [p-icon]=\"firstAction.icon\"></po-icon>\n {{ firstAction.label }}\n </div>\n </td>\n\n <td *ngIf=\"visibleActions.length > 1\" class=\"po-table-column-actions\">\n <span #popupTarget class=\"po-icon po-icon-more po-clickable\" (click)=\"togglePopup(row, popupTarget)\"></span>\n </td>\n</ng-template>\n\n<po-table-column-manager\n *ngIf=\"!hideColumnsManager\"\n [p-columns]=\"columns\"\n [p-max-columns]=\"maxColumns\"\n [p-target]=\"columnManagerTarget\"\n [p-last-visible-columns-selected]=\"lastVisibleColumnsSelected\"\n (p-visible-columns-change)=\"onVisibleColumnsChange($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n [p-columns-default]=\"initialColumns\"\n (p-initial-columns)=\"onColumnRestoreManager($event)\"\n>\n</po-table-column-manager>\n" }]
|
|
19073
19159
|
}], function () { return [{ type: PoDateService }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }, { type: i1.DecimalPipe }, { type: i2.Router }, { type: PoTableService }]; }, { tableRowTemplate: [{
|
|
19074
19160
|
type: ContentChild,
|
|
19075
19161
|
args: [PoTableRowTemplateDirective, { static: true }]
|
|
@@ -19100,6 +19186,12 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
19100
19186
|
}], poTableTbodyVirtual: [{
|
|
19101
19187
|
type: ViewChild,
|
|
19102
19188
|
args: ['poTableTbodyVirtual', { read: ElementRef, static: false }]
|
|
19189
|
+
}], columnManager: [{
|
|
19190
|
+
type: ViewChild,
|
|
19191
|
+
args: ['columnManager', { read: ElementRef, static: false }]
|
|
19192
|
+
}], columnActionLeft: [{
|
|
19193
|
+
type: ViewChild,
|
|
19194
|
+
args: ['columnActionLeft', { read: ElementRef, static: false }]
|
|
19103
19195
|
}], actionsIconElement: [{
|
|
19104
19196
|
type: ViewChildren,
|
|
19105
19197
|
args: ['actionsIconElement', { read: ElementRef }]
|
|
@@ -20239,9 +20331,9 @@ PoComboOptionTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ ty
|
|
|
20239
20331
|
}], function () { return [{ type: i0.TemplateRef }]; }, null);
|
|
20240
20332
|
})();
|
|
20241
20333
|
|
|
20242
|
-
const _c0$
|
|
20243
|
-
const _c1$
|
|
20244
|
-
const _c2$
|
|
20334
|
+
const _c0$V = ["containerElement"];
|
|
20335
|
+
const _c1$p = ["contentElement"];
|
|
20336
|
+
const _c2$a = ["iconArrow"];
|
|
20245
20337
|
const _c3$5 = ["inp"];
|
|
20246
20338
|
const _c4$3 = ["poComboBody"];
|
|
20247
20339
|
function PoComboComponent_div_2_Template(rf, ctx) {
|
|
@@ -21022,9 +21114,9 @@ PoComboComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoComboCom
|
|
|
21022
21114
|
}
|
|
21023
21115
|
}, viewQuery: function PoComboComponent_Query(rf, ctx) {
|
|
21024
21116
|
if (rf & 1) {
|
|
21025
|
-
i0.ɵɵviewQuery(_c0$
|
|
21026
|
-
i0.ɵɵviewQuery(_c1$
|
|
21027
|
-
i0.ɵɵviewQuery(_c2$
|
|
21117
|
+
i0.ɵɵviewQuery(_c0$V, 5, ElementRef);
|
|
21118
|
+
i0.ɵɵviewQuery(_c1$p, 5, ElementRef);
|
|
21119
|
+
i0.ɵɵviewQuery(_c2$a, 7, ElementRef);
|
|
21028
21120
|
i0.ɵɵviewQuery(_c3$5, 7, ElementRef);
|
|
21029
21121
|
i0.ɵɵviewQuery(_c4$3, 5, ElementRef);
|
|
21030
21122
|
}
|
|
@@ -21655,9 +21747,9 @@ __decorate([
|
|
|
21655
21747
|
}] });
|
|
21656
21748
|
})();
|
|
21657
21749
|
|
|
21658
|
-
const _c0$
|
|
21659
|
-
const _c1$
|
|
21660
|
-
const _c2$
|
|
21750
|
+
const _c0$U = ["dateRangeField"];
|
|
21751
|
+
const _c1$o = ["endDateInput"];
|
|
21752
|
+
const _c2$9 = ["startDateInput"];
|
|
21661
21753
|
const _c3$4 = ["iconCalendar"];
|
|
21662
21754
|
const _c4$2 = ["calendarPicker"];
|
|
21663
21755
|
function PoDatepickerRangeComponent_po_clean_12_Template(rf, ctx) {
|
|
@@ -22097,9 +22189,9 @@ class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent {
|
|
|
22097
22189
|
PoDatepickerRangeComponent.ɵfac = function PoDatepickerRangeComponent_Factory(t) { return new (t || PoDatepickerRangeComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoDateService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
22098
22190
|
PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerRangeComponent, selectors: [["po-datepicker-range"]], viewQuery: function PoDatepickerRangeComponent_Query(rf, ctx) {
|
|
22099
22191
|
if (rf & 1) {
|
|
22100
|
-
i0.ɵɵviewQuery(_c0$
|
|
22101
|
-
i0.ɵɵviewQuery(_c1$
|
|
22102
|
-
i0.ɵɵviewQuery(_c2$
|
|
22192
|
+
i0.ɵɵviewQuery(_c0$U, 7, ElementRef);
|
|
22193
|
+
i0.ɵɵviewQuery(_c1$o, 7, ElementRef);
|
|
22194
|
+
i0.ɵɵviewQuery(_c2$9, 7, ElementRef);
|
|
22103
22195
|
i0.ɵɵviewQuery(_c3$4, 7, ElementRef);
|
|
22104
22196
|
i0.ɵɵviewQuery(_c4$2, 5, ElementRef);
|
|
22105
22197
|
}
|
|
@@ -22566,7 +22658,7 @@ __decorate([
|
|
|
22566
22658
|
}] });
|
|
22567
22659
|
})();
|
|
22568
22660
|
|
|
22569
|
-
const _c0$
|
|
22661
|
+
const _c0$T = ["inp"];
|
|
22570
22662
|
function PoDecimalComponent_div_2_Template(rf, ctx) {
|
|
22571
22663
|
if (rf & 1) {
|
|
22572
22664
|
i0.ɵɵelementStart(0, "div", 8);
|
|
@@ -23165,7 +23257,7 @@ class PoDecimalComponent extends PoInputBaseComponent {
|
|
|
23165
23257
|
PoDecimalComponent.ɵfac = function PoDecimalComponent_Factory(t) { return new (t || PoDecimalComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
23166
23258
|
PoDecimalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDecimalComponent, selectors: [["po-decimal"]], viewQuery: function PoDecimalComponent_Query(rf, ctx) {
|
|
23167
23259
|
if (rf & 1) {
|
|
23168
|
-
i0.ɵɵviewQuery(_c0$
|
|
23260
|
+
i0.ɵɵviewQuery(_c0$T, 7, ElementRef);
|
|
23169
23261
|
}
|
|
23170
23262
|
if (rf & 2) {
|
|
23171
23263
|
let _t;
|
|
@@ -23245,7 +23337,7 @@ PoDecimalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDecima
|
|
|
23245
23337
|
}] });
|
|
23246
23338
|
})();
|
|
23247
23339
|
|
|
23248
|
-
const _c0$
|
|
23340
|
+
const _c0$S = ["inp"];
|
|
23249
23341
|
/* eslint-disable @angular-eslint/directive-class-suffix */
|
|
23250
23342
|
class PoInputGeneric extends PoInputBaseComponent {
|
|
23251
23343
|
constructor(el, cd) {
|
|
@@ -23421,7 +23513,7 @@ class PoInputGeneric extends PoInputBaseComponent {
|
|
|
23421
23513
|
PoInputGeneric.ɵfac = function PoInputGeneric_Factory(t) { return new (t || PoInputGeneric)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
23422
23514
|
PoInputGeneric.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoInputGeneric, viewQuery: function PoInputGeneric_Query(rf, ctx) {
|
|
23423
23515
|
if (rf & 1) {
|
|
23424
|
-
i0.ɵɵviewQuery(_c0$
|
|
23516
|
+
i0.ɵɵviewQuery(_c0$S, 7, ElementRef);
|
|
23425
23517
|
}
|
|
23426
23518
|
if (rf & 2) {
|
|
23427
23519
|
let _t;
|
|
@@ -24842,8 +24934,8 @@ PoDynamicFormValidationService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({
|
|
|
24842
24934
|
}], function () { return [{ type: i1$1.HttpClient }]; }, null);
|
|
24843
24935
|
})();
|
|
24844
24936
|
|
|
24845
|
-
const _c0$
|
|
24846
|
-
const _c1$
|
|
24937
|
+
const _c0$R = ["fieldsComponent"];
|
|
24938
|
+
const _c1$n = ["dynamicForm"];
|
|
24847
24939
|
function PoDynamicFormComponent_ng_container_0_Template(rf, ctx) {
|
|
24848
24940
|
if (rf & 1) {
|
|
24849
24941
|
i0.ɵɵelementContainer(0);
|
|
@@ -25020,8 +25112,8 @@ class PoDynamicFormComponent extends PoDynamicFormBaseComponent {
|
|
|
25020
25112
|
PoDynamicFormComponent.ɵfac = function PoDynamicFormComponent_Factory(t) { return new (t || PoDynamicFormComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoDynamicFormLoadService), i0.ɵɵdirectiveInject(PoDynamicFormValidationService)); };
|
|
25021
25113
|
PoDynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDynamicFormComponent, selectors: [["po-dynamic-form"]], viewQuery: function PoDynamicFormComponent_Query(rf, ctx) {
|
|
25022
25114
|
if (rf & 1) {
|
|
25023
|
-
i0.ɵɵviewQuery(_c0$
|
|
25024
|
-
i0.ɵɵviewQuery(_c1$
|
|
25115
|
+
i0.ɵɵviewQuery(_c0$R, 5);
|
|
25116
|
+
i0.ɵɵviewQuery(_c1$n, 5);
|
|
25025
25117
|
}
|
|
25026
25118
|
if (rf & 2) {
|
|
25027
25119
|
let _t;
|
|
@@ -25053,8 +25145,8 @@ PoDynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDy
|
|
|
25053
25145
|
}] });
|
|
25054
25146
|
})();
|
|
25055
25147
|
|
|
25056
|
-
const _c0$
|
|
25057
|
-
const _c1$
|
|
25148
|
+
const _c0$Q = ["inpsearch"];
|
|
25149
|
+
const _c1$m = ["container"];
|
|
25058
25150
|
function PoLookupModalComponent_div_9_Template(rf, ctx) {
|
|
25059
25151
|
if (rf & 1) {
|
|
25060
25152
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
@@ -25204,8 +25296,8 @@ PoLookupModalComponent.ɵfac = function PoLookupModalComponent_Factory(t) { retu
|
|
|
25204
25296
|
PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupModalComponent, selectors: [["po-lookup-modal"]], viewQuery: function PoLookupModalComponent_Query(rf, ctx) {
|
|
25205
25297
|
if (rf & 1) {
|
|
25206
25298
|
i0.ɵɵviewQuery(PoTableComponent, 7);
|
|
25207
|
-
i0.ɵɵviewQuery(_c0$
|
|
25208
|
-
i0.ɵɵviewQuery(_c1$
|
|
25299
|
+
i0.ɵɵviewQuery(_c0$Q, 5);
|
|
25300
|
+
i0.ɵɵviewQuery(_c1$m, 5, ViewContainerRef);
|
|
25209
25301
|
}
|
|
25210
25302
|
if (rf & 2) {
|
|
25211
25303
|
let _t;
|
|
@@ -25331,7 +25423,7 @@ PoLookupModalService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoL
|
|
|
25331
25423
|
}], function () { return [{ type: PoComponentInjectorService }]; }, null);
|
|
25332
25424
|
})();
|
|
25333
25425
|
|
|
25334
|
-
const _c0$
|
|
25426
|
+
const _c0$P = ["inp"];
|
|
25335
25427
|
function PoLookupComponent_div_1_po_clean_4_Template(rf, ctx) {
|
|
25336
25428
|
if (rf & 1) {
|
|
25337
25429
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -25739,7 +25831,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
|
|
|
25739
25831
|
PoLookupComponent.ɵfac = function PoLookupComponent_Factory(t) { return new (t || PoLookupComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoLookupFilterService), i0.ɵɵdirectiveInject(PoLookupModalService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Injector)); };
|
|
25740
25832
|
PoLookupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupComponent, selectors: [["po-lookup"]], viewQuery: function PoLookupComponent_Query(rf, ctx) {
|
|
25741
25833
|
if (rf & 1) {
|
|
25742
|
-
i0.ɵɵviewQuery(_c0$
|
|
25834
|
+
i0.ɵɵviewQuery(_c0$P, 5, ElementRef);
|
|
25743
25835
|
}
|
|
25744
25836
|
if (rf & 2) {
|
|
25745
25837
|
let _t;
|
|
@@ -25770,9 +25862,9 @@ PoLookupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupC
|
|
|
25770
25862
|
}] });
|
|
25771
25863
|
})();
|
|
25772
25864
|
|
|
25773
|
-
const _c0$
|
|
25774
|
-
const _c1$
|
|
25775
|
-
const _c2$
|
|
25865
|
+
const _c0$O = ["container"];
|
|
25866
|
+
const _c1$l = ["ulElement"];
|
|
25867
|
+
const _c2$8 = ["searchElement"];
|
|
25776
25868
|
function PoMultiselectDropdownComponent_po_multiselect_search_2_Template(rf, ctx) {
|
|
25777
25869
|
if (rf & 1) {
|
|
25778
25870
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
@@ -25964,9 +26056,9 @@ class PoMultiselectDropdownComponent {
|
|
|
25964
26056
|
PoMultiselectDropdownComponent.ɵfac = function PoMultiselectDropdownComponent_Factory(t) { return new (t || PoMultiselectDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
25965
26057
|
PoMultiselectDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectDropdownComponent, selectors: [["po-multiselect-dropdown"]], viewQuery: function PoMultiselectDropdownComponent_Query(rf, ctx) {
|
|
25966
26058
|
if (rf & 1) {
|
|
25967
|
-
i0.ɵɵviewQuery(_c0$
|
|
25968
|
-
i0.ɵɵviewQuery(_c1$
|
|
25969
|
-
i0.ɵɵviewQuery(_c2$
|
|
26059
|
+
i0.ɵɵviewQuery(_c0$O, 7, ElementRef);
|
|
26060
|
+
i0.ɵɵviewQuery(_c1$l, 7, ElementRef);
|
|
26061
|
+
i0.ɵɵviewQuery(_c2$8, 5);
|
|
25970
26062
|
}
|
|
25971
26063
|
if (rf & 2) {
|
|
25972
26064
|
let _t;
|
|
@@ -26726,9 +26818,9 @@ PoMultiselectFilterService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ toke
|
|
|
26726
26818
|
}], function () { return [{ type: i1$1.HttpClient }]; }, null);
|
|
26727
26819
|
})();
|
|
26728
26820
|
|
|
26729
|
-
const _c0$
|
|
26730
|
-
const _c1$
|
|
26731
|
-
const _c2$
|
|
26821
|
+
const _c0$N = ["dropdownElement"];
|
|
26822
|
+
const _c1$k = ["iconElement"];
|
|
26823
|
+
const _c2$7 = ["inputElement"];
|
|
26732
26824
|
function PoMultiselectComponent_span_4_Template(rf, ctx) {
|
|
26733
26825
|
if (rf & 1) {
|
|
26734
26826
|
i0.ɵɵelementStart(0, "span", 11);
|
|
@@ -27089,10 +27181,10 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
|
|
|
27089
27181
|
PoMultiselectComponent.ɵfac = function PoMultiselectComponent_Factory(t) { return new (t || PoMultiselectComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(PoMultiselectFilterService), i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
27090
27182
|
PoMultiselectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectComponent, selectors: [["po-multiselect"]], viewQuery: function PoMultiselectComponent_Query(rf, ctx) {
|
|
27091
27183
|
if (rf & 1) {
|
|
27092
|
-
i0.ɵɵviewQuery(_c0$
|
|
27093
|
-
i0.ɵɵviewQuery(_c0$
|
|
27094
|
-
i0.ɵɵviewQuery(_c1$
|
|
27095
|
-
i0.ɵɵviewQuery(_c2$
|
|
27184
|
+
i0.ɵɵviewQuery(_c0$N, 7, ElementRef);
|
|
27185
|
+
i0.ɵɵviewQuery(_c0$N, 7);
|
|
27186
|
+
i0.ɵɵviewQuery(_c1$k, 7, ElementRef);
|
|
27187
|
+
i0.ɵɵviewQuery(_c2$7, 7, ElementRef);
|
|
27096
27188
|
}
|
|
27097
27189
|
if (rf & 2) {
|
|
27098
27190
|
let _t;
|
|
@@ -27208,7 +27300,7 @@ PoMultiselectItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
27208
27300
|
}] });
|
|
27209
27301
|
})();
|
|
27210
27302
|
|
|
27211
|
-
const _c0$
|
|
27303
|
+
const _c0$M = ["inputElement"];
|
|
27212
27304
|
/**
|
|
27213
27305
|
* @docsPrivate
|
|
27214
27306
|
*
|
|
@@ -27256,7 +27348,7 @@ class PoMultiselectSearchComponent {
|
|
|
27256
27348
|
PoMultiselectSearchComponent.ɵfac = function PoMultiselectSearchComponent_Factory(t) { return new (t || PoMultiselectSearchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
27257
27349
|
PoMultiselectSearchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectSearchComponent, selectors: [["po-multiselect-search"]], viewQuery: function PoMultiselectSearchComponent_Query(rf, ctx) {
|
|
27258
27350
|
if (rf & 1) {
|
|
27259
|
-
i0.ɵɵviewQuery(_c0$
|
|
27351
|
+
i0.ɵɵviewQuery(_c0$M, 7, ElementRef);
|
|
27260
27352
|
}
|
|
27261
27353
|
if (rf & 2) {
|
|
27262
27354
|
let _t;
|
|
@@ -27314,7 +27406,7 @@ PoRichTextService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoRich
|
|
|
27314
27406
|
}], null, null);
|
|
27315
27407
|
})();
|
|
27316
27408
|
|
|
27317
|
-
const _c0$
|
|
27409
|
+
const _c0$L = ["bodyElement"];
|
|
27318
27410
|
const poRichTextBodyCommands = [
|
|
27319
27411
|
'bold',
|
|
27320
27412
|
'italic',
|
|
@@ -27603,7 +27695,7 @@ class PoRichTextBodyComponent {
|
|
|
27603
27695
|
PoRichTextBodyComponent.ɵfac = function PoRichTextBodyComponent_Factory(t) { return new (t || PoRichTextBodyComponent)(i0.ɵɵdirectiveInject(PoRichTextService)); };
|
|
27604
27696
|
PoRichTextBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextBodyComponent, selectors: [["po-rich-text-body"]], viewQuery: function PoRichTextBodyComponent_Query(rf, ctx) {
|
|
27605
27697
|
if (rf & 1) {
|
|
27606
|
-
i0.ɵɵviewQuery(_c0$
|
|
27698
|
+
i0.ɵɵviewQuery(_c0$L, 7);
|
|
27607
27699
|
}
|
|
27608
27700
|
if (rf & 2) {
|
|
27609
27701
|
let _t;
|
|
@@ -28706,7 +28798,7 @@ __decorate([
|
|
|
28706
28798
|
}] });
|
|
28707
28799
|
})();
|
|
28708
28800
|
|
|
28709
|
-
const _c0$
|
|
28801
|
+
const _c0$K = ["selectFilesLink"];
|
|
28710
28802
|
function PoUploadDragDropAreaComponent_ng_container_2_Template(rf, ctx) {
|
|
28711
28803
|
if (rf & 1) {
|
|
28712
28804
|
i0.ɵɵelementContainer(0);
|
|
@@ -28725,7 +28817,7 @@ function PoUploadDragDropAreaComponent_ng_template_3_Template(rf, ctx) {
|
|
|
28725
28817
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.directoryCompatible ? ctx_r2.literals == null ? null : ctx_r2.literals.dropFoldersHere : ctx_r2.literals == null ? null : ctx_r2.literals.dropFilesHere, " ");
|
|
28726
28818
|
}
|
|
28727
28819
|
}
|
|
28728
|
-
const _c1$
|
|
28820
|
+
const _c1$j = function (a0) { return { "po-clickable": a0 }; };
|
|
28729
28821
|
function PoUploadDragDropAreaComponent_ng_template_5_Template(rf, ctx) {
|
|
28730
28822
|
if (rf & 1) {
|
|
28731
28823
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -28743,12 +28835,12 @@ function PoUploadDragDropAreaComponent_ng_template_5_Template(rf, ctx) {
|
|
|
28743
28835
|
i0.ɵɵadvance(2);
|
|
28744
28836
|
i0.ɵɵtextInterpolate1(" ", ctx_r4.directoryCompatible ? ctx_r4.literals == null ? null : ctx_r4.literals.dragFoldersHere : ctx_r4.literals == null ? null : ctx_r4.literals.dragFilesHere, " ");
|
|
28745
28837
|
i0.ɵɵadvance(1);
|
|
28746
|
-
i0.ɵɵproperty("disabled", ctx_r4.disabled)("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
28838
|
+
i0.ɵɵproperty("disabled", ctx_r4.disabled)("ngClass", i0.ɵɵpureFunction1(4, _c1$j, !ctx_r4.disabled));
|
|
28747
28839
|
i0.ɵɵadvance(2);
|
|
28748
28840
|
i0.ɵɵtextInterpolate1(" ", ctx_r4.directoryCompatible ? ctx_r4.literals == null ? null : ctx_r4.literals.selectFolderOnComputer : ctx_r4.literals == null ? null : ctx_r4.literals.selectFilesOnComputer, " ");
|
|
28749
28841
|
}
|
|
28750
28842
|
}
|
|
28751
|
-
const _c2$
|
|
28843
|
+
const _c2$6 = function (a0) { return { "po-upload-drag-drop-area-disabled": a0 }; };
|
|
28752
28844
|
class PoUploadDragDropAreaComponent {
|
|
28753
28845
|
constructor(elementRef) {
|
|
28754
28846
|
this.elementRef = elementRef;
|
|
@@ -28761,7 +28853,7 @@ class PoUploadDragDropAreaComponent {
|
|
|
28761
28853
|
PoUploadDragDropAreaComponent.ɵfac = function PoUploadDragDropAreaComponent_Factory(t) { return new (t || PoUploadDragDropAreaComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
28762
28854
|
PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaComponent, selectors: [["po-upload-drag-drop-area"]], viewQuery: function PoUploadDragDropAreaComponent_Query(rf, ctx) {
|
|
28763
28855
|
if (rf & 1) {
|
|
28764
|
-
i0.ɵɵviewQuery(_c0$
|
|
28856
|
+
i0.ɵɵviewQuery(_c0$K, 5);
|
|
28765
28857
|
}
|
|
28766
28858
|
if (rf & 2) {
|
|
28767
28859
|
let _t;
|
|
@@ -28779,7 +28871,7 @@ PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
28779
28871
|
const _r1 = i0.ɵɵreference(4);
|
|
28780
28872
|
const _r3 = i0.ɵɵreference(6);
|
|
28781
28873
|
i0.ɵɵstyleProp("height", ctx.height, "px");
|
|
28782
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2$
|
|
28874
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2$6, ctx.disabled));
|
|
28783
28875
|
i0.ɵɵadvance(2);
|
|
28784
28876
|
i0.ɵɵproperty("ngIf", ctx.overlay && !ctx.disabled)("ngIfThen", _r1)("ngIfElse", _r3);
|
|
28785
28877
|
}
|
|
@@ -28812,7 +28904,7 @@ PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
28812
28904
|
}] });
|
|
28813
28905
|
})();
|
|
28814
28906
|
|
|
28815
|
-
const _c0$
|
|
28907
|
+
const _c0$J = ["DragDropAreaFixed"];
|
|
28816
28908
|
class PoUploadDragDropAreaOverlayComponent {
|
|
28817
28909
|
constructor(renderer) {
|
|
28818
28910
|
this.renderer = renderer;
|
|
@@ -28836,7 +28928,7 @@ class PoUploadDragDropAreaOverlayComponent {
|
|
|
28836
28928
|
PoUploadDragDropAreaOverlayComponent.ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
28837
28929
|
PoUploadDragDropAreaOverlayComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) {
|
|
28838
28930
|
if (rf & 1) {
|
|
28839
|
-
i0.ɵɵviewQuery(_c0$
|
|
28931
|
+
i0.ɵɵviewQuery(_c0$J, 7, ElementRef);
|
|
28840
28932
|
}
|
|
28841
28933
|
if (rf & 2) {
|
|
28842
28934
|
let _t;
|
|
@@ -29257,7 +29349,7 @@ PoUploadDragDropDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: P
|
|
|
29257
29349
|
}] });
|
|
29258
29350
|
})();
|
|
29259
29351
|
|
|
29260
|
-
const _c0$
|
|
29352
|
+
const _c0$I = ["dragDropOverlay"];
|
|
29261
29353
|
function PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template(rf, ctx) {
|
|
29262
29354
|
if (rf & 1) {
|
|
29263
29355
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
@@ -29309,7 +29401,7 @@ class PoUploadDragDropComponent {
|
|
|
29309
29401
|
PoUploadDragDropComponent.ɵfac = function PoUploadDragDropComponent_Factory(t) { return new (t || PoUploadDragDropComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
29310
29402
|
PoUploadDragDropComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropComponent, selectors: [["po-upload-drag-drop"]], viewQuery: function PoUploadDragDropComponent_Query(rf, ctx) {
|
|
29311
29403
|
if (rf & 1) {
|
|
29312
|
-
i0.ɵɵviewQuery(_c0$
|
|
29404
|
+
i0.ɵɵviewQuery(_c0$I, 5, ElementRef);
|
|
29313
29405
|
i0.ɵɵviewQuery(PoUploadDragDropAreaComponent, 7);
|
|
29314
29406
|
}
|
|
29315
29407
|
if (rf & 2) {
|
|
@@ -29387,7 +29479,7 @@ function PoUploadFileRestrictionsComponent_p_1_Template(rf, ctx) {
|
|
|
29387
29479
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r1.literals == null ? null : ctx_r1.literals.allowedFormats, ctx_r1.allowedExtensions), "\n");
|
|
29388
29480
|
}
|
|
29389
29481
|
}
|
|
29390
|
-
const _c0$
|
|
29482
|
+
const _c0$H = function (a0, a1) { return [a0, a1]; };
|
|
29391
29483
|
function PoUploadFileRestrictionsComponent_p_2_span_3_Template(rf, ctx) {
|
|
29392
29484
|
if (rf & 1) {
|
|
29393
29485
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -29398,7 +29490,7 @@ function PoUploadFileRestrictionsComponent_p_2_span_3_Template(rf, ctx) {
|
|
|
29398
29490
|
if (rf & 2) {
|
|
29399
29491
|
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
29400
29492
|
i0.ɵɵadvance(1);
|
|
29401
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r3.literals == null ? null : ctx_r3.literals.allowedFileSizeRange, i0.ɵɵpureFunction2(4, _c0$
|
|
29493
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r3.literals == null ? null : ctx_r3.literals.allowedFileSizeRange, i0.ɵɵpureFunction2(4, _c0$H, ctx_r3.minFileSize, ctx_r3.maxFileSize)), " ");
|
|
29402
29494
|
}
|
|
29403
29495
|
}
|
|
29404
29496
|
function PoUploadFileRestrictionsComponent_p_2_span_4_Template(rf, ctx) {
|
|
@@ -29523,8 +29615,8 @@ PoUploadFileRestrictionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
29523
29615
|
}] });
|
|
29524
29616
|
})();
|
|
29525
29617
|
|
|
29526
|
-
const _c0$
|
|
29527
|
-
const _c1$
|
|
29618
|
+
const _c0$G = ["inputFile"];
|
|
29619
|
+
const _c1$i = ["uploadButton"];
|
|
29528
29620
|
function PoUploadComponent_po_upload_drag_drop_4_Template(rf, ctx) {
|
|
29529
29621
|
if (rf & 1) {
|
|
29530
29622
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -29549,14 +29641,14 @@ function PoUploadComponent_po_button_5_Template(rf, ctx) {
|
|
|
29549
29641
|
i0.ɵɵproperty("p-disabled", ctx_r2.isDisabled)("p-label", ctx_r2.selectFileButtonLabel);
|
|
29550
29642
|
}
|
|
29551
29643
|
}
|
|
29552
|
-
const _c2$
|
|
29644
|
+
const _c2$5 = function (a0) { return { "po-upload-file-restrictions-drag-drop": a0 }; };
|
|
29553
29645
|
function PoUploadComponent_po_upload_file_restrictions_6_Template(rf, ctx) {
|
|
29554
29646
|
if (rf & 1) {
|
|
29555
29647
|
i0.ɵɵelement(0, "po-upload-file-restrictions", 12);
|
|
29556
29648
|
}
|
|
29557
29649
|
if (rf & 2) {
|
|
29558
29650
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
29559
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$
|
|
29651
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$5, ctx_r3.displayDragDrop))("p-allowed-extensions", ctx_r3.fileRestrictions == null ? null : ctx_r3.fileRestrictions.allowedExtensions)("p-max-files", ctx_r3.maxFiles)("p-max-file-size", ctx_r3.fileRestrictions == null ? null : ctx_r3.fileRestrictions.maxFileSize)("p-min-file-size", ctx_r3.fileRestrictions == null ? null : ctx_r3.fileRestrictions.minFileSize);
|
|
29560
29652
|
}
|
|
29561
29653
|
}
|
|
29562
29654
|
function PoUploadComponent_div_7_po_progress_3_Template(rf, ctx) {
|
|
@@ -29891,9 +29983,9 @@ class PoUploadComponent extends PoUploadBaseComponent {
|
|
|
29891
29983
|
PoUploadComponent.ɵfac = function PoUploadComponent_Factory(t) { return new (t || PoUploadComponent)(i0.ɵɵdirectiveInject(PoUploadService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoI18nPipe), i0.ɵɵdirectiveInject(PoNotificationService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
29892
29984
|
PoUploadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadComponent, selectors: [["po-upload"]], viewQuery: function PoUploadComponent_Query(rf, ctx) {
|
|
29893
29985
|
if (rf & 1) {
|
|
29894
|
-
i0.ɵɵviewQuery(_c0$
|
|
29986
|
+
i0.ɵɵviewQuery(_c0$G, 7, ElementRef);
|
|
29895
29987
|
i0.ɵɵviewQuery(PoUploadDragDropComponent, 5);
|
|
29896
|
-
i0.ɵɵviewQuery(_c1$
|
|
29988
|
+
i0.ɵɵviewQuery(_c1$i, 5);
|
|
29897
29989
|
}
|
|
29898
29990
|
if (rf & 2) {
|
|
29899
29991
|
let _t;
|
|
@@ -30113,9 +30205,9 @@ PoUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUrlCompone
|
|
|
30113
30205
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, null);
|
|
30114
30206
|
})();
|
|
30115
30207
|
|
|
30116
|
-
const _c0$
|
|
30117
|
-
const _c1$
|
|
30118
|
-
const _c2$
|
|
30208
|
+
const _c0$F = ["modal"];
|
|
30209
|
+
const _c1$h = ["modalImageForm"];
|
|
30210
|
+
const _c2$4 = ["upload"];
|
|
30119
30211
|
const uploadRestrictions = ['.apng', '.bmp', '.gif', '.ico', '.jpeg', '.jpg', '.png', '.svg'];
|
|
30120
30212
|
class PoRichTextImageModalComponent {
|
|
30121
30213
|
constructor(languageService) {
|
|
@@ -30194,9 +30286,9 @@ class PoRichTextImageModalComponent {
|
|
|
30194
30286
|
PoRichTextImageModalComponent.ɵfac = function PoRichTextImageModalComponent_Factory(t) { return new (t || PoRichTextImageModalComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
30195
30287
|
PoRichTextImageModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextImageModalComponent, selectors: [["po-rich-text-image-modal"]], viewQuery: function PoRichTextImageModalComponent_Query(rf, ctx) {
|
|
30196
30288
|
if (rf & 1) {
|
|
30197
|
-
i0.ɵɵviewQuery(_c0$
|
|
30198
|
-
i0.ɵɵviewQuery(_c1$
|
|
30199
|
-
i0.ɵɵviewQuery(_c2$
|
|
30289
|
+
i0.ɵɵviewQuery(_c0$F, 7);
|
|
30290
|
+
i0.ɵɵviewQuery(_c1$h, 5);
|
|
30291
|
+
i0.ɵɵviewQuery(_c2$4, 7);
|
|
30200
30292
|
}
|
|
30201
30293
|
if (rf & 2) {
|
|
30202
30294
|
let _t;
|
|
@@ -30352,8 +30444,8 @@ PoInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoInputCom
|
|
|
30352
30444
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, null);
|
|
30353
30445
|
})();
|
|
30354
30446
|
|
|
30355
|
-
const _c0$
|
|
30356
|
-
const _c1$
|
|
30447
|
+
const _c0$E = ["modal"];
|
|
30448
|
+
const _c1$g = ["modalLinkForm"];
|
|
30357
30449
|
class PoRichTextLinkModalComponent {
|
|
30358
30450
|
constructor(languageService) {
|
|
30359
30451
|
this.languageService = languageService;
|
|
@@ -30477,8 +30569,8 @@ class PoRichTextLinkModalComponent {
|
|
|
30477
30569
|
PoRichTextLinkModalComponent.ɵfac = function PoRichTextLinkModalComponent_Factory(t) { return new (t || PoRichTextLinkModalComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
30478
30570
|
PoRichTextLinkModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextLinkModalComponent, selectors: [["po-rich-text-link-modal"]], viewQuery: function PoRichTextLinkModalComponent_Query(rf, ctx) {
|
|
30479
30571
|
if (rf & 1) {
|
|
30480
|
-
i0.ɵɵviewQuery(_c0$
|
|
30481
|
-
i0.ɵɵviewQuery(_c1$
|
|
30572
|
+
i0.ɵɵviewQuery(_c0$E, 7);
|
|
30573
|
+
i0.ɵɵviewQuery(_c1$g, 5);
|
|
30482
30574
|
}
|
|
30483
30575
|
if (rf & 2) {
|
|
30484
30576
|
let _t;
|
|
@@ -30521,8 +30613,8 @@ PoRichTextLinkModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
30521
30613
|
}] });
|
|
30522
30614
|
})();
|
|
30523
30615
|
|
|
30524
|
-
const _c0$
|
|
30525
|
-
const _c1$
|
|
30616
|
+
const _c0$D = ["colorPickerInput"];
|
|
30617
|
+
const _c1$f = ["toolbarElement"];
|
|
30526
30618
|
function PoRichTextToolbarComponent_div_4_Template(rf, ctx) {
|
|
30527
30619
|
if (rf & 1) {
|
|
30528
30620
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -30683,8 +30775,8 @@ class PoRichTextToolbarComponent {
|
|
|
30683
30775
|
PoRichTextToolbarComponent.ɵfac = function PoRichTextToolbarComponent_Factory(t) { return new (t || PoRichTextToolbarComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
30684
30776
|
PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextToolbarComponent, selectors: [["po-rich-text-toolbar"]], viewQuery: function PoRichTextToolbarComponent_Query(rf, ctx) {
|
|
30685
30777
|
if (rf & 1) {
|
|
30686
|
-
i0.ɵɵviewQuery(_c0$
|
|
30687
|
-
i0.ɵɵviewQuery(_c1$
|
|
30778
|
+
i0.ɵɵviewQuery(_c0$D, 5, ElementRef);
|
|
30779
|
+
i0.ɵɵviewQuery(_c1$f, 7);
|
|
30688
30780
|
i0.ɵɵviewQuery(PoRichTextImageModalComponent, 7);
|
|
30689
30781
|
i0.ɵɵviewQuery(PoRichTextLinkModalComponent, 7);
|
|
30690
30782
|
}
|
|
@@ -31573,8 +31665,8 @@ __decorate([
|
|
|
31573
31665
|
}] });
|
|
31574
31666
|
})();
|
|
31575
31667
|
|
|
31576
|
-
const _c0$
|
|
31577
|
-
const _c1$
|
|
31668
|
+
const _c0$C = ["inp"];
|
|
31669
|
+
const _c1$e = ["inputRadio"];
|
|
31578
31670
|
function PoRadioGroupComponent_div_3_Template(rf, ctx) {
|
|
31579
31671
|
if (rf & 1) {
|
|
31580
31672
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
@@ -31696,8 +31788,8 @@ class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
|
|
|
31696
31788
|
PoRadioGroupComponent.ɵfac = function PoRadioGroupComponent_Factory(t) { return new (t || PoRadioGroupComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
31697
31789
|
PoRadioGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRadioGroupComponent, selectors: [["po-radio-group"]], viewQuery: function PoRadioGroupComponent_Query(rf, ctx) {
|
|
31698
31790
|
if (rf & 1) {
|
|
31699
|
-
i0.ɵɵviewQuery(_c0$
|
|
31700
|
-
i0.ɵɵviewQuery(_c1$
|
|
31791
|
+
i0.ɵɵviewQuery(_c0$C, 7, ElementRef);
|
|
31792
|
+
i0.ɵɵviewQuery(_c1$e, 5);
|
|
31701
31793
|
}
|
|
31702
31794
|
if (rf & 2) {
|
|
31703
31795
|
let _t;
|
|
@@ -31985,9 +32077,9 @@ __decorate([
|
|
|
31985
32077
|
}] });
|
|
31986
32078
|
})();
|
|
31987
32079
|
|
|
31988
|
-
const _c0$
|
|
31989
|
-
const _c1$
|
|
31990
|
-
const _c2$
|
|
32080
|
+
const _c0$B = ["contentList"];
|
|
32081
|
+
const _c1$d = ["icon"];
|
|
32082
|
+
const _c2$3 = ["select"];
|
|
31991
32083
|
const _c3$2 = ["selectButton"];
|
|
31992
32084
|
function PoSelectComponent_option_3_Template(rf, ctx) {
|
|
31993
32085
|
if (rf & 1) {
|
|
@@ -32384,9 +32476,9 @@ PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectC
|
|
|
32384
32476
|
}
|
|
32385
32477
|
}, viewQuery: function PoSelectComponent_Query(rf, ctx) {
|
|
32386
32478
|
if (rf & 1) {
|
|
32387
|
-
i0.ɵɵviewQuery(_c0$
|
|
32388
|
-
i0.ɵɵviewQuery(_c1$
|
|
32389
|
-
i0.ɵɵviewQuery(_c2$
|
|
32479
|
+
i0.ɵɵviewQuery(_c0$B, 7, ElementRef);
|
|
32480
|
+
i0.ɵɵviewQuery(_c1$d, 7, ElementRef);
|
|
32481
|
+
i0.ɵɵviewQuery(_c2$3, 7, ElementRef);
|
|
32390
32482
|
i0.ɵɵviewQuery(_c3$2, 7, ElementRef);
|
|
32391
32483
|
}
|
|
32392
32484
|
if (rf & 2) {
|
|
@@ -32522,7 +32614,7 @@ var PoSwitchLabelPosition;
|
|
|
32522
32614
|
PoSwitchLabelPosition[PoSwitchLabelPosition["Left"] = 1] = "Left";
|
|
32523
32615
|
})(PoSwitchLabelPosition || (PoSwitchLabelPosition = {}));
|
|
32524
32616
|
|
|
32525
|
-
const _c0$
|
|
32617
|
+
const _c0$A = ["switchContainer"];
|
|
32526
32618
|
/**
|
|
32527
32619
|
* @docsExtends PoFieldModel
|
|
32528
32620
|
*
|
|
@@ -32687,7 +32779,7 @@ class PoSwitchComponent extends PoFieldModel {
|
|
|
32687
32779
|
PoSwitchComponent.ɵfac = function PoSwitchComponent_Factory(t) { return new (t || PoSwitchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
32688
32780
|
PoSwitchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSwitchComponent, selectors: [["po-switch"]], viewQuery: function PoSwitchComponent_Query(rf, ctx) {
|
|
32689
32781
|
if (rf & 1) {
|
|
32690
|
-
i0.ɵɵviewQuery(_c0$
|
|
32782
|
+
i0.ɵɵviewQuery(_c0$A, 7);
|
|
32691
32783
|
}
|
|
32692
32784
|
if (rf & 2) {
|
|
32693
32785
|
let _t;
|
|
@@ -33050,7 +33142,7 @@ __decorate([
|
|
|
33050
33142
|
}] });
|
|
33051
33143
|
})();
|
|
33052
33144
|
|
|
33053
|
-
const _c0$
|
|
33145
|
+
const _c0$z = ["inp"];
|
|
33054
33146
|
/**
|
|
33055
33147
|
* @docsExtends PoTextareaBaseComponent
|
|
33056
33148
|
*
|
|
@@ -33155,7 +33247,7 @@ class PoTextareaComponent extends PoTextareaBaseComponent {
|
|
|
33155
33247
|
PoTextareaComponent.ɵfac = function PoTextareaComponent_Factory(t) { return new (t || PoTextareaComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
33156
33248
|
PoTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTextareaComponent, selectors: [["po-textarea"]], viewQuery: function PoTextareaComponent_Query(rf, ctx) {
|
|
33157
33249
|
if (rf & 1) {
|
|
33158
|
-
i0.ɵɵviewQuery(_c0$
|
|
33250
|
+
i0.ɵɵviewQuery(_c0$z, 7, ElementRef);
|
|
33159
33251
|
}
|
|
33160
33252
|
if (rf & 2) {
|
|
33161
33253
|
let _t;
|
|
@@ -33209,6 +33301,215 @@ PoTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTexta
|
|
|
33209
33301
|
}] });
|
|
33210
33302
|
})();
|
|
33211
33303
|
|
|
33304
|
+
var PoRadioSize;
|
|
33305
|
+
(function (PoRadioSize) {
|
|
33306
|
+
PoRadioSize["medium"] = "medium";
|
|
33307
|
+
PoRadioSize["large"] = "large";
|
|
33308
|
+
})(PoRadioSize || (PoRadioSize = {}));
|
|
33309
|
+
|
|
33310
|
+
/**
|
|
33311
|
+
* @docsPrivate
|
|
33312
|
+
*
|
|
33313
|
+
* @description
|
|
33314
|
+
*
|
|
33315
|
+
* O componente `po-radio` é um componente interno e deve ser utilizado em conjunto com o componente `po-radio-group`.
|
|
33316
|
+
*/
|
|
33317
|
+
class PoRadioBaseComponent {
|
|
33318
|
+
constructor() {
|
|
33319
|
+
/** Define o status do *radio* */
|
|
33320
|
+
this.radioValue = false;
|
|
33321
|
+
/**
|
|
33322
|
+
* @optional
|
|
33323
|
+
*
|
|
33324
|
+
* @description
|
|
33325
|
+
*
|
|
33326
|
+
* Define o estado do *radio* como desabilitado;
|
|
33327
|
+
*
|
|
33328
|
+
* @default `false`
|
|
33329
|
+
*/
|
|
33330
|
+
this.disabled = false;
|
|
33331
|
+
/**
|
|
33332
|
+
* @optional
|
|
33333
|
+
*
|
|
33334
|
+
* @description
|
|
33335
|
+
*
|
|
33336
|
+
* Evento disparado quando o valor do *radio* for alterado.
|
|
33337
|
+
*/
|
|
33338
|
+
this.change = new EventEmitter();
|
|
33339
|
+
this.id = uuid();
|
|
33340
|
+
this._size = PoRadioSize.medium;
|
|
33341
|
+
}
|
|
33342
|
+
/**
|
|
33343
|
+
* @optional
|
|
33344
|
+
*
|
|
33345
|
+
* @description
|
|
33346
|
+
*
|
|
33347
|
+
* Define o tamanho do *radio*
|
|
33348
|
+
* @default `medium`
|
|
33349
|
+
*/
|
|
33350
|
+
set size(value) {
|
|
33351
|
+
this._size = PoRadioSize[value] ? PoRadioSize[value] : PoRadioSize.medium;
|
|
33352
|
+
}
|
|
33353
|
+
get size() {
|
|
33354
|
+
return this._size;
|
|
33355
|
+
}
|
|
33356
|
+
changeValue() {
|
|
33357
|
+
if (this.propagateChange) {
|
|
33358
|
+
this.propagateChange(this.radioValue);
|
|
33359
|
+
}
|
|
33360
|
+
this.change.emit(this.radioValue);
|
|
33361
|
+
}
|
|
33362
|
+
checkOption(value) {
|
|
33363
|
+
if (this.disabled) {
|
|
33364
|
+
return;
|
|
33365
|
+
}
|
|
33366
|
+
this.changeModelValue(true);
|
|
33367
|
+
this.changeValue();
|
|
33368
|
+
}
|
|
33369
|
+
registerOnChange(fn) {
|
|
33370
|
+
this.propagateChange = fn;
|
|
33371
|
+
}
|
|
33372
|
+
registerOnTouched(fn) {
|
|
33373
|
+
this.onTouched = fn;
|
|
33374
|
+
}
|
|
33375
|
+
writeValue(value) {
|
|
33376
|
+
if (value !== this.radioValue) {
|
|
33377
|
+
this.changeModelValue(value);
|
|
33378
|
+
}
|
|
33379
|
+
}
|
|
33380
|
+
}
|
|
33381
|
+
PoRadioBaseComponent.ɵfac = function PoRadioBaseComponent_Factory(t) { return new (t || PoRadioBaseComponent)(); };
|
|
33382
|
+
PoRadioBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoRadioBaseComponent, inputs: { name: "name", label: ["p-label", "label"], radioValue: ["p-checked", "radioValue"], disabled: ["p-disabled", "disabled"], size: ["p-size", "size"] }, outputs: { change: "p-change" } });
|
|
33383
|
+
__decorate([
|
|
33384
|
+
InputBoolean()
|
|
33385
|
+
], PoRadioBaseComponent.prototype, "disabled", void 0);
|
|
33386
|
+
(function () {
|
|
33387
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRadioBaseComponent, [{
|
|
33388
|
+
type: Directive
|
|
33389
|
+
}], null, { name: [{
|
|
33390
|
+
type: Input,
|
|
33391
|
+
args: ['name']
|
|
33392
|
+
}], label: [{
|
|
33393
|
+
type: Input,
|
|
33394
|
+
args: ['p-label']
|
|
33395
|
+
}], radioValue: [{
|
|
33396
|
+
type: Input,
|
|
33397
|
+
args: ['p-checked']
|
|
33398
|
+
}], disabled: [{
|
|
33399
|
+
type: Input,
|
|
33400
|
+
args: ['p-disabled']
|
|
33401
|
+
}], change: [{
|
|
33402
|
+
type: Output,
|
|
33403
|
+
args: ['p-change']
|
|
33404
|
+
}], size: [{
|
|
33405
|
+
type: Input,
|
|
33406
|
+
args: ['p-size']
|
|
33407
|
+
}] });
|
|
33408
|
+
})();
|
|
33409
|
+
|
|
33410
|
+
const _c0$y = ["radioLabel"];
|
|
33411
|
+
const _c1$c = function (a0) { return { "po-radio-large": a0 }; };
|
|
33412
|
+
const _c2$2 = function (a0) { return { "po-radio-label-disabled": a0 }; };
|
|
33413
|
+
/**
|
|
33414
|
+
* @docsPrivate
|
|
33415
|
+
*
|
|
33416
|
+
* @docsExtends PoRadioBaseComponent
|
|
33417
|
+
*/
|
|
33418
|
+
class PoRadioComponent extends PoRadioBaseComponent {
|
|
33419
|
+
constructor(changeDetector) {
|
|
33420
|
+
super();
|
|
33421
|
+
this.changeDetector = changeDetector;
|
|
33422
|
+
}
|
|
33423
|
+
/**
|
|
33424
|
+
* Função que atribui foco ao *radio*.
|
|
33425
|
+
*
|
|
33426
|
+
* Para utilizá-la é necessário capturar a referência do componente no DOM através do `ViewChild`, como por exemplo:
|
|
33427
|
+
*
|
|
33428
|
+
* ```
|
|
33429
|
+
* import { ViewChild } from '@angular/core';
|
|
33430
|
+
* import { PoRadioComponent } from '@po-ui/ng-components';
|
|
33431
|
+
*
|
|
33432
|
+
* ...
|
|
33433
|
+
*
|
|
33434
|
+
* @ViewChild(PoRadioComponent, { static: true }) radio: PoRadioComponent;
|
|
33435
|
+
*
|
|
33436
|
+
* focusRadio() {
|
|
33437
|
+
* this.radio.focus();
|
|
33438
|
+
* }
|
|
33439
|
+
* ```
|
|
33440
|
+
*
|
|
33441
|
+
*/
|
|
33442
|
+
focus() {
|
|
33443
|
+
if (this.radioLabel && !this.disabled) {
|
|
33444
|
+
this.radioLabel.nativeElement.focus();
|
|
33445
|
+
}
|
|
33446
|
+
}
|
|
33447
|
+
onBlur() {
|
|
33448
|
+
var _a;
|
|
33449
|
+
(_a = this.onTouched) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
33450
|
+
}
|
|
33451
|
+
onKeyDown(event, value) {
|
|
33452
|
+
if (event.which === PoKeyCodeEnum.space || event.keyCode === PoKeyCodeEnum.space) {
|
|
33453
|
+
this.checkOption(value);
|
|
33454
|
+
event.preventDefault();
|
|
33455
|
+
}
|
|
33456
|
+
}
|
|
33457
|
+
changeModelValue(value) {
|
|
33458
|
+
this.radioValue = typeof value === 'boolean' ? value : false;
|
|
33459
|
+
this.changeDetector.detectChanges();
|
|
33460
|
+
}
|
|
33461
|
+
}
|
|
33462
|
+
PoRadioComponent.ɵfac = function PoRadioComponent_Factory(t) { return new (t || PoRadioComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
33463
|
+
PoRadioComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRadioComponent, selectors: [["po-radio"]], viewQuery: function PoRadioComponent_Query(rf, ctx) {
|
|
33464
|
+
if (rf & 1) {
|
|
33465
|
+
i0.ɵɵviewQuery(_c0$y, 7);
|
|
33466
|
+
}
|
|
33467
|
+
if (rf & 2) {
|
|
33468
|
+
let _t;
|
|
33469
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.radioLabel = _t.first);
|
|
33470
|
+
}
|
|
33471
|
+
}, features: [i0.ɵɵProvidersFeature([
|
|
33472
|
+
{
|
|
33473
|
+
provide: NG_VALUE_ACCESSOR,
|
|
33474
|
+
useExisting: forwardRef(() => PoRadioComponent),
|
|
33475
|
+
multi: true
|
|
33476
|
+
}
|
|
33477
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 15, consts: [[1, "po-radio-container", 3, "click", "keydown"], ["type", "radio", "role", "radio", 1, "po-radio", 3, "ngClass", "id", "tabindex", "disabled"], ["tabindex", "-1", 1, "po-radio-label", 3, "for", "ngClass"], ["radioLabel", ""]], template: function PoRadioComponent_Template(rf, ctx) {
|
|
33478
|
+
if (rf & 1) {
|
|
33479
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
33480
|
+
i0.ɵɵlistener("click", function PoRadioComponent_Template_div_click_0_listener() { return ctx.checkOption(ctx.radioValue); })("keydown", function PoRadioComponent_Template_div_keydown_0_listener($event) { return ctx.onKeyDown($event, ctx.radioValue); });
|
|
33481
|
+
i0.ɵɵelement(1, "input", 1);
|
|
33482
|
+
i0.ɵɵelementStart(2, "label", 2, 3);
|
|
33483
|
+
i0.ɵɵtext(4);
|
|
33484
|
+
i0.ɵɵelementEnd()();
|
|
33485
|
+
}
|
|
33486
|
+
if (rf & 2) {
|
|
33487
|
+
i0.ɵɵattribute("checked", ctx.radioValue);
|
|
33488
|
+
i0.ɵɵadvance(1);
|
|
33489
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$c, ctx.size === "large"))("id", ctx.id)("tabindex", ctx.disabled ? -1 : 0)("disabled", ctx.disabled);
|
|
33490
|
+
i0.ɵɵattribute("aria-checked", ctx.radioValue)("aria-label", ctx.label)("aria-disabled", ctx.disabled);
|
|
33491
|
+
i0.ɵɵadvance(1);
|
|
33492
|
+
i0.ɵɵproperty("for", ctx.id)("ngClass", i0.ɵɵpureFunction1(13, _c2$2, ctx.disabled));
|
|
33493
|
+
i0.ɵɵadvance(2);
|
|
33494
|
+
i0.ɵɵtextInterpolate1(" ", ctx.label, " ");
|
|
33495
|
+
}
|
|
33496
|
+
}, directives: [i1.NgClass], encapsulation: 2, changeDetection: 0 });
|
|
33497
|
+
(function () {
|
|
33498
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRadioComponent, [{
|
|
33499
|
+
type: Component,
|
|
33500
|
+
args: [{ selector: 'po-radio', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
33501
|
+
{
|
|
33502
|
+
provide: NG_VALUE_ACCESSOR,
|
|
33503
|
+
useExisting: forwardRef(() => PoRadioComponent),
|
|
33504
|
+
multi: true
|
|
33505
|
+
}
|
|
33506
|
+
], template: "<div\n class=\"po-radio-container\"\n [attr.checked]=\"radioValue\"\n (click)=\"checkOption(radioValue)\"\n (keydown)=\"onKeyDown($event, radioValue)\"\n>\n <input\n type=\"radio\"\n [ngClass]=\"{ 'po-radio-large': size === 'large' }\"\n [attr.aria-checked]=\"radioValue\"\n [attr.aria-label]=\"label\"\n [id]=\"id\"\n class=\"po-radio\"\n role=\"radio\"\n [attr.aria-disabled]=\"disabled\"\n [tabindex]=\"disabled ? -1 : 0\"\n [disabled]=\"disabled\"\n />\n <label\n #radioLabel\n [for]=\"id\"\n class=\"po-radio-label\"\n [ngClass]=\"{ 'po-radio-label-disabled': disabled }\"\n tabindex=\"-1\"\n >\n {{ label }}\n </label>\n</div>\n" }]
|
|
33507
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { radioLabel: [{
|
|
33508
|
+
type: ViewChild,
|
|
33509
|
+
args: ['radioLabel', { static: true }]
|
|
33510
|
+
}] });
|
|
33511
|
+
})();
|
|
33512
|
+
|
|
33212
33513
|
/**
|
|
33213
33514
|
* @description
|
|
33214
33515
|
*
|
|
@@ -33302,6 +33603,7 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
33302
33603
|
PoTextareaComponent,
|
|
33303
33604
|
PoUploadComponent,
|
|
33304
33605
|
PoUrlComponent,
|
|
33606
|
+
PoRadioComponent,
|
|
33305
33607
|
PoCheckboxModule
|
|
33306
33608
|
],
|
|
33307
33609
|
declarations: [
|
|
@@ -33336,7 +33638,8 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
33336
33638
|
PoUploadDragDropAreaOverlayComponent,
|
|
33337
33639
|
PoUploadDragDropAreaComponent,
|
|
33338
33640
|
PoUploadFileRestrictionsComponent,
|
|
33339
|
-
PoUrlComponent
|
|
33641
|
+
PoUrlComponent,
|
|
33642
|
+
PoRadioComponent
|
|
33340
33643
|
],
|
|
33341
33644
|
providers: []
|
|
33342
33645
|
}]
|
|
@@ -33374,7 +33677,8 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
33374
33677
|
PoUploadDragDropAreaOverlayComponent,
|
|
33375
33678
|
PoUploadDragDropAreaComponent,
|
|
33376
33679
|
PoUploadFileRestrictionsComponent,
|
|
33377
|
-
PoUrlComponent
|
|
33680
|
+
PoUrlComponent,
|
|
33681
|
+
PoRadioComponent], imports: [CommonModule,
|
|
33378
33682
|
FormsModule,
|
|
33379
33683
|
HttpClientModule,
|
|
33380
33684
|
PoButtonGroupModule,
|
|
@@ -33418,6 +33722,7 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
33418
33722
|
PoTextareaComponent,
|
|
33419
33723
|
PoUploadComponent,
|
|
33420
33724
|
PoUrlComponent,
|
|
33725
|
+
PoRadioComponent,
|
|
33421
33726
|
PoCheckboxModule] });
|
|
33422
33727
|
})();
|
|
33423
33728
|
i0.ɵɵsetComponentScope(PoMultiselectComponent, [PoFieldContainerComponent, i1.NgIf, i1.NgForOf, PoDisclaimerComponent, i1.NgClass, PoMultiselectDropdownComponent, PoFieldContainerBottomComponent], []);
|
|
@@ -37366,24 +37671,19 @@ const _c0$o = ["popup"];
|
|
|
37366
37671
|
function PoListViewComponent_div_1_Template(rf, ctx) {
|
|
37367
37672
|
if (rf & 1) {
|
|
37368
37673
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
37369
|
-
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8)(2, "div", 9);
|
|
37370
|
-
i0.ɵɵ
|
|
37371
|
-
i0.ɵɵelementStart(4, "label", 11);
|
|
37372
|
-
i0.ɵɵlistener("click", function PoListViewComponent_div_1_Template_label_click_4_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.selectAllListItems(); });
|
|
37373
|
-
i0.ɵɵtext(5);
|
|
37674
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8)(2, "div", 9)(3, "po-checkbox", 10);
|
|
37675
|
+
i0.ɵɵlistener("ngModelChange", function PoListViewComponent_div_1_Template_po_checkbox_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.selectAll = $event; })("p-change", function PoListViewComponent_div_1_Template_po_checkbox_p_change_3_listener() { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.selectAllListItems(); })("click", function PoListViewComponent_div_1_Template_po_checkbox_click_3_listener() { i0.ɵɵrestoreView(_r6); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.selectAllListItems(); });
|
|
37374
37676
|
i0.ɵɵelementEnd()()()();
|
|
37375
37677
|
}
|
|
37376
37678
|
if (rf & 2) {
|
|
37377
37679
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
37378
37680
|
i0.ɵɵadvance(3);
|
|
37379
|
-
i0.ɵɵ
|
|
37380
|
-
i0.ɵɵadvance(2);
|
|
37381
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.literals.selectAll, " ");
|
|
37681
|
+
i0.ɵɵproperty("ngModel", ctx_r0.selectAll)("p-label", ctx_r0.literals.selectAll);
|
|
37382
37682
|
}
|
|
37383
37683
|
}
|
|
37384
37684
|
function PoListViewComponent_div_3_Template(rf, ctx) {
|
|
37385
37685
|
if (rf & 1) {
|
|
37386
|
-
i0.ɵɵelementStart(0, "div",
|
|
37686
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "div", 12)(2, "span");
|
|
37387
37687
|
i0.ɵɵtext(3);
|
|
37388
37688
|
i0.ɵɵelementEnd()()();
|
|
37389
37689
|
}
|
|
@@ -37395,79 +37695,77 @@ function PoListViewComponent_div_3_Template(rf, ctx) {
|
|
|
37395
37695
|
}
|
|
37396
37696
|
function PoListViewComponent_ng_container_4_div_5_Template(rf, ctx) {
|
|
37397
37697
|
if (rf & 1) {
|
|
37398
|
-
const
|
|
37399
|
-
i0.ɵɵelementStart(0, "div", 26);
|
|
37400
|
-
i0.ɵɵ
|
|
37401
|
-
i0.ɵɵelementStart(2, "label", 11);
|
|
37402
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_div_5_Template_label_click_2_listener() { i0.ɵɵrestoreView(_r20); const item_r7 = i0.ɵɵnextContext().$implicit; const ctx_r18 = i0.ɵɵnextContext(); return ctx_r18.selectListItem(item_r7); });
|
|
37698
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
37699
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "po-checkbox", 26);
|
|
37700
|
+
i0.ɵɵlistener("ngModelChange", function PoListViewComponent_ng_container_4_div_5_Template_po_checkbox_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r22); const item_r9 = i0.ɵɵnextContext().$implicit; return item_r9.$selected = $event; })("p-change", function PoListViewComponent_ng_container_4_div_5_Template_po_checkbox_p_change_1_listener() { i0.ɵɵrestoreView(_r22); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.selectListItem(item_r9); })("click", function PoListViewComponent_ng_container_4_div_5_Template_po_checkbox_click_1_listener() { i0.ɵɵrestoreView(_r22); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.selectListItem(item_r9); });
|
|
37403
37701
|
i0.ɵɵelementEnd()();
|
|
37404
37702
|
}
|
|
37405
37703
|
if (rf & 2) {
|
|
37406
|
-
const
|
|
37704
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
37407
37705
|
i0.ɵɵadvance(1);
|
|
37408
|
-
i0.ɵɵ
|
|
37706
|
+
i0.ɵɵproperty("ngModel", item_r9.$selected);
|
|
37409
37707
|
}
|
|
37410
37708
|
}
|
|
37411
37709
|
function PoListViewComponent_ng_container_4_a_6_Template(rf, ctx) {
|
|
37412
37710
|
if (rf & 1) {
|
|
37413
|
-
const
|
|
37711
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
37414
37712
|
i0.ɵɵelementStart(0, "a", 27);
|
|
37415
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_a_6_Template_a_click_0_listener() { i0.ɵɵrestoreView(
|
|
37713
|
+
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_a_6_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r30); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r28 = i0.ɵɵnextContext(); return ctx_r28.runTitleAction(item_r9); });
|
|
37416
37714
|
i0.ɵɵtext(1);
|
|
37417
37715
|
i0.ɵɵelementEnd();
|
|
37418
37716
|
}
|
|
37419
37717
|
if (rf & 2) {
|
|
37420
|
-
const
|
|
37421
|
-
const
|
|
37422
|
-
i0.ɵɵproperty("href",
|
|
37718
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
37719
|
+
const ctx_r12 = i0.ɵɵnextContext();
|
|
37720
|
+
i0.ɵɵproperty("href", item_r9[ctx_r12.propertyLink], i0.ɵɵsanitizeUrl);
|
|
37423
37721
|
i0.ɵɵadvance(1);
|
|
37424
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
37722
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r12.getItemTitle(item_r9), " ");
|
|
37425
37723
|
}
|
|
37426
37724
|
}
|
|
37427
37725
|
function PoListViewComponent_ng_container_4_a_7_Template(rf, ctx) {
|
|
37428
37726
|
if (rf & 1) {
|
|
37429
|
-
const
|
|
37727
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
37430
37728
|
i0.ɵɵelementStart(0, "a", 28);
|
|
37431
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_a_7_Template_a_click_0_listener() { i0.ɵɵrestoreView(
|
|
37729
|
+
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_a_7_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r34); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.runTitleAction(item_r9); });
|
|
37432
37730
|
i0.ɵɵtext(1);
|
|
37433
37731
|
i0.ɵɵelementEnd();
|
|
37434
37732
|
}
|
|
37435
37733
|
if (rf & 2) {
|
|
37436
|
-
const
|
|
37437
|
-
const
|
|
37438
|
-
i0.ɵɵproperty("routerLink",
|
|
37734
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
37735
|
+
const ctx_r13 = i0.ɵɵnextContext();
|
|
37736
|
+
i0.ɵɵproperty("routerLink", item_r9[ctx_r13.propertyLink]);
|
|
37439
37737
|
i0.ɵɵadvance(1);
|
|
37440
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
37738
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r13.getItemTitle(item_r9), " ");
|
|
37441
37739
|
}
|
|
37442
37740
|
}
|
|
37443
37741
|
function PoListViewComponent_ng_container_4_span_8_Template(rf, ctx) {
|
|
37444
37742
|
if (rf & 1) {
|
|
37445
|
-
const
|
|
37743
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
37446
37744
|
i0.ɵɵelementStart(0, "span", 29);
|
|
37447
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_span_8_Template_span_click_0_listener() { i0.ɵɵrestoreView(
|
|
37745
|
+
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_span_8_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r37); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r36 = i0.ɵɵnextContext(); return ctx_r36.titleHasAction && ctx_r36.runTitleAction(item_r9); });
|
|
37448
37746
|
i0.ɵɵtext(1);
|
|
37449
37747
|
i0.ɵɵelementEnd();
|
|
37450
37748
|
}
|
|
37451
37749
|
if (rf & 2) {
|
|
37452
|
-
const
|
|
37453
|
-
const
|
|
37454
|
-
i0.ɵɵclassProp("po-list-view-title-link",
|
|
37750
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
37751
|
+
const ctx_r14 = i0.ɵɵnextContext();
|
|
37752
|
+
i0.ɵɵclassProp("po-list-view-title-link", ctx_r14.titleHasAction);
|
|
37455
37753
|
i0.ɵɵadvance(1);
|
|
37456
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
37754
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r14.getItemTitle(item_r9), " ");
|
|
37457
37755
|
}
|
|
37458
37756
|
}
|
|
37459
37757
|
function PoListViewComponent_ng_container_4_div_9_po_button_1_Template(rf, ctx) {
|
|
37460
37758
|
if (rf & 1) {
|
|
37461
|
-
const
|
|
37759
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
37462
37760
|
i0.ɵɵelementStart(0, "po-button", 32);
|
|
37463
|
-
i0.ɵɵlistener("p-click", function PoListViewComponent_ng_container_4_div_9_po_button_1_Template_po_button_p_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
37761
|
+
i0.ɵɵlistener("p-click", function PoListViewComponent_ng_container_4_div_9_po_button_1_Template_po_button_p_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r43); const action_r41 = restoredCtx.$implicit; const item_r9 = i0.ɵɵnextContext(2).$implicit; const ctx_r42 = i0.ɵɵnextContext(); return ctx_r42.onClickAction(action_r41, item_r9); });
|
|
37464
37762
|
i0.ɵɵelementEnd();
|
|
37465
37763
|
}
|
|
37466
37764
|
if (rf & 2) {
|
|
37467
|
-
const
|
|
37468
|
-
const
|
|
37469
|
-
const
|
|
37470
|
-
i0.ɵɵproperty("p-disabled",
|
|
37765
|
+
const action_r41 = ctx.$implicit;
|
|
37766
|
+
const item_r9 = i0.ɵɵnextContext(2).$implicit;
|
|
37767
|
+
const ctx_r40 = i0.ɵɵnextContext();
|
|
37768
|
+
i0.ɵɵproperty("p-disabled", ctx_r40.returnBooleanValue(action_r41, item_r9))("p-icon", action_r41.icon)("p-label", action_r41.label)("p-kind", action_r41.type);
|
|
37471
37769
|
}
|
|
37472
37770
|
}
|
|
37473
37771
|
function PoListViewComponent_ng_container_4_div_9_Template(rf, ctx) {
|
|
@@ -37477,16 +37775,16 @@ function PoListViewComponent_ng_container_4_div_9_Template(rf, ctx) {
|
|
|
37477
37775
|
i0.ɵɵelementEnd();
|
|
37478
37776
|
}
|
|
37479
37777
|
if (rf & 2) {
|
|
37480
|
-
const
|
|
37778
|
+
const ctx_r15 = i0.ɵɵnextContext(2);
|
|
37481
37779
|
i0.ɵɵadvance(1);
|
|
37482
|
-
i0.ɵɵproperty("ngForOf",
|
|
37780
|
+
i0.ɵɵproperty("ngForOf", ctx_r15.visibleActions);
|
|
37483
37781
|
}
|
|
37484
37782
|
}
|
|
37485
37783
|
function PoListViewComponent_ng_container_4_div_10_Template(rf, ctx) {
|
|
37486
37784
|
if (rf & 1) {
|
|
37487
|
-
const
|
|
37785
|
+
const _r49 = i0.ɵɵgetCurrentView();
|
|
37488
37786
|
i0.ɵɵelementStart(0, "div", 33)(1, "span", 34, 35);
|
|
37489
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_div_10_Template_span_click_1_listener() { i0.ɵɵrestoreView(
|
|
37787
|
+
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_div_10_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r49); const _r46 = i0.ɵɵreference(2); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r47 = i0.ɵɵnextContext(); return ctx_r47.togglePopup(item_r9, _r46); });
|
|
37490
37788
|
i0.ɵɵelementEnd()();
|
|
37491
37789
|
}
|
|
37492
37790
|
}
|
|
@@ -37499,12 +37797,12 @@ function PoListViewComponent_ng_container_4_div_11_Template(rf, ctx) {
|
|
|
37499
37797
|
i0.ɵɵelementEnd();
|
|
37500
37798
|
}
|
|
37501
37799
|
if (rf & 2) {
|
|
37502
|
-
const
|
|
37503
|
-
const
|
|
37504
|
-
const
|
|
37505
|
-
const
|
|
37800
|
+
const ctx_r51 = i0.ɵɵnextContext();
|
|
37801
|
+
const item_r9 = ctx_r51.$implicit;
|
|
37802
|
+
const index_r10 = ctx_r51.index;
|
|
37803
|
+
const ctx_r17 = i0.ɵɵnextContext();
|
|
37506
37804
|
i0.ɵɵadvance(1);
|
|
37507
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
37805
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r17.listViewContentTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$7, item_r9, index_r10));
|
|
37508
37806
|
}
|
|
37509
37807
|
}
|
|
37510
37808
|
function PoListViewComponent_ng_container_4_div_12_ng_template_1_Template(rf, ctx) { }
|
|
@@ -37515,54 +37813,54 @@ function PoListViewComponent_ng_container_4_div_12_Template(rf, ctx) {
|
|
|
37515
37813
|
i0.ɵɵelementEnd();
|
|
37516
37814
|
}
|
|
37517
37815
|
if (rf & 2) {
|
|
37518
|
-
const
|
|
37519
|
-
const
|
|
37520
|
-
const
|
|
37521
|
-
const
|
|
37816
|
+
const ctx_r53 = i0.ɵɵnextContext();
|
|
37817
|
+
const item_r9 = ctx_r53.$implicit;
|
|
37818
|
+
const index_r10 = ctx_r53.index;
|
|
37819
|
+
const ctx_r18 = i0.ɵɵnextContext();
|
|
37522
37820
|
i0.ɵɵproperty("@showHideDetail", undefined);
|
|
37523
37821
|
i0.ɵɵadvance(1);
|
|
37524
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
37822
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r18.listViewDetailTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c1$7, item_r9, index_r10));
|
|
37525
37823
|
}
|
|
37526
37824
|
}
|
|
37527
37825
|
function PoListViewComponent_ng_container_4_div_13_Template(rf, ctx) {
|
|
37528
37826
|
if (rf & 1) {
|
|
37529
|
-
const
|
|
37827
|
+
const _r56 = i0.ɵɵgetCurrentView();
|
|
37530
37828
|
i0.ɵɵelementStart(0, "div", 39)(1, "span", 40);
|
|
37531
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_div_13_Template_span_click_1_listener() { i0.ɵɵrestoreView(
|
|
37829
|
+
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_div_13_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r56); const item_r9 = i0.ɵɵnextContext().$implicit; return item_r9.$showDetail = !item_r9.$showDetail; });
|
|
37532
37830
|
i0.ɵɵtext(2);
|
|
37533
37831
|
i0.ɵɵelementEnd()();
|
|
37534
37832
|
}
|
|
37535
37833
|
if (rf & 2) {
|
|
37536
|
-
const
|
|
37537
|
-
const
|
|
37834
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
37835
|
+
const ctx_r19 = i0.ɵɵnextContext();
|
|
37538
37836
|
i0.ɵɵadvance(2);
|
|
37539
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
37837
|
+
i0.ɵɵtextInterpolate1(" ", item_r9.$showDetail ? ctx_r19.literals.hideDetails : ctx_r19.literals.showDetails, " ");
|
|
37540
37838
|
}
|
|
37541
37839
|
}
|
|
37542
37840
|
function PoListViewComponent_ng_container_4_Template(rf, ctx) {
|
|
37543
37841
|
if (rf & 1) {
|
|
37544
37842
|
i0.ɵɵelementContainerStart(0);
|
|
37545
|
-
i0.ɵɵelementStart(1, "div",
|
|
37546
|
-
i0.ɵɵtemplate(5, PoListViewComponent_ng_container_4_div_5_Template,
|
|
37547
|
-
i0.ɵɵtemplate(6, PoListViewComponent_ng_container_4_a_6_Template, 2, 2, "a",
|
|
37548
|
-
i0.ɵɵtemplate(7, PoListViewComponent_ng_container_4_a_7_Template, 2, 2, "a",
|
|
37549
|
-
i0.ɵɵtemplate(8, PoListViewComponent_ng_container_4_span_8_Template, 2, 3, "span",
|
|
37843
|
+
i0.ɵɵelementStart(1, "div", 11)(2, "div", 13)(3, "div", 14)(4, "div", 15);
|
|
37844
|
+
i0.ɵɵtemplate(5, PoListViewComponent_ng_container_4_div_5_Template, 2, 1, "div", 16);
|
|
37845
|
+
i0.ɵɵtemplate(6, PoListViewComponent_ng_container_4_a_6_Template, 2, 2, "a", 17);
|
|
37846
|
+
i0.ɵɵtemplate(7, PoListViewComponent_ng_container_4_a_7_Template, 2, 2, "a", 18);
|
|
37847
|
+
i0.ɵɵtemplate(8, PoListViewComponent_ng_container_4_span_8_Template, 2, 3, "span", 19);
|
|
37550
37848
|
i0.ɵɵelementEnd();
|
|
37551
|
-
i0.ɵɵtemplate(9, PoListViewComponent_ng_container_4_div_9_Template, 2, 1, "div",
|
|
37552
|
-
i0.ɵɵtemplate(10, PoListViewComponent_ng_container_4_div_10_Template, 3, 0, "div",
|
|
37849
|
+
i0.ɵɵtemplate(9, PoListViewComponent_ng_container_4_div_9_Template, 2, 1, "div", 20);
|
|
37850
|
+
i0.ɵɵtemplate(10, PoListViewComponent_ng_container_4_div_10_Template, 3, 0, "div", 21);
|
|
37553
37851
|
i0.ɵɵelementEnd();
|
|
37554
|
-
i0.ɵɵtemplate(11, PoListViewComponent_ng_container_4_div_11_Template, 2, 5, "div",
|
|
37555
|
-
i0.ɵɵtemplate(12, PoListViewComponent_ng_container_4_div_12_Template, 2, 6, "div",
|
|
37852
|
+
i0.ɵɵtemplate(11, PoListViewComponent_ng_container_4_div_11_Template, 2, 5, "div", 22);
|
|
37853
|
+
i0.ɵɵtemplate(12, PoListViewComponent_ng_container_4_div_12_Template, 2, 6, "div", 23);
|
|
37556
37854
|
i0.ɵɵelementEnd();
|
|
37557
|
-
i0.ɵɵtemplate(13, PoListViewComponent_ng_container_4_div_13_Template, 3, 1, "div",
|
|
37855
|
+
i0.ɵɵtemplate(13, PoListViewComponent_ng_container_4_div_13_Template, 3, 1, "div", 24);
|
|
37558
37856
|
i0.ɵɵelementEnd();
|
|
37559
37857
|
i0.ɵɵelementContainerEnd();
|
|
37560
37858
|
}
|
|
37561
37859
|
if (rf & 2) {
|
|
37562
|
-
const
|
|
37860
|
+
const item_r9 = ctx.$implicit;
|
|
37563
37861
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
37564
37862
|
i0.ɵɵadvance(4);
|
|
37565
|
-
i0.ɵɵproperty("ngSwitch", ctx_r2.checkTitleType(
|
|
37863
|
+
i0.ɵɵproperty("ngSwitch", ctx_r2.checkTitleType(item_r9));
|
|
37566
37864
|
i0.ɵɵadvance(1);
|
|
37567
37865
|
i0.ɵɵproperty("ngIf", ctx_r2.select);
|
|
37568
37866
|
i0.ɵɵadvance(1);
|
|
@@ -37578,16 +37876,16 @@ function PoListViewComponent_ng_container_4_Template(rf, ctx) {
|
|
|
37578
37876
|
i0.ɵɵadvance(1);
|
|
37579
37877
|
i0.ɵɵproperty("ngIf", ctx_r2.hasContentTemplate);
|
|
37580
37878
|
i0.ɵɵadvance(1);
|
|
37581
|
-
i0.ɵɵproperty("ngIf", ctx_r2.hasDetailTemplate &&
|
|
37879
|
+
i0.ɵɵproperty("ngIf", ctx_r2.hasDetailTemplate && item_r9.$showDetail);
|
|
37582
37880
|
i0.ɵɵadvance(1);
|
|
37583
37881
|
i0.ɵɵproperty("ngIf", ctx_r2.hasDetailTemplate);
|
|
37584
37882
|
}
|
|
37585
37883
|
}
|
|
37586
37884
|
function PoListViewComponent_div_5_Template(rf, ctx) {
|
|
37587
37885
|
if (rf & 1) {
|
|
37588
|
-
const
|
|
37886
|
+
const _r59 = i0.ɵɵgetCurrentView();
|
|
37589
37887
|
i0.ɵɵelementStart(0, "div", 41)(1, "po-button", 42);
|
|
37590
|
-
i0.ɵɵlistener("p-click", function PoListViewComponent_div_5_Template_po_button_p_click_1_listener() { i0.ɵɵrestoreView(
|
|
37888
|
+
i0.ɵɵlistener("p-click", function PoListViewComponent_div_5_Template_po_button_p_click_1_listener() { i0.ɵɵrestoreView(_r59); const ctx_r58 = i0.ɵɵnextContext(); return ctx_r58.onShowMore(); });
|
|
37591
37889
|
i0.ɵɵelementEnd()();
|
|
37592
37890
|
}
|
|
37593
37891
|
if (rf & 2) {
|
|
@@ -37711,10 +38009,10 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
|
|
|
37711
38009
|
let _t;
|
|
37712
38010
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPopupComponent = _t.first);
|
|
37713
38011
|
}
|
|
37714
|
-
}, 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"], ["
|
|
38012
|
+
}, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 13, consts: [["class", "po-list-view-main-header", 4, "ngIf"], [1, "po-list-view-main-content"], ["class", "po-list-view", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-mb-2 po-text-center", 4, "ngIf"], [3, "p-actions", "p-target"], ["popup", ""], [1, "po-list-view-main-header"], [1, "po-checkbox-group-item"], [1, "po-list-view-main-select"], ["name", "selectAll", 3, "ngModel", "p-label", "ngModelChange", "p-change", "click"], [1, "po-list-view"], [1, "po-list-view-container-no-data", "po-text-center"], [1, "po-list-view-container"], [1, "po-list-view-header"], [1, "po-list-view-title", 3, "ngSwitch"], ["class", "po-list-view-select", 4, "ngIf"], ["class", "po-list-view-title-link", "target", "_blank", 3, "href", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-link", 3, "routerLink", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-no-link", 3, "po-list-view-title-link", "click", 4, "ngSwitchCase"], ["class", "po-list-view-actions", 4, "ngIf"], ["class", "po-list-view-more-actions", 4, "ngIf"], ["class", "po-list-view-content", 4, "ngIf"], ["class", "po-list-view-detail", 4, "ngIf"], ["class", "po-list-view-detail-button", 4, "ngIf"], [1, "po-list-view-select"], ["name", "checkbox", 3, "ngModel", "ngModelChange", "p-change", "click"], ["target", "_blank", 1, "po-list-view-title-link", 3, "href", "click"], [1, "po-list-view-title-link", 3, "routerLink", "click"], [1, "po-list-view-title-no-link", 3, "click"], [1, "po-list-view-actions"], ["p-small", "true", 3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click", 4, "ngFor", "ngForOf"], ["p-small", "true", 3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click"], [1, "po-list-view-more-actions"], [1, "po-icon", "po-icon-more", "po-list-view-more-icon", "po-clickable", 3, "click"], ["popupTarget", ""], [1, "po-list-view-content"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "po-list-view-detail"], [1, "po-list-view-detail-button"], [1, "po-clickable", 3, "click"], [1, "po-mb-2", "po-text-center"], [3, "p-disabled", "p-label", "p-click"]], template: function PoListViewComponent_Template(rf, ctx) {
|
|
37715
38013
|
if (rf & 1) {
|
|
37716
38014
|
i0.ɵɵelementStart(0, "div");
|
|
37717
|
-
i0.ɵɵtemplate(1, PoListViewComponent_div_1_Template,
|
|
38015
|
+
i0.ɵɵtemplate(1, PoListViewComponent_div_1_Template, 4, 2, "div", 0);
|
|
37718
38016
|
i0.ɵɵelementStart(2, "div", 1);
|
|
37719
38017
|
i0.ɵɵtemplate(3, PoListViewComponent_div_3_Template, 4, 1, "div", 2);
|
|
37720
38018
|
i0.ɵɵtemplate(4, PoListViewComponent_ng_container_4_Template, 14, 10, "ng-container", 3);
|
|
@@ -37736,7 +38034,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
|
|
|
37736
38034
|
i0.ɵɵadvance(1);
|
|
37737
38035
|
i0.ɵɵproperty("p-actions", ctx.actions)("p-target", ctx.popupTarget);
|
|
37738
38036
|
}
|
|
37739
|
-
}, directives: [i1.NgIf, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i2.RouterLinkWithHref, PoButtonComponent, i1.NgTemplateOutlet, PoPopupComponent], encapsulation: 2, data: { animation: [
|
|
38037
|
+
}, directives: [i1.NgIf, PoCheckboxComponent, i3.NgControlStatus, i3.NgModel, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i2.RouterLinkWithHref, PoButtonComponent, i1.NgTemplateOutlet, PoPopupComponent], encapsulation: 2, data: { animation: [
|
|
37740
38038
|
trigger('showHideDetail', [
|
|
37741
38039
|
state('*', style({ 'overflow-y': 'visible' })),
|
|
37742
38040
|
state('void', style({ 'overflow-y': 'hidden' })),
|
|
@@ -37754,7 +38052,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
|
|
|
37754
38052
|
transition('* => void', [style({ height: '*', 'overflow-y': 'hidden' }), animate(100, style({ height: 0 }))]),
|
|
37755
38053
|
transition('void => *', [style({ height: '0' }), animate(100, style({ height: '*' }))])
|
|
37756
38054
|
])
|
|
37757
|
-
], 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 <
|
|
38055
|
+
], template: "<div\n [class.po-list-view-main-container-header]=\"showHeader\"\n [class.po-list-view-main-container]=\"!showHeader\"\n [style.height.px]=\"height\"\n>\n <div *ngIf=\"showHeader\" class=\"po-list-view-main-header\">\n <div class=\"po-checkbox-group-item\">\n <div class=\"po-list-view-main-select\">\n <po-checkbox\n name=\"selectAll\"\n [(ngModel)]=\"selectAll\"\n [p-label]=\"literals.selectAll\"\n (p-change)=\"selectAllListItems()\"\n (click)=\"selectAllListItems()\"\n ></po-checkbox>\n </div>\n </div>\n </div>\n\n <div class=\"po-list-view-main-content\">\n <div class=\"po-list-view\" *ngIf=\"!hasItems()\">\n <div class=\"po-list-view-container-no-data po-text-center\">\n <span> {{ literals.noData }} </span>\n </div>\n </div>\n\n <ng-container *ngFor=\"let item of items; let index = index; trackBy: trackBy\">\n <div class=\"po-list-view\">\n <div class=\"po-list-view-container\">\n <div class=\"po-list-view-header\">\n <div class=\"po-list-view-title\" [ngSwitch]=\"checkTitleType(item)\">\n <div *ngIf=\"select\" class=\"po-list-view-select\">\n <po-checkbox\n [(ngModel)]=\"item.$selected\"\n name=\"checkbox\"\n (p-change)=\"selectListItem(item)\"\n (click)=\"selectListItem(item)\"\n ></po-checkbox>\n </div>\n <a\n *ngSwitchCase=\"'externalLink'\"\n class=\"po-list-view-title-link\"\n target=\"_blank\"\n [href]=\"item[propertyLink]\"\n (click)=\"runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </a>\n <a\n *ngSwitchCase=\"'internalLink'\"\n class=\"po-list-view-title-link\"\n [routerLink]=\"item[propertyLink]\"\n (click)=\"runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </a>\n <span\n *ngSwitchCase=\"'noLink'\"\n class=\"po-list-view-title-no-link\"\n [class.po-list-view-title-link]=\"titleHasAction\"\n (click)=\"titleHasAction && runTitleAction(item)\"\n >\n {{ getItemTitle(item) }}\n </span>\n </div>\n\n <div *ngIf=\"showButtonsActions\" class=\"po-list-view-actions\">\n <po-button\n *ngFor=\"let action of visibleActions\"\n p-small=\"true\"\n [p-disabled]=\"returnBooleanValue(action, item)\"\n [p-icon]=\"action.icon\"\n [p-label]=\"action.label\"\n [p-kind]=\"action.type\"\n (p-click)=\"onClickAction(action, item)\"\n >\n </po-button>\n </div>\n\n <div *ngIf=\"showPopupActions\" class=\"po-list-view-more-actions\">\n <span\n #popupTarget\n class=\"po-icon po-icon-more po-list-view-more-icon po-clickable\"\n (click)=\"togglePopup(item, popupTarget)\"\n >\n </span>\n </div>\n </div>\n\n <div *ngIf=\"hasContentTemplate\" class=\"po-list-view-content\">\n <ng-template\n [ngTemplateOutlet]=\"listViewContentTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-template>\n </div>\n\n <div @showHideDetail *ngIf=\"hasDetailTemplate && item.$showDetail\" class=\"po-list-view-detail\">\n <ng-template\n [ngTemplateOutlet]=\"listViewDetailTemplate.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index }\"\n >\n </ng-template>\n </div>\n </div>\n\n <div *ngIf=\"hasDetailTemplate\" class=\"po-list-view-detail-button\">\n <span class=\"po-clickable\" (click)=\"item.$showDetail = !item.$showDetail\">\n {{ item.$showDetail ? literals.hideDetails : literals.showDetails }}\n </span>\n </div>\n </div>\n </ng-container>\n </div>\n</div>\n\n<div *ngIf=\"displayShowMoreButton\" class=\"po-mb-2 po-text-center\">\n <po-button [p-disabled]=\"showMoreDisabled\" [p-label]=\"literals.loadMoreData\" (p-click)=\"onShowMore()\"> </po-button>\n</div>\n\n<po-popup #popup [p-actions]=\"actions\" [p-target]=\"popupTarget\"> </po-popup>\n" }]
|
|
37758
38056
|
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.IterableDiffers }, { type: PoLanguageService }]; }, { listViewContentTemplate: [{
|
|
37759
38057
|
type: ContentChild,
|
|
37760
38058
|
args: [PoListViewContentTemplateDirective, { static: true }]
|
|
@@ -37802,12 +38100,12 @@ class PoListViewModule {
|
|
|
37802
38100
|
}
|
|
37803
38101
|
PoListViewModule.ɵfac = function PoListViewModule_Factory(t) { return new (t || PoListViewModule)(); };
|
|
37804
38102
|
PoListViewModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoListViewModule });
|
|
37805
|
-
PoListViewModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imports: [[CommonModule, RouterModule, PoButtonModule, PoPopupModule]] });
|
|
38103
|
+
PoListViewModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imports: [[CommonModule, FormsModule, RouterModule, PoButtonModule, PoPopupModule, PoCheckboxModule]] });
|
|
37806
38104
|
(function () {
|
|
37807
38105
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoListViewModule, [{
|
|
37808
38106
|
type: NgModule,
|
|
37809
38107
|
args: [{
|
|
37810
|
-
imports: [CommonModule, RouterModule, PoButtonModule, PoPopupModule],
|
|
38108
|
+
imports: [CommonModule, FormsModule, RouterModule, PoButtonModule, PoPopupModule, PoCheckboxModule],
|
|
37811
38109
|
declarations: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective],
|
|
37812
38110
|
exports: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective],
|
|
37813
38111
|
providers: [],
|
|
@@ -37815,7 +38113,7 @@ PoListViewModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], im
|
|
|
37815
38113
|
}]
|
|
37816
38114
|
}], null, null);
|
|
37817
38115
|
})();
|
|
37818
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoListViewModule, { declarations: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective], imports: [CommonModule, RouterModule, PoButtonModule, PoPopupModule], exports: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective] }); })();
|
|
38116
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoListViewModule, { declarations: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective], imports: [CommonModule, FormsModule, RouterModule, PoButtonModule, PoPopupModule, PoCheckboxModule], exports: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective] }); })();
|
|
37819
38117
|
|
|
37820
38118
|
const PO_BADGE_COLORS = [
|
|
37821
38119
|
'color-01',
|
|
@@ -48551,5 +48849,5 @@ function initializeLanguageDefault(config, languageService) {
|
|
|
48551
48849
|
* Generated bundle index. Do not edit.
|
|
48552
48850
|
*/
|
|
48553
48851
|
|
|
48554
|
-
export { I18N_CONFIG, InputBoolean, InputRequired, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonModule, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDropdownComponent, PoDropdownModule, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoLanguageModule, PoLanguageService, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLookupComponent, PoLookupModalComponent, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressStatus, PoRadioGroupComponent, PoRichTextComponent, PoSelectComponent, PoSelectOptionTemplateDirective, PoServicesModule, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoTabComponent, PoTableCellTemplateDirective, PoTableColumnSortType, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoTimeModule, PoTimePipe, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, returnPoI18nService };
|
|
48852
|
+
export { I18N_CONFIG, InputBoolean, InputRequired, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonModule, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDropdownComponent, PoDropdownModule, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoLanguageModule, PoLanguageService, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLookupComponent, PoLookupModalComponent, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRichTextComponent, PoSelectComponent, PoSelectOptionTemplateDirective, PoServicesModule, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoTabComponent, PoTableCellTemplateDirective, PoTableColumnSortType, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoTimeModule, PoTimePipe, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, returnPoI18nService };
|
|
48555
48853
|
//# sourceMappingURL=po-ui-ng-components.mjs.map
|