info-library 2.14.3-beta.5 → 2.14.3-beta.6
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/controls/grid/grid.component.mjs +400 -416
- package/fesm2015/info-library.mjs +396 -415
- package/fesm2015/info-library.mjs.map +1 -1
- package/fesm2020/info-library.mjs +401 -417
- package/fesm2020/info-library.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3713,10 +3713,10 @@ class AtalhoModalComponent {
|
|
|
3713
3713
|
|
|
3714
3714
|
const _c0$8 = ["paginator"];
|
|
3715
3715
|
function InfoGridComponent_info_pagebar_0_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
3716
|
-
const
|
|
3717
|
-
i0.ɵɵelementStart(0, "button",
|
|
3718
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
3719
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
3716
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
3717
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
3718
|
+
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.back()); });
|
|
3719
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
3720
3720
|
i0.ɵɵtext(2, "chevron_left");
|
|
3721
3721
|
i0.ɵɵelementEnd();
|
|
3722
3722
|
i0.ɵɵtext(3);
|
|
@@ -3727,36 +3727,36 @@ function InfoGridComponent_info_pagebar_0_button_1_Template(rf, ctx) { if (rf &
|
|
|
3727
3727
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 1, "Voltar"), " ");
|
|
3728
3728
|
} }
|
|
3729
3729
|
function InfoGridComponent_info_pagebar_0_ng_container_2_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
3730
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
3730
|
+
i0.ɵɵelementStart(0, "mat-icon", 20);
|
|
3731
3731
|
i0.ɵɵtext(1);
|
|
3732
3732
|
i0.ɵɵelementEnd();
|
|
3733
3733
|
} if (rf & 2) {
|
|
3734
|
-
const
|
|
3734
|
+
const b_r16 = i0.ɵɵnextContext().$implicit;
|
|
3735
3735
|
i0.ɵɵadvance(1);
|
|
3736
|
-
i0.ɵɵtextInterpolate(
|
|
3736
|
+
i0.ɵɵtextInterpolate(b_r16.icon);
|
|
3737
3737
|
} }
|
|
3738
3738
|
function InfoGridComponent_info_pagebar_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
3739
|
-
const
|
|
3739
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
3740
3740
|
i0.ɵɵelementContainerStart(0);
|
|
3741
|
-
i0.ɵɵelementStart(1, "button",
|
|
3742
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_ng_container_2_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
3743
|
-
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_mat_icon_2_Template, 2, 1, "mat-icon",
|
|
3741
|
+
i0.ɵɵelementStart(1, "button", 21);
|
|
3742
|
+
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_ng_container_2_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r20); const b_r16 = restoredCtx.$implicit; const ctx_r19 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(b_r16.modal == null ? ctx_r19.navigateTo(b_r16.url, false, null) : ctx_r19.openCustomModal(b_r16.modal, b_r16.modalwidth, null)); });
|
|
3743
|
+
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_mat_icon_2_Template, 2, 1, "mat-icon", 22);
|
|
3744
3744
|
i0.ɵɵtext(3);
|
|
3745
3745
|
i0.ɵɵpipe(4, "translate");
|
|
3746
3746
|
i0.ɵɵelementEnd();
|
|
3747
3747
|
i0.ɵɵelementContainerEnd();
|
|
3748
3748
|
} if (rf & 2) {
|
|
3749
|
-
const
|
|
3749
|
+
const b_r16 = ctx.$implicit;
|
|
3750
3750
|
i0.ɵɵadvance(2);
|
|
3751
|
-
i0.ɵɵproperty("ngIf",
|
|
3751
|
+
i0.ɵɵproperty("ngIf", b_r16.icon != "chevron_right");
|
|
3752
3752
|
i0.ɵɵadvance(1);
|
|
3753
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 2,
|
|
3753
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 2, b_r16.label), " ");
|
|
3754
3754
|
} }
|
|
3755
3755
|
function InfoGridComponent_info_pagebar_0_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
3756
|
-
const
|
|
3757
|
-
i0.ɵɵelementStart(0, "button",
|
|
3758
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
3759
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
3756
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
3757
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
3758
|
+
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r21.enabledSearch = !ctx_r21.enabledSearch); });
|
|
3759
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
3760
3760
|
i0.ɵɵtext(2, "search");
|
|
3761
3761
|
i0.ɵɵelementEnd();
|
|
3762
3762
|
i0.ɵɵtext(3);
|
|
@@ -3767,10 +3767,10 @@ function InfoGridComponent_info_pagebar_0_button_3_Template(rf, ctx) { if (rf &
|
|
|
3767
3767
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1, "Pesquisar"), " ");
|
|
3768
3768
|
} }
|
|
3769
3769
|
function InfoGridComponent_info_pagebar_0_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
3770
|
-
const
|
|
3771
|
-
i0.ɵɵelementStart(0, "button",
|
|
3772
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
3773
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
3770
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
3771
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
3772
|
+
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r23.enabledSearch = !ctx_r23.enabledSearch); });
|
|
3773
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
3774
3774
|
i0.ɵɵtext(2, "search_off");
|
|
3775
3775
|
i0.ɵɵelementEnd();
|
|
3776
3776
|
i0.ɵɵtext(3);
|
|
@@ -3781,27 +3781,27 @@ function InfoGridComponent_info_pagebar_0_button_4_Template(rf, ctx) { if (rf &
|
|
|
3781
3781
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1, "Ocultar"), " ");
|
|
3782
3782
|
} }
|
|
3783
3783
|
function InfoGridComponent_info_pagebar_0_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
3784
|
-
const
|
|
3785
|
-
i0.ɵɵelementStart(0, "button",
|
|
3786
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
3787
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
3784
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
3785
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
3786
|
+
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r26); const ctx_r25 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r25.add()); });
|
|
3787
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
3788
3788
|
i0.ɵɵtext(2, "add");
|
|
3789
3789
|
i0.ɵɵelementEnd();
|
|
3790
3790
|
i0.ɵɵtext(3);
|
|
3791
3791
|
i0.ɵɵpipe(4, "translate");
|
|
3792
3792
|
i0.ɵɵelementEnd();
|
|
3793
3793
|
} if (rf & 2) {
|
|
3794
|
-
const
|
|
3794
|
+
const ctx_r13 = i0.ɵɵnextContext(2);
|
|
3795
3795
|
i0.ɵɵadvance(3);
|
|
3796
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1,
|
|
3796
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1, ctx_r13.newlabel), " ");
|
|
3797
3797
|
} }
|
|
3798
3798
|
function InfoGridComponent_info_pagebar_0_Template(rf, ctx) { if (rf & 1) {
|
|
3799
|
-
i0.ɵɵelementStart(0, "info-pagebar",
|
|
3800
|
-
i0.ɵɵtemplate(1, InfoGridComponent_info_pagebar_0_button_1_Template, 5, 3, "button",
|
|
3801
|
-
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_Template, 5, 4, "ng-container",
|
|
3802
|
-
i0.ɵɵtemplate(3, InfoGridComponent_info_pagebar_0_button_3_Template, 5, 3, "button",
|
|
3803
|
-
i0.ɵɵtemplate(4, InfoGridComponent_info_pagebar_0_button_4_Template, 5, 3, "button",
|
|
3804
|
-
i0.ɵɵtemplate(5, InfoGridComponent_info_pagebar_0_button_5_Template, 5, 3, "button",
|
|
3799
|
+
i0.ɵɵelementStart(0, "info-pagebar", 16);
|
|
3800
|
+
i0.ɵɵtemplate(1, InfoGridComponent_info_pagebar_0_button_1_Template, 5, 3, "button", 17);
|
|
3801
|
+
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_Template, 5, 4, "ng-container", 18);
|
|
3802
|
+
i0.ɵɵtemplate(3, InfoGridComponent_info_pagebar_0_button_3_Template, 5, 3, "button", 17);
|
|
3803
|
+
i0.ɵɵtemplate(4, InfoGridComponent_info_pagebar_0_button_4_Template, 5, 3, "button", 17);
|
|
3804
|
+
i0.ɵɵtemplate(5, InfoGridComponent_info_pagebar_0_button_5_Template, 5, 3, "button", 17);
|
|
3805
3805
|
i0.ɵɵelementEnd();
|
|
3806
3806
|
} if (rf & 2) {
|
|
3807
3807
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -3819,95 +3819,95 @@ function InfoGridComponent_info_pagebar_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
3819
3819
|
} }
|
|
3820
3820
|
function InfoGridComponent_div_6_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
3821
3821
|
i0.ɵɵelementContainerStart(0);
|
|
3822
|
-
i0.ɵɵelementStart(1, "button",
|
|
3822
|
+
i0.ɵɵelementStart(1, "button", 27);
|
|
3823
3823
|
i0.ɵɵtext(2);
|
|
3824
3824
|
i0.ɵɵpipe(3, "translate");
|
|
3825
3825
|
i0.ɵɵelementEnd();
|
|
3826
3826
|
i0.ɵɵelementContainerEnd();
|
|
3827
3827
|
} if (rf & 2) {
|
|
3828
|
-
const
|
|
3828
|
+
const ctx_r28 = i0.ɵɵnextContext(3);
|
|
3829
3829
|
const _r1 = i0.ɵɵreference(5);
|
|
3830
3830
|
i0.ɵɵadvance(1);
|
|
3831
|
-
i0.ɵɵproperty("disabled", _r1.invalid ||
|
|
3831
|
+
i0.ɵɵproperty("disabled", _r1.invalid || ctx_r28.loading);
|
|
3832
3832
|
i0.ɵɵadvance(1);
|
|
3833
3833
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Buscar"), " ");
|
|
3834
3834
|
} }
|
|
3835
3835
|
function InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
3836
|
-
const
|
|
3837
|
-
i0.ɵɵelementStart(0, "button",
|
|
3838
|
-
i0.ɵɵlistener("click", function InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
3839
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
3836
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
3837
|
+
i0.ɵɵelementStart(0, "button", 29);
|
|
3838
|
+
i0.ɵɵlistener("click", function InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r32.cancelSearch()); });
|
|
3839
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
3840
3840
|
i0.ɵɵtext(2, "close");
|
|
3841
3841
|
i0.ɵɵelementEnd()();
|
|
3842
3842
|
} }
|
|
3843
3843
|
function InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
3844
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
3844
|
+
i0.ɵɵelementStart(0, "mat-icon", 20);
|
|
3845
3845
|
i0.ɵɵtext(1);
|
|
3846
3846
|
i0.ɵɵpipe(2, "translate");
|
|
3847
3847
|
i0.ɵɵelementEnd();
|
|
3848
3848
|
} if (rf & 2) {
|
|
3849
|
-
const
|
|
3849
|
+
const b_r34 = i0.ɵɵnextContext().$implicit;
|
|
3850
3850
|
i0.ɵɵadvance(1);
|
|
3851
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
3851
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, b_r34.icon));
|
|
3852
3852
|
} }
|
|
3853
3853
|
function InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
3854
|
-
const
|
|
3854
|
+
const _r38 = i0.ɵɵgetCurrentView();
|
|
3855
3855
|
i0.ɵɵelementContainerStart(0);
|
|
3856
|
-
i0.ɵɵelementStart(1, "button",
|
|
3857
|
-
i0.ɵɵlistener("click", function InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
3858
|
-
i0.ɵɵtemplate(2, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_mat_icon_2_Template, 3, 3, "mat-icon",
|
|
3856
|
+
i0.ɵɵelementStart(1, "button", 30);
|
|
3857
|
+
i0.ɵɵlistener("click", function InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r38); const b_r34 = restoredCtx.$implicit; return i0.ɵɵresetView(b_r34.method()); });
|
|
3858
|
+
i0.ɵɵtemplate(2, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_mat_icon_2_Template, 3, 3, "mat-icon", 22);
|
|
3859
3859
|
i0.ɵɵtext(3);
|
|
3860
3860
|
i0.ɵɵpipe(4, "translate");
|
|
3861
3861
|
i0.ɵɵelementEnd();
|
|
3862
3862
|
i0.ɵɵelementContainerEnd();
|
|
3863
3863
|
} if (rf & 2) {
|
|
3864
|
-
const
|
|
3865
|
-
const
|
|
3864
|
+
const b_r34 = ctx.$implicit;
|
|
3865
|
+
const ctx_r31 = i0.ɵɵnextContext(4);
|
|
3866
3866
|
const _r1 = i0.ɵɵreference(5);
|
|
3867
3867
|
i0.ɵɵadvance(1);
|
|
3868
|
-
i0.ɵɵproperty("disabled", _r1.invalid ||
|
|
3868
|
+
i0.ɵɵproperty("disabled", _r1.invalid || ctx_r31.loading);
|
|
3869
3869
|
i0.ɵɵadvance(1);
|
|
3870
|
-
i0.ɵɵproperty("ngIf",
|
|
3870
|
+
i0.ɵɵproperty("ngIf", b_r34.icon);
|
|
3871
3871
|
i0.ɵɵadvance(1);
|
|
3872
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3,
|
|
3872
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, b_r34.label), " ");
|
|
3873
3873
|
} }
|
|
3874
3874
|
function InfoGridComponent_div_6_div_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
3875
3875
|
i0.ɵɵelementContainerStart(0);
|
|
3876
|
-
i0.ɵɵtemplate(1, InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template, 3, 0, "button",
|
|
3877
|
-
i0.ɵɵelementStart(2, "button",
|
|
3876
|
+
i0.ɵɵtemplate(1, InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template, 3, 0, "button", 28);
|
|
3877
|
+
i0.ɵɵelementStart(2, "button", 27)(3, "mat-icon", 20);
|
|
3878
3878
|
i0.ɵɵtext(4, "search");
|
|
3879
3879
|
i0.ɵɵelementEnd()();
|
|
3880
|
-
i0.ɵɵtemplate(5, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template, 5, 5, "ng-container",
|
|
3880
|
+
i0.ɵɵtemplate(5, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template, 5, 5, "ng-container", 18);
|
|
3881
3881
|
i0.ɵɵelementContainerEnd();
|
|
3882
3882
|
} if (rf & 2) {
|
|
3883
|
-
const
|
|
3883
|
+
const ctx_r29 = i0.ɵɵnextContext(3);
|
|
3884
3884
|
const _r1 = i0.ɵɵreference(5);
|
|
3885
3885
|
i0.ɵɵadvance(1);
|
|
3886
|
-
i0.ɵɵproperty("ngIf",
|
|
3886
|
+
i0.ɵɵproperty("ngIf", ctx_r29.enabledcancelsearch);
|
|
3887
3887
|
i0.ɵɵadvance(1);
|
|
3888
|
-
i0.ɵɵproperty("disabled", _r1.invalid ||
|
|
3888
|
+
i0.ɵɵproperty("disabled", _r1.invalid || ctx_r29.loading);
|
|
3889
3889
|
i0.ɵɵadvance(3);
|
|
3890
|
-
i0.ɵɵproperty("ngForOf",
|
|
3890
|
+
i0.ɵɵproperty("ngForOf", ctx_r29.searchbuttons);
|
|
3891
3891
|
} }
|
|
3892
3892
|
const _c1$3 = function () { return []; };
|
|
3893
3893
|
function InfoGridComponent_div_6_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
3894
|
-
i0.ɵɵelementStart(0, "div")(1, "div",
|
|
3894
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 26);
|
|
3895
3895
|
i0.ɵɵtemplate(2, InfoGridComponent_div_6_div_4_ng_container_2_Template, 4, 4, "ng-container", 7);
|
|
3896
3896
|
i0.ɵɵtemplate(3, InfoGridComponent_div_6_div_4_ng_container_3_Template, 6, 3, "ng-container", 7);
|
|
3897
3897
|
i0.ɵɵelementEnd()();
|
|
3898
3898
|
} if (rf & 2) {
|
|
3899
|
-
const
|
|
3900
|
-
i0.ɵɵclassMapInterpolate1("col-md-", (
|
|
3899
|
+
const ctx_r27 = i0.ɵɵnextContext(2);
|
|
3900
|
+
i0.ɵɵclassMapInterpolate1("col-md-", (ctx_r27.searchbuttons || i0.ɵɵpureFunction0(5, _c1$3)).length == 0 ? "2" : "3", " align-right");
|
|
3901
3901
|
i0.ɵɵadvance(2);
|
|
3902
|
-
i0.ɵɵproperty("ngIf",
|
|
3902
|
+
i0.ɵɵproperty("ngIf", ctx_r27.searchonlyonebutton);
|
|
3903
3903
|
i0.ɵɵadvance(1);
|
|
3904
|
-
i0.ɵɵproperty("ngIf", !
|
|
3904
|
+
i0.ɵɵproperty("ngIf", !ctx_r27.searchonlyonebutton);
|
|
3905
3905
|
} }
|
|
3906
3906
|
function InfoGridComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
3907
|
-
i0.ɵɵelementStart(0, "div",
|
|
3907
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "div")(2, "div", 24);
|
|
3908
3908
|
i0.ɵɵprojection(3);
|
|
3909
3909
|
i0.ɵɵelementEnd()();
|
|
3910
|
-
i0.ɵɵtemplate(4, InfoGridComponent_div_6_div_4_Template, 4, 6, "div",
|
|
3910
|
+
i0.ɵɵtemplate(4, InfoGridComponent_div_6_div_4_Template, 4, 6, "div", 25);
|
|
3911
3911
|
i0.ɵɵelementEnd();
|
|
3912
3912
|
} if (rf & 2) {
|
|
3913
3913
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -3918,7 +3918,7 @@ function InfoGridComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
3918
3918
|
} }
|
|
3919
3919
|
function InfoGridComponent_fieldset_7_Template(rf, ctx) { if (rf & 1) {
|
|
3920
3920
|
i0.ɵɵelementStart(0, "fieldset");
|
|
3921
|
-
i0.ɵɵelement(1, "legend",
|
|
3921
|
+
i0.ɵɵelement(1, "legend", 31);
|
|
3922
3922
|
i0.ɵɵpipe(2, "translate");
|
|
3923
3923
|
i0.ɵɵelementEnd();
|
|
3924
3924
|
} if (rf & 2) {
|
|
@@ -3927,397 +3927,387 @@ function InfoGridComponent_fieldset_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
3927
3927
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 1, ctx_r3.pagebarTitle), i0.ɵɵsanitizeHtml);
|
|
3928
3928
|
} }
|
|
3929
3929
|
function InfoGridComponent_mat_progress_bar_9_Template(rf, ctx) { if (rf & 1) {
|
|
3930
|
-
i0.ɵɵelement(0, "mat-progress-bar",
|
|
3931
|
-
} }
|
|
3932
|
-
function InfoGridComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
3933
|
-
i0.ɵɵelementStart(0, "div", 34)(1, "i", 35);
|
|
3934
|
-
i0.ɵɵpipe(2, "translate");
|
|
3935
|
-
i0.ɵɵtext(3, "access_time");
|
|
3936
|
-
i0.ɵɵelementEnd()();
|
|
3937
|
-
} if (rf & 2) {
|
|
3938
|
-
const ctx_r5 = i0.ɵɵnextContext();
|
|
3939
|
-
i0.ɵɵadvance(1);
|
|
3940
|
-
i0.ɵɵpropertyInterpolate2("matTooltip", "", i0.ɵɵpipeBind1(2, 2, "AutoRefresh"), " ", ctx_r5.autorefresh, " seg");
|
|
3930
|
+
i0.ɵɵelement(0, "mat-progress-bar", 32);
|
|
3941
3931
|
} }
|
|
3942
|
-
function
|
|
3943
|
-
i0.ɵɵelement(0, "th",
|
|
3932
|
+
function InfoGridComponent_table_10_th_3_Template(rf, ctx) { if (rf & 1) {
|
|
3933
|
+
i0.ɵɵelement(0, "th", 38);
|
|
3944
3934
|
} }
|
|
3945
3935
|
const _c2$3 = function (a0, a1) { return { "text-center": a0, "align-right": a1 }; };
|
|
3946
|
-
function
|
|
3936
|
+
function InfoGridComponent_table_10_ng_container_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
3947
3937
|
i0.ɵɵelementStart(0, "th", 1);
|
|
3948
3938
|
i0.ɵɵtext(1);
|
|
3949
3939
|
i0.ɵɵpipe(2, "translate");
|
|
3950
3940
|
i0.ɵɵelementEnd();
|
|
3951
3941
|
} if (rf & 2) {
|
|
3952
|
-
const
|
|
3953
|
-
const
|
|
3954
|
-
const
|
|
3955
|
-
const
|
|
3956
|
-
i0.ɵɵclassMap("col_" +
|
|
3957
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c2$3,
|
|
3942
|
+
const ctx_r47 = i0.ɵɵnextContext();
|
|
3943
|
+
const col_r43 = ctx_r47.$implicit;
|
|
3944
|
+
const i_r44 = ctx_r47.index;
|
|
3945
|
+
const ctx_r45 = i0.ɵɵnextContext(2);
|
|
3946
|
+
i0.ɵɵclassMap("col_" + col_r43.toLowerCase());
|
|
3947
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c2$3, ctx_r45.colunasType[i_r44] == "check", ctx_r45.colunasType[i_r44].startsWith("n")));
|
|
3958
3948
|
i0.ɵɵadvance(1);
|
|
3959
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4,
|
|
3949
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, col_r43));
|
|
3960
3950
|
} }
|
|
3961
3951
|
const _c3$2 = function (a0) { return { "width": a0 }; };
|
|
3962
|
-
function
|
|
3963
|
-
i0.ɵɵelementStart(0, "th",
|
|
3952
|
+
function InfoGridComponent_table_10_ng_container_4_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
3953
|
+
i0.ɵɵelementStart(0, "th", 41);
|
|
3964
3954
|
i0.ɵɵtext(1);
|
|
3965
3955
|
i0.ɵɵpipe(2, "translate");
|
|
3966
3956
|
i0.ɵɵelementEnd();
|
|
3967
3957
|
} if (rf & 2) {
|
|
3968
|
-
const
|
|
3969
|
-
const
|
|
3970
|
-
const
|
|
3971
|
-
const
|
|
3972
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c3$2,
|
|
3958
|
+
const ctx_r48 = i0.ɵɵnextContext();
|
|
3959
|
+
const i_r44 = ctx_r48.index;
|
|
3960
|
+
const col_r43 = ctx_r48.$implicit;
|
|
3961
|
+
const ctx_r46 = i0.ɵɵnextContext(2);
|
|
3962
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c3$2, ctx_r46.colunasWidth[i_r44]))("ngClass", i0.ɵɵpureFunction2(7, _c2$3, ctx_r46.colunasType[i_r44] == "check", ctx_r46.colunasType[i_r44].startsWith("n")));
|
|
3973
3963
|
i0.ɵɵadvance(1);
|
|
3974
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3,
|
|
3964
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, col_r43));
|
|
3975
3965
|
} }
|
|
3976
|
-
function
|
|
3966
|
+
function InfoGridComponent_table_10_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
3977
3967
|
i0.ɵɵelementContainerStart(0);
|
|
3978
|
-
i0.ɵɵtemplate(1,
|
|
3979
|
-
i0.ɵɵtemplate(2,
|
|
3968
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_ng_container_4_th_1_Template, 3, 9, "th", 39);
|
|
3969
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_ng_container_4_th_2_Template, 3, 10, "th", 40);
|
|
3980
3970
|
i0.ɵɵelementContainerEnd();
|
|
3981
3971
|
} if (rf & 2) {
|
|
3982
|
-
const
|
|
3983
|
-
const
|
|
3972
|
+
const i_r44 = ctx.index;
|
|
3973
|
+
const ctx_r40 = i0.ɵɵnextContext(2);
|
|
3984
3974
|
i0.ɵɵadvance(1);
|
|
3985
|
-
i0.ɵɵproperty("ngIf",
|
|
3975
|
+
i0.ɵɵproperty("ngIf", ctx_r40.colunasWidth[i_r44] == "");
|
|
3986
3976
|
i0.ɵɵadvance(1);
|
|
3987
|
-
i0.ɵɵproperty("ngIf",
|
|
3977
|
+
i0.ɵɵproperty("ngIf", ctx_r40.colunasWidth[i_r44] != "");
|
|
3988
3978
|
} }
|
|
3989
|
-
function
|
|
3990
|
-
const
|
|
3991
|
-
i0.ɵɵelementStart(0, "button",
|
|
3992
|
-
i0.ɵɵlistener("click", function
|
|
3979
|
+
function InfoGridComponent_table_10_th_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
3980
|
+
const _r52 = i0.ɵɵgetCurrentView();
|
|
3981
|
+
i0.ɵɵelementStart(0, "button", 45);
|
|
3982
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_th_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r52); const ctx_r51 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r51.add()); });
|
|
3993
3983
|
i0.ɵɵpipe(1, "translate");
|
|
3994
3984
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
3995
3985
|
i0.ɵɵtext(3, "add_circle_outline");
|
|
3996
3986
|
i0.ɵɵelementEnd()();
|
|
3997
3987
|
} if (rf & 2) {
|
|
3998
|
-
const
|
|
3999
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1,
|
|
3988
|
+
const ctx_r49 = i0.ɵɵnextContext(3);
|
|
3989
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, ctx_r49.newlabel));
|
|
4000
3990
|
} }
|
|
4001
|
-
function
|
|
4002
|
-
const
|
|
4003
|
-
i0.ɵɵelementStart(0, "button",
|
|
4004
|
-
i0.ɵɵlistener("click", function
|
|
3991
|
+
function InfoGridComponent_table_10_th_5_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
3992
|
+
const _r54 = i0.ɵɵgetCurrentView();
|
|
3993
|
+
i0.ɵɵelementStart(0, "button", 46);
|
|
3994
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_th_5_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r54); const ctx_r53 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r53.customizeTable()); });
|
|
4005
3995
|
i0.ɵɵpipe(1, "translate");
|
|
4006
|
-
i0.ɵɵelementStart(2, "mat-icon",
|
|
3996
|
+
i0.ɵɵelementStart(2, "mat-icon", 47);
|
|
4007
3997
|
i0.ɵɵtext(3, "settings");
|
|
4008
3998
|
i0.ɵɵelementEnd()();
|
|
4009
3999
|
} if (rf & 2) {
|
|
4010
4000
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "CustomizarTabela"));
|
|
4011
4001
|
} }
|
|
4012
|
-
function
|
|
4013
|
-
i0.ɵɵelementStart(0, "th",
|
|
4014
|
-
i0.ɵɵtemplate(1,
|
|
4015
|
-
i0.ɵɵtemplate(2,
|
|
4002
|
+
function InfoGridComponent_table_10_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
4003
|
+
i0.ɵɵelementStart(0, "th", 42);
|
|
4004
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_th_5_button_1_Template, 4, 3, "button", 43);
|
|
4005
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_th_5_button_2_Template, 4, 3, "button", 44);
|
|
4016
4006
|
i0.ɵɵelementEnd();
|
|
4017
4007
|
} if (rf & 2) {
|
|
4018
|
-
const
|
|
4008
|
+
const ctx_r41 = i0.ɵɵnextContext(2);
|
|
4019
4009
|
i0.ɵɵadvance(1);
|
|
4020
|
-
i0.ɵɵproperty("ngIf", !
|
|
4010
|
+
i0.ɵɵproperty("ngIf", !ctx_r41.showPagebar && ctx_r41.enablednew && ctx_r41.hasPermissionNew);
|
|
4021
4011
|
i0.ɵɵadvance(1);
|
|
4022
|
-
i0.ɵɵproperty("ngIf",
|
|
4012
|
+
i0.ɵɵproperty("ngIf", ctx_r41.enabledcols);
|
|
4023
4013
|
} }
|
|
4024
4014
|
const _c4$1 = function (a0) { return { "icone-secundario": a0 }; };
|
|
4025
|
-
function
|
|
4026
|
-
i0.ɵɵelementStart(0, "i",
|
|
4015
|
+
function InfoGridComponent_table_10_tr_7_td_1_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
4016
|
+
i0.ɵɵelementStart(0, "i", 50);
|
|
4027
4017
|
i0.ɵɵpipe(1, "translate");
|
|
4028
4018
|
i0.ɵɵtext(2);
|
|
4029
4019
|
i0.ɵɵelementEnd();
|
|
4030
4020
|
} if (rf & 2) {
|
|
4031
|
-
const
|
|
4032
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3,
|
|
4021
|
+
const icon_r62 = i0.ɵɵnextContext().$implicit;
|
|
4022
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3, icon_r62.Tooltip))("ngClass", i0.ɵɵpureFunction1(5, _c4$1, icon_r62.Principal == false));
|
|
4033
4023
|
i0.ɵɵadvance(2);
|
|
4034
|
-
i0.ɵɵtextInterpolate(
|
|
4024
|
+
i0.ɵɵtextInterpolate(icon_r62.Icon);
|
|
4035
4025
|
} }
|
|
4036
|
-
function
|
|
4026
|
+
function InfoGridComponent_table_10_tr_7_td_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4037
4027
|
i0.ɵɵelementContainerStart(0);
|
|
4038
|
-
i0.ɵɵtemplate(1,
|
|
4028
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_td_1_ng_container_1_i_1_Template, 3, 7, "i", 49);
|
|
4039
4029
|
i0.ɵɵelementContainerEnd();
|
|
4040
4030
|
} if (rf & 2) {
|
|
4041
|
-
const
|
|
4042
|
-
const
|
|
4031
|
+
const icon_r62 = ctx.$implicit;
|
|
4032
|
+
const mod_r55 = i0.ɵɵnextContext(2).$implicit;
|
|
4043
4033
|
i0.ɵɵadvance(1);
|
|
4044
|
-
i0.ɵɵproperty("ngIf",
|
|
4034
|
+
i0.ɵɵproperty("ngIf", icon_r62.Name == mod_r55.Icon);
|
|
4045
4035
|
} }
|
|
4046
|
-
function
|
|
4036
|
+
function InfoGridComponent_table_10_tr_7_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
4047
4037
|
i0.ɵɵelementStart(0, "td");
|
|
4048
|
-
i0.ɵɵtemplate(1,
|
|
4038
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_td_1_ng_container_1_Template, 2, 1, "ng-container", 18);
|
|
4049
4039
|
i0.ɵɵelementEnd();
|
|
4050
4040
|
} if (rf & 2) {
|
|
4051
|
-
const
|
|
4041
|
+
const ctx_r57 = i0.ɵɵnextContext(3);
|
|
4052
4042
|
i0.ɵɵadvance(1);
|
|
4053
|
-
i0.ɵɵproperty("ngForOf",
|
|
4043
|
+
i0.ɵɵproperty("ngForOf", ctx_r57.icons);
|
|
4054
4044
|
} }
|
|
4055
|
-
function
|
|
4045
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
4056
4046
|
i0.ɵɵelement(0, "td");
|
|
4057
4047
|
} }
|
|
4058
4048
|
const _c5 = function (a0, a1) { return { "label-expansivel": a0, "label-expandida": a1 }; };
|
|
4059
|
-
function
|
|
4060
|
-
i0.ɵɵelement(0, "label",
|
|
4049
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
4050
|
+
i0.ɵɵelement(0, "label", 62);
|
|
4061
4051
|
i0.ɵɵpipe(1, "translate");
|
|
4062
4052
|
} if (rf & 2) {
|
|
4063
|
-
const
|
|
4064
|
-
const
|
|
4065
|
-
const
|
|
4066
|
-
const
|
|
4067
|
-
const
|
|
4068
|
-
const
|
|
4069
|
-
const
|
|
4070
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c5,
|
|
4071
|
-
} }
|
|
4072
|
-
function
|
|
4073
|
-
i0.ɵɵelementStart(0, "label",
|
|
4053
|
+
const ctx_r90 = i0.ɵɵnextContext(4);
|
|
4054
|
+
const col_r66 = ctx_r90.$implicit;
|
|
4055
|
+
const i_r67 = ctx_r90.index;
|
|
4056
|
+
const ctx_r89 = i0.ɵɵnextContext();
|
|
4057
|
+
const mod_r55 = ctx_r89.$implicit;
|
|
4058
|
+
const j_r56 = ctx_r89.index;
|
|
4059
|
+
const ctx_r85 = i0.ɵɵnextContext(2);
|
|
4060
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c5, ctx_r85.enabledexpand == true && mod_r55[col_r66].length > ctx_r85.limitcharacters, ctx_r85.colunasItensExpandidos[j_r56][i_r67]))("innerHTML", i0.ɵɵpipeBind2(1, 2, mod_r55[col_r66], ctx_r85.colunasTranslate[i_r67]) || "", i0.ɵɵsanitizeHtml);
|
|
4061
|
+
} }
|
|
4062
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_label_2_Template(rf, ctx) { if (rf & 1) {
|
|
4063
|
+
i0.ɵɵelementStart(0, "label", 63);
|
|
4074
4064
|
i0.ɵɵtext(1);
|
|
4075
4065
|
i0.ɵɵpipe(2, "translate");
|
|
4076
4066
|
i0.ɵɵelementEnd();
|
|
4077
4067
|
} if (rf & 2) {
|
|
4078
|
-
const
|
|
4079
|
-
const
|
|
4080
|
-
const
|
|
4081
|
-
const
|
|
4082
|
-
const
|
|
4083
|
-
const
|
|
4084
|
-
const
|
|
4085
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c5,
|
|
4068
|
+
const ctx_r92 = i0.ɵɵnextContext(4);
|
|
4069
|
+
const col_r66 = ctx_r92.$implicit;
|
|
4070
|
+
const i_r67 = ctx_r92.index;
|
|
4071
|
+
const ctx_r91 = i0.ɵɵnextContext();
|
|
4072
|
+
const mod_r55 = ctx_r91.$implicit;
|
|
4073
|
+
const j_r56 = ctx_r91.index;
|
|
4074
|
+
const ctx_r86 = i0.ɵɵnextContext(2);
|
|
4075
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c5, ctx_r86.enabledexpand == true && mod_r55[col_r66].length > ctx_r86.limitcharacters, ctx_r86.colunasItensExpandidos[j_r56][i_r67]));
|
|
4086
4076
|
i0.ɵɵadvance(1);
|
|
4087
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 2,
|
|
4077
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 2, mod_r55[col_r66], ctx_r86.colunasHtml[i_r67]) || "");
|
|
4088
4078
|
} }
|
|
4089
4079
|
const _c6 = function (a0) { return { "mostrar-mais-expandido": a0 }; };
|
|
4090
4080
|
const _c7 = function (a0) { return { "icone-expandido": a0 }; };
|
|
4091
|
-
function
|
|
4092
|
-
const
|
|
4093
|
-
i0.ɵɵelementStart(0, "div",
|
|
4094
|
-
i0.ɵɵlistener("click", function
|
|
4081
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
4082
|
+
const _r95 = i0.ɵɵgetCurrentView();
|
|
4083
|
+
i0.ɵɵelementStart(0, "div", 64);
|
|
4084
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r95); const i_r67 = i0.ɵɵnextContext(4).index; const j_r56 = i0.ɵɵnextContext().index; const ctx_r93 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r93.mostrarMais(j_r56, i_r67)); });
|
|
4095
4085
|
i0.ɵɵelementStart(1, "mat-icon", 1);
|
|
4096
4086
|
i0.ɵɵtext(2, "keyboard_arrow_down");
|
|
4097
4087
|
i0.ɵɵelementEnd()();
|
|
4098
4088
|
} if (rf & 2) {
|
|
4099
|
-
const
|
|
4100
|
-
const
|
|
4101
|
-
const
|
|
4102
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c6,
|
|
4089
|
+
const i_r67 = i0.ɵɵnextContext(4).index;
|
|
4090
|
+
const j_r56 = i0.ɵɵnextContext().index;
|
|
4091
|
+
const ctx_r87 = i0.ɵɵnextContext(2);
|
|
4092
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c6, ctx_r87.colunasItensExpandidos[j_r56][i_r67]));
|
|
4103
4093
|
i0.ɵɵadvance(1);
|
|
4104
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c7,
|
|
4094
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c7, ctx_r87.colunasItensExpandidos[j_r56][i_r67]));
|
|
4105
4095
|
} }
|
|
4106
|
-
function
|
|
4096
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_p_4_Template(rf, ctx) { if (rf & 1) {
|
|
4107
4097
|
i0.ɵɵelementStart(0, "p");
|
|
4108
4098
|
i0.ɵɵtext(1);
|
|
4109
4099
|
i0.ɵɵpipe(2, "translate");
|
|
4110
4100
|
i0.ɵɵelementEnd();
|
|
4111
4101
|
} if (rf & 2) {
|
|
4112
|
-
const
|
|
4113
|
-
const
|
|
4114
|
-
const
|
|
4102
|
+
const i_r67 = i0.ɵɵnextContext(4).index;
|
|
4103
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4104
|
+
const ctx_r88 = i0.ɵɵnextContext(2);
|
|
4115
4105
|
i0.ɵɵadvance(1);
|
|
4116
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1,
|
|
4106
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, mod_r55.Badge, ctx_r88.colunasTranslate[i_r67]));
|
|
4117
4107
|
} }
|
|
4118
4108
|
const _c8 = function (a0) { return { "td-expansivel": a0 }; };
|
|
4119
|
-
function
|
|
4109
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
4120
4110
|
i0.ɵɵelementStart(0, "td", 1);
|
|
4121
|
-
i0.ɵɵtemplate(1,
|
|
4122
|
-
i0.ɵɵtemplate(2,
|
|
4123
|
-
i0.ɵɵtemplate(3,
|
|
4124
|
-
i0.ɵɵtemplate(4,
|
|
4111
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_label_1_Template, 2, 8, "label", 59);
|
|
4112
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_label_2_Template, 3, 8, "label", 60);
|
|
4113
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_div_3_Template, 3, 6, "div", 61);
|
|
4114
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_p_4_Template, 3, 4, "p", 7);
|
|
4125
4115
|
i0.ɵɵelementEnd();
|
|
4126
4116
|
} if (rf & 2) {
|
|
4127
|
-
const
|
|
4128
|
-
const
|
|
4129
|
-
const
|
|
4130
|
-
const
|
|
4131
|
-
const
|
|
4132
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c8,
|
|
4117
|
+
const ctx_r102 = i0.ɵɵnextContext(3);
|
|
4118
|
+
const col_r66 = ctx_r102.$implicit;
|
|
4119
|
+
const i_r67 = ctx_r102.index;
|
|
4120
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4121
|
+
const ctx_r81 = i0.ɵɵnextContext(2);
|
|
4122
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c8, mod_r55[col_r66].length > ctx_r81.limitcharacters && ctx_r81.enabledexpand == true));
|
|
4133
4123
|
i0.ɵɵadvance(1);
|
|
4134
|
-
i0.ɵɵproperty("ngIf",
|
|
4124
|
+
i0.ɵɵproperty("ngIf", ctx_r81.colunasHtml[i_r67] === true);
|
|
4135
4125
|
i0.ɵɵadvance(1);
|
|
4136
|
-
i0.ɵɵproperty("ngIf",
|
|
4126
|
+
i0.ɵɵproperty("ngIf", ctx_r81.colunasHtml[i_r67] === false);
|
|
4137
4127
|
i0.ɵɵadvance(1);
|
|
4138
|
-
i0.ɵɵproperty("ngIf",
|
|
4128
|
+
i0.ɵɵproperty("ngIf", ctx_r81.enabledexpand == true && mod_r55[col_r66].length > ctx_r81.limitcharacters);
|
|
4139
4129
|
i0.ɵɵadvance(1);
|
|
4140
|
-
i0.ɵɵproperty("ngIf",
|
|
4130
|
+
i0.ɵɵproperty("ngIf", i_r67 == 0 && mod_r55.Badge != null && mod_r55.Badge != undefined);
|
|
4141
4131
|
} }
|
|
4142
|
-
function
|
|
4132
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
4143
4133
|
i0.ɵɵelementStart(0, "td")(1, "mat-icon");
|
|
4144
4134
|
i0.ɵɵtext(2, "check_box");
|
|
4145
4135
|
i0.ɵɵelementEnd()();
|
|
4146
4136
|
} }
|
|
4147
|
-
function
|
|
4137
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
4148
4138
|
i0.ɵɵelementStart(0, "td")(1, "mat-icon");
|
|
4149
4139
|
i0.ɵɵtext(2, "check_box_outline_blank");
|
|
4150
4140
|
i0.ɵɵelementEnd()();
|
|
4151
4141
|
} }
|
|
4152
|
-
function
|
|
4142
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_4_Template(rf, ctx) { if (rf & 1) {
|
|
4153
4143
|
i0.ɵɵelementStart(0, "td");
|
|
4154
4144
|
i0.ɵɵtext(1, "0");
|
|
4155
4145
|
i0.ɵɵelementEnd();
|
|
4156
4146
|
} }
|
|
4157
|
-
function
|
|
4147
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4158
4148
|
i0.ɵɵelementContainerStart(0);
|
|
4159
|
-
i0.ɵɵtemplate(1,
|
|
4160
|
-
i0.ɵɵtemplate(2,
|
|
4161
|
-
i0.ɵɵtemplate(3,
|
|
4162
|
-
i0.ɵɵtemplate(4,
|
|
4149
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_Template, 5, 7, "td", 58);
|
|
4150
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_2_Template, 3, 0, "td", 7);
|
|
4151
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_3_Template, 3, 0, "td", 7);
|
|
4152
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_4_Template, 2, 0, "td", 7);
|
|
4163
4153
|
i0.ɵɵelementContainerEnd();
|
|
4164
4154
|
} if (rf & 2) {
|
|
4165
|
-
const
|
|
4166
|
-
const
|
|
4155
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4156
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4167
4157
|
i0.ɵɵadvance(1);
|
|
4168
|
-
i0.ɵɵproperty("ngIf",
|
|
4158
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] !== true && mod_r55[col_r66] !== false && mod_r55[col_r66] !== 0 && mod_r55[col_r66] !== "0");
|
|
4169
4159
|
i0.ɵɵadvance(1);
|
|
4170
|
-
i0.ɵɵproperty("ngIf",
|
|
4160
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] === true);
|
|
4171
4161
|
i0.ɵɵadvance(1);
|
|
4172
|
-
i0.ɵɵproperty("ngIf",
|
|
4162
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] === false);
|
|
4173
4163
|
i0.ɵɵadvance(1);
|
|
4174
|
-
i0.ɵɵproperty("ngIf",
|
|
4164
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] === 0 || mod_r55[col_r66] === "0");
|
|
4175
4165
|
} }
|
|
4176
|
-
function
|
|
4177
|
-
i0.ɵɵelement(0, "td",
|
|
4166
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
4167
|
+
i0.ɵɵelement(0, "td", 65);
|
|
4178
4168
|
i0.ɵɵpipe(1, "date");
|
|
4179
4169
|
} if (rf & 2) {
|
|
4180
|
-
const
|
|
4181
|
-
const
|
|
4182
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1,
|
|
4170
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4171
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4172
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1, mod_r55[col_r66], "shortDate"), i0.ɵɵsanitizeHtml);
|
|
4183
4173
|
} }
|
|
4184
|
-
function
|
|
4185
|
-
i0.ɵɵelementStart(0, "td",
|
|
4174
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
4175
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4186
4176
|
i0.ɵɵtext(1);
|
|
4187
4177
|
i0.ɵɵpipe(2, "date");
|
|
4188
4178
|
i0.ɵɵpipe(3, "date");
|
|
4189
4179
|
i0.ɵɵelementEnd();
|
|
4190
4180
|
} if (rf & 2) {
|
|
4191
|
-
const
|
|
4192
|
-
const
|
|
4181
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4182
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4193
4183
|
i0.ɵɵadvance(1);
|
|
4194
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind2(2, 2,
|
|
4184
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind2(2, 2, mod_r55[col_r66], "shortDate"), " ", i0.ɵɵpipeBind2(3, 5, mod_r55[col_r66], "mediumTime"), "");
|
|
4195
4185
|
} }
|
|
4196
|
-
function
|
|
4197
|
-
i0.ɵɵelement(0, "td",
|
|
4186
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_4_Template(rf, ctx) { if (rf & 1) {
|
|
4187
|
+
i0.ɵɵelement(0, "td", 65);
|
|
4198
4188
|
i0.ɵɵpipe(1, "date");
|
|
4199
4189
|
} if (rf & 2) {
|
|
4200
|
-
const
|
|
4201
|
-
const
|
|
4202
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1,
|
|
4190
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4191
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4192
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1, mod_r55[col_r66], "MM/yyyy"), i0.ɵɵsanitizeHtml);
|
|
4203
4193
|
} }
|
|
4204
|
-
function
|
|
4205
|
-
i0.ɵɵelementStart(0, "td",
|
|
4194
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_5_Template(rf, ctx) { if (rf & 1) {
|
|
4195
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4206
4196
|
i0.ɵɵtext(1);
|
|
4207
4197
|
i0.ɵɵpipe(2, "number");
|
|
4208
4198
|
i0.ɵɵelementEnd();
|
|
4209
4199
|
} if (rf & 2) {
|
|
4210
|
-
const
|
|
4211
|
-
const
|
|
4212
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4200
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4201
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4202
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4213
4203
|
i0.ɵɵadvance(1);
|
|
4214
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4204
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.0-0"));
|
|
4215
4205
|
} }
|
|
4216
|
-
function
|
|
4217
|
-
i0.ɵɵelementStart(0, "td",
|
|
4206
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
4207
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4218
4208
|
i0.ɵɵtext(1);
|
|
4219
4209
|
i0.ɵɵpipe(2, "number");
|
|
4220
4210
|
i0.ɵɵelementEnd();
|
|
4221
4211
|
} if (rf & 2) {
|
|
4222
|
-
const
|
|
4223
|
-
const
|
|
4224
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4212
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4213
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4214
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4225
4215
|
i0.ɵɵadvance(1);
|
|
4226
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4216
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.2-2"));
|
|
4227
4217
|
} }
|
|
4228
|
-
function
|
|
4229
|
-
i0.ɵɵelementStart(0, "td",
|
|
4218
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
4219
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4230
4220
|
i0.ɵɵtext(1);
|
|
4231
4221
|
i0.ɵɵpipe(2, "number");
|
|
4232
4222
|
i0.ɵɵelementEnd();
|
|
4233
4223
|
} if (rf & 2) {
|
|
4234
|
-
const
|
|
4235
|
-
const
|
|
4236
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4224
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4225
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4226
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4237
4227
|
i0.ɵɵadvance(1);
|
|
4238
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4228
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.4-4"));
|
|
4239
4229
|
} }
|
|
4240
|
-
function
|
|
4241
|
-
i0.ɵɵelementStart(0, "td",
|
|
4230
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_8_Template(rf, ctx) { if (rf & 1) {
|
|
4231
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4242
4232
|
i0.ɵɵtext(1);
|
|
4243
4233
|
i0.ɵɵpipe(2, "number");
|
|
4244
4234
|
i0.ɵɵelementEnd();
|
|
4245
4235
|
} if (rf & 2) {
|
|
4246
|
-
const
|
|
4247
|
-
const
|
|
4248
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4236
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4237
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4238
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4249
4239
|
i0.ɵɵadvance(1);
|
|
4250
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4240
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.6-6"));
|
|
4251
4241
|
} }
|
|
4252
|
-
function
|
|
4253
|
-
i0.ɵɵelementStart(0, "td",
|
|
4242
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_9_Template(rf, ctx) { if (rf & 1) {
|
|
4243
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4254
4244
|
i0.ɵɵtext(1);
|
|
4255
4245
|
i0.ɵɵpipe(2, "number");
|
|
4256
4246
|
i0.ɵɵelementEnd();
|
|
4257
4247
|
} if (rf & 2) {
|
|
4258
|
-
const
|
|
4259
|
-
const
|
|
4260
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4248
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4249
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4250
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4261
4251
|
i0.ɵɵadvance(1);
|
|
4262
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4252
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.9-9"));
|
|
4263
4253
|
} }
|
|
4264
|
-
function
|
|
4265
|
-
i0.ɵɵelementStart(0, "td",
|
|
4254
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
4255
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4266
4256
|
i0.ɵɵtext(1);
|
|
4267
4257
|
i0.ɵɵpipe(2, "number");
|
|
4268
4258
|
i0.ɵɵelementEnd();
|
|
4269
4259
|
} if (rf & 2) {
|
|
4270
|
-
const
|
|
4271
|
-
const
|
|
4272
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4260
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4261
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4262
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4273
4263
|
i0.ɵɵadvance(1);
|
|
4274
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4264
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.12-12"));
|
|
4275
4265
|
} }
|
|
4276
|
-
function
|
|
4266
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4277
4267
|
i0.ɵɵelementContainer(0);
|
|
4278
4268
|
} }
|
|
4279
|
-
function
|
|
4269
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
4280
4270
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
4281
4271
|
i0.ɵɵtext(1, "check_box");
|
|
4282
4272
|
i0.ɵɵelementEnd();
|
|
4283
4273
|
} }
|
|
4284
|
-
function
|
|
4274
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
4285
4275
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
4286
4276
|
i0.ɵɵtext(1, "check_box_outline_blank");
|
|
4287
4277
|
i0.ɵɵelementEnd();
|
|
4288
4278
|
} }
|
|
4289
|
-
function
|
|
4290
|
-
i0.ɵɵelementStart(0, "td",
|
|
4291
|
-
i0.ɵɵtemplate(1,
|
|
4292
|
-
i0.ɵɵtemplate(2,
|
|
4293
|
-
i0.ɵɵtemplate(4,
|
|
4294
|
-
i0.ɵɵelementEnd();
|
|
4295
|
-
} if (rf & 2) {
|
|
4296
|
-
const
|
|
4297
|
-
const
|
|
4298
|
-
const
|
|
4299
|
-
const
|
|
4300
|
-
i0.ɵɵadvance(1);
|
|
4301
|
-
i0.ɵɵproperty("ngIf",
|
|
4302
|
-
} }
|
|
4303
|
-
function
|
|
4304
|
-
i0.ɵɵelementContainerStart(0,
|
|
4305
|
-
i0.ɵɵtemplate(1,
|
|
4306
|
-
i0.ɵɵtemplate(2,
|
|
4307
|
-
i0.ɵɵtemplate(3,
|
|
4308
|
-
i0.ɵɵtemplate(4,
|
|
4309
|
-
i0.ɵɵtemplate(5,
|
|
4310
|
-
i0.ɵɵtemplate(6,
|
|
4311
|
-
i0.ɵɵtemplate(7,
|
|
4312
|
-
i0.ɵɵtemplate(8,
|
|
4313
|
-
i0.ɵɵtemplate(9,
|
|
4314
|
-
i0.ɵɵtemplate(10,
|
|
4315
|
-
i0.ɵɵtemplate(11,
|
|
4279
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_Template(rf, ctx) { if (rf & 1) {
|
|
4280
|
+
i0.ɵɵelementStart(0, "td", 67);
|
|
4281
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_container_1_Template, 1, 0, "ng-container", 68);
|
|
4282
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_template_2_Template, 2, 0, "ng-template", null, 69, i0.ɵɵtemplateRefExtractor);
|
|
4283
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_template_4_Template, 2, 0, "ng-template", null, 70, i0.ɵɵtemplateRefExtractor);
|
|
4284
|
+
i0.ɵɵelementEnd();
|
|
4285
|
+
} if (rf & 2) {
|
|
4286
|
+
const _r124 = i0.ɵɵreference(3);
|
|
4287
|
+
const _r126 = i0.ɵɵreference(5);
|
|
4288
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4289
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4290
|
+
i0.ɵɵadvance(1);
|
|
4291
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] != null && (mod_r55[col_r66] === true || mod_r55[col_r66] == 1 || mod_r55[col_r66].toLowerCase() == "s"))("ngIfThen", _r124)("ngIfElse", _r126);
|
|
4292
|
+
} }
|
|
4293
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
4294
|
+
i0.ɵɵelementContainerStart(0, 52);
|
|
4295
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_Template, 5, 4, "ng-container", 53);
|
|
4296
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_2_Template, 2, 4, "td", 54);
|
|
4297
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_3_Template, 4, 8, "td", 55);
|
|
4298
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_4_Template, 2, 4, "td", 54);
|
|
4299
|
+
i0.ɵɵtemplate(5, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_5_Template, 3, 6, "td", 56);
|
|
4300
|
+
i0.ɵɵtemplate(6, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_6_Template, 3, 6, "td", 56);
|
|
4301
|
+
i0.ɵɵtemplate(7, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_7_Template, 3, 6, "td", 56);
|
|
4302
|
+
i0.ɵɵtemplate(8, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_8_Template, 3, 6, "td", 56);
|
|
4303
|
+
i0.ɵɵtemplate(9, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_9_Template, 3, 6, "td", 56);
|
|
4304
|
+
i0.ɵɵtemplate(10, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_10_Template, 3, 6, "td", 56);
|
|
4305
|
+
i0.ɵɵtemplate(11, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_Template, 6, 3, "td", 57);
|
|
4316
4306
|
i0.ɵɵelementContainerEnd();
|
|
4317
4307
|
} if (rf & 2) {
|
|
4318
|
-
const
|
|
4319
|
-
const
|
|
4320
|
-
i0.ɵɵproperty("ngSwitch",
|
|
4308
|
+
const i_r67 = i0.ɵɵnextContext().index;
|
|
4309
|
+
const ctx_r69 = i0.ɵɵnextContext(3);
|
|
4310
|
+
i0.ɵɵproperty("ngSwitch", ctx_r69.colunasType[i_r67]);
|
|
4321
4311
|
i0.ɵɵadvance(1);
|
|
4322
4312
|
i0.ɵɵproperty("ngSwitchCase", "label");
|
|
4323
4313
|
i0.ɵɵadvance(1);
|
|
@@ -4341,83 +4331,83 @@ function InfoGridComponent_table_11_tr_7_ng_container_2_ng_container_2_Template(
|
|
|
4341
4331
|
i0.ɵɵadvance(1);
|
|
4342
4332
|
i0.ɵɵproperty("ngSwitchCase", "check");
|
|
4343
4333
|
} }
|
|
4344
|
-
function
|
|
4334
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
4345
4335
|
i0.ɵɵelementContainerStart(0);
|
|
4346
|
-
i0.ɵɵtemplate(1,
|
|
4347
|
-
i0.ɵɵtemplate(2,
|
|
4336
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_td_1_Template, 1, 0, "td", 7);
|
|
4337
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_Template, 12, 12, "ng-container", 51);
|
|
4348
4338
|
i0.ɵɵelementContainerEnd();
|
|
4349
4339
|
} if (rf & 2) {
|
|
4350
|
-
const
|
|
4351
|
-
const
|
|
4340
|
+
const col_r66 = ctx.$implicit;
|
|
4341
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4352
4342
|
i0.ɵɵadvance(1);
|
|
4353
|
-
i0.ɵɵproperty("ngIf",
|
|
4343
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] == null || mod_r55[col_r66] == undefined);
|
|
4354
4344
|
i0.ɵɵadvance(1);
|
|
4355
|
-
i0.ɵɵproperty("ngIf",
|
|
4345
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] != null && mod_r55[col_r66] != undefined);
|
|
4356
4346
|
} }
|
|
4357
|
-
function
|
|
4358
|
-
const
|
|
4359
|
-
i0.ɵɵelementStart(0, "button",
|
|
4360
|
-
i0.ɵɵlistener("click", function
|
|
4347
|
+
function InfoGridComponent_table_10_tr_7_ng_container_3_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
4348
|
+
const _r135 = i0.ɵɵgetCurrentView();
|
|
4349
|
+
i0.ɵɵelementStart(0, "button", 73);
|
|
4350
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_3_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r135); const mod_r55 = i0.ɵɵnextContext(2).$implicit; const ctx_r133 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r133.access(mod_r55)); });
|
|
4361
4351
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
4362
4352
|
i0.ɵɵtext(2);
|
|
4363
4353
|
i0.ɵɵelementEnd()();
|
|
4364
4354
|
} if (rf & 2) {
|
|
4365
|
-
const
|
|
4355
|
+
const ctx_r132 = i0.ɵɵnextContext(4);
|
|
4366
4356
|
i0.ɵɵadvance(2);
|
|
4367
|
-
i0.ɵɵtextInterpolate(
|
|
4357
|
+
i0.ɵɵtextInterpolate(ctx_r132.accessicon || "arrow_forward");
|
|
4368
4358
|
} }
|
|
4369
|
-
function
|
|
4359
|
+
function InfoGridComponent_table_10_tr_7_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
4370
4360
|
i0.ɵɵelementContainerStart(0);
|
|
4371
|
-
i0.ɵɵelementStart(1, "td",
|
|
4372
|
-
i0.ɵɵtemplate(2,
|
|
4361
|
+
i0.ɵɵelementStart(1, "td", 71);
|
|
4362
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_3_button_2_Template, 3, 1, "button", 72);
|
|
4373
4363
|
i0.ɵɵelementEnd();
|
|
4374
4364
|
i0.ɵɵelementContainerEnd();
|
|
4375
4365
|
} if (rf & 2) {
|
|
4376
|
-
const
|
|
4366
|
+
const ctx_r59 = i0.ɵɵnextContext(3);
|
|
4377
4367
|
i0.ɵɵadvance(2);
|
|
4378
|
-
i0.ɵɵproperty("ngIf",
|
|
4368
|
+
i0.ɵɵproperty("ngIf", ctx_r59.enabledview);
|
|
4379
4369
|
} }
|
|
4380
|
-
function
|
|
4381
|
-
i0.ɵɵelementStart(0, "a",
|
|
4370
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4371
|
+
i0.ɵɵelementStart(0, "a", 79);
|
|
4382
4372
|
i0.ɵɵpipe(1, "translate");
|
|
4383
4373
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4384
4374
|
i0.ɵɵtext(3, "visibility");
|
|
4385
4375
|
i0.ɵɵelementEnd()();
|
|
4386
4376
|
} if (rf & 2) {
|
|
4387
|
-
const
|
|
4388
|
-
const
|
|
4389
|
-
i0.ɵɵpropertyInterpolate("href",
|
|
4377
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4378
|
+
const ctx_r137 = i0.ɵɵnextContext(2);
|
|
4379
|
+
i0.ɵɵpropertyInterpolate("href", ctx_r137.templateurl.replace("{id}", mod_r55.Id), i0.ɵɵsanitizeUrl);
|
|
4390
4380
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "Abrir"));
|
|
4391
4381
|
} }
|
|
4392
|
-
function
|
|
4393
|
-
const
|
|
4394
|
-
i0.ɵɵelementStart(0, "button",
|
|
4395
|
-
i0.ɵɵlistener("click", function
|
|
4382
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
4383
|
+
const _r149 = i0.ɵɵgetCurrentView();
|
|
4384
|
+
i0.ɵɵelementStart(0, "button", 80);
|
|
4385
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r149); const b_r145 = i0.ɵɵnextContext().$implicit; const mod_r55 = i0.ɵɵnextContext(3).$implicit; const ctx_r147 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(b_r145.modalComponent != null ? ctx_r147.openCustomModal(b_r145.modalComponent, b_r145.widthModalComponent, mod_r55) : b_r145.api != null ? ctx_r147.eventButton(mod_r55, b_r145.api, b_r145.method, b_r145.confirm) : ctx_r147.navigateTo(b_r145.navigateTo, b_r145.passId, mod_r55.Id)); });
|
|
4396
4386
|
i0.ɵɵpipe(1, "translate");
|
|
4397
4387
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4398
4388
|
i0.ɵɵtext(3);
|
|
4399
4389
|
i0.ɵɵelementEnd()();
|
|
4400
4390
|
} if (rf & 2) {
|
|
4401
|
-
const
|
|
4402
|
-
const
|
|
4403
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3,
|
|
4391
|
+
const b_r145 = i0.ɵɵnextContext().$implicit;
|
|
4392
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4393
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3, b_r145.label))("disabled", b_r145.disabledField && mod_r55[b_r145.disabledField] === true);
|
|
4404
4394
|
i0.ɵɵadvance(3);
|
|
4405
|
-
i0.ɵɵtextInterpolate(
|
|
4395
|
+
i0.ɵɵtextInterpolate(b_r145.icon);
|
|
4406
4396
|
} }
|
|
4407
|
-
function
|
|
4397
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
4408
4398
|
i0.ɵɵelementContainerStart(0);
|
|
4409
|
-
i0.ɵɵtemplate(1,
|
|
4399
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_button_1_Template, 4, 5, "button", 78);
|
|
4410
4400
|
i0.ɵɵelementContainerEnd();
|
|
4411
4401
|
} if (rf & 2) {
|
|
4412
|
-
const
|
|
4413
|
-
const
|
|
4402
|
+
const b_r145 = ctx.$implicit;
|
|
4403
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4414
4404
|
i0.ɵɵadvance(1);
|
|
4415
|
-
i0.ɵɵproperty("ngIf",
|
|
4405
|
+
i0.ɵɵproperty("ngIf", b_r145.showOnlyClass == null || b_r145.showOnlyClass == mod_r55.Class);
|
|
4416
4406
|
} }
|
|
4417
|
-
function
|
|
4418
|
-
const
|
|
4419
|
-
i0.ɵɵelementStart(0, "button",
|
|
4420
|
-
i0.ɵɵlistener("click", function
|
|
4407
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
4408
|
+
const _r156 = i0.ɵɵgetCurrentView();
|
|
4409
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4410
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r156); const mod_r55 = i0.ɵɵnextContext(3).$implicit; const ctx_r154 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r154.download(mod_r55.Download)); });
|
|
4421
4411
|
i0.ɵɵpipe(1, "translate");
|
|
4422
4412
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4423
4413
|
i0.ɵɵtext(3, "file_download");
|
|
@@ -4425,10 +4415,10 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_3_Template(r
|
|
|
4425
4415
|
} if (rf & 2) {
|
|
4426
4416
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Download"));
|
|
4427
4417
|
} }
|
|
4428
|
-
function
|
|
4429
|
-
const
|
|
4430
|
-
i0.ɵɵelementStart(0, "button",
|
|
4431
|
-
i0.ɵɵlistener("click", function
|
|
4418
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
4419
|
+
const _r159 = i0.ɵɵgetCurrentView();
|
|
4420
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4421
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r159); const mod_r55 = i0.ɵɵnextContext(3).$implicit; const ctx_r157 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r157.detail(mod_r55)); });
|
|
4432
4422
|
i0.ɵɵpipe(1, "translate");
|
|
4433
4423
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4434
4424
|
i0.ɵɵtext(3, "list");
|
|
@@ -4436,22 +4426,22 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_4_Template(r
|
|
|
4436
4426
|
} if (rf & 2) {
|
|
4437
4427
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Detalhe"));
|
|
4438
4428
|
} }
|
|
4439
|
-
function
|
|
4440
|
-
const
|
|
4441
|
-
i0.ɵɵelementStart(0, "button",
|
|
4442
|
-
i0.ɵɵlistener("click", function
|
|
4429
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
4430
|
+
const _r162 = i0.ɵɵgetCurrentView();
|
|
4431
|
+
i0.ɵɵelementStart(0, "button", 80);
|
|
4432
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r162); const mod_r55 = i0.ɵɵnextContext(3).$implicit; const ctx_r160 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r160.info(mod_r55 == null ? null : mod_r55.Info)); });
|
|
4443
4433
|
i0.ɵɵpipe(1, "translate");
|
|
4444
4434
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4445
4435
|
i0.ɵɵtext(3, "info");
|
|
4446
4436
|
i0.ɵɵelementEnd()();
|
|
4447
4437
|
} if (rf & 2) {
|
|
4448
|
-
const
|
|
4449
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "Informacao"))("disabled", (
|
|
4438
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4439
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "Informacao"))("disabled", (mod_r55 == null ? null : mod_r55.Info) == "");
|
|
4450
4440
|
} }
|
|
4451
|
-
function
|
|
4452
|
-
const
|
|
4453
|
-
i0.ɵɵelementStart(0, "button",
|
|
4454
|
-
i0.ɵɵlistener("click", function
|
|
4441
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
4442
|
+
const _r166 = i0.ɵɵgetCurrentView();
|
|
4443
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4444
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r166); const mod_r55 = i0.ɵɵnextContext(3).$implicit; const ctx_r164 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r164.delete(mod_r55)); });
|
|
4455
4445
|
i0.ɵɵpipe(1, "translate");
|
|
4456
4446
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4457
4447
|
i0.ɵɵtext(3, "delete");
|
|
@@ -4459,10 +4449,10 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_6_Template(r
|
|
|
4459
4449
|
} if (rf & 2) {
|
|
4460
4450
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Excluir"));
|
|
4461
4451
|
} }
|
|
4462
|
-
function
|
|
4463
|
-
const
|
|
4464
|
-
i0.ɵɵelementStart(0, "button",
|
|
4465
|
-
i0.ɵɵlistener("click", function
|
|
4452
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
4453
|
+
const _r169 = i0.ɵɵgetCurrentView();
|
|
4454
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4455
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r169); const mod_r55 = i0.ɵɵnextContext(3).$implicit; const ctx_r167 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r167.edit(mod_r55)); });
|
|
4466
4456
|
i0.ɵɵpipe(1, "translate");
|
|
4467
4457
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4468
4458
|
i0.ɵɵtext(3, "arrow_forward");
|
|
@@ -4470,93 +4460,93 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_7_Template(r
|
|
|
4470
4460
|
} if (rf & 2) {
|
|
4471
4461
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Acessar"));
|
|
4472
4462
|
} }
|
|
4473
|
-
function
|
|
4474
|
-
i0.ɵɵelementStart(0, "td",
|
|
4475
|
-
i0.ɵɵtemplate(1,
|
|
4476
|
-
i0.ɵɵtemplate(2,
|
|
4477
|
-
i0.ɵɵtemplate(3,
|
|
4478
|
-
i0.ɵɵtemplate(4,
|
|
4479
|
-
i0.ɵɵtemplate(5,
|
|
4480
|
-
i0.ɵɵtemplate(6,
|
|
4481
|
-
i0.ɵɵtemplate(7,
|
|
4463
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
4464
|
+
i0.ɵɵelementStart(0, "td", 75);
|
|
4465
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_a_1_Template, 4, 4, "a", 76);
|
|
4466
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_Template, 2, 1, "ng-container", 18);
|
|
4467
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_3_Template, 4, 3, "button", 77);
|
|
4468
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_4_Template, 4, 3, "button", 77);
|
|
4469
|
+
i0.ɵɵtemplate(5, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_5_Template, 4, 4, "button", 78);
|
|
4470
|
+
i0.ɵɵtemplate(6, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_6_Template, 4, 3, "button", 77);
|
|
4471
|
+
i0.ɵɵtemplate(7, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_7_Template, 4, 3, "button", 77);
|
|
4482
4472
|
i0.ɵɵelementEnd();
|
|
4483
4473
|
} if (rf & 2) {
|
|
4484
|
-
const
|
|
4485
|
-
const
|
|
4474
|
+
const mod_r55 = i0.ɵɵnextContext(2).$implicit;
|
|
4475
|
+
const ctx_r136 = i0.ɵɵnextContext(2);
|
|
4486
4476
|
i0.ɵɵadvance(1);
|
|
4487
|
-
i0.ɵɵproperty("ngIf",
|
|
4477
|
+
i0.ɵɵproperty("ngIf", ctx_r136.templateurl != "");
|
|
4488
4478
|
i0.ɵɵadvance(1);
|
|
4489
|
-
i0.ɵɵproperty("ngForOf",
|
|
4479
|
+
i0.ɵɵproperty("ngForOf", ctx_r136.buttons);
|
|
4490
4480
|
i0.ɵɵadvance(1);
|
|
4491
|
-
i0.ɵɵproperty("ngIf",
|
|
4481
|
+
i0.ɵɵproperty("ngIf", mod_r55.Download != null);
|
|
4492
4482
|
i0.ɵɵadvance(1);
|
|
4493
|
-
i0.ɵɵproperty("ngIf",
|
|
4483
|
+
i0.ɵɵproperty("ngIf", ctx_r136.enableddetail);
|
|
4494
4484
|
i0.ɵɵadvance(1);
|
|
4495
|
-
i0.ɵɵproperty("ngIf", (
|
|
4485
|
+
i0.ɵɵproperty("ngIf", (mod_r55 == null ? null : mod_r55.Info) != null);
|
|
4496
4486
|
i0.ɵɵadvance(1);
|
|
4497
|
-
i0.ɵɵproperty("ngIf", (
|
|
4487
|
+
i0.ɵɵproperty("ngIf", (ctx_r136.disabledcol == "" || mod_r55[ctx_r136.disabledcol] === true) && ctx_r136.enableddelete && ctx_r136.hasPermissionDelete && !mod_r55.HideDelete);
|
|
4498
4488
|
i0.ɵɵadvance(1);
|
|
4499
|
-
i0.ɵɵproperty("ngIf", (
|
|
4489
|
+
i0.ɵɵproperty("ngIf", (ctx_r136.disabledcol == "" || mod_r55[ctx_r136.disabledcol] === true) && ctx_r136.enablededit && ctx_r136.hasPermissionEdit || ctx_r136.enabledview);
|
|
4500
4490
|
} }
|
|
4501
|
-
function
|
|
4491
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
4502
4492
|
i0.ɵɵelementContainerStart(0);
|
|
4503
|
-
i0.ɵɵtemplate(1,
|
|
4493
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_Template, 8, 7, "td", 74);
|
|
4504
4494
|
i0.ɵɵelementContainerEnd();
|
|
4505
4495
|
} if (rf & 2) {
|
|
4506
|
-
const
|
|
4507
|
-
const
|
|
4496
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4497
|
+
const ctx_r60 = i0.ɵɵnextContext(2);
|
|
4508
4498
|
i0.ɵɵadvance(1);
|
|
4509
|
-
i0.ɵɵproperty("ngIf",
|
|
4499
|
+
i0.ɵɵproperty("ngIf", ctx_r60.templateurl != "" || ctx_r60.buttons != null && ctx_r60.buttons.length > 0 || mod_r55.Download != null || ctx_r60.enableddetail || (mod_r55 == null ? null : mod_r55.Info) != null || ctx_r60.enabledview || (ctx_r60.disabledcol == "" || mod_r55[ctx_r60.disabledcol] === true) && ctx_r60.enablededit && ctx_r60.hasPermissionEdit || (ctx_r60.disabledcol == "" || mod_r55[ctx_r60.disabledcol] === true) && ctx_r60.enableddelete && ctx_r60.hasPermissionDelete);
|
|
4510
4500
|
} }
|
|
4511
4501
|
const _c9 = function (a0) { return { "default-color": a0 }; };
|
|
4512
|
-
function
|
|
4513
|
-
const
|
|
4514
|
-
i0.ɵɵelementStart(0, "tr",
|
|
4515
|
-
i0.ɵɵlistener("click", function
|
|
4516
|
-
i0.ɵɵtemplate(1,
|
|
4517
|
-
i0.ɵɵtemplate(2,
|
|
4518
|
-
i0.ɵɵtemplate(3,
|
|
4519
|
-
i0.ɵɵtemplate(4,
|
|
4502
|
+
function InfoGridComponent_table_10_tr_7_Template(rf, ctx) { if (rf & 1) {
|
|
4503
|
+
const _r173 = i0.ɵɵgetCurrentView();
|
|
4504
|
+
i0.ɵɵelementStart(0, "tr", 48);
|
|
4505
|
+
i0.ɵɵlistener("click", function InfoGridComponent_table_10_tr_7_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r173); const mod_r55 = restoredCtx.$implicit; const ctx_r172 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r172.access(mod_r55)); });
|
|
4506
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_td_1_Template, 2, 1, "td", 7);
|
|
4507
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_Template, 3, 2, "ng-container", 18);
|
|
4508
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_3_Template, 3, 1, "ng-container", 7);
|
|
4509
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_4_Template, 2, 1, "ng-container", 7);
|
|
4520
4510
|
i0.ɵɵelementEnd();
|
|
4521
4511
|
} if (rf & 2) {
|
|
4522
|
-
const
|
|
4523
|
-
const
|
|
4524
|
-
i0.ɵɵclassMap(
|
|
4525
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c9, !
|
|
4512
|
+
const mod_r55 = ctx.$implicit;
|
|
4513
|
+
const ctx_r42 = i0.ɵɵnextContext(2);
|
|
4514
|
+
i0.ɵɵclassMap(mod_r55.Class);
|
|
4515
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c9, !ctx_r42.enabledclassicons));
|
|
4526
4516
|
i0.ɵɵadvance(1);
|
|
4527
|
-
i0.ɵɵproperty("ngIf",
|
|
4517
|
+
i0.ɵɵproperty("ngIf", ctx_r42.enabledclassicons && (mod_r55 == null ? null : mod_r55.Icon) != null);
|
|
4528
4518
|
i0.ɵɵadvance(1);
|
|
4529
|
-
i0.ɵɵproperty("ngForOf",
|
|
4519
|
+
i0.ɵɵproperty("ngForOf", ctx_r42.colunasItens);
|
|
4530
4520
|
i0.ɵɵadvance(1);
|
|
4531
|
-
i0.ɵɵproperty("ngIf",
|
|
4521
|
+
i0.ɵɵproperty("ngIf", ctx_r42.enabledclickaccess);
|
|
4532
4522
|
i0.ɵɵadvance(1);
|
|
4533
|
-
i0.ɵɵproperty("ngIf", !
|
|
4523
|
+
i0.ɵɵproperty("ngIf", !ctx_r42.enabledclickaccess);
|
|
4534
4524
|
} }
|
|
4535
4525
|
const _c10 = function (a0) { return { "min-height.px": a0 }; };
|
|
4536
4526
|
const _c11 = function (a0, a1) { return { "loading": a0, "clickaccess": a1 }; };
|
|
4537
|
-
function
|
|
4538
|
-
i0.ɵɵelementStart(0, "table",
|
|
4539
|
-
i0.ɵɵtemplate(3,
|
|
4540
|
-
i0.ɵɵtemplate(4,
|
|
4541
|
-
i0.ɵɵtemplate(5,
|
|
4527
|
+
function InfoGridComponent_table_10_Template(rf, ctx) { if (rf & 1) {
|
|
4528
|
+
i0.ɵɵelementStart(0, "table", 33)(1, "thead")(2, "tr");
|
|
4529
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_th_3_Template, 1, 0, "th", 34);
|
|
4530
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_ng_container_4_Template, 3, 2, "ng-container", 18);
|
|
4531
|
+
i0.ɵɵtemplate(5, InfoGridComponent_table_10_th_5_Template, 3, 2, "th", 35);
|
|
4542
4532
|
i0.ɵɵelementEnd()();
|
|
4543
|
-
i0.ɵɵelementStart(6, "tbody",
|
|
4544
|
-
i0.ɵɵtemplate(7,
|
|
4533
|
+
i0.ɵɵelementStart(6, "tbody", 36);
|
|
4534
|
+
i0.ɵɵtemplate(7, InfoGridComponent_table_10_tr_7_Template, 5, 9, "tr", 37);
|
|
4545
4535
|
i0.ɵɵelementEnd()();
|
|
4546
4536
|
} if (rf & 2) {
|
|
4547
|
-
const
|
|
4548
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c10,
|
|
4537
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
4538
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c10, ctx_r5.tableHeight))("ngClass", i0.ɵɵpureFunction2(8, _c11, ctx_r5.loading, ctx_r5.enabledclickaccess));
|
|
4549
4539
|
i0.ɵɵadvance(3);
|
|
4550
|
-
i0.ɵɵproperty("ngIf",
|
|
4540
|
+
i0.ɵɵproperty("ngIf", ctx_r5.enabledclassicons && (ctx_r5.data == null ? null : ctx_r5.data.length) > 0 && (ctx_r5.data[0] == null ? null : ctx_r5.data[0].Icon) != null);
|
|
4551
4541
|
i0.ɵɵadvance(1);
|
|
4552
|
-
i0.ɵɵproperty("ngForOf",
|
|
4542
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.colunasHeaders);
|
|
4553
4543
|
i0.ɵɵadvance(1);
|
|
4554
|
-
i0.ɵɵproperty("ngIf",
|
|
4544
|
+
i0.ɵɵproperty("ngIf", ctx_r5.templateurl != "" || ctx_r5.buttons != null && ctx_r5.buttons.length > 0 || ctx_r5.enableddetail || ctx_r5.enabledview || ctx_r5.enabledcols || ctx_r5.disabledcol == "" && ctx_r5.enablededit && ctx_r5.hasPermissionEdit || ctx_r5.disabledcol == "" && ctx_r5.enableddelete && ctx_r5.hasPermissionDelete);
|
|
4555
4545
|
i0.ɵɵadvance(2);
|
|
4556
|
-
i0.ɵɵproperty("ngForOf",
|
|
4546
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.data);
|
|
4557
4547
|
} }
|
|
4558
|
-
function
|
|
4559
|
-
i0.ɵɵelementStart(0, "span",
|
|
4548
|
+
function InfoGridComponent_span_11_Template(rf, ctx) { if (rf & 1) {
|
|
4549
|
+
i0.ɵɵelementStart(0, "span", 82);
|
|
4560
4550
|
i0.ɵɵtext(1);
|
|
4561
4551
|
i0.ɵɵpipe(2, "translate");
|
|
4562
4552
|
i0.ɵɵelementEnd();
|
|
@@ -4564,8 +4554,8 @@ function InfoGridComponent_span_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
4564
4554
|
i0.ɵɵadvance(1);
|
|
4565
4555
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "NenhumItemEncontrado"));
|
|
4566
4556
|
} }
|
|
4567
|
-
function
|
|
4568
|
-
i0.ɵɵelement(0, "div",
|
|
4557
|
+
function InfoGridComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
4558
|
+
i0.ɵɵelement(0, "div", 83);
|
|
4569
4559
|
} }
|
|
4570
4560
|
const _c12 = function (a0) { return { "table-full": a0 }; };
|
|
4571
4561
|
const _c13 = function (a0) { return { "padding": a0 }; };
|
|
@@ -4701,7 +4691,6 @@ class InfoGridComponent {
|
|
|
4701
4691
|
this.setColumns();
|
|
4702
4692
|
}
|
|
4703
4693
|
ngOnInit() {
|
|
4704
|
-
console.log('oi');
|
|
4705
4694
|
clearTimeout(this.callTimeout);
|
|
4706
4695
|
this.url = (this._activatedRoute.snapshot.data['URL'] || this._router.url).toLowerCase();
|
|
4707
4696
|
this._renderer.addClass(this._element.nativeElement, 'uxc' + this._platform.Config.ux);
|
|
@@ -4829,8 +4818,6 @@ class InfoGridComponent {
|
|
|
4829
4818
|
}
|
|
4830
4819
|
}
|
|
4831
4820
|
setItensExpandidos() {
|
|
4832
|
-
if (!this.enabledexpand)
|
|
4833
|
-
return;
|
|
4834
4821
|
this.colunasItensExpandidos = [];
|
|
4835
4822
|
for (let i = 0; i < this.data?.length; i++) {
|
|
4836
4823
|
let row = [];
|
|
@@ -5237,7 +5224,7 @@ class InfoGridComponent {
|
|
|
5237
5224
|
let _t;
|
|
5238
5225
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.formSearch = _t.first);
|
|
5239
5226
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paginator = _t.first);
|
|
5240
|
-
} }, inputs: { pagetitle: "pagetitle", prefixtitle: "prefixtitle", description: "description", pagebarbuttons: "pagebarbuttons", fullarea: "fullarea", api: "api", method: "method", form: "form", width: "width", parent: "parent", apidownload: "apidownload", methoddownload: "methoddownload", backurl: "backurl", newurl: "newurl", newlabel: "newlabel", editurl: "editurl", viewurl: "viewurl", templateurl: "templateurl", paged: "paged", size: "size", autorefresh: "autorefresh", enabledcols: "enabledcols", enablednew: "enablednew", enablededit: "enablededit", enableddelete: "enableddelete", enabledview: "enabledview", enabledcancelsearch: "enabledcancelsearch", enableddetail: "enableddetail", enabledclassicons: "enabledclassicons", enabledclickaccess: "enabledclickaccess", enabledclickevent: "enabledclickevent", enabledexpand: "enabledexpand", searchopened: "searchopened", searchonlyonebutton: "searchonlyonebutton", disablesearchlast: "disablesearchlast", statictitle: "statictitle", disabledcol: "disabledcol", accessicon: "accessicon", loadoninit: "loadoninit", data: "data", searchmodel: "searchmodel", dynamiccols: "dynamiccols", buttons: "buttons", searchbuttons: "searchbuttons", showmessageerror: "showmessageerror", defaultnewobject: "defaultnewobject", parentIdUrl: "parentIdUrl", cols: "cols" }, outputs: { onbeforesearch: "onbeforesearch", onloadcomplete: "onloadcomplete", onclosemodal: "onclosemodal", onnew: "onnew", onedit: "onedit", onview: "onview", ondelete: "ondelete", customdelete: "customdelete", parentIdUrlChange: "parentIdUrlChange" }, features: [i0.ɵɵProvidersFeature([InfoFormPropModel])], ngContentSelectors: _c14, decls:
|
|
5227
|
+
} }, inputs: { pagetitle: "pagetitle", prefixtitle: "prefixtitle", description: "description", pagebarbuttons: "pagebarbuttons", fullarea: "fullarea", api: "api", method: "method", form: "form", width: "width", parent: "parent", apidownload: "apidownload", methoddownload: "methoddownload", backurl: "backurl", newurl: "newurl", newlabel: "newlabel", editurl: "editurl", viewurl: "viewurl", templateurl: "templateurl", paged: "paged", size: "size", autorefresh: "autorefresh", enabledcols: "enabledcols", enablednew: "enablednew", enablededit: "enablededit", enableddelete: "enableddelete", enabledview: "enabledview", enabledcancelsearch: "enabledcancelsearch", enableddetail: "enableddetail", enabledclassicons: "enabledclassicons", enabledclickaccess: "enabledclickaccess", enabledclickevent: "enabledclickevent", enabledexpand: "enabledexpand", searchopened: "searchopened", searchonlyonebutton: "searchonlyonebutton", disablesearchlast: "disablesearchlast", statictitle: "statictitle", disabledcol: "disabledcol", accessicon: "accessicon", loadoninit: "loadoninit", data: "data", searchmodel: "searchmodel", dynamiccols: "dynamiccols", buttons: "buttons", searchbuttons: "searchbuttons", showmessageerror: "showmessageerror", defaultnewobject: "defaultnewobject", parentIdUrl: "parentIdUrl", cols: "cols" }, outputs: { onbeforesearch: "onbeforesearch", onloadcomplete: "onloadcomplete", onclosemodal: "onclosemodal", onnew: "onnew", onedit: "onedit", onview: "onview", ondelete: "ondelete", customdelete: "customdelete", parentIdUrlChange: "parentIdUrlChange" }, features: [i0.ɵɵProvidersFeature([InfoFormPropModel])], ngContentSelectors: _c14, decls: 16, vars: 16, consts: [["icon", "work", 3, "pagetitle", "description", 4, "ngIf"], [3, "ngClass"], [1, "table-responsive", "white"], [1, "table-title", "grid-search", 3, "ngStyle"], ["autocomplete", "off", 3, "ngSubmit"], ["formSearch", "ngForm"], ["class", "search-container row", 4, "ngIf"], [4, "ngIf"], [1, "loading-bar"], ["color", "primary", "mode", "indeterminate", 4, "ngIf"], ["class", "table table-hover", 3, "ngStyle", "ngClass", 4, "ngIf"], ["class", "blank-table", 4, "ngIf"], [3, "hidden", "size", "change"], ["paginator", ""], ["class", "block", 4, "ngIf"], [3, "messages"], ["icon", "work", 3, "pagetitle", "description"], ["mat-button", "", "type", "button", "color", "primary", 3, "click", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["mat-button", "", "type", "button", "color", "primary", 3, "click"], [1, "fs-20"], ["type", "button", "mat-button", "", "color", "primary", 3, "click"], ["class", "fs-20", 4, "ngIf"], [1, "search-container", "row"], [1, "row"], [3, "class", 4, "ngIf"], [1, "search-buttons"], ["mat-button", "", "type", "submit", "color", "primary", 3, "disabled"], ["mat-button", "", "type", "button", "color", "warn", 3, "click", 4, "ngIf"], ["mat-button", "", "type", "button", "color", "warn", 3, "click"], ["mat-button", "", "type", "button", "color", "primary", 3, "disabled", "click"], [3, "innerHTML"], ["color", "primary", "mode", "indeterminate"], [1, "table", "table-hover", 3, "ngStyle", "ngClass"], ["style", "width: 5%;", 4, "ngIf"], ["class", "actions align-right buttons", 4, "ngIf"], [1, "grid-content"], [3, "ngClass", "class", "click", 4, "ngFor", "ngForOf"], [2, "width", "5%"], [3, "class", "ngClass", 4, "ngIf"], [3, "ngStyle", "ngClass", 4, "ngIf"], [3, "ngStyle", "ngClass"], [1, "actions", "align-right", "buttons"], ["mat-icon-button", "", "type", "button", "matTooltipPosition", "left", 3, "matTooltip", "click", 4, "ngIf"], ["mat-icon-button", "", "type", "button", "class", "managercols", "matTooltipPosition", "left", 3, "matTooltip", "click", 4, "ngIf"], ["mat-icon-button", "", "type", "button", "matTooltipPosition", "left", 3, "matTooltip", "click"], ["mat-icon-button", "", "type", "button", "matTooltipPosition", "left", 1, "managercols", 3, "matTooltip", "click"], [1, "icon-out"], [3, "ngClass", "click"], ["class", "material-icons", 3, "matTooltip", "ngClass", 4, "ngIf"], [1, "material-icons", 3, "matTooltip", "ngClass"], [3, "ngSwitch", 4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["nowrap", "", 3, "innerHTML", 4, "ngSwitchCase"], ["nowrap", "", 4, "ngSwitchCase"], ["nowrap", "", 3, "class", 4, "ngSwitchCase"], ["class", "text-center", 4, "ngSwitchCase"], [3, "ngClass", 4, "ngIf"], [3, "ngClass", "innerHTML", 4, "ngIf"], ["class", "break-word", 3, "ngClass", 4, "ngIf"], ["class", "mostrar-mais", 3, "ngClass", "click", 4, "ngIf"], [3, "ngClass", "innerHTML"], [1, "break-word", 3, "ngClass"], [1, "mostrar-mais", 3, "ngClass", "click"], ["nowrap", "", 3, "innerHTML"], ["nowrap", ""], [1, "text-center"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["checked", ""], ["unchecked", ""], [1, "td-actions", "clickaccess"], ["mat-icon-button", "", "type", "button", 3, "click", 4, "ngIf"], ["mat-icon-button", "", "type", "button", 3, "click"], ["class", "td-actions", 4, "ngIf"], [1, "td-actions"], ["mat-icon-button", "", "target", "_blank", 3, "href", "matTooltip", 4, "ngIf"], ["mat-icon-button", "", "type", "button", 3, "matTooltip", "click", 4, "ngIf"], ["mat-icon-button", "", "type", "button", 3, "matTooltip", "disabled", "click", 4, "ngIf"], ["mat-icon-button", "", "target", "_blank", 3, "href", "matTooltip"], ["mat-icon-button", "", "type", "button", 3, "matTooltip", "disabled", "click"], ["mat-icon-button", "", "type", "button", 3, "matTooltip", "click"], [1, "blank-table"], [1, "block"]], template: function InfoGridComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5241
5228
|
i0.ɵɵprojectionDef();
|
|
5242
5229
|
i0.ɵɵtemplate(0, InfoGridComponent_info_pagebar_0_Template, 6, 7, "info-pagebar", 0);
|
|
5243
5230
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "form", 4, 5);
|
|
@@ -5248,20 +5235,19 @@ class InfoGridComponent {
|
|
|
5248
5235
|
i0.ɵɵelementStart(8, "section", 8);
|
|
5249
5236
|
i0.ɵɵtemplate(9, InfoGridComponent_mat_progress_bar_9_Template, 1, 0, "mat-progress-bar", 9);
|
|
5250
5237
|
i0.ɵɵelementEnd();
|
|
5251
|
-
i0.ɵɵtemplate(10,
|
|
5252
|
-
i0.ɵɵtemplate(11,
|
|
5253
|
-
i0.ɵɵ
|
|
5254
|
-
i0.ɵɵ
|
|
5255
|
-
i0.ɵɵlistener("change", function InfoGridComponent_Template_info_paginator_change_13_listener($event) { return ctx.changePage($event); });
|
|
5238
|
+
i0.ɵɵtemplate(10, InfoGridComponent_table_10_Template, 8, 11, "table", 10);
|
|
5239
|
+
i0.ɵɵtemplate(11, InfoGridComponent_span_11_Template, 3, 3, "span", 11);
|
|
5240
|
+
i0.ɵɵelementStart(12, "info-paginator", 12, 13);
|
|
5241
|
+
i0.ɵɵlistener("change", function InfoGridComponent_Template_info_paginator_change_12_listener($event) { return ctx.changePage($event); });
|
|
5256
5242
|
i0.ɵɵelementEnd()()();
|
|
5257
|
-
i0.ɵɵtemplate(
|
|
5258
|
-
i0.ɵɵelement(
|
|
5243
|
+
i0.ɵɵtemplate(14, InfoGridComponent_div_14_Template, 1, 0, "div", 14);
|
|
5244
|
+
i0.ɵɵelement(15, "info-alert", 15);
|
|
5259
5245
|
} if (rf & 2) {
|
|
5260
5246
|
i0.ɵɵproperty("ngIf", ctx.showPagebar);
|
|
5261
5247
|
i0.ɵɵadvance(1);
|
|
5262
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
5248
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c12, ctx.fullarea));
|
|
5263
5249
|
i0.ɵɵadvance(2);
|
|
5264
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
5250
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c13, (ctx.enabledSearch ? 10 : 0) + "px 20px"));
|
|
5265
5251
|
i0.ɵɵadvance(3);
|
|
5266
5252
|
i0.ɵɵproperty("ngIf", ctx.enabledSearch);
|
|
5267
5253
|
i0.ɵɵadvance(1);
|
|
@@ -5269,8 +5255,6 @@ class InfoGridComponent {
|
|
|
5269
5255
|
i0.ɵɵadvance(2);
|
|
5270
5256
|
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
5271
5257
|
i0.ɵɵadvance(1);
|
|
5272
|
-
i0.ɵɵproperty("ngIf", ctx.autorefresh > 0);
|
|
5273
|
-
i0.ɵɵadvance(1);
|
|
5274
5258
|
i0.ɵɵproperty("ngIf", ctx.data != null);
|
|
5275
5259
|
i0.ɵɵadvance(1);
|
|
5276
5260
|
i0.ɵɵproperty("ngIf", ctx.data != null && ctx.data.length == 0);
|
|
@@ -5280,10 +5264,10 @@ class InfoGridComponent {
|
|
|
5280
5264
|
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
5281
5265
|
i0.ɵɵadvance(1);
|
|
5282
5266
|
i0.ɵɵproperty("messages", ctx.messages);
|
|
5283
|
-
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i1$2.NgStyle, i1$2.NgSwitch, i1$2.NgSwitchCase, i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.MatIcon, i13.MatButton, i13.MatAnchor, i7.MatProgressBar, i15.MatTooltip, InfoAlertComponent, InfoPaginatorComponent, InfoPagebarComponent, i1$2.DecimalPipe, i1$2.DatePipe, InfoTranslatePipe], styles: ["[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] #auto-refresh[_ngcontent-%COMP%]{position:absolute;top:8px;right:0;margin:0;padding:0;background:transparent}[_nghost-%COMP%] #auto-refresh[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:18px;cursor:default}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%]{background:#fcfcfc}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:25px;height:25px;line-height:25px;text-align:center}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:18px}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{transition:color .2s}[_nghost-%COMP%] .search-container[_ngcontent-%COMP%]{margin-top:10px;position:relative}[_nghost-%COMP%] .title-grid[_ngcontent-%COMP%]{padding-top:8px;font-size:.8rem;text-transform:uppercase;font-weight:700}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_id[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_dia[_ngcontent-%COMP%]{width:80px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_moeda[_ngcontent-%COMP%]{width:90px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_dataposicao[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_referencia[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_data[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_datacotacao[_ngcontent-%COMP%]{width:125px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_conta[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_identificador[_ngcontent-%COMP%]{width:250px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_cliente[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_nome[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_descricao[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_nome[_ngcontent-%COMP%]{width:400px}[_nghost-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .icone-secundario[_ngcontent-%COMP%]{font-size:12px}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table-title[_ngcontent-%COMP%]{padding:0!important}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background:transparent}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:none;text-transform:capitalize;padding:
|
|
5267
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i1$2.NgStyle, i1$2.NgSwitch, i1$2.NgSwitchCase, i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.NgForm, i4.MatIcon, i13.MatButton, i13.MatAnchor, i7.MatProgressBar, i15.MatTooltip, InfoAlertComponent, InfoPaginatorComponent, InfoPagebarComponent, i1$2.DecimalPipe, i1$2.DatePipe, InfoTranslatePipe], styles: ["[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] #auto-refresh[_ngcontent-%COMP%]{position:absolute;top:8px;right:0;margin:0;padding:0;background:transparent}[_nghost-%COMP%] #auto-refresh[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:18px;cursor:default}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%]{background:#fcfcfc}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:25px;height:25px;line-height:25px;text-align:center}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:18px}[_nghost-%COMP%] .table-title[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{transition:color .2s}[_nghost-%COMP%] .search-container[_ngcontent-%COMP%]{margin-top:10px;position:relative}[_nghost-%COMP%] .title-grid[_ngcontent-%COMP%]{padding-top:8px;font-size:.8rem;text-transform:uppercase;font-weight:700}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_id[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_dia[_ngcontent-%COMP%]{width:80px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_moeda[_ngcontent-%COMP%]{width:90px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_dataposicao[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_referencia[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_data[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_datacotacao[_ngcontent-%COMP%]{width:125px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_conta[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_identificador[_ngcontent-%COMP%]{width:250px}[_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_cliente[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_nome[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_descricao[_ngcontent-%COMP%], [_nghost-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] .col_nome[_ngcontent-%COMP%]{width:400px}[_nghost-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] .icone-secundario[_ngcontent-%COMP%]{font-size:12px}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table-title[_ngcontent-%COMP%]{padding:0!important}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background:transparent}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-top:none;text-transform:capitalize;padding:5px;font-size:10px}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.actions[_ngcontent-%COMP%]{border-bottom-width:0}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:after{display:none}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%] .managercols[_ngcontent-%COMP%]{background-color:var(--ux-cor-P);right:0;opacity:0;transition:opacity .3s ease-in-out}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]:hover .managercols[_ngcontent-%COMP%]{opacity:1!important}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:40px;background:#f9f9f9}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:13px;font-weight:600;cursor:default;transition:color .2s ease-in-out}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .mostrar-mais[_ngcontent-%COMP%]{width:100%;display:flex;position:relative;bottom:18px;box-shadow:0 -6px 6px -3px RGB(0 0 0/20%);align-items:baseline;justify-content:center;background-color:#f9f9f9}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .mostrar-mais[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:5px;line-height:11px;cursor:pointer;transition:transform .2s ease-in-out;transform:rotate(0)}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .mostrar-mais[_ngcontent-%COMP%] .mat-icon.icone-expandido[_ngcontent-%COMP%]{transform:rotate(180deg)}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .mostrar-mais.mostrar-mais-expandido[_ngcontent-%COMP%]{bottom:0;box-shadow:none}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.td-actions[_ngcontent-%COMP%]{padding-top:7px;padding-bottom:6px;border-bottom:none;margin-top:1px}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.td-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{pointer-events:none;opacity:.4}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:17px;line-height:17px}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{position:relative;text-transform:uppercase;border:solid 1px;border-radius:3px;padding:2px 5px;font-size:8px;display:inline-block;margin:0 0 0 5px;top:-2px}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .td-expansivel[_ngcontent-%COMP%] .label-expansivel[_ngcontent-%COMP%]{overflow:hidden;height:35px}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .td-expansivel[_ngcontent-%COMP%] .label-expansivel.break-word[_ngcontent-%COMP%]{word-break:break-word}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .td-expansivel[_ngcontent-%COMP%] .label-expansivel.label-expandida[_ngcontent-%COMP%]{height:100%}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background:#f9f9f9}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover .mostrar-mais[_ngcontent-%COMP%]{background-color:#f9f9f9}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even):hover{background:#fff}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even):hover .mostrar-mais[_ngcontent-%COMP%]{background-color:#fff}.uxc3[_nghost-%COMP%] div.table-responsive[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even):hover .td-actions[_ngcontent-%COMP%]{background:#fff}"] });
|
|
5284
5268
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InfoGridComponent, [{
|
|
5285
5269
|
type: Component,
|
|
5286
|
-
args: [{ selector: 'info-grid', providers: [InfoFormPropModel], template: "<info-pagebar *ngIf=\"showPagebar\" icon=\"work\" [pagetitle]=\"pagebarTitle\" [description]=\"description\">\r\n <button mat-button type=\"button\" *ngIf=\"backurl != null && backurl != ''\" color=\"primary\" (click)=\"back()\">\r\n <mat-icon class=\"fs-20\">chevron_left</mat-icon>{{\"Voltar\" | translate}}\r\n </button>\r\n\r\n <ng-container *ngFor=\"let b of pagebarbuttons\">\r\n <button type=\"button\" mat-button color=\"primary\" (click)=\"b.modal == null ? navigateTo(b.url, false, null) : openCustomModal(b.modal, b.modalwidth, null)\">\r\n <mat-icon *ngIf=\"b.icon != 'chevron_right'\" class=\"fs-20\">{{ b.icon }}</mat-icon>\r\n {{ b.label | translate }}\r\n </button>\r\n </ng-container>\r\n\r\n <button mat-button type=\"button\" *ngIf=\"searchmodel != null && !enabledSearch\" color=\"primary\" (click)=\"enabledSearch = !enabledSearch\">\r\n <mat-icon class=\"fs-20\">search</mat-icon> {{ \"Pesquisar\" | translate}}\r\n </button>\r\n\r\n <button mat-button type=\"button\" *ngIf=\"searchmodel != null && enabledSearch\" color=\"primary\" (click)=\"enabledSearch = !enabledSearch\">\r\n <mat-icon class=\"fs-20\">search_off</mat-icon> {{ \"Ocultar\" | translate}}\r\n </button>\r\n\r\n <button mat-button type=\"button\" *ngIf=\"enablednew && hasPermissionNew\" color=\"primary\" (click)=\"add()\">\r\n <mat-icon class=\"fs-20\">add</mat-icon> {{ newlabel | translate}}\r\n </button>\r\n</info-pagebar>\r\n\r\n<div [ngClass]=\"{ 'table-full': fullarea }\">\r\n <div class=\"table-responsive white\">\r\n <div class=\"table-title grid-search\" [ngStyle]=\"{ 'padding': (enabledSearch ? 10 : 0) + 'px 20px' }\">\r\n <form autocomplete=\"off\" #formSearch=\"ngForm\" (ngSubmit)=\"search()\">\r\n <div *ngIf=\"enabledSearch\" class=\"search-container row\">\r\n <div class=\"col-md-{{(searchbuttons || []).length == 0 ? '10' : '9' }}\">\r\n <div class=\"row\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"col-md-{{(searchbuttons || []).length == 0 ? '2' : '3' }} align-right\" *ngIf=\"searchmodel != null\">\r\n <div class=\"search-buttons \">\r\n <ng-container *ngIf=\"searchonlyonebutton\">\r\n <button mat-button type=\"submit\" color=\"primary\" [disabled]=\"formSearch.invalid || loading\">\r\n {{ 'Buscar' | translate }}\r\n </button>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!searchonlyonebutton\">\r\n <button mat-button type=\"button\" color=\"warn\" (click)=\"cancelSearch()\" *ngIf=\"enabledcancelsearch\">\r\n <mat-icon class=\"fs-20\">close</mat-icon>\r\n </button>\r\n <button mat-button type=\"submit\" color=\"primary\" [disabled]=\"formSearch.invalid || loading\">\r\n <mat-icon class=\"fs-20\">search</mat-icon>\r\n </button>\r\n \r\n <ng-container *ngFor=\"let b of searchbuttons\">\r\n <button mat-button type=\"button\" color=\"primary\" [disabled]=\"formSearch.invalid || loading\" (click)=\"b.method()\">\r\n <mat-icon *ngIf=\"b.icon\" class=\"fs-20\">{{b.icon | translate}}</mat-icon> {{b.label | translate}}\r\n </button>\r\n </ng-container>\r\n \r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n\r\n <fieldset *ngIf=\"!showPagebar\"><legend [innerHTML]=\"pagebarTitle | translate\"></legend></fieldset>\r\n <section class=\"loading-bar\"><mat-progress-bar color=\"primary\" mode=\"indeterminate\" *ngIf=\"loading\"></mat-progress-bar></section>\r\n\r\n <div id=\"auto-refresh\" *ngIf=\"autorefresh > 0\">\r\n <i class=\"material-icons\" matTooltip=\"{{ 'AutoRefresh' | translate }} {{ autorefresh }} seg\" matTooltipPosition=\"left\">access_time</i>\r\n </div>\r\n\r\n <table class=\"table table-hover\" [ngStyle]=\"{ 'min-height.px': tableHeight }\" [ngClass]=\"{ 'loading': loading, 'clickaccess': enabledclickaccess }\" *ngIf=\"data != null\">\r\n <thead>\r\n <tr>\r\n <th style=\"width: 5%;\" *ngIf=\"enabledclassicons && data?.length > 0 && data[0]?.Icon != null\"></th>\r\n\r\n <ng-container *ngFor=\"let col of colunasHeaders; let i = index\">\r\n <th *ngIf=\"colunasWidth[i] == ''\" [class]=\"'col_' + col.toLowerCase()\" [ngClass]=\"{ 'text-center': colunasType[i] == 'check', 'align-right': colunasType[i].startsWith('n') }\">{{ col | translate }}</th>\r\n <th *ngIf=\"colunasWidth[i] != ''\" [ngStyle]=\"{ 'width': colunasWidth[i] }\" [ngClass]=\"{ 'text-center': colunasType[i] == 'check', 'align-right': colunasType[i].startsWith('n') }\">{{ col | translate }}</th>\r\n </ng-container>\r\n\r\n <th class=\"actions align-right buttons\" *ngIf=\"(templateurl != '') || (buttons != null && buttons.length > 0) || enableddetail || enabledview || enabledcols || ((disabledcol == '') && enablededit && hasPermissionEdit) || ((disabledcol == '') && enableddelete && hasPermissionDelete)\">\r\n <button mat-icon-button type=\"button\"[matTooltip]=\"newlabel | translate\" matTooltipPosition=\"left\" (click)=\"add()\" *ngIf=\"!showPagebar && enablednew && hasPermissionNew\">\r\n <mat-icon>add_circle_outline</mat-icon>\r\n </button>\r\n <button mat-icon-button type=\"button\" class=\"managercols\" [matTooltip]=\"'CustomizarTabela' | translate\" matTooltipPosition=\"left\" (click)=\"customizeTable()\" *ngIf=\"enabledcols\">\r\n <mat-icon class=\"icon-out\">settings</mat-icon>\r\n </button>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"grid-content\">\r\n <tr *ngFor=\"let mod of data; let j = index\" [ngClass]=\"{ 'default-color': !enabledclassicons }\" [class]=\"mod.Class\" (click)=\"access(mod)\">\r\n <td *ngIf=\"enabledclassicons && mod?.Icon != null\">\r\n <ng-container *ngFor=\"let icon of icons\">\r\n <i class=\"material-icons\" [matTooltip]=\"icon.Tooltip | translate\" *ngIf=\"icon.Name == mod.Icon\" [ngClass]=\"{ 'icone-secundario': icon.Principal == false }\">{{icon.Icon}}</i>\r\n </ng-container>\r\n </td>\r\n\r\n <ng-container *ngFor=\"let col of colunasItens; let i = index\">\r\n <td *ngIf=\"mod[col] == null || mod[col] == undefined\"></td>\r\n <ng-container [ngSwitch]=\"colunasType[i]\" *ngIf=\"mod[col] != null && mod[col] != undefined\">\r\n <ng-container *ngSwitchCase=\"'label'\">\r\n <td [ngClass]=\"{ 'td-expansivel': mod[col].length > limitcharacters && enabledexpand == true}\" *ngIf=\"mod[col] !== true && mod[col] !== false && mod[col] !== 0 && mod[col] !== '0'\">\r\n <label [ngClass]=\"{'label-expansivel': enabledexpand == true && mod[col].length > limitcharacters, 'label-expandida': enabledexpand && colunasItensExpandidos[j][i] }\" *ngIf=\"colunasHtml[i] === true\" [innerHTML]=\"(mod[col] | translate:colunasTranslate[i]) || '' \"></label>\r\n <label class=\"break-word\" [ngClass]=\"{'label-expansivel': enabledexpand == true && mod[col].length > limitcharacters, 'label-expandida': enabledexpand == true && colunasItensExpandidos[j][i] }\" *ngIf=\"colunasHtml[i] === false\">{{ (mod[col] | translate:colunasHtml[i]) || '' }}</label>\r\n <div *ngIf=\"enabledexpand == true && mod[col].length > limitcharacters\" [ngClass]=\"{'mostrar-mais-expandido': enabledexpand == true && colunasItensExpandidos[j][i] }\" class=\"mostrar-mais\" (click)=\"mostrarMais(j,i)\">\r\n <mat-icon [ngClass]=\"{'icone-expandido': enabledexpand == true && colunasItensExpandidos[j][i] }\">keyboard_arrow_down</mat-icon>\r\n </div>\r\n <p *ngIf=\"i == 0 && mod.Badge != null && mod.Badge != undefined\">{{ mod.Badge | translate:colunasTranslate[i] }}</p>\r\n </td>\r\n <td *ngIf=\"mod[col] === true\"><mat-icon>check_box</mat-icon></td>\r\n <td *ngIf=\"mod[col] === false\"><mat-icon>check_box_outline_blank</mat-icon></td>\r\n <td *ngIf=\"mod[col] === 0 || mod[col] === '0'\">0</td>\r\n </ng-container>\r\n\r\n <td nowrap *ngSwitchCase=\"'date'\" [innerHTML]=\"mod[col] | date:'shortDate'\"></td>\r\n <td nowrap *ngSwitchCase=\"'datetime'\">{{ mod[col] | date:'shortDate' }} {{ mod[col] | date:'mediumTime' }}</td>\r\n <td nowrap *ngSwitchCase=\"'monthyear'\" [innerHTML]=\"mod[col] | date:'MM/yyyy'\"></td>\r\n <td nowrap *ngSwitchCase=\"'n0'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.0-0' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n2'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.2-2' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n4'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.4-4' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n6'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.6-6' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n9'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.9-9' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n12'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.12-12' }}</td>\r\n \r\n <td *ngSwitchCase=\"'check'\" class=\"text-center\">\r\n <ng-container *ngIf=\"mod[col] != null && (mod[col] === true || mod[col] == 1 || mod[col].toLowerCase() == 's'); then checked; else unchecked\"></ng-container>\r\n <ng-template #checked><mat-icon>check_box</mat-icon></ng-template>\r\n <ng-template #unchecked><mat-icon>check_box_outline_blank</mat-icon></ng-template>\r\n </td>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"enabledclickaccess\">\r\n <td class=\"td-actions clickaccess\">\r\n <button mat-icon-button type=\"button\" (click)=\"access(mod)\" *ngIf=\"enabledview\">\r\n <mat-icon>{{accessicon || 'arrow_forward'}}</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!enabledclickaccess\">\r\n <td class=\"td-actions\" *ngIf=\"(templateurl != '') || (buttons != null && buttons.length > 0) || (mod.Download != null) || enableddetail || (mod?.Info != null) || enabledview || ((disabledcol == '' || mod[disabledcol] === true) && enablededit && hasPermissionEdit) || ((disabledcol == '' || mod[disabledcol] === true) && enableddelete && hasPermissionDelete)\">\r\n\r\n <a mat-icon-button href=\"{{ templateurl.replace('{id}', mod.Id) }}\" target=\"_blank\" [matTooltip]=\"'Abrir' | translate\" *ngIf=\"templateurl != ''\">\r\n <mat-icon>visibility</mat-icon>\r\n </a>\r\n\r\n <ng-container *ngFor=\"let b of buttons\">\r\n <button mat-icon-button type=\"button\" [matTooltip]=\"b.label | translate\" (click)=\"b.modalComponent != null ? openCustomModal(b.modalComponent, b.widthModalComponent, mod) : b.api != null ? eventButton(mod, b.api, b.method, b.confirm) : navigateTo(b.navigateTo, b.passId, mod.Id)\" *ngIf=\"b.showOnlyClass == null || b.showOnlyClass == mod.Class\" [disabled]=\"b.disabledField && mod[b.disabledField] === true\">\r\n <mat-icon>{{b.icon}}</mat-icon>\r\n </button>\r\n </ng-container>\r\n\r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Download' | translate\" (click)=\"download(mod.Download)\" *ngIf=\"mod.Download != null\">\r\n <mat-icon>file_download</mat-icon>\r\n </button>\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Detalhe' | translate\" (click)=\"detail(mod)\" *ngIf=\"enableddetail\">\r\n <mat-icon>list</mat-icon>\r\n </button>\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Informacao' | translate\" (click)=\"info(mod?.Info)\" *ngIf=\"mod?.Info != null\" [disabled]=\"mod?.Info == ''\">\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n \r\n <!-- <button mat-icon-button type=\"button\" [matTooltip]=\"'Visualizar' | translate\" (click)=\"view(mod)\" *ngIf=\"enabledview\">\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Editar' | translate\" (click)=\"edit(mod)\" *ngIf=\"(disabledcol == '' || mod[disabledcol] === true) && enablededit && hasPermissionEdit\">\r\n <mat-icon>edit</mat-icon>\r\n </button> -->\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Excluir' | translate\" (click)=\"delete(mod)\" *ngIf=\"(disabledcol == '' || mod[disabledcol] === true) && enableddelete && hasPermissionDelete && !mod.HideDelete\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n\r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Acessar' | translate\" (click)=\"edit(mod)\" *ngIf=\"((disabledcol == '' || mod[disabledcol] === true) && enablededit && hasPermissionEdit) || enabledview\">\r\n <mat-icon>arrow_forward</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <span class=\"blank-table\" *ngIf=\"data != null && data.length == 0\">{{\"NenhumItemEncontrado\" | translate}}</span>\r\n\r\n <info-paginator #paginator [hidden]=\"!paged || (data != null && data.length == 0)\" [size]=\"size\" (change)=\"changePage($event)\" ></info-paginator>\r\n </div>\r\n</div>\r\n\r\n<div class=\"block\" *ngIf=\"loading\"></div>\r\n<info-alert [messages]=\"messages\"></info-alert>", styles: [":host{display:block;position:relative}:host #auto-refresh{position:absolute;top:8px;right:0;margin:0;padding:0;background:transparent}:host #auto-refresh i{font-size:18px;cursor:default}:host .table-title{background:#fcfcfc}:host .table-title .mat-icon-button{width:25px;height:25px;line-height:25px;text-align:center}:host .table-title .mat-icon-button .mat-icon{font-size:18px}:host .table-title :hover{transition:color .2s}:host .search-container{margin-top:10px;position:relative}:host .title-grid{padding-top:8px;font-size:.8rem;text-transform:uppercase;font-weight:700}:host table thead .col_id,:host table thead .col_dia{width:80px}:host table thead .col_moeda{width:90px}:host table thead .col_dataposicao,:host table thead .col_referencia,:host table thead .col_data,:host table thead .col_datacotacao{width:125px}:host table thead .col_conta,:host table thead .col_identificador{width:250px}:host table thead .col_cliente,:host table thead .col_nome,:host table thead .col_descricao,:host table thead .col_nome{width:400px}:host table tbody .icone-secundario{font-size:12px}:host.uxc3 div.table-responsive .table-title{padding:0!important}:host.uxc3 div.table-responsive .table thead{background:transparent}:host.uxc3 div.table-responsive .table thead th{border-top:none;text-transform:capitalize;padding:10px 5px 5px;font-size:10px}:host.uxc3 div.table-responsive .table thead th.actions{border-bottom-width:0}:host.uxc3 div.table-responsive .table thead th:after{display:none}:host.uxc3 div.table-responsive .table thead th .managercols{top:-4px;right:0;opacity:0;transition:opacity .3s ease-in-out}:host.uxc3 div.table-responsive .table thead:hover .managercols{opacity:1!important}:host.uxc3 div.table-responsive .table tbody tr{height:40px;background:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr td{font-size:13px;font-weight:600;cursor:default;transition:color .2s ease-in-out}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais{width:100%;display:flex;position:relative;bottom:18px;box-shadow:0 -6px 6px -3px RGB(0 0 0/20%);align-items:baseline;justify-content:center;background-color:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais .mat-icon{height:5px;line-height:11px;cursor:pointer;transition:transform .2s ease-in-out;transform:rotate(0)}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais .mat-icon.icone-expandido{transform:rotate(180deg)}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais.mostrar-mais-expandido{bottom:0;box-shadow:none}:host.uxc3 div.table-responsive .table tbody tr td.td-actions{padding-top:7px;padding-bottom:6px;border-bottom:none;margin-top:1px}:host.uxc3 div.table-responsive .table tbody tr td.td-actions button:disabled{pointer-events:none;opacity:.4}:host.uxc3 div.table-responsive .table tbody tr td mat-icon{height:17px;line-height:17px}:host.uxc3 div.table-responsive .table tbody tr td p{position:relative;text-transform:uppercase;border:solid 1px;border-radius:3px;padding:2px 5px;font-size:8px;display:inline-block;margin:0 0 0 5px;top:-2px}:host.uxc3 div.table-responsive .table tbody tr .td-expansivel .label-expansivel{overflow:hidden;height:35px}:host.uxc3 div.table-responsive .table tbody tr .td-expansivel .label-expansivel.break-word{word-break:break-word}:host.uxc3 div.table-responsive .table tbody tr .td-expansivel .label-expansivel.label-expandida{height:100%}:host.uxc3 div.table-responsive .table tbody tr:hover{background:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr:hover .mostrar-mais{background-color:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr:nth-child(even):hover{background:#fff}:host.uxc3 div.table-responsive .table tbody tr:nth-child(even):hover .mostrar-mais{background-color:#fff}:host.uxc3 div.table-responsive .table tbody tr:nth-child(even):hover .td-actions{background:#fff}\n"] }]
|
|
5270
|
+
args: [{ selector: 'info-grid', providers: [InfoFormPropModel], template: "<info-pagebar *ngIf=\"showPagebar\" icon=\"work\" [pagetitle]=\"pagebarTitle\" [description]=\"description\">\r\n <button mat-button type=\"button\" *ngIf=\"backurl != null && backurl != ''\" color=\"primary\" (click)=\"back()\">\r\n <mat-icon class=\"fs-20\">chevron_left</mat-icon>{{\"Voltar\" | translate}}\r\n </button>\r\n\r\n <ng-container *ngFor=\"let b of pagebarbuttons\">\r\n <button type=\"button\" mat-button color=\"primary\" (click)=\"b.modal == null ? navigateTo(b.url, false, null) : openCustomModal(b.modal, b.modalwidth, null)\">\r\n <mat-icon *ngIf=\"b.icon != 'chevron_right'\" class=\"fs-20\">{{ b.icon }}</mat-icon>\r\n {{ b.label | translate }}\r\n </button>\r\n </ng-container>\r\n\r\n <button mat-button type=\"button\" *ngIf=\"searchmodel != null && !enabledSearch\" color=\"primary\" (click)=\"enabledSearch = !enabledSearch\">\r\n <mat-icon class=\"fs-20\">search</mat-icon> {{ \"Pesquisar\" | translate}}\r\n </button>\r\n\r\n <button mat-button type=\"button\" *ngIf=\"searchmodel != null && enabledSearch\" color=\"primary\" (click)=\"enabledSearch = !enabledSearch\">\r\n <mat-icon class=\"fs-20\">search_off</mat-icon> {{ \"Ocultar\" | translate}}\r\n </button>\r\n\r\n <button mat-button type=\"button\" *ngIf=\"enablednew && hasPermissionNew\" color=\"primary\" (click)=\"add()\">\r\n <mat-icon class=\"fs-20\">add</mat-icon> {{ newlabel | translate}}\r\n </button>\r\n</info-pagebar>\r\n\r\n<div [ngClass]=\"{ 'table-full': fullarea }\">\r\n <div class=\"table-responsive white\">\r\n <div class=\"table-title grid-search\" [ngStyle]=\"{ 'padding': (enabledSearch ? 10 : 0) + 'px 20px' }\">\r\n <form autocomplete=\"off\" #formSearch=\"ngForm\" (ngSubmit)=\"search()\">\r\n <div *ngIf=\"enabledSearch\" class=\"search-container row\">\r\n <div class=\"col-md-{{(searchbuttons || []).length == 0 ? '10' : '9' }}\">\r\n <div class=\"row\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n <div class=\"col-md-{{(searchbuttons || []).length == 0 ? '2' : '3' }} align-right\" *ngIf=\"searchmodel != null\">\r\n <div class=\"search-buttons \">\r\n <ng-container *ngIf=\"searchonlyonebutton\">\r\n <button mat-button type=\"submit\" color=\"primary\" [disabled]=\"formSearch.invalid || loading\">\r\n {{ 'Buscar' | translate }}\r\n </button>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!searchonlyonebutton\">\r\n <button mat-button type=\"button\" color=\"warn\" (click)=\"cancelSearch()\" *ngIf=\"enabledcancelsearch\">\r\n <mat-icon class=\"fs-20\">close</mat-icon>\r\n </button>\r\n <button mat-button type=\"submit\" color=\"primary\" [disabled]=\"formSearch.invalid || loading\">\r\n <mat-icon class=\"fs-20\">search</mat-icon>\r\n </button>\r\n \r\n <ng-container *ngFor=\"let b of searchbuttons\">\r\n <button mat-button type=\"button\" color=\"primary\" [disabled]=\"formSearch.invalid || loading\" (click)=\"b.method()\">\r\n <mat-icon *ngIf=\"b.icon\" class=\"fs-20\">{{b.icon | translate}}</mat-icon> {{b.label | translate}}\r\n </button>\r\n </ng-container>\r\n \r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n\r\n <fieldset *ngIf=\"!showPagebar\"><legend [innerHTML]=\"pagebarTitle | translate\"></legend></fieldset>\r\n <section class=\"loading-bar\"><mat-progress-bar color=\"primary\" mode=\"indeterminate\" *ngIf=\"loading\"></mat-progress-bar></section>\r\n\r\n <!-- <div id=\"auto-refresh\" *ngIf=\"autorefresh > 0\">\r\n <i class=\"material-icons\" matTooltip=\"{{ 'AutoRefresh' | translate }} {{ autorefresh }} seg\" matTooltipPosition=\"left\">access_time</i>\r\n </div> -->\r\n\r\n <table class=\"table table-hover\" [ngStyle]=\"{ 'min-height.px': tableHeight }\" [ngClass]=\"{ 'loading': loading, 'clickaccess': enabledclickaccess }\" *ngIf=\"data != null\">\r\n <thead>\r\n <tr>\r\n <th style=\"width: 5%;\" *ngIf=\"enabledclassicons && data?.length > 0 && data[0]?.Icon != null\"></th>\r\n\r\n <ng-container *ngFor=\"let col of colunasHeaders; let i = index\">\r\n <th *ngIf=\"colunasWidth[i] == ''\" [class]=\"'col_' + col.toLowerCase()\" [ngClass]=\"{ 'text-center': colunasType[i] == 'check', 'align-right': colunasType[i].startsWith('n') }\">{{ col | translate }}</th>\r\n <th *ngIf=\"colunasWidth[i] != ''\" [ngStyle]=\"{ 'width': colunasWidth[i] }\" [ngClass]=\"{ 'text-center': colunasType[i] == 'check', 'align-right': colunasType[i].startsWith('n') }\">{{ col | translate }}</th>\r\n </ng-container>\r\n\r\n <th class=\"actions align-right buttons\" *ngIf=\"(templateurl != '') || (buttons != null && buttons.length > 0) || enableddetail || enabledview || enabledcols || ((disabledcol == '') && enablededit && hasPermissionEdit) || ((disabledcol == '') && enableddelete && hasPermissionDelete)\">\r\n <button mat-icon-button type=\"button\"[matTooltip]=\"newlabel | translate\" matTooltipPosition=\"left\" (click)=\"add()\" *ngIf=\"!showPagebar && enablednew && hasPermissionNew\">\r\n <mat-icon>add_circle_outline</mat-icon>\r\n </button>\r\n <button mat-icon-button type=\"button\" class=\"managercols\" [matTooltip]=\"'CustomizarTabela' | translate\" matTooltipPosition=\"left\" (click)=\"customizeTable()\" *ngIf=\"enabledcols\">\r\n <mat-icon class=\"icon-out\">settings</mat-icon>\r\n </button>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"grid-content\">\r\n <tr *ngFor=\"let mod of data; let j = index\" [ngClass]=\"{ 'default-color': !enabledclassicons }\" [class]=\"mod.Class\" (click)=\"access(mod)\">\r\n <td *ngIf=\"enabledclassicons && mod?.Icon != null\">\r\n <ng-container *ngFor=\"let icon of icons\">\r\n <i class=\"material-icons\" [matTooltip]=\"icon.Tooltip | translate\" *ngIf=\"icon.Name == mod.Icon\" [ngClass]=\"{ 'icone-secundario': icon.Principal == false }\">{{icon.Icon}}</i>\r\n </ng-container>\r\n </td>\r\n\r\n <ng-container *ngFor=\"let col of colunasItens; let i = index\">\r\n <td *ngIf=\"mod[col] == null || mod[col] == undefined\"></td>\r\n <ng-container [ngSwitch]=\"colunasType[i]\" *ngIf=\"mod[col] != null && mod[col] != undefined\">\r\n <ng-container *ngSwitchCase=\"'label'\">\r\n <td [ngClass]=\"{ 'td-expansivel': mod[col].length > limitcharacters && enabledexpand == true}\" *ngIf=\"mod[col] !== true && mod[col] !== false && mod[col] !== 0 && mod[col] !== '0'\">\r\n <label [ngClass]=\"{'label-expansivel': enabledexpand == true && mod[col].length > limitcharacters, 'label-expandida': colunasItensExpandidos[j][i] }\" *ngIf=\"colunasHtml[i] === true\" [innerHTML]=\"(mod[col] | translate:colunasTranslate[i]) || '' \"></label>\r\n <label class=\"break-word\" [ngClass]=\"{'label-expansivel': enabledexpand == true && mod[col].length > limitcharacters, 'label-expandida': colunasItensExpandidos[j][i] }\" *ngIf=\"colunasHtml[i] === false\">{{ (mod[col] | translate:colunasHtml[i]) || '' }}</label>\r\n <div *ngIf=\"enabledexpand == true && mod[col].length > limitcharacters\" [ngClass]=\"{'mostrar-mais-expandido': colunasItensExpandidos[j][i] }\" class=\"mostrar-mais\" (click)=\"mostrarMais(j,i)\">\r\n <mat-icon [ngClass]=\"{'icone-expandido': colunasItensExpandidos[j][i] }\">keyboard_arrow_down</mat-icon>\r\n </div>\r\n <p *ngIf=\"i == 0 && mod.Badge != null && mod.Badge != undefined\">{{ mod.Badge | translate:colunasTranslate[i] }}</p>\r\n </td>\r\n <td *ngIf=\"mod[col] === true\"><mat-icon>check_box</mat-icon></td>\r\n <td *ngIf=\"mod[col] === false\"><mat-icon>check_box_outline_blank</mat-icon></td>\r\n <td *ngIf=\"mod[col] === 0 || mod[col] === '0'\">0</td>\r\n </ng-container>\r\n\r\n <td nowrap *ngSwitchCase=\"'date'\" [innerHTML]=\"mod[col] | date:'shortDate'\"></td>\r\n <td nowrap *ngSwitchCase=\"'datetime'\">{{ mod[col] | date:'shortDate' }} {{ mod[col] | date:'mediumTime' }}</td>\r\n <td nowrap *ngSwitchCase=\"'monthyear'\" [innerHTML]=\"mod[col] | date:'MM/yyyy'\"></td>\r\n <td nowrap *ngSwitchCase=\"'n0'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.0-0' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n2'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.2-2' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n4'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.4-4' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n6'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.6-6' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n9'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.9-9' }}</td>\r\n <td nowrap *ngSwitchCase=\"'n12'\" [class]=\"'align-right ' + (mod[col] < 0 ? 'text-red' : '')\">{{ mod[col] | number:'1.12-12' }}</td>\r\n \r\n <td *ngSwitchCase=\"'check'\" class=\"text-center\">\r\n <ng-container *ngIf=\"mod[col] != null && (mod[col] === true || mod[col] == 1 || mod[col].toLowerCase() == 's'); then checked; else unchecked\"></ng-container>\r\n <ng-template #checked><mat-icon>check_box</mat-icon></ng-template>\r\n <ng-template #unchecked><mat-icon>check_box_outline_blank</mat-icon></ng-template>\r\n </td>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"enabledclickaccess\">\r\n <td class=\"td-actions clickaccess\">\r\n <button mat-icon-button type=\"button\" (click)=\"access(mod)\" *ngIf=\"enabledview\">\r\n <mat-icon>{{accessicon || 'arrow_forward'}}</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!enabledclickaccess\">\r\n <td class=\"td-actions\" *ngIf=\"(templateurl != '') || (buttons != null && buttons.length > 0) || (mod.Download != null) || enableddetail || (mod?.Info != null) || enabledview || ((disabledcol == '' || mod[disabledcol] === true) && enablededit && hasPermissionEdit) || ((disabledcol == '' || mod[disabledcol] === true) && enableddelete && hasPermissionDelete)\">\r\n\r\n <a mat-icon-button href=\"{{ templateurl.replace('{id}', mod.Id) }}\" target=\"_blank\" [matTooltip]=\"'Abrir' | translate\" *ngIf=\"templateurl != ''\">\r\n <mat-icon>visibility</mat-icon>\r\n </a>\r\n\r\n <ng-container *ngFor=\"let b of buttons\">\r\n <button mat-icon-button type=\"button\" [matTooltip]=\"b.label | translate\" (click)=\"b.modalComponent != null ? openCustomModal(b.modalComponent, b.widthModalComponent, mod) : b.api != null ? eventButton(mod, b.api, b.method, b.confirm) : navigateTo(b.navigateTo, b.passId, mod.Id)\" *ngIf=\"b.showOnlyClass == null || b.showOnlyClass == mod.Class\" [disabled]=\"b.disabledField && mod[b.disabledField] === true\">\r\n <mat-icon>{{b.icon}}</mat-icon>\r\n </button>\r\n </ng-container>\r\n\r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Download' | translate\" (click)=\"download(mod.Download)\" *ngIf=\"mod.Download != null\">\r\n <mat-icon>file_download</mat-icon>\r\n </button>\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Detalhe' | translate\" (click)=\"detail(mod)\" *ngIf=\"enableddetail\">\r\n <mat-icon>list</mat-icon>\r\n </button>\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Informacao' | translate\" (click)=\"info(mod?.Info)\" *ngIf=\"mod?.Info != null\" [disabled]=\"mod?.Info == ''\">\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n \r\n <!-- <button mat-icon-button type=\"button\" [matTooltip]=\"'Visualizar' | translate\" (click)=\"view(mod)\" *ngIf=\"enabledview\">\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Editar' | translate\" (click)=\"edit(mod)\" *ngIf=\"(disabledcol == '' || mod[disabledcol] === true) && enablededit && hasPermissionEdit\">\r\n <mat-icon>edit</mat-icon>\r\n </button> -->\r\n \r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Excluir' | translate\" (click)=\"delete(mod)\" *ngIf=\"(disabledcol == '' || mod[disabledcol] === true) && enableddelete && hasPermissionDelete && !mod.HideDelete\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n\r\n <button mat-icon-button type=\"button\" [matTooltip]=\"'Acessar' | translate\" (click)=\"edit(mod)\" *ngIf=\"((disabledcol == '' || mod[disabledcol] === true) && enablededit && hasPermissionEdit) || enabledview\">\r\n <mat-icon>arrow_forward</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <span class=\"blank-table\" *ngIf=\"data != null && data.length == 0\">{{\"NenhumItemEncontrado\" | translate}}</span>\r\n\r\n <info-paginator #paginator [hidden]=\"!paged || (data != null && data.length == 0)\" [size]=\"size\" (change)=\"changePage($event)\" ></info-paginator>\r\n </div>\r\n</div>\r\n\r\n<div class=\"block\" *ngIf=\"loading\"></div>\r\n<info-alert [messages]=\"messages\"></info-alert>", styles: [":host{display:block;position:relative}:host #auto-refresh{position:absolute;top:8px;right:0;margin:0;padding:0;background:transparent}:host #auto-refresh i{font-size:18px;cursor:default}:host .table-title{background:#fcfcfc}:host .table-title .mat-icon-button{width:25px;height:25px;line-height:25px;text-align:center}:host .table-title .mat-icon-button .mat-icon{font-size:18px}:host .table-title :hover{transition:color .2s}:host .search-container{margin-top:10px;position:relative}:host .title-grid{padding-top:8px;font-size:.8rem;text-transform:uppercase;font-weight:700}:host table thead .col_id,:host table thead .col_dia{width:80px}:host table thead .col_moeda{width:90px}:host table thead .col_dataposicao,:host table thead .col_referencia,:host table thead .col_data,:host table thead .col_datacotacao{width:125px}:host table thead .col_conta,:host table thead .col_identificador{width:250px}:host table thead .col_cliente,:host table thead .col_nome,:host table thead .col_descricao,:host table thead .col_nome{width:400px}:host table tbody .icone-secundario{font-size:12px}:host.uxc3 div.table-responsive .table-title{padding:0!important}:host.uxc3 div.table-responsive .table thead{background:transparent}:host.uxc3 div.table-responsive .table thead th{border-top:none;text-transform:capitalize;padding:5px;font-size:10px}:host.uxc3 div.table-responsive .table thead th.actions{border-bottom-width:0}:host.uxc3 div.table-responsive .table thead th:after{display:none}:host.uxc3 div.table-responsive .table thead th .managercols{background-color:var(--ux-cor-P);right:0;opacity:0;transition:opacity .3s ease-in-out}:host.uxc3 div.table-responsive .table thead:hover .managercols{opacity:1!important}:host.uxc3 div.table-responsive .table tbody tr{height:40px;background:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr td{font-size:13px;font-weight:600;cursor:default;transition:color .2s ease-in-out}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais{width:100%;display:flex;position:relative;bottom:18px;box-shadow:0 -6px 6px -3px RGB(0 0 0/20%);align-items:baseline;justify-content:center;background-color:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais .mat-icon{height:5px;line-height:11px;cursor:pointer;transition:transform .2s ease-in-out;transform:rotate(0)}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais .mat-icon.icone-expandido{transform:rotate(180deg)}:host.uxc3 div.table-responsive .table tbody tr td .mostrar-mais.mostrar-mais-expandido{bottom:0;box-shadow:none}:host.uxc3 div.table-responsive .table tbody tr td.td-actions{padding-top:7px;padding-bottom:6px;border-bottom:none;margin-top:1px}:host.uxc3 div.table-responsive .table tbody tr td.td-actions button:disabled{pointer-events:none;opacity:.4}:host.uxc3 div.table-responsive .table tbody tr td mat-icon{height:17px;line-height:17px}:host.uxc3 div.table-responsive .table tbody tr td p{position:relative;text-transform:uppercase;border:solid 1px;border-radius:3px;padding:2px 5px;font-size:8px;display:inline-block;margin:0 0 0 5px;top:-2px}:host.uxc3 div.table-responsive .table tbody tr .td-expansivel .label-expansivel{overflow:hidden;height:35px}:host.uxc3 div.table-responsive .table tbody tr .td-expansivel .label-expansivel.break-word{word-break:break-word}:host.uxc3 div.table-responsive .table tbody tr .td-expansivel .label-expansivel.label-expandida{height:100%}:host.uxc3 div.table-responsive .table tbody tr:hover{background:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr:hover .mostrar-mais{background-color:#f9f9f9}:host.uxc3 div.table-responsive .table tbody tr:nth-child(even):hover{background:#fff}:host.uxc3 div.table-responsive .table tbody tr:nth-child(even):hover .mostrar-mais{background-color:#fff}:host.uxc3 div.table-responsive .table tbody tr:nth-child(even):hover .td-actions{background:#fff}\n"] }]
|
|
5287
5271
|
}], function () { return [{ type: InfoDialogModal }, { type: InfoPlatformModel }, { type: i1$3.MatDialog }, { type: InfoFormPropModel }, { type: InfoDataService }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: InfoAuthenticationService }, { type: i0.ChangeDetectorRef }, { type: InfoTranslateService }, { type: InfoLastSearchModel }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { pagetitle: [{
|
|
5288
5272
|
type: Input
|
|
5289
5273
|
}], prefixtitle: [{
|