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
|
@@ -4029,10 +4029,10 @@ class AtalhoModalComponent {
|
|
|
4029
4029
|
const _c0$8 = ["paginator"];
|
|
4030
4030
|
function InfoGridComponent_info_pagebar_0_button_1_Template(rf, ctx) {
|
|
4031
4031
|
if (rf & 1) {
|
|
4032
|
-
const
|
|
4033
|
-
i0.ɵɵelementStart(0, "button",
|
|
4034
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
4035
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
4032
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
4033
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
4034
|
+
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()); });
|
|
4035
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
4036
4036
|
i0.ɵɵtext(2, "chevron_left");
|
|
4037
4037
|
i0.ɵɵelementEnd();
|
|
4038
4038
|
i0.ɵɵtext(3);
|
|
@@ -4046,42 +4046,42 @@ function InfoGridComponent_info_pagebar_0_button_1_Template(rf, ctx) {
|
|
|
4046
4046
|
}
|
|
4047
4047
|
function InfoGridComponent_info_pagebar_0_ng_container_2_mat_icon_2_Template(rf, ctx) {
|
|
4048
4048
|
if (rf & 1) {
|
|
4049
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
4049
|
+
i0.ɵɵelementStart(0, "mat-icon", 20);
|
|
4050
4050
|
i0.ɵɵtext(1);
|
|
4051
4051
|
i0.ɵɵelementEnd();
|
|
4052
4052
|
}
|
|
4053
4053
|
if (rf & 2) {
|
|
4054
|
-
const
|
|
4054
|
+
const b_r16 = i0.ɵɵnextContext().$implicit;
|
|
4055
4055
|
i0.ɵɵadvance(1);
|
|
4056
|
-
i0.ɵɵtextInterpolate(
|
|
4056
|
+
i0.ɵɵtextInterpolate(b_r16.icon);
|
|
4057
4057
|
}
|
|
4058
4058
|
}
|
|
4059
4059
|
function InfoGridComponent_info_pagebar_0_ng_container_2_Template(rf, ctx) {
|
|
4060
4060
|
if (rf & 1) {
|
|
4061
|
-
const
|
|
4061
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
4062
4062
|
i0.ɵɵelementContainerStart(0);
|
|
4063
|
-
i0.ɵɵelementStart(1, "button",
|
|
4064
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_ng_container_2_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
4065
|
-
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_mat_icon_2_Template, 2, 1, "mat-icon",
|
|
4063
|
+
i0.ɵɵelementStart(1, "button", 21);
|
|
4064
|
+
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)); });
|
|
4065
|
+
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_mat_icon_2_Template, 2, 1, "mat-icon", 22);
|
|
4066
4066
|
i0.ɵɵtext(3);
|
|
4067
4067
|
i0.ɵɵpipe(4, "translate");
|
|
4068
4068
|
i0.ɵɵelementEnd();
|
|
4069
4069
|
i0.ɵɵelementContainerEnd();
|
|
4070
4070
|
}
|
|
4071
4071
|
if (rf & 2) {
|
|
4072
|
-
const
|
|
4072
|
+
const b_r16 = ctx.$implicit;
|
|
4073
4073
|
i0.ɵɵadvance(2);
|
|
4074
|
-
i0.ɵɵproperty("ngIf",
|
|
4074
|
+
i0.ɵɵproperty("ngIf", b_r16.icon != "chevron_right");
|
|
4075
4075
|
i0.ɵɵadvance(1);
|
|
4076
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 2,
|
|
4076
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 2, b_r16.label), " ");
|
|
4077
4077
|
}
|
|
4078
4078
|
}
|
|
4079
4079
|
function InfoGridComponent_info_pagebar_0_button_3_Template(rf, ctx) {
|
|
4080
4080
|
if (rf & 1) {
|
|
4081
|
-
const
|
|
4082
|
-
i0.ɵɵelementStart(0, "button",
|
|
4083
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
4084
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
4081
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
4082
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
4083
|
+
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); });
|
|
4084
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
4085
4085
|
i0.ɵɵtext(2, "search");
|
|
4086
4086
|
i0.ɵɵelementEnd();
|
|
4087
4087
|
i0.ɵɵtext(3);
|
|
@@ -4095,10 +4095,10 @@ function InfoGridComponent_info_pagebar_0_button_3_Template(rf, ctx) {
|
|
|
4095
4095
|
}
|
|
4096
4096
|
function InfoGridComponent_info_pagebar_0_button_4_Template(rf, ctx) {
|
|
4097
4097
|
if (rf & 1) {
|
|
4098
|
-
const
|
|
4099
|
-
i0.ɵɵelementStart(0, "button",
|
|
4100
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
4101
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
4098
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
4099
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
4100
|
+
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); });
|
|
4101
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
4102
4102
|
i0.ɵɵtext(2, "search_off");
|
|
4103
4103
|
i0.ɵɵelementEnd();
|
|
4104
4104
|
i0.ɵɵtext(3);
|
|
@@ -4112,10 +4112,10 @@ function InfoGridComponent_info_pagebar_0_button_4_Template(rf, ctx) {
|
|
|
4112
4112
|
}
|
|
4113
4113
|
function InfoGridComponent_info_pagebar_0_button_5_Template(rf, ctx) {
|
|
4114
4114
|
if (rf & 1) {
|
|
4115
|
-
const
|
|
4116
|
-
i0.ɵɵelementStart(0, "button",
|
|
4117
|
-
i0.ɵɵlistener("click", function InfoGridComponent_info_pagebar_0_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
4118
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
4115
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
4116
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
4117
|
+
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()); });
|
|
4118
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
4119
4119
|
i0.ɵɵtext(2, "add");
|
|
4120
4120
|
i0.ɵɵelementEnd();
|
|
4121
4121
|
i0.ɵɵtext(3);
|
|
@@ -4123,19 +4123,19 @@ function InfoGridComponent_info_pagebar_0_button_5_Template(rf, ctx) {
|
|
|
4123
4123
|
i0.ɵɵelementEnd();
|
|
4124
4124
|
}
|
|
4125
4125
|
if (rf & 2) {
|
|
4126
|
-
const
|
|
4126
|
+
const ctx_r13 = i0.ɵɵnextContext(2);
|
|
4127
4127
|
i0.ɵɵadvance(3);
|
|
4128
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1,
|
|
4128
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1, ctx_r13.newlabel), " ");
|
|
4129
4129
|
}
|
|
4130
4130
|
}
|
|
4131
4131
|
function InfoGridComponent_info_pagebar_0_Template(rf, ctx) {
|
|
4132
4132
|
if (rf & 1) {
|
|
4133
|
-
i0.ɵɵelementStart(0, "info-pagebar",
|
|
4134
|
-
i0.ɵɵtemplate(1, InfoGridComponent_info_pagebar_0_button_1_Template, 5, 3, "button",
|
|
4135
|
-
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_Template, 5, 4, "ng-container",
|
|
4136
|
-
i0.ɵɵtemplate(3, InfoGridComponent_info_pagebar_0_button_3_Template, 5, 3, "button",
|
|
4137
|
-
i0.ɵɵtemplate(4, InfoGridComponent_info_pagebar_0_button_4_Template, 5, 3, "button",
|
|
4138
|
-
i0.ɵɵtemplate(5, InfoGridComponent_info_pagebar_0_button_5_Template, 5, 3, "button",
|
|
4133
|
+
i0.ɵɵelementStart(0, "info-pagebar", 16);
|
|
4134
|
+
i0.ɵɵtemplate(1, InfoGridComponent_info_pagebar_0_button_1_Template, 5, 3, "button", 17);
|
|
4135
|
+
i0.ɵɵtemplate(2, InfoGridComponent_info_pagebar_0_ng_container_2_Template, 5, 4, "ng-container", 18);
|
|
4136
|
+
i0.ɵɵtemplate(3, InfoGridComponent_info_pagebar_0_button_3_Template, 5, 3, "button", 17);
|
|
4137
|
+
i0.ɵɵtemplate(4, InfoGridComponent_info_pagebar_0_button_4_Template, 5, 3, "button", 17);
|
|
4138
|
+
i0.ɵɵtemplate(5, InfoGridComponent_info_pagebar_0_button_5_Template, 5, 3, "button", 17);
|
|
4139
4139
|
i0.ɵɵelementEnd();
|
|
4140
4140
|
}
|
|
4141
4141
|
if (rf & 2) {
|
|
@@ -4156,112 +4156,112 @@ function InfoGridComponent_info_pagebar_0_Template(rf, ctx) {
|
|
|
4156
4156
|
function InfoGridComponent_div_6_div_4_ng_container_2_Template(rf, ctx) {
|
|
4157
4157
|
if (rf & 1) {
|
|
4158
4158
|
i0.ɵɵelementContainerStart(0);
|
|
4159
|
-
i0.ɵɵelementStart(1, "button",
|
|
4159
|
+
i0.ɵɵelementStart(1, "button", 27);
|
|
4160
4160
|
i0.ɵɵtext(2);
|
|
4161
4161
|
i0.ɵɵpipe(3, "translate");
|
|
4162
4162
|
i0.ɵɵelementEnd();
|
|
4163
4163
|
i0.ɵɵelementContainerEnd();
|
|
4164
4164
|
}
|
|
4165
4165
|
if (rf & 2) {
|
|
4166
|
-
const
|
|
4166
|
+
const ctx_r28 = i0.ɵɵnextContext(3);
|
|
4167
4167
|
const _r1 = i0.ɵɵreference(5);
|
|
4168
4168
|
i0.ɵɵadvance(1);
|
|
4169
|
-
i0.ɵɵproperty("disabled", _r1.invalid ||
|
|
4169
|
+
i0.ɵɵproperty("disabled", _r1.invalid || ctx_r28.loading);
|
|
4170
4170
|
i0.ɵɵadvance(1);
|
|
4171
4171
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Buscar"), " ");
|
|
4172
4172
|
}
|
|
4173
4173
|
}
|
|
4174
4174
|
function InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template(rf, ctx) {
|
|
4175
4175
|
if (rf & 1) {
|
|
4176
|
-
const
|
|
4177
|
-
i0.ɵɵelementStart(0, "button",
|
|
4178
|
-
i0.ɵɵlistener("click", function InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
4179
|
-
i0.ɵɵelementStart(1, "mat-icon",
|
|
4176
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
4177
|
+
i0.ɵɵelementStart(0, "button", 29);
|
|
4178
|
+
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()); });
|
|
4179
|
+
i0.ɵɵelementStart(1, "mat-icon", 20);
|
|
4180
4180
|
i0.ɵɵtext(2, "close");
|
|
4181
4181
|
i0.ɵɵelementEnd()();
|
|
4182
4182
|
}
|
|
4183
4183
|
}
|
|
4184
4184
|
function InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_mat_icon_2_Template(rf, ctx) {
|
|
4185
4185
|
if (rf & 1) {
|
|
4186
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
4186
|
+
i0.ɵɵelementStart(0, "mat-icon", 20);
|
|
4187
4187
|
i0.ɵɵtext(1);
|
|
4188
4188
|
i0.ɵɵpipe(2, "translate");
|
|
4189
4189
|
i0.ɵɵelementEnd();
|
|
4190
4190
|
}
|
|
4191
4191
|
if (rf & 2) {
|
|
4192
|
-
const
|
|
4192
|
+
const b_r34 = i0.ɵɵnextContext().$implicit;
|
|
4193
4193
|
i0.ɵɵadvance(1);
|
|
4194
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
4194
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, b_r34.icon));
|
|
4195
4195
|
}
|
|
4196
4196
|
}
|
|
4197
4197
|
function InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template(rf, ctx) {
|
|
4198
4198
|
if (rf & 1) {
|
|
4199
|
-
const
|
|
4199
|
+
const _r38 = i0.ɵɵgetCurrentView();
|
|
4200
4200
|
i0.ɵɵelementContainerStart(0);
|
|
4201
|
-
i0.ɵɵelementStart(1, "button",
|
|
4202
|
-
i0.ɵɵlistener("click", function InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template_button_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
4203
|
-
i0.ɵɵtemplate(2, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_mat_icon_2_Template, 3, 3, "mat-icon",
|
|
4201
|
+
i0.ɵɵelementStart(1, "button", 30);
|
|
4202
|
+
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()); });
|
|
4203
|
+
i0.ɵɵtemplate(2, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_mat_icon_2_Template, 3, 3, "mat-icon", 22);
|
|
4204
4204
|
i0.ɵɵtext(3);
|
|
4205
4205
|
i0.ɵɵpipe(4, "translate");
|
|
4206
4206
|
i0.ɵɵelementEnd();
|
|
4207
4207
|
i0.ɵɵelementContainerEnd();
|
|
4208
4208
|
}
|
|
4209
4209
|
if (rf & 2) {
|
|
4210
|
-
const
|
|
4211
|
-
const
|
|
4210
|
+
const b_r34 = ctx.$implicit;
|
|
4211
|
+
const ctx_r31 = i0.ɵɵnextContext(4);
|
|
4212
4212
|
const _r1 = i0.ɵɵreference(5);
|
|
4213
4213
|
i0.ɵɵadvance(1);
|
|
4214
|
-
i0.ɵɵproperty("disabled", _r1.invalid ||
|
|
4214
|
+
i0.ɵɵproperty("disabled", _r1.invalid || ctx_r31.loading);
|
|
4215
4215
|
i0.ɵɵadvance(1);
|
|
4216
|
-
i0.ɵɵproperty("ngIf",
|
|
4216
|
+
i0.ɵɵproperty("ngIf", b_r34.icon);
|
|
4217
4217
|
i0.ɵɵadvance(1);
|
|
4218
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3,
|
|
4218
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, b_r34.label), " ");
|
|
4219
4219
|
}
|
|
4220
4220
|
}
|
|
4221
4221
|
function InfoGridComponent_div_6_div_4_ng_container_3_Template(rf, ctx) {
|
|
4222
4222
|
if (rf & 1) {
|
|
4223
4223
|
i0.ɵɵelementContainerStart(0);
|
|
4224
|
-
i0.ɵɵtemplate(1, InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template, 3, 0, "button",
|
|
4225
|
-
i0.ɵɵelementStart(2, "button",
|
|
4224
|
+
i0.ɵɵtemplate(1, InfoGridComponent_div_6_div_4_ng_container_3_button_1_Template, 3, 0, "button", 28);
|
|
4225
|
+
i0.ɵɵelementStart(2, "button", 27)(3, "mat-icon", 20);
|
|
4226
4226
|
i0.ɵɵtext(4, "search");
|
|
4227
4227
|
i0.ɵɵelementEnd()();
|
|
4228
|
-
i0.ɵɵtemplate(5, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template, 5, 5, "ng-container",
|
|
4228
|
+
i0.ɵɵtemplate(5, InfoGridComponent_div_6_div_4_ng_container_3_ng_container_5_Template, 5, 5, "ng-container", 18);
|
|
4229
4229
|
i0.ɵɵelementContainerEnd();
|
|
4230
4230
|
}
|
|
4231
4231
|
if (rf & 2) {
|
|
4232
|
-
const
|
|
4232
|
+
const ctx_r29 = i0.ɵɵnextContext(3);
|
|
4233
4233
|
const _r1 = i0.ɵɵreference(5);
|
|
4234
4234
|
i0.ɵɵadvance(1);
|
|
4235
|
-
i0.ɵɵproperty("ngIf",
|
|
4235
|
+
i0.ɵɵproperty("ngIf", ctx_r29.enabledcancelsearch);
|
|
4236
4236
|
i0.ɵɵadvance(1);
|
|
4237
|
-
i0.ɵɵproperty("disabled", _r1.invalid ||
|
|
4237
|
+
i0.ɵɵproperty("disabled", _r1.invalid || ctx_r29.loading);
|
|
4238
4238
|
i0.ɵɵadvance(3);
|
|
4239
|
-
i0.ɵɵproperty("ngForOf",
|
|
4239
|
+
i0.ɵɵproperty("ngForOf", ctx_r29.searchbuttons);
|
|
4240
4240
|
}
|
|
4241
4241
|
}
|
|
4242
4242
|
const _c1$3 = function () { return []; };
|
|
4243
4243
|
function InfoGridComponent_div_6_div_4_Template(rf, ctx) {
|
|
4244
4244
|
if (rf & 1) {
|
|
4245
|
-
i0.ɵɵelementStart(0, "div")(1, "div",
|
|
4245
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 26);
|
|
4246
4246
|
i0.ɵɵtemplate(2, InfoGridComponent_div_6_div_4_ng_container_2_Template, 4, 4, "ng-container", 7);
|
|
4247
4247
|
i0.ɵɵtemplate(3, InfoGridComponent_div_6_div_4_ng_container_3_Template, 6, 3, "ng-container", 7);
|
|
4248
4248
|
i0.ɵɵelementEnd()();
|
|
4249
4249
|
}
|
|
4250
4250
|
if (rf & 2) {
|
|
4251
|
-
const
|
|
4252
|
-
i0.ɵɵclassMapInterpolate1("col-md-", (
|
|
4251
|
+
const ctx_r27 = i0.ɵɵnextContext(2);
|
|
4252
|
+
i0.ɵɵclassMapInterpolate1("col-md-", (ctx_r27.searchbuttons || i0.ɵɵpureFunction0(5, _c1$3)).length == 0 ? "2" : "3", " align-right");
|
|
4253
4253
|
i0.ɵɵadvance(2);
|
|
4254
|
-
i0.ɵɵproperty("ngIf",
|
|
4254
|
+
i0.ɵɵproperty("ngIf", ctx_r27.searchonlyonebutton);
|
|
4255
4255
|
i0.ɵɵadvance(1);
|
|
4256
|
-
i0.ɵɵproperty("ngIf", !
|
|
4256
|
+
i0.ɵɵproperty("ngIf", !ctx_r27.searchonlyonebutton);
|
|
4257
4257
|
}
|
|
4258
4258
|
}
|
|
4259
4259
|
function InfoGridComponent_div_6_Template(rf, ctx) {
|
|
4260
4260
|
if (rf & 1) {
|
|
4261
|
-
i0.ɵɵelementStart(0, "div",
|
|
4261
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "div")(2, "div", 24);
|
|
4262
4262
|
i0.ɵɵprojection(3);
|
|
4263
4263
|
i0.ɵɵelementEnd()();
|
|
4264
|
-
i0.ɵɵtemplate(4, InfoGridComponent_div_6_div_4_Template, 4, 6, "div",
|
|
4264
|
+
i0.ɵɵtemplate(4, InfoGridComponent_div_6_div_4_Template, 4, 6, "div", 25);
|
|
4265
4265
|
i0.ɵɵelementEnd();
|
|
4266
4266
|
}
|
|
4267
4267
|
if (rf & 2) {
|
|
@@ -4275,7 +4275,7 @@ function InfoGridComponent_div_6_Template(rf, ctx) {
|
|
|
4275
4275
|
function InfoGridComponent_fieldset_7_Template(rf, ctx) {
|
|
4276
4276
|
if (rf & 1) {
|
|
4277
4277
|
i0.ɵɵelementStart(0, "fieldset");
|
|
4278
|
-
i0.ɵɵelement(1, "legend",
|
|
4278
|
+
i0.ɵɵelement(1, "legend", 31);
|
|
4279
4279
|
i0.ɵɵpipe(2, "translate");
|
|
4280
4280
|
i0.ɵɵelementEnd();
|
|
4281
4281
|
}
|
|
@@ -4287,29 +4287,16 @@ function InfoGridComponent_fieldset_7_Template(rf, ctx) {
|
|
|
4287
4287
|
}
|
|
4288
4288
|
function InfoGridComponent_mat_progress_bar_9_Template(rf, ctx) {
|
|
4289
4289
|
if (rf & 1) {
|
|
4290
|
-
i0.ɵɵelement(0, "mat-progress-bar",
|
|
4291
|
-
}
|
|
4292
|
-
}
|
|
4293
|
-
function InfoGridComponent_div_10_Template(rf, ctx) {
|
|
4294
|
-
if (rf & 1) {
|
|
4295
|
-
i0.ɵɵelementStart(0, "div", 34)(1, "i", 35);
|
|
4296
|
-
i0.ɵɵpipe(2, "translate");
|
|
4297
|
-
i0.ɵɵtext(3, "access_time");
|
|
4298
|
-
i0.ɵɵelementEnd()();
|
|
4299
|
-
}
|
|
4300
|
-
if (rf & 2) {
|
|
4301
|
-
const ctx_r5 = i0.ɵɵnextContext();
|
|
4302
|
-
i0.ɵɵadvance(1);
|
|
4303
|
-
i0.ɵɵpropertyInterpolate2("matTooltip", "", i0.ɵɵpipeBind1(2, 2, "AutoRefresh"), " ", ctx_r5.autorefresh, " seg");
|
|
4290
|
+
i0.ɵɵelement(0, "mat-progress-bar", 32);
|
|
4304
4291
|
}
|
|
4305
4292
|
}
|
|
4306
|
-
function
|
|
4293
|
+
function InfoGridComponent_table_10_th_3_Template(rf, ctx) {
|
|
4307
4294
|
if (rf & 1) {
|
|
4308
|
-
i0.ɵɵelement(0, "th",
|
|
4295
|
+
i0.ɵɵelement(0, "th", 38);
|
|
4309
4296
|
}
|
|
4310
4297
|
}
|
|
4311
4298
|
const _c2$3 = function (a0, a1) { return { "text-center": a0, "align-right": a1 }; };
|
|
4312
|
-
function
|
|
4299
|
+
function InfoGridComponent_table_10_ng_container_4_th_1_Template(rf, ctx) {
|
|
4313
4300
|
if (rf & 1) {
|
|
4314
4301
|
i0.ɵɵelementStart(0, "th", 1);
|
|
4315
4302
|
i0.ɵɵtext(1);
|
|
@@ -4317,72 +4304,72 @@ function InfoGridComponent_table_11_ng_container_4_th_1_Template(rf, ctx) {
|
|
|
4317
4304
|
i0.ɵɵelementEnd();
|
|
4318
4305
|
}
|
|
4319
4306
|
if (rf & 2) {
|
|
4320
|
-
const
|
|
4321
|
-
const
|
|
4322
|
-
const
|
|
4323
|
-
const
|
|
4324
|
-
i0.ɵɵclassMap("col_" +
|
|
4325
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c2$3,
|
|
4307
|
+
const ctx_r47 = i0.ɵɵnextContext();
|
|
4308
|
+
const col_r43 = ctx_r47.$implicit;
|
|
4309
|
+
const i_r44 = ctx_r47.index;
|
|
4310
|
+
const ctx_r45 = i0.ɵɵnextContext(2);
|
|
4311
|
+
i0.ɵɵclassMap("col_" + col_r43.toLowerCase());
|
|
4312
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(6, _c2$3, ctx_r45.colunasType[i_r44] == "check", ctx_r45.colunasType[i_r44].startsWith("n")));
|
|
4326
4313
|
i0.ɵɵadvance(1);
|
|
4327
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4,
|
|
4314
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, col_r43));
|
|
4328
4315
|
}
|
|
4329
4316
|
}
|
|
4330
4317
|
const _c3$2 = function (a0) { return { "width": a0 }; };
|
|
4331
|
-
function
|
|
4318
|
+
function InfoGridComponent_table_10_ng_container_4_th_2_Template(rf, ctx) {
|
|
4332
4319
|
if (rf & 1) {
|
|
4333
|
-
i0.ɵɵelementStart(0, "th",
|
|
4320
|
+
i0.ɵɵelementStart(0, "th", 41);
|
|
4334
4321
|
i0.ɵɵtext(1);
|
|
4335
4322
|
i0.ɵɵpipe(2, "translate");
|
|
4336
4323
|
i0.ɵɵelementEnd();
|
|
4337
4324
|
}
|
|
4338
4325
|
if (rf & 2) {
|
|
4339
|
-
const
|
|
4340
|
-
const
|
|
4341
|
-
const
|
|
4342
|
-
const
|
|
4343
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c3$2,
|
|
4326
|
+
const ctx_r48 = i0.ɵɵnextContext();
|
|
4327
|
+
const i_r44 = ctx_r48.index;
|
|
4328
|
+
const col_r43 = ctx_r48.$implicit;
|
|
4329
|
+
const ctx_r46 = i0.ɵɵnextContext(2);
|
|
4330
|
+
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")));
|
|
4344
4331
|
i0.ɵɵadvance(1);
|
|
4345
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3,
|
|
4332
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, col_r43));
|
|
4346
4333
|
}
|
|
4347
4334
|
}
|
|
4348
|
-
function
|
|
4335
|
+
function InfoGridComponent_table_10_ng_container_4_Template(rf, ctx) {
|
|
4349
4336
|
if (rf & 1) {
|
|
4350
4337
|
i0.ɵɵelementContainerStart(0);
|
|
4351
|
-
i0.ɵɵtemplate(1,
|
|
4352
|
-
i0.ɵɵtemplate(2,
|
|
4338
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_ng_container_4_th_1_Template, 3, 9, "th", 39);
|
|
4339
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_ng_container_4_th_2_Template, 3, 10, "th", 40);
|
|
4353
4340
|
i0.ɵɵelementContainerEnd();
|
|
4354
4341
|
}
|
|
4355
4342
|
if (rf & 2) {
|
|
4356
|
-
const
|
|
4357
|
-
const
|
|
4343
|
+
const i_r44 = ctx.index;
|
|
4344
|
+
const ctx_r40 = i0.ɵɵnextContext(2);
|
|
4358
4345
|
i0.ɵɵadvance(1);
|
|
4359
|
-
i0.ɵɵproperty("ngIf",
|
|
4346
|
+
i0.ɵɵproperty("ngIf", ctx_r40.colunasWidth[i_r44] == "");
|
|
4360
4347
|
i0.ɵɵadvance(1);
|
|
4361
|
-
i0.ɵɵproperty("ngIf",
|
|
4348
|
+
i0.ɵɵproperty("ngIf", ctx_r40.colunasWidth[i_r44] != "");
|
|
4362
4349
|
}
|
|
4363
4350
|
}
|
|
4364
|
-
function
|
|
4351
|
+
function InfoGridComponent_table_10_th_5_button_1_Template(rf, ctx) {
|
|
4365
4352
|
if (rf & 1) {
|
|
4366
|
-
const
|
|
4367
|
-
i0.ɵɵelementStart(0, "button",
|
|
4368
|
-
i0.ɵɵlistener("click", function
|
|
4353
|
+
const _r52 = i0.ɵɵgetCurrentView();
|
|
4354
|
+
i0.ɵɵelementStart(0, "button", 45);
|
|
4355
|
+
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()); });
|
|
4369
4356
|
i0.ɵɵpipe(1, "translate");
|
|
4370
4357
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4371
4358
|
i0.ɵɵtext(3, "add_circle_outline");
|
|
4372
4359
|
i0.ɵɵelementEnd()();
|
|
4373
4360
|
}
|
|
4374
4361
|
if (rf & 2) {
|
|
4375
|
-
const
|
|
4376
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1,
|
|
4362
|
+
const ctx_r49 = i0.ɵɵnextContext(3);
|
|
4363
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, ctx_r49.newlabel));
|
|
4377
4364
|
}
|
|
4378
4365
|
}
|
|
4379
|
-
function
|
|
4366
|
+
function InfoGridComponent_table_10_th_5_button_2_Template(rf, ctx) {
|
|
4380
4367
|
if (rf & 1) {
|
|
4381
|
-
const
|
|
4382
|
-
i0.ɵɵelementStart(0, "button",
|
|
4383
|
-
i0.ɵɵlistener("click", function
|
|
4368
|
+
const _r54 = i0.ɵɵgetCurrentView();
|
|
4369
|
+
i0.ɵɵelementStart(0, "button", 46);
|
|
4370
|
+
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()); });
|
|
4384
4371
|
i0.ɵɵpipe(1, "translate");
|
|
4385
|
-
i0.ɵɵelementStart(2, "mat-icon",
|
|
4372
|
+
i0.ɵɵelementStart(2, "mat-icon", 47);
|
|
4386
4373
|
i0.ɵɵtext(3, "settings");
|
|
4387
4374
|
i0.ɵɵelementEnd()();
|
|
4388
4375
|
}
|
|
@@ -4390,124 +4377,124 @@ function InfoGridComponent_table_11_th_5_button_2_Template(rf, ctx) {
|
|
|
4390
4377
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "CustomizarTabela"));
|
|
4391
4378
|
}
|
|
4392
4379
|
}
|
|
4393
|
-
function
|
|
4380
|
+
function InfoGridComponent_table_10_th_5_Template(rf, ctx) {
|
|
4394
4381
|
if (rf & 1) {
|
|
4395
|
-
i0.ɵɵelementStart(0, "th",
|
|
4396
|
-
i0.ɵɵtemplate(1,
|
|
4397
|
-
i0.ɵɵtemplate(2,
|
|
4382
|
+
i0.ɵɵelementStart(0, "th", 42);
|
|
4383
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_th_5_button_1_Template, 4, 3, "button", 43);
|
|
4384
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_th_5_button_2_Template, 4, 3, "button", 44);
|
|
4398
4385
|
i0.ɵɵelementEnd();
|
|
4399
4386
|
}
|
|
4400
4387
|
if (rf & 2) {
|
|
4401
|
-
const
|
|
4388
|
+
const ctx_r41 = i0.ɵɵnextContext(2);
|
|
4402
4389
|
i0.ɵɵadvance(1);
|
|
4403
|
-
i0.ɵɵproperty("ngIf", !
|
|
4390
|
+
i0.ɵɵproperty("ngIf", !ctx_r41.showPagebar && ctx_r41.enablednew && ctx_r41.hasPermissionNew);
|
|
4404
4391
|
i0.ɵɵadvance(1);
|
|
4405
|
-
i0.ɵɵproperty("ngIf",
|
|
4392
|
+
i0.ɵɵproperty("ngIf", ctx_r41.enabledcols);
|
|
4406
4393
|
}
|
|
4407
4394
|
}
|
|
4408
4395
|
const _c4$1 = function (a0) { return { "icone-secundario": a0 }; };
|
|
4409
|
-
function
|
|
4396
|
+
function InfoGridComponent_table_10_tr_7_td_1_ng_container_1_i_1_Template(rf, ctx) {
|
|
4410
4397
|
if (rf & 1) {
|
|
4411
|
-
i0.ɵɵelementStart(0, "i",
|
|
4398
|
+
i0.ɵɵelementStart(0, "i", 50);
|
|
4412
4399
|
i0.ɵɵpipe(1, "translate");
|
|
4413
4400
|
i0.ɵɵtext(2);
|
|
4414
4401
|
i0.ɵɵelementEnd();
|
|
4415
4402
|
}
|
|
4416
4403
|
if (rf & 2) {
|
|
4417
|
-
const
|
|
4418
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3,
|
|
4404
|
+
const icon_r62 = i0.ɵɵnextContext().$implicit;
|
|
4405
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3, icon_r62.Tooltip))("ngClass", i0.ɵɵpureFunction1(5, _c4$1, icon_r62.Principal == false));
|
|
4419
4406
|
i0.ɵɵadvance(2);
|
|
4420
|
-
i0.ɵɵtextInterpolate(
|
|
4407
|
+
i0.ɵɵtextInterpolate(icon_r62.Icon);
|
|
4421
4408
|
}
|
|
4422
4409
|
}
|
|
4423
|
-
function
|
|
4410
|
+
function InfoGridComponent_table_10_tr_7_td_1_ng_container_1_Template(rf, ctx) {
|
|
4424
4411
|
if (rf & 1) {
|
|
4425
4412
|
i0.ɵɵelementContainerStart(0);
|
|
4426
|
-
i0.ɵɵtemplate(1,
|
|
4413
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_td_1_ng_container_1_i_1_Template, 3, 7, "i", 49);
|
|
4427
4414
|
i0.ɵɵelementContainerEnd();
|
|
4428
4415
|
}
|
|
4429
4416
|
if (rf & 2) {
|
|
4430
|
-
const
|
|
4431
|
-
const
|
|
4417
|
+
const icon_r62 = ctx.$implicit;
|
|
4418
|
+
const mod_r55 = i0.ɵɵnextContext(2).$implicit;
|
|
4432
4419
|
i0.ɵɵadvance(1);
|
|
4433
|
-
i0.ɵɵproperty("ngIf",
|
|
4420
|
+
i0.ɵɵproperty("ngIf", icon_r62.Name == mod_r55.Icon);
|
|
4434
4421
|
}
|
|
4435
4422
|
}
|
|
4436
|
-
function
|
|
4423
|
+
function InfoGridComponent_table_10_tr_7_td_1_Template(rf, ctx) {
|
|
4437
4424
|
if (rf & 1) {
|
|
4438
4425
|
i0.ɵɵelementStart(0, "td");
|
|
4439
|
-
i0.ɵɵtemplate(1,
|
|
4426
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_td_1_ng_container_1_Template, 2, 1, "ng-container", 18);
|
|
4440
4427
|
i0.ɵɵelementEnd();
|
|
4441
4428
|
}
|
|
4442
4429
|
if (rf & 2) {
|
|
4443
|
-
const
|
|
4430
|
+
const ctx_r57 = i0.ɵɵnextContext(3);
|
|
4444
4431
|
i0.ɵɵadvance(1);
|
|
4445
|
-
i0.ɵɵproperty("ngForOf",
|
|
4432
|
+
i0.ɵɵproperty("ngForOf", ctx_r57.icons);
|
|
4446
4433
|
}
|
|
4447
4434
|
}
|
|
4448
|
-
function
|
|
4435
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_td_1_Template(rf, ctx) {
|
|
4449
4436
|
if (rf & 1) {
|
|
4450
4437
|
i0.ɵɵelement(0, "td");
|
|
4451
4438
|
}
|
|
4452
4439
|
}
|
|
4453
4440
|
const _c5 = function (a0, a1) { return { "label-expansivel": a0, "label-expandida": a1 }; };
|
|
4454
|
-
function
|
|
4441
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_label_1_Template(rf, ctx) {
|
|
4455
4442
|
if (rf & 1) {
|
|
4456
|
-
i0.ɵɵelement(0, "label",
|
|
4443
|
+
i0.ɵɵelement(0, "label", 62);
|
|
4457
4444
|
i0.ɵɵpipe(1, "translate");
|
|
4458
4445
|
}
|
|
4459
4446
|
if (rf & 2) {
|
|
4460
|
-
const
|
|
4461
|
-
const
|
|
4462
|
-
const
|
|
4463
|
-
const
|
|
4464
|
-
const
|
|
4465
|
-
const
|
|
4466
|
-
const
|
|
4467
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c5,
|
|
4447
|
+
const ctx_r90 = i0.ɵɵnextContext(4);
|
|
4448
|
+
const col_r66 = ctx_r90.$implicit;
|
|
4449
|
+
const i_r67 = ctx_r90.index;
|
|
4450
|
+
const ctx_r89 = i0.ɵɵnextContext();
|
|
4451
|
+
const mod_r55 = ctx_r89.$implicit;
|
|
4452
|
+
const j_r56 = ctx_r89.index;
|
|
4453
|
+
const ctx_r85 = i0.ɵɵnextContext(2);
|
|
4454
|
+
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);
|
|
4468
4455
|
}
|
|
4469
4456
|
}
|
|
4470
|
-
function
|
|
4457
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_label_2_Template(rf, ctx) {
|
|
4471
4458
|
if (rf & 1) {
|
|
4472
|
-
i0.ɵɵelementStart(0, "label",
|
|
4459
|
+
i0.ɵɵelementStart(0, "label", 63);
|
|
4473
4460
|
i0.ɵɵtext(1);
|
|
4474
4461
|
i0.ɵɵpipe(2, "translate");
|
|
4475
4462
|
i0.ɵɵelementEnd();
|
|
4476
4463
|
}
|
|
4477
4464
|
if (rf & 2) {
|
|
4478
|
-
const
|
|
4479
|
-
const
|
|
4480
|
-
const
|
|
4481
|
-
const
|
|
4482
|
-
const
|
|
4483
|
-
const
|
|
4484
|
-
const
|
|
4485
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c5,
|
|
4465
|
+
const ctx_r92 = i0.ɵɵnextContext(4);
|
|
4466
|
+
const col_r66 = ctx_r92.$implicit;
|
|
4467
|
+
const i_r67 = ctx_r92.index;
|
|
4468
|
+
const ctx_r91 = i0.ɵɵnextContext();
|
|
4469
|
+
const mod_r55 = ctx_r91.$implicit;
|
|
4470
|
+
const j_r56 = ctx_r91.index;
|
|
4471
|
+
const ctx_r86 = i0.ɵɵnextContext(2);
|
|
4472
|
+
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]));
|
|
4486
4473
|
i0.ɵɵadvance(1);
|
|
4487
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 2,
|
|
4474
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 2, mod_r55[col_r66], ctx_r86.colunasHtml[i_r67]) || "");
|
|
4488
4475
|
}
|
|
4489
4476
|
}
|
|
4490
4477
|
const _c6 = function (a0) { return { "mostrar-mais-expandido": a0 }; };
|
|
4491
4478
|
const _c7 = function (a0) { return { "icone-expandido": a0 }; };
|
|
4492
|
-
function
|
|
4479
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_div_3_Template(rf, ctx) {
|
|
4493
4480
|
if (rf & 1) {
|
|
4494
|
-
const
|
|
4495
|
-
i0.ɵɵelementStart(0, "div",
|
|
4496
|
-
i0.ɵɵlistener("click", function
|
|
4481
|
+
const _r95 = i0.ɵɵgetCurrentView();
|
|
4482
|
+
i0.ɵɵelementStart(0, "div", 64);
|
|
4483
|
+
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)); });
|
|
4497
4484
|
i0.ɵɵelementStart(1, "mat-icon", 1);
|
|
4498
4485
|
i0.ɵɵtext(2, "keyboard_arrow_down");
|
|
4499
4486
|
i0.ɵɵelementEnd()();
|
|
4500
4487
|
}
|
|
4501
4488
|
if (rf & 2) {
|
|
4502
|
-
const
|
|
4503
|
-
const
|
|
4504
|
-
const
|
|
4505
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c6,
|
|
4489
|
+
const i_r67 = i0.ɵɵnextContext(4).index;
|
|
4490
|
+
const j_r56 = i0.ɵɵnextContext().index;
|
|
4491
|
+
const ctx_r87 = i0.ɵɵnextContext(2);
|
|
4492
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c6, ctx_r87.colunasItensExpandidos[j_r56][i_r67]));
|
|
4506
4493
|
i0.ɵɵadvance(1);
|
|
4507
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c7,
|
|
4494
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c7, ctx_r87.colunasItensExpandidos[j_r56][i_r67]));
|
|
4508
4495
|
}
|
|
4509
4496
|
}
|
|
4510
|
-
function
|
|
4497
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_p_4_Template(rf, ctx) {
|
|
4511
4498
|
if (rf & 1) {
|
|
4512
4499
|
i0.ɵɵelementStart(0, "p");
|
|
4513
4500
|
i0.ɵɵtext(1);
|
|
@@ -4515,266 +4502,266 @@ function InfoGridComponent_table_11_tr_7_ng_container_2_ng_container_2_ng_contai
|
|
|
4515
4502
|
i0.ɵɵelementEnd();
|
|
4516
4503
|
}
|
|
4517
4504
|
if (rf & 2) {
|
|
4518
|
-
const
|
|
4519
|
-
const
|
|
4520
|
-
const
|
|
4505
|
+
const i_r67 = i0.ɵɵnextContext(4).index;
|
|
4506
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4507
|
+
const ctx_r88 = i0.ɵɵnextContext(2);
|
|
4521
4508
|
i0.ɵɵadvance(1);
|
|
4522
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1,
|
|
4509
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, mod_r55.Badge, ctx_r88.colunasTranslate[i_r67]));
|
|
4523
4510
|
}
|
|
4524
4511
|
}
|
|
4525
4512
|
const _c8 = function (a0) { return { "td-expansivel": a0 }; };
|
|
4526
|
-
function
|
|
4513
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_Template(rf, ctx) {
|
|
4527
4514
|
if (rf & 1) {
|
|
4528
4515
|
i0.ɵɵelementStart(0, "td", 1);
|
|
4529
|
-
i0.ɵɵtemplate(1,
|
|
4530
|
-
i0.ɵɵtemplate(2,
|
|
4531
|
-
i0.ɵɵtemplate(3,
|
|
4532
|
-
i0.ɵɵtemplate(4,
|
|
4516
|
+
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);
|
|
4517
|
+
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);
|
|
4518
|
+
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);
|
|
4519
|
+
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);
|
|
4533
4520
|
i0.ɵɵelementEnd();
|
|
4534
4521
|
}
|
|
4535
4522
|
if (rf & 2) {
|
|
4536
|
-
const
|
|
4537
|
-
const
|
|
4538
|
-
const
|
|
4539
|
-
const
|
|
4540
|
-
const
|
|
4541
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c8,
|
|
4523
|
+
const ctx_r102 = i0.ɵɵnextContext(3);
|
|
4524
|
+
const col_r66 = ctx_r102.$implicit;
|
|
4525
|
+
const i_r67 = ctx_r102.index;
|
|
4526
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4527
|
+
const ctx_r81 = i0.ɵɵnextContext(2);
|
|
4528
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c8, mod_r55[col_r66].length > ctx_r81.limitcharacters && ctx_r81.enabledexpand == true));
|
|
4542
4529
|
i0.ɵɵadvance(1);
|
|
4543
|
-
i0.ɵɵproperty("ngIf",
|
|
4530
|
+
i0.ɵɵproperty("ngIf", ctx_r81.colunasHtml[i_r67] === true);
|
|
4544
4531
|
i0.ɵɵadvance(1);
|
|
4545
|
-
i0.ɵɵproperty("ngIf",
|
|
4532
|
+
i0.ɵɵproperty("ngIf", ctx_r81.colunasHtml[i_r67] === false);
|
|
4546
4533
|
i0.ɵɵadvance(1);
|
|
4547
|
-
i0.ɵɵproperty("ngIf",
|
|
4534
|
+
i0.ɵɵproperty("ngIf", ctx_r81.enabledexpand == true && mod_r55[col_r66].length > ctx_r81.limitcharacters);
|
|
4548
4535
|
i0.ɵɵadvance(1);
|
|
4549
|
-
i0.ɵɵproperty("ngIf",
|
|
4536
|
+
i0.ɵɵproperty("ngIf", i_r67 == 0 && mod_r55.Badge != null && mod_r55.Badge != undefined);
|
|
4550
4537
|
}
|
|
4551
4538
|
}
|
|
4552
|
-
function
|
|
4539
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_2_Template(rf, ctx) {
|
|
4553
4540
|
if (rf & 1) {
|
|
4554
4541
|
i0.ɵɵelementStart(0, "td")(1, "mat-icon");
|
|
4555
4542
|
i0.ɵɵtext(2, "check_box");
|
|
4556
4543
|
i0.ɵɵelementEnd()();
|
|
4557
4544
|
}
|
|
4558
4545
|
}
|
|
4559
|
-
function
|
|
4546
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_3_Template(rf, ctx) {
|
|
4560
4547
|
if (rf & 1) {
|
|
4561
4548
|
i0.ɵɵelementStart(0, "td")(1, "mat-icon");
|
|
4562
4549
|
i0.ɵɵtext(2, "check_box_outline_blank");
|
|
4563
4550
|
i0.ɵɵelementEnd()();
|
|
4564
4551
|
}
|
|
4565
4552
|
}
|
|
4566
|
-
function
|
|
4553
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_4_Template(rf, ctx) {
|
|
4567
4554
|
if (rf & 1) {
|
|
4568
4555
|
i0.ɵɵelementStart(0, "td");
|
|
4569
4556
|
i0.ɵɵtext(1, "0");
|
|
4570
4557
|
i0.ɵɵelementEnd();
|
|
4571
4558
|
}
|
|
4572
4559
|
}
|
|
4573
|
-
function
|
|
4560
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_Template(rf, ctx) {
|
|
4574
4561
|
if (rf & 1) {
|
|
4575
4562
|
i0.ɵɵelementContainerStart(0);
|
|
4576
|
-
i0.ɵɵtemplate(1,
|
|
4577
|
-
i0.ɵɵtemplate(2,
|
|
4578
|
-
i0.ɵɵtemplate(3,
|
|
4579
|
-
i0.ɵɵtemplate(4,
|
|
4563
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_1_Template, 5, 7, "td", 58);
|
|
4564
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_2_Template, 3, 0, "td", 7);
|
|
4565
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_3_Template, 3, 0, "td", 7);
|
|
4566
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_td_4_Template, 2, 0, "td", 7);
|
|
4580
4567
|
i0.ɵɵelementContainerEnd();
|
|
4581
4568
|
}
|
|
4582
4569
|
if (rf & 2) {
|
|
4583
|
-
const
|
|
4584
|
-
const
|
|
4570
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4571
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4585
4572
|
i0.ɵɵadvance(1);
|
|
4586
|
-
i0.ɵɵproperty("ngIf",
|
|
4573
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] !== true && mod_r55[col_r66] !== false && mod_r55[col_r66] !== 0 && mod_r55[col_r66] !== "0");
|
|
4587
4574
|
i0.ɵɵadvance(1);
|
|
4588
|
-
i0.ɵɵproperty("ngIf",
|
|
4575
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] === true);
|
|
4589
4576
|
i0.ɵɵadvance(1);
|
|
4590
|
-
i0.ɵɵproperty("ngIf",
|
|
4577
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] === false);
|
|
4591
4578
|
i0.ɵɵadvance(1);
|
|
4592
|
-
i0.ɵɵproperty("ngIf",
|
|
4579
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] === 0 || mod_r55[col_r66] === "0");
|
|
4593
4580
|
}
|
|
4594
4581
|
}
|
|
4595
|
-
function
|
|
4582
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_2_Template(rf, ctx) {
|
|
4596
4583
|
if (rf & 1) {
|
|
4597
|
-
i0.ɵɵelement(0, "td",
|
|
4584
|
+
i0.ɵɵelement(0, "td", 65);
|
|
4598
4585
|
i0.ɵɵpipe(1, "date");
|
|
4599
4586
|
}
|
|
4600
4587
|
if (rf & 2) {
|
|
4601
|
-
const
|
|
4602
|
-
const
|
|
4603
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1,
|
|
4588
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4589
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4590
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1, mod_r55[col_r66], "shortDate"), i0.ɵɵsanitizeHtml);
|
|
4604
4591
|
}
|
|
4605
4592
|
}
|
|
4606
|
-
function
|
|
4593
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_3_Template(rf, ctx) {
|
|
4607
4594
|
if (rf & 1) {
|
|
4608
|
-
i0.ɵɵelementStart(0, "td",
|
|
4595
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4609
4596
|
i0.ɵɵtext(1);
|
|
4610
4597
|
i0.ɵɵpipe(2, "date");
|
|
4611
4598
|
i0.ɵɵpipe(3, "date");
|
|
4612
4599
|
i0.ɵɵelementEnd();
|
|
4613
4600
|
}
|
|
4614
4601
|
if (rf & 2) {
|
|
4615
|
-
const
|
|
4616
|
-
const
|
|
4602
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4603
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4617
4604
|
i0.ɵɵadvance(1);
|
|
4618
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind2(2, 2,
|
|
4605
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind2(2, 2, mod_r55[col_r66], "shortDate"), " ", i0.ɵɵpipeBind2(3, 5, mod_r55[col_r66], "mediumTime"), "");
|
|
4619
4606
|
}
|
|
4620
4607
|
}
|
|
4621
|
-
function
|
|
4608
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_4_Template(rf, ctx) {
|
|
4622
4609
|
if (rf & 1) {
|
|
4623
|
-
i0.ɵɵelement(0, "td",
|
|
4610
|
+
i0.ɵɵelement(0, "td", 65);
|
|
4624
4611
|
i0.ɵɵpipe(1, "date");
|
|
4625
4612
|
}
|
|
4626
4613
|
if (rf & 2) {
|
|
4627
|
-
const
|
|
4628
|
-
const
|
|
4629
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1,
|
|
4614
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4615
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4616
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind2(1, 1, mod_r55[col_r66], "MM/yyyy"), i0.ɵɵsanitizeHtml);
|
|
4630
4617
|
}
|
|
4631
4618
|
}
|
|
4632
|
-
function
|
|
4619
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_5_Template(rf, ctx) {
|
|
4633
4620
|
if (rf & 1) {
|
|
4634
|
-
i0.ɵɵelementStart(0, "td",
|
|
4621
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4635
4622
|
i0.ɵɵtext(1);
|
|
4636
4623
|
i0.ɵɵpipe(2, "number");
|
|
4637
4624
|
i0.ɵɵelementEnd();
|
|
4638
4625
|
}
|
|
4639
4626
|
if (rf & 2) {
|
|
4640
|
-
const
|
|
4641
|
-
const
|
|
4642
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4627
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4628
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4629
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4643
4630
|
i0.ɵɵadvance(1);
|
|
4644
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4631
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.0-0"));
|
|
4645
4632
|
}
|
|
4646
4633
|
}
|
|
4647
|
-
function
|
|
4634
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_6_Template(rf, ctx) {
|
|
4648
4635
|
if (rf & 1) {
|
|
4649
|
-
i0.ɵɵelementStart(0, "td",
|
|
4636
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4650
4637
|
i0.ɵɵtext(1);
|
|
4651
4638
|
i0.ɵɵpipe(2, "number");
|
|
4652
4639
|
i0.ɵɵelementEnd();
|
|
4653
4640
|
}
|
|
4654
4641
|
if (rf & 2) {
|
|
4655
|
-
const
|
|
4656
|
-
const
|
|
4657
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4642
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4643
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4644
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4658
4645
|
i0.ɵɵadvance(1);
|
|
4659
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4646
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.2-2"));
|
|
4660
4647
|
}
|
|
4661
4648
|
}
|
|
4662
|
-
function
|
|
4649
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_7_Template(rf, ctx) {
|
|
4663
4650
|
if (rf & 1) {
|
|
4664
|
-
i0.ɵɵelementStart(0, "td",
|
|
4651
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4665
4652
|
i0.ɵɵtext(1);
|
|
4666
4653
|
i0.ɵɵpipe(2, "number");
|
|
4667
4654
|
i0.ɵɵelementEnd();
|
|
4668
4655
|
}
|
|
4669
4656
|
if (rf & 2) {
|
|
4670
|
-
const
|
|
4671
|
-
const
|
|
4672
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4657
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4658
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4659
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4673
4660
|
i0.ɵɵadvance(1);
|
|
4674
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4661
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.4-4"));
|
|
4675
4662
|
}
|
|
4676
4663
|
}
|
|
4677
|
-
function
|
|
4664
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_8_Template(rf, ctx) {
|
|
4678
4665
|
if (rf & 1) {
|
|
4679
|
-
i0.ɵɵelementStart(0, "td",
|
|
4666
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4680
4667
|
i0.ɵɵtext(1);
|
|
4681
4668
|
i0.ɵɵpipe(2, "number");
|
|
4682
4669
|
i0.ɵɵelementEnd();
|
|
4683
4670
|
}
|
|
4684
4671
|
if (rf & 2) {
|
|
4685
|
-
const
|
|
4686
|
-
const
|
|
4687
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4672
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4673
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4674
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4688
4675
|
i0.ɵɵadvance(1);
|
|
4689
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4676
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.6-6"));
|
|
4690
4677
|
}
|
|
4691
4678
|
}
|
|
4692
|
-
function
|
|
4679
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_9_Template(rf, ctx) {
|
|
4693
4680
|
if (rf & 1) {
|
|
4694
|
-
i0.ɵɵelementStart(0, "td",
|
|
4681
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4695
4682
|
i0.ɵɵtext(1);
|
|
4696
4683
|
i0.ɵɵpipe(2, "number");
|
|
4697
4684
|
i0.ɵɵelementEnd();
|
|
4698
4685
|
}
|
|
4699
4686
|
if (rf & 2) {
|
|
4700
|
-
const
|
|
4701
|
-
const
|
|
4702
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4687
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4688
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4689
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4703
4690
|
i0.ɵɵadvance(1);
|
|
4704
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4691
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.9-9"));
|
|
4705
4692
|
}
|
|
4706
4693
|
}
|
|
4707
|
-
function
|
|
4694
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_10_Template(rf, ctx) {
|
|
4708
4695
|
if (rf & 1) {
|
|
4709
|
-
i0.ɵɵelementStart(0, "td",
|
|
4696
|
+
i0.ɵɵelementStart(0, "td", 66);
|
|
4710
4697
|
i0.ɵɵtext(1);
|
|
4711
4698
|
i0.ɵɵpipe(2, "number");
|
|
4712
4699
|
i0.ɵɵelementEnd();
|
|
4713
4700
|
}
|
|
4714
4701
|
if (rf & 2) {
|
|
4715
|
-
const
|
|
4716
|
-
const
|
|
4717
|
-
i0.ɵɵclassMap("align-right " + (
|
|
4702
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4703
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4704
|
+
i0.ɵɵclassMap("align-right " + (mod_r55[col_r66] < 0 ? "text-red" : ""));
|
|
4718
4705
|
i0.ɵɵadvance(1);
|
|
4719
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3,
|
|
4706
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 3, mod_r55[col_r66], "1.12-12"));
|
|
4720
4707
|
}
|
|
4721
4708
|
}
|
|
4722
|
-
function
|
|
4709
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_container_1_Template(rf, ctx) {
|
|
4723
4710
|
if (rf & 1) {
|
|
4724
4711
|
i0.ɵɵelementContainer(0);
|
|
4725
4712
|
}
|
|
4726
4713
|
}
|
|
4727
|
-
function
|
|
4714
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_template_2_Template(rf, ctx) {
|
|
4728
4715
|
if (rf & 1) {
|
|
4729
4716
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
4730
4717
|
i0.ɵɵtext(1, "check_box");
|
|
4731
4718
|
i0.ɵɵelementEnd();
|
|
4732
4719
|
}
|
|
4733
4720
|
}
|
|
4734
|
-
function
|
|
4721
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_ng_template_4_Template(rf, ctx) {
|
|
4735
4722
|
if (rf & 1) {
|
|
4736
4723
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
4737
4724
|
i0.ɵɵtext(1, "check_box_outline_blank");
|
|
4738
4725
|
i0.ɵɵelementEnd();
|
|
4739
4726
|
}
|
|
4740
4727
|
}
|
|
4741
|
-
function
|
|
4728
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_Template(rf, ctx) {
|
|
4742
4729
|
if (rf & 1) {
|
|
4743
|
-
i0.ɵɵelementStart(0, "td",
|
|
4744
|
-
i0.ɵɵtemplate(1,
|
|
4745
|
-
i0.ɵɵtemplate(2,
|
|
4746
|
-
i0.ɵɵtemplate(4,
|
|
4730
|
+
i0.ɵɵelementStart(0, "td", 67);
|
|
4731
|
+
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);
|
|
4732
|
+
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);
|
|
4733
|
+
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);
|
|
4747
4734
|
i0.ɵɵelementEnd();
|
|
4748
4735
|
}
|
|
4749
4736
|
if (rf & 2) {
|
|
4750
|
-
const
|
|
4751
|
-
const
|
|
4752
|
-
const
|
|
4753
|
-
const
|
|
4737
|
+
const _r124 = i0.ɵɵreference(3);
|
|
4738
|
+
const _r126 = i0.ɵɵreference(5);
|
|
4739
|
+
const col_r66 = i0.ɵɵnextContext(2).$implicit;
|
|
4740
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4754
4741
|
i0.ɵɵadvance(1);
|
|
4755
|
-
i0.ɵɵproperty("ngIf",
|
|
4742
|
+
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);
|
|
4756
4743
|
}
|
|
4757
4744
|
}
|
|
4758
|
-
function
|
|
4745
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_Template(rf, ctx) {
|
|
4759
4746
|
if (rf & 1) {
|
|
4760
|
-
i0.ɵɵelementContainerStart(0,
|
|
4761
|
-
i0.ɵɵtemplate(1,
|
|
4762
|
-
i0.ɵɵtemplate(2,
|
|
4763
|
-
i0.ɵɵtemplate(3,
|
|
4764
|
-
i0.ɵɵtemplate(4,
|
|
4765
|
-
i0.ɵɵtemplate(5,
|
|
4766
|
-
i0.ɵɵtemplate(6,
|
|
4767
|
-
i0.ɵɵtemplate(7,
|
|
4768
|
-
i0.ɵɵtemplate(8,
|
|
4769
|
-
i0.ɵɵtemplate(9,
|
|
4770
|
-
i0.ɵɵtemplate(10,
|
|
4771
|
-
i0.ɵɵtemplate(11,
|
|
4747
|
+
i0.ɵɵelementContainerStart(0, 52);
|
|
4748
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_ng_container_1_Template, 5, 4, "ng-container", 53);
|
|
4749
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_2_Template, 2, 4, "td", 54);
|
|
4750
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_3_Template, 4, 8, "td", 55);
|
|
4751
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_4_Template, 2, 4, "td", 54);
|
|
4752
|
+
i0.ɵɵtemplate(5, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_5_Template, 3, 6, "td", 56);
|
|
4753
|
+
i0.ɵɵtemplate(6, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_6_Template, 3, 6, "td", 56);
|
|
4754
|
+
i0.ɵɵtemplate(7, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_7_Template, 3, 6, "td", 56);
|
|
4755
|
+
i0.ɵɵtemplate(8, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_8_Template, 3, 6, "td", 56);
|
|
4756
|
+
i0.ɵɵtemplate(9, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_9_Template, 3, 6, "td", 56);
|
|
4757
|
+
i0.ɵɵtemplate(10, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_10_Template, 3, 6, "td", 56);
|
|
4758
|
+
i0.ɵɵtemplate(11, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_td_11_Template, 6, 3, "td", 57);
|
|
4772
4759
|
i0.ɵɵelementContainerEnd();
|
|
4773
4760
|
}
|
|
4774
4761
|
if (rf & 2) {
|
|
4775
|
-
const
|
|
4776
|
-
const
|
|
4777
|
-
i0.ɵɵproperty("ngSwitch",
|
|
4762
|
+
const i_r67 = i0.ɵɵnextContext().index;
|
|
4763
|
+
const ctx_r69 = i0.ɵɵnextContext(3);
|
|
4764
|
+
i0.ɵɵproperty("ngSwitch", ctx_r69.colunasType[i_r67]);
|
|
4778
4765
|
i0.ɵɵadvance(1);
|
|
4779
4766
|
i0.ɵɵproperty("ngSwitchCase", "label");
|
|
4780
4767
|
i0.ɵɵadvance(1);
|
|
@@ -4799,102 +4786,102 @@ function InfoGridComponent_table_11_tr_7_ng_container_2_ng_container_2_Template(
|
|
|
4799
4786
|
i0.ɵɵproperty("ngSwitchCase", "check");
|
|
4800
4787
|
}
|
|
4801
4788
|
}
|
|
4802
|
-
function
|
|
4789
|
+
function InfoGridComponent_table_10_tr_7_ng_container_2_Template(rf, ctx) {
|
|
4803
4790
|
if (rf & 1) {
|
|
4804
4791
|
i0.ɵɵelementContainerStart(0);
|
|
4805
|
-
i0.ɵɵtemplate(1,
|
|
4806
|
-
i0.ɵɵtemplate(2,
|
|
4792
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_2_td_1_Template, 1, 0, "td", 7);
|
|
4793
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_ng_container_2_Template, 12, 12, "ng-container", 51);
|
|
4807
4794
|
i0.ɵɵelementContainerEnd();
|
|
4808
4795
|
}
|
|
4809
4796
|
if (rf & 2) {
|
|
4810
|
-
const
|
|
4811
|
-
const
|
|
4797
|
+
const col_r66 = ctx.$implicit;
|
|
4798
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4812
4799
|
i0.ɵɵadvance(1);
|
|
4813
|
-
i0.ɵɵproperty("ngIf",
|
|
4800
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] == null || mod_r55[col_r66] == undefined);
|
|
4814
4801
|
i0.ɵɵadvance(1);
|
|
4815
|
-
i0.ɵɵproperty("ngIf",
|
|
4802
|
+
i0.ɵɵproperty("ngIf", mod_r55[col_r66] != null && mod_r55[col_r66] != undefined);
|
|
4816
4803
|
}
|
|
4817
4804
|
}
|
|
4818
|
-
function
|
|
4805
|
+
function InfoGridComponent_table_10_tr_7_ng_container_3_button_2_Template(rf, ctx) {
|
|
4819
4806
|
if (rf & 1) {
|
|
4820
|
-
const
|
|
4821
|
-
i0.ɵɵelementStart(0, "button",
|
|
4822
|
-
i0.ɵɵlistener("click", function
|
|
4807
|
+
const _r135 = i0.ɵɵgetCurrentView();
|
|
4808
|
+
i0.ɵɵelementStart(0, "button", 73);
|
|
4809
|
+
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)); });
|
|
4823
4810
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
4824
4811
|
i0.ɵɵtext(2);
|
|
4825
4812
|
i0.ɵɵelementEnd()();
|
|
4826
4813
|
}
|
|
4827
4814
|
if (rf & 2) {
|
|
4828
|
-
const
|
|
4815
|
+
const ctx_r132 = i0.ɵɵnextContext(4);
|
|
4829
4816
|
i0.ɵɵadvance(2);
|
|
4830
|
-
i0.ɵɵtextInterpolate(
|
|
4817
|
+
i0.ɵɵtextInterpolate(ctx_r132.accessicon || "arrow_forward");
|
|
4831
4818
|
}
|
|
4832
4819
|
}
|
|
4833
|
-
function
|
|
4820
|
+
function InfoGridComponent_table_10_tr_7_ng_container_3_Template(rf, ctx) {
|
|
4834
4821
|
if (rf & 1) {
|
|
4835
4822
|
i0.ɵɵelementContainerStart(0);
|
|
4836
|
-
i0.ɵɵelementStart(1, "td",
|
|
4837
|
-
i0.ɵɵtemplate(2,
|
|
4823
|
+
i0.ɵɵelementStart(1, "td", 71);
|
|
4824
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_3_button_2_Template, 3, 1, "button", 72);
|
|
4838
4825
|
i0.ɵɵelementEnd();
|
|
4839
4826
|
i0.ɵɵelementContainerEnd();
|
|
4840
4827
|
}
|
|
4841
4828
|
if (rf & 2) {
|
|
4842
|
-
const
|
|
4829
|
+
const ctx_r59 = i0.ɵɵnextContext(3);
|
|
4843
4830
|
i0.ɵɵadvance(2);
|
|
4844
|
-
i0.ɵɵproperty("ngIf",
|
|
4831
|
+
i0.ɵɵproperty("ngIf", ctx_r59.enabledview);
|
|
4845
4832
|
}
|
|
4846
4833
|
}
|
|
4847
|
-
function
|
|
4834
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_a_1_Template(rf, ctx) {
|
|
4848
4835
|
if (rf & 1) {
|
|
4849
|
-
i0.ɵɵelementStart(0, "a",
|
|
4836
|
+
i0.ɵɵelementStart(0, "a", 79);
|
|
4850
4837
|
i0.ɵɵpipe(1, "translate");
|
|
4851
4838
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4852
4839
|
i0.ɵɵtext(3, "visibility");
|
|
4853
4840
|
i0.ɵɵelementEnd()();
|
|
4854
4841
|
}
|
|
4855
4842
|
if (rf & 2) {
|
|
4856
|
-
const
|
|
4857
|
-
const
|
|
4858
|
-
i0.ɵɵpropertyInterpolate("href",
|
|
4843
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4844
|
+
const ctx_r137 = i0.ɵɵnextContext(2);
|
|
4845
|
+
i0.ɵɵpropertyInterpolate("href", ctx_r137.templateurl.replace("{id}", mod_r55.Id), i0.ɵɵsanitizeUrl);
|
|
4859
4846
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "Abrir"));
|
|
4860
4847
|
}
|
|
4861
4848
|
}
|
|
4862
|
-
function
|
|
4849
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_button_1_Template(rf, ctx) {
|
|
4863
4850
|
if (rf & 1) {
|
|
4864
|
-
const
|
|
4865
|
-
i0.ɵɵelementStart(0, "button",
|
|
4866
|
-
i0.ɵɵlistener("click", function
|
|
4851
|
+
const _r149 = i0.ɵɵgetCurrentView();
|
|
4852
|
+
i0.ɵɵelementStart(0, "button", 80);
|
|
4853
|
+
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)); });
|
|
4867
4854
|
i0.ɵɵpipe(1, "translate");
|
|
4868
4855
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4869
4856
|
i0.ɵɵtext(3);
|
|
4870
4857
|
i0.ɵɵelementEnd()();
|
|
4871
4858
|
}
|
|
4872
4859
|
if (rf & 2) {
|
|
4873
|
-
const
|
|
4874
|
-
const
|
|
4875
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3,
|
|
4860
|
+
const b_r145 = i0.ɵɵnextContext().$implicit;
|
|
4861
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4862
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3, b_r145.label))("disabled", b_r145.disabledField && mod_r55[b_r145.disabledField] === true);
|
|
4876
4863
|
i0.ɵɵadvance(3);
|
|
4877
|
-
i0.ɵɵtextInterpolate(
|
|
4864
|
+
i0.ɵɵtextInterpolate(b_r145.icon);
|
|
4878
4865
|
}
|
|
4879
4866
|
}
|
|
4880
|
-
function
|
|
4867
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_Template(rf, ctx) {
|
|
4881
4868
|
if (rf & 1) {
|
|
4882
4869
|
i0.ɵɵelementContainerStart(0);
|
|
4883
|
-
i0.ɵɵtemplate(1,
|
|
4870
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_button_1_Template, 4, 5, "button", 78);
|
|
4884
4871
|
i0.ɵɵelementContainerEnd();
|
|
4885
4872
|
}
|
|
4886
4873
|
if (rf & 2) {
|
|
4887
|
-
const
|
|
4888
|
-
const
|
|
4874
|
+
const b_r145 = ctx.$implicit;
|
|
4875
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4889
4876
|
i0.ɵɵadvance(1);
|
|
4890
|
-
i0.ɵɵproperty("ngIf",
|
|
4877
|
+
i0.ɵɵproperty("ngIf", b_r145.showOnlyClass == null || b_r145.showOnlyClass == mod_r55.Class);
|
|
4891
4878
|
}
|
|
4892
4879
|
}
|
|
4893
|
-
function
|
|
4880
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_3_Template(rf, ctx) {
|
|
4894
4881
|
if (rf & 1) {
|
|
4895
|
-
const
|
|
4896
|
-
i0.ɵɵelementStart(0, "button",
|
|
4897
|
-
i0.ɵɵlistener("click", function
|
|
4882
|
+
const _r156 = i0.ɵɵgetCurrentView();
|
|
4883
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4884
|
+
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)); });
|
|
4898
4885
|
i0.ɵɵpipe(1, "translate");
|
|
4899
4886
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4900
4887
|
i0.ɵɵtext(3, "file_download");
|
|
@@ -4904,11 +4891,11 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_3_Template(r
|
|
|
4904
4891
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Download"));
|
|
4905
4892
|
}
|
|
4906
4893
|
}
|
|
4907
|
-
function
|
|
4894
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_4_Template(rf, ctx) {
|
|
4908
4895
|
if (rf & 1) {
|
|
4909
|
-
const
|
|
4910
|
-
i0.ɵɵelementStart(0, "button",
|
|
4911
|
-
i0.ɵɵlistener("click", function
|
|
4896
|
+
const _r159 = i0.ɵɵgetCurrentView();
|
|
4897
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4898
|
+
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)); });
|
|
4912
4899
|
i0.ɵɵpipe(1, "translate");
|
|
4913
4900
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4914
4901
|
i0.ɵɵtext(3, "list");
|
|
@@ -4918,26 +4905,26 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_4_Template(r
|
|
|
4918
4905
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Detalhe"));
|
|
4919
4906
|
}
|
|
4920
4907
|
}
|
|
4921
|
-
function
|
|
4908
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_5_Template(rf, ctx) {
|
|
4922
4909
|
if (rf & 1) {
|
|
4923
|
-
const
|
|
4924
|
-
i0.ɵɵelementStart(0, "button",
|
|
4925
|
-
i0.ɵɵlistener("click", function
|
|
4910
|
+
const _r162 = i0.ɵɵgetCurrentView();
|
|
4911
|
+
i0.ɵɵelementStart(0, "button", 80);
|
|
4912
|
+
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)); });
|
|
4926
4913
|
i0.ɵɵpipe(1, "translate");
|
|
4927
4914
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4928
4915
|
i0.ɵɵtext(3, "info");
|
|
4929
4916
|
i0.ɵɵelementEnd()();
|
|
4930
4917
|
}
|
|
4931
4918
|
if (rf & 2) {
|
|
4932
|
-
const
|
|
4933
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "Informacao"))("disabled", (
|
|
4919
|
+
const mod_r55 = i0.ɵɵnextContext(3).$implicit;
|
|
4920
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "Informacao"))("disabled", (mod_r55 == null ? null : mod_r55.Info) == "");
|
|
4934
4921
|
}
|
|
4935
4922
|
}
|
|
4936
|
-
function
|
|
4923
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_6_Template(rf, ctx) {
|
|
4937
4924
|
if (rf & 1) {
|
|
4938
|
-
const
|
|
4939
|
-
i0.ɵɵelementStart(0, "button",
|
|
4940
|
-
i0.ɵɵlistener("click", function
|
|
4925
|
+
const _r166 = i0.ɵɵgetCurrentView();
|
|
4926
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4927
|
+
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)); });
|
|
4941
4928
|
i0.ɵɵpipe(1, "translate");
|
|
4942
4929
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4943
4930
|
i0.ɵɵtext(3, "delete");
|
|
@@ -4947,11 +4934,11 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_6_Template(r
|
|
|
4947
4934
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Excluir"));
|
|
4948
4935
|
}
|
|
4949
4936
|
}
|
|
4950
|
-
function
|
|
4937
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_7_Template(rf, ctx) {
|
|
4951
4938
|
if (rf & 1) {
|
|
4952
|
-
const
|
|
4953
|
-
i0.ɵɵelementStart(0, "button",
|
|
4954
|
-
i0.ɵɵlistener("click", function
|
|
4939
|
+
const _r169 = i0.ɵɵgetCurrentView();
|
|
4940
|
+
i0.ɵɵelementStart(0, "button", 81);
|
|
4941
|
+
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)); });
|
|
4955
4942
|
i0.ɵɵpipe(1, "translate");
|
|
4956
4943
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
4957
4944
|
i0.ɵɵtext(3, "arrow_forward");
|
|
@@ -4961,106 +4948,106 @@ function InfoGridComponent_table_11_tr_7_ng_container_4_td_1_button_7_Template(r
|
|
|
4961
4948
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "Acessar"));
|
|
4962
4949
|
}
|
|
4963
4950
|
}
|
|
4964
|
-
function
|
|
4951
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_td_1_Template(rf, ctx) {
|
|
4965
4952
|
if (rf & 1) {
|
|
4966
|
-
i0.ɵɵelementStart(0, "td",
|
|
4967
|
-
i0.ɵɵtemplate(1,
|
|
4968
|
-
i0.ɵɵtemplate(2,
|
|
4969
|
-
i0.ɵɵtemplate(3,
|
|
4970
|
-
i0.ɵɵtemplate(4,
|
|
4971
|
-
i0.ɵɵtemplate(5,
|
|
4972
|
-
i0.ɵɵtemplate(6,
|
|
4973
|
-
i0.ɵɵtemplate(7,
|
|
4953
|
+
i0.ɵɵelementStart(0, "td", 75);
|
|
4954
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_a_1_Template, 4, 4, "a", 76);
|
|
4955
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_ng_container_2_Template, 2, 1, "ng-container", 18);
|
|
4956
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_3_Template, 4, 3, "button", 77);
|
|
4957
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_4_Template, 4, 3, "button", 77);
|
|
4958
|
+
i0.ɵɵtemplate(5, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_5_Template, 4, 4, "button", 78);
|
|
4959
|
+
i0.ɵɵtemplate(6, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_6_Template, 4, 3, "button", 77);
|
|
4960
|
+
i0.ɵɵtemplate(7, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_button_7_Template, 4, 3, "button", 77);
|
|
4974
4961
|
i0.ɵɵelementEnd();
|
|
4975
4962
|
}
|
|
4976
4963
|
if (rf & 2) {
|
|
4977
|
-
const
|
|
4978
|
-
const
|
|
4964
|
+
const mod_r55 = i0.ɵɵnextContext(2).$implicit;
|
|
4965
|
+
const ctx_r136 = i0.ɵɵnextContext(2);
|
|
4979
4966
|
i0.ɵɵadvance(1);
|
|
4980
|
-
i0.ɵɵproperty("ngIf",
|
|
4967
|
+
i0.ɵɵproperty("ngIf", ctx_r136.templateurl != "");
|
|
4981
4968
|
i0.ɵɵadvance(1);
|
|
4982
|
-
i0.ɵɵproperty("ngForOf",
|
|
4969
|
+
i0.ɵɵproperty("ngForOf", ctx_r136.buttons);
|
|
4983
4970
|
i0.ɵɵadvance(1);
|
|
4984
|
-
i0.ɵɵproperty("ngIf",
|
|
4971
|
+
i0.ɵɵproperty("ngIf", mod_r55.Download != null);
|
|
4985
4972
|
i0.ɵɵadvance(1);
|
|
4986
|
-
i0.ɵɵproperty("ngIf",
|
|
4973
|
+
i0.ɵɵproperty("ngIf", ctx_r136.enableddetail);
|
|
4987
4974
|
i0.ɵɵadvance(1);
|
|
4988
|
-
i0.ɵɵproperty("ngIf", (
|
|
4975
|
+
i0.ɵɵproperty("ngIf", (mod_r55 == null ? null : mod_r55.Info) != null);
|
|
4989
4976
|
i0.ɵɵadvance(1);
|
|
4990
|
-
i0.ɵɵproperty("ngIf", (
|
|
4977
|
+
i0.ɵɵproperty("ngIf", (ctx_r136.disabledcol == "" || mod_r55[ctx_r136.disabledcol] === true) && ctx_r136.enableddelete && ctx_r136.hasPermissionDelete && !mod_r55.HideDelete);
|
|
4991
4978
|
i0.ɵɵadvance(1);
|
|
4992
|
-
i0.ɵɵproperty("ngIf", (
|
|
4979
|
+
i0.ɵɵproperty("ngIf", (ctx_r136.disabledcol == "" || mod_r55[ctx_r136.disabledcol] === true) && ctx_r136.enablededit && ctx_r136.hasPermissionEdit || ctx_r136.enabledview);
|
|
4993
4980
|
}
|
|
4994
4981
|
}
|
|
4995
|
-
function
|
|
4982
|
+
function InfoGridComponent_table_10_tr_7_ng_container_4_Template(rf, ctx) {
|
|
4996
4983
|
if (rf & 1) {
|
|
4997
4984
|
i0.ɵɵelementContainerStart(0);
|
|
4998
|
-
i0.ɵɵtemplate(1,
|
|
4985
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_ng_container_4_td_1_Template, 8, 7, "td", 74);
|
|
4999
4986
|
i0.ɵɵelementContainerEnd();
|
|
5000
4987
|
}
|
|
5001
4988
|
if (rf & 2) {
|
|
5002
|
-
const
|
|
5003
|
-
const
|
|
4989
|
+
const mod_r55 = i0.ɵɵnextContext().$implicit;
|
|
4990
|
+
const ctx_r60 = i0.ɵɵnextContext(2);
|
|
5004
4991
|
i0.ɵɵadvance(1);
|
|
5005
|
-
i0.ɵɵproperty("ngIf",
|
|
4992
|
+
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);
|
|
5006
4993
|
}
|
|
5007
4994
|
}
|
|
5008
4995
|
const _c9 = function (a0) { return { "default-color": a0 }; };
|
|
5009
|
-
function
|
|
4996
|
+
function InfoGridComponent_table_10_tr_7_Template(rf, ctx) {
|
|
5010
4997
|
if (rf & 1) {
|
|
5011
|
-
const
|
|
5012
|
-
i0.ɵɵelementStart(0, "tr",
|
|
5013
|
-
i0.ɵɵlistener("click", function
|
|
5014
|
-
i0.ɵɵtemplate(1,
|
|
5015
|
-
i0.ɵɵtemplate(2,
|
|
5016
|
-
i0.ɵɵtemplate(3,
|
|
5017
|
-
i0.ɵɵtemplate(4,
|
|
4998
|
+
const _r173 = i0.ɵɵgetCurrentView();
|
|
4999
|
+
i0.ɵɵelementStart(0, "tr", 48);
|
|
5000
|
+
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)); });
|
|
5001
|
+
i0.ɵɵtemplate(1, InfoGridComponent_table_10_tr_7_td_1_Template, 2, 1, "td", 7);
|
|
5002
|
+
i0.ɵɵtemplate(2, InfoGridComponent_table_10_tr_7_ng_container_2_Template, 3, 2, "ng-container", 18);
|
|
5003
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_tr_7_ng_container_3_Template, 3, 1, "ng-container", 7);
|
|
5004
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_tr_7_ng_container_4_Template, 2, 1, "ng-container", 7);
|
|
5018
5005
|
i0.ɵɵelementEnd();
|
|
5019
5006
|
}
|
|
5020
5007
|
if (rf & 2) {
|
|
5021
|
-
const
|
|
5022
|
-
const
|
|
5023
|
-
i0.ɵɵclassMap(
|
|
5024
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c9, !
|
|
5008
|
+
const mod_r55 = ctx.$implicit;
|
|
5009
|
+
const ctx_r42 = i0.ɵɵnextContext(2);
|
|
5010
|
+
i0.ɵɵclassMap(mod_r55.Class);
|
|
5011
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c9, !ctx_r42.enabledclassicons));
|
|
5025
5012
|
i0.ɵɵadvance(1);
|
|
5026
|
-
i0.ɵɵproperty("ngIf",
|
|
5013
|
+
i0.ɵɵproperty("ngIf", ctx_r42.enabledclassicons && (mod_r55 == null ? null : mod_r55.Icon) != null);
|
|
5027
5014
|
i0.ɵɵadvance(1);
|
|
5028
|
-
i0.ɵɵproperty("ngForOf",
|
|
5015
|
+
i0.ɵɵproperty("ngForOf", ctx_r42.colunasItens);
|
|
5029
5016
|
i0.ɵɵadvance(1);
|
|
5030
|
-
i0.ɵɵproperty("ngIf",
|
|
5017
|
+
i0.ɵɵproperty("ngIf", ctx_r42.enabledclickaccess);
|
|
5031
5018
|
i0.ɵɵadvance(1);
|
|
5032
|
-
i0.ɵɵproperty("ngIf", !
|
|
5019
|
+
i0.ɵɵproperty("ngIf", !ctx_r42.enabledclickaccess);
|
|
5033
5020
|
}
|
|
5034
5021
|
}
|
|
5035
5022
|
const _c10 = function (a0) { return { "min-height.px": a0 }; };
|
|
5036
5023
|
const _c11 = function (a0, a1) { return { "loading": a0, "clickaccess": a1 }; };
|
|
5037
|
-
function
|
|
5024
|
+
function InfoGridComponent_table_10_Template(rf, ctx) {
|
|
5038
5025
|
if (rf & 1) {
|
|
5039
|
-
i0.ɵɵelementStart(0, "table",
|
|
5040
|
-
i0.ɵɵtemplate(3,
|
|
5041
|
-
i0.ɵɵtemplate(4,
|
|
5042
|
-
i0.ɵɵtemplate(5,
|
|
5026
|
+
i0.ɵɵelementStart(0, "table", 33)(1, "thead")(2, "tr");
|
|
5027
|
+
i0.ɵɵtemplate(3, InfoGridComponent_table_10_th_3_Template, 1, 0, "th", 34);
|
|
5028
|
+
i0.ɵɵtemplate(4, InfoGridComponent_table_10_ng_container_4_Template, 3, 2, "ng-container", 18);
|
|
5029
|
+
i0.ɵɵtemplate(5, InfoGridComponent_table_10_th_5_Template, 3, 2, "th", 35);
|
|
5043
5030
|
i0.ɵɵelementEnd()();
|
|
5044
|
-
i0.ɵɵelementStart(6, "tbody",
|
|
5045
|
-
i0.ɵɵtemplate(7,
|
|
5031
|
+
i0.ɵɵelementStart(6, "tbody", 36);
|
|
5032
|
+
i0.ɵɵtemplate(7, InfoGridComponent_table_10_tr_7_Template, 5, 9, "tr", 37);
|
|
5046
5033
|
i0.ɵɵelementEnd()();
|
|
5047
5034
|
}
|
|
5048
5035
|
if (rf & 2) {
|
|
5049
|
-
const
|
|
5050
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c10,
|
|
5036
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
5037
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c10, ctx_r5.tableHeight))("ngClass", i0.ɵɵpureFunction2(8, _c11, ctx_r5.loading, ctx_r5.enabledclickaccess));
|
|
5051
5038
|
i0.ɵɵadvance(3);
|
|
5052
|
-
i0.ɵɵproperty("ngIf",
|
|
5039
|
+
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);
|
|
5053
5040
|
i0.ɵɵadvance(1);
|
|
5054
|
-
i0.ɵɵproperty("ngForOf",
|
|
5041
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.colunasHeaders);
|
|
5055
5042
|
i0.ɵɵadvance(1);
|
|
5056
|
-
i0.ɵɵproperty("ngIf",
|
|
5043
|
+
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);
|
|
5057
5044
|
i0.ɵɵadvance(2);
|
|
5058
|
-
i0.ɵɵproperty("ngForOf",
|
|
5045
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.data);
|
|
5059
5046
|
}
|
|
5060
5047
|
}
|
|
5061
|
-
function
|
|
5048
|
+
function InfoGridComponent_span_11_Template(rf, ctx) {
|
|
5062
5049
|
if (rf & 1) {
|
|
5063
|
-
i0.ɵɵelementStart(0, "span",
|
|
5050
|
+
i0.ɵɵelementStart(0, "span", 82);
|
|
5064
5051
|
i0.ɵɵtext(1);
|
|
5065
5052
|
i0.ɵɵpipe(2, "translate");
|
|
5066
5053
|
i0.ɵɵelementEnd();
|
|
@@ -5070,9 +5057,9 @@ function InfoGridComponent_span_12_Template(rf, ctx) {
|
|
|
5070
5057
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "NenhumItemEncontrado"));
|
|
5071
5058
|
}
|
|
5072
5059
|
}
|
|
5073
|
-
function
|
|
5060
|
+
function InfoGridComponent_div_14_Template(rf, ctx) {
|
|
5074
5061
|
if (rf & 1) {
|
|
5075
|
-
i0.ɵɵelement(0, "div",
|
|
5062
|
+
i0.ɵɵelement(0, "div", 83);
|
|
5076
5063
|
}
|
|
5077
5064
|
}
|
|
5078
5065
|
const _c12 = function (a0) { return { "table-full": a0 }; };
|
|
@@ -5215,7 +5202,6 @@ class InfoGridComponent {
|
|
|
5215
5202
|
this.setColumns();
|
|
5216
5203
|
}
|
|
5217
5204
|
ngOnInit() {
|
|
5218
|
-
console.log('oi');
|
|
5219
5205
|
clearTimeout(this.callTimeout);
|
|
5220
5206
|
this.url = (this._activatedRoute.snapshot.data['URL'] || this._router.url).toLowerCase();
|
|
5221
5207
|
this._renderer.addClass(this._element.nativeElement, 'uxc' + this._platform.Config.ux);
|
|
@@ -5344,8 +5330,6 @@ class InfoGridComponent {
|
|
|
5344
5330
|
}
|
|
5345
5331
|
setItensExpandidos() {
|
|
5346
5332
|
var _a, _b;
|
|
5347
|
-
if (!this.enabledexpand)
|
|
5348
|
-
return;
|
|
5349
5333
|
this.colunasItensExpandidos = [];
|
|
5350
5334
|
for (let i = 0; i < ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length); i++) {
|
|
5351
5335
|
let row = [];
|
|
@@ -5758,7 +5742,7 @@ class InfoGridComponent {
|
|
|
5758
5742
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.formSearch = _t.first);
|
|
5759
5743
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paginator = _t.first);
|
|
5760
5744
|
}
|
|
5761
|
-
}, 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:
|
|
5745
|
+
}, 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) {
|
|
5762
5746
|
if (rf & 1) {
|
|
5763
5747
|
i0.ɵɵprojectionDef();
|
|
5764
5748
|
i0.ɵɵtemplate(0, InfoGridComponent_info_pagebar_0_Template, 6, 7, "info-pagebar", 0);
|
|
@@ -5770,21 +5754,20 @@ class InfoGridComponent {
|
|
|
5770
5754
|
i0.ɵɵelementStart(8, "section", 8);
|
|
5771
5755
|
i0.ɵɵtemplate(9, InfoGridComponent_mat_progress_bar_9_Template, 1, 0, "mat-progress-bar", 9);
|
|
5772
5756
|
i0.ɵɵelementEnd();
|
|
5773
|
-
i0.ɵɵtemplate(10,
|
|
5774
|
-
i0.ɵɵtemplate(11,
|
|
5775
|
-
i0.ɵɵ
|
|
5776
|
-
i0.ɵɵ
|
|
5777
|
-
i0.ɵɵlistener("change", function InfoGridComponent_Template_info_paginator_change_13_listener($event) { return ctx.changePage($event); });
|
|
5757
|
+
i0.ɵɵtemplate(10, InfoGridComponent_table_10_Template, 8, 11, "table", 10);
|
|
5758
|
+
i0.ɵɵtemplate(11, InfoGridComponent_span_11_Template, 3, 3, "span", 11);
|
|
5759
|
+
i0.ɵɵelementStart(12, "info-paginator", 12, 13);
|
|
5760
|
+
i0.ɵɵlistener("change", function InfoGridComponent_Template_info_paginator_change_12_listener($event) { return ctx.changePage($event); });
|
|
5778
5761
|
i0.ɵɵelementEnd()()();
|
|
5779
|
-
i0.ɵɵtemplate(
|
|
5780
|
-
i0.ɵɵelement(
|
|
5762
|
+
i0.ɵɵtemplate(14, InfoGridComponent_div_14_Template, 1, 0, "div", 14);
|
|
5763
|
+
i0.ɵɵelement(15, "info-alert", 15);
|
|
5781
5764
|
}
|
|
5782
5765
|
if (rf & 2) {
|
|
5783
5766
|
i0.ɵɵproperty("ngIf", ctx.showPagebar);
|
|
5784
5767
|
i0.ɵɵadvance(1);
|
|
5785
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
5768
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c12, ctx.fullarea));
|
|
5786
5769
|
i0.ɵɵadvance(2);
|
|
5787
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
5770
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c13, (ctx.enabledSearch ? 10 : 0) + "px 20px"));
|
|
5788
5771
|
i0.ɵɵadvance(3);
|
|
5789
5772
|
i0.ɵɵproperty("ngIf", ctx.enabledSearch);
|
|
5790
5773
|
i0.ɵɵadvance(1);
|
|
@@ -5792,8 +5775,6 @@ class InfoGridComponent {
|
|
|
5792
5775
|
i0.ɵɵadvance(2);
|
|
5793
5776
|
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
5794
5777
|
i0.ɵɵadvance(1);
|
|
5795
|
-
i0.ɵɵproperty("ngIf", ctx.autorefresh > 0);
|
|
5796
|
-
i0.ɵɵadvance(1);
|
|
5797
5778
|
i0.ɵɵproperty("ngIf", ctx.data != null);
|
|
5798
5779
|
i0.ɵɵadvance(1);
|
|
5799
5780
|
i0.ɵɵproperty("ngIf", ctx.data != null && ctx.data.length == 0);
|
|
@@ -5804,11 +5785,11 @@ class InfoGridComponent {
|
|
|
5804
5785
|
i0.ɵɵadvance(1);
|
|
5805
5786
|
i0.ɵɵproperty("messages", ctx.messages);
|
|
5806
5787
|
}
|
|
5807
|
-
}, 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:
|
|
5788
|
+
}, 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}"] });
|
|
5808
5789
|
(function () {
|
|
5809
5790
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InfoGridComponent, [{
|
|
5810
5791
|
type: Component,
|
|
5811
|
-
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"] }]
|
|
5792
|
+
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"] }]
|
|
5812
5793
|
}], 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: [{
|
|
5813
5794
|
type: Input
|
|
5814
5795
|
}], prefixtitle: [{
|