@po-ui/ng-components 6.1.0 → 6.2.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-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.mjs +1 -1
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.mjs +1 -1
- package/esm2020/lib/components/po-disclaimer-group/po-disclaimer-group.component.mjs +1 -1
- package/esm2020/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.mjs +1 -1
- package/esm2020/lib/components/po-field/po-combo/po-combo.component.mjs +7 -7
- package/esm2020/lib/components/po-field/po-datepicker/po-datepicker.component.mjs +5 -5
- package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.mjs +3 -3
- package/esm2020/lib/components/po-field/po-decimal/po-decimal.component.mjs +4 -4
- package/esm2020/lib/components/po-field/po-email/po-email.component.mjs +4 -4
- package/esm2020/lib/components/po-field/po-input/po-input.component.mjs +4 -4
- package/esm2020/lib/components/po-field/po-login/po-login.component.mjs +3 -3
- package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.mjs +3 -3
- package/esm2020/lib/components/po-field/po-lookup/po-lookup.component.mjs +3 -3
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.mjs +10 -7
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.mjs +9 -7
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect.component.mjs +8 -4
- package/esm2020/lib/components/po-field/po-number/po-number.component.mjs +4 -4
- package/esm2020/lib/components/po-field/po-password/po-password.component.mjs +3 -3
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.mjs +4 -4
- package/esm2020/lib/components/po-field/po-select/po-select.component.mjs +3 -3
- package/esm2020/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.mjs +4 -4
- package/esm2020/lib/components/po-field/po-url/po-url.component.mjs +4 -4
- package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +4 -4
- package/esm2020/lib/components/po-menu/po-menu-filter/po-menu-filter.component.mjs +3 -3
- package/esm2020/lib/components/po-menu/po-menu.component.mjs +3 -3
- package/esm2020/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.mjs +3 -3
- package/esm2020/lib/components/po-navbar/po-navbar.component.mjs +3 -3
- package/esm2020/lib/components/po-page/po-page-default/po-page-default.component.mjs +5 -5
- package/esm2020/lib/components/po-page/po-page-detail/po-page-detail.component.mjs +4 -4
- package/esm2020/lib/components/po-page/po-page-edit/po-page-edit.component.mjs +4 -4
- package/esm2020/lib/components/po-page/po-page-list/po-page-list.component.mjs +6 -6
- package/esm2020/lib/components/po-slide/po-slide.component.mjs +1 -1
- package/esm2020/lib/components/po-stepper/po-stepper.component.mjs +1 -1
- package/esm2020/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.mjs +1 -1
- package/esm2020/lib/components/po-table/po-table.component.mjs +15 -15
- package/fesm2015/po-ui-ng-components.mjs +123 -114
- package/fesm2015/po-ui-ng-components.mjs.map +1 -1
- package/fesm2020/po-ui-ng-components.mjs +115 -106
- package/fesm2020/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +3 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.d.ts +3 -1
- package/package.json +4 -4
- package/po-ui-ng-components-6.2.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.1.0.tgz +0 -0
|
@@ -7645,7 +7645,7 @@ PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChart
|
|
|
7645
7645
|
i0.ɵɵadvance(1);
|
|
7646
7646
|
i0.ɵɵproperty("ngIf", ctx.canDisplayLabels);
|
|
7647
7647
|
}
|
|
7648
|
-
}, directives: [i1.NgForOf, i1.NgIf,
|
|
7648
|
+
}, directives: [i1.NgForOf, PoChartCircularPathComponent, i1.NgIf, PoChartCircularLabelComponent], encapsulation: 2 });
|
|
7649
7649
|
(function () {
|
|
7650
7650
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoChartPieComponent, [{
|
|
7651
7651
|
type: Component,
|
|
@@ -7815,7 +7815,7 @@ PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCha
|
|
|
7815
7815
|
i0.ɵɵadvance(1);
|
|
7816
7816
|
i0.ɵɵproperty("ngIf", ctx.canDisplayLabels);
|
|
7817
7817
|
}
|
|
7818
|
-
}, directives: [i1.NgForOf, i1.NgIf,
|
|
7818
|
+
}, directives: [i1.NgForOf, PoChartCircularPathComponent, i1.NgIf, PoChartCircularLabelComponent], encapsulation: 2 });
|
|
7819
7819
|
(function () {
|
|
7820
7820
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoChartDonutComponent, [{
|
|
7821
7821
|
type: Component,
|
|
@@ -9111,7 +9111,7 @@ PoDisclaimerGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
9111
9111
|
if (rf & 2) {
|
|
9112
9112
|
i0.ɵɵproperty("ngIf", ctx.disclaimers.length > 0);
|
|
9113
9113
|
}
|
|
9114
|
-
}, directives: [i1.NgIf, i1.NgForOf,
|
|
9114
|
+
}, directives: [i1.NgIf, PoDisclaimerRemoveComponent, i1.NgForOf, PoDisclaimerComponent], encapsulation: 2 });
|
|
9115
9115
|
(function () {
|
|
9116
9116
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDisclaimerGroupComponent, [{
|
|
9117
9117
|
type: Component,
|
|
@@ -12053,7 +12053,7 @@ PoDatepickerComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDat
|
|
|
12053
12053
|
i0.ɵɵadvance(2);
|
|
12054
12054
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
|
|
12055
12055
|
}
|
|
12056
|
-
}, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf, PoCalendarComponent, i3.NgControlStatus, i3.NgModel, PoFieldContainerBottomComponent
|
|
12056
|
+
}, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf, PoCleanComponent, PoCalendarComponent, i3.NgControlStatus, i3.NgModel, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
12057
12057
|
(function () {
|
|
12058
12058
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDatepickerComponent, [{
|
|
12059
12059
|
type: Component,
|
|
@@ -16186,7 +16186,7 @@ PoTableSubtitleFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
16186
16186
|
i0.ɵɵadvance(1);
|
|
16187
16187
|
i0.ɵɵproperty("ngIf", ctx.showSubtitle);
|
|
16188
16188
|
}
|
|
16189
|
-
}, directives: [i1.NgForOf, i1.NgIf,
|
|
16189
|
+
}, directives: [i1.NgForOf, PoTableSubtitleCircleComponent, i1.NgIf, PoTableShowSubtitleComponent], encapsulation: 2 });
|
|
16190
16190
|
(function () {
|
|
16191
16191
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableSubtitleFooterComponent, [{
|
|
16192
16192
|
type: Component,
|
|
@@ -17236,11 +17236,11 @@ function PoTableComponent_ng_template_4_ng_container_12_tbody_1_Template(rf, ctx
|
|
|
17236
17236
|
i0.ɵɵelementStart(1, "tr", 61);
|
|
17237
17237
|
i0.ɵɵtemplate(2, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_2_Template, 2, 4, "td", 64);
|
|
17238
17238
|
i0.ɵɵtemplate(3, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_3_Template, 2, 5, "td", 65);
|
|
17239
|
-
i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_ng_container_12_tbody_1_4_Template, 1, 5,
|
|
17239
|
+
i0.ɵɵtemplate(4, PoTableComponent_ng_template_4_ng_container_12_tbody_1_4_Template, 1, 5, null, 21);
|
|
17240
17240
|
i0.ɵɵtemplate(5, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_5_Template, 2, 5, "td", 65);
|
|
17241
17241
|
i0.ɵɵtemplate(6, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_6_Template, 15, 31, "td", 66);
|
|
17242
17242
|
i0.ɵɵtemplate(7, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_7_Template, 2, 5, "td", 65);
|
|
17243
|
-
i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_ng_container_12_tbody_1_8_Template, 1, 5,
|
|
17243
|
+
i0.ɵɵtemplate(8, PoTableComponent_ng_template_4_ng_container_12_tbody_1_8_Template, 1, 5, null, 21);
|
|
17244
17244
|
i0.ɵɵtemplate(9, PoTableComponent_ng_template_4_ng_container_12_tbody_1_ng_container_9_Template, 2, 0, "ng-container", 21);
|
|
17245
17245
|
i0.ɵɵtemplate(10, PoTableComponent_ng_template_4_ng_container_12_tbody_1_td_10_Template, 1, 0, "td", 67);
|
|
17246
17246
|
i0.ɵɵelementEnd();
|
|
@@ -18083,7 +18083,7 @@ PoTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableCom
|
|
|
18083
18083
|
i0.ɵɵadvance(16);
|
|
18084
18084
|
i0.ɵɵproperty("ngIf", !ctx.hideColumnsManager);
|
|
18085
18085
|
}
|
|
18086
|
-
}, directives: [i1.NgIf,
|
|
18086
|
+
}, directives: [i1.NgIf, PoContainerComponent, i1.NgTemplateOutlet, PoLoadingComponent, i1.NgForOf, PoTableSubtitleFooterComponent, PoButtonComponent, PoTooltipDirective, 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 });
|
|
18087
18087
|
(function () {
|
|
18088
18088
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableComponent, [{
|
|
18089
18089
|
type: Component,
|
|
@@ -20198,11 +20198,11 @@ PoComboComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoComboCom
|
|
|
20198
20198
|
i0.ɵɵadvance(2);
|
|
20199
20199
|
i0.ɵɵproperty("ngIf", ctx.isServerSearching)("ngIfThen", _r6)("ngIfElse", _r8);
|
|
20200
20200
|
}
|
|
20201
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf, i1.NgClass,
|
|
20201
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, i1.NgClass, PoCleanComponent, PoFieldContainerBottomComponent, PoLoadingComponent, i1.NgForOf, i1.NgTemplateOutlet], encapsulation: 2, changeDetection: 0 });
|
|
20202
20202
|
(function () {
|
|
20203
20203
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoComboComponent, [{
|
|
20204
20204
|
type: Component,
|
|
20205
|
-
args: [{ selector: 'po-combo', providers: [
|
|
20205
|
+
args: [{ selector: 'po-combo', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
20206
20206
|
PoComboFilterService,
|
|
20207
20207
|
PoControlPositionService,
|
|
20208
20208
|
{
|
|
@@ -21260,7 +21260,7 @@ PoDatepickerRangeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
21260
21260
|
i0.ɵɵadvance(1);
|
|
21261
21261
|
i0.ɵɵproperty("ngIf", ctx.isCalendarVisible);
|
|
21262
21262
|
}
|
|
21263
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
21263
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoCleanComponent, PoFieldContainerBottomComponent, PoCalendarComponent, i3.NgControlStatus, i3.NgModel], encapsulation: 2, changeDetection: 0 });
|
|
21264
21264
|
(function () {
|
|
21265
21265
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDatepickerRangeComponent, [{
|
|
21266
21266
|
type: Component,
|
|
@@ -22310,7 +22310,7 @@ PoDecimalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDecima
|
|
|
22310
22310
|
i0.ɵɵadvance(1);
|
|
22311
22311
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPatternMessage());
|
|
22312
22312
|
}
|
|
22313
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
22313
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
22314
22314
|
(function () {
|
|
22315
22315
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDecimalComponent, [{
|
|
22316
22316
|
type: Component,
|
|
@@ -22693,7 +22693,7 @@ PoEmailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoEmailCom
|
|
|
22693
22693
|
i0.ɵɵadvance(1);
|
|
22694
22694
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
|
|
22695
22695
|
}
|
|
22696
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
22696
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
22697
22697
|
(function () {
|
|
22698
22698
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoEmailComponent, [{
|
|
22699
22699
|
type: Component,
|
|
@@ -22793,7 +22793,7 @@ PoLoginComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLoginCom
|
|
|
22793
22793
|
i0.ɵɵadvance(1);
|
|
22794
22794
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
|
|
22795
22795
|
}
|
|
22796
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
22796
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
22797
22797
|
(function () {
|
|
22798
22798
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLoginComponent, [{
|
|
22799
22799
|
type: Component,
|
|
@@ -24362,7 +24362,7 @@ PoLookupModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLo
|
|
|
24362
24362
|
i0.ɵɵadvance(1);
|
|
24363
24363
|
i0.ɵɵproperty("hidden", !ctx.isAdvancedFilter);
|
|
24364
24364
|
}
|
|
24365
|
-
}, directives: [PoModalComponent, PoFieldContainerComponent, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, i1.NgIf,
|
|
24365
|
+
}, directives: [PoModalComponent, PoFieldContainerComponent, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, i1.NgIf, PoDisclaimerGroupComponent, PoTableComponent], encapsulation: 2 });
|
|
24366
24366
|
(function () {
|
|
24367
24367
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupModalComponent, [{
|
|
24368
24368
|
type: Component,
|
|
@@ -24874,7 +24874,7 @@ PoLookupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupC
|
|
|
24874
24874
|
i0.ɵɵadvance(1);
|
|
24875
24875
|
i0.ɵɵproperty("ngIf", !ctx.disclaimers.length)("ngIfElse", _r1);
|
|
24876
24876
|
}
|
|
24877
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
24877
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, i1.NgClass, PoCleanComponent, PoFieldContainerBottomComponent, i1.NgForOf, PoDisclaimerComponent], encapsulation: 2, changeDetection: 0 });
|
|
24878
24878
|
(function () {
|
|
24879
24879
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupComponent, [{
|
|
24880
24880
|
type: Component,
|
|
@@ -24969,7 +24969,8 @@ function PoMultiselectDropdownComponent_ng_container_7_Template(rf, ctx) {
|
|
|
24969
24969
|
* Componente que construíra o dropdown, contendo o campo de pesquisa e os itens para seleção.
|
|
24970
24970
|
*/
|
|
24971
24971
|
class PoMultiselectDropdownComponent {
|
|
24972
|
-
constructor() {
|
|
24972
|
+
constructor(cd) {
|
|
24973
|
+
this.cd = cd;
|
|
24973
24974
|
/** Propriedade que indica se deve exibir o loading. */
|
|
24974
24975
|
this.isServerSearching = false;
|
|
24975
24976
|
/** Propriedade que indica se o campo de pesquisa deverá ser escondido. */
|
|
@@ -25006,6 +25007,7 @@ class PoMultiselectDropdownComponent {
|
|
|
25006
25007
|
}
|
|
25007
25008
|
scrollTo(index) {
|
|
25008
25009
|
this.scrollTop = index <= 2 ? 0 : index * 44 - 88;
|
|
25010
|
+
this.cd.markForCheck();
|
|
25009
25011
|
}
|
|
25010
25012
|
isSelectedItem(option) {
|
|
25011
25013
|
return this.selectedOptions.some(selectedItem => selectedItem.value === option.value);
|
|
@@ -25064,6 +25066,7 @@ class PoMultiselectDropdownComponent {
|
|
|
25064
25066
|
this.searchElement.clean();
|
|
25065
25067
|
}
|
|
25066
25068
|
});
|
|
25069
|
+
this.cd.markForCheck();
|
|
25067
25070
|
}
|
|
25068
25071
|
uniqueSelectedOptions(selectedValues) {
|
|
25069
25072
|
const newSelectedOptions = [...this.selectedOptions];
|
|
@@ -25075,7 +25078,7 @@ class PoMultiselectDropdownComponent {
|
|
|
25075
25078
|
return newSelectedOptions;
|
|
25076
25079
|
}
|
|
25077
25080
|
}
|
|
25078
|
-
PoMultiselectDropdownComponent.ɵfac = function PoMultiselectDropdownComponent_Factory(t) { return new (t || PoMultiselectDropdownComponent)(); };
|
|
25081
|
+
PoMultiselectDropdownComponent.ɵfac = function PoMultiselectDropdownComponent_Factory(t) { return new (t || PoMultiselectDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
25079
25082
|
PoMultiselectDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectDropdownComponent, selectors: [["po-multiselect-dropdown"]], viewQuery: function PoMultiselectDropdownComponent_Query(rf, ctx) {
|
|
25080
25083
|
if (rf & 1) {
|
|
25081
25084
|
i0.ɵɵviewQuery(_c0$N, 7, ElementRef);
|
|
@@ -25116,12 +25119,12 @@ PoMultiselectDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ ty
|
|
|
25116
25119
|
i0.ɵɵadvance(1);
|
|
25117
25120
|
i0.ɵɵproperty("ngIf", !ctx.isServerSearching);
|
|
25118
25121
|
}
|
|
25119
|
-
}, encapsulation: 2 });
|
|
25122
|
+
}, encapsulation: 2, changeDetection: 0 });
|
|
25120
25123
|
(function () {
|
|
25121
25124
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectDropdownComponent, [{
|
|
25122
25125
|
type: Component,
|
|
25123
|
-
args: [{ selector: 'po-multiselect-dropdown', template: "<div #container class=\"po-multiselect-container\" [hidden]=\"!show\">\n <po-multiselect-search\n #searchElement\n *ngIf=\"!hideSearch\"\n [p-literals]=\"literals\"\n [p-placeholder]=\"placeholderSearch\"\n (p-change)=\"callChangeSearch($event)\"\n >\n </po-multiselect-search>\n\n <ul class=\"po-multiselect-items-container\" [scrollTop]=\"scrollTop\" #ulElement>\n <div *ngIf=\"!visibleOptions.length && !isServerSearching\" class=\"po-multiselect-container-no-data po-text-center\">\n <span> {{ literals.noData }}</span>\n </div>\n\n <div *ngIf=\"isServerSearching\" class=\"po-multiselect-container-loading po-text-center\">\n <po-loading></po-loading>\n </div>\n\n <ng-container *ngIf=\"!isServerSearching\">\n <po-multiselect-item\n *ngIf=\"!searchElement?.inputValue && visibleOptions.length && !hideSelectAll\"\n [p-label]=\"literals?.selectAll\"\n [p-selected]=\"getStateSelectAll()\"\n (p-change)=\"onClickSelectAll()\"\n >\n </po-multiselect-item>\n\n <po-multiselect-item\n *ngFor=\"let option of visibleOptions\"\n [p-label]=\"option.label\"\n [p-selected]=\"isSelectedItem(option)\"\n (p-change)=\"clickItem($event, option)\"\n >\n </po-multiselect-item>\n </ng-container>\n </ul>\n</div>\n" }]
|
|
25124
|
-
}],
|
|
25126
|
+
args: [{ selector: 'po-multiselect-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #container class=\"po-multiselect-container\" [hidden]=\"!show\">\n <po-multiselect-search\n #searchElement\n *ngIf=\"!hideSearch\"\n [p-literals]=\"literals\"\n [p-placeholder]=\"placeholderSearch\"\n (p-change)=\"callChangeSearch($event)\"\n >\n </po-multiselect-search>\n\n <ul class=\"po-multiselect-items-container\" [scrollTop]=\"scrollTop\" #ulElement>\n <div *ngIf=\"!visibleOptions.length && !isServerSearching\" class=\"po-multiselect-container-no-data po-text-center\">\n <span> {{ literals.noData }}</span>\n </div>\n\n <div *ngIf=\"isServerSearching\" class=\"po-multiselect-container-loading po-text-center\">\n <po-loading></po-loading>\n </div>\n\n <ng-container *ngIf=\"!isServerSearching\">\n <po-multiselect-item\n *ngIf=\"!searchElement?.inputValue && visibleOptions.length && !hideSelectAll\"\n [p-label]=\"literals?.selectAll\"\n [p-selected]=\"getStateSelectAll()\"\n (p-change)=\"onClickSelectAll()\"\n >\n </po-multiselect-item>\n\n <po-multiselect-item\n *ngFor=\"let option of visibleOptions\"\n [p-label]=\"option.label\"\n [p-selected]=\"isSelectedItem(option)\"\n (p-change)=\"clickItem($event, option)\"\n >\n </po-multiselect-item>\n </ng-container>\n </ul>\n</div>\n" }]
|
|
25127
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { isServerSearching: [{
|
|
25125
25128
|
type: Input,
|
|
25126
25129
|
args: ['p-searching']
|
|
25127
25130
|
}], hideSearch: [{
|
|
@@ -26028,6 +26031,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
|
|
|
26028
26031
|
}
|
|
26029
26032
|
}
|
|
26030
26033
|
}
|
|
26034
|
+
this.changeDetector.markForCheck();
|
|
26031
26035
|
}
|
|
26032
26036
|
changeItems(changedItems) {
|
|
26033
26037
|
this.updateSelectedOptions(changedItems);
|
|
@@ -26054,6 +26058,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
|
|
|
26054
26058
|
this.calculateVisibleItems();
|
|
26055
26059
|
}, 200);
|
|
26056
26060
|
}
|
|
26061
|
+
this.changeDetector.markForCheck();
|
|
26057
26062
|
}
|
|
26058
26063
|
onBlur() {
|
|
26059
26064
|
var _a;
|
|
@@ -26094,6 +26099,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
|
|
|
26094
26099
|
}
|
|
26095
26100
|
setVisibleOptionsDropdown(options) {
|
|
26096
26101
|
this.visibleOptionsDropdown = options;
|
|
26102
|
+
this.changeDetector.markForCheck();
|
|
26097
26103
|
}
|
|
26098
26104
|
changeSearch(event) {
|
|
26099
26105
|
if (event && event.value !== undefined) {
|
|
@@ -26191,6 +26197,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
|
|
|
26191
26197
|
this.resizeListener();
|
|
26192
26198
|
}
|
|
26193
26199
|
window.removeEventListener('scroll', this.onScroll, true);
|
|
26200
|
+
this.changeDetector.markForCheck();
|
|
26194
26201
|
}
|
|
26195
26202
|
setPositionDropdown() {
|
|
26196
26203
|
this.controlPosition.setElements(this.dropdown.container.nativeElement, poMultiselectContainerOffset, this.inputElement, ['top', 'bottom'], true);
|
|
@@ -26248,11 +26255,11 @@ PoMultiselectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMu
|
|
|
26248
26255
|
i0.ɵɵadvance(2);
|
|
26249
26256
|
i0.ɵɵproperty("p-searching", ctx.isServerSearching)("p-hide-search", ctx.hideSearch)("p-hide-select-all", ctx.hideSelectAll)("p-literals", ctx.literals)("p-options", ctx.options)("p-visible-options", ctx.visibleOptionsDropdown)("p-selected-options", ctx.selectedOptions)("p-placeholder-search", ctx.placeholderSearch);
|
|
26250
26257
|
}
|
|
26251
|
-
}, encapsulation: 2 });
|
|
26258
|
+
}, encapsulation: 2, changeDetection: 0 });
|
|
26252
26259
|
(function () {
|
|
26253
26260
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectComponent, [{
|
|
26254
26261
|
type: Component,
|
|
26255
|
-
args: [{ selector: 'po-multiselect', providers: providers$1, template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\" [class.po-multiselect-show]=\"dropdownOpen\">\n <div\n #inputElement\n [tabindex]=\"disabled ? -1 : 0\"\n class=\"po-input po-input-icon-right po-multiselect-input po-clickable\"\n [class.po-multiselect-input-auto]=\"autoHeight\"\n [class.po-multiselect-input-static]=\"!autoHeight\"\n [class.po-multiselect-input-disabled]=\"disabled\"\n (keyup.enter)=\"toggleDropdownVisibility()\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"toggleDropdownVisibility()\"\n (blur)=\"onBlur()\"\n >\n <span *ngIf=\"placeholder && !visibleDisclaimers?.length\" class=\"po-multiselect-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-multiselect-input-disclaimer\"\n [p-label]=\"disclaimer.label\"\n [p-value]=\"disclaimer.value\"\n [p-hide-close]=\"disclaimer.value === '' || disabled\"\n [class.po-clickable]=\"disclaimer.value === '' && !disabled\"\n (click)=\"openDropdown(disclaimer.value === '')\"\n (p-close-action)=\"closeDisclaimer(disclaimer.value)\"\n >\n </po-disclaimer>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconElement\n class=\"po-icon po-field-icon {{ dropdownIcon }}\"\n [ngClass]=\"disabled ? 'po-field-icon-disabled' : ''\"\n >\n </span>\n </div>\n </div>\n </div>\n\n <po-multiselect-dropdown\n #dropdownElement\n [p-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-literals]=\"literals\"\n [p-options]=\"options\"\n [p-visible-options]=\"visibleOptionsDropdown\"\n [p-selected-options]=\"selectedOptions\"\n [p-placeholder-search]=\"placeholderSearch\"\n (p-change)=\"changeItems($event)\"\n (p-change-search)=\"changeSearch($event)\"\n (p-close-dropdown)=\"controlDropdownVisibility(false)\"\n >\n </po-multiselect-dropdown>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
|
|
26262
|
+
args: [{ selector: 'po-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$1, template: "<po-field-container [p-label]=\"label\" [p-help]=\"help\" [p-optional]=\"!required && optional\">\n <div class=\"po-field-container-content\" [class.po-multiselect-show]=\"dropdownOpen\">\n <div\n #inputElement\n [tabindex]=\"disabled ? -1 : 0\"\n class=\"po-input po-input-icon-right po-multiselect-input po-clickable\"\n [class.po-multiselect-input-auto]=\"autoHeight\"\n [class.po-multiselect-input-static]=\"!autoHeight\"\n [class.po-multiselect-input-disabled]=\"disabled\"\n (keyup.enter)=\"toggleDropdownVisibility()\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"toggleDropdownVisibility()\"\n (blur)=\"onBlur()\"\n >\n <span *ngIf=\"placeholder && !visibleDisclaimers?.length\" class=\"po-multiselect-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-multiselect-input-disclaimer\"\n [p-label]=\"disclaimer.label\"\n [p-value]=\"disclaimer.value\"\n [p-hide-close]=\"disclaimer.value === '' || disabled\"\n [class.po-clickable]=\"disclaimer.value === '' && !disabled\"\n (click)=\"openDropdown(disclaimer.value === '')\"\n (p-close-action)=\"closeDisclaimer(disclaimer.value)\"\n >\n </po-disclaimer>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconElement\n class=\"po-icon po-field-icon {{ dropdownIcon }}\"\n [ngClass]=\"disabled ? 'po-field-icon-disabled' : ''\"\n >\n </span>\n </div>\n </div>\n </div>\n\n <po-multiselect-dropdown\n #dropdownElement\n [p-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-literals]=\"literals\"\n [p-options]=\"options\"\n [p-visible-options]=\"visibleOptionsDropdown\"\n [p-selected-options]=\"selectedOptions\"\n [p-placeholder-search]=\"placeholderSearch\"\n (p-change)=\"changeItems($event)\"\n (p-change-search)=\"changeSearch($event)\"\n (p-close-dropdown)=\"controlDropdownVisibility(false)\"\n >\n </po-multiselect-dropdown>\n\n <po-field-container-bottom></po-field-container-bottom>\n</po-field-container>\n" }]
|
|
26256
26263
|
}], function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: PoControlPositionService }, { type: PoMultiselectFilterService }, { type: PoLanguageService }]; }, { dropdownElement: [{
|
|
26257
26264
|
type: ViewChild,
|
|
26258
26265
|
args: ['dropdownElement', { read: ElementRef, static: true }]
|
|
@@ -26334,7 +26341,8 @@ const _c0$L = ["inputElement"];
|
|
|
26334
26341
|
* Componente de pesquisa que será criado dentro do dropdown do `po-multiselect`.
|
|
26335
26342
|
*/
|
|
26336
26343
|
class PoMultiselectSearchComponent {
|
|
26337
|
-
constructor() {
|
|
26344
|
+
constructor(cd) {
|
|
26345
|
+
this.cd = cd;
|
|
26338
26346
|
/** Evento que será disparado a cada tecla digitada no campo de busca. */
|
|
26339
26347
|
this.change = new EventEmitter();
|
|
26340
26348
|
}
|
|
@@ -26366,9 +26374,10 @@ class PoMultiselectSearchComponent {
|
|
|
26366
26374
|
}
|
|
26367
26375
|
clean() {
|
|
26368
26376
|
this.inputElement.nativeElement.value = '';
|
|
26377
|
+
this.cd.markForCheck();
|
|
26369
26378
|
}
|
|
26370
26379
|
}
|
|
26371
|
-
PoMultiselectSearchComponent.ɵfac = function PoMultiselectSearchComponent_Factory(t) { return new (t || PoMultiselectSearchComponent)(); };
|
|
26380
|
+
PoMultiselectSearchComponent.ɵfac = function PoMultiselectSearchComponent_Factory(t) { return new (t || PoMultiselectSearchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
26372
26381
|
PoMultiselectSearchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectSearchComponent, selectors: [["po-multiselect-search"]], viewQuery: function PoMultiselectSearchComponent_Query(rf, ctx) {
|
|
26373
26382
|
if (rf & 1) {
|
|
26374
26383
|
i0.ɵɵviewQuery(_c0$L, 7, ElementRef);
|
|
@@ -26392,12 +26401,12 @@ PoMultiselectSearchComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
|
|
|
26392
26401
|
i0.ɵɵadvance(3);
|
|
26393
26402
|
i0.ɵɵproperty("placeholder", ctx.placeholder);
|
|
26394
26403
|
}
|
|
26395
|
-
}, encapsulation: 2 });
|
|
26404
|
+
}, encapsulation: 2, changeDetection: 0 });
|
|
26396
26405
|
(function () {
|
|
26397
26406
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectSearchComponent, [{
|
|
26398
26407
|
type: Component,
|
|
26399
|
-
args: [{ selector: 'po-multiselect-search', template: "<div class=\"po-field-container-content po-multiselect-container-search\">\n <div class=\"po-field-icon-container-left\">\n <span class=\"po-icon po-icon-search po-field-icon\"></span>\n </div>\n\n <input\n #inputElement\n class=\"po-input po-input-icon-left po-multiselect-search-input\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onChange($event)\"\n />\n</div>\n" }]
|
|
26400
|
-
}],
|
|
26408
|
+
args: [{ selector: 'po-multiselect-search', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-field-container-content po-multiselect-container-search\">\n <div class=\"po-field-icon-container-left\">\n <span class=\"po-icon po-icon-search po-field-icon\"></span>\n </div>\n\n <input\n #inputElement\n class=\"po-input po-input-icon-left po-multiselect-search-input\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onChange($event)\"\n />\n</div>\n" }]
|
|
26409
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { inputElement: [{
|
|
26401
26410
|
type: ViewChild,
|
|
26402
26411
|
args: ['inputElement', { read: ElementRef, static: true }]
|
|
26403
26412
|
}], literals: [{
|
|
@@ -27931,6 +27940,72 @@ PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
27931
27940
|
}] });
|
|
27932
27941
|
})();
|
|
27933
27942
|
|
|
27943
|
+
const _c0$I = ["DragDropAreaFixed"];
|
|
27944
|
+
class PoUploadDragDropAreaOverlayComponent {
|
|
27945
|
+
constructor(renderer) {
|
|
27946
|
+
this.renderer = renderer;
|
|
27947
|
+
this.areaElement = new EventEmitter();
|
|
27948
|
+
}
|
|
27949
|
+
ngAfterViewInit() {
|
|
27950
|
+
if (this.target) {
|
|
27951
|
+
this.setPosition(this.target);
|
|
27952
|
+
}
|
|
27953
|
+
this.areaElement.emit(this.DragDropAreaFixed.nativeElement);
|
|
27954
|
+
}
|
|
27955
|
+
setPosition(targetElement) {
|
|
27956
|
+
const boundingClientRect = targetElement.nativeElement.getBoundingClientRect();
|
|
27957
|
+
const clientRectKeys = ['bottom', 'left', 'height', 'right', 'top', 'width'];
|
|
27958
|
+
clientRectKeys.forEach(clientRectKey => {
|
|
27959
|
+
const clientRectValue = boundingClientRect[clientRectKey];
|
|
27960
|
+
this.renderer.setStyle(this.DragDropAreaFixed.nativeElement, clientRectKey, `${clientRectValue}px`);
|
|
27961
|
+
});
|
|
27962
|
+
}
|
|
27963
|
+
}
|
|
27964
|
+
PoUploadDragDropAreaOverlayComponent.ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
27965
|
+
PoUploadDragDropAreaOverlayComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) {
|
|
27966
|
+
if (rf & 1) {
|
|
27967
|
+
i0.ɵɵviewQuery(_c0$I, 7, ElementRef);
|
|
27968
|
+
}
|
|
27969
|
+
if (rf & 2) {
|
|
27970
|
+
let _t;
|
|
27971
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.DragDropAreaFixed = _t.first);
|
|
27972
|
+
}
|
|
27973
|
+
}, inputs: { directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], literals: ["p-literals", "literals"], target: ["p-target", "target"] }, outputs: { areaElement: "p-area-element" }, decls: 3, vars: 4, consts: [[1, "po-overlay-fixed"], [1, "po-upload-drag-drop-area-overlay", 3, "p-directory-compatible", "p-disabled", "p-literals", "p-overlay"], ["DragDropAreaFixed", ""]], template: function PoUploadDragDropAreaOverlayComponent_Template(rf, ctx) {
|
|
27974
|
+
if (rf & 1) {
|
|
27975
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
27976
|
+
i0.ɵɵelement(1, "po-upload-drag-drop-area", 1, 2);
|
|
27977
|
+
i0.ɵɵelementEnd();
|
|
27978
|
+
}
|
|
27979
|
+
if (rf & 2) {
|
|
27980
|
+
i0.ɵɵadvance(1);
|
|
27981
|
+
i0.ɵɵproperty("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-literals", ctx.literals)("p-overlay", true);
|
|
27982
|
+
}
|
|
27983
|
+
}, directives: [PoUploadDragDropAreaComponent], encapsulation: 2, changeDetection: 0 });
|
|
27984
|
+
(function () {
|
|
27985
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropAreaOverlayComponent, [{
|
|
27986
|
+
type: Component,
|
|
27987
|
+
args: [{ selector: 'po-upload-drag-drop-area-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-overlay-fixed\">\n <po-upload-drag-drop-area\n #DragDropAreaFixed\n class=\"po-upload-drag-drop-area-overlay\"\n [p-directory-compatible]=\"directoryCompatible\"\n [p-disabled]=\"disabled\"\n [p-literals]=\"literals\"\n [p-overlay]=\"true\"\n >\n </po-upload-drag-drop-area>\n</div>\n" }]
|
|
27988
|
+
}], function () { return [{ type: i0.Renderer2 }]; }, { DragDropAreaFixed: [{
|
|
27989
|
+
type: ViewChild,
|
|
27990
|
+
args: ['DragDropAreaFixed', { read: ElementRef, static: true }]
|
|
27991
|
+
}], directoryCompatible: [{
|
|
27992
|
+
type: Input,
|
|
27993
|
+
args: ['p-directory-compatible']
|
|
27994
|
+
}], disabled: [{
|
|
27995
|
+
type: Input,
|
|
27996
|
+
args: ['p-disabled']
|
|
27997
|
+
}], literals: [{
|
|
27998
|
+
type: Input,
|
|
27999
|
+
args: ['p-literals']
|
|
28000
|
+
}], target: [{
|
|
28001
|
+
type: Input,
|
|
28002
|
+
args: ['p-target']
|
|
28003
|
+
}], areaElement: [{
|
|
28004
|
+
type: Output,
|
|
28005
|
+
args: ['p-area-element']
|
|
28006
|
+
}] });
|
|
28007
|
+
})();
|
|
28008
|
+
|
|
27934
28009
|
/**
|
|
27935
28010
|
* @description
|
|
27936
28011
|
*
|
|
@@ -28308,72 +28383,6 @@ PoUploadDragDropDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: P
|
|
|
28308
28383
|
}] });
|
|
28309
28384
|
})();
|
|
28310
28385
|
|
|
28311
|
-
const _c0$I = ["DragDropAreaFixed"];
|
|
28312
|
-
class PoUploadDragDropAreaOverlayComponent {
|
|
28313
|
-
constructor(renderer) {
|
|
28314
|
-
this.renderer = renderer;
|
|
28315
|
-
this.areaElement = new EventEmitter();
|
|
28316
|
-
}
|
|
28317
|
-
ngAfterViewInit() {
|
|
28318
|
-
if (this.target) {
|
|
28319
|
-
this.setPosition(this.target);
|
|
28320
|
-
}
|
|
28321
|
-
this.areaElement.emit(this.DragDropAreaFixed.nativeElement);
|
|
28322
|
-
}
|
|
28323
|
-
setPosition(targetElement) {
|
|
28324
|
-
const boundingClientRect = targetElement.nativeElement.getBoundingClientRect();
|
|
28325
|
-
const clientRectKeys = ['bottom', 'left', 'height', 'right', 'top', 'width'];
|
|
28326
|
-
clientRectKeys.forEach(clientRectKey => {
|
|
28327
|
-
const clientRectValue = boundingClientRect[clientRectKey];
|
|
28328
|
-
this.renderer.setStyle(this.DragDropAreaFixed.nativeElement, clientRectKey, `${clientRectValue}px`);
|
|
28329
|
-
});
|
|
28330
|
-
}
|
|
28331
|
-
}
|
|
28332
|
-
PoUploadDragDropAreaOverlayComponent.ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
28333
|
-
PoUploadDragDropAreaOverlayComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) {
|
|
28334
|
-
if (rf & 1) {
|
|
28335
|
-
i0.ɵɵviewQuery(_c0$I, 7, ElementRef);
|
|
28336
|
-
}
|
|
28337
|
-
if (rf & 2) {
|
|
28338
|
-
let _t;
|
|
28339
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.DragDropAreaFixed = _t.first);
|
|
28340
|
-
}
|
|
28341
|
-
}, inputs: { directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], literals: ["p-literals", "literals"], target: ["p-target", "target"] }, outputs: { areaElement: "p-area-element" }, decls: 3, vars: 4, consts: [[1, "po-overlay-fixed"], [1, "po-upload-drag-drop-area-overlay", 3, "p-directory-compatible", "p-disabled", "p-literals", "p-overlay"], ["DragDropAreaFixed", ""]], template: function PoUploadDragDropAreaOverlayComponent_Template(rf, ctx) {
|
|
28342
|
-
if (rf & 1) {
|
|
28343
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
28344
|
-
i0.ɵɵelement(1, "po-upload-drag-drop-area", 1, 2);
|
|
28345
|
-
i0.ɵɵelementEnd();
|
|
28346
|
-
}
|
|
28347
|
-
if (rf & 2) {
|
|
28348
|
-
i0.ɵɵadvance(1);
|
|
28349
|
-
i0.ɵɵproperty("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-literals", ctx.literals)("p-overlay", true);
|
|
28350
|
-
}
|
|
28351
|
-
}, directives: [PoUploadDragDropAreaComponent], encapsulation: 2, changeDetection: 0 });
|
|
28352
|
-
(function () {
|
|
28353
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropAreaOverlayComponent, [{
|
|
28354
|
-
type: Component,
|
|
28355
|
-
args: [{ selector: 'po-upload-drag-drop-area-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-overlay-fixed\">\n <po-upload-drag-drop-area\n #DragDropAreaFixed\n class=\"po-upload-drag-drop-area-overlay\"\n [p-directory-compatible]=\"directoryCompatible\"\n [p-disabled]=\"disabled\"\n [p-literals]=\"literals\"\n [p-overlay]=\"true\"\n >\n </po-upload-drag-drop-area>\n</div>\n" }]
|
|
28356
|
-
}], function () { return [{ type: i0.Renderer2 }]; }, { DragDropAreaFixed: [{
|
|
28357
|
-
type: ViewChild,
|
|
28358
|
-
args: ['DragDropAreaFixed', { read: ElementRef, static: true }]
|
|
28359
|
-
}], directoryCompatible: [{
|
|
28360
|
-
type: Input,
|
|
28361
|
-
args: ['p-directory-compatible']
|
|
28362
|
-
}], disabled: [{
|
|
28363
|
-
type: Input,
|
|
28364
|
-
args: ['p-disabled']
|
|
28365
|
-
}], literals: [{
|
|
28366
|
-
type: Input,
|
|
28367
|
-
args: ['p-literals']
|
|
28368
|
-
}], target: [{
|
|
28369
|
-
type: Input,
|
|
28370
|
-
args: ['p-target']
|
|
28371
|
-
}], areaElement: [{
|
|
28372
|
-
type: Output,
|
|
28373
|
-
args: ['p-area-element']
|
|
28374
|
-
}] });
|
|
28375
|
-
})();
|
|
28376
|
-
|
|
28377
28386
|
const _c0$H = ["dragDropOverlay"];
|
|
28378
28387
|
function PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template(rf, ctx) {
|
|
28379
28388
|
if (rf & 1) {
|
|
@@ -28446,7 +28455,7 @@ PoUploadDragDropComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: P
|
|
|
28446
28455
|
i0.ɵɵadvance(1);
|
|
28447
28456
|
i0.ɵɵproperty("p-area-element", ctx.areaElement)("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-height", ctx.dragDropHeight)("p-literals", ctx.literals)("p-overlay", false);
|
|
28448
28457
|
}
|
|
28449
|
-
}, directives: [i1.NgIf, PoUploadDragDropAreaComponent, PoUploadDragDropDirective
|
|
28458
|
+
}, directives: [i1.NgIf, PoUploadDragDropAreaOverlayComponent, PoUploadDragDropAreaComponent, PoUploadDragDropDirective], encapsulation: 2, changeDetection: 0 });
|
|
28450
28459
|
(function () {
|
|
28451
28460
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropComponent, [{
|
|
28452
28461
|
type: Component,
|
|
@@ -29221,7 +29230,7 @@ PoUrlComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUrlCompone
|
|
|
29221
29230
|
i0.ɵɵadvance(1);
|
|
29222
29231
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
|
|
29223
29232
|
}
|
|
29224
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
29233
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
29225
29234
|
(function () {
|
|
29226
29235
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUrlComponent, [{
|
|
29227
29236
|
type: Component,
|
|
@@ -29470,7 +29479,7 @@ PoInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoInputCom
|
|
|
29470
29479
|
i0.ɵɵadvance(1);
|
|
29471
29480
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
|
|
29472
29481
|
}
|
|
29473
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
29482
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
29474
29483
|
(function () {
|
|
29475
29484
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoInputComponent, [{
|
|
29476
29485
|
type: Component,
|
|
@@ -29883,7 +29892,7 @@ PoRichTextToolbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
29883
29892
|
i0.ɵɵadvance(2);
|
|
29884
29893
|
i0.ɵɵproperty("p-buttons", ctx.mediaButtons);
|
|
29885
29894
|
}
|
|
29886
|
-
}, directives: [PoButtonGroupComponent, i1.NgIf, PoRichTextImageModalComponent, PoRichTextLinkModalComponent
|
|
29895
|
+
}, directives: [PoButtonGroupComponent, i1.NgIf, PoTooltipDirective, PoRichTextImageModalComponent, PoRichTextLinkModalComponent], encapsulation: 2 });
|
|
29887
29896
|
(function () {
|
|
29888
29897
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRichTextToolbarComponent, [{
|
|
29889
29898
|
type: Component,
|
|
@@ -30349,7 +30358,7 @@ PoNumberComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoNumberC
|
|
|
30349
30358
|
i0.ɵɵadvance(1);
|
|
30350
30359
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPatternMessage());
|
|
30351
30360
|
}
|
|
30352
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
30361
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoIconComponent, PoCleanComponent, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
30353
30362
|
(function () {
|
|
30354
30363
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoNumberComponent, [{
|
|
30355
30364
|
type: Component,
|
|
@@ -30508,7 +30517,7 @@ PoPasswordComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPassw
|
|
|
30508
30517
|
i0.ɵɵadvance(1);
|
|
30509
30518
|
i0.ɵɵproperty("p-error-pattern", ctx.getErrorPattern());
|
|
30510
30519
|
}
|
|
30511
|
-
}, directives: [PoFieldContainerComponent, i1.NgIf,
|
|
30520
|
+
}, directives: [PoFieldContainerComponent, i1.NgIf, PoCleanComponent, i1.NgClass, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
30512
30521
|
(function () {
|
|
30513
30522
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPasswordComponent, [{
|
|
30514
30523
|
type: Component,
|
|
@@ -31604,7 +31613,7 @@ PoSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectC
|
|
|
31604
31613
|
i0.ɵɵadvance(2);
|
|
31605
31614
|
i0.ɵɵproperty("ngForOf", ctx.options);
|
|
31606
31615
|
}
|
|
31607
|
-
}, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf,
|
|
31616
|
+
}, directives: [PoFieldContainerComponent, i1.NgClass, i1.NgIf, i3.NgSelectOption, i3.ɵNgSelectMultipleOption, i1.NgForOf, i1.NgTemplateOutlet, PoFieldContainerBottomComponent], encapsulation: 2, changeDetection: 0 });
|
|
31608
31617
|
__decorate([
|
|
31609
31618
|
InputBoolean()
|
|
31610
31619
|
], PoSelectComponent.prototype, "readonly", void 0);
|
|
@@ -34168,7 +34177,7 @@ PoDynamicViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDy
|
|
|
34168
34177
|
if (rf & 2) {
|
|
34169
34178
|
i0.ɵɵproperty("ngIf", ctx.visibleFields.length);
|
|
34170
34179
|
}
|
|
34171
|
-
}, directives: [i1.NgIf, i1.NgForOf, i1.NgTemplateOutlet,
|
|
34180
|
+
}, directives: [i1.NgIf, i1.NgForOf, PoDividerComponent, i1.NgTemplateOutlet, PoInfoComponent, i1.NgClass, PoTagComponent], encapsulation: 2 });
|
|
34172
34181
|
(function () {
|
|
34173
34182
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoDynamicViewComponent, [{
|
|
34174
34183
|
type: Component,
|
|
@@ -36925,7 +36934,7 @@ PoListViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListV
|
|
|
36925
36934
|
i0.ɵɵadvance(1);
|
|
36926
36935
|
i0.ɵɵproperty("p-actions", ctx.actions)("p-target", ctx.popupTarget);
|
|
36927
36936
|
}
|
|
36928
|
-
}, directives: [i1.NgIf, i1.NgForOf,
|
|
36937
|
+
}, directives: [i1.NgIf, i1.NgForOf, i1.NgSwitch, i1.NgSwitchCase, i2.RouterLinkWithHref, PoButtonComponent, i1.NgTemplateOutlet, PoPopupComponent], encapsulation: 2, data: { animation: [
|
|
36929
36938
|
trigger('showHideDetail', [
|
|
36930
36939
|
state('*', style({ 'overflow-y': 'visible' })),
|
|
36931
36940
|
state('void', style({ 'overflow-y': 'hidden' })),
|
|
@@ -37681,7 +37690,7 @@ PoMenuFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMen
|
|
|
37681
37690
|
i0.ɵɵadvance(2);
|
|
37682
37691
|
i0.ɵɵproperty("p-element-ref", ctx.inputFilterElement);
|
|
37683
37692
|
}
|
|
37684
|
-
}, directives: [i1.NgIf,
|
|
37693
|
+
}, directives: [i1.NgIf, PoLoadingIconComponent, PoCleanComponent], encapsulation: 2 });
|
|
37685
37694
|
(function () {
|
|
37686
37695
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMenuFilterComponent, [{
|
|
37687
37696
|
type: Component,
|
|
@@ -38350,7 +38359,7 @@ class PoMenuComponent extends PoMenuBaseComponent {
|
|
|
38350
38359
|
return menus.some(menu => {
|
|
38351
38360
|
const formattedMenuLink = getFormattedLink(menu.link);
|
|
38352
38361
|
const menuLinkPath = `${urlPathWithoutLastFragment}${formattedMenuLink.substr(formattedMenuLink.lastIndexOf('/'))}`;
|
|
38353
|
-
if (menuLinkPath === urlPath) {
|
|
38362
|
+
if (menuLinkPath === urlPath && menuLinkPath === formattedMenuLink) {
|
|
38354
38363
|
this.linkActive = formattedMenuLink;
|
|
38355
38364
|
this.activateMenuItem(menu);
|
|
38356
38365
|
return true;
|
|
@@ -38718,7 +38727,7 @@ PoMenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMenuCompo
|
|
|
38718
38727
|
i0.ɵɵadvance(1);
|
|
38719
38728
|
i0.ɵɵproperty("ngIf", ctx.hasFooter);
|
|
38720
38729
|
}
|
|
38721
|
-
}, directives: [i1.NgIf, i1.NgClass, i1.
|
|
38730
|
+
}, directives: [i1.NgIf, i1.NgClass, i1.NgTemplateOutlet, PoMenuFilterComponent, PoIconComponent, i1.NgForOf, PoMenuItemComponent], encapsulation: 2 });
|
|
38722
38731
|
(function () {
|
|
38723
38732
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMenuComponent, [{
|
|
38724
38733
|
type: Component,
|
|
@@ -39316,7 +39325,7 @@ PoNavbarActionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Po
|
|
|
39316
39325
|
i0.ɵɵadvance(1);
|
|
39317
39326
|
i0.ɵɵproperty("p-icon-actions", ctx.iconActions);
|
|
39318
39327
|
}
|
|
39319
|
-
}, directives: [i1.NgForOf,
|
|
39328
|
+
}, directives: [i1.NgForOf, PoNavbarActionComponent, PoNavbarActionPopupComponent], encapsulation: 2 });
|
|
39320
39329
|
(function () {
|
|
39321
39330
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoNavbarActionsComponent, [{
|
|
39322
39331
|
type: Component,
|
|
@@ -40019,7 +40028,7 @@ PoNavbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoNavbarC
|
|
|
40019
40028
|
i0.ɵɵadvance(1);
|
|
40020
40029
|
i0.ɵɵproperty("ngIf", !ctx.applicationMenu);
|
|
40021
40030
|
}
|
|
40022
|
-
}, directives: [i1.NgClass, PoNavbarLogoComponent, PoNavbarItemsComponent, i1.NgIf,
|
|
40031
|
+
}, directives: [i1.NgClass, PoNavbarLogoComponent, PoNavbarItemsComponent, i1.NgIf, PoNavbarItemNavigationComponent, PoNavbarActionsComponent, PoMenuComponent], encapsulation: 2 });
|
|
40023
40032
|
(function () {
|
|
40024
40033
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoNavbarComponent, [{
|
|
40025
40034
|
type: Component,
|
|
@@ -40635,7 +40644,7 @@ PoPageDefaultComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPa
|
|
|
40635
40644
|
i0.ɵɵadvance(1);
|
|
40636
40645
|
i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
|
|
40637
40646
|
}
|
|
40638
|
-
}, directives: [PoPageComponent, i1.NgIf,
|
|
40647
|
+
}, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoDropdownComponent, PoButtonComponent, PoPageContentComponent], encapsulation: 2 });
|
|
40639
40648
|
(function () {
|
|
40640
40649
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDefaultComponent, [{
|
|
40641
40650
|
type: Component,
|
|
@@ -40937,7 +40946,7 @@ PoPageDetailComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPag
|
|
|
40937
40946
|
i0.ɵɵadvance(1);
|
|
40938
40947
|
i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
|
|
40939
40948
|
}
|
|
40940
|
-
}, directives: [PoPageComponent, i1.NgIf,
|
|
40949
|
+
}, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoButtonComponent, PoPageContentComponent], encapsulation: 2 });
|
|
40941
40950
|
(function () {
|
|
40942
40951
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageDetailComponent, [{
|
|
40943
40952
|
type: Component,
|
|
@@ -41249,7 +41258,7 @@ PoPageEditComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageE
|
|
|
41249
41258
|
i0.ɵɵadvance(1);
|
|
41250
41259
|
i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
|
|
41251
41260
|
}
|
|
41252
|
-
}, directives: [PoPageComponent, i1.NgIf,
|
|
41261
|
+
}, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoButtonComponent, PoPageContentComponent], encapsulation: 2 });
|
|
41253
41262
|
(function () {
|
|
41254
41263
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageEditComponent, [{
|
|
41255
41264
|
type: Component,
|
|
@@ -41739,7 +41748,7 @@ PoPageListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageL
|
|
|
41739
41748
|
i0.ɵɵadvance(1);
|
|
41740
41749
|
i0.ɵɵproperty("ngIf", ctx.hasPageHeader());
|
|
41741
41750
|
}
|
|
41742
|
-
}, directives: [PoPageComponent, i1.NgIf,
|
|
41751
|
+
}, directives: [PoPageComponent, i1.NgIf, PoPageHeaderComponent, PoButtonComponent, PoDropdownComponent, i1.NgClass, PoDisclaimerGroupComponent, PoPageContentComponent], encapsulation: 2 });
|
|
41743
41752
|
(function () {
|
|
41744
41753
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPageListComponent, [{
|
|
41745
41754
|
type: Component,
|
|
@@ -42948,7 +42957,7 @@ PoSlideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSlideCom
|
|
|
42948
42957
|
i0.ɵɵadvance(1);
|
|
42949
42958
|
i0.ɵɵproperty("ngIf", ctx.hasSlides && ctx.slides.length > 1);
|
|
42950
42959
|
}
|
|
42951
|
-
}, directives: [i1.NgForOf, i1.NgIf,
|
|
42960
|
+
}, directives: [i1.NgForOf, PoSlideItemComponent, i1.NgIf, PoSlideControlComponent, PoSlideCirclesComponent], encapsulation: 2 });
|
|
42952
42961
|
(function () {
|
|
42953
42962
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoSlideComponent, [{
|
|
42954
42963
|
type: Component,
|
|
@@ -43835,7 +43844,7 @@ PoStepperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSteppe
|
|
|
43835
43844
|
i0.ɵɵadvance(1);
|
|
43836
43845
|
i0.ɵɵproperty("ngIf", ctx.usePoSteps);
|
|
43837
43846
|
}
|
|
43838
|
-
}, directives: [i1.NgForOf, i1.NgIf
|
|
43847
|
+
}, directives: [i1.NgForOf, PoStepperStepComponent, i1.NgIf], encapsulation: 2 });
|
|
43839
43848
|
(function () {
|
|
43840
43849
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoStepperComponent, [{
|
|
43841
43850
|
type: Component,
|