@po-ui/ng-components 6.12.1 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +4 -4
- package/po-ui-ng-components-6.13.0.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.1.tgz +0 -0
|
@@ -76,7 +76,7 @@ PoAccordionService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoAcc
|
|
|
76
76
|
function PoAccordionItemComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
77
77
|
i0.ɵɵprojection(0);
|
|
78
78
|
} }
|
|
79
|
-
const _c0$
|
|
79
|
+
const _c0$1u = ["*"];
|
|
80
80
|
/**
|
|
81
81
|
* @description
|
|
82
82
|
*
|
|
@@ -133,7 +133,7 @@ PoAccordionItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
|
|
|
133
133
|
} if (rf & 2) {
|
|
134
134
|
let _t;
|
|
135
135
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templateRef = _t.first);
|
|
136
|
-
} }, inputs: { label: ["p-label", "label"] }, ngContentSelectors: _c0$
|
|
136
|
+
} }, inputs: { label: ["p-label", "label"] }, ngContentSelectors: _c0$1u, decls: 1, vars: 0, template: function PoAccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
137
137
|
i0.ɵɵprojectionDef();
|
|
138
138
|
i0.ɵɵtemplate(0, PoAccordionItemComponent_ng_template_0_Template, 1, 0, "ng-template");
|
|
139
139
|
} }, encapsulation: 2 });
|
|
@@ -192,14 +192,14 @@ function PoAccordionItemBodyComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
192
192
|
} if (rf & 2) {
|
|
193
193
|
i0.ɵɵproperty("@toggleBody", undefined);
|
|
194
194
|
} }
|
|
195
|
-
const _c0$
|
|
195
|
+
const _c0$1t = ["*"];
|
|
196
196
|
class PoAccordionItemBodyComponent {
|
|
197
197
|
constructor() {
|
|
198
198
|
this.expanded = false;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
PoAccordionItemBodyComponent.ɵfac = function PoAccordionItemBodyComponent_Factory(t) { return new (t || PoAccordionItemBodyComponent)(); };
|
|
202
|
-
PoAccordionItemBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoAccordionItemBodyComponent, selectors: [["po-accordion-item-body"]], inputs: { expanded: ["p-expanded", "expanded"] }, ngContentSelectors: _c0$
|
|
202
|
+
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) { if (rf & 1) {
|
|
203
203
|
i0.ɵɵprojectionDef();
|
|
204
204
|
i0.ɵɵtemplate(0, PoAccordionItemBodyComponent_div_0_Template, 3, 1, "div", 0);
|
|
205
205
|
} if (rf & 2) {
|
|
@@ -935,6 +935,14 @@ function convertIsoToDate(value, start, end) {
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
+
function convertIsoToDateNoTimezone(value) {
|
|
939
|
+
if (value) {
|
|
940
|
+
const day = parseInt(value.substring(8, 10), 10);
|
|
941
|
+
const month = parseInt(value.substring(5, 7), 10);
|
|
942
|
+
const year = parseInt(value.substring(0, 4), 10);
|
|
943
|
+
return new Date(year, month - 1, day);
|
|
944
|
+
}
|
|
945
|
+
}
|
|
938
946
|
function convertDateToISODate(date) {
|
|
939
947
|
if (date) {
|
|
940
948
|
const getMonth = date.getMonth() + 1;
|
|
@@ -1594,8 +1602,8 @@ PoBreadcrumbDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
1594
1602
|
args: ['p-items']
|
|
1595
1603
|
}] }); })();
|
|
1596
1604
|
|
|
1597
|
-
const _c0$
|
|
1598
|
-
const _c1$
|
|
1605
|
+
const _c0$1s = ["breadcrumb"];
|
|
1606
|
+
const _c1$D = ["dropdownIcon"];
|
|
1599
1607
|
function PoBreadcrumbComponent_li_3_Template(rf, ctx) { if (rf & 1) {
|
|
1600
1608
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
1601
1609
|
i0.ɵɵelementStart(0, "li", 7, 8);
|
|
@@ -1769,8 +1777,8 @@ class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent {
|
|
|
1769
1777
|
}
|
|
1770
1778
|
PoBreadcrumbComponent.ɵfac = function PoBreadcrumbComponent_Factory(t) { return new (t || PoBreadcrumbComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
1771
1779
|
PoBreadcrumbComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoBreadcrumbComponent, selectors: [["po-breadcrumb"]], viewQuery: function PoBreadcrumbComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1772
|
-
i0.ɵɵviewQuery(_c0$
|
|
1773
|
-
i0.ɵɵviewQuery(_c1$
|
|
1780
|
+
i0.ɵɵviewQuery(_c0$1s, 7, ElementRef);
|
|
1781
|
+
i0.ɵɵviewQuery(_c1$D, 5, ElementRef);
|
|
1774
1782
|
} if (rf & 2) {
|
|
1775
1783
|
let _t;
|
|
1776
1784
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.breadcrumbElement = _t.first);
|
|
@@ -2419,13 +2427,10 @@ class PoButtonBaseComponent {
|
|
|
2419
2427
|
*
|
|
2420
2428
|
* 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.
|
|
2421
2429
|
*
|
|
2422
|
-
* >
|
|
2430
|
+
* > A propriedade `p-kind="tertiary"` será inativada ao utilizar esta propriedade.
|
|
2423
2431
|
*/
|
|
2424
2432
|
set danger(value) {
|
|
2425
|
-
this._danger = value;
|
|
2426
|
-
if (this._danger) {
|
|
2427
|
-
this.kind = PoButtonKind.secondary;
|
|
2428
|
-
}
|
|
2433
|
+
this._danger = this.kind !== PoButtonKind.tertiary ? value : false;
|
|
2429
2434
|
}
|
|
2430
2435
|
get danger() {
|
|
2431
2436
|
return this._danger;
|
|
@@ -2445,7 +2450,7 @@ class PoButtonBaseComponent {
|
|
|
2445
2450
|
* @default `secondary`
|
|
2446
2451
|
*/
|
|
2447
2452
|
set kind(value) {
|
|
2448
|
-
this._kind = PoButtonKind[value]
|
|
2453
|
+
this._kind = PoButtonKind[value] ? PoButtonKind[value] : PoButtonKind.secondary;
|
|
2449
2454
|
}
|
|
2450
2455
|
get kind() {
|
|
2451
2456
|
return this._kind;
|
|
@@ -2508,7 +2513,7 @@ __decorate([
|
|
|
2508
2513
|
args: ['p-disabled']
|
|
2509
2514
|
}] }); })();
|
|
2510
2515
|
|
|
2511
|
-
const _c0$
|
|
2516
|
+
const _c0$1r = ["button"];
|
|
2512
2517
|
function PoButtonComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
2513
2518
|
i0.ɵɵelementStart(0, "div", 5);
|
|
2514
2519
|
i0.ɵɵelement(1, "po-loading-icon", 6);
|
|
@@ -2587,7 +2592,7 @@ class PoButtonComponent extends PoButtonBaseComponent {
|
|
|
2587
2592
|
}
|
|
2588
2593
|
PoButtonComponent.ɵfac = /*@__PURE__*/ function () { let ɵPoButtonComponent_BaseFactory; return function PoButtonComponent_Factory(t) { return (ɵPoButtonComponent_BaseFactory || (ɵPoButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoButtonComponent)))(t || PoButtonComponent); }; }();
|
|
2589
2594
|
PoButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonComponent, selectors: [["po-button"]], viewQuery: function PoButtonComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2590
|
-
i0.ɵɵviewQuery(_c0$
|
|
2595
|
+
i0.ɵɵviewQuery(_c0$1r, 7);
|
|
2591
2596
|
} if (rf & 2) {
|
|
2592
2597
|
let _t;
|
|
2593
2598
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonElement = _t.first);
|
|
@@ -4167,7 +4172,7 @@ function PoCalendarHeaderComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
4167
4172
|
i0.ɵɵlistener("click", function PoCalendarHeaderComponent_span_4_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.next.emit(); });
|
|
4168
4173
|
i0.ɵɵelementEnd();
|
|
4169
4174
|
} }
|
|
4170
|
-
const _c0$
|
|
4175
|
+
const _c0$1q = ["*"];
|
|
4171
4176
|
class PoCalendarHeaderComponent {
|
|
4172
4177
|
constructor() {
|
|
4173
4178
|
this.hidePrevious = false;
|
|
@@ -4177,7 +4182,7 @@ class PoCalendarHeaderComponent {
|
|
|
4177
4182
|
}
|
|
4178
4183
|
}
|
|
4179
4184
|
PoCalendarHeaderComponent.ɵfac = function PoCalendarHeaderComponent_Factory(t) { return new (t || PoCalendarHeaderComponent)(); };
|
|
4180
|
-
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$
|
|
4185
|
+
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) { if (rf & 1) {
|
|
4181
4186
|
i0.ɵɵprojectionDef();
|
|
4182
4187
|
i0.ɵɵelementStart(0, "div", 0);
|
|
4183
4188
|
i0.ɵɵtemplate(1, PoCalendarHeaderComponent_span_1_Template, 1, 0, "span", 1);
|
|
@@ -4659,7 +4664,7 @@ function PoCalendarComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if
|
|
|
4659
4664
|
function PoCalendarComponent_ng_template_1_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4660
4665
|
i0.ɵɵelementContainer(0);
|
|
4661
4666
|
} }
|
|
4662
|
-
const _c0$
|
|
4667
|
+
const _c0$1p = function () { return { partType: "end" }; };
|
|
4663
4668
|
function PoCalendarComponent_ng_template_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
4664
4669
|
i0.ɵɵelementContainerStart(0);
|
|
4665
4670
|
i0.ɵɵtemplate(1, PoCalendarComponent_ng_template_1_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
@@ -4668,9 +4673,9 @@ function PoCalendarComponent_ng_template_1_ng_container_2_Template(rf, ctx) { if
|
|
|
4668
4673
|
i0.ɵɵnextContext(2);
|
|
4669
4674
|
const _r5 = i0.ɵɵreference(6);
|
|
4670
4675
|
i0.ɵɵadvance(1);
|
|
4671
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c0$
|
|
4676
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c0$1p));
|
|
4672
4677
|
} }
|
|
4673
|
-
const _c1$
|
|
4678
|
+
const _c1$C = function () { return { partType: "start" }; };
|
|
4674
4679
|
function PoCalendarComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
4675
4680
|
i0.ɵɵelementStart(0, "div", 4);
|
|
4676
4681
|
i0.ɵɵtemplate(1, PoCalendarComponent_ng_template_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
@@ -4680,7 +4685,7 @@ function PoCalendarComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4680
4685
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
4681
4686
|
const _r5 = i0.ɵɵreference(6);
|
|
4682
4687
|
i0.ɵɵadvance(1);
|
|
4683
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c1$
|
|
4688
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c1$C));
|
|
4684
4689
|
i0.ɵɵadvance(1);
|
|
4685
4690
|
i0.ɵɵproperty("ngIf", !ctx_r2.isResponsive);
|
|
4686
4691
|
} }
|
|
@@ -5106,7 +5111,7 @@ PoChartMathsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoCh
|
|
|
5106
5111
|
}]
|
|
5107
5112
|
}], null, null); })();
|
|
5108
5113
|
|
|
5109
|
-
const _c0$
|
|
5114
|
+
const _c0$1o = ["chartLine"];
|
|
5110
5115
|
class PoChartLineBaseComponent {
|
|
5111
5116
|
constructor(mathsService, renderer, elementRef) {
|
|
5112
5117
|
this.mathsService = mathsService;
|
|
@@ -5234,7 +5239,7 @@ class PoChartLineBaseComponent {
|
|
|
5234
5239
|
}
|
|
5235
5240
|
PoChartLineBaseComponent.ɵfac = function PoChartLineBaseComponent_Factory(t) { return new (t || PoChartLineBaseComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
5236
5241
|
PoChartLineBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoChartLineBaseComponent, viewQuery: function PoChartLineBaseComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5237
|
-
i0.ɵɵviewQuery(_c0$
|
|
5242
|
+
i0.ɵɵviewQuery(_c0$1o, 5);
|
|
5238
5243
|
} if (rf & 2) {
|
|
5239
5244
|
let _t;
|
|
5240
5245
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chartLine = _t.first);
|
|
@@ -5273,8 +5278,8 @@ PoChartLineBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Po
|
|
|
5273
5278
|
args: ['p-series']
|
|
5274
5279
|
}] }); })();
|
|
5275
5280
|
|
|
5276
|
-
const _c0$
|
|
5277
|
-
const _c1$
|
|
5281
|
+
const _c0$1n = ["chartPath"];
|
|
5282
|
+
const _c1$B = ["po-chart-path", ""];
|
|
5278
5283
|
const pathDashoffsetDefaultWidth = 0;
|
|
5279
5284
|
class PoChartPathComponent {
|
|
5280
5285
|
constructor(changeDetector) {
|
|
@@ -5314,11 +5319,11 @@ class PoChartPathComponent {
|
|
|
5314
5319
|
}
|
|
5315
5320
|
PoChartPathComponent.ɵfac = function PoChartPathComponent_Factory(t) { return new (t || PoChartPathComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
5316
5321
|
PoChartPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPathComponent, selectors: [["", "po-chart-path", ""]], viewQuery: function PoChartPathComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5317
|
-
i0.ɵɵviewQuery(_c0$
|
|
5322
|
+
i0.ɵɵviewQuery(_c0$1n, 7);
|
|
5318
5323
|
} if (rf & 2) {
|
|
5319
5324
|
let _t;
|
|
5320
5325
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chartPath = _t.first);
|
|
5321
|
-
} }, 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$
|
|
5326
|
+
} }, 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) { if (rf & 1) {
|
|
5322
5327
|
i0.ɵɵnamespaceSVG();
|
|
5323
5328
|
i0.ɵɵelement(0, "path", 0, 1);
|
|
5324
5329
|
} if (rf & 2) {
|
|
@@ -5355,7 +5360,7 @@ __decorate([
|
|
|
5355
5360
|
args: ['p-animate']
|
|
5356
5361
|
}] }); })();
|
|
5357
5362
|
|
|
5358
|
-
const _c0$
|
|
5363
|
+
const _c0$1m = ["po-chart-series-point", ""];
|
|
5359
5364
|
function PoChartSeriesPointComponent__svg_circle_0_Template(rf, ctx) { if (rf & 1) {
|
|
5360
5365
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
5361
5366
|
i0.ɵɵnamespaceSVG();
|
|
@@ -5433,7 +5438,7 @@ class PoChartSeriesPointComponent {
|
|
|
5433
5438
|
}
|
|
5434
5439
|
}
|
|
5435
5440
|
PoChartSeriesPointComponent.ɵfac = function PoChartSeriesPointComponent_Factory(t) { return new (t || PoChartSeriesPointComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
5436
|
-
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$
|
|
5441
|
+
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) { if (rf & 1) {
|
|
5437
5442
|
i0.ɵɵtemplate(0, PoChartSeriesPointComponent__svg_circle_0_Template, 1, 11, "circle", 0);
|
|
5438
5443
|
i0.ɵɵpipe(1, "async");
|
|
5439
5444
|
} if (rf & 2) {
|
|
@@ -5474,7 +5479,7 @@ __decorate([
|
|
|
5474
5479
|
args: ['p-coordinates']
|
|
5475
5480
|
}] }); })();
|
|
5476
5481
|
|
|
5477
|
-
const _c0$
|
|
5482
|
+
const _c0$1l = ["po-chart-area", ""];
|
|
5478
5483
|
function PoChartAreaComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
|
|
5479
5484
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
5480
5485
|
i0.ɵɵnamespaceSVG();
|
|
@@ -5556,7 +5561,7 @@ class PoChartAreaComponent extends PoChartLineBaseComponent {
|
|
|
5556
5561
|
}
|
|
5557
5562
|
}
|
|
5558
5563
|
PoChartAreaComponent.ɵfac = function PoChartAreaComponent_Factory(t) { return new (t || PoChartAreaComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
5559
|
-
PoChartAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAreaComponent, selectors: [["", "po-chart-area", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
5564
|
+
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) { if (rf & 1) {
|
|
5560
5565
|
i0.ɵɵnamespaceSVG();
|
|
5561
5566
|
i0.ɵɵelementStart(0, "g", null, 0);
|
|
5562
5567
|
i0.ɵɵtemplate(2, PoChartAreaComponent__svg_g_2_Template, 3, 15, "g", 1);
|
|
@@ -5570,7 +5575,7 @@ PoChartAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChar
|
|
|
5570
5575
|
args: [{ selector: '[po-chart-area]', template: "<svg:g #chartLine>\n\n <svg:g *ngFor=\"let item of seriesPathsCoordinates; let i = index; trackBy: trackBy\"\n [class]=\"'po-chart-line-path-group-' + i\"\n (mouseenter)=\"onEnter(i)\"\n (mouseleave)=\"onLeave(i)\"\n >\n <!-- SERIES PATHS -->\n <svg:g po-chart-path\n [p-chart-line]=\"chartType === 'line'\"\n [attr.key]=\"'po-chart-line-path-' + i\"\n [p-animate]=\"animate\"\n [p-color]=\"item.color\" \n [p-coordinates]=\"item?.coordinates\"\n [p-is-active]=\"item.isActive\"\n >\n </svg:g>\n\n <!-- SERIES POINTS -->\n <svg:g po-chart-series-point\n [p-animate]=\"animate\"\n [p-chart-line]=\"chartType === 'line'\"\n [p-color]=\"item.color\"\n [p-coordinates]=\"seriesPointsCoordinates[i]\"\n [p-is-active]=\"activeTooltip\"\n [p-relative-to]=\"'po-chart-line-path-group-' + i\" \n [attr.key]=\"'po-chart-line-path-points-group-' + i\"\n (p-point-click)=\"onSeriePointClick($event)\"\n (p-point-hover)=\"onSeriePointHover($event)\"\n ></svg:g>\n </svg:g>\n\n</svg:g>" }]
|
|
5571
5576
|
}], function () { return [{ type: PoChartMathsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, null); })();
|
|
5572
5577
|
|
|
5573
|
-
const _c0$
|
|
5578
|
+
const _c0$1k = ["po-chart-axis-path", ""];
|
|
5574
5579
|
function PoChartAxisPathComponent__svg_path_1_Template(rf, ctx) { if (rf & 1) {
|
|
5575
5580
|
i0.ɵɵnamespaceSVG();
|
|
5576
5581
|
i0.ɵɵelement(0, "path", 1);
|
|
@@ -5592,7 +5597,7 @@ class PoChartAxisPathComponent {
|
|
|
5592
5597
|
}
|
|
5593
5598
|
}
|
|
5594
5599
|
PoChartAxisPathComponent.ɵfac = function PoChartAxisPathComponent_Factory(t) { return new (t || PoChartAxisPathComponent)(); };
|
|
5595
|
-
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$
|
|
5600
|
+
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) { if (rf & 1) {
|
|
5596
5601
|
i0.ɵɵnamespaceSVG();
|
|
5597
5602
|
i0.ɵɵelementStart(0, "g");
|
|
5598
5603
|
i0.ɵɵtemplate(1, PoChartAxisPathComponent__svg_path_1_Template, 1, 1, "path", 0);
|
|
@@ -5617,7 +5622,7 @@ PoChartAxisPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
|
|
|
5617
5622
|
args: ['p-axis-y-coordinates']
|
|
5618
5623
|
}] }); })();
|
|
5619
5624
|
|
|
5620
|
-
const _c0$
|
|
5625
|
+
const _c0$1j = ["po-chart-axis-label", ""];
|
|
5621
5626
|
function PoChartAxisLabelComponent__svg_text_1_Template(rf, ctx) { if (rf & 1) {
|
|
5622
5627
|
i0.ɵɵnamespaceSVG();
|
|
5623
5628
|
i0.ɵɵelementStart(0, "text", 2);
|
|
@@ -5651,7 +5656,7 @@ class PoChartAxisLabelComponent {
|
|
|
5651
5656
|
}
|
|
5652
5657
|
}
|
|
5653
5658
|
PoChartAxisLabelComponent.ɵfac = function PoChartAxisLabelComponent_Factory(t) { return new (t || PoChartAxisLabelComponent)(); };
|
|
5654
|
-
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$
|
|
5659
|
+
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) { if (rf & 1) {
|
|
5655
5660
|
i0.ɵɵnamespaceSVG();
|
|
5656
5661
|
i0.ɵɵelementStart(0, "g");
|
|
5657
5662
|
i0.ɵɵtemplate(1, PoChartAxisLabelComponent__svg_text_1_Template, 2, 3, "text", 0);
|
|
@@ -5682,7 +5687,7 @@ PoChartAxisLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: P
|
|
|
5682
5687
|
args: ['p-type']
|
|
5683
5688
|
}] }); })();
|
|
5684
5689
|
|
|
5685
|
-
const _c0$
|
|
5690
|
+
const _c0$1i = ["po-chart-axis", ""];
|
|
5686
5691
|
class PoChartAxisComponent {
|
|
5687
5692
|
constructor(mathsService) {
|
|
5688
5693
|
this.mathsService = mathsService;
|
|
@@ -5947,7 +5952,7 @@ class PoChartAxisComponent {
|
|
|
5947
5952
|
}
|
|
5948
5953
|
}
|
|
5949
5954
|
PoChartAxisComponent.ɵfac = function PoChartAxisComponent_Factory(t) { return new (t || PoChartAxisComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
5950
|
-
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$
|
|
5955
|
+
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) { if (rf & 1) {
|
|
5951
5956
|
i0.ɵɵnamespaceSVG();
|
|
5952
5957
|
i0.ɵɵelement(0, "g", 0)(1, "g", 1);
|
|
5953
5958
|
} if (rf & 2) {
|
|
@@ -6084,7 +6089,7 @@ PoChartBarBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoC
|
|
|
6084
6089
|
args: ['p-series']
|
|
6085
6090
|
}] }); })();
|
|
6086
6091
|
|
|
6087
|
-
const _c0$
|
|
6092
|
+
const _c0$1h = ["po-chart-bar-path", ""];
|
|
6088
6093
|
function PoChartBarPathComponent__svg_path_0_Template(rf, ctx) { if (rf & 1) {
|
|
6089
6094
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
6090
6095
|
i0.ɵɵnamespaceSVG();
|
|
@@ -6116,7 +6121,7 @@ class PoChartBarPathComponent {
|
|
|
6116
6121
|
}
|
|
6117
6122
|
}
|
|
6118
6123
|
PoChartBarPathComponent.ɵfac = function PoChartBarPathComponent_Factory(t) { return new (t || PoChartBarPathComponent)(); };
|
|
6119
|
-
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$
|
|
6124
|
+
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) { if (rf & 1) {
|
|
6120
6125
|
i0.ɵɵtemplate(0, PoChartBarPathComponent__svg_path_0_Template, 1, 7, "path", 0);
|
|
6121
6126
|
} if (rf & 2) {
|
|
6122
6127
|
i0.ɵɵproperty("ngForOf", ctx.coordinates)("ngForTrackBy", ctx.trackBy);
|
|
@@ -6141,7 +6146,7 @@ PoChartBarPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoC
|
|
|
6141
6146
|
args: ['p-bar-hover']
|
|
6142
6147
|
}] }); })();
|
|
6143
6148
|
|
|
6144
|
-
const _c0$
|
|
6149
|
+
const _c0$1g = ["po-chart-bar", ""];
|
|
6145
6150
|
function PoChartBarComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
6146
6151
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
6147
6152
|
i0.ɵɵnamespaceSVG();
|
|
@@ -6202,7 +6207,7 @@ class PoChartBarComponent extends PoChartBarBaseComponent {
|
|
|
6202
6207
|
}
|
|
6203
6208
|
}
|
|
6204
6209
|
PoChartBarComponent.ɵfac = function PoChartBarComponent_Factory(t) { return new (t || PoChartBarComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
6205
|
-
PoChartBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarComponent, selectors: [["", "po-chart-bar", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
6210
|
+
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) { if (rf & 1) {
|
|
6206
6211
|
i0.ɵɵnamespaceSVG();
|
|
6207
6212
|
i0.ɵɵelementStart(0, "g");
|
|
6208
6213
|
i0.ɵɵtemplate(1, PoChartBarComponent__svg_g_1_Template, 2, 6, "g", 0);
|
|
@@ -6216,7 +6221,7 @@ PoChartBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChart
|
|
|
6216
6221
|
args: [{ selector: '[po-chart-bar]', template: "<svg:g>\n <svg:g *ngFor=\"let item of seriesPathsCoordinates; let i = index; trackBy: trackBy\"\n [class]=\"'po-chart-bar-group-' + i\"\n >\n <!-- SERIES PATHS -->\n <svg:g po-chart-bar-path\n [attr.key]=\"'po-chart-bar-path-' + i\"\n [p-color]=\"item[0]?.color\" \n [p-coordinates]=\"item\"\n [p-tooltip-position]=\"tooltipPosition\"\n (p-bar-click)=\"onSerieBarClick($event)\"\n (p-bar-hover)=\"onSerieBarHover($event)\"\n >\n </svg:g>\n </svg:g>\n</svg:g>" }]
|
|
6217
6222
|
}], function () { return [{ type: PoChartMathsService }]; }, null); })();
|
|
6218
6223
|
|
|
6219
|
-
const _c0$
|
|
6224
|
+
const _c0$1f = ["po-chart-column", ""];
|
|
6220
6225
|
function PoChartColumnComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
6221
6226
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
6222
6227
|
i0.ɵɵnamespaceSVG();
|
|
@@ -6278,7 +6283,7 @@ class PoChartColumnComponent extends PoChartBarBaseComponent {
|
|
|
6278
6283
|
}
|
|
6279
6284
|
}
|
|
6280
6285
|
PoChartColumnComponent.ɵfac = function PoChartColumnComponent_Factory(t) { return new (t || PoChartColumnComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
6281
|
-
PoChartColumnComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartColumnComponent, selectors: [["", "po-chart-column", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
6286
|
+
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) { if (rf & 1) {
|
|
6282
6287
|
i0.ɵɵnamespaceSVG();
|
|
6283
6288
|
i0.ɵɵelementStart(0, "g");
|
|
6284
6289
|
i0.ɵɵtemplate(1, PoChartColumnComponent__svg_g_1_Template, 2, 6, "g", 0);
|
|
@@ -6778,7 +6783,7 @@ PoResizeObserverDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: P
|
|
|
6778
6783
|
args: ['p-resize-observer']
|
|
6779
6784
|
}] }); })();
|
|
6780
6785
|
|
|
6781
|
-
const _c0$
|
|
6786
|
+
const _c0$1e = ["po-chart-line", ""];
|
|
6782
6787
|
function PoChartLineComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
|
|
6783
6788
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
6784
6789
|
i0.ɵɵnamespaceSVG();
|
|
@@ -6826,7 +6831,7 @@ class PoChartLineComponent extends PoChartLineBaseComponent {
|
|
|
6826
6831
|
}
|
|
6827
6832
|
}
|
|
6828
6833
|
PoChartLineComponent.ɵfac = function PoChartLineComponent_Factory(t) { return new (t || PoChartLineComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
6829
|
-
PoChartLineComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartLineComponent, selectors: [["", "po-chart-line", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
6834
|
+
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) { if (rf & 1) {
|
|
6830
6835
|
i0.ɵɵnamespaceSVG();
|
|
6831
6836
|
i0.ɵɵelementStart(0, "g", null, 0);
|
|
6832
6837
|
i0.ɵɵtemplate(2, PoChartLineComponent__svg_g_2_Template, 3, 15, "g", 1);
|
|
@@ -6840,8 +6845,8 @@ PoChartLineComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChar
|
|
|
6840
6845
|
args: [{ selector: '[po-chart-line]', template: "<svg:g #chartLine>\n\n <svg:g *ngFor=\"let item of seriesPathsCoordinates; let i = index; trackBy: trackBy\"\n [class]=\"'po-chart-line-path-group-' + i\"\n (mouseenter)=\"onEnter(i)\"\n (mouseleave)=\"onLeave(i)\"\n >\n <!-- SERIES PATHS -->\n <svg:g po-chart-path\n [p-chart-line]=\"chartType === 'line'\"\n [attr.key]=\"'po-chart-line-path-' + i\"\n [p-animate]=\"animate\"\n [p-color]=\"item.color\" \n [p-coordinates]=\"item?.coordinates\"\n [p-is-active]=\"item.isActive\"\n >\n </svg:g>\n\n <!-- SERIES POINTS -->\n <svg:g po-chart-series-point\n [p-animate]=\"animate\"\n [p-chart-line]=\"chartType === 'line'\"\n [p-color]=\"item.color\"\n [p-coordinates]=\"seriesPointsCoordinates[i]\"\n [p-is-active]=\"activeTooltip\"\n [p-relative-to]=\"'po-chart-line-path-group-' + i\" \n [attr.key]=\"'po-chart-line-path-points-group-' + i\"\n (p-point-click)=\"onSeriePointClick($event)\"\n (p-point-hover)=\"onSeriePointHover($event)\"\n ></svg:g>\n </svg:g>\n\n</svg:g>" }]
|
|
6841
6846
|
}], function () { return [{ type: PoChartMathsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, null); })();
|
|
6842
6847
|
|
|
6843
|
-
const _c0$
|
|
6844
|
-
const _c1$
|
|
6848
|
+
const _c0$1d = ["svgPaths"];
|
|
6849
|
+
const _c1$A = ["svgLabels"];
|
|
6845
6850
|
class PoChartCircularComponent {
|
|
6846
6851
|
constructor(ngZone, changeDetector) {
|
|
6847
6852
|
this.ngZone = ngZone;
|
|
@@ -6966,8 +6971,8 @@ class PoChartCircularComponent {
|
|
|
6966
6971
|
}
|
|
6967
6972
|
PoChartCircularComponent.ɵfac = function PoChartCircularComponent_Factory(t) { return new (t || PoChartCircularComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
6968
6973
|
PoChartCircularComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoChartCircularComponent, viewQuery: function PoChartCircularComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6969
|
-
i0.ɵɵviewQuery(_c0$
|
|
6970
|
-
i0.ɵɵviewQuery(_c1$
|
|
6974
|
+
i0.ɵɵviewQuery(_c0$1d, 5);
|
|
6975
|
+
i0.ɵɵviewQuery(_c1$A, 5);
|
|
6971
6976
|
} if (rf & 2) {
|
|
6972
6977
|
let _t;
|
|
6973
6978
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgPaths = _t);
|
|
@@ -7080,8 +7085,8 @@ PoChartTooltipDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoC
|
|
|
7080
7085
|
args: ['mousemove', ['$event']]
|
|
7081
7086
|
}] }); })();
|
|
7082
7087
|
|
|
7083
|
-
const _c0$
|
|
7084
|
-
const _c1$
|
|
7088
|
+
const _c0$1c = ["svgPath"];
|
|
7089
|
+
const _c1$z = ["po-chart-circular-path", ""];
|
|
7085
7090
|
class PoChartCircularPathComponent {
|
|
7086
7091
|
constructor(renderer) {
|
|
7087
7092
|
this.renderer = renderer;
|
|
@@ -7102,11 +7107,11 @@ class PoChartCircularPathComponent {
|
|
|
7102
7107
|
}
|
|
7103
7108
|
PoChartCircularPathComponent.ɵfac = function PoChartCircularPathComponent_Factory(t) { return new (t || PoChartCircularPathComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
7104
7109
|
PoChartCircularPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartCircularPathComponent, selectors: [["", "po-chart-circular-path", ""]], viewQuery: function PoChartCircularPathComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7105
|
-
i0.ɵɵviewQuery(_c0$
|
|
7110
|
+
i0.ɵɵviewQuery(_c0$1c, 5, ElementRef);
|
|
7106
7111
|
} if (rf & 2) {
|
|
7107
7112
|
let _t;
|
|
7108
7113
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgPath = _t.first);
|
|
7109
|
-
} }, inputs: { serie: ["p-serie", "serie"] }, outputs: { onClick: "p-on-click", onHover: "p-on-hover" }, attrs: _c1$
|
|
7114
|
+
} }, 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) { if (rf & 1) {
|
|
7110
7115
|
i0.ɵɵnamespaceSVG();
|
|
7111
7116
|
i0.ɵɵelementStart(0, "path", 0, 1);
|
|
7112
7117
|
i0.ɵɵlistener("click", function PoChartCircularPathComponent_Template__svg_path_click_0_listener() { return ctx.onMouseClick(); })("mouseenter", function PoChartCircularPathComponent_Template__svg_path_mouseenter_0_listener() { return ctx.onMouseEnter(); });
|
|
@@ -7133,8 +7138,8 @@ PoChartCircularPathComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
7133
7138
|
args: ['svgPath', { read: ElementRef }]
|
|
7134
7139
|
}] }); })();
|
|
7135
7140
|
|
|
7136
|
-
const _c0$
|
|
7137
|
-
const _c1$
|
|
7141
|
+
const _c0$1b = ["svgLabel"];
|
|
7142
|
+
const _c1$y = ["po-chart-circular-label", ""];
|
|
7138
7143
|
class PoChartCircularLabelComponent {
|
|
7139
7144
|
constructor(changeDetection, renderer) {
|
|
7140
7145
|
this.changeDetection = changeDetection;
|
|
@@ -7149,11 +7154,11 @@ class PoChartCircularLabelComponent {
|
|
|
7149
7154
|
}
|
|
7150
7155
|
PoChartCircularLabelComponent.ɵfac = function PoChartCircularLabelComponent_Factory(t) { return new (t || PoChartCircularLabelComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
7151
7156
|
PoChartCircularLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartCircularLabelComponent, selectors: [["", "po-chart-circular-label", ""]], viewQuery: function PoChartCircularLabelComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7152
|
-
i0.ɵɵviewQuery(_c0$
|
|
7157
|
+
i0.ɵɵviewQuery(_c0$1b, 5, ElementRef);
|
|
7153
7158
|
} if (rf & 2) {
|
|
7154
7159
|
let _t;
|
|
7155
7160
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgLabel = _t.first);
|
|
7156
|
-
} }, inputs: { serie: ["p-serie", "serie"], showLabel: ["p-show-label", "showLabel"] }, attrs: _c1$
|
|
7161
|
+
} }, 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) { if (rf & 1) {
|
|
7157
7162
|
i0.ɵɵnamespaceSVG();
|
|
7158
7163
|
i0.ɵɵelementStart(0, "text", 0, 1);
|
|
7159
7164
|
i0.ɵɵtext(2);
|
|
@@ -7178,7 +7183,7 @@ PoChartCircularLabelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
7178
7183
|
args: ['svgLabel', { read: ElementRef }]
|
|
7179
7184
|
}] }); })();
|
|
7180
7185
|
|
|
7181
|
-
const _c0$
|
|
7186
|
+
const _c0$1a = ["po-chart-pie", ""];
|
|
7182
7187
|
function PoChartPieComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
7183
7188
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
7184
7189
|
i0.ɵɵnamespaceSVG();
|
|
@@ -7260,7 +7265,7 @@ class PoChartPieComponent extends PoChartCircularComponent {
|
|
|
7260
7265
|
}
|
|
7261
7266
|
}
|
|
7262
7267
|
PoChartPieComponent.ɵfac = function PoChartPieComponent_Factory(t) { return new (t || PoChartPieComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
7263
|
-
PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPieComponent, selectors: [["", "po-chart-pie", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$
|
|
7268
|
+
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) { if (rf & 1) {
|
|
7264
7269
|
i0.ɵɵnamespaceSVG();
|
|
7265
7270
|
i0.ɵɵelementStart(0, "g");
|
|
7266
7271
|
i0.ɵɵtemplate(1, PoChartPieComponent__svg_g_1_Template, 3, 2, "g", 0);
|
|
@@ -7277,7 +7282,7 @@ PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChart
|
|
|
7277
7282
|
args: [{ selector: '[po-chart-pie]', template: "<svg:g>\n <!-- SERIES PATHS -->\n <svg:g *ngFor=\"let item of seriesList; let i = index\">\n <svg:g #svgPaths po-chart-circular-path\n [attr.key]=\"'po-chart-circular-path-' + i\"\n [p-serie]=\"item\"\n (p-on-click)=\"onSerieClick($event)\"\n (p-on-hover)=\"onSerieHover($event)\">\n </svg:g>\n </svg:g>\n\n <!-- SERIES LABELS -->\n <svg:g *ngIf=\"canDisplayLabels\">\n <svg:g *ngFor=\"let item of seriesLabels; let i = index\">\n <svg:g #svgLabels po-chart-circular-label\n [attr.key]=\"'po-chart-circular-label-' + i\"\n [p-serie]=\"item\"\n [p-show-label]=\"showLabels\">\n </svg:g>\n </svg:g>\n </svg:g>\n</svg:g>\n\n" }]
|
|
7278
7283
|
}], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
7279
7284
|
|
|
7280
|
-
const _c0$
|
|
7285
|
+
const _c0$19 = ["po-chart-donut", ""];
|
|
7281
7286
|
function PoChartDonutComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
7282
7287
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
7283
7288
|
i0.ɵɵnamespaceSVG();
|
|
@@ -7414,7 +7419,7 @@ class PoChartDonutComponent extends PoChartCircularComponent {
|
|
|
7414
7419
|
}
|
|
7415
7420
|
}
|
|
7416
7421
|
PoChartDonutComponent.ɵfac = function PoChartDonutComponent_Factory(t) { return new (t || PoChartDonutComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
7417
|
-
PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartDonutComponent, selectors: [["", "po-chart-donut", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$
|
|
7422
|
+
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) { if (rf & 1) {
|
|
7418
7423
|
i0.ɵɵnamespaceSVG();
|
|
7419
7424
|
i0.ɵɵelementStart(0, "g");
|
|
7420
7425
|
i0.ɵɵtemplate(1, PoChartDonutComponent__svg_g_1_Template, 3, 2, "g", 0);
|
|
@@ -7431,7 +7436,7 @@ PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCha
|
|
|
7431
7436
|
args: [{ selector: '[po-chart-donut]', template: "<svg:g>\n <!-- SERIES PATHS -->\n <svg:g *ngFor=\"let item of seriesList; let i = index\">\n <svg:g #svgPaths po-chart-circular-path\n [attr.key]=\"'po-chart-circular-path-' + i\"\n [p-serie]=\"item\"\n (p-on-click)=\"onSerieClick($event)\"\n (p-on-hover)=\"onSerieHover($event)\">\n </svg:g>\n </svg:g>\n\n <!-- SERIES LABELS -->\n <svg:g *ngIf=\"canDisplayLabels\">\n <svg:g *ngFor=\"let item of seriesLabels; let i = index\">\n <svg:g #svgLabels po-chart-circular-label\n [attr.key]=\"'po-chart-circular-label-' + i\"\n [p-serie]=\"item\"\n [p-show-label]=\"showLabels\">\n </svg:g>\n </svg:g>\n </svg:g>\n</svg:g>\n\n" }]
|
|
7432
7437
|
}], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
7433
7438
|
|
|
7434
|
-
const _c0$
|
|
7439
|
+
const _c0$18 = ["svgELement"];
|
|
7435
7440
|
function PoChartContainerComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
|
|
7436
7441
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
7437
7442
|
i0.ɵɵnamespaceSVG();
|
|
@@ -7601,7 +7606,7 @@ class PoChartContainerComponent {
|
|
|
7601
7606
|
}
|
|
7602
7607
|
PoChartContainerComponent.ɵfac = function PoChartContainerComponent_Factory(t) { return new (t || PoChartContainerComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
|
|
7603
7608
|
PoChartContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartContainerComponent, selectors: [["po-chart-container"]], viewQuery: function PoChartContainerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7604
|
-
i0.ɵɵviewQuery(_c0$
|
|
7609
|
+
i0.ɵɵviewQuery(_c0$18, 7);
|
|
7605
7610
|
} if (rf & 2) {
|
|
7606
7611
|
let _t;
|
|
7607
7612
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgELement = _t.first);
|
|
@@ -7704,9 +7709,9 @@ PoChartLegendComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCh
|
|
|
7704
7709
|
args: ['p-series']
|
|
7705
7710
|
}] }); })();
|
|
7706
7711
|
|
|
7707
|
-
const _c0$
|
|
7708
|
-
const _c1$
|
|
7709
|
-
const _c2$
|
|
7712
|
+
const _c0$17 = ["chartContainer"];
|
|
7713
|
+
const _c1$x = ["chartHeader"];
|
|
7714
|
+
const _c2$g = ["chartLegend"];
|
|
7710
7715
|
const _c3$9 = ["chartWrapper"];
|
|
7711
7716
|
function PoChartComponent_ng_template_7_Template(rf, ctx) { }
|
|
7712
7717
|
function PoChartComponent_div_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -7889,9 +7894,9 @@ class PoChartComponent extends PoChartBaseComponent {
|
|
|
7889
7894
|
}
|
|
7890
7895
|
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)); };
|
|
7891
7896
|
PoChartComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartComponent, selectors: [["po-chart"]], viewQuery: function PoChartComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7892
|
-
i0.ɵɵviewQuery(_c0$
|
|
7893
|
-
i0.ɵɵviewQuery(_c1$
|
|
7894
|
-
i0.ɵɵviewQuery(_c2$
|
|
7897
|
+
i0.ɵɵviewQuery(_c0$17, 7, ViewContainerRef);
|
|
7898
|
+
i0.ɵɵviewQuery(_c1$x, 7);
|
|
7899
|
+
i0.ɵɵviewQuery(_c2$g, 5, ElementRef);
|
|
7895
7900
|
i0.ɵɵviewQuery(_c3$9, 7);
|
|
7896
7901
|
} if (rf & 2) {
|
|
7897
7902
|
let _t;
|
|
@@ -8094,7 +8099,7 @@ PoContainerBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: Po
|
|
|
8094
8099
|
args: ['p-no-shadow']
|
|
8095
8100
|
}] }); })();
|
|
8096
8101
|
|
|
8097
|
-
const _c0$
|
|
8102
|
+
const _c0$16 = ["*"];
|
|
8098
8103
|
/**
|
|
8099
8104
|
* @docsExtends PoContainerBaseComponent
|
|
8100
8105
|
*
|
|
@@ -8119,7 +8124,7 @@ const _c0$15 = ["*"];
|
|
|
8119
8124
|
class PoContainerComponent extends PoContainerBaseComponent {
|
|
8120
8125
|
}
|
|
8121
8126
|
PoContainerComponent.ɵfac = /*@__PURE__*/ function () { let ɵPoContainerComponent_BaseFactory; return function PoContainerComponent_Factory(t) { return (ɵPoContainerComponent_BaseFactory || (ɵPoContainerComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoContainerComponent)))(t || PoContainerComponent); }; }();
|
|
8122
|
-
PoContainerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoContainerComponent, selectors: [["po-container"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
8127
|
+
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) { if (rf & 1) {
|
|
8123
8128
|
i0.ɵɵprojectionDef();
|
|
8124
8129
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8125
8130
|
i0.ɵɵprojection(1);
|
|
@@ -8920,7 +8925,7 @@ PoPopupBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPopu
|
|
|
8920
8925
|
args: ['p-target']
|
|
8921
8926
|
}] }); })();
|
|
8922
8927
|
|
|
8923
|
-
const _c0$
|
|
8928
|
+
const _c0$15 = ["popupRef"];
|
|
8924
8929
|
function PoPopupComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
8925
8930
|
i0.ɵɵelement(0, "div");
|
|
8926
8931
|
} if (rf & 2) {
|
|
@@ -8975,8 +8980,8 @@ function PoPopupComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
8975
8980
|
i0.ɵɵadvance(3);
|
|
8976
8981
|
i0.ɵɵproperty("ngForOf", ctx_r0.actions);
|
|
8977
8982
|
} }
|
|
8978
|
-
const _c1$
|
|
8979
|
-
const _c2$
|
|
8983
|
+
const _c1$w = [[["", "p-popup-header-template", ""]]];
|
|
8984
|
+
const _c2$f = ["[p-popup-header-template]"];
|
|
8980
8985
|
/**
|
|
8981
8986
|
*
|
|
8982
8987
|
* @docsExtends PoPopupBaseComponent
|
|
@@ -9125,12 +9130,12 @@ class PoPopupComponent extends PoPopupBaseComponent {
|
|
|
9125
9130
|
}
|
|
9126
9131
|
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)); };
|
|
9127
9132
|
PoPopupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopupComponent, selectors: [["po-popup"]], viewQuery: function PoPopupComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9128
|
-
i0.ɵɵviewQuery(_c0$
|
|
9133
|
+
i0.ɵɵviewQuery(_c0$15, 5, ElementRef);
|
|
9129
9134
|
} if (rf & 2) {
|
|
9130
9135
|
let _t;
|
|
9131
9136
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popupRef = _t.first);
|
|
9132
|
-
} }, features: [i0.ɵɵProvidersFeature([PoControlPositionService]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$
|
|
9133
|
-
i0.ɵɵprojectionDef(_c1$
|
|
9137
|
+
} }, 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) { if (rf & 1) {
|
|
9138
|
+
i0.ɵɵprojectionDef(_c1$w);
|
|
9134
9139
|
i0.ɵɵtemplate(0, PoPopupComponent_div_0_Template, 6, 2, "div", 0);
|
|
9135
9140
|
} if (rf & 2) {
|
|
9136
9141
|
i0.ɵɵproperty("ngIf", ctx.showPopup);
|
|
@@ -9240,9 +9245,9 @@ PoDropdownBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoD
|
|
|
9240
9245
|
args: ['p-disabled']
|
|
9241
9246
|
}] }); })();
|
|
9242
9247
|
|
|
9243
|
-
const _c0$
|
|
9244
|
-
const _c1$
|
|
9245
|
-
const _c2$
|
|
9248
|
+
const _c0$14 = ["dropdownRef"];
|
|
9249
|
+
const _c1$v = ["popupRef"];
|
|
9250
|
+
const _c2$e = function (a0) { return { "po-dropdown-button-disabled": a0 }; };
|
|
9246
9251
|
const _c3$8 = function () { return ["bottom-left", "top-left"]; };
|
|
9247
9252
|
/**
|
|
9248
9253
|
* @docsExtends PoDropdownBaseComponent
|
|
@@ -9326,8 +9331,8 @@ class PoDropdownComponent extends PoDropdownBaseComponent {
|
|
|
9326
9331
|
}
|
|
9327
9332
|
PoDropdownComponent.ɵfac = function PoDropdownComponent_Factory(t) { return new (t || PoDropdownComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
9328
9333
|
PoDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDropdownComponent, selectors: [["po-dropdown"]], viewQuery: function PoDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9329
|
-
i0.ɵɵviewQuery(_c0$
|
|
9330
|
-
i0.ɵɵviewQuery(_c1$
|
|
9334
|
+
i0.ɵɵviewQuery(_c0$14, 7, ElementRef);
|
|
9335
|
+
i0.ɵɵviewQuery(_c1$v, 5);
|
|
9331
9336
|
} if (rf & 2) {
|
|
9332
9337
|
let _t;
|
|
9333
9338
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownRef = _t.first);
|
|
@@ -9345,7 +9350,7 @@ PoDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDropd
|
|
|
9345
9350
|
const _r0 = i0.ɵɵreference(1);
|
|
9346
9351
|
i0.ɵɵpropertyInterpolate("tabindex", ctx.disabled ? -1 : 0);
|
|
9347
9352
|
i0.ɵɵadvance(2);
|
|
9348
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$
|
|
9353
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c2$e, ctx.disabled));
|
|
9349
9354
|
i0.ɵɵadvance(1);
|
|
9350
9355
|
i0.ɵɵtextInterpolate1(" ", ctx.label, " ");
|
|
9351
9356
|
i0.ɵɵadvance(1);
|
|
@@ -9460,7 +9465,7 @@ function PoFieldContainerComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
9460
9465
|
i0.ɵɵadvance(1);
|
|
9461
9466
|
i0.ɵɵtextInterpolate(ctx_r1.help);
|
|
9462
9467
|
} }
|
|
9463
|
-
const _c0$
|
|
9468
|
+
const _c0$13 = ["*"];
|
|
9464
9469
|
/**
|
|
9465
9470
|
* @docsPrivate
|
|
9466
9471
|
*
|
|
@@ -9483,7 +9488,7 @@ class PoFieldContainerComponent {
|
|
|
9483
9488
|
}
|
|
9484
9489
|
}
|
|
9485
9490
|
PoFieldContainerComponent.ɵfac = function PoFieldContainerComponent_Factory(t) { return new (t || PoFieldContainerComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
9486
|
-
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$
|
|
9491
|
+
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) { if (rf & 1) {
|
|
9487
9492
|
i0.ɵɵprojectionDef();
|
|
9488
9493
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "span", 2);
|
|
9489
9494
|
i0.ɵɵtext(3);
|
|
@@ -9892,7 +9897,7 @@ __decorate([
|
|
|
9892
9897
|
args: ['p-required']
|
|
9893
9898
|
}] }); })();
|
|
9894
9899
|
|
|
9895
|
-
const _c0$
|
|
9900
|
+
const _c0$12 = ["checkboxLabel"];
|
|
9896
9901
|
function PoCheckboxGroupComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
9897
9902
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
9898
9903
|
i0.ɵɵelementStart(0, "div");
|
|
@@ -9986,7 +9991,7 @@ class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent {
|
|
|
9986
9991
|
}
|
|
9987
9992
|
PoCheckboxGroupComponent.ɵfac = function PoCheckboxGroupComponent_Factory(t) { return new (t || PoCheckboxGroupComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
9988
9993
|
PoCheckboxGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxGroupComponent, selectors: [["po-checkbox-group"]], viewQuery: function PoCheckboxGroupComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9989
|
-
i0.ɵɵviewQuery(_c0$
|
|
9994
|
+
i0.ɵɵviewQuery(_c0$12, 5);
|
|
9990
9995
|
} if (rf & 2) {
|
|
9991
9996
|
let _t;
|
|
9992
9997
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabels = _t);
|
|
@@ -10884,7 +10889,12 @@ class PoDatepickerBaseComponent {
|
|
|
10884
10889
|
return this._locale || this.shortLanguage;
|
|
10885
10890
|
}
|
|
10886
10891
|
set date(value) {
|
|
10887
|
-
this.
|
|
10892
|
+
if (this.isExtendedISO) {
|
|
10893
|
+
this._date = typeof value === 'string' ? convertIsoToDate(value, false, false) : value;
|
|
10894
|
+
}
|
|
10895
|
+
else {
|
|
10896
|
+
this._date = typeof value === 'string' ? convertIsoToDateNoTimezone(value) : value;
|
|
10897
|
+
}
|
|
10888
10898
|
}
|
|
10889
10899
|
get date() {
|
|
10890
10900
|
return this._date;
|
|
@@ -11054,9 +11064,9 @@ __decorate([
|
|
|
11054
11064
|
args: ['p-locale']
|
|
11055
11065
|
}] }); })();
|
|
11056
11066
|
|
|
11057
|
-
const _c0$
|
|
11058
|
-
const _c1$
|
|
11059
|
-
const _c2$
|
|
11067
|
+
const _c0$11 = ["calendar"];
|
|
11068
|
+
const _c1$u = ["dialogPicker"];
|
|
11069
|
+
const _c2$d = ["iconDatepicker"];
|
|
11060
11070
|
const _c3$7 = ["inp"];
|
|
11061
11071
|
function PoDatepickerComponent_po_clean_5_Template(rf, ctx) { if (rf & 1) {
|
|
11062
11072
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -11373,9 +11383,9 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
|
|
|
11373
11383
|
}
|
|
11374
11384
|
PoDatepickerComponent.ɵfac = function PoDatepickerComponent_Factory(t) { return new (t || PoDatepickerComponent)(i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
11375
11385
|
PoDatepickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerComponent, selectors: [["po-datepicker"]], viewQuery: function PoDatepickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11376
|
-
i0.ɵɵviewQuery(_c0$
|
|
11377
|
-
i0.ɵɵviewQuery(_c1$
|
|
11378
|
-
i0.ɵɵviewQuery(_c2$
|
|
11386
|
+
i0.ɵɵviewQuery(_c0$11, 7);
|
|
11387
|
+
i0.ɵɵviewQuery(_c1$u, 7, ElementRef);
|
|
11388
|
+
i0.ɵɵviewQuery(_c2$d, 7, ElementRef);
|
|
11379
11389
|
i0.ɵɵviewQuery(_c3$7, 7, ElementRef);
|
|
11380
11390
|
} if (rf & 2) {
|
|
11381
11391
|
let _t;
|
|
@@ -11637,7 +11647,7 @@ PoModalBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoModa
|
|
|
11637
11647
|
args: ['p-hide-close']
|
|
11638
11648
|
}] }); })();
|
|
11639
11649
|
|
|
11640
|
-
const _c0
|
|
11650
|
+
const _c0$10 = ["*"];
|
|
11641
11651
|
/**
|
|
11642
11652
|
* @description
|
|
11643
11653
|
*
|
|
@@ -11671,7 +11681,7 @@ class PoModalFooterComponent {
|
|
|
11671
11681
|
}
|
|
11672
11682
|
}
|
|
11673
11683
|
PoModalFooterComponent.ɵfac = function PoModalFooterComponent_Factory(t) { return new (t || PoModalFooterComponent)(); };
|
|
11674
|
-
PoModalFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0
|
|
11684
|
+
PoModalFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0$10, decls: 2, vars: 2, consts: [[1, "po-modal-footer"]], template: function PoModalFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11675
11685
|
i0.ɵɵprojectionDef();
|
|
11676
11686
|
i0.ɵɵelementStart(0, "div", 0);
|
|
11677
11687
|
i0.ɵɵprojection(1);
|
|
@@ -11701,7 +11711,7 @@ PoActiveOverlayService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: P
|
|
|
11701
11711
|
}]
|
|
11702
11712
|
}], null, null); })();
|
|
11703
11713
|
|
|
11704
|
-
const _c0
|
|
11714
|
+
const _c0$$ = ["modalContent"];
|
|
11705
11715
|
function PoModalComponent_div_0_a_9_Template(rf, ctx) { if (rf & 1) {
|
|
11706
11716
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
11707
11717
|
i0.ɵɵelementStart(0, "a", 13);
|
|
@@ -11766,8 +11776,8 @@ function PoModalComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
11766
11776
|
i0.ɵɵadvance(3);
|
|
11767
11777
|
i0.ɵɵproperty("ngIf", ctx_r0.modalFooter)("ngIfElse", _r4);
|
|
11768
11778
|
} }
|
|
11769
|
-
const _c1$
|
|
11770
|
-
const _c2$
|
|
11779
|
+
const _c1$t = ["*", [["po-modal-footer"]]];
|
|
11780
|
+
const _c2$c = ["*", "po-modal-footer"];
|
|
11771
11781
|
/**
|
|
11772
11782
|
* @docsExtends PoModalBaseComponent
|
|
11773
11783
|
*
|
|
@@ -11868,12 +11878,12 @@ PoModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalCom
|
|
|
11868
11878
|
let _t;
|
|
11869
11879
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalFooter = _t.first);
|
|
11870
11880
|
} }, viewQuery: function PoModalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11871
|
-
i0.ɵɵviewQuery(_c0
|
|
11881
|
+
i0.ɵɵviewQuery(_c0$$, 5, ElementRef);
|
|
11872
11882
|
} if (rf & 2) {
|
|
11873
11883
|
let _t;
|
|
11874
11884
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalContent = _t.first);
|
|
11875
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2$
|
|
11876
|
-
i0.ɵɵprojectionDef(_c1$
|
|
11885
|
+
} }, 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) { if (rf & 1) {
|
|
11886
|
+
i0.ɵɵprojectionDef(_c1$t);
|
|
11877
11887
|
i0.ɵɵtemplate(0, PoModalComponent_div_0_Template, 15, 7, "div", 0);
|
|
11878
11888
|
} if (rf & 2) {
|
|
11879
11889
|
i0.ɵɵproperty("ngIf", !ctx.isHidden);
|
|
@@ -12678,8 +12688,8 @@ var PoToasterType;
|
|
|
12678
12688
|
PoToasterType[PoToasterType["Warning"] = 3] = "Warning";
|
|
12679
12689
|
})(PoToasterType || (PoToasterType = {}));
|
|
12680
12690
|
|
|
12681
|
-
const _c0$
|
|
12682
|
-
const _c1$
|
|
12691
|
+
const _c0$_ = ["toaster"];
|
|
12692
|
+
const _c1$s = ["buttonClose"];
|
|
12683
12693
|
function PoToasterComponent_po_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
12684
12694
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
12685
12695
|
i0.ɵɵelementStart(0, "po-button", 9);
|
|
@@ -12812,8 +12822,8 @@ class PoToasterComponent extends PoToasterBaseComponent {
|
|
|
12812
12822
|
}
|
|
12813
12823
|
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)); };
|
|
12814
12824
|
PoToasterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoToasterComponent, selectors: [["po-toaster"]], viewQuery: function PoToasterComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12815
|
-
i0.ɵɵviewQuery(_c0$
|
|
12816
|
-
i0.ɵɵviewQuery(_c1$
|
|
12825
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
12826
|
+
i0.ɵɵviewQuery(_c1$s, 5);
|
|
12817
12827
|
} if (rf & 2) {
|
|
12818
12828
|
let _t;
|
|
12819
12829
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.toaster = _t.first);
|
|
@@ -13054,7 +13064,7 @@ PoPopoverBaseComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoPo
|
|
|
13054
13064
|
args: ['p-trigger']
|
|
13055
13065
|
}] }); })();
|
|
13056
13066
|
|
|
13057
|
-
const _c0$
|
|
13067
|
+
const _c0$Z = ["popoverElement"];
|
|
13058
13068
|
function PoPopoverComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
13059
13069
|
i0.ɵɵelement(0, "div");
|
|
13060
13070
|
} if (rf & 2) {
|
|
@@ -13070,7 +13080,7 @@ function PoPopoverComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13070
13080
|
i0.ɵɵadvance(1);
|
|
13071
13081
|
i0.ɵɵtextInterpolate(ctx_r2.title);
|
|
13072
13082
|
} }
|
|
13073
|
-
const _c1$
|
|
13083
|
+
const _c1$r = ["*"];
|
|
13074
13084
|
/**
|
|
13075
13085
|
*
|
|
13076
13086
|
* @docsExtends PoPopoverBaseComponent
|
|
@@ -13193,11 +13203,11 @@ class PoPopoverComponent extends PoPopoverBaseComponent {
|
|
|
13193
13203
|
}
|
|
13194
13204
|
PoPopoverComponent.ɵfac = function PoPopoverComponent_Factory(t) { return new (t || PoPopoverComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoControlPositionService)); };
|
|
13195
13205
|
PoPopoverComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopoverComponent, selectors: [["po-popover"]], viewQuery: function PoPopoverComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13196
|
-
i0.ɵɵviewQuery(_c0$
|
|
13206
|
+
i0.ɵɵviewQuery(_c0$Z, 7, ElementRef);
|
|
13197
13207
|
} if (rf & 2) {
|
|
13198
13208
|
let _t;
|
|
13199
13209
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverElement = _t.first);
|
|
13200
|
-
} }, features: [i0.ɵɵProvidersFeature([PoControlPositionService]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$
|
|
13210
|
+
} }, 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) { if (rf & 1) {
|
|
13201
13211
|
i0.ɵɵprojectionDef();
|
|
13202
13212
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
13203
13213
|
i0.ɵɵtemplate(2, PoPopoverComponent_div_2_Template, 1, 3, "div", 2);
|
|
@@ -13460,7 +13470,7 @@ __decorate([
|
|
|
13460
13470
|
args: ['p-disabled']
|
|
13461
13471
|
}] }); })();
|
|
13462
13472
|
|
|
13463
|
-
const _c0$
|
|
13473
|
+
const _c0$Y = ["checkboxLabel"];
|
|
13464
13474
|
/**
|
|
13465
13475
|
* @docsExtends PoCheckboxBaseComponent
|
|
13466
13476
|
*
|
|
@@ -13536,7 +13546,7 @@ class PoCheckboxComponent extends PoCheckboxBaseComponent {
|
|
|
13536
13546
|
}
|
|
13537
13547
|
PoCheckboxComponent.ɵfac = function PoCheckboxComponent_Factory(t) { return new (t || PoCheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
13538
13548
|
PoCheckboxComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxComponent, selectors: [["po-checkbox"]], viewQuery: function PoCheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13539
|
-
i0.ɵɵviewQuery(_c0$
|
|
13549
|
+
i0.ɵɵviewQuery(_c0$Y, 7);
|
|
13540
13550
|
} if (rf & 2) {
|
|
13541
13551
|
let _t;
|
|
13542
13552
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabel = _t.first);
|
|
@@ -13592,7 +13602,7 @@ PoCheckboxModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[Common
|
|
|
13592
13602
|
}], null, null); })();
|
|
13593
13603
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoCheckboxModule, { declarations: [PoCheckboxComponent], imports: [CommonModule, FormsModule], exports: [PoCheckboxComponent] }); })();
|
|
13594
13604
|
|
|
13595
|
-
const _c0$
|
|
13605
|
+
const _c0$X = function (a0, a1) { return { "po-clickable": a0, "po-table-icon-disabled": a1 }; };
|
|
13596
13606
|
/**
|
|
13597
13607
|
* @docsPrivate
|
|
13598
13608
|
*
|
|
@@ -13629,7 +13639,7 @@ PoTableIconComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTabl
|
|
|
13629
13639
|
i0.ɵɵelementEnd();
|
|
13630
13640
|
} if (rf & 2) {
|
|
13631
13641
|
i0.ɵɵclassMapInterpolate1("po-table-icon-content ", ctx.disabled ? "" : ctx.color, "");
|
|
13632
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c0$
|
|
13642
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c0$X, ctx.clickable, ctx.disabled))("p-icon", ctx.icon)("p-tooltip", ctx.tooltip);
|
|
13633
13643
|
} }, directives: [PoIconComponent, i1.NgClass, PoTooltipDirective], encapsulation: 2, changeDetection: 0 });
|
|
13634
13644
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableIconComponent, [{
|
|
13635
13645
|
type: Component,
|
|
@@ -13882,21 +13892,40 @@ PoTableColumnLinkComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
13882
13892
|
args: ['p-value']
|
|
13883
13893
|
}] }); })();
|
|
13884
13894
|
|
|
13895
|
+
function PoTableColumnManagerComponent_po_popover_0_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
13896
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
13897
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 13)(2, "po-button", 14);
|
|
13898
|
+
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(); });
|
|
13899
|
+
i0.ɵɵelementEnd();
|
|
13900
|
+
i0.ɵɵelementStart(3, "po-button", 15);
|
|
13901
|
+
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(); });
|
|
13902
|
+
i0.ɵɵelementEnd()()();
|
|
13903
|
+
} if (rf & 2) {
|
|
13904
|
+
const option_r3 = ctx.$implicit;
|
|
13905
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
13906
|
+
i0.ɵɵadvance(2);
|
|
13907
|
+
i0.ɵɵproperty("p-tooltip", ctx_r2.literals.up)("p-disabled", ctx_r2.verifyArrowDisabled(option_r3, "up"));
|
|
13908
|
+
i0.ɵɵadvance(1);
|
|
13909
|
+
i0.ɵɵproperty("p-tooltip", ctx_r2.literals.down)("p-disabled", ctx_r2.verifyArrowDisabled(option_r3, "down"));
|
|
13910
|
+
} }
|
|
13885
13911
|
function PoTableColumnManagerComponent_po_popover_0_Template(rf, ctx) { if (rf & 1) {
|
|
13886
|
-
const
|
|
13912
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
13887
13913
|
i0.ɵɵelementStart(0, "po-popover", 1, 2);
|
|
13888
|
-
i0.ɵɵlistener("p-close", function PoTableColumnManagerComponent_po_popover_0_Template_po_popover_p_close_0_listener() { i0.ɵɵrestoreView(
|
|
13914
|
+
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); });
|
|
13889
13915
|
i0.ɵɵelementStart(2, "div", 3)(3, "div", 4);
|
|
13890
13916
|
i0.ɵɵtext(4);
|
|
13891
13917
|
i0.ɵɵelementEnd();
|
|
13892
13918
|
i0.ɵɵelementStart(5, "div", 5)(6, "button", 6);
|
|
13893
|
-
i0.ɵɵlistener("click", function PoTableColumnManagerComponent_po_popover_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
13919
|
+
i0.ɵɵlistener("click", function PoTableColumnManagerComponent_po_popover_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r8); const _r1 = i0.ɵɵreference(1); return _r1.close(); });
|
|
13894
13920
|
i0.ɵɵelementEnd()()();
|
|
13895
13921
|
i0.ɵɵelementStart(7, "div", 7)(8, "po-checkbox-group", 8);
|
|
13896
|
-
i0.ɵɵlistener("ngModelChange", function PoTableColumnManagerComponent_po_popover_0_Template_po_checkbox_group_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(
|
|
13922
|
+
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); });
|
|
13923
|
+
i0.ɵɵelementEnd();
|
|
13924
|
+
i0.ɵɵelementStart(9, "div", 9);
|
|
13925
|
+
i0.ɵɵtemplate(10, PoTableColumnManagerComponent_po_popover_0_div_10_Template, 4, 4, "div", 10);
|
|
13897
13926
|
i0.ɵɵelementEnd()();
|
|
13898
|
-
i0.ɵɵelementStart(
|
|
13899
|
-
i0.ɵɵlistener("p-click", function
|
|
13927
|
+
i0.ɵɵelementStart(11, "div", 11)(12, "po-button", 12);
|
|
13928
|
+
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(); });
|
|
13900
13929
|
i0.ɵɵelementEnd()()();
|
|
13901
13930
|
} if (rf & 2) {
|
|
13902
13931
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -13906,25 +13935,35 @@ function PoTableColumnManagerComponent_po_popover_0_Template(rf, ctx) { if (rf &
|
|
|
13906
13935
|
i0.ɵɵadvance(4);
|
|
13907
13936
|
i0.ɵɵproperty("ngModel", ctx_r0.visibleColumns)("p-options", ctx_r0.columnsOptions);
|
|
13908
13937
|
i0.ɵɵadvance(2);
|
|
13938
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.columnsOptions);
|
|
13939
|
+
i0.ɵɵadvance(2);
|
|
13909
13940
|
i0.ɵɵproperty("p-label", ctx_r0.literals.restoreDefault);
|
|
13910
13941
|
} }
|
|
13911
13942
|
const PoTableColumnManagerMaxColumnsDefault = 99999;
|
|
13912
13943
|
const poTableColumnManagerLiteralsDefault = {
|
|
13913
13944
|
en: {
|
|
13914
13945
|
columnsManager: 'Columns manager',
|
|
13915
|
-
restoreDefault: 'Restore default'
|
|
13946
|
+
restoreDefault: 'Restore default',
|
|
13947
|
+
up: 'up',
|
|
13948
|
+
down: 'down'
|
|
13916
13949
|
},
|
|
13917
13950
|
es: {
|
|
13918
13951
|
columnsManager: 'Gerente de columna',
|
|
13919
|
-
restoreDefault: 'Restaurar por defecto'
|
|
13952
|
+
restoreDefault: 'Restaurar por defecto',
|
|
13953
|
+
up: 'arriba',
|
|
13954
|
+
down: 'abajo'
|
|
13920
13955
|
},
|
|
13921
13956
|
pt: {
|
|
13922
13957
|
columnsManager: 'Gerenciador de colunas',
|
|
13923
|
-
restoreDefault: 'Restaurar padrão'
|
|
13958
|
+
restoreDefault: 'Restaurar padrão',
|
|
13959
|
+
up: 'acima',
|
|
13960
|
+
down: 'abaixo'
|
|
13924
13961
|
},
|
|
13925
13962
|
ru: {
|
|
13926
13963
|
columnsManager: 'менеджер колонок',
|
|
13927
|
-
restoreDefault: 'сброс настроек'
|
|
13964
|
+
restoreDefault: 'сброс настроек',
|
|
13965
|
+
up: 'вверх',
|
|
13966
|
+
down: 'вниз'
|
|
13928
13967
|
}
|
|
13929
13968
|
};
|
|
13930
13969
|
class PoTableColumnManagerComponent {
|
|
@@ -13983,6 +14022,38 @@ class PoTableColumnManagerComponent {
|
|
|
13983
14022
|
this.initialColumns.emit(this.getVisibleColumns(this.colunsDefault));
|
|
13984
14023
|
this.checkChanges(defaultColumns, this.restoreDefaultEvent);
|
|
13985
14024
|
}
|
|
14025
|
+
changePosition(option, direction) {
|
|
14026
|
+
const indexColumn = this.columns.findIndex(el => el.property === option.value);
|
|
14027
|
+
const newColumn = [...this.columns];
|
|
14028
|
+
const hasDisabled = this.verifyArrowDisabled(option, direction);
|
|
14029
|
+
this.changePositionColumn(newColumn, indexColumn, direction, hasDisabled);
|
|
14030
|
+
this.columns = newColumn;
|
|
14031
|
+
this.visibleColumnsChange.emit(this.columns);
|
|
14032
|
+
}
|
|
14033
|
+
verifyArrowDisabled(option, direction) {
|
|
14034
|
+
const index = this.columns.findIndex(el => el.property === option.value);
|
|
14035
|
+
const existsDetail = this.columns.some(function (el) {
|
|
14036
|
+
return el.property === 'detail';
|
|
14037
|
+
});
|
|
14038
|
+
const valueSubtraction = existsDetail ? 2 : 1;
|
|
14039
|
+
if (index === 0 && direction === 'up') {
|
|
14040
|
+
return true;
|
|
14041
|
+
}
|
|
14042
|
+
if (index === this.columns.length - valueSubtraction && direction === 'down') {
|
|
14043
|
+
return true;
|
|
14044
|
+
}
|
|
14045
|
+
return false;
|
|
14046
|
+
}
|
|
14047
|
+
changePositionColumn(array, index, direction, hasDisabled) {
|
|
14048
|
+
if (!hasDisabled) {
|
|
14049
|
+
if (direction === 'up') {
|
|
14050
|
+
array.splice(index, 0, array.splice(index - 1, 1)[0]);
|
|
14051
|
+
}
|
|
14052
|
+
if (direction === 'down') {
|
|
14053
|
+
array.splice(index, 0, array.splice(index + 1, 1)[0]);
|
|
14054
|
+
}
|
|
14055
|
+
}
|
|
14056
|
+
}
|
|
13986
14057
|
verifyToEmitChange(event) {
|
|
13987
14058
|
const newColumns = [...event];
|
|
13988
14059
|
if (newColumns.length >= 1 && this.allowsChangeVisibleColumns()) {
|
|
@@ -14018,15 +14089,10 @@ class PoTableColumnManagerComponent {
|
|
|
14018
14089
|
const defaultColumns = [...this.defaultColumns];
|
|
14019
14090
|
const defaultVisibleColumns = this.getVisibleColumns(defaultColumns);
|
|
14020
14091
|
if (this.allowsChangeSelectedColumns(defaultVisibleColumns)) {
|
|
14021
|
-
this.
|
|
14092
|
+
this.visibleColumnsChange.emit(this.defaultColumns);
|
|
14022
14093
|
}
|
|
14023
14094
|
this.restoreDefaultEvent = false;
|
|
14024
14095
|
}
|
|
14025
|
-
emitChangeOnRestore(defaultVisibleColumns) {
|
|
14026
|
-
this.visibleColumns = [...defaultVisibleColumns];
|
|
14027
|
-
const visibleTableColumns = this.getVisibleTableColumns(this.visibleColumns);
|
|
14028
|
-
this.visibleColumnsChange.emit(visibleTableColumns);
|
|
14029
|
-
}
|
|
14030
14096
|
allowsChangeSelectedColumns(defaultVisibleColumns) {
|
|
14031
14097
|
const visibleColumns = this.getVisibleColumns(this.columns);
|
|
14032
14098
|
return !this.isEqualArrays(defaultVisibleColumns, visibleColumns);
|
|
@@ -14057,8 +14123,8 @@ class PoTableColumnManagerComponent {
|
|
|
14057
14123
|
isEqualArrays(first, second) {
|
|
14058
14124
|
const one = first ? [...first] : [];
|
|
14059
14125
|
const two = second ? [...second] : [];
|
|
14060
|
-
const firstSort = one.slice()
|
|
14061
|
-
const secondSort = two.slice()
|
|
14126
|
+
const firstSort = one.slice();
|
|
14127
|
+
const secondSort = two.slice();
|
|
14062
14128
|
const firstString = JSON.stringify(firstSort);
|
|
14063
14129
|
const secondString = JSON.stringify(secondSort);
|
|
14064
14130
|
return firstString === secondString;
|
|
@@ -14164,14 +14230,14 @@ PoTableColumnManagerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
14164
14230
|
} if (rf & 2) {
|
|
14165
14231
|
let _t;
|
|
14166
14232
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popover = _t.first);
|
|
14167
|
-
} }, 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) { if (rf & 1) {
|
|
14168
|
-
i0.ɵɵtemplate(0, PoTableColumnManagerComponent_po_popover_0_Template,
|
|
14233
|
+
} }, inputs: { columns: ["p-columns", "columns"], target: ["p-target", "target"], colunsDefault: ["p-columns-default", "colunsDefault"], lastVisibleColumnsSelected: ["p-last-visible-columns-selected", "lastVisibleColumnsSelected"], maxColumns: ["p-max-columns", "maxColumns"] }, outputs: { visibleColumnsChange: "p-visible-columns-change", changeVisibleColumns: "p-change-visible-columns", initialColumns: "p-initial-columns" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["p-position", "bottom-left", 3, "p-target", "p-close", 4, "ngIf"], ["p-position", "bottom-left", 3, "p-target", "p-close"], ["popover", ""], [1, "po-table-column-manager-header"], [1, "po-table-column-manager-header-title"], [1, "po-table-column-manager-header-close"], [1, "po-table-column-manager-header-close-button", "po-clickable", "po-icon", "po-icon-close", 3, "click"], [1, "po-table-column-manager-body"], ["name", "visibleColumns", "p-columns", "1", 3, "ngModel", "p-options", "ngModelChange", "p-change"], [1, "po-container-arrows-columns-manager"], [4, "ngFor", "ngForOf"], [1, "po-table-column-manager-footer"], ["p-small", "", "p-kind", "tertiary", 1, "po-table-column-manager-footer-restore", 3, "p-label", "p-click"], [1, "po-container-icons-arrows-columns-manager"], ["p-tooltip-position", "left", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-up", "p-small", "", 3, "p-tooltip", "p-disabled", "click"], ["p-tooltip-position", "top", "p-kind", "tertiary", "p-icon", "po-icon po-icon-arrow-down", "p-small", "", 3, "p-tooltip", "p-disabled", "click"]], template: function PoTableColumnManagerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14234
|
+
i0.ɵɵtemplate(0, PoTableColumnManagerComponent_po_popover_0_Template, 13, 6, "po-popover", 0);
|
|
14169
14235
|
} if (rf & 2) {
|
|
14170
14236
|
i0.ɵɵproperty("ngIf", ctx.target);
|
|
14171
|
-
} }, directives: [i1.NgIf, PoPopoverComponent, PoCheckboxGroupComponent, i3.NgControlStatus, i3.NgModel, PoButtonComponent], encapsulation: 2 });
|
|
14237
|
+
} }, directives: [i1.NgIf, PoPopoverComponent, PoCheckboxGroupComponent, i3.NgControlStatus, i3.NgModel, i1.NgForOf, PoButtonComponent, PoTooltipDirective], encapsulation: 2 });
|
|
14172
14238
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableColumnManagerComponent, [{
|
|
14173
14239
|
type: Component,
|
|
14174
|
-
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" }]
|
|
14240
|
+
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" }]
|
|
14175
14241
|
}], function () { return [{ type: i0.Renderer2 }, { type: PoLanguageService }]; }, { popover: [{
|
|
14176
14242
|
type: ViewChild,
|
|
14177
14243
|
args: [PoPopoverComponent]
|
|
@@ -15961,17 +16027,19 @@ PoTableDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTa
|
|
|
15961
16027
|
args: ['p-detail']
|
|
15962
16028
|
}] }); })();
|
|
15963
16029
|
|
|
15964
|
-
const _c0$
|
|
15965
|
-
const _c1$
|
|
15966
|
-
const _c2$
|
|
16030
|
+
const _c0$W = ["noColumnsHeader"];
|
|
16031
|
+
const _c1$q = ["popup"];
|
|
16032
|
+
const _c2$b = ["tableFooter"];
|
|
15967
16033
|
const _c3$6 = ["tableWrapper"];
|
|
15968
16034
|
const _c4$4 = ["poTableTbody"];
|
|
15969
16035
|
const _c5$2 = ["poTableThead"];
|
|
15970
16036
|
const _c6$2 = ["poTableTbodyVirtual"];
|
|
15971
|
-
const _c7$1 = ["
|
|
15972
|
-
const _c8$1 = ["
|
|
15973
|
-
const _c9 = ["
|
|
15974
|
-
const _c10 = ["
|
|
16037
|
+
const _c7$1 = ["columnManager"];
|
|
16038
|
+
const _c8$1 = ["columnActionLeft"];
|
|
16039
|
+
const _c9 = ["columnManagerTarget"];
|
|
16040
|
+
const _c10 = ["actionsIconElement"];
|
|
16041
|
+
const _c11 = ["actionsElement"];
|
|
16042
|
+
const _c12 = ["headersTable"];
|
|
15975
16043
|
function PoTableComponent_po_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
15976
16044
|
i0.ɵɵelementContainer(0);
|
|
15977
16045
|
} }
|
|
@@ -16108,7 +16176,7 @@ function PoTableComponent_ng_template_4_th_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16108
16176
|
i0.ɵɵelement(0, "th", 50);
|
|
16109
16177
|
} }
|
|
16110
16178
|
function PoTableComponent_ng_template_4_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
16111
|
-
i0.ɵɵelement(0, "th");
|
|
16179
|
+
i0.ɵɵelement(0, "th", null, 51);
|
|
16112
16180
|
} if (rf & 2) {
|
|
16113
16181
|
const ctx_r44 = i0.ɵɵnextContext(2);
|
|
16114
16182
|
i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r44.isSingleAction)("po-table-header-single-action", ctx_r44.isSingleAction);
|
|
@@ -16117,7 +16185,7 @@ function PoTableComponent_ng_template_4_th_6_ng_container_2_Template(rf, ctx) {
|
|
|
16117
16185
|
i0.ɵɵelementContainer(0);
|
|
16118
16186
|
} }
|
|
16119
16187
|
function PoTableComponent_ng_template_4_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
16120
|
-
i0.ɵɵelementStart(0, "th",
|
|
16188
|
+
i0.ɵɵelementStart(0, "th", 52, 53);
|
|
16121
16189
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_4_th_6_ng_container_2_Template, 1, 0, "ng-container", 32);
|
|
16122
16190
|
i0.ɵɵelementEnd();
|
|
16123
16191
|
} if (rf & 2) {
|
|
@@ -16130,24 +16198,24 @@ function PoTableComponent_ng_template_4_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
16130
16198
|
function PoTableComponent_ng_template_4_th_7_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
16131
16199
|
i0.ɵɵelementContainer(0);
|
|
16132
16200
|
} }
|
|
16133
|
-
const
|
|
16201
|
+
const _c13 = function (a0) { return { $implicit: a0 }; };
|
|
16134
16202
|
function PoTableComponent_ng_template_4_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
16135
|
-
const
|
|
16136
|
-
i0.ɵɵelementStart(0, "th",
|
|
16137
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
16138
|
-
i0.ɵɵelementStart(2, "div",
|
|
16139
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_th_7_ng_container_3_Template, 1, 0, "ng-container",
|
|
16203
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
16204
|
+
i0.ɵɵelementStart(0, "th", 54, 55);
|
|
16205
|
+
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); });
|
|
16206
|
+
i0.ɵɵelementStart(2, "div", 56);
|
|
16207
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_th_7_ng_container_3_Template, 1, 0, "ng-container", 57);
|
|
16140
16208
|
i0.ɵɵelementEnd()();
|
|
16141
16209
|
} if (rf & 2) {
|
|
16142
|
-
const
|
|
16210
|
+
const column_r58 = ctx.$implicit;
|
|
16143
16211
|
const ctx_r46 = i0.ɵɵnextContext(2);
|
|
16144
16212
|
const _r17 = i0.ɵɵreference(19);
|
|
16145
|
-
i0.ɵɵstyleProp("width",
|
|
16146
|
-
i0.ɵɵclassProp("po-clickable", ctx_r46.sort &&
|
|
16213
|
+
i0.ɵɵstyleProp("width", column_r58.width)("max-width", column_r58.width)("min-width", column_r58.width);
|
|
16214
|
+
i0.ɵɵclassProp("po-clickable", ctx_r46.sort && column_r58.sortable !== false || ctx_r46.hasService)("po-table-header-subtitle", column_r58.type === "subtitle");
|
|
16147
16215
|
i0.ɵɵadvance(2);
|
|
16148
|
-
i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r46.height)("po-table-header-flex-right",
|
|
16216
|
+
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");
|
|
16149
16217
|
i0.ɵɵadvance(1);
|
|
16150
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18,
|
|
16218
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c13, column_r58));
|
|
16151
16219
|
} }
|
|
16152
16220
|
function PoTableComponent_ng_template_4_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
16153
16221
|
i0.ɵɵelement(0, "th", 50);
|
|
@@ -16156,33 +16224,34 @@ function PoTableComponent_ng_template_4_th_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
16156
16224
|
i0.ɵɵelement(0, "th");
|
|
16157
16225
|
} if (rf & 2) {
|
|
16158
16226
|
const ctx_r48 = i0.ɵɵnextContext(2);
|
|
16159
|
-
i0.ɵɵclassProp("po-table-header-single-action", ctx_r48.isSingleAction)("po-table-header-actions", !ctx_r48.isSingleAction);
|
|
16227
|
+
i0.ɵɵclassProp("po-table-header-single-action", ctx_r48.isSingleAction && !ctx_r48.hideColumnsManager)("po-table-header-actions", !ctx_r48.isSingleAction);
|
|
16160
16228
|
} }
|
|
16161
16229
|
function PoTableComponent_ng_template_4_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
16162
|
-
const
|
|
16163
|
-
i0.ɵɵelementStart(0, "th", null,
|
|
16164
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_4_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
16230
|
+
const _r67 = i0.ɵɵgetCurrentView();
|
|
16231
|
+
i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
|
|
16232
|
+
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(); });
|
|
16165
16233
|
i0.ɵɵelementEnd()()();
|
|
16166
16234
|
} if (rf & 2) {
|
|
16167
|
-
const
|
|
16235
|
+
const _r64 = i0.ɵɵreference(1);
|
|
16168
16236
|
const ctx_r49 = i0.ɵɵnextContext(2);
|
|
16169
16237
|
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);
|
|
16170
16238
|
i0.ɵɵadvance(2);
|
|
16171
|
-
i0.ɵɵstyleProp("width", ctx_r49.height && ctx_r49.visibleActions.length ?
|
|
16239
|
+
i0.ɵɵstyleProp("width", ctx_r49.height && ctx_r49.visibleActions.length ? _r64.offsetWidth : undefined, "px");
|
|
16172
16240
|
i0.ɵɵclassProp("po-table-header-column-manager-border", ctx_r49.height && ctx_r49.container)("po-table-header-column-manager-fixed-inner", ctx_r49.height);
|
|
16173
16241
|
i0.ɵɵadvance(1);
|
|
16174
16242
|
i0.ɵɵproperty("p-tooltip", ctx_r49.literals.columnsManager);
|
|
16243
|
+
i0.ɵɵattribute("aria-label", ctx_r49.literals.columnsManager);
|
|
16175
16244
|
} }
|
|
16176
16245
|
function PoTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
16177
16246
|
i0.ɵɵelementStart(0, "table", 39)(1, "thead")(2, "tr");
|
|
16178
16247
|
i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_th_3_Template, 3, 3, "th", 40);
|
|
16179
16248
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_th_4_Template, 1, 0, "th", 41);
|
|
16180
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_th_5_Template,
|
|
16249
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_th_5_Template, 2, 4, "th", 42);
|
|
16181
16250
|
i0.ɵɵtemplate(6, PoTableComponent_ng_template_4_th_6_Template, 3, 3, "th", 43);
|
|
16182
16251
|
i0.ɵɵtemplate(7, PoTableComponent_ng_template_4_th_7_Template, 4, 20, "th", 44);
|
|
16183
16252
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_th_8_Template, 1, 0, "th", 41);
|
|
16184
16253
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_4_th_9_Template, 1, 4, "th", 45);
|
|
16185
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_th_10_Template, 5,
|
|
16254
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_th_10_Template, 5, 14, "th", 46);
|
|
16186
16255
|
i0.ɵɵelementEnd()()();
|
|
16187
16256
|
} if (rf & 2) {
|
|
16188
16257
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
@@ -16207,114 +16276,114 @@ function PoTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16207
16276
|
i0.ɵɵproperty("ngIf", ctx_r5.hasValidColumns && !ctx_r5.hideColumnsManager);
|
|
16208
16277
|
} }
|
|
16209
16278
|
function PoTableComponent_ng_template_6_tbody_3_Template(rf, ctx) { if (rf & 1) {
|
|
16210
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
16279
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 65)(2, "td", 66)(3, "span");
|
|
16211
16280
|
i0.ɵɵtext(4);
|
|
16212
16281
|
i0.ɵɵelementEnd()()()();
|
|
16213
16282
|
} if (rf & 2) {
|
|
16214
|
-
const
|
|
16283
|
+
const ctx_r69 = i0.ɵɵnextContext(2);
|
|
16215
16284
|
i0.ɵɵadvance(2);
|
|
16216
|
-
i0.ɵɵproperty("colSpan",
|
|
16285
|
+
i0.ɵɵproperty("colSpan", ctx_r69.columnCount);
|
|
16217
16286
|
i0.ɵɵadvance(2);
|
|
16218
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16287
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r69.literals.noData, " ");
|
|
16219
16288
|
} }
|
|
16220
16289
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16221
16290
|
i0.ɵɵelementContainer(0);
|
|
16222
16291
|
} }
|
|
16223
16292
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
16224
16293
|
i0.ɵɵelementStart(0, "td", 47);
|
|
16225
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
16294
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
16226
16295
|
i0.ɵɵelementEnd();
|
|
16227
16296
|
} if (rf & 2) {
|
|
16228
|
-
const
|
|
16229
|
-
const
|
|
16297
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16298
|
+
const ctx_r74 = i0.ɵɵnextContext(3);
|
|
16230
16299
|
const _r13 = i0.ɵɵreference(15);
|
|
16231
16300
|
const _r15 = i0.ɵɵreference(17);
|
|
16232
16301
|
i0.ɵɵadvance(1);
|
|
16233
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
16302
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r74.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, row_r72));
|
|
16234
16303
|
} }
|
|
16235
16304
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
|
|
16236
|
-
const
|
|
16305
|
+
const _c14 = function (a0, a1) { return { row: a0, rowIndex: a1 }; };
|
|
16237
16306
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
16238
|
-
const
|
|
16239
|
-
i0.ɵɵelementStart(0, "td",
|
|
16240
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16241
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template",
|
|
16307
|
+
const _r90 = i0.ɵɵgetCurrentView();
|
|
16308
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
16309
|
+
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); });
|
|
16310
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
16242
16311
|
i0.ɵɵelementEnd();
|
|
16243
16312
|
} if (rf & 2) {
|
|
16244
|
-
const
|
|
16245
|
-
const
|
|
16246
|
-
const
|
|
16313
|
+
const ctx_r91 = i0.ɵɵnextContext();
|
|
16314
|
+
const row_r72 = ctx_r91.$implicit;
|
|
16315
|
+
const rowIndex_r73 = ctx_r91.index;
|
|
16247
16316
|
i0.ɵɵnextContext(3);
|
|
16248
16317
|
const _r11 = i0.ɵɵreference(13);
|
|
16249
16318
|
i0.ɵɵadvance(1);
|
|
16250
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16319
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
16251
16320
|
} }
|
|
16252
16321
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template(rf, ctx) { }
|
|
16253
16322
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
|
|
16254
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template",
|
|
16323
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
16255
16324
|
} if (rf & 2) {
|
|
16256
|
-
const
|
|
16257
|
-
const
|
|
16258
|
-
const
|
|
16325
|
+
const ctx_r93 = i0.ɵɵnextContext();
|
|
16326
|
+
const row_r72 = ctx_r93.$implicit;
|
|
16327
|
+
const rowIndex_r73 = ctx_r93.index;
|
|
16259
16328
|
i0.ɵɵnextContext(3);
|
|
16260
16329
|
const _r23 = i0.ɵɵreference(25);
|
|
16261
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16330
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
16262
16331
|
} }
|
|
16263
16332
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
|
|
16264
16333
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
|
|
16265
|
-
const
|
|
16266
|
-
i0.ɵɵelementStart(0, "td",
|
|
16267
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16268
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template",
|
|
16334
|
+
const _r97 = i0.ɵɵgetCurrentView();
|
|
16335
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
16336
|
+
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); });
|
|
16337
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
16269
16338
|
i0.ɵɵelementEnd();
|
|
16270
16339
|
} if (rf & 2) {
|
|
16271
|
-
const
|
|
16272
|
-
const
|
|
16273
|
-
const
|
|
16340
|
+
const ctx_r98 = i0.ɵɵnextContext();
|
|
16341
|
+
const row_r72 = ctx_r98.$implicit;
|
|
16342
|
+
const rowIndex_r73 = ctx_r98.index;
|
|
16274
16343
|
i0.ɵɵnextContext(3);
|
|
16275
16344
|
const _r11 = i0.ɵɵreference(13);
|
|
16276
16345
|
i0.ɵɵadvance(1);
|
|
16277
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16346
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
16278
16347
|
} }
|
|
16279
16348
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16280
16349
|
i0.ɵɵelementContainer(0);
|
|
16281
16350
|
} }
|
|
16282
16351
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16283
16352
|
i0.ɵɵelementStart(0, "span");
|
|
16284
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
16353
|
+
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);
|
|
16285
16354
|
i0.ɵɵelementEnd();
|
|
16286
16355
|
} if (rf & 2) {
|
|
16287
|
-
const
|
|
16288
|
-
const
|
|
16289
|
-
const
|
|
16356
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16357
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16358
|
+
const ctx_r101 = i0.ɵɵnextContext(3);
|
|
16290
16359
|
i0.ɵɵadvance(1);
|
|
16291
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
16360
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r101.getTemplate(column_r99))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, ctx_r101.getCellData(row_r72, column_r99)));
|
|
16292
16361
|
} }
|
|
16293
16362
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16294
16363
|
i0.ɵɵelementContainer(0);
|
|
16295
16364
|
} }
|
|
16296
|
-
const
|
|
16365
|
+
const _c15 = function (a0, a1) { return { row: a0, column: a1 }; };
|
|
16297
16366
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
16298
16367
|
i0.ɵɵelementStart(0, "span");
|
|
16299
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container",
|
|
16368
|
+
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);
|
|
16300
16369
|
i0.ɵɵelementEnd();
|
|
16301
16370
|
} if (rf & 2) {
|
|
16302
|
-
const
|
|
16303
|
-
const
|
|
16304
|
-
const
|
|
16371
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16372
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16373
|
+
const ctx_r102 = i0.ɵɵnextContext(3);
|
|
16305
16374
|
i0.ɵɵadvance(1);
|
|
16306
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
16375
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r102.tableCellTemplate == null ? null : ctx_r102.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c15, row_r72, column_r99));
|
|
16307
16376
|
} }
|
|
16308
16377
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16309
16378
|
i0.ɵɵelementStart(0, "span");
|
|
16310
16379
|
i0.ɵɵtext(1);
|
|
16311
16380
|
i0.ɵɵelementEnd();
|
|
16312
16381
|
} if (rf & 2) {
|
|
16313
|
-
const
|
|
16314
|
-
const
|
|
16315
|
-
const
|
|
16382
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16383
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16384
|
+
const ctx_r103 = i0.ɵɵnextContext(3);
|
|
16316
16385
|
i0.ɵɵadvance(1);
|
|
16317
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16386
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r103.getBooleanLabel(ctx_r103.getCellData(row_r72, column_r99), column_r99), " ");
|
|
16318
16387
|
} }
|
|
16319
16388
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
16320
16389
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16322,11 +16391,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Templ
|
|
|
16322
16391
|
i0.ɵɵpipe(2, "currency");
|
|
16323
16392
|
i0.ɵɵelementEnd();
|
|
16324
16393
|
} if (rf & 2) {
|
|
16325
|
-
const
|
|
16326
|
-
const
|
|
16327
|
-
const
|
|
16394
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16395
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16396
|
+
const ctx_r104 = i0.ɵɵnextContext(3);
|
|
16328
16397
|
i0.ɵɵadvance(1);
|
|
16329
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1,
|
|
16398
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r104.getCellData(row_r72, column_r99), column_r99.format, "symbol", "1.2-2"), " ");
|
|
16330
16399
|
} }
|
|
16331
16400
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
16332
16401
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16334,11 +16403,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Templ
|
|
|
16334
16403
|
i0.ɵɵpipe(2, "date");
|
|
16335
16404
|
i0.ɵɵelementEnd();
|
|
16336
16405
|
} if (rf & 2) {
|
|
16337
|
-
const
|
|
16338
|
-
const
|
|
16339
|
-
const
|
|
16406
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16407
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16408
|
+
const ctx_r105 = i0.ɵɵnextContext(3);
|
|
16340
16409
|
i0.ɵɵadvance(1);
|
|
16341
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
16410
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r105.getCellData(row_r72, column_r99), column_r99.format || "dd/MM/yyyy"), " ");
|
|
16342
16411
|
} }
|
|
16343
16412
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
16344
16413
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16346,11 +16415,11 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Templ
|
|
|
16346
16415
|
i0.ɵɵpipe(2, "po_time");
|
|
16347
16416
|
i0.ɵɵelementEnd();
|
|
16348
16417
|
} if (rf & 2) {
|
|
16349
|
-
const
|
|
16350
|
-
const
|
|
16351
|
-
const
|
|
16418
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16419
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16420
|
+
const ctx_r106 = i0.ɵɵnextContext(3);
|
|
16352
16421
|
i0.ɵɵadvance(1);
|
|
16353
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
16422
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r106.getCellData(row_r72, column_r99), column_r99.format || "HH:mm:ss.ffffff"), " ");
|
|
16354
16423
|
} }
|
|
16355
16424
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
16356
16425
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16358,106 +16427,106 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Templ
|
|
|
16358
16427
|
i0.ɵɵpipe(2, "date");
|
|
16359
16428
|
i0.ɵɵelementEnd();
|
|
16360
16429
|
} if (rf & 2) {
|
|
16361
|
-
const
|
|
16362
|
-
const
|
|
16363
|
-
const
|
|
16430
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16431
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16432
|
+
const ctx_r107 = i0.ɵɵnextContext(3);
|
|
16364
16433
|
i0.ɵɵadvance(1);
|
|
16365
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
16434
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r107.getCellData(row_r72, column_r99), column_r99.format || "dd/MM/yyyy HH:mm:ss"), " ");
|
|
16366
16435
|
} }
|
|
16367
16436
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template(rf, ctx) { if (rf & 1) {
|
|
16368
16437
|
i0.ɵɵelementStart(0, "span");
|
|
16369
16438
|
i0.ɵɵtext(1);
|
|
16370
16439
|
i0.ɵɵelementEnd();
|
|
16371
16440
|
} if (rf & 2) {
|
|
16372
|
-
const
|
|
16373
|
-
const
|
|
16374
|
-
const
|
|
16441
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16442
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16443
|
+
const ctx_r108 = i0.ɵɵnextContext(3);
|
|
16375
16444
|
i0.ɵɵadvance(1);
|
|
16376
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16445
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r108.formatNumber(ctx_r108.getCellData(row_r72, column_r99), column_r99.format), " ");
|
|
16377
16446
|
} }
|
|
16378
16447
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
|
|
16379
|
-
const
|
|
16380
|
-
i0.ɵɵelementStart(0, "po-table-column-link",
|
|
16381
|
-
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(
|
|
16448
|
+
const _r134 = i0.ɵɵgetCurrentView();
|
|
16449
|
+
i0.ɵɵelementStart(0, "po-table-column-link", 80);
|
|
16450
|
+
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); });
|
|
16382
16451
|
i0.ɵɵelementEnd();
|
|
16383
16452
|
} if (rf & 2) {
|
|
16384
|
-
const
|
|
16385
|
-
const
|
|
16386
|
-
const
|
|
16387
|
-
i0.ɵɵproperty("p-action",
|
|
16453
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16454
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16455
|
+
const ctx_r109 = i0.ɵɵnextContext(3);
|
|
16456
|
+
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));
|
|
16388
16457
|
} }
|
|
16389
16458
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
|
|
16390
|
-
i0.ɵɵelement(0, "po-table-column-icon",
|
|
16459
|
+
i0.ɵɵelement(0, "po-table-column-icon", 81);
|
|
16391
16460
|
} if (rf & 2) {
|
|
16392
|
-
const
|
|
16393
|
-
const
|
|
16394
|
-
const
|
|
16395
|
-
i0.ɵɵproperty("p-column",
|
|
16461
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16462
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16463
|
+
const ctx_r110 = i0.ɵɵnextContext(3);
|
|
16464
|
+
i0.ɵɵproperty("p-column", column_r99)("p-icons", ctx_r110.getColumnIcons(row_r72, column_r99))("p-row", row_r72);
|
|
16396
16465
|
} }
|
|
16397
16466
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
|
|
16398
16467
|
i0.ɵɵelementStart(0, "span");
|
|
16399
|
-
i0.ɵɵelement(1, "po-table-subtitle-circle",
|
|
16468
|
+
i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
|
|
16400
16469
|
i0.ɵɵelementEnd();
|
|
16401
16470
|
} if (rf & 2) {
|
|
16402
|
-
const
|
|
16403
|
-
const
|
|
16404
|
-
const
|
|
16471
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16472
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16473
|
+
const ctx_r111 = i0.ɵɵnextContext(3);
|
|
16405
16474
|
i0.ɵɵadvance(1);
|
|
16406
|
-
i0.ɵɵproperty("p-subtitle",
|
|
16475
|
+
i0.ɵɵproperty("p-subtitle", ctx_r111.getSubtitleColumn(row_r72, column_r99));
|
|
16407
16476
|
} }
|
|
16408
16477
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
16409
16478
|
i0.ɵɵelementStart(0, "span");
|
|
16410
|
-
i0.ɵɵelement(1, "po-table-column-label",
|
|
16479
|
+
i0.ɵɵelement(1, "po-table-column-label", 83);
|
|
16411
16480
|
i0.ɵɵelementEnd();
|
|
16412
16481
|
} if (rf & 2) {
|
|
16413
|
-
const
|
|
16414
|
-
const
|
|
16415
|
-
const
|
|
16482
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16483
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16484
|
+
const ctx_r112 = i0.ɵɵnextContext(3);
|
|
16416
16485
|
i0.ɵɵadvance(1);
|
|
16417
|
-
i0.ɵɵproperty("p-value",
|
|
16486
|
+
i0.ɵɵproperty("p-value", ctx_r112.getColumnLabel(row_r72, column_r99));
|
|
16418
16487
|
} }
|
|
16419
16488
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template(rf, ctx) { if (rf & 1) {
|
|
16420
16489
|
i0.ɵɵelementStart(0, "span");
|
|
16421
16490
|
i0.ɵɵtext(1);
|
|
16422
16491
|
i0.ɵɵelementEnd();
|
|
16423
16492
|
} if (rf & 2) {
|
|
16424
|
-
const
|
|
16425
|
-
const
|
|
16426
|
-
const
|
|
16493
|
+
const column_r99 = i0.ɵɵnextContext().$implicit;
|
|
16494
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16495
|
+
const ctx_r113 = i0.ɵɵnextContext(3);
|
|
16427
16496
|
i0.ɵɵadvance(1);
|
|
16428
|
-
i0.ɵɵtextInterpolate(
|
|
16497
|
+
i0.ɵɵtextInterpolate(ctx_r113.getCellData(row_r72, column_r99));
|
|
16429
16498
|
} }
|
|
16430
16499
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
16431
|
-
const
|
|
16432
|
-
i0.ɵɵelementStart(0, "td",
|
|
16433
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16434
|
-
i0.ɵɵelementStart(1, "div",
|
|
16435
|
-
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(
|
|
16436
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template, 2, 4, "span",
|
|
16437
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template, 2, 5, "span",
|
|
16438
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template, 2, 1, "span",
|
|
16439
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template, 3, 6, "span",
|
|
16440
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template, 3, 4, "span",
|
|
16441
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template, 3, 4, "span",
|
|
16442
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template, 3, 4, "span",
|
|
16443
|
-
i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template, 2, 1, "span",
|
|
16444
|
-
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",
|
|
16445
|
-
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",
|
|
16446
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template, 2, 1, "span",
|
|
16447
|
-
i0.ɵɵtemplate(13, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template, 2, 1, "span",
|
|
16448
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template, 2, 1, "span",
|
|
16500
|
+
const _r147 = i0.ɵɵgetCurrentView();
|
|
16501
|
+
i0.ɵɵelementStart(0, "td", 74);
|
|
16502
|
+
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:;"; });
|
|
16503
|
+
i0.ɵɵelementStart(1, "div", 75);
|
|
16504
|
+
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(); });
|
|
16505
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
|
|
16506
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
|
|
16507
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
|
|
16508
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
|
|
16509
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
|
|
16510
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
|
|
16511
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
|
|
16512
|
+
i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
|
|
16513
|
+
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);
|
|
16514
|
+
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);
|
|
16515
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
|
|
16516
|
+
i0.ɵɵtemplate(13, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
|
|
16517
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_span_14_Template, 2, 1, "span", 79);
|
|
16449
16518
|
i0.ɵɵelementEnd()();
|
|
16450
16519
|
} if (rf & 2) {
|
|
16451
|
-
const
|
|
16452
|
-
const
|
|
16453
|
-
const
|
|
16454
|
-
i0.ɵɵstyleProp("width",
|
|
16455
|
-
i0.ɵɵclassProp("po-table-column",
|
|
16456
|
-
i0.ɵɵproperty("ngClass",
|
|
16520
|
+
const column_r99 = ctx.$implicit;
|
|
16521
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16522
|
+
const ctx_r78 = i0.ɵɵnextContext(3);
|
|
16523
|
+
i0.ɵɵstyleProp("width", column_r99.width)("max-width", column_r99.width)("min-width", column_r99.width);
|
|
16524
|
+
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");
|
|
16525
|
+
i0.ɵɵproperty("ngClass", ctx_r78.getClassColor(row_r72, column_r99));
|
|
16457
16526
|
i0.ɵɵadvance(1);
|
|
16458
|
-
i0.ɵɵstyleProp("width",
|
|
16459
|
-
i0.ɵɵclassProp("po-table-body-ellipsis",
|
|
16460
|
-
i0.ɵɵproperty("ngSwitch",
|
|
16527
|
+
i0.ɵɵstyleProp("width", ctx_r78.noColumnsHeader == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement == null ? null : ctx_r78.noColumnsHeader.nativeElement.parentElement.offsetWidth, "px");
|
|
16528
|
+
i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r78.hideTextOverflow);
|
|
16529
|
+
i0.ɵɵproperty("ngSwitch", column_r99.type)("p-tooltip", ctx_r78.tooltipText);
|
|
16461
16530
|
i0.ɵɵadvance(1);
|
|
16462
16531
|
i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
|
|
16463
16532
|
i0.ɵɵadvance(1);
|
|
@@ -16485,127 +16554,127 @@ function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template(rf,
|
|
|
16485
16554
|
} }
|
|
16486
16555
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
|
|
16487
16556
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
16488
|
-
const
|
|
16489
|
-
i0.ɵɵelementStart(0, "td",
|
|
16490
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16491
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template",
|
|
16557
|
+
const _r156 = i0.ɵɵgetCurrentView();
|
|
16558
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
16559
|
+
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); });
|
|
16560
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
16492
16561
|
i0.ɵɵelementEnd();
|
|
16493
16562
|
} if (rf & 2) {
|
|
16494
|
-
const
|
|
16495
|
-
const
|
|
16496
|
-
const
|
|
16563
|
+
const ctx_r157 = i0.ɵɵnextContext();
|
|
16564
|
+
const row_r72 = ctx_r157.$implicit;
|
|
16565
|
+
const rowIndex_r73 = ctx_r157.index;
|
|
16497
16566
|
i0.ɵɵnextContext(3);
|
|
16498
16567
|
const _r11 = i0.ɵɵreference(13);
|
|
16499
16568
|
i0.ɵɵadvance(1);
|
|
16500
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16569
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
16501
16570
|
} }
|
|
16502
16571
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template(rf, ctx) { }
|
|
16503
16572
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
|
|
16504
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template",
|
|
16573
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
16505
16574
|
} if (rf & 2) {
|
|
16506
|
-
const
|
|
16507
|
-
const
|
|
16508
|
-
const
|
|
16575
|
+
const ctx_r159 = i0.ɵɵnextContext();
|
|
16576
|
+
const row_r72 = ctx_r159.$implicit;
|
|
16577
|
+
const rowIndex_r73 = ctx_r159.index;
|
|
16509
16578
|
i0.ɵɵnextContext(3);
|
|
16510
16579
|
const _r23 = i0.ɵɵreference(25);
|
|
16511
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16580
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r72, rowIndex_r73));
|
|
16512
16581
|
} }
|
|
16513
16582
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
16514
16583
|
i0.ɵɵelementContainerStart(0);
|
|
16515
|
-
i0.ɵɵelement(1, "td",
|
|
16584
|
+
i0.ɵɵelement(1, "td", 84);
|
|
16516
16585
|
i0.ɵɵelementContainerEnd();
|
|
16517
16586
|
} }
|
|
16518
16587
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
16519
|
-
i0.ɵɵelement(0, "td",
|
|
16588
|
+
i0.ɵɵelement(0, "td", 85);
|
|
16520
16589
|
} }
|
|
16521
16590
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
|
|
16522
|
-
const
|
|
16591
|
+
const _c16 = function (a0, a1) { return { $implicit: a0, rowIndex: a1 }; };
|
|
16523
16592
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template(rf, ctx) { if (rf & 1) {
|
|
16524
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
16525
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template",
|
|
16593
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 86);
|
|
16594
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 73);
|
|
16526
16595
|
i0.ɵɵelementEnd()();
|
|
16527
16596
|
} if (rf & 2) {
|
|
16528
|
-
const
|
|
16529
|
-
const
|
|
16530
|
-
const
|
|
16531
|
-
const
|
|
16597
|
+
const ctx_r161 = i0.ɵɵnextContext();
|
|
16598
|
+
const row_r72 = ctx_r161.$implicit;
|
|
16599
|
+
const rowIndex_r73 = ctx_r161.index;
|
|
16600
|
+
const ctx_r83 = i0.ɵɵnextContext(3);
|
|
16532
16601
|
i0.ɵɵadvance(1);
|
|
16533
|
-
i0.ɵɵproperty("colSpan",
|
|
16602
|
+
i0.ɵɵproperty("colSpan", ctx_r83.columnCountForMasterDetail);
|
|
16534
16603
|
i0.ɵɵadvance(1);
|
|
16535
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
16604
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r83.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c16, row_r72, rowIndex_r73));
|
|
16536
16605
|
} }
|
|
16537
16606
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template(rf, ctx) { if (rf & 1) {
|
|
16538
|
-
const
|
|
16539
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
16540
|
-
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(
|
|
16607
|
+
const _r163 = i0.ɵɵgetCurrentView();
|
|
16608
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
|
|
16609
|
+
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); });
|
|
16541
16610
|
i0.ɵɵelementEnd()()();
|
|
16542
16611
|
} if (rf & 2) {
|
|
16543
|
-
const
|
|
16544
|
-
const
|
|
16612
|
+
const row_r72 = i0.ɵɵnextContext().$implicit;
|
|
16613
|
+
const ctx_r84 = i0.ɵɵnextContext(3);
|
|
16545
16614
|
i0.ɵɵadvance(1);
|
|
16546
|
-
i0.ɵɵproperty("colSpan",
|
|
16615
|
+
i0.ɵɵproperty("colSpan", ctx_r84.columnCountForMasterDetail);
|
|
16547
16616
|
i0.ɵɵadvance(1);
|
|
16548
|
-
i0.ɵɵproperty("p-selectable",
|
|
16617
|
+
i0.ɵɵproperty("p-selectable", ctx_r84.selectable && !ctx_r84.detailHideSelect)("p-detail", ctx_r84.columnMasterDetail.detail)("p-items", row_r72[ctx_r84.nameColumnDetail]);
|
|
16549
16618
|
} }
|
|
16550
16619
|
function PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template(rf, ctx) { if (rf & 1) {
|
|
16551
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
16620
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
|
|
16552
16621
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_2_Template, 2, 4, "td", 40);
|
|
16553
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template, 2, 5, "td",
|
|
16622
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_3_Template, 2, 5, "td", 69);
|
|
16554
16623
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_tbody_1_4_Template, 1, 5, null, 23);
|
|
16555
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template, 2, 5, "td",
|
|
16556
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template, 15, 33, "td",
|
|
16557
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template, 2, 5, "td",
|
|
16624
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_5_Template, 2, 5, "td", 69);
|
|
16625
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_6_Template, 15, 33, "td", 70);
|
|
16626
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_7_Template, 2, 5, "td", 69);
|
|
16558
16627
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_6_ng_container_4_tbody_1_8_Template, 1, 5, null, 23);
|
|
16559
16628
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_6_ng_container_4_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
|
|
16560
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template, 1, 0, "td",
|
|
16629
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_6_ng_container_4_tbody_1_td_10_Template, 1, 0, "td", 71);
|
|
16561
16630
|
i0.ɵɵelementEnd();
|
|
16562
16631
|
i0.ɵɵtemplate(11, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_11_Template, 3, 6, "tr", 23);
|
|
16563
16632
|
i0.ɵɵtemplate(12, PoTableComponent_ng_template_6_ng_container_4_tbody_1_tr_12_Template, 3, 4, "tr", 23);
|
|
16564
16633
|
i0.ɵɵelementEnd();
|
|
16565
16634
|
} if (rf & 2) {
|
|
16566
|
-
const
|
|
16567
|
-
const
|
|
16568
|
-
const
|
|
16635
|
+
const row_r72 = ctx.$implicit;
|
|
16636
|
+
const rowIndex_r73 = ctx.index;
|
|
16637
|
+
const ctx_r71 = i0.ɵɵnextContext(3);
|
|
16569
16638
|
i0.ɵɵadvance(1);
|
|
16570
|
-
i0.ɵɵclassProp("po-table-row-active",
|
|
16639
|
+
i0.ɵɵclassProp("po-table-row-active", row_r72.$selected || row_r72.$selected === null && ctx_r71.selectable);
|
|
16571
16640
|
i0.ɵɵadvance(1);
|
|
16572
|
-
i0.ɵɵproperty("ngIf",
|
|
16641
|
+
i0.ɵɵproperty("ngIf", ctx_r71.selectable);
|
|
16573
16642
|
i0.ɵɵadvance(1);
|
|
16574
|
-
i0.ɵɵproperty("ngIf",
|
|
16643
|
+
i0.ɵɵproperty("ngIf", ctx_r71.columnMasterDetail && !ctx_r71.hideDetail && !ctx_r71.hasRowTemplate);
|
|
16575
16644
|
i0.ɵɵadvance(1);
|
|
16576
|
-
i0.ɵɵproperty("ngIf", !
|
|
16645
|
+
i0.ɵɵproperty("ngIf", !ctx_r71.actionRight && (ctx_r71.visibleActions.length > 1 || ctx_r71.isSingleAction));
|
|
16577
16646
|
i0.ɵɵadvance(1);
|
|
16578
|
-
i0.ɵɵproperty("ngIf",
|
|
16647
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplate && !ctx_r71.hasRowTemplateWithArrowDirectionRight);
|
|
16579
16648
|
i0.ɵɵadvance(1);
|
|
16580
|
-
i0.ɵɵproperty("ngForOf",
|
|
16649
|
+
i0.ɵɵproperty("ngForOf", ctx_r71.mainColumns)("ngForTrackBy", ctx_r71.trackBy);
|
|
16581
16650
|
i0.ɵɵadvance(1);
|
|
16582
|
-
i0.ɵɵproperty("ngIf",
|
|
16651
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasRowTemplateWithArrowDirectionRight);
|
|
16583
16652
|
i0.ɵɵadvance(1);
|
|
16584
|
-
i0.ɵɵproperty("ngIf",
|
|
16653
|
+
i0.ɵɵproperty("ngIf", ctx_r71.actionRight);
|
|
16585
16654
|
i0.ɵɵadvance(1);
|
|
16586
|
-
i0.ɵɵproperty("ngIf", !
|
|
16655
|
+
i0.ɵɵproperty("ngIf", !ctx_r71.actionRight && (ctx_r71.visibleActions.length > 1 || ctx_r71.isSingleAction) && !ctx_r71.hideColumnsManager);
|
|
16587
16656
|
i0.ɵɵadvance(1);
|
|
16588
|
-
i0.ɵɵproperty("ngIf", !
|
|
16657
|
+
i0.ɵɵproperty("ngIf", !ctx_r71.hasVisibleActions && !ctx_r71.hideColumnsManager && !ctx_r71.hasRowTemplateWithArrowDirectionRight);
|
|
16589
16658
|
i0.ɵɵadvance(1);
|
|
16590
|
-
i0.ɵɵproperty("ngIf",
|
|
16659
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasMainColumns && ctx_r71.hasRowTemplate && row_r72.$showDetail && ctx_r71.isShowRowTemplate(row_r72, rowIndex_r73));
|
|
16591
16660
|
i0.ɵɵadvance(1);
|
|
16592
|
-
i0.ɵɵproperty("ngIf",
|
|
16661
|
+
i0.ɵɵproperty("ngIf", ctx_r71.hasMainColumns && ctx_r71.isShowMasterDetail(row_r72));
|
|
16593
16662
|
} }
|
|
16594
16663
|
function PoTableComponent_ng_template_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
16595
16664
|
i0.ɵɵelementContainerStart(0);
|
|
16596
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template, 13, 14, "tbody",
|
|
16665
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_6_ng_container_4_tbody_1_Template, 13, 14, "tbody", 67);
|
|
16597
16666
|
i0.ɵɵelementContainerEnd();
|
|
16598
16667
|
} if (rf & 2) {
|
|
16599
|
-
const
|
|
16668
|
+
const ctx_r70 = i0.ɵɵnextContext(2);
|
|
16600
16669
|
i0.ɵɵadvance(1);
|
|
16601
|
-
i0.ɵɵproperty("cdkVirtualForOf",
|
|
16670
|
+
i0.ɵɵproperty("cdkVirtualForOf", ctx_r70.items)("cdkVirtualForTrackBy", ctx_r70.trackBy);
|
|
16602
16671
|
} }
|
|
16603
16672
|
function PoTableComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
16604
|
-
const
|
|
16605
|
-
i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport",
|
|
16606
|
-
i0.ɵɵlistener("scroll", function PoTableComponent_ng_template_6_Template_cdk_virtual_scroll_viewport_scroll_0_listener() { i0.ɵɵrestoreView(
|
|
16673
|
+
const _r166 = i0.ɵɵgetCurrentView();
|
|
16674
|
+
i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 61, 62);
|
|
16675
|
+
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(); });
|
|
16607
16676
|
i0.ɵɵelementStart(2, "table", 39);
|
|
16608
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_tbody_3_Template, 5, 2, "tbody",
|
|
16677
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_6_tbody_3_Template, 5, 2, "tbody", 63);
|
|
16609
16678
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_6_ng_container_4_Template, 2, 2, "ng-container", 23);
|
|
16610
16679
|
i0.ɵɵelementEnd()();
|
|
16611
16680
|
} if (rf & 2) {
|
|
@@ -16620,24 +16689,24 @@ function PoTableComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
16620
16689
|
i0.ɵɵproperty("ngIf", ctx_r7.hasMainColumns);
|
|
16621
16690
|
} }
|
|
16622
16691
|
function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template(rf, ctx) { if (rf & 1) {
|
|
16623
|
-
const
|
|
16692
|
+
const _r179 = i0.ɵɵgetCurrentView();
|
|
16624
16693
|
i0.ɵɵelementStart(0, "po-checkbox", 49);
|
|
16625
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template_po_checkbox_click_0_listener() { i0.ɵɵrestoreView(
|
|
16694
|
+
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; });
|
|
16626
16695
|
i0.ɵɵelementEnd();
|
|
16627
16696
|
} if (rf & 2) {
|
|
16628
|
-
const
|
|
16629
|
-
i0.ɵɵproperty("ngModel",
|
|
16697
|
+
const ctx_r177 = i0.ɵɵnextContext(3);
|
|
16698
|
+
i0.ɵɵproperty("ngModel", ctx_r177.selectAll);
|
|
16630
16699
|
} }
|
|
16631
16700
|
function PoTableComponent_ng_template_8_th_3_Template(rf, ctx) { if (rf & 1) {
|
|
16632
16701
|
i0.ɵɵelementStart(0, "th", 47)(1, "div");
|
|
16633
16702
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_3_po_checkbox_2_Template, 1, 1, "po-checkbox", 48);
|
|
16634
16703
|
i0.ɵɵelementEnd()();
|
|
16635
16704
|
} if (rf & 2) {
|
|
16636
|
-
const
|
|
16705
|
+
const ctx_r167 = i0.ɵɵnextContext(2);
|
|
16637
16706
|
i0.ɵɵadvance(1);
|
|
16638
|
-
i0.ɵɵclassProp("po-table-header-fixed-inner",
|
|
16707
|
+
i0.ɵɵclassProp("po-table-header-fixed-inner", ctx_r167.height);
|
|
16639
16708
|
i0.ɵɵadvance(1);
|
|
16640
|
-
i0.ɵɵproperty("ngIf", !
|
|
16709
|
+
i0.ɵɵproperty("ngIf", !ctx_r167.hideSelectAll);
|
|
16641
16710
|
} }
|
|
16642
16711
|
function PoTableComponent_ng_template_8_th_4_Template(rf, ctx) { if (rf & 1) {
|
|
16643
16712
|
i0.ɵɵelement(0, "th", 50);
|
|
@@ -16645,43 +16714,43 @@ function PoTableComponent_ng_template_8_th_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16645
16714
|
function PoTableComponent_ng_template_8_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
16646
16715
|
i0.ɵɵelement(0, "th");
|
|
16647
16716
|
} if (rf & 2) {
|
|
16648
|
-
const
|
|
16649
|
-
i0.ɵɵclassProp("po-table-header-master-detail", !
|
|
16717
|
+
const ctx_r169 = i0.ɵɵnextContext(2);
|
|
16718
|
+
i0.ɵɵclassProp("po-table-header-master-detail", !ctx_r169.isSingleAction)("po-table-header-single-action", ctx_r169.isSingleAction);
|
|
16650
16719
|
} }
|
|
16651
16720
|
function PoTableComponent_ng_template_8_th_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
16652
16721
|
i0.ɵɵelementContainer(0);
|
|
16653
16722
|
} }
|
|
16654
16723
|
function PoTableComponent_ng_template_8_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
16655
|
-
i0.ɵɵelementStart(0, "th",
|
|
16724
|
+
i0.ɵɵelementStart(0, "th", 52, 53);
|
|
16656
16725
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_th_6_ng_container_2_Template, 1, 0, "ng-container", 32);
|
|
16657
16726
|
i0.ɵɵelementEnd();
|
|
16658
16727
|
} if (rf & 2) {
|
|
16659
|
-
const
|
|
16728
|
+
const ctx_r170 = i0.ɵɵnextContext(2);
|
|
16660
16729
|
const _r19 = i0.ɵɵreference(21);
|
|
16661
16730
|
const _r21 = i0.ɵɵreference(23);
|
|
16662
16731
|
i0.ɵɵadvance(2);
|
|
16663
|
-
i0.ɵɵproperty("ngIf",
|
|
16732
|
+
i0.ɵɵproperty("ngIf", ctx_r170.height)("ngIfThen", _r19)("ngIfElse", _r21);
|
|
16664
16733
|
} }
|
|
16665
16734
|
function PoTableComponent_ng_template_8_th_7_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
16666
16735
|
i0.ɵɵelementContainer(0);
|
|
16667
16736
|
} }
|
|
16668
16737
|
function PoTableComponent_ng_template_8_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
16669
|
-
const
|
|
16670
|
-
i0.ɵɵelementStart(0, "th",
|
|
16671
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_7_Template_th_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
16672
|
-
i0.ɵɵelementStart(2, "div",
|
|
16673
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_7_ng_container_3_Template, 1, 0, "ng-container",
|
|
16738
|
+
const _r189 = i0.ɵɵgetCurrentView();
|
|
16739
|
+
i0.ɵɵelementStart(0, "th", 54, 55);
|
|
16740
|
+
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); });
|
|
16741
|
+
i0.ɵɵelementStart(2, "div", 56);
|
|
16742
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_th_7_ng_container_3_Template, 1, 0, "ng-container", 57);
|
|
16674
16743
|
i0.ɵɵelementEnd()();
|
|
16675
16744
|
} if (rf & 2) {
|
|
16676
|
-
const
|
|
16677
|
-
const
|
|
16745
|
+
const column_r184 = ctx.$implicit;
|
|
16746
|
+
const ctx_r171 = i0.ɵɵnextContext(2);
|
|
16678
16747
|
const _r17 = i0.ɵɵreference(19);
|
|
16679
|
-
i0.ɵɵstyleProp("width",
|
|
16680
|
-
i0.ɵɵclassProp("po-clickable",
|
|
16748
|
+
i0.ɵɵstyleProp("width", column_r184.width)("max-width", column_r184.width)("min-width", column_r184.width);
|
|
16749
|
+
i0.ɵɵclassProp("po-clickable", ctx_r171.sort && column_r184.sortable !== false || ctx_r171.hasService)("po-table-header-subtitle", column_r184.type === "subtitle");
|
|
16681
16750
|
i0.ɵɵadvance(2);
|
|
16682
|
-
i0.ɵɵclassProp("po-table-header-fixed-inner",
|
|
16751
|
+
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");
|
|
16683
16752
|
i0.ɵɵadvance(1);
|
|
16684
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18,
|
|
16753
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r17)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c13, column_r184));
|
|
16685
16754
|
} }
|
|
16686
16755
|
function PoTableComponent_ng_template_8_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
16687
16756
|
i0.ɵɵelement(0, "th", 50);
|
|
@@ -16689,131 +16758,132 @@ function PoTableComponent_ng_template_8_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
16689
16758
|
function PoTableComponent_ng_template_8_th_9_Template(rf, ctx) { if (rf & 1) {
|
|
16690
16759
|
i0.ɵɵelement(0, "th");
|
|
16691
16760
|
} if (rf & 2) {
|
|
16692
|
-
const
|
|
16693
|
-
i0.ɵɵclassProp("po-table-header-single-action",
|
|
16761
|
+
const ctx_r173 = i0.ɵɵnextContext(2);
|
|
16762
|
+
i0.ɵɵclassProp("po-table-header-single-action", ctx_r173.isSingleAction)("po-table-header-actions", !ctx_r173.isSingleAction);
|
|
16694
16763
|
} }
|
|
16695
16764
|
function PoTableComponent_ng_template_8_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
16696
|
-
const
|
|
16697
|
-
i0.ɵɵelementStart(0, "th", null,
|
|
16698
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_th_10_Template_button_click_3_listener() { i0.ɵɵrestoreView(
|
|
16765
|
+
const _r193 = i0.ɵɵgetCurrentView();
|
|
16766
|
+
i0.ɵɵelementStart(0, "th", null, 58)(2, "div")(3, "button", 59, 60);
|
|
16767
|
+
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(); });
|
|
16699
16768
|
i0.ɵɵelementEnd()()();
|
|
16700
16769
|
} if (rf & 2) {
|
|
16701
|
-
const
|
|
16702
|
-
const
|
|
16703
|
-
i0.ɵɵclassProp("po-table-header-column-manager", !
|
|
16770
|
+
const _r190 = i0.ɵɵreference(1);
|
|
16771
|
+
const ctx_r174 = i0.ɵɵnextContext(2);
|
|
16772
|
+
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);
|
|
16704
16773
|
i0.ɵɵadvance(2);
|
|
16705
|
-
i0.ɵɵstyleProp("width",
|
|
16706
|
-
i0.ɵɵclassProp("po-table-header-column-manager-border",
|
|
16774
|
+
i0.ɵɵstyleProp("width", ctx_r174.height && ctx_r174.visibleActions.length ? _r190.offsetWidth : undefined, "px");
|
|
16775
|
+
i0.ɵɵclassProp("po-table-header-column-manager-border", ctx_r174.height && ctx_r174.container)("po-table-header-column-manager-fixed-inner", ctx_r174.height);
|
|
16707
16776
|
i0.ɵɵadvance(1);
|
|
16708
|
-
i0.ɵɵproperty("p-tooltip",
|
|
16777
|
+
i0.ɵɵproperty("p-tooltip", ctx_r174.literals.columnsManager);
|
|
16778
|
+
i0.ɵɵattribute("aria-label", ctx_r174.literals.columnsManager);
|
|
16709
16779
|
} }
|
|
16710
16780
|
function PoTableComponent_ng_template_8_tbody_11_Template(rf, ctx) { if (rf & 1) {
|
|
16711
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
16781
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 65)(2, "td", 66)(3, "span");
|
|
16712
16782
|
i0.ɵɵtext(4);
|
|
16713
16783
|
i0.ɵɵelementEnd()()()();
|
|
16714
16784
|
} if (rf & 2) {
|
|
16715
|
-
const
|
|
16785
|
+
const ctx_r175 = i0.ɵɵnextContext(2);
|
|
16716
16786
|
i0.ɵɵadvance(2);
|
|
16717
|
-
i0.ɵɵproperty("colSpan",
|
|
16787
|
+
i0.ɵɵproperty("colSpan", ctx_r175.columnCount);
|
|
16718
16788
|
i0.ɵɵadvance(2);
|
|
16719
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16789
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r175.literals.noData, " ");
|
|
16720
16790
|
} }
|
|
16721
16791
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16722
16792
|
i0.ɵɵelementContainer(0);
|
|
16723
16793
|
} }
|
|
16724
16794
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
16725
16795
|
i0.ɵɵelementStart(0, "td", 47);
|
|
16726
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
16796
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_ng_container_1_Template, 1, 0, "ng-container", 57);
|
|
16727
16797
|
i0.ɵɵelementEnd();
|
|
16728
16798
|
} if (rf & 2) {
|
|
16729
|
-
const
|
|
16730
|
-
const
|
|
16799
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16800
|
+
const ctx_r197 = i0.ɵɵnextContext(3);
|
|
16731
16801
|
const _r13 = i0.ɵɵreference(15);
|
|
16732
16802
|
const _r15 = i0.ɵɵreference(17);
|
|
16733
16803
|
i0.ɵɵadvance(1);
|
|
16734
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
16804
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r197.singleSelect ? _r13 : _r15)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, row_r195));
|
|
16735
16805
|
} }
|
|
16736
16806
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template(rf, ctx) { }
|
|
16737
16807
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
16738
|
-
const
|
|
16739
|
-
i0.ɵɵelementStart(0, "td",
|
|
16740
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16741
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template",
|
|
16808
|
+
const _r213 = i0.ɵɵgetCurrentView();
|
|
16809
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
16810
|
+
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); });
|
|
16811
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
16742
16812
|
i0.ɵɵelementEnd();
|
|
16743
16813
|
} if (rf & 2) {
|
|
16744
|
-
const
|
|
16745
|
-
const
|
|
16746
|
-
const
|
|
16814
|
+
const ctx_r214 = i0.ɵɵnextContext();
|
|
16815
|
+
const row_r195 = ctx_r214.$implicit;
|
|
16816
|
+
const rowIndex_r196 = ctx_r214.index;
|
|
16747
16817
|
i0.ɵɵnextContext(3);
|
|
16748
16818
|
const _r11 = i0.ɵɵreference(13);
|
|
16749
16819
|
i0.ɵɵadvance(1);
|
|
16750
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16820
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
16751
16821
|
} }
|
|
16752
16822
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template(rf, ctx) { }
|
|
16753
16823
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template(rf, ctx) { if (rf & 1) {
|
|
16754
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template",
|
|
16824
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
16755
16825
|
} if (rf & 2) {
|
|
16756
|
-
const
|
|
16757
|
-
const
|
|
16758
|
-
const
|
|
16826
|
+
const ctx_r216 = i0.ɵɵnextContext();
|
|
16827
|
+
const row_r195 = ctx_r216.$implicit;
|
|
16828
|
+
const rowIndex_r196 = ctx_r216.index;
|
|
16759
16829
|
i0.ɵɵnextContext(3);
|
|
16760
16830
|
const _r23 = i0.ɵɵreference(25);
|
|
16761
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16831
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
16762
16832
|
} }
|
|
16763
16833
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template(rf, ctx) { }
|
|
16764
16834
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template(rf, ctx) { if (rf & 1) {
|
|
16765
|
-
const
|
|
16766
|
-
i0.ɵɵelementStart(0, "td",
|
|
16767
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16768
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template",
|
|
16835
|
+
const _r220 = i0.ɵɵgetCurrentView();
|
|
16836
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
16837
|
+
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); });
|
|
16838
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
16769
16839
|
i0.ɵɵelementEnd();
|
|
16770
16840
|
} if (rf & 2) {
|
|
16771
|
-
const
|
|
16772
|
-
const
|
|
16773
|
-
const
|
|
16841
|
+
const ctx_r221 = i0.ɵɵnextContext();
|
|
16842
|
+
const row_r195 = ctx_r221.$implicit;
|
|
16843
|
+
const rowIndex_r196 = ctx_r221.index;
|
|
16774
16844
|
i0.ɵɵnextContext(3);
|
|
16775
16845
|
const _r11 = i0.ɵɵreference(13);
|
|
16776
16846
|
i0.ɵɵadvance(1);
|
|
16777
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
16847
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
16778
16848
|
} }
|
|
16779
16849
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16780
16850
|
i0.ɵɵelementContainer(0);
|
|
16781
16851
|
} }
|
|
16782
16852
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16783
16853
|
i0.ɵɵelementStart(0, "span");
|
|
16784
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_ng_container_1_Template, 1, 0, "ng-container",
|
|
16854
|
+
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);
|
|
16785
16855
|
i0.ɵɵelementEnd();
|
|
16786
16856
|
} if (rf & 2) {
|
|
16787
|
-
const
|
|
16788
|
-
const
|
|
16789
|
-
const
|
|
16857
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16858
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16859
|
+
const ctx_r224 = i0.ɵɵnextContext(3);
|
|
16790
16860
|
i0.ɵɵadvance(1);
|
|
16791
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
16861
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r224.getTemplate(column_r222))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c13, ctx_r224.getCellData(row_r195, column_r222)));
|
|
16792
16862
|
} }
|
|
16793
16863
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16794
16864
|
i0.ɵɵelementContainer(0);
|
|
16795
16865
|
} }
|
|
16796
16866
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
16797
16867
|
i0.ɵɵelementStart(0, "span");
|
|
16798
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_ng_container_1_Template, 1, 0, "ng-container",
|
|
16868
|
+
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);
|
|
16799
16869
|
i0.ɵɵelementEnd();
|
|
16800
16870
|
} if (rf & 2) {
|
|
16801
|
-
const
|
|
16802
|
-
const
|
|
16803
|
-
const
|
|
16871
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16872
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16873
|
+
const ctx_r225 = i0.ɵɵnextContext(3);
|
|
16804
16874
|
i0.ɵɵadvance(1);
|
|
16805
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
16875
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r225.tableCellTemplate == null ? null : ctx_r225.tableCellTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c15, row_r195, column_r222));
|
|
16806
16876
|
} }
|
|
16807
16877
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16808
16878
|
i0.ɵɵelementStart(0, "span");
|
|
16809
16879
|
i0.ɵɵtext(1);
|
|
16810
16880
|
i0.ɵɵelementEnd();
|
|
16811
16881
|
} if (rf & 2) {
|
|
16812
|
-
const
|
|
16813
|
-
const
|
|
16814
|
-
const
|
|
16882
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16883
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16884
|
+
const ctx_r226 = i0.ɵɵnextContext(3);
|
|
16815
16885
|
i0.ɵɵadvance(1);
|
|
16816
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16886
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r226.getBooleanLabel(ctx_r226.getCellData(row_r195, column_r222), column_r222), " ");
|
|
16817
16887
|
} }
|
|
16818
16888
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
16819
16889
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16821,11 +16891,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Temp
|
|
|
16821
16891
|
i0.ɵɵpipe(2, "currency");
|
|
16822
16892
|
i0.ɵɵelementEnd();
|
|
16823
16893
|
} if (rf & 2) {
|
|
16824
|
-
const
|
|
16825
|
-
const
|
|
16826
|
-
const
|
|
16894
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16895
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16896
|
+
const ctx_r227 = i0.ɵɵnextContext(3);
|
|
16827
16897
|
i0.ɵɵadvance(1);
|
|
16828
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1,
|
|
16898
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 1, ctx_r227.getCellData(row_r195, column_r222), column_r222.format, "symbol", "1.2-2"), " ");
|
|
16829
16899
|
} }
|
|
16830
16900
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
16831
16901
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16833,11 +16903,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Temp
|
|
|
16833
16903
|
i0.ɵɵpipe(2, "date");
|
|
16834
16904
|
i0.ɵɵelementEnd();
|
|
16835
16905
|
} if (rf & 2) {
|
|
16836
|
-
const
|
|
16837
|
-
const
|
|
16838
|
-
const
|
|
16906
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16907
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16908
|
+
const ctx_r228 = i0.ɵɵnextContext(3);
|
|
16839
16909
|
i0.ɵɵadvance(1);
|
|
16840
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
16910
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r228.getCellData(row_r195, column_r222), column_r222.format || "dd/MM/yyyy"), " ");
|
|
16841
16911
|
} }
|
|
16842
16912
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
16843
16913
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16845,11 +16915,11 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Temp
|
|
|
16845
16915
|
i0.ɵɵpipe(2, "po_time");
|
|
16846
16916
|
i0.ɵɵelementEnd();
|
|
16847
16917
|
} if (rf & 2) {
|
|
16848
|
-
const
|
|
16849
|
-
const
|
|
16850
|
-
const
|
|
16918
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16919
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16920
|
+
const ctx_r229 = i0.ɵɵnextContext(3);
|
|
16851
16921
|
i0.ɵɵadvance(1);
|
|
16852
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
16922
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r229.getCellData(row_r195, column_r222), column_r222.format || "HH:mm:ss.ffffff"), " ");
|
|
16853
16923
|
} }
|
|
16854
16924
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
16855
16925
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -16857,105 +16927,105 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Temp
|
|
|
16857
16927
|
i0.ɵɵpipe(2, "date");
|
|
16858
16928
|
i0.ɵɵelementEnd();
|
|
16859
16929
|
} if (rf & 2) {
|
|
16860
|
-
const
|
|
16861
|
-
const
|
|
16862
|
-
const
|
|
16930
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16931
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16932
|
+
const ctx_r230 = i0.ɵɵnextContext(3);
|
|
16863
16933
|
i0.ɵɵadvance(1);
|
|
16864
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1,
|
|
16934
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r230.getCellData(row_r195, column_r222), column_r222.format || "dd/MM/yyyy HH:mm:ss"), " ");
|
|
16865
16935
|
} }
|
|
16866
16936
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template(rf, ctx) { if (rf & 1) {
|
|
16867
16937
|
i0.ɵɵelementStart(0, "span");
|
|
16868
16938
|
i0.ɵɵtext(1);
|
|
16869
16939
|
i0.ɵɵelementEnd();
|
|
16870
16940
|
} if (rf & 2) {
|
|
16871
|
-
const
|
|
16872
|
-
const
|
|
16873
|
-
const
|
|
16941
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16942
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16943
|
+
const ctx_r231 = i0.ɵɵnextContext(3);
|
|
16874
16944
|
i0.ɵɵadvance(1);
|
|
16875
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
16945
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r231.formatNumber(ctx_r231.getCellData(row_r195, column_r222), column_r222.format), " ");
|
|
16876
16946
|
} }
|
|
16877
16947
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_link_10_Template(rf, ctx) { if (rf & 1) {
|
|
16878
|
-
const
|
|
16879
|
-
i0.ɵɵelementStart(0, "po-table-column-link",
|
|
16880
|
-
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(
|
|
16948
|
+
const _r257 = i0.ɵɵgetCurrentView();
|
|
16949
|
+
i0.ɵɵelementStart(0, "po-table-column-link", 80);
|
|
16950
|
+
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); });
|
|
16881
16951
|
i0.ɵɵelementEnd();
|
|
16882
16952
|
} if (rf & 2) {
|
|
16883
|
-
const
|
|
16884
|
-
const
|
|
16885
|
-
const
|
|
16886
|
-
i0.ɵɵproperty("p-action",
|
|
16953
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16954
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16955
|
+
const ctx_r232 = i0.ɵɵnextContext(3);
|
|
16956
|
+
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));
|
|
16887
16957
|
} }
|
|
16888
16958
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_po_table_column_icon_11_Template(rf, ctx) { if (rf & 1) {
|
|
16889
|
-
i0.ɵɵelement(0, "po-table-column-icon",
|
|
16959
|
+
i0.ɵɵelement(0, "po-table-column-icon", 81);
|
|
16890
16960
|
} if (rf & 2) {
|
|
16891
|
-
const
|
|
16892
|
-
const
|
|
16893
|
-
const
|
|
16894
|
-
i0.ɵɵproperty("p-column",
|
|
16961
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16962
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16963
|
+
const ctx_r233 = i0.ɵɵnextContext(3);
|
|
16964
|
+
i0.ɵɵproperty("p-column", column_r222)("p-icons", ctx_r233.getColumnIcons(row_r195, column_r222))("p-row", row_r195);
|
|
16895
16965
|
} }
|
|
16896
16966
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template(rf, ctx) { if (rf & 1) {
|
|
16897
16967
|
i0.ɵɵelementStart(0, "span");
|
|
16898
|
-
i0.ɵɵelement(1, "po-table-subtitle-circle",
|
|
16968
|
+
i0.ɵɵelement(1, "po-table-subtitle-circle", 82);
|
|
16899
16969
|
i0.ɵɵelementEnd();
|
|
16900
16970
|
} if (rf & 2) {
|
|
16901
|
-
const
|
|
16902
|
-
const
|
|
16903
|
-
const
|
|
16971
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16972
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16973
|
+
const ctx_r234 = i0.ɵɵnextContext(3);
|
|
16904
16974
|
i0.ɵɵadvance(1);
|
|
16905
|
-
i0.ɵɵproperty("p-subtitle",
|
|
16975
|
+
i0.ɵɵproperty("p-subtitle", ctx_r234.getSubtitleColumn(row_r195, column_r222));
|
|
16906
16976
|
} }
|
|
16907
16977
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
16908
16978
|
i0.ɵɵelementStart(0, "span");
|
|
16909
|
-
i0.ɵɵelement(1, "po-table-column-label",
|
|
16979
|
+
i0.ɵɵelement(1, "po-table-column-label", 83);
|
|
16910
16980
|
i0.ɵɵelementEnd();
|
|
16911
16981
|
} if (rf & 2) {
|
|
16912
|
-
const
|
|
16913
|
-
const
|
|
16914
|
-
const
|
|
16982
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16983
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16984
|
+
const ctx_r235 = i0.ɵɵnextContext(3);
|
|
16915
16985
|
i0.ɵɵadvance(1);
|
|
16916
|
-
i0.ɵɵproperty("p-value",
|
|
16986
|
+
i0.ɵɵproperty("p-value", ctx_r235.getColumnLabel(row_r195, column_r222));
|
|
16917
16987
|
} }
|
|
16918
16988
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template(rf, ctx) { if (rf & 1) {
|
|
16919
16989
|
i0.ɵɵelementStart(0, "span");
|
|
16920
16990
|
i0.ɵɵtext(1);
|
|
16921
16991
|
i0.ɵɵelementEnd();
|
|
16922
16992
|
} if (rf & 2) {
|
|
16923
|
-
const
|
|
16924
|
-
const
|
|
16925
|
-
const
|
|
16993
|
+
const column_r222 = i0.ɵɵnextContext().$implicit;
|
|
16994
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
16995
|
+
const ctx_r236 = i0.ɵɵnextContext(3);
|
|
16926
16996
|
i0.ɵɵadvance(1);
|
|
16927
|
-
i0.ɵɵtextInterpolate(
|
|
16997
|
+
i0.ɵɵtextInterpolate(ctx_r236.getCellData(row_r195, column_r222));
|
|
16928
16998
|
} }
|
|
16929
16999
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
16930
|
-
const
|
|
16931
|
-
i0.ɵɵelementStart(0, "td",
|
|
16932
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16933
|
-
i0.ɵɵelementStart(1, "div",
|
|
16934
|
-
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(
|
|
16935
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template, 2, 4, "span",
|
|
16936
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template, 2, 5, "span",
|
|
16937
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template, 2, 1, "span",
|
|
16938
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template, 3, 6, "span",
|
|
16939
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template, 3, 4, "span",
|
|
16940
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template, 3, 4, "span",
|
|
16941
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template, 3, 4, "span",
|
|
16942
|
-
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template, 2, 1, "span",
|
|
16943
|
-
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",
|
|
16944
|
-
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",
|
|
16945
|
-
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template, 2, 1, "span",
|
|
16946
|
-
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template, 2, 1, "span",
|
|
16947
|
-
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template, 2, 1, "span",
|
|
17000
|
+
const _r270 = i0.ɵɵgetCurrentView();
|
|
17001
|
+
i0.ɵɵelementStart(0, "td", 74);
|
|
17002
|
+
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:;"; });
|
|
17003
|
+
i0.ɵɵelementStart(1, "div", 75);
|
|
17004
|
+
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(); });
|
|
17005
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_2_Template, 2, 4, "span", 76);
|
|
17006
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_3_Template, 2, 5, "span", 76);
|
|
17007
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_4_Template, 2, 1, "span", 76);
|
|
17008
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_5_Template, 3, 6, "span", 76);
|
|
17009
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_6_Template, 3, 4, "span", 76);
|
|
17010
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_7_Template, 3, 4, "span", 76);
|
|
17011
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_8_Template, 3, 4, "span", 76);
|
|
17012
|
+
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_9_Template, 2, 1, "span", 76);
|
|
17013
|
+
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);
|
|
17014
|
+
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);
|
|
17015
|
+
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_12_Template, 2, 1, "span", 76);
|
|
17016
|
+
i0.ɵɵtemplate(13, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_13_Template, 2, 1, "span", 76);
|
|
17017
|
+
i0.ɵɵtemplate(14, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_span_14_Template, 2, 1, "span", 79);
|
|
16948
17018
|
i0.ɵɵelementEnd()();
|
|
16949
17019
|
} if (rf & 2) {
|
|
16950
|
-
const
|
|
16951
|
-
const
|
|
16952
|
-
const
|
|
16953
|
-
i0.ɵɵstyleProp("width",
|
|
16954
|
-
i0.ɵɵclassProp("po-table-column",
|
|
16955
|
-
i0.ɵɵproperty("ngClass",
|
|
17020
|
+
const column_r222 = ctx.$implicit;
|
|
17021
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
17022
|
+
const ctx_r201 = i0.ɵɵnextContext(3);
|
|
17023
|
+
i0.ɵɵstyleProp("width", column_r222.width)("max-width", column_r222.width)("min-width", column_r222.width);
|
|
17024
|
+
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");
|
|
17025
|
+
i0.ɵɵproperty("ngClass", ctx_r201.getClassColor(row_r195, column_r222));
|
|
16956
17026
|
i0.ɵɵadvance(1);
|
|
16957
|
-
i0.ɵɵclassProp("po-table-body-ellipsis",
|
|
16958
|
-
i0.ɵɵproperty("ngSwitch",
|
|
17027
|
+
i0.ɵɵclassProp("po-table-body-ellipsis", ctx_r201.hideTextOverflow);
|
|
17028
|
+
i0.ɵɵproperty("ngSwitch", column_r222.type)("p-tooltip", ctx_r201.tooltipText);
|
|
16959
17029
|
i0.ɵɵadvance(1);
|
|
16960
17030
|
i0.ɵɵproperty("ngSwitchCase", "columnTemplate");
|
|
16961
17031
|
i0.ɵɵadvance(1);
|
|
@@ -16983,119 +17053,119 @@ function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template(rf
|
|
|
16983
17053
|
} }
|
|
16984
17054
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template(rf, ctx) { }
|
|
16985
17055
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
16986
|
-
const
|
|
16987
|
-
i0.ɵɵelementStart(0, "td",
|
|
16988
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
16989
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template",
|
|
17056
|
+
const _r279 = i0.ɵɵgetCurrentView();
|
|
17057
|
+
i0.ɵɵelementStart(0, "td", 72);
|
|
17058
|
+
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); });
|
|
17059
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_ng_template_1_Template, 0, 0, "ng-template", 73);
|
|
16990
17060
|
i0.ɵɵelementEnd();
|
|
16991
17061
|
} if (rf & 2) {
|
|
16992
|
-
const
|
|
16993
|
-
const
|
|
16994
|
-
const
|
|
17062
|
+
const ctx_r280 = i0.ɵɵnextContext();
|
|
17063
|
+
const row_r195 = ctx_r280.$implicit;
|
|
17064
|
+
const rowIndex_r196 = ctx_r280.index;
|
|
16995
17065
|
i0.ɵɵnextContext(3);
|
|
16996
17066
|
const _r11 = i0.ɵɵreference(13);
|
|
16997
17067
|
i0.ɵɵadvance(1);
|
|
16998
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17068
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r11)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
16999
17069
|
} }
|
|
17000
17070
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template(rf, ctx) { }
|
|
17001
17071
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template(rf, ctx) { if (rf & 1) {
|
|
17002
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template",
|
|
17072
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_ng_template_0_Template, 0, 0, "ng-template", 73);
|
|
17003
17073
|
} if (rf & 2) {
|
|
17004
|
-
const
|
|
17005
|
-
const
|
|
17006
|
-
const
|
|
17074
|
+
const ctx_r282 = i0.ɵɵnextContext();
|
|
17075
|
+
const row_r195 = ctx_r282.$implicit;
|
|
17076
|
+
const rowIndex_r196 = ctx_r282.index;
|
|
17007
17077
|
i0.ɵɵnextContext(3);
|
|
17008
17078
|
const _r23 = i0.ɵɵreference(25);
|
|
17009
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
17079
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r23)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c14, row_r195, rowIndex_r196));
|
|
17010
17080
|
} }
|
|
17011
17081
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
17012
17082
|
i0.ɵɵelementContainerStart(0);
|
|
17013
|
-
i0.ɵɵelement(1, "td",
|
|
17083
|
+
i0.ɵɵelement(1, "td", 90);
|
|
17014
17084
|
i0.ɵɵelementContainerEnd();
|
|
17015
17085
|
} }
|
|
17016
17086
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
17017
|
-
i0.ɵɵelement(0, "td",
|
|
17087
|
+
i0.ɵɵelement(0, "td", 85);
|
|
17018
17088
|
} }
|
|
17019
17089
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template(rf, ctx) { }
|
|
17020
17090
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template(rf, ctx) { if (rf & 1) {
|
|
17021
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
17022
|
-
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template",
|
|
17091
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 86);
|
|
17092
|
+
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_ng_template_2_Template, 0, 0, "ng-template", 73);
|
|
17023
17093
|
i0.ɵɵelementEnd()();
|
|
17024
17094
|
} if (rf & 2) {
|
|
17025
|
-
const
|
|
17026
|
-
const
|
|
17027
|
-
const
|
|
17028
|
-
const
|
|
17095
|
+
const ctx_r284 = i0.ɵɵnextContext();
|
|
17096
|
+
const row_r195 = ctx_r284.$implicit;
|
|
17097
|
+
const rowIndex_r196 = ctx_r284.index;
|
|
17098
|
+
const ctx_r206 = i0.ɵɵnextContext(3);
|
|
17029
17099
|
i0.ɵɵadvance(1);
|
|
17030
|
-
i0.ɵɵproperty("colSpan",
|
|
17100
|
+
i0.ɵɵproperty("colSpan", ctx_r206.columnCountForMasterDetail);
|
|
17031
17101
|
i0.ɵɵadvance(1);
|
|
17032
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
17102
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r206.tableRowTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c16, row_r195, rowIndex_r196));
|
|
17033
17103
|
} }
|
|
17034
17104
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template(rf, ctx) { if (rf & 1) {
|
|
17035
|
-
const
|
|
17036
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
17037
|
-
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(
|
|
17105
|
+
const _r286 = i0.ɵɵgetCurrentView();
|
|
17106
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 87)(2, "po-table-detail", 88);
|
|
17107
|
+
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); });
|
|
17038
17108
|
i0.ɵɵelementEnd()()();
|
|
17039
17109
|
} if (rf & 2) {
|
|
17040
|
-
const
|
|
17041
|
-
const
|
|
17110
|
+
const row_r195 = i0.ɵɵnextContext().$implicit;
|
|
17111
|
+
const ctx_r207 = i0.ɵɵnextContext(3);
|
|
17042
17112
|
i0.ɵɵadvance(1);
|
|
17043
|
-
i0.ɵɵproperty("colSpan",
|
|
17113
|
+
i0.ɵɵproperty("colSpan", ctx_r207.columnCountForMasterDetail);
|
|
17044
17114
|
i0.ɵɵadvance(1);
|
|
17045
|
-
i0.ɵɵproperty("p-selectable",
|
|
17115
|
+
i0.ɵɵproperty("p-selectable", ctx_r207.selectable && !ctx_r207.detailHideSelect)("p-detail", ctx_r207.columnMasterDetail.detail)("p-items", row_r195[ctx_r207.nameColumnDetail]);
|
|
17046
17116
|
} }
|
|
17047
17117
|
function PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template(rf, ctx) { if (rf & 1) {
|
|
17048
|
-
i0.ɵɵelementStart(0, "tbody",
|
|
17118
|
+
i0.ɵɵelementStart(0, "tbody", 64)(1, "tr", 68);
|
|
17049
17119
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_2_Template, 2, 4, "td", 40);
|
|
17050
|
-
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template, 2, 5, "td",
|
|
17120
|
+
i0.ɵɵtemplate(3, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_3_Template, 2, 5, "td", 69);
|
|
17051
17121
|
i0.ɵɵtemplate(4, PoTableComponent_ng_template_8_ng_container_12_tbody_1_4_Template, 1, 5, null, 23);
|
|
17052
|
-
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template, 2, 5, "td",
|
|
17053
|
-
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template, 15, 31, "td",
|
|
17054
|
-
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template, 2, 5, "td",
|
|
17122
|
+
i0.ɵɵtemplate(5, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_5_Template, 2, 5, "td", 69);
|
|
17123
|
+
i0.ɵɵtemplate(6, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_6_Template, 15, 31, "td", 70);
|
|
17124
|
+
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_7_Template, 2, 5, "td", 69);
|
|
17055
17125
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_ng_container_12_tbody_1_8_Template, 1, 5, null, 23);
|
|
17056
17126
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_ng_container_12_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 23);
|
|
17057
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template, 1, 0, "td",
|
|
17127
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_ng_container_12_tbody_1_td_10_Template, 1, 0, "td", 71);
|
|
17058
17128
|
i0.ɵɵelementEnd();
|
|
17059
17129
|
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_11_Template, 3, 6, "tr", 23);
|
|
17060
17130
|
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_tbody_1_tr_12_Template, 3, 4, "tr", 23);
|
|
17061
17131
|
i0.ɵɵelementEnd();
|
|
17062
17132
|
} if (rf & 2) {
|
|
17063
|
-
const
|
|
17064
|
-
const
|
|
17065
|
-
const
|
|
17133
|
+
const row_r195 = ctx.$implicit;
|
|
17134
|
+
const rowIndex_r196 = ctx.index;
|
|
17135
|
+
const ctx_r194 = i0.ɵɵnextContext(3);
|
|
17066
17136
|
i0.ɵɵadvance(1);
|
|
17067
|
-
i0.ɵɵclassProp("po-table-row-active",
|
|
17137
|
+
i0.ɵɵclassProp("po-table-row-active", row_r195.$selected || row_r195.$selected === null && ctx_r194.selectable);
|
|
17068
17138
|
i0.ɵɵadvance(1);
|
|
17069
|
-
i0.ɵɵproperty("ngIf",
|
|
17139
|
+
i0.ɵɵproperty("ngIf", ctx_r194.selectable);
|
|
17070
17140
|
i0.ɵɵadvance(1);
|
|
17071
|
-
i0.ɵɵproperty("ngIf",
|
|
17141
|
+
i0.ɵɵproperty("ngIf", ctx_r194.columnMasterDetail && !ctx_r194.hideDetail && !ctx_r194.hasRowTemplate);
|
|
17072
17142
|
i0.ɵɵadvance(1);
|
|
17073
|
-
i0.ɵɵproperty("ngIf", !
|
|
17143
|
+
i0.ɵɵproperty("ngIf", !ctx_r194.actionRight && (ctx_r194.visibleActions.length > 1 || ctx_r194.isSingleAction));
|
|
17074
17144
|
i0.ɵɵadvance(1);
|
|
17075
|
-
i0.ɵɵproperty("ngIf",
|
|
17145
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasRowTemplate && !ctx_r194.hasRowTemplateWithArrowDirectionRight);
|
|
17076
17146
|
i0.ɵɵadvance(1);
|
|
17077
|
-
i0.ɵɵproperty("ngForOf",
|
|
17147
|
+
i0.ɵɵproperty("ngForOf", ctx_r194.mainColumns)("ngForTrackBy", ctx_r194.trackBy);
|
|
17078
17148
|
i0.ɵɵadvance(1);
|
|
17079
|
-
i0.ɵɵproperty("ngIf",
|
|
17149
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasRowTemplateWithArrowDirectionRight);
|
|
17080
17150
|
i0.ɵɵadvance(1);
|
|
17081
|
-
i0.ɵɵproperty("ngIf",
|
|
17151
|
+
i0.ɵɵproperty("ngIf", ctx_r194.actionRight);
|
|
17082
17152
|
i0.ɵɵadvance(1);
|
|
17083
|
-
i0.ɵɵproperty("ngIf", !
|
|
17153
|
+
i0.ɵɵproperty("ngIf", !ctx_r194.actionRight && (ctx_r194.visibleActions.length > 1 || ctx_r194.isSingleAction) && !ctx_r194.hideColumnsManager);
|
|
17084
17154
|
i0.ɵɵadvance(1);
|
|
17085
|
-
i0.ɵɵproperty("ngIf", !
|
|
17155
|
+
i0.ɵɵproperty("ngIf", !ctx_r194.hasVisibleActions && !ctx_r194.hideColumnsManager && !ctx_r194.hasRowTemplateWithArrowDirectionRight);
|
|
17086
17156
|
i0.ɵɵadvance(1);
|
|
17087
|
-
i0.ɵɵproperty("ngIf",
|
|
17157
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasMainColumns && ctx_r194.hasRowTemplate && row_r195.$showDetail && ctx_r194.isShowRowTemplate(row_r195, rowIndex_r196));
|
|
17088
17158
|
i0.ɵɵadvance(1);
|
|
17089
|
-
i0.ɵɵproperty("ngIf",
|
|
17159
|
+
i0.ɵɵproperty("ngIf", ctx_r194.hasMainColumns && ctx_r194.isShowMasterDetail(row_r195));
|
|
17090
17160
|
} }
|
|
17091
17161
|
function PoTableComponent_ng_template_8_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
17092
17162
|
i0.ɵɵelementContainerStart(0);
|
|
17093
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template, 13, 14, "tbody",
|
|
17163
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_8_ng_container_12_tbody_1_Template, 13, 14, "tbody", 89);
|
|
17094
17164
|
i0.ɵɵelementContainerEnd();
|
|
17095
17165
|
} if (rf & 2) {
|
|
17096
|
-
const
|
|
17166
|
+
const ctx_r176 = i0.ɵɵnextContext(2);
|
|
17097
17167
|
i0.ɵɵadvance(1);
|
|
17098
|
-
i0.ɵɵproperty("ngForOf",
|
|
17168
|
+
i0.ɵɵproperty("ngForOf", ctx_r176.items)("ngForTrackBy", ctx_r176.trackBy);
|
|
17099
17169
|
} }
|
|
17100
17170
|
function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
17101
17171
|
i0.ɵɵelementStart(0, "table", 39)(1, "thead")(2, "tr");
|
|
@@ -17106,9 +17176,9 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
17106
17176
|
i0.ɵɵtemplate(7, PoTableComponent_ng_template_8_th_7_Template, 4, 20, "th", 44);
|
|
17107
17177
|
i0.ɵɵtemplate(8, PoTableComponent_ng_template_8_th_8_Template, 1, 0, "th", 41);
|
|
17108
17178
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_8_th_9_Template, 1, 4, "th", 45);
|
|
17109
|
-
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_th_10_Template, 5,
|
|
17179
|
+
i0.ɵɵtemplate(10, PoTableComponent_ng_template_8_th_10_Template, 5, 14, "th", 46);
|
|
17110
17180
|
i0.ɵɵelementEnd()();
|
|
17111
|
-
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_tbody_11_Template, 5, 2, "tbody",
|
|
17181
|
+
i0.ɵɵtemplate(11, PoTableComponent_ng_template_8_tbody_11_Template, 5, 2, "tbody", 63);
|
|
17112
17182
|
i0.ɵɵtemplate(12, PoTableComponent_ng_template_8_ng_container_12_Template, 2, 2, "ng-container", 23);
|
|
17113
17183
|
i0.ɵɵelementEnd();
|
|
17114
17184
|
} if (rf & 2) {
|
|
@@ -17138,64 +17208,64 @@ function PoTableComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
17138
17208
|
i0.ɵɵproperty("ngIf", ctx_r9.hasMainColumns);
|
|
17139
17209
|
} }
|
|
17140
17210
|
function PoTableComponent_ng_template_12_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
17141
|
-
i0.ɵɵelement(0, "span",
|
|
17211
|
+
i0.ɵɵelement(0, "span", 92);
|
|
17142
17212
|
} if (rf & 2) {
|
|
17143
|
-
const
|
|
17144
|
-
i0.ɵɵclassProp("po-icon-arrow-up",
|
|
17213
|
+
const row_r288 = i0.ɵɵnextContext().row;
|
|
17214
|
+
i0.ɵɵclassProp("po-icon-arrow-up", row_r288.$showDetail)("po-icon-arrow-down", !row_r288.$showDetail);
|
|
17145
17215
|
} }
|
|
17146
17216
|
function PoTableComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
17147
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_12_span_0_Template, 1, 4, "span",
|
|
17217
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_12_span_0_Template, 1, 4, "span", 91);
|
|
17148
17218
|
} if (rf & 2) {
|
|
17149
|
-
const
|
|
17150
|
-
const
|
|
17219
|
+
const row_r288 = ctx.row;
|
|
17220
|
+
const rowIndex_r289 = ctx.rowIndex;
|
|
17151
17221
|
const ctx_r12 = i0.ɵɵnextContext();
|
|
17152
|
-
i0.ɵɵproperty("ngIf", ctx_r12.containsMasterDetail(
|
|
17222
|
+
i0.ɵɵproperty("ngIf", ctx_r12.containsMasterDetail(row_r288) && !ctx_r12.hasRowTemplate || ctx_r12.isShowRowTemplate(row_r288, rowIndex_r289) && ctx_r12.hasRowTemplate);
|
|
17153
17223
|
} }
|
|
17154
17224
|
function PoTableComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
17155
|
-
const
|
|
17156
|
-
i0.ɵɵelement(0, "input",
|
|
17157
|
-
i0.ɵɵelementStart(1, "label",
|
|
17158
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_14_Template_label_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
17225
|
+
const _r294 = i0.ɵɵgetCurrentView();
|
|
17226
|
+
i0.ɵɵelement(0, "input", 93);
|
|
17227
|
+
i0.ɵɵelementStart(1, "label", 94);
|
|
17228
|
+
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:;"; });
|
|
17159
17229
|
i0.ɵɵelementEnd();
|
|
17160
17230
|
} if (rf & 2) {
|
|
17161
|
-
const
|
|
17162
|
-
i0.ɵɵclassProp("po-table-radio-checked",
|
|
17231
|
+
const row_r292 = ctx.$implicit;
|
|
17232
|
+
i0.ɵɵclassProp("po-table-radio-checked", row_r292.$selected);
|
|
17163
17233
|
} }
|
|
17164
17234
|
function PoTableComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
17165
|
-
const
|
|
17166
|
-
i0.ɵɵelementStart(0, "po-checkbox",
|
|
17167
|
-
i0.ɵɵlistener("p-change", function PoTableComponent_ng_template_16_Template_po_checkbox_p_change_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
17235
|
+
const _r297 = i0.ɵɵgetCurrentView();
|
|
17236
|
+
i0.ɵɵelementStart(0, "po-checkbox", 95);
|
|
17237
|
+
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:;"; });
|
|
17168
17238
|
i0.ɵɵelementEnd();
|
|
17169
17239
|
} if (rf & 2) {
|
|
17170
|
-
const
|
|
17171
|
-
i0.ɵɵproperty("ngModel",
|
|
17240
|
+
const row_r295 = ctx.$implicit;
|
|
17241
|
+
i0.ɵɵproperty("ngModel", row_r295.$selected);
|
|
17172
17242
|
} }
|
|
17173
17243
|
function PoTableComponent_ng_template_18_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
17174
17244
|
i0.ɵɵelement(0, "span");
|
|
17175
17245
|
} if (rf & 2) {
|
|
17176
|
-
const
|
|
17177
|
-
const
|
|
17178
|
-
i0.ɵɵclassProp("po-table-header-icon-unselected", (
|
|
17246
|
+
const column_r300 = i0.ɵɵnextContext().$implicit;
|
|
17247
|
+
const ctx_r302 = i0.ɵɵnextContext();
|
|
17248
|
+
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);
|
|
17179
17249
|
} }
|
|
17180
17250
|
function PoTableComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) {
|
|
17181
|
-
const
|
|
17182
|
-
i0.ɵɵelementStart(0, "span",
|
|
17183
|
-
i0.ɵɵlistener("mouseenter", function PoTableComponent_ng_template_18_Template_span_mouseenter_0_listener($event) { i0.ɵɵrestoreView(
|
|
17251
|
+
const _r305 = i0.ɵɵgetCurrentView();
|
|
17252
|
+
i0.ɵɵelementStart(0, "span", 96, 97);
|
|
17253
|
+
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(); });
|
|
17184
17254
|
i0.ɵɵtext(2);
|
|
17185
17255
|
i0.ɵɵpipe(3, "titlecase");
|
|
17186
17256
|
i0.ɵɵelementEnd();
|
|
17187
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_18_span_4_Template, 1, 6, "span",
|
|
17257
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_18_span_4_Template, 1, 6, "span", 98);
|
|
17188
17258
|
} if (rf & 2) {
|
|
17189
|
-
const
|
|
17259
|
+
const column_r300 = ctx.$implicit;
|
|
17190
17260
|
const ctx_r18 = i0.ɵɵnextContext();
|
|
17191
17261
|
i0.ɵɵproperty("p-tooltip", ctx_r18.tooltipText);
|
|
17192
17262
|
i0.ɵɵadvance(2);
|
|
17193
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17263
|
+
i0.ɵɵtextInterpolate1(" ", column_r300.label || i0.ɵɵpipeBind1(3, 3, column_r300.property), " ");
|
|
17194
17264
|
i0.ɵɵadvance(2);
|
|
17195
|
-
i0.ɵɵproperty("ngIf", ctx_r18.sort &&
|
|
17265
|
+
i0.ɵɵproperty("ngIf", ctx_r18.sort && column_r300.sortable !== false);
|
|
17196
17266
|
} }
|
|
17197
17267
|
function PoTableComponent_ng_template_20_Template(rf, ctx) { if (rf & 1) {
|
|
17198
|
-
i0.ɵɵelementStart(0, "div",
|
|
17268
|
+
i0.ɵɵelementStart(0, "div", 99);
|
|
17199
17269
|
i0.ɵɵtext(1);
|
|
17200
17270
|
i0.ɵɵelementEnd();
|
|
17201
17271
|
} if (rf & 2) {
|
|
@@ -17211,45 +17281,46 @@ function PoTableComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
17211
17281
|
i0.ɵɵtextInterpolate1(" ", ctx_r22.hasValidColumns ? ctx_r22.literals.noVisibleColumn : ctx_r22.literals.noColumns, "\n");
|
|
17212
17282
|
} }
|
|
17213
17283
|
function PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
17214
|
-
i0.ɵɵelement(0, "po-icon",
|
|
17284
|
+
i0.ɵɵelement(0, "po-icon", 106);
|
|
17215
17285
|
} if (rf & 2) {
|
|
17216
|
-
const
|
|
17217
|
-
i0.ɵɵproperty("p-icon",
|
|
17286
|
+
const ctx_r312 = i0.ɵɵnextContext(4);
|
|
17287
|
+
i0.ɵɵproperty("p-icon", ctx_r312.firstAction.icon);
|
|
17218
17288
|
} }
|
|
17219
17289
|
function PoTableComponent_ng_template_24_td_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
17220
|
-
const
|
|
17221
|
-
i0.ɵɵelementStart(0, "div",
|
|
17222
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_0_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
17223
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon",
|
|
17290
|
+
const _r315 = i0.ɵɵgetCurrentView();
|
|
17291
|
+
i0.ɵɵelementStart(0, "div", 104);
|
|
17292
|
+
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); });
|
|
17293
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_po_icon_1_Template, 1, 1, "po-icon", 105);
|
|
17224
17294
|
i0.ɵɵtext(2);
|
|
17225
17295
|
i0.ɵɵelementEnd();
|
|
17226
17296
|
} if (rf & 2) {
|
|
17227
|
-
const
|
|
17228
|
-
const
|
|
17229
|
-
i0.ɵɵclassProp("po-table-action-disabled",
|
|
17297
|
+
const row_r307 = i0.ɵɵnextContext(2).row;
|
|
17298
|
+
const ctx_r311 = i0.ɵɵnextContext();
|
|
17299
|
+
i0.ɵɵclassProp("po-table-action-disabled", ctx_r311.firstAction.disabled ? ctx_r311.validateTableAction(row_r307, ctx_r311.firstAction) : false);
|
|
17230
17300
|
i0.ɵɵadvance(1);
|
|
17231
|
-
i0.ɵɵproperty("ngIf",
|
|
17301
|
+
i0.ɵɵproperty("ngIf", ctx_r311.firstAction.icon);
|
|
17232
17302
|
i0.ɵɵadvance(1);
|
|
17233
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17303
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r311.firstAction.label, " ");
|
|
17234
17304
|
} }
|
|
17235
17305
|
function PoTableComponent_ng_template_24_td_0_Template(rf, ctx) { if (rf & 1) {
|
|
17236
|
-
i0.ɵɵelementStart(0, "td",
|
|
17237
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_Template, 3, 4, "div",
|
|
17306
|
+
i0.ɵɵelementStart(0, "td", 102);
|
|
17307
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_0_div_1_Template, 3, 4, "div", 103);
|
|
17238
17308
|
i0.ɵɵelementEnd();
|
|
17239
17309
|
} if (rf & 2) {
|
|
17240
|
-
const
|
|
17310
|
+
const ctx_r309 = i0.ɵɵnextContext(2);
|
|
17311
|
+
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");
|
|
17241
17312
|
i0.ɵɵadvance(1);
|
|
17242
|
-
i0.ɵɵproperty("ngIf",
|
|
17313
|
+
i0.ɵɵproperty("ngIf", ctx_r309.firstAction.visible !== false);
|
|
17243
17314
|
} }
|
|
17244
17315
|
function PoTableComponent_ng_template_24_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
17245
|
-
const
|
|
17246
|
-
i0.ɵɵelementStart(0, "td",
|
|
17247
|
-
i0.ɵɵlistener("click", function PoTableComponent_ng_template_24_td_1_Template_span_click_1_listener() { i0.ɵɵrestoreView(
|
|
17316
|
+
const _r320 = i0.ɵɵgetCurrentView();
|
|
17317
|
+
i0.ɵɵelementStart(0, "td", 107)(1, "span", 108, 109);
|
|
17318
|
+
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); });
|
|
17248
17319
|
i0.ɵɵelementEnd()();
|
|
17249
17320
|
} }
|
|
17250
17321
|
function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
|
|
17251
|
-
i0.ɵɵtemplate(0, PoTableComponent_ng_template_24_td_0_Template, 2,
|
|
17252
|
-
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_1_Template, 3, 0, "td",
|
|
17322
|
+
i0.ɵɵtemplate(0, PoTableComponent_ng_template_24_td_0_Template, 2, 7, "td", 100);
|
|
17323
|
+
i0.ɵɵtemplate(1, PoTableComponent_ng_template_24_td_1_Template, 3, 0, "td", 101);
|
|
17253
17324
|
} if (rf & 2) {
|
|
17254
17325
|
const ctx_r24 = i0.ɵɵnextContext();
|
|
17255
17326
|
i0.ɵɵproperty("ngIf", ctx_r24.isSingleAction);
|
|
@@ -17257,9 +17328,9 @@ function PoTableComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) {
|
|
|
17257
17328
|
i0.ɵɵproperty("ngIf", ctx_r24.visibleActions.length > 1);
|
|
17258
17329
|
} }
|
|
17259
17330
|
function PoTableComponent_po_table_column_manager_26_Template(rf, ctx) { if (rf & 1) {
|
|
17260
|
-
const
|
|
17261
|
-
i0.ɵɵelementStart(0, "po-table-column-manager",
|
|
17262
|
-
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(
|
|
17331
|
+
const _r322 = i0.ɵɵgetCurrentView();
|
|
17332
|
+
i0.ɵɵelementStart(0, "po-table-column-manager", 110);
|
|
17333
|
+
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); });
|
|
17263
17334
|
i0.ɵɵelementEnd();
|
|
17264
17335
|
} if (rf & 2) {
|
|
17265
17336
|
const ctx_r25 = i0.ɵɵnextContext();
|
|
@@ -17661,6 +17732,12 @@ class PoTableComponent extends PoTableBaseComponent {
|
|
|
17661
17732
|
syncronizeHorizontalScroll() {
|
|
17662
17733
|
this.poTableThead.nativeElement.scrollLeft = this.poTableTbodyVirtual.nativeElement.scrollLeft;
|
|
17663
17734
|
}
|
|
17735
|
+
getWidthColumnManager() {
|
|
17736
|
+
return this.columnManager?.nativeElement.offsetWidth;
|
|
17737
|
+
}
|
|
17738
|
+
getColumnWidthActionsLeft() {
|
|
17739
|
+
return this.columnActionLeft?.nativeElement.offsetWidth;
|
|
17740
|
+
}
|
|
17664
17741
|
calculateHeightTableContainer(height) {
|
|
17665
17742
|
const value = parseFloat(height);
|
|
17666
17743
|
this.heightTableContainer = value ? value - this.getHeightTableFooter() : undefined;
|
|
@@ -17795,17 +17872,19 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
17795
17872
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableCellTemplate = _t.first);
|
|
17796
17873
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableColumnTemplates = _t);
|
|
17797
17874
|
} }, viewQuery: function PoTableComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17798
|
-
i0.ɵɵviewQuery(_c0$
|
|
17799
|
-
i0.ɵɵviewQuery(_c1$
|
|
17800
|
-
i0.ɵɵviewQuery(_c2$
|
|
17875
|
+
i0.ɵɵviewQuery(_c0$W, 5, ElementRef);
|
|
17876
|
+
i0.ɵɵviewQuery(_c1$q, 5);
|
|
17877
|
+
i0.ɵɵviewQuery(_c2$b, 5, ElementRef);
|
|
17801
17878
|
i0.ɵɵviewQuery(_c3$6, 5, ElementRef);
|
|
17802
17879
|
i0.ɵɵviewQuery(_c4$4, 5, ElementRef);
|
|
17803
17880
|
i0.ɵɵviewQuery(_c5$2, 5, ElementRef);
|
|
17804
17881
|
i0.ɵɵviewQuery(_c6$2, 5, ElementRef);
|
|
17805
|
-
i0.ɵɵviewQuery(_c7$1, 5);
|
|
17882
|
+
i0.ɵɵviewQuery(_c7$1, 5, ElementRef);
|
|
17806
17883
|
i0.ɵɵviewQuery(_c8$1, 5, ElementRef);
|
|
17807
|
-
i0.ɵɵviewQuery(_c9, 5
|
|
17808
|
-
i0.ɵɵviewQuery(_c10, 5);
|
|
17884
|
+
i0.ɵɵviewQuery(_c9, 5);
|
|
17885
|
+
i0.ɵɵviewQuery(_c10, 5, ElementRef);
|
|
17886
|
+
i0.ɵɵviewQuery(_c11, 5, ElementRef);
|
|
17887
|
+
i0.ɵɵviewQuery(_c12, 5);
|
|
17809
17888
|
} if (rf & 2) {
|
|
17810
17889
|
let _t;
|
|
17811
17890
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.noColumnsHeader = _t.first);
|
|
@@ -17815,11 +17894,13 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
17815
17894
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableTbody = _t.first);
|
|
17816
17895
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableThead = _t.first);
|
|
17817
17896
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTableTbodyVirtual = _t.first);
|
|
17897
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManager = _t.first);
|
|
17898
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnActionLeft = _t.first);
|
|
17818
17899
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnManagerTarget = _t.first);
|
|
17819
17900
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsIconElement = _t);
|
|
17820
17901
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.actionsElement = _t);
|
|
17821
17902
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headersTable = _t);
|
|
17822
|
-
} }, 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) { if (rf & 1) {
|
|
17903
|
+
} }, 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) { if (rf & 1) {
|
|
17823
17904
|
i0.ɵɵtemplate(0, PoTableComponent_po_container_0_Template, 2, 2, "po-container", 0);
|
|
17824
17905
|
i0.ɵɵtemplate(1, PoTableComponent_ng_template_1_Template, 8, 10, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
17825
17906
|
i0.ɵɵtemplate(3, PoTableComponent_div_3_Template, 3, 5, "div", 2);
|
|
@@ -17847,7 +17928,7 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
17847
17928
|
} }, directives: [i1.NgIf, PoContainerComponent, i1.NgTemplateOutlet, PoLoadingComponent, i1.NgForOf, PoTableSubtitleFooterComponent, PoButtonComponent, PoCheckboxComponent, i3.NgControlStatus, i3.NgModel, PoTooltipDirective, i13.CdkVirtualScrollViewport, i13.CdkFixedSizeVirtualScroll, i13.CdkVirtualForOf, i1.NgClass, i1.NgSwitch, i1.NgSwitchCase, PoTableColumnLinkComponent, PoTableColumnIconComponent, PoTableSubtitleCircleComponent, PoTableColumnLabelComponent, i1.NgSwitchDefault, PoTableDetailComponent, PoPopupComponent, PoIconComponent, PoTableColumnManagerComponent], pipes: [i1.CurrencyPipe, i1.DatePipe, PoTimePipe, i1.TitleCasePipe], encapsulation: 2 });
|
|
17848
17929
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
|
|
17849
17930
|
type: Component,
|
|
17850
|
-
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" }]
|
|
17931
|
+
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" }]
|
|
17851
17932
|
}], function () { return [{ type: PoDateService }, { type: i0.IterableDiffers }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }, { type: i1.DecimalPipe }, { type: i2.Router }, { type: PoTableService }]; }, { tableRowTemplate: [{
|
|
17852
17933
|
type: ContentChild,
|
|
17853
17934
|
args: [PoTableRowTemplateDirective, { static: true }]
|
|
@@ -17878,6 +17959,12 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
17878
17959
|
}], poTableTbodyVirtual: [{
|
|
17879
17960
|
type: ViewChild,
|
|
17880
17961
|
args: ['poTableTbodyVirtual', { read: ElementRef, static: false }]
|
|
17962
|
+
}], columnManager: [{
|
|
17963
|
+
type: ViewChild,
|
|
17964
|
+
args: ['columnManager', { read: ElementRef, static: false }]
|
|
17965
|
+
}], columnActionLeft: [{
|
|
17966
|
+
type: ViewChild,
|
|
17967
|
+
args: ['columnActionLeft', { read: ElementRef, static: false }]
|
|
17881
17968
|
}], actionsIconElement: [{
|
|
17882
17969
|
type: ViewChildren,
|
|
17883
17970
|
args: ['actionsIconElement', { read: ElementRef }]
|
|
@@ -19011,9 +19098,9 @@ PoComboOptionTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ ty
|
|
|
19011
19098
|
}]
|
|
19012
19099
|
}], function () { return [{ type: i0.TemplateRef }]; }, null); })();
|
|
19013
19100
|
|
|
19014
|
-
const _c0$
|
|
19015
|
-
const _c1$
|
|
19016
|
-
const _c2$
|
|
19101
|
+
const _c0$V = ["containerElement"];
|
|
19102
|
+
const _c1$p = ["contentElement"];
|
|
19103
|
+
const _c2$a = ["iconArrow"];
|
|
19017
19104
|
const _c3$5 = ["inp"];
|
|
19018
19105
|
const _c4$3 = ["poComboBody"];
|
|
19019
19106
|
function PoComboComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -19732,9 +19819,9 @@ PoComboComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoComboCom
|
|
|
19732
19819
|
let _t;
|
|
19733
19820
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.comboOptionTemplate = _t.first);
|
|
19734
19821
|
} }, viewQuery: function PoComboComponent_Query(rf, ctx) { if (rf & 1) {
|
|
19735
|
-
i0.ɵɵviewQuery(_c0$
|
|
19736
|
-
i0.ɵɵviewQuery(_c1$
|
|
19737
|
-
i0.ɵɵviewQuery(_c2$
|
|
19822
|
+
i0.ɵɵviewQuery(_c0$V, 5, ElementRef);
|
|
19823
|
+
i0.ɵɵviewQuery(_c1$p, 5, ElementRef);
|
|
19824
|
+
i0.ɵɵviewQuery(_c2$a, 7, ElementRef);
|
|
19738
19825
|
i0.ɵɵviewQuery(_c3$5, 7, ElementRef);
|
|
19739
19826
|
i0.ɵɵviewQuery(_c4$3, 5, ElementRef);
|
|
19740
19827
|
} if (rf & 2) {
|
|
@@ -20360,9 +20447,9 @@ __decorate([
|
|
|
20360
20447
|
args: ['p-start-date']
|
|
20361
20448
|
}] }); })();
|
|
20362
20449
|
|
|
20363
|
-
const _c0$
|
|
20364
|
-
const _c1$
|
|
20365
|
-
const _c2$
|
|
20450
|
+
const _c0$U = ["dateRangeField"];
|
|
20451
|
+
const _c1$o = ["endDateInput"];
|
|
20452
|
+
const _c2$9 = ["startDateInput"];
|
|
20366
20453
|
const _c3$4 = ["iconCalendar"];
|
|
20367
20454
|
const _c4$2 = ["calendarPicker"];
|
|
20368
20455
|
function PoDatepickerRangeComponent_po_clean_12_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -20794,9 +20881,9 @@ class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent {
|
|
|
20794
20881
|
}
|
|
20795
20882
|
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)); };
|
|
20796
20883
|
PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerRangeComponent, selectors: [["po-datepicker-range"]], viewQuery: function PoDatepickerRangeComponent_Query(rf, ctx) { if (rf & 1) {
|
|
20797
|
-
i0.ɵɵviewQuery(_c0$
|
|
20798
|
-
i0.ɵɵviewQuery(_c1$
|
|
20799
|
-
i0.ɵɵviewQuery(_c2$
|
|
20884
|
+
i0.ɵɵviewQuery(_c0$U, 7, ElementRef);
|
|
20885
|
+
i0.ɵɵviewQuery(_c1$o, 7, ElementRef);
|
|
20886
|
+
i0.ɵɵviewQuery(_c2$9, 7, ElementRef);
|
|
20800
20887
|
i0.ɵɵviewQuery(_c3$4, 7, ElementRef);
|
|
20801
20888
|
i0.ɵɵviewQuery(_c4$2, 5, ElementRef);
|
|
20802
20889
|
} if (rf & 2) {
|
|
@@ -21252,7 +21339,7 @@ __decorate([
|
|
|
21252
21339
|
args: ['p-mask-format-model']
|
|
21253
21340
|
}] }); })();
|
|
21254
21341
|
|
|
21255
|
-
const _c0$
|
|
21342
|
+
const _c0$T = ["inp"];
|
|
21256
21343
|
function PoDecimalComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21257
21344
|
i0.ɵɵelementStart(0, "div", 8);
|
|
21258
21345
|
i0.ɵɵelement(1, "po-icon", 9);
|
|
@@ -21843,7 +21930,7 @@ class PoDecimalComponent extends PoInputBaseComponent {
|
|
|
21843
21930
|
}
|
|
21844
21931
|
PoDecimalComponent.ɵfac = function PoDecimalComponent_Factory(t) { return new (t || PoDecimalComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
21845
21932
|
PoDecimalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDecimalComponent, selectors: [["po-decimal"]], viewQuery: function PoDecimalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
21846
|
-
i0.ɵɵviewQuery(_c0$
|
|
21933
|
+
i0.ɵɵviewQuery(_c0$T, 7, ElementRef);
|
|
21847
21934
|
} if (rf & 2) {
|
|
21848
21935
|
let _t;
|
|
21849
21936
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
|
|
@@ -21916,7 +22003,7 @@ PoDecimalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDecima
|
|
|
21916
22003
|
args: ['p-max']
|
|
21917
22004
|
}] }); })();
|
|
21918
22005
|
|
|
21919
|
-
const _c0$
|
|
22006
|
+
const _c0$S = ["inp"];
|
|
21920
22007
|
/* eslint-disable @angular-eslint/directive-class-suffix */
|
|
21921
22008
|
class PoInputGeneric extends PoInputBaseComponent {
|
|
21922
22009
|
constructor(el, cd) {
|
|
@@ -22090,7 +22177,7 @@ class PoInputGeneric extends PoInputBaseComponent {
|
|
|
22090
22177
|
}
|
|
22091
22178
|
PoInputGeneric.ɵfac = function PoInputGeneric_Factory(t) { return new (t || PoInputGeneric)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
22092
22179
|
PoInputGeneric.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoInputGeneric, viewQuery: function PoInputGeneric_Query(rf, ctx) { if (rf & 1) {
|
|
22093
|
-
i0.ɵɵviewQuery(_c0$
|
|
22180
|
+
i0.ɵɵviewQuery(_c0$S, 7, ElementRef);
|
|
22094
22181
|
} if (rf & 2) {
|
|
22095
22182
|
let _t;
|
|
22096
22183
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
|
|
@@ -23472,8 +23559,8 @@ PoDynamicFormValidationService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({
|
|
|
23472
23559
|
type: Injectable
|
|
23473
23560
|
}], function () { return [{ type: i1$1.HttpClient }]; }, null); })();
|
|
23474
23561
|
|
|
23475
|
-
const _c0$
|
|
23476
|
-
const _c1$
|
|
23562
|
+
const _c0$R = ["fieldsComponent"];
|
|
23563
|
+
const _c1$n = ["dynamicForm"];
|
|
23477
23564
|
function PoDynamicFormComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
23478
23565
|
i0.ɵɵelementContainer(0);
|
|
23479
23566
|
} }
|
|
@@ -23641,8 +23728,8 @@ class PoDynamicFormComponent extends PoDynamicFormBaseComponent {
|
|
|
23641
23728
|
}
|
|
23642
23729
|
PoDynamicFormComponent.ɵfac = function PoDynamicFormComponent_Factory(t) { return new (t || PoDynamicFormComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoDynamicFormLoadService), i0.ɵɵdirectiveInject(PoDynamicFormValidationService)); };
|
|
23643
23730
|
PoDynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDynamicFormComponent, selectors: [["po-dynamic-form"]], viewQuery: function PoDynamicFormComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23644
|
-
i0.ɵɵviewQuery(_c0$
|
|
23645
|
-
i0.ɵɵviewQuery(_c1$
|
|
23731
|
+
i0.ɵɵviewQuery(_c0$R, 5);
|
|
23732
|
+
i0.ɵɵviewQuery(_c1$n, 5);
|
|
23646
23733
|
} if (rf & 2) {
|
|
23647
23734
|
let _t;
|
|
23648
23735
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldsComponent = _t.first);
|
|
@@ -23667,8 +23754,8 @@ PoDynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDy
|
|
|
23667
23754
|
args: ['dynamicForm']
|
|
23668
23755
|
}] }); })();
|
|
23669
23756
|
|
|
23670
|
-
const _c0$
|
|
23671
|
-
const _c1$
|
|
23757
|
+
const _c0$Q = ["inpsearch"];
|
|
23758
|
+
const _c1$m = ["container"];
|
|
23672
23759
|
function PoLookupModalComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
23673
23760
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
23674
23761
|
i0.ɵɵelementStart(0, "div", 16)(1, "span", 17);
|
|
@@ -23807,8 +23894,8 @@ class PoLookupModalComponent extends PoLookupModalBaseComponent {
|
|
|
23807
23894
|
PoLookupModalComponent.ɵfac = function PoLookupModalComponent_Factory(t) { return new (t || PoLookupModalComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
23808
23895
|
PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupModalComponent, selectors: [["po-lookup-modal"]], viewQuery: function PoLookupModalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23809
23896
|
i0.ɵɵviewQuery(PoTableComponent, 7);
|
|
23810
|
-
i0.ɵɵviewQuery(_c0$
|
|
23811
|
-
i0.ɵɵviewQuery(_c1$
|
|
23897
|
+
i0.ɵɵviewQuery(_c0$Q, 5);
|
|
23898
|
+
i0.ɵɵviewQuery(_c1$m, 5, ViewContainerRef);
|
|
23812
23899
|
} if (rf & 2) {
|
|
23813
23900
|
let _t;
|
|
23814
23901
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTable = _t.first);
|
|
@@ -23925,7 +24012,7 @@ PoLookupModalService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoL
|
|
|
23925
24012
|
type: Injectable
|
|
23926
24013
|
}], function () { return [{ type: PoComponentInjectorService }]; }, null); })();
|
|
23927
24014
|
|
|
23928
|
-
const _c0$
|
|
24015
|
+
const _c0$P = ["inp"];
|
|
23929
24016
|
function PoLookupComponent_div_1_po_clean_4_Template(rf, ctx) { if (rf & 1) {
|
|
23930
24017
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
23931
24018
|
i0.ɵɵelementStart(0, "po-clean", 10);
|
|
@@ -24318,7 +24405,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
|
|
|
24318
24405
|
}
|
|
24319
24406
|
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)); };
|
|
24320
24407
|
PoLookupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupComponent, selectors: [["po-lookup"]], viewQuery: function PoLookupComponent_Query(rf, ctx) { if (rf & 1) {
|
|
24321
|
-
i0.ɵɵviewQuery(_c0$
|
|
24408
|
+
i0.ɵɵviewQuery(_c0$P, 5, ElementRef);
|
|
24322
24409
|
} if (rf & 2) {
|
|
24323
24410
|
let _t;
|
|
24324
24411
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
|
|
@@ -24342,9 +24429,9 @@ PoLookupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupC
|
|
|
24342
24429
|
args: ['inp', { read: ElementRef, static: false }]
|
|
24343
24430
|
}] }); })();
|
|
24344
24431
|
|
|
24345
|
-
const _c0$
|
|
24346
|
-
const _c1$
|
|
24347
|
-
const _c2$
|
|
24432
|
+
const _c0$O = ["container"];
|
|
24433
|
+
const _c1$l = ["ulElement"];
|
|
24434
|
+
const _c2$8 = ["searchElement"];
|
|
24348
24435
|
function PoMultiselectDropdownComponent_po_multiselect_search_2_Template(rf, ctx) { if (rf & 1) {
|
|
24349
24436
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
24350
24437
|
i0.ɵɵelementStart(0, "po-multiselect-search", 8, 9);
|
|
@@ -24517,9 +24604,9 @@ class PoMultiselectDropdownComponent {
|
|
|
24517
24604
|
}
|
|
24518
24605
|
PoMultiselectDropdownComponent.ɵfac = function PoMultiselectDropdownComponent_Factory(t) { return new (t || PoMultiselectDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
24519
24606
|
PoMultiselectDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectDropdownComponent, selectors: [["po-multiselect-dropdown"]], viewQuery: function PoMultiselectDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
24520
|
-
i0.ɵɵviewQuery(_c0$
|
|
24521
|
-
i0.ɵɵviewQuery(_c1$
|
|
24522
|
-
i0.ɵɵviewQuery(_c2$
|
|
24607
|
+
i0.ɵɵviewQuery(_c0$O, 7, ElementRef);
|
|
24608
|
+
i0.ɵɵviewQuery(_c1$l, 7, ElementRef);
|
|
24609
|
+
i0.ɵɵviewQuery(_c2$8, 5);
|
|
24523
24610
|
} if (rf & 2) {
|
|
24524
24611
|
let _t;
|
|
24525
24612
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
@@ -25270,9 +25357,9 @@ PoMultiselectFilterService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ toke
|
|
|
25270
25357
|
type: Injectable
|
|
25271
25358
|
}], function () { return [{ type: i1$1.HttpClient }]; }, null); })();
|
|
25272
25359
|
|
|
25273
|
-
const _c0$
|
|
25274
|
-
const _c1$
|
|
25275
|
-
const _c2$
|
|
25360
|
+
const _c0$N = ["dropdownElement"];
|
|
25361
|
+
const _c1$k = ["iconElement"];
|
|
25362
|
+
const _c2$7 = ["inputElement"];
|
|
25276
25363
|
function PoMultiselectComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
25277
25364
|
i0.ɵɵelementStart(0, "span", 11);
|
|
25278
25365
|
i0.ɵɵtext(1);
|
|
@@ -25624,10 +25711,10 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
|
|
|
25624
25711
|
}
|
|
25625
25712
|
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)); };
|
|
25626
25713
|
PoMultiselectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectComponent, selectors: [["po-multiselect"]], viewQuery: function PoMultiselectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
25627
|
-
i0.ɵɵviewQuery(_c0$
|
|
25628
|
-
i0.ɵɵviewQuery(_c0$
|
|
25629
|
-
i0.ɵɵviewQuery(_c1$
|
|
25630
|
-
i0.ɵɵviewQuery(_c2$
|
|
25714
|
+
i0.ɵɵviewQuery(_c0$N, 7, ElementRef);
|
|
25715
|
+
i0.ɵɵviewQuery(_c0$N, 7);
|
|
25716
|
+
i0.ɵɵviewQuery(_c1$k, 7, ElementRef);
|
|
25717
|
+
i0.ɵɵviewQuery(_c2$7, 7, ElementRef);
|
|
25631
25718
|
} if (rf & 2) {
|
|
25632
25719
|
let _t;
|
|
25633
25720
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownElement = _t.first);
|
|
@@ -25731,7 +25818,7 @@ PoMultiselectItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
25731
25818
|
args: ['p-change']
|
|
25732
25819
|
}] }); })();
|
|
25733
25820
|
|
|
25734
|
-
const _c0$
|
|
25821
|
+
const _c0$M = ["inputElement"];
|
|
25735
25822
|
/**
|
|
25736
25823
|
* @docsPrivate
|
|
25737
25824
|
*
|
|
@@ -25778,7 +25865,7 @@ class PoMultiselectSearchComponent {
|
|
|
25778
25865
|
}
|
|
25779
25866
|
PoMultiselectSearchComponent.ɵfac = function PoMultiselectSearchComponent_Factory(t) { return new (t || PoMultiselectSearchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
25780
25867
|
PoMultiselectSearchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectSearchComponent, selectors: [["po-multiselect-search"]], viewQuery: function PoMultiselectSearchComponent_Query(rf, ctx) { if (rf & 1) {
|
|
25781
|
-
i0.ɵɵviewQuery(_c0$
|
|
25868
|
+
i0.ɵɵviewQuery(_c0$M, 7, ElementRef);
|
|
25782
25869
|
} if (rf & 2) {
|
|
25783
25870
|
let _t;
|
|
25784
25871
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
|
|
@@ -25827,7 +25914,7 @@ PoRichTextService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoRich
|
|
|
25827
25914
|
type: Injectable
|
|
25828
25915
|
}], null, null); })();
|
|
25829
25916
|
|
|
25830
|
-
const _c0$
|
|
25917
|
+
const _c0$L = ["bodyElement"];
|
|
25831
25918
|
const poRichTextBodyCommands = [
|
|
25832
25919
|
'bold',
|
|
25833
25920
|
'italic',
|
|
@@ -26114,7 +26201,7 @@ class PoRichTextBodyComponent {
|
|
|
26114
26201
|
}
|
|
26115
26202
|
PoRichTextBodyComponent.ɵfac = function PoRichTextBodyComponent_Factory(t) { return new (t || PoRichTextBodyComponent)(i0.ɵɵdirectiveInject(PoRichTextService)); };
|
|
26116
26203
|
PoRichTextBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextBodyComponent, selectors: [["po-rich-text-body"]], viewQuery: function PoRichTextBodyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
26117
|
-
i0.ɵɵviewQuery(_c0$
|
|
26204
|
+
i0.ɵɵviewQuery(_c0$L, 7);
|
|
26118
26205
|
} if (rf & 2) {
|
|
26119
26206
|
let _t;
|
|
26120
26207
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.bodyElement = _t.first);
|
|
@@ -27210,7 +27297,7 @@ __decorate([
|
|
|
27210
27297
|
args: ['p-required']
|
|
27211
27298
|
}] }); })();
|
|
27212
27299
|
|
|
27213
|
-
const _c0$
|
|
27300
|
+
const _c0$K = ["selectFilesLink"];
|
|
27214
27301
|
function PoUploadDragDropAreaComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
27215
27302
|
i0.ɵɵelementContainer(0);
|
|
27216
27303
|
} }
|
|
@@ -27224,7 +27311,7 @@ function PoUploadDragDropAreaComponent_ng_template_3_Template(rf, ctx) { if (rf
|
|
|
27224
27311
|
i0.ɵɵadvance(2);
|
|
27225
27312
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.directoryCompatible ? ctx_r2.literals == null ? null : ctx_r2.literals.dropFoldersHere : ctx_r2.literals == null ? null : ctx_r2.literals.dropFilesHere, " ");
|
|
27226
27313
|
} }
|
|
27227
|
-
const _c1$
|
|
27314
|
+
const _c1$j = function (a0) { return { "po-clickable": a0 }; };
|
|
27228
27315
|
function PoUploadDragDropAreaComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
27229
27316
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
27230
27317
|
i0.ɵɵelement(0, "span", 7);
|
|
@@ -27240,11 +27327,11 @@ function PoUploadDragDropAreaComponent_ng_template_5_Template(rf, ctx) { if (rf
|
|
|
27240
27327
|
i0.ɵɵadvance(2);
|
|
27241
27328
|
i0.ɵɵtextInterpolate1(" ", ctx_r4.directoryCompatible ? ctx_r4.literals == null ? null : ctx_r4.literals.dragFoldersHere : ctx_r4.literals == null ? null : ctx_r4.literals.dragFilesHere, " ");
|
|
27242
27329
|
i0.ɵɵadvance(1);
|
|
27243
|
-
i0.ɵɵproperty("disabled", ctx_r4.disabled)("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
27330
|
+
i0.ɵɵproperty("disabled", ctx_r4.disabled)("ngClass", i0.ɵɵpureFunction1(4, _c1$j, !ctx_r4.disabled));
|
|
27244
27331
|
i0.ɵɵadvance(2);
|
|
27245
27332
|
i0.ɵɵtextInterpolate1(" ", ctx_r4.directoryCompatible ? ctx_r4.literals == null ? null : ctx_r4.literals.selectFolderOnComputer : ctx_r4.literals == null ? null : ctx_r4.literals.selectFilesOnComputer, " ");
|
|
27246
27333
|
} }
|
|
27247
|
-
const _c2$
|
|
27334
|
+
const _c2$6 = function (a0) { return { "po-upload-drag-drop-area-disabled": a0 }; };
|
|
27248
27335
|
class PoUploadDragDropAreaComponent {
|
|
27249
27336
|
constructor(elementRef) {
|
|
27250
27337
|
this.elementRef = elementRef;
|
|
@@ -27256,7 +27343,7 @@ class PoUploadDragDropAreaComponent {
|
|
|
27256
27343
|
}
|
|
27257
27344
|
PoUploadDragDropAreaComponent.ɵfac = function PoUploadDragDropAreaComponent_Factory(t) { return new (t || PoUploadDragDropAreaComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
27258
27345
|
PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaComponent, selectors: [["po-upload-drag-drop-area"]], viewQuery: function PoUploadDragDropAreaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
27259
|
-
i0.ɵɵviewQuery(_c0$
|
|
27346
|
+
i0.ɵɵviewQuery(_c0$K, 5);
|
|
27260
27347
|
} if (rf & 2) {
|
|
27261
27348
|
let _t;
|
|
27262
27349
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectFilesLinkElement = _t.first);
|
|
@@ -27270,7 +27357,7 @@ PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
27270
27357
|
const _r1 = i0.ɵɵreference(4);
|
|
27271
27358
|
const _r3 = i0.ɵɵreference(6);
|
|
27272
27359
|
i0.ɵɵstyleProp("height", ctx.height, "px");
|
|
27273
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2$
|
|
27360
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2$6, ctx.disabled));
|
|
27274
27361
|
i0.ɵɵadvance(2);
|
|
27275
27362
|
i0.ɵɵproperty("ngIf", ctx.overlay && !ctx.disabled)("ngIfThen", _r1)("ngIfElse", _r3);
|
|
27276
27363
|
} }, directives: [i1.NgClass, i1.NgIf], encapsulation: 2, changeDetection: 0 });
|
|
@@ -27300,7 +27387,7 @@ PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
27300
27387
|
args: ['selectFilesLink']
|
|
27301
27388
|
}] }); })();
|
|
27302
27389
|
|
|
27303
|
-
const _c0$
|
|
27390
|
+
const _c0$J = ["DragDropAreaFixed"];
|
|
27304
27391
|
class PoUploadDragDropAreaOverlayComponent {
|
|
27305
27392
|
constructor(renderer) {
|
|
27306
27393
|
this.renderer = renderer;
|
|
@@ -27323,7 +27410,7 @@ class PoUploadDragDropAreaOverlayComponent {
|
|
|
27323
27410
|
}
|
|
27324
27411
|
PoUploadDragDropAreaOverlayComponent.ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
27325
27412
|
PoUploadDragDropAreaOverlayComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) { if (rf & 1) {
|
|
27326
|
-
i0.ɵɵviewQuery(_c0$
|
|
27413
|
+
i0.ɵɵviewQuery(_c0$J, 7, ElementRef);
|
|
27327
27414
|
} if (rf & 2) {
|
|
27328
27415
|
let _t;
|
|
27329
27416
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.DragDropAreaFixed = _t.first);
|
|
@@ -27725,7 +27812,7 @@ PoUploadDragDropDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: P
|
|
|
27725
27812
|
args: ['document:drop', ['$event']]
|
|
27726
27813
|
}] }); })();
|
|
27727
27814
|
|
|
27728
|
-
const _c0$
|
|
27815
|
+
const _c0$I = ["dragDropOverlay"];
|
|
27729
27816
|
function PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template(rf, ctx) { if (rf & 1) {
|
|
27730
27817
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
27731
27818
|
i0.ɵɵelementStart(0, "po-upload-drag-drop-area-overlay", 2, 3);
|
|
@@ -27773,7 +27860,7 @@ class PoUploadDragDropComponent {
|
|
|
27773
27860
|
}
|
|
27774
27861
|
PoUploadDragDropComponent.ɵfac = function PoUploadDragDropComponent_Factory(t) { return new (t || PoUploadDragDropComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
27775
27862
|
PoUploadDragDropComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropComponent, selectors: [["po-upload-drag-drop"]], viewQuery: function PoUploadDragDropComponent_Query(rf, ctx) { if (rf & 1) {
|
|
27776
|
-
i0.ɵɵviewQuery(_c0$
|
|
27863
|
+
i0.ɵɵviewQuery(_c0$I, 5, ElementRef);
|
|
27777
27864
|
i0.ɵɵviewQuery(PoUploadDragDropAreaComponent, 7);
|
|
27778
27865
|
} if (rf & 2) {
|
|
27779
27866
|
let _t;
|
|
@@ -27838,7 +27925,7 @@ function PoUploadFileRestrictionsComponent_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
27838
27925
|
i0.ɵɵadvance(1);
|
|
27839
27926
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r1.literals == null ? null : ctx_r1.literals.allowedFormats, ctx_r1.allowedExtensions), "\n");
|
|
27840
27927
|
} }
|
|
27841
|
-
const _c0$
|
|
27928
|
+
const _c0$H = function (a0, a1) { return [a0, a1]; };
|
|
27842
27929
|
function PoUploadFileRestrictionsComponent_p_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
27843
27930
|
i0.ɵɵelementStart(0, "span");
|
|
27844
27931
|
i0.ɵɵtext(1);
|
|
@@ -27847,7 +27934,7 @@ function PoUploadFileRestrictionsComponent_p_2_span_3_Template(rf, ctx) { if (rf
|
|
|
27847
27934
|
} if (rf & 2) {
|
|
27848
27935
|
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
27849
27936
|
i0.ɵɵadvance(1);
|
|
27850
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r3.literals == null ? null : ctx_r3.literals.allowedFileSizeRange, i0.ɵɵpureFunction2(4, _c0$
|
|
27937
|
+
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)), " ");
|
|
27851
27938
|
} }
|
|
27852
27939
|
function PoUploadFileRestrictionsComponent_p_2_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
27853
27940
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -27960,8 +28047,8 @@ PoUploadFileRestrictionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
27960
28047
|
args: ['p-min-file-size']
|
|
27961
28048
|
}] }); })();
|
|
27962
28049
|
|
|
27963
|
-
const _c0$
|
|
27964
|
-
const _c1$
|
|
28050
|
+
const _c0$G = ["inputFile"];
|
|
28051
|
+
const _c1$i = ["uploadButton"];
|
|
27965
28052
|
function PoUploadComponent_po_upload_drag_drop_4_Template(rf, ctx) { if (rf & 1) {
|
|
27966
28053
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
27967
28054
|
i0.ɵɵelementStart(0, "po-upload-drag-drop", 9);
|
|
@@ -27980,12 +28067,12 @@ function PoUploadComponent_po_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
27980
28067
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
27981
28068
|
i0.ɵɵproperty("p-disabled", ctx_r2.isDisabled)("p-label", ctx_r2.selectFileButtonLabel);
|
|
27982
28069
|
} }
|
|
27983
|
-
const _c2$
|
|
28070
|
+
const _c2$5 = function (a0) { return { "po-upload-file-restrictions-drag-drop": a0 }; };
|
|
27984
28071
|
function PoUploadComponent_po_upload_file_restrictions_6_Template(rf, ctx) { if (rf & 1) {
|
|
27985
28072
|
i0.ɵɵelement(0, "po-upload-file-restrictions", 12);
|
|
27986
28073
|
} if (rf & 2) {
|
|
27987
28074
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
27988
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$
|
|
28075
|
+
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);
|
|
27989
28076
|
} }
|
|
27990
28077
|
function PoUploadComponent_div_7_po_progress_3_Template(rf, ctx) { if (rf & 1) {
|
|
27991
28078
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
@@ -28308,9 +28395,9 @@ class PoUploadComponent extends PoUploadBaseComponent {
|
|
|
28308
28395
|
}
|
|
28309
28396
|
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)); };
|
|
28310
28397
|
PoUploadComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadComponent, selectors: [["po-upload"]], viewQuery: function PoUploadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
28311
|
-
i0.ɵɵviewQuery(_c0$
|
|
28398
|
+
i0.ɵɵviewQuery(_c0$G, 7, ElementRef);
|
|
28312
28399
|
i0.ɵɵviewQuery(PoUploadDragDropComponent, 5);
|
|
28313
|
-
i0.ɵɵviewQuery(_c1$
|
|
28400
|
+
i0.ɵɵviewQuery(_c1$i, 5);
|
|
28314
28401
|
} if (rf & 2) {
|
|
28315
28402
|
let _t;
|
|
28316
28403
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputFile = _t.first);
|
|
@@ -28512,9 +28599,9 @@ PoUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUrlCompone
|
|
|
28512
28599
|
], template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon class=\"po-field-icon\" [class.po-field-icon-disabled]=\"disabled\" [p-icon]=\"icon\"></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocomplete\"\n [class.po-input-icon-left]=\"icon\"\n [class.po-input-icon-right]=\"clean\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [type]=\"type\"\n (blur)=\"eventOnBlur($event)\"\n (click)=\"eventOnClick($event)\"\n (focus)=\"eventOnFocus($event)\"\n (input)=\"eventOnInput($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean *ngIf=\"clean && !disabled && !readonly\" [p-element-ref]=\"inputEl\" (p-change-event)=\"clear($event)\">\n </po-clean>\n </div>\n </div>\n\n <po-field-container-bottom [p-error-pattern]=\"getErrorPattern()\"> </po-field-container-bottom>\n</po-field-container>\n" }]
|
|
28513
28600
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
28514
28601
|
|
|
28515
|
-
const _c0$
|
|
28516
|
-
const _c1$
|
|
28517
|
-
const _c2$
|
|
28602
|
+
const _c0$F = ["modal"];
|
|
28603
|
+
const _c1$h = ["modalImageForm"];
|
|
28604
|
+
const _c2$4 = ["upload"];
|
|
28518
28605
|
const uploadRestrictions = ['.apng', '.bmp', '.gif', '.ico', '.jpeg', '.jpg', '.png', '.svg'];
|
|
28519
28606
|
class PoRichTextImageModalComponent {
|
|
28520
28607
|
constructor(languageService) {
|
|
@@ -28590,9 +28677,9 @@ class PoRichTextImageModalComponent {
|
|
|
28590
28677
|
}
|
|
28591
28678
|
PoRichTextImageModalComponent.ɵfac = function PoRichTextImageModalComponent_Factory(t) { return new (t || PoRichTextImageModalComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
28592
28679
|
PoRichTextImageModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextImageModalComponent, selectors: [["po-rich-text-image-modal"]], viewQuery: function PoRichTextImageModalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
28593
|
-
i0.ɵɵviewQuery(_c0$
|
|
28594
|
-
i0.ɵɵviewQuery(_c1$
|
|
28595
|
-
i0.ɵɵviewQuery(_c2$
|
|
28680
|
+
i0.ɵɵviewQuery(_c0$F, 7);
|
|
28681
|
+
i0.ɵɵviewQuery(_c1$h, 5);
|
|
28682
|
+
i0.ɵɵviewQuery(_c2$4, 7);
|
|
28596
28683
|
} if (rf & 2) {
|
|
28597
28684
|
let _t;
|
|
28598
28685
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modal = _t.first);
|
|
@@ -28730,8 +28817,8 @@ PoInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoInputCom
|
|
|
28730
28817
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-field-container [p-help]=\"help\" [p-label]=\"label\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon class=\"po-field-icon\" [class.po-field-icon-disabled]=\"disabled\" [p-icon]=\"icon\"></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocomplete\"\n [class.po-input-icon-left]=\"icon\"\n [class.po-input-icon-right]=\"clean\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [type]=\"type\"\n (blur)=\"eventOnBlur($event)\"\n (click)=\"eventOnClick($event)\"\n (focus)=\"eventOnFocus($event)\"\n (input)=\"eventOnInput($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean *ngIf=\"clean && !disabled && !readonly\" [p-element-ref]=\"inputEl\" (p-change-event)=\"clear($event)\">\n </po-clean>\n </div>\n </div>\n\n <po-field-container-bottom [p-error-pattern]=\"getErrorPattern()\"> </po-field-container-bottom>\n</po-field-container>\n" }]
|
|
28731
28818
|
}], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
28732
28819
|
|
|
28733
|
-
const _c0$
|
|
28734
|
-
const _c1$
|
|
28820
|
+
const _c0$E = ["modal"];
|
|
28821
|
+
const _c1$g = ["modalLinkForm"];
|
|
28735
28822
|
class PoRichTextLinkModalComponent {
|
|
28736
28823
|
constructor(languageService) {
|
|
28737
28824
|
this.languageService = languageService;
|
|
@@ -28855,8 +28942,8 @@ class PoRichTextLinkModalComponent {
|
|
|
28855
28942
|
}
|
|
28856
28943
|
PoRichTextLinkModalComponent.ɵfac = function PoRichTextLinkModalComponent_Factory(t) { return new (t || PoRichTextLinkModalComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
28857
28944
|
PoRichTextLinkModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextLinkModalComponent, selectors: [["po-rich-text-link-modal"]], viewQuery: function PoRichTextLinkModalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
28858
|
-
i0.ɵɵviewQuery(_c0$
|
|
28859
|
-
i0.ɵɵviewQuery(_c1$
|
|
28945
|
+
i0.ɵɵviewQuery(_c0$E, 7);
|
|
28946
|
+
i0.ɵɵviewQuery(_c1$g, 5);
|
|
28860
28947
|
} if (rf & 2) {
|
|
28861
28948
|
let _t;
|
|
28862
28949
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modal = _t.first);
|
|
@@ -28892,8 +28979,8 @@ PoRichTextLinkModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
28892
28979
|
args: ['p-link-editing']
|
|
28893
28980
|
}] }); })();
|
|
28894
28981
|
|
|
28895
|
-
const _c0$
|
|
28896
|
-
const _c1$
|
|
28982
|
+
const _c0$D = ["colorPickerInput"];
|
|
28983
|
+
const _c1$f = ["toolbarElement"];
|
|
28897
28984
|
function PoRichTextToolbarComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
28898
28985
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
28899
28986
|
i0.ɵɵelementStart(0, "div", 2)(1, "div", 11)(2, "button", 12)(3, "input", 13, 14);
|
|
@@ -29052,8 +29139,8 @@ class PoRichTextToolbarComponent {
|
|
|
29052
29139
|
}
|
|
29053
29140
|
PoRichTextToolbarComponent.ɵfac = function PoRichTextToolbarComponent_Factory(t) { return new (t || PoRichTextToolbarComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
|
|
29054
29141
|
PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextToolbarComponent, selectors: [["po-rich-text-toolbar"]], viewQuery: function PoRichTextToolbarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29055
|
-
i0.ɵɵviewQuery(_c0$
|
|
29056
|
-
i0.ɵɵviewQuery(_c1$
|
|
29142
|
+
i0.ɵɵviewQuery(_c0$D, 5, ElementRef);
|
|
29143
|
+
i0.ɵɵviewQuery(_c1$f, 7);
|
|
29057
29144
|
i0.ɵɵviewQuery(PoRichTextImageModalComponent, 7);
|
|
29058
29145
|
i0.ɵɵviewQuery(PoRichTextLinkModalComponent, 7);
|
|
29059
29146
|
} if (rf & 2) {
|
|
@@ -29900,8 +29987,8 @@ __decorate([
|
|
|
29900
29987
|
args: ['p-options']
|
|
29901
29988
|
}] }); })();
|
|
29902
29989
|
|
|
29903
|
-
const _c0$
|
|
29904
|
-
const _c1$
|
|
29990
|
+
const _c0$C = ["inp"];
|
|
29991
|
+
const _c1$e = ["inputRadio"];
|
|
29905
29992
|
function PoRadioGroupComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
29906
29993
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
29907
29994
|
i0.ɵɵelementStart(0, "div")(1, "input", 4, 5);
|
|
@@ -30018,8 +30105,8 @@ class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
|
|
|
30018
30105
|
}
|
|
30019
30106
|
PoRadioGroupComponent.ɵfac = function PoRadioGroupComponent_Factory(t) { return new (t || PoRadioGroupComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
30020
30107
|
PoRadioGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRadioGroupComponent, selectors: [["po-radio-group"]], viewQuery: function PoRadioGroupComponent_Query(rf, ctx) { if (rf & 1) {
|
|
30021
|
-
i0.ɵɵviewQuery(_c0$
|
|
30022
|
-
i0.ɵɵviewQuery(_c1$
|
|
30108
|
+
i0.ɵɵviewQuery(_c0$C, 7, ElementRef);
|
|
30109
|
+
i0.ɵɵviewQuery(_c1$e, 5);
|
|
30023
30110
|
} if (rf & 2) {
|
|
30024
30111
|
let _t;
|
|
30025
30112
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
|
|
@@ -30294,9 +30381,9 @@ __decorate([
|
|
|
30294
30381
|
args: ['p-required']
|
|
30295
30382
|
}] }); })();
|
|
30296
30383
|
|
|
30297
|
-
const _c0$
|
|
30298
|
-
const _c1$
|
|
30299
|
-
const _c2$
|
|
30384
|
+
const _c0$B = ["contentList"];
|
|
30385
|
+
const _c1$d = ["icon"];
|
|
30386
|
+
const _c2$3 = ["select"];
|
|
30300
30387
|
const _c3$2 = ["selectButton"];
|
|
30301
30388
|
function PoSelectComponent_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
30302
30389
|
i0.ɵɵelement(0, "option", 14);
|
|
@@ -30675,9 +30762,9 @@ PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectC
|
|
|
30675
30762
|
let _t;
|
|
30676
30763
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectOptionTemplate = _t.first);
|
|
30677
30764
|
} }, viewQuery: function PoSelectComponent_Query(rf, ctx) { if (rf & 1) {
|
|
30678
|
-
i0.ɵɵviewQuery(_c0$
|
|
30679
|
-
i0.ɵɵviewQuery(_c1$
|
|
30680
|
-
i0.ɵɵviewQuery(_c2$
|
|
30765
|
+
i0.ɵɵviewQuery(_c0$B, 7, ElementRef);
|
|
30766
|
+
i0.ɵɵviewQuery(_c1$d, 7, ElementRef);
|
|
30767
|
+
i0.ɵɵviewQuery(_c2$3, 7, ElementRef);
|
|
30681
30768
|
i0.ɵɵviewQuery(_c3$2, 7, ElementRef);
|
|
30682
30769
|
} if (rf & 2) {
|
|
30683
30770
|
let _t;
|
|
@@ -30804,7 +30891,7 @@ var PoSwitchLabelPosition;
|
|
|
30804
30891
|
PoSwitchLabelPosition[PoSwitchLabelPosition["Left"] = 1] = "Left";
|
|
30805
30892
|
})(PoSwitchLabelPosition || (PoSwitchLabelPosition = {}));
|
|
30806
30893
|
|
|
30807
|
-
const _c0$
|
|
30894
|
+
const _c0$A = ["switchContainer"];
|
|
30808
30895
|
/**
|
|
30809
30896
|
* @docsExtends PoFieldModel
|
|
30810
30897
|
*
|
|
@@ -30967,7 +31054,7 @@ class PoSwitchComponent extends PoFieldModel {
|
|
|
30967
31054
|
}
|
|
30968
31055
|
PoSwitchComponent.ɵfac = function PoSwitchComponent_Factory(t) { return new (t || PoSwitchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
30969
31056
|
PoSwitchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSwitchComponent, selectors: [["po-switch"]], viewQuery: function PoSwitchComponent_Query(rf, ctx) { if (rf & 1) {
|
|
30970
|
-
i0.ɵɵviewQuery(_c0$
|
|
31057
|
+
i0.ɵɵviewQuery(_c0$A, 7);
|
|
30971
31058
|
} if (rf & 2) {
|
|
30972
31059
|
let _t;
|
|
30973
31060
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.switchContainer = _t.first);
|
|
@@ -31321,7 +31408,7 @@ __decorate([
|
|
|
31321
31408
|
args: ['p-rows']
|
|
31322
31409
|
}] }); })();
|
|
31323
31410
|
|
|
31324
|
-
const _c0$
|
|
31411
|
+
const _c0$z = ["inp"];
|
|
31325
31412
|
/**
|
|
31326
31413
|
* @docsExtends PoTextareaBaseComponent
|
|
31327
31414
|
*
|
|
@@ -31424,7 +31511,7 @@ class PoTextareaComponent extends PoTextareaBaseComponent {
|
|
|
31424
31511
|
}
|
|
31425
31512
|
PoTextareaComponent.ɵfac = function PoTextareaComponent_Factory(t) { return new (t || PoTextareaComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
31426
31513
|
PoTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTextareaComponent, selectors: [["po-textarea"]], viewQuery: function PoTextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
31427
|
-
i0.ɵɵviewQuery(_c0$
|
|
31514
|
+
i0.ɵɵviewQuery(_c0$z, 7, ElementRef);
|
|
31428
31515
|
} if (rf & 2) {
|
|
31429
31516
|
let _t;
|
|
31430
31517
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
|
|
@@ -31471,6 +31558,204 @@ PoTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTexta
|
|
|
31471
31558
|
args: ['inp', { read: ElementRef, static: true }]
|
|
31472
31559
|
}] }); })();
|
|
31473
31560
|
|
|
31561
|
+
var PoRadioSize;
|
|
31562
|
+
(function (PoRadioSize) {
|
|
31563
|
+
PoRadioSize["medium"] = "medium";
|
|
31564
|
+
PoRadioSize["large"] = "large";
|
|
31565
|
+
})(PoRadioSize || (PoRadioSize = {}));
|
|
31566
|
+
|
|
31567
|
+
/**
|
|
31568
|
+
* @docsPrivate
|
|
31569
|
+
*
|
|
31570
|
+
* @description
|
|
31571
|
+
*
|
|
31572
|
+
* O componente `po-radio` é um componente interno e deve ser utilizado em conjunto com o componente `po-radio-group`.
|
|
31573
|
+
*/
|
|
31574
|
+
class PoRadioBaseComponent {
|
|
31575
|
+
constructor() {
|
|
31576
|
+
/** Define o status do *radio* */
|
|
31577
|
+
this.radioValue = false;
|
|
31578
|
+
/**
|
|
31579
|
+
* @optional
|
|
31580
|
+
*
|
|
31581
|
+
* @description
|
|
31582
|
+
*
|
|
31583
|
+
* Define o estado do *radio* como desabilitado;
|
|
31584
|
+
*
|
|
31585
|
+
* @default `false`
|
|
31586
|
+
*/
|
|
31587
|
+
this.disabled = false;
|
|
31588
|
+
/**
|
|
31589
|
+
* @optional
|
|
31590
|
+
*
|
|
31591
|
+
* @description
|
|
31592
|
+
*
|
|
31593
|
+
* Evento disparado quando o valor do *radio* for alterado.
|
|
31594
|
+
*/
|
|
31595
|
+
this.change = new EventEmitter();
|
|
31596
|
+
this.id = uuid();
|
|
31597
|
+
this._size = PoRadioSize.medium;
|
|
31598
|
+
}
|
|
31599
|
+
/**
|
|
31600
|
+
* @optional
|
|
31601
|
+
*
|
|
31602
|
+
* @description
|
|
31603
|
+
*
|
|
31604
|
+
* Define o tamanho do *radio*
|
|
31605
|
+
* @default `medium`
|
|
31606
|
+
*/
|
|
31607
|
+
set size(value) {
|
|
31608
|
+
this._size = PoRadioSize[value] ? PoRadioSize[value] : PoRadioSize.medium;
|
|
31609
|
+
}
|
|
31610
|
+
get size() {
|
|
31611
|
+
return this._size;
|
|
31612
|
+
}
|
|
31613
|
+
changeValue() {
|
|
31614
|
+
if (this.propagateChange) {
|
|
31615
|
+
this.propagateChange(this.radioValue);
|
|
31616
|
+
}
|
|
31617
|
+
this.change.emit(this.radioValue);
|
|
31618
|
+
}
|
|
31619
|
+
checkOption(value) {
|
|
31620
|
+
if (this.disabled) {
|
|
31621
|
+
return;
|
|
31622
|
+
}
|
|
31623
|
+
this.changeModelValue(true);
|
|
31624
|
+
this.changeValue();
|
|
31625
|
+
}
|
|
31626
|
+
registerOnChange(fn) {
|
|
31627
|
+
this.propagateChange = fn;
|
|
31628
|
+
}
|
|
31629
|
+
registerOnTouched(fn) {
|
|
31630
|
+
this.onTouched = fn;
|
|
31631
|
+
}
|
|
31632
|
+
writeValue(value) {
|
|
31633
|
+
if (value !== this.radioValue) {
|
|
31634
|
+
this.changeModelValue(value);
|
|
31635
|
+
}
|
|
31636
|
+
}
|
|
31637
|
+
}
|
|
31638
|
+
PoRadioBaseComponent.ɵfac = function PoRadioBaseComponent_Factory(t) { return new (t || PoRadioBaseComponent)(); };
|
|
31639
|
+
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" } });
|
|
31640
|
+
__decorate([
|
|
31641
|
+
InputBoolean()
|
|
31642
|
+
], PoRadioBaseComponent.prototype, "disabled", void 0);
|
|
31643
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRadioBaseComponent, [{
|
|
31644
|
+
type: Directive
|
|
31645
|
+
}], null, { name: [{
|
|
31646
|
+
type: Input,
|
|
31647
|
+
args: ['name']
|
|
31648
|
+
}], label: [{
|
|
31649
|
+
type: Input,
|
|
31650
|
+
args: ['p-label']
|
|
31651
|
+
}], radioValue: [{
|
|
31652
|
+
type: Input,
|
|
31653
|
+
args: ['p-checked']
|
|
31654
|
+
}], disabled: [{
|
|
31655
|
+
type: Input,
|
|
31656
|
+
args: ['p-disabled']
|
|
31657
|
+
}], change: [{
|
|
31658
|
+
type: Output,
|
|
31659
|
+
args: ['p-change']
|
|
31660
|
+
}], size: [{
|
|
31661
|
+
type: Input,
|
|
31662
|
+
args: ['p-size']
|
|
31663
|
+
}] }); })();
|
|
31664
|
+
|
|
31665
|
+
const _c0$y = ["radioLabel"];
|
|
31666
|
+
const _c1$c = function (a0) { return { "po-radio-large": a0 }; };
|
|
31667
|
+
const _c2$2 = function (a0) { return { "po-radio-label-disabled": a0 }; };
|
|
31668
|
+
/**
|
|
31669
|
+
* @docsPrivate
|
|
31670
|
+
*
|
|
31671
|
+
* @docsExtends PoRadioBaseComponent
|
|
31672
|
+
*/
|
|
31673
|
+
class PoRadioComponent extends PoRadioBaseComponent {
|
|
31674
|
+
constructor(changeDetector) {
|
|
31675
|
+
super();
|
|
31676
|
+
this.changeDetector = changeDetector;
|
|
31677
|
+
}
|
|
31678
|
+
/**
|
|
31679
|
+
* Função que atribui foco ao *radio*.
|
|
31680
|
+
*
|
|
31681
|
+
* Para utilizá-la é necessário capturar a referência do componente no DOM através do `ViewChild`, como por exemplo:
|
|
31682
|
+
*
|
|
31683
|
+
* ```
|
|
31684
|
+
* import { ViewChild } from '@angular/core';
|
|
31685
|
+
* import { PoRadioComponent } from '@po-ui/ng-components';
|
|
31686
|
+
*
|
|
31687
|
+
* ...
|
|
31688
|
+
*
|
|
31689
|
+
* @ViewChild(PoRadioComponent, { static: true }) radio: PoRadioComponent;
|
|
31690
|
+
*
|
|
31691
|
+
* focusRadio() {
|
|
31692
|
+
* this.radio.focus();
|
|
31693
|
+
* }
|
|
31694
|
+
* ```
|
|
31695
|
+
*
|
|
31696
|
+
*/
|
|
31697
|
+
focus() {
|
|
31698
|
+
if (this.radioLabel && !this.disabled) {
|
|
31699
|
+
this.radioLabel.nativeElement.focus();
|
|
31700
|
+
}
|
|
31701
|
+
}
|
|
31702
|
+
onBlur() {
|
|
31703
|
+
this.onTouched?.();
|
|
31704
|
+
}
|
|
31705
|
+
onKeyDown(event, value) {
|
|
31706
|
+
if (event.which === PoKeyCodeEnum.space || event.keyCode === PoKeyCodeEnum.space) {
|
|
31707
|
+
this.checkOption(value);
|
|
31708
|
+
event.preventDefault();
|
|
31709
|
+
}
|
|
31710
|
+
}
|
|
31711
|
+
changeModelValue(value) {
|
|
31712
|
+
this.radioValue = typeof value === 'boolean' ? value : false;
|
|
31713
|
+
this.changeDetector.detectChanges();
|
|
31714
|
+
}
|
|
31715
|
+
}
|
|
31716
|
+
PoRadioComponent.ɵfac = function PoRadioComponent_Factory(t) { return new (t || PoRadioComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
31717
|
+
PoRadioComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRadioComponent, selectors: [["po-radio"]], viewQuery: function PoRadioComponent_Query(rf, ctx) { if (rf & 1) {
|
|
31718
|
+
i0.ɵɵviewQuery(_c0$y, 7);
|
|
31719
|
+
} if (rf & 2) {
|
|
31720
|
+
let _t;
|
|
31721
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.radioLabel = _t.first);
|
|
31722
|
+
} }, features: [i0.ɵɵProvidersFeature([
|
|
31723
|
+
{
|
|
31724
|
+
provide: NG_VALUE_ACCESSOR,
|
|
31725
|
+
useExisting: forwardRef(() => PoRadioComponent),
|
|
31726
|
+
multi: true
|
|
31727
|
+
}
|
|
31728
|
+
]), 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) { if (rf & 1) {
|
|
31729
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
31730
|
+
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); });
|
|
31731
|
+
i0.ɵɵelement(1, "input", 1);
|
|
31732
|
+
i0.ɵɵelementStart(2, "label", 2, 3);
|
|
31733
|
+
i0.ɵɵtext(4);
|
|
31734
|
+
i0.ɵɵelementEnd()();
|
|
31735
|
+
} if (rf & 2) {
|
|
31736
|
+
i0.ɵɵattribute("checked", ctx.radioValue);
|
|
31737
|
+
i0.ɵɵadvance(1);
|
|
31738
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$c, ctx.size === "large"))("id", ctx.id)("tabindex", ctx.disabled ? -1 : 0)("disabled", ctx.disabled);
|
|
31739
|
+
i0.ɵɵattribute("aria-checked", ctx.radioValue)("aria-label", ctx.label)("aria-disabled", ctx.disabled);
|
|
31740
|
+
i0.ɵɵadvance(1);
|
|
31741
|
+
i0.ɵɵproperty("for", ctx.id)("ngClass", i0.ɵɵpureFunction1(13, _c2$2, ctx.disabled));
|
|
31742
|
+
i0.ɵɵadvance(2);
|
|
31743
|
+
i0.ɵɵtextInterpolate1(" ", ctx.label, " ");
|
|
31744
|
+
} }, directives: [i1.NgClass], encapsulation: 2, changeDetection: 0 });
|
|
31745
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRadioComponent, [{
|
|
31746
|
+
type: Component,
|
|
31747
|
+
args: [{ selector: 'po-radio', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
31748
|
+
{
|
|
31749
|
+
provide: NG_VALUE_ACCESSOR,
|
|
31750
|
+
useExisting: forwardRef(() => PoRadioComponent),
|
|
31751
|
+
multi: true
|
|
31752
|
+
}
|
|
31753
|
+
], 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" }]
|
|
31754
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { radioLabel: [{
|
|
31755
|
+
type: ViewChild,
|
|
31756
|
+
args: ['radioLabel', { static: true }]
|
|
31757
|
+
}] }); })();
|
|
31758
|
+
|
|
31474
31759
|
/**
|
|
31475
31760
|
* @description
|
|
31476
31761
|
*
|
|
@@ -31563,6 +31848,7 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
31563
31848
|
PoTextareaComponent,
|
|
31564
31849
|
PoUploadComponent,
|
|
31565
31850
|
PoUrlComponent,
|
|
31851
|
+
PoRadioComponent,
|
|
31566
31852
|
PoCheckboxModule
|
|
31567
31853
|
],
|
|
31568
31854
|
declarations: [
|
|
@@ -31597,7 +31883,8 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
31597
31883
|
PoUploadDragDropAreaOverlayComponent,
|
|
31598
31884
|
PoUploadDragDropAreaComponent,
|
|
31599
31885
|
PoUploadFileRestrictionsComponent,
|
|
31600
|
-
PoUrlComponent
|
|
31886
|
+
PoUrlComponent,
|
|
31887
|
+
PoRadioComponent
|
|
31601
31888
|
],
|
|
31602
31889
|
providers: []
|
|
31603
31890
|
}]
|
|
@@ -31633,7 +31920,8 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
31633
31920
|
PoUploadDragDropAreaOverlayComponent,
|
|
31634
31921
|
PoUploadDragDropAreaComponent,
|
|
31635
31922
|
PoUploadFileRestrictionsComponent,
|
|
31636
|
-
PoUrlComponent
|
|
31923
|
+
PoUrlComponent,
|
|
31924
|
+
PoRadioComponent], imports: [CommonModule,
|
|
31637
31925
|
FormsModule,
|
|
31638
31926
|
HttpClientModule,
|
|
31639
31927
|
PoButtonGroupModule,
|
|
@@ -31677,6 +31965,7 @@ PoFieldModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], impor
|
|
|
31677
31965
|
PoTextareaComponent,
|
|
31678
31966
|
PoUploadComponent,
|
|
31679
31967
|
PoUrlComponent,
|
|
31968
|
+
PoRadioComponent,
|
|
31680
31969
|
PoCheckboxModule] }); })();
|
|
31681
31970
|
i0.ɵɵsetComponentScope(PoMultiselectComponent, [PoFieldContainerComponent, i1.NgIf, i1.NgForOf, PoDisclaimerComponent, i1.NgClass, PoMultiselectDropdownComponent, PoFieldContainerBottomComponent], []);
|
|
31682
31971
|
i0.ɵɵsetComponentScope(PoMultiselectDropdownComponent, [i1.NgIf, PoMultiselectSearchComponent, PoLoadingComponent, PoMultiselectItemComponent, i1.NgForOf], []);
|
|
@@ -35311,21 +35600,16 @@ PoListViewDetailTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({
|
|
|
35311
35600
|
const _c0$o = ["popup"];
|
|
35312
35601
|
function PoListViewComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
35313
35602
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
35314
|
-
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8)(2, "div", 9);
|
|
35315
|
-
i0.ɵɵ
|
|
35316
|
-
i0.ɵɵelementStart(4, "label", 11);
|
|
35317
|
-
i0.ɵɵlistener("click", function PoListViewComponent_div_1_Template_label_click_4_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.selectAllListItems(); });
|
|
35318
|
-
i0.ɵɵtext(5);
|
|
35603
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "div", 8)(2, "div", 9)(3, "po-checkbox", 10);
|
|
35604
|
+
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(); });
|
|
35319
35605
|
i0.ɵɵelementEnd()()()();
|
|
35320
35606
|
} if (rf & 2) {
|
|
35321
35607
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
35322
35608
|
i0.ɵɵadvance(3);
|
|
35323
|
-
i0.ɵɵ
|
|
35324
|
-
i0.ɵɵadvance(2);
|
|
35325
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.literals.selectAll, " ");
|
|
35609
|
+
i0.ɵɵproperty("ngModel", ctx_r0.selectAll)("p-label", ctx_r0.literals.selectAll);
|
|
35326
35610
|
} }
|
|
35327
35611
|
function PoListViewComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
35328
|
-
i0.ɵɵelementStart(0, "div",
|
|
35612
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "div", 12)(2, "span");
|
|
35329
35613
|
i0.ɵɵtext(3);
|
|
35330
35614
|
i0.ɵɵelementEnd()()();
|
|
35331
35615
|
} if (rf & 2) {
|
|
@@ -35334,80 +35618,78 @@ function PoListViewComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
35334
35618
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.literals.noData, " ");
|
|
35335
35619
|
} }
|
|
35336
35620
|
function PoListViewComponent_ng_container_4_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
35337
|
-
const
|
|
35338
|
-
i0.ɵɵelementStart(0, "div", 26);
|
|
35339
|
-
i0.ɵɵ
|
|
35340
|
-
i0.ɵɵelementStart(2, "label", 11);
|
|
35341
|
-
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); });
|
|
35621
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
35622
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "po-checkbox", 26);
|
|
35623
|
+
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); });
|
|
35342
35624
|
i0.ɵɵelementEnd()();
|
|
35343
35625
|
} if (rf & 2) {
|
|
35344
|
-
const
|
|
35626
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
35345
35627
|
i0.ɵɵadvance(1);
|
|
35346
|
-
i0.ɵɵ
|
|
35628
|
+
i0.ɵɵproperty("ngModel", item_r9.$selected);
|
|
35347
35629
|
} }
|
|
35348
35630
|
function PoListViewComponent_ng_container_4_a_6_Template(rf, ctx) { if (rf & 1) {
|
|
35349
|
-
const
|
|
35631
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
35350
35632
|
i0.ɵɵelementStart(0, "a", 27);
|
|
35351
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_a_6_Template_a_click_0_listener() { i0.ɵɵrestoreView(
|
|
35633
|
+
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); });
|
|
35352
35634
|
i0.ɵɵtext(1);
|
|
35353
35635
|
i0.ɵɵelementEnd();
|
|
35354
35636
|
} if (rf & 2) {
|
|
35355
|
-
const
|
|
35356
|
-
const
|
|
35357
|
-
i0.ɵɵproperty("href",
|
|
35637
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
35638
|
+
const ctx_r12 = i0.ɵɵnextContext();
|
|
35639
|
+
i0.ɵɵproperty("href", item_r9[ctx_r12.propertyLink], i0.ɵɵsanitizeUrl);
|
|
35358
35640
|
i0.ɵɵadvance(1);
|
|
35359
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
35641
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r12.getItemTitle(item_r9), " ");
|
|
35360
35642
|
} }
|
|
35361
35643
|
function PoListViewComponent_ng_container_4_a_7_Template(rf, ctx) { if (rf & 1) {
|
|
35362
|
-
const
|
|
35644
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
35363
35645
|
i0.ɵɵelementStart(0, "a", 28);
|
|
35364
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_a_7_Template_a_click_0_listener() { i0.ɵɵrestoreView(
|
|
35646
|
+
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); });
|
|
35365
35647
|
i0.ɵɵtext(1);
|
|
35366
35648
|
i0.ɵɵelementEnd();
|
|
35367
35649
|
} if (rf & 2) {
|
|
35368
|
-
const
|
|
35369
|
-
const
|
|
35370
|
-
i0.ɵɵproperty("routerLink",
|
|
35650
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
35651
|
+
const ctx_r13 = i0.ɵɵnextContext();
|
|
35652
|
+
i0.ɵɵproperty("routerLink", item_r9[ctx_r13.propertyLink]);
|
|
35371
35653
|
i0.ɵɵadvance(1);
|
|
35372
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
35654
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r13.getItemTitle(item_r9), " ");
|
|
35373
35655
|
} }
|
|
35374
35656
|
function PoListViewComponent_ng_container_4_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
35375
|
-
const
|
|
35657
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
35376
35658
|
i0.ɵɵelementStart(0, "span", 29);
|
|
35377
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_span_8_Template_span_click_0_listener() { i0.ɵɵrestoreView(
|
|
35659
|
+
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); });
|
|
35378
35660
|
i0.ɵɵtext(1);
|
|
35379
35661
|
i0.ɵɵelementEnd();
|
|
35380
35662
|
} if (rf & 2) {
|
|
35381
|
-
const
|
|
35382
|
-
const
|
|
35383
|
-
i0.ɵɵclassProp("po-list-view-title-link",
|
|
35663
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
35664
|
+
const ctx_r14 = i0.ɵɵnextContext();
|
|
35665
|
+
i0.ɵɵclassProp("po-list-view-title-link", ctx_r14.titleHasAction);
|
|
35384
35666
|
i0.ɵɵadvance(1);
|
|
35385
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
35667
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r14.getItemTitle(item_r9), " ");
|
|
35386
35668
|
} }
|
|
35387
35669
|
function PoListViewComponent_ng_container_4_div_9_po_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
35388
|
-
const
|
|
35670
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
35389
35671
|
i0.ɵɵelementStart(0, "po-button", 32);
|
|
35390
|
-
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(
|
|
35672
|
+
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); });
|
|
35391
35673
|
i0.ɵɵelementEnd();
|
|
35392
35674
|
} if (rf & 2) {
|
|
35393
|
-
const
|
|
35394
|
-
const
|
|
35395
|
-
const
|
|
35396
|
-
i0.ɵɵproperty("p-disabled",
|
|
35675
|
+
const action_r41 = ctx.$implicit;
|
|
35676
|
+
const item_r9 = i0.ɵɵnextContext(2).$implicit;
|
|
35677
|
+
const ctx_r40 = i0.ɵɵnextContext();
|
|
35678
|
+
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);
|
|
35397
35679
|
} }
|
|
35398
35680
|
function PoListViewComponent_ng_container_4_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
35399
35681
|
i0.ɵɵelementStart(0, "div", 30);
|
|
35400
35682
|
i0.ɵɵtemplate(1, PoListViewComponent_ng_container_4_div_9_po_button_1_Template, 1, 4, "po-button", 31);
|
|
35401
35683
|
i0.ɵɵelementEnd();
|
|
35402
35684
|
} if (rf & 2) {
|
|
35403
|
-
const
|
|
35685
|
+
const ctx_r15 = i0.ɵɵnextContext(2);
|
|
35404
35686
|
i0.ɵɵadvance(1);
|
|
35405
|
-
i0.ɵɵproperty("ngForOf",
|
|
35687
|
+
i0.ɵɵproperty("ngForOf", ctx_r15.visibleActions);
|
|
35406
35688
|
} }
|
|
35407
35689
|
function PoListViewComponent_ng_container_4_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
35408
|
-
const
|
|
35690
|
+
const _r49 = i0.ɵɵgetCurrentView();
|
|
35409
35691
|
i0.ɵɵelementStart(0, "div", 33)(1, "span", 34, 35);
|
|
35410
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_div_10_Template_span_click_1_listener() { i0.ɵɵrestoreView(
|
|
35692
|
+
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); });
|
|
35411
35693
|
i0.ɵɵelementEnd()();
|
|
35412
35694
|
} }
|
|
35413
35695
|
function PoListViewComponent_ng_container_4_div_11_ng_template_1_Template(rf, ctx) { }
|
|
@@ -35417,12 +35699,12 @@ function PoListViewComponent_ng_container_4_div_11_Template(rf, ctx) { if (rf &
|
|
|
35417
35699
|
i0.ɵɵtemplate(1, PoListViewComponent_ng_container_4_div_11_ng_template_1_Template, 0, 0, "ng-template", 37);
|
|
35418
35700
|
i0.ɵɵelementEnd();
|
|
35419
35701
|
} if (rf & 2) {
|
|
35420
|
-
const
|
|
35421
|
-
const
|
|
35422
|
-
const
|
|
35423
|
-
const
|
|
35702
|
+
const ctx_r51 = i0.ɵɵnextContext();
|
|
35703
|
+
const item_r9 = ctx_r51.$implicit;
|
|
35704
|
+
const index_r10 = ctx_r51.index;
|
|
35705
|
+
const ctx_r17 = i0.ɵɵnextContext();
|
|
35424
35706
|
i0.ɵɵadvance(1);
|
|
35425
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
35707
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r17.listViewContentTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1$7, item_r9, index_r10));
|
|
35426
35708
|
} }
|
|
35427
35709
|
function PoListViewComponent_ng_container_4_div_12_ng_template_1_Template(rf, ctx) { }
|
|
35428
35710
|
function PoListViewComponent_ng_container_4_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -35430,48 +35712,48 @@ function PoListViewComponent_ng_container_4_div_12_Template(rf, ctx) { if (rf &
|
|
|
35430
35712
|
i0.ɵɵtemplate(1, PoListViewComponent_ng_container_4_div_12_ng_template_1_Template, 0, 0, "ng-template", 37);
|
|
35431
35713
|
i0.ɵɵelementEnd();
|
|
35432
35714
|
} if (rf & 2) {
|
|
35433
|
-
const
|
|
35434
|
-
const
|
|
35435
|
-
const
|
|
35436
|
-
const
|
|
35715
|
+
const ctx_r53 = i0.ɵɵnextContext();
|
|
35716
|
+
const item_r9 = ctx_r53.$implicit;
|
|
35717
|
+
const index_r10 = ctx_r53.index;
|
|
35718
|
+
const ctx_r18 = i0.ɵɵnextContext();
|
|
35437
35719
|
i0.ɵɵproperty("@showHideDetail", undefined);
|
|
35438
35720
|
i0.ɵɵadvance(1);
|
|
35439
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
35721
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r18.listViewDetailTemplate.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c1$7, item_r9, index_r10));
|
|
35440
35722
|
} }
|
|
35441
35723
|
function PoListViewComponent_ng_container_4_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
35442
|
-
const
|
|
35724
|
+
const _r56 = i0.ɵɵgetCurrentView();
|
|
35443
35725
|
i0.ɵɵelementStart(0, "div", 39)(1, "span", 40);
|
|
35444
|
-
i0.ɵɵlistener("click", function PoListViewComponent_ng_container_4_div_13_Template_span_click_1_listener() { i0.ɵɵrestoreView(
|
|
35726
|
+
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; });
|
|
35445
35727
|
i0.ɵɵtext(2);
|
|
35446
35728
|
i0.ɵɵelementEnd()();
|
|
35447
35729
|
} if (rf & 2) {
|
|
35448
|
-
const
|
|
35449
|
-
const
|
|
35730
|
+
const item_r9 = i0.ɵɵnextContext().$implicit;
|
|
35731
|
+
const ctx_r19 = i0.ɵɵnextContext();
|
|
35450
35732
|
i0.ɵɵadvance(2);
|
|
35451
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
35733
|
+
i0.ɵɵtextInterpolate1(" ", item_r9.$showDetail ? ctx_r19.literals.hideDetails : ctx_r19.literals.showDetails, " ");
|
|
35452
35734
|
} }
|
|
35453
35735
|
function PoListViewComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
35454
35736
|
i0.ɵɵelementContainerStart(0);
|
|
35455
|
-
i0.ɵɵelementStart(1, "div",
|
|
35456
|
-
i0.ɵɵtemplate(5, PoListViewComponent_ng_container_4_div_5_Template,
|
|
35457
|
-
i0.ɵɵtemplate(6, PoListViewComponent_ng_container_4_a_6_Template, 2, 2, "a",
|
|
35458
|
-
i0.ɵɵtemplate(7, PoListViewComponent_ng_container_4_a_7_Template, 2, 2, "a",
|
|
35459
|
-
i0.ɵɵtemplate(8, PoListViewComponent_ng_container_4_span_8_Template, 2, 3, "span",
|
|
35737
|
+
i0.ɵɵelementStart(1, "div", 11)(2, "div", 13)(3, "div", 14)(4, "div", 15);
|
|
35738
|
+
i0.ɵɵtemplate(5, PoListViewComponent_ng_container_4_div_5_Template, 2, 1, "div", 16);
|
|
35739
|
+
i0.ɵɵtemplate(6, PoListViewComponent_ng_container_4_a_6_Template, 2, 2, "a", 17);
|
|
35740
|
+
i0.ɵɵtemplate(7, PoListViewComponent_ng_container_4_a_7_Template, 2, 2, "a", 18);
|
|
35741
|
+
i0.ɵɵtemplate(8, PoListViewComponent_ng_container_4_span_8_Template, 2, 3, "span", 19);
|
|
35460
35742
|
i0.ɵɵelementEnd();
|
|
35461
|
-
i0.ɵɵtemplate(9, PoListViewComponent_ng_container_4_div_9_Template, 2, 1, "div",
|
|
35462
|
-
i0.ɵɵtemplate(10, PoListViewComponent_ng_container_4_div_10_Template, 3, 0, "div",
|
|
35743
|
+
i0.ɵɵtemplate(9, PoListViewComponent_ng_container_4_div_9_Template, 2, 1, "div", 20);
|
|
35744
|
+
i0.ɵɵtemplate(10, PoListViewComponent_ng_container_4_div_10_Template, 3, 0, "div", 21);
|
|
35463
35745
|
i0.ɵɵelementEnd();
|
|
35464
|
-
i0.ɵɵtemplate(11, PoListViewComponent_ng_container_4_div_11_Template, 2, 5, "div",
|
|
35465
|
-
i0.ɵɵtemplate(12, PoListViewComponent_ng_container_4_div_12_Template, 2, 6, "div",
|
|
35746
|
+
i0.ɵɵtemplate(11, PoListViewComponent_ng_container_4_div_11_Template, 2, 5, "div", 22);
|
|
35747
|
+
i0.ɵɵtemplate(12, PoListViewComponent_ng_container_4_div_12_Template, 2, 6, "div", 23);
|
|
35466
35748
|
i0.ɵɵelementEnd();
|
|
35467
|
-
i0.ɵɵtemplate(13, PoListViewComponent_ng_container_4_div_13_Template, 3, 1, "div",
|
|
35749
|
+
i0.ɵɵtemplate(13, PoListViewComponent_ng_container_4_div_13_Template, 3, 1, "div", 24);
|
|
35468
35750
|
i0.ɵɵelementEnd();
|
|
35469
35751
|
i0.ɵɵelementContainerEnd();
|
|
35470
35752
|
} if (rf & 2) {
|
|
35471
|
-
const
|
|
35753
|
+
const item_r9 = ctx.$implicit;
|
|
35472
35754
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
35473
35755
|
i0.ɵɵadvance(4);
|
|
35474
|
-
i0.ɵɵproperty("ngSwitch", ctx_r2.checkTitleType(
|
|
35756
|
+
i0.ɵɵproperty("ngSwitch", ctx_r2.checkTitleType(item_r9));
|
|
35475
35757
|
i0.ɵɵadvance(1);
|
|
35476
35758
|
i0.ɵɵproperty("ngIf", ctx_r2.select);
|
|
35477
35759
|
i0.ɵɵadvance(1);
|
|
@@ -35487,14 +35769,14 @@ function PoListViewComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
35487
35769
|
i0.ɵɵadvance(1);
|
|
35488
35770
|
i0.ɵɵproperty("ngIf", ctx_r2.hasContentTemplate);
|
|
35489
35771
|
i0.ɵɵadvance(1);
|
|
35490
|
-
i0.ɵɵproperty("ngIf", ctx_r2.hasDetailTemplate &&
|
|
35772
|
+
i0.ɵɵproperty("ngIf", ctx_r2.hasDetailTemplate && item_r9.$showDetail);
|
|
35491
35773
|
i0.ɵɵadvance(1);
|
|
35492
35774
|
i0.ɵɵproperty("ngIf", ctx_r2.hasDetailTemplate);
|
|
35493
35775
|
} }
|
|
35494
35776
|
function PoListViewComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
35495
|
-
const
|
|
35777
|
+
const _r59 = i0.ɵɵgetCurrentView();
|
|
35496
35778
|
i0.ɵɵelementStart(0, "div", 41)(1, "po-button", 42);
|
|
35497
|
-
i0.ɵɵlistener("p-click", function PoListViewComponent_div_5_Template_po_button_p_click_1_listener() { i0.ɵɵrestoreView(
|
|
35779
|
+
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(); });
|
|
35498
35780
|
i0.ɵɵelementEnd()();
|
|
35499
35781
|
} if (rf & 2) {
|
|
35500
35782
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
@@ -35610,9 +35892,9 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
|
|
|
35610
35892
|
} if (rf & 2) {
|
|
35611
35893
|
let _t;
|
|
35612
35894
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poPopupComponent = _t.first);
|
|
35613
|
-
} }, 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"], ["
|
|
35895
|
+
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 13, consts: [["class", "po-list-view-main-header", 4, "ngIf"], [1, "po-list-view-main-content"], ["class", "po-list-view", 4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-mb-2 po-text-center", 4, "ngIf"], [3, "p-actions", "p-target"], ["popup", ""], [1, "po-list-view-main-header"], [1, "po-checkbox-group-item"], [1, "po-list-view-main-select"], ["name", "selectAll", 3, "ngModel", "p-label", "ngModelChange", "p-change", "click"], [1, "po-list-view"], [1, "po-list-view-container-no-data", "po-text-center"], [1, "po-list-view-container"], [1, "po-list-view-header"], [1, "po-list-view-title", 3, "ngSwitch"], ["class", "po-list-view-select", 4, "ngIf"], ["class", "po-list-view-title-link", "target", "_blank", 3, "href", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-link", 3, "routerLink", "click", 4, "ngSwitchCase"], ["class", "po-list-view-title-no-link", 3, "po-list-view-title-link", "click", 4, "ngSwitchCase"], ["class", "po-list-view-actions", 4, "ngIf"], ["class", "po-list-view-more-actions", 4, "ngIf"], ["class", "po-list-view-content", 4, "ngIf"], ["class", "po-list-view-detail", 4, "ngIf"], ["class", "po-list-view-detail-button", 4, "ngIf"], [1, "po-list-view-select"], ["name", "checkbox", 3, "ngModel", "ngModelChange", "p-change", "click"], ["target", "_blank", 1, "po-list-view-title-link", 3, "href", "click"], [1, "po-list-view-title-link", 3, "routerLink", "click"], [1, "po-list-view-title-no-link", 3, "click"], [1, "po-list-view-actions"], ["p-small", "true", 3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click", 4, "ngFor", "ngForOf"], ["p-small", "true", 3, "p-disabled", "p-icon", "p-label", "p-kind", "p-click"], [1, "po-list-view-more-actions"], [1, "po-icon", "po-icon-more", "po-list-view-more-icon", "po-clickable", 3, "click"], ["popupTarget", ""], [1, "po-list-view-content"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "po-list-view-detail"], [1, "po-list-view-detail-button"], [1, "po-clickable", 3, "click"], [1, "po-mb-2", "po-text-center"], [3, "p-disabled", "p-label", "p-click"]], template: function PoListViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35614
35896
|
i0.ɵɵelementStart(0, "div");
|
|
35615
|
-
i0.ɵɵtemplate(1, PoListViewComponent_div_1_Template,
|
|
35897
|
+
i0.ɵɵtemplate(1, PoListViewComponent_div_1_Template, 4, 2, "div", 0);
|
|
35616
35898
|
i0.ɵɵelementStart(2, "div", 1);
|
|
35617
35899
|
i0.ɵɵtemplate(3, PoListViewComponent_div_3_Template, 4, 1, "div", 2);
|
|
35618
35900
|
i0.ɵɵtemplate(4, PoListViewComponent_ng_container_4_Template, 14, 10, "ng-container", 3);
|
|
@@ -35632,7 +35914,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
|
|
|
35632
35914
|
i0.ɵɵproperty("ngIf", ctx.displayShowMoreButton);
|
|
35633
35915
|
i0.ɵɵadvance(1);
|
|
35634
35916
|
i0.ɵɵproperty("p-actions", ctx.actions)("p-target", ctx.popupTarget);
|
|
35635
|
-
} }, directives: [i1.NgIf, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i2.RouterLinkWithHref, PoButtonComponent, i1.NgTemplateOutlet, PoPopupComponent], encapsulation: 2, data: { animation: [
|
|
35917
|
+
} }, directives: [i1.NgIf, PoCheckboxComponent, i3.NgControlStatus, i3.NgModel, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i2.RouterLinkWithHref, PoButtonComponent, i1.NgTemplateOutlet, PoPopupComponent], encapsulation: 2, data: { animation: [
|
|
35636
35918
|
trigger('showHideDetail', [
|
|
35637
35919
|
state('*', style({ 'overflow-y': 'visible' })),
|
|
35638
35920
|
state('void', style({ 'overflow-y': 'hidden' })),
|
|
@@ -35649,7 +35931,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
|
|
|
35649
35931
|
transition('* => void', [style({ height: '*', 'overflow-y': 'hidden' }), animate(100, style({ height: 0 }))]),
|
|
35650
35932
|
transition('void => *', [style({ height: '0' }), animate(100, style({ height: '*' }))])
|
|
35651
35933
|
])
|
|
35652
|
-
], 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 <
|
|
35934
|
+
], 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" }]
|
|
35653
35935
|
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.IterableDiffers }, { type: PoLanguageService }]; }, { listViewContentTemplate: [{
|
|
35654
35936
|
type: ContentChild,
|
|
35655
35937
|
args: [PoListViewContentTemplateDirective, { static: true }]
|
|
@@ -35696,18 +35978,18 @@ class PoListViewModule {
|
|
|
35696
35978
|
}
|
|
35697
35979
|
PoListViewModule.ɵfac = function PoListViewModule_Factory(t) { return new (t || PoListViewModule)(); };
|
|
35698
35980
|
PoListViewModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PoListViewModule });
|
|
35699
|
-
PoListViewModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imports: [[CommonModule, RouterModule, PoButtonModule, PoPopupModule]] });
|
|
35981
|
+
PoListViewModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [], imports: [[CommonModule, FormsModule, RouterModule, PoButtonModule, PoPopupModule, PoCheckboxModule]] });
|
|
35700
35982
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoListViewModule, [{
|
|
35701
35983
|
type: NgModule,
|
|
35702
35984
|
args: [{
|
|
35703
|
-
imports: [CommonModule, RouterModule, PoButtonModule, PoPopupModule],
|
|
35985
|
+
imports: [CommonModule, FormsModule, RouterModule, PoButtonModule, PoPopupModule, PoCheckboxModule],
|
|
35704
35986
|
declarations: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective],
|
|
35705
35987
|
exports: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective],
|
|
35706
35988
|
providers: [],
|
|
35707
35989
|
schemas: []
|
|
35708
35990
|
}]
|
|
35709
35991
|
}], null, null); })();
|
|
35710
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoListViewModule, { declarations: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective], imports: [CommonModule, RouterModule, PoButtonModule, PoPopupModule], exports: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective] }); })();
|
|
35992
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoListViewModule, { declarations: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective], imports: [CommonModule, FormsModule, RouterModule, PoButtonModule, PoPopupModule, PoCheckboxModule], exports: [PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective] }); })();
|
|
35711
35993
|
|
|
35712
35994
|
const PO_BADGE_COLORS = [
|
|
35713
35995
|
'color-01',
|
|
@@ -45734,5 +46016,5 @@ function initializeLanguageDefault(config, languageService) {
|
|
|
45734
46016
|
* Generated bundle index. Do not edit.
|
|
45735
46017
|
*/
|
|
45736
46018
|
|
|
45737
|
-
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 };
|
|
46019
|
+
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 };
|
|
45738
46020
|
//# sourceMappingURL=po-ui-ng-components.mjs.map
|