ng-firebase-table-kxp 1.2.5 → 1.2.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.
@@ -2102,234 +2102,234 @@ TableTooltipComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Table
2102
2102
  function TableComponent_div_0_div_2_button_7_i_1_Template(rf, ctx) { if (rf & 1) {
2103
2103
  i0.ɵɵelement(0, "i");
2104
2104
  } if (rf & 2) {
2105
- const ctx_r17 = i0.ɵɵnextContext(4);
2106
- i0.ɵɵclassMap(ctx_r17.data.actionButton.icon);
2105
+ const ctx_r16 = i0.ɵɵnextContext(4);
2106
+ i0.ɵɵclassMap(ctx_r16.data.actionButton.icon);
2107
2107
  } }
2108
2108
  function TableComponent_div_0_div_2_button_7_Template(rf, ctx) { if (rf & 1) {
2109
- const _r19 = i0.ɵɵgetCurrentView();
2110
- i0.ɵɵelementStart(0, "button", 31);
2111
- i0.ɵɵlistener("click", function TableComponent_div_0_div_2_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r19); const ctx_r18 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r18.data.actionButton.method ? ctx_r18.data.actionButton.method($event) : null); });
2112
- i0.ɵɵtemplate(1, TableComponent_div_0_div_2_button_7_i_1_Template, 1, 2, "i", 32);
2109
+ const _r18 = i0.ɵɵgetCurrentView();
2110
+ i0.ɵɵelementStart(0, "button", 30);
2111
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_2_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r17.data.actionButton.method ? ctx_r17.data.actionButton.method($event) : null); });
2112
+ i0.ɵɵtemplate(1, TableComponent_div_0_div_2_button_7_i_1_Template, 1, 2, "i", 31);
2113
2113
  i0.ɵɵtext(2);
2114
2114
  i0.ɵɵelementEnd();
2115
2115
  } if (rf & 2) {
2116
- const ctx_r12 = i0.ɵɵnextContext(3);
2117
- i0.ɵɵproperty("ngClass", ctx_r12.getActionButtonClass())("routerLink", ctx_r12.data.actionButton.routerLink);
2116
+ const ctx_r11 = i0.ɵɵnextContext(3);
2117
+ i0.ɵɵproperty("ngClass", ctx_r11.getActionButtonClass())("routerLink", ctx_r11.data.actionButton.routerLink);
2118
2118
  i0.ɵɵadvance(1);
2119
- i0.ɵɵproperty("ngIf", ctx_r12.data.actionButton.icon);
2119
+ i0.ɵɵproperty("ngIf", ctx_r11.data.actionButton.icon);
2120
2120
  i0.ɵɵadvance(1);
2121
- i0.ɵɵtextInterpolate1(" ", ctx_r12.data.actionButton.label, " ");
2121
+ i0.ɵɵtextInterpolate1(" ", ctx_r11.data.actionButton.label, " ");
2122
2122
  } }
2123
2123
  function TableComponent_div_0_div_2_div_8_mat_option_9_Template(rf, ctx) { if (rf & 1) {
2124
- i0.ɵɵelementStart(0, "mat-option", 40)(1, "div", 22);
2125
- i0.ɵɵelement(2, "i", 37);
2124
+ i0.ɵɵelementStart(0, "mat-option", 39)(1, "div", 21);
2125
+ i0.ɵɵelement(2, "i", 36);
2126
2126
  i0.ɵɵelementStart(3, "span");
2127
2127
  i0.ɵɵtext(4);
2128
2128
  i0.ɵɵelementEnd()()();
2129
2129
  } if (rf & 2) {
2130
- const item_r21 = ctx.$implicit;
2131
- i0.ɵɵproperty("value", item_r21);
2130
+ const item_r20 = ctx.$implicit;
2131
+ i0.ɵɵproperty("value", item_r20);
2132
2132
  i0.ɵɵadvance(4);
2133
- i0.ɵɵtextInterpolate(item_r21.title);
2133
+ i0.ɵɵtextInterpolate(item_r20.title);
2134
2134
  } }
2135
2135
  function TableComponent_div_0_div_2_div_8_Template(rf, ctx) { if (rf & 1) {
2136
- i0.ɵɵelementStart(0, "div", 33)(1, "div", 34)(2, "div", 35)(3, "mat-form-field", 36)(4, "mat-label", 22);
2137
- i0.ɵɵelement(5, "i", 37);
2136
+ i0.ɵɵelementStart(0, "div", 32)(1, "div", 33)(2, "div", 34)(3, "mat-form-field", 35)(4, "mat-label", 21);
2137
+ i0.ɵɵelement(5, "i", 36);
2138
2138
  i0.ɵɵelementStart(6, "span");
2139
2139
  i0.ɵɵtext(7, "Ordenar por");
2140
2140
  i0.ɵɵelementEnd()();
2141
- i0.ɵɵelementStart(8, "mat-select", 38);
2142
- i0.ɵɵtemplate(9, TableComponent_div_0_div_2_div_8_mat_option_9_Template, 5, 2, "mat-option", 39);
2141
+ i0.ɵɵelementStart(8, "mat-select", 37);
2142
+ i0.ɵɵtemplate(9, TableComponent_div_0_div_2_div_8_mat_option_9_Template, 5, 2, "mat-option", 38);
2143
2143
  i0.ɵɵelementEnd()()()()();
2144
2144
  } if (rf & 2) {
2145
- const ctx_r13 = i0.ɵɵnextContext(3);
2145
+ const ctx_r12 = i0.ɵɵnextContext(3);
2146
2146
  i0.ɵɵadvance(8);
2147
- i0.ɵɵproperty("formControl", ctx_r13.selectSort);
2147
+ i0.ɵɵproperty("formControl", ctx_r12.selectSort);
2148
2148
  i0.ɵɵadvance(1);
2149
- i0.ɵɵproperty("ngForOf", ctx_r13.sortableDropdownItems);
2149
+ i0.ɵɵproperty("ngForOf", ctx_r12.sortableDropdownItems);
2150
2150
  } }
2151
2151
  function TableComponent_div_0_div_2_div_9_div_1_div_1_mat_option_5_Template(rf, ctx) { if (rf & 1) {
2152
- i0.ɵɵelementStart(0, "mat-option", 40)(1, "div", 22);
2153
- i0.ɵɵelement(2, "i", 48);
2152
+ i0.ɵɵelementStart(0, "mat-option", 39)(1, "div", 21);
2153
+ i0.ɵɵelement(2, "i", 47);
2154
2154
  i0.ɵɵelementStart(3, "span");
2155
2155
  i0.ɵɵtext(4);
2156
2156
  i0.ɵɵelementEnd()()();
2157
2157
  } if (rf & 2) {
2158
- const item_r31 = ctx.$implicit;
2159
- i0.ɵɵproperty("value", item_r31);
2158
+ const item_r30 = ctx.$implicit;
2159
+ i0.ɵɵproperty("value", item_r30);
2160
2160
  i0.ɵɵadvance(2);
2161
- i0.ɵɵclassMap(item_r31.icon || "fa fa-filter");
2161
+ i0.ɵɵclassMap(item_r30.icon || "fa fa-filter");
2162
2162
  i0.ɵɵadvance(2);
2163
- i0.ɵɵtextInterpolate(item_r31.title);
2163
+ i0.ɵɵtextInterpolate(item_r30.title);
2164
2164
  } }
2165
2165
  function TableComponent_div_0_div_2_div_9_div_1_div_1_Template(rf, ctx) { if (rf & 1) {
2166
- const _r33 = i0.ɵɵgetCurrentView();
2167
- i0.ɵɵelementStart(0, "div", 35)(1, "mat-form-field", 36)(2, "mat-label");
2166
+ const _r32 = i0.ɵɵgetCurrentView();
2167
+ i0.ɵɵelementStart(0, "div", 34)(1, "mat-form-field", 35)(2, "mat-label");
2168
2168
  i0.ɵɵtext(3, "Tipo de filtro");
2169
2169
  i0.ɵɵelementEnd();
2170
- i0.ɵɵelementStart(4, "mat-select", 47);
2171
- i0.ɵɵlistener("selectionChange", function TableComponent_div_0_div_2_div_9_div_1_div_1_Template_mat_select_selectionChange_4_listener() { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r32.onSelectFilterChange()); });
2172
- i0.ɵɵtemplate(5, TableComponent_div_0_div_2_div_9_div_1_div_1_mat_option_5_Template, 5, 4, "mat-option", 39);
2170
+ i0.ɵɵelementStart(4, "mat-select", 46);
2171
+ i0.ɵɵlistener("selectionChange", function TableComponent_div_0_div_2_div_9_div_1_div_1_Template_mat_select_selectionChange_4_listener() { i0.ɵɵrestoreView(_r32); const ctx_r31 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r31.onSelectFilterChange()); });
2172
+ i0.ɵɵtemplate(5, TableComponent_div_0_div_2_div_9_div_1_div_1_mat_option_5_Template, 5, 4, "mat-option", 38);
2173
2173
  i0.ɵɵelementEnd()()();
2174
2174
  } if (rf & 2) {
2175
- const ctx_r25 = i0.ɵɵnextContext(5);
2175
+ const ctx_r24 = i0.ɵɵnextContext(5);
2176
2176
  i0.ɵɵadvance(5);
2177
- i0.ɵɵproperty("ngForOf", ctx_r25.getAvailableFilterOptions());
2177
+ i0.ɵɵproperty("ngForOf", ctx_r24.getAvailableFilterOptions());
2178
2178
  } }
2179
2179
  function TableComponent_div_0_div_2_div_9_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
2180
- const _r36 = i0.ɵɵgetCurrentView();
2181
- i0.ɵɵelementStart(0, "div", 35)(1, "mat-form-field", 36)(2, "mat-label", 22);
2182
- i0.ɵɵelement(3, "i", 49);
2180
+ const _r35 = i0.ɵɵgetCurrentView();
2181
+ i0.ɵɵelementStart(0, "div", 34)(1, "mat-form-field", 35)(2, "mat-label", 21);
2182
+ i0.ɵɵelement(3, "i", 48);
2183
2183
  i0.ɵɵelementStart(4, "span");
2184
2184
  i0.ɵɵtext(5);
2185
2185
  i0.ɵɵelementEnd()();
2186
- i0.ɵɵelementStart(6, "input", 50, 51);
2187
- i0.ɵɵlistener("keyup.enter", function TableComponent_div_0_div_2_div_9_div_1_div_2_Template_input_keyup_enter_6_listener($event) { i0.ɵɵrestoreView(_r36); const ctx_r35 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r35.search($event)); });
2186
+ i0.ɵɵelementStart(6, "input", 49, 50);
2187
+ i0.ɵɵlistener("keyup.enter", function TableComponent_div_0_div_2_div_9_div_1_div_2_Template_input_keyup_enter_6_listener($event) { i0.ɵɵrestoreView(_r35); const ctx_r34 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r34.search($event)); });
2188
2188
  i0.ɵɵelementEnd()()();
2189
2189
  } if (rf & 2) {
2190
- const filterGroup_r23 = i0.ɵɵnextContext().$implicit;
2190
+ const filterGroup_r22 = i0.ɵɵnextContext().$implicit;
2191
2191
  let tmp_0_0;
2192
2192
  i0.ɵɵadvance(5);
2193
- i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r23.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Filtrar");
2193
+ i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r22.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Filtrar");
2194
2194
  } }
2195
2195
  function TableComponent_div_0_div_2_div_9_div_1_div_3_mat_option_5_Template(rf, ctx) { if (rf & 1) {
2196
- i0.ɵɵelementStart(0, "mat-option", 40);
2196
+ i0.ɵɵelementStart(0, "mat-option", 39);
2197
2197
  i0.ɵɵtext(1);
2198
2198
  i0.ɵɵelementEnd();
2199
2199
  } if (rf & 2) {
2200
- const item_r39 = ctx.$implicit;
2201
- i0.ɵɵproperty("value", item_r39);
2200
+ const item_r38 = ctx.$implicit;
2201
+ i0.ɵɵproperty("value", item_r38);
2202
2202
  i0.ɵɵadvance(1);
2203
- i0.ɵɵtextInterpolate1(" ", item_r39.label, " ");
2203
+ i0.ɵɵtextInterpolate1(" ", item_r38.label, " ");
2204
2204
  } }
2205
2205
  function TableComponent_div_0_div_2_div_9_div_1_div_3_Template(rf, ctx) { if (rf & 1) {
2206
- i0.ɵɵelementStart(0, "div", 35)(1, "mat-form-field", 36)(2, "mat-label");
2206
+ i0.ɵɵelementStart(0, "div", 34)(1, "mat-form-field", 35)(2, "mat-label");
2207
2207
  i0.ɵɵtext(3);
2208
2208
  i0.ɵɵelementEnd();
2209
- i0.ɵɵelementStart(4, "mat-select", 52);
2210
- i0.ɵɵtemplate(5, TableComponent_div_0_div_2_div_9_div_1_div_3_mat_option_5_Template, 2, 2, "mat-option", 39);
2209
+ i0.ɵɵelementStart(4, "mat-select", 51);
2210
+ i0.ɵɵtemplate(5, TableComponent_div_0_div_2_div_9_div_1_div_3_mat_option_5_Template, 2, 2, "mat-option", 38);
2211
2211
  i0.ɵɵelementEnd()()();
2212
2212
  } if (rf & 2) {
2213
- const filterGroup_r23 = i0.ɵɵnextContext().$implicit;
2213
+ const filterGroup_r22 = i0.ɵɵnextContext().$implicit;
2214
2214
  let tmp_0_0;
2215
2215
  let tmp_1_0;
2216
2216
  i0.ɵɵadvance(3);
2217
- i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r23.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Selecione");
2217
+ i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r22.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Selecione");
2218
2218
  i0.ɵɵadvance(2);
2219
- i0.ɵɵproperty("ngForOf", (tmp_1_0 = filterGroup_r23.get("selectFilter")) == null ? null : tmp_1_0.value.items);
2219
+ i0.ɵɵproperty("ngForOf", (tmp_1_0 = filterGroup_r22.get("selectFilter")) == null ? null : tmp_1_0.value.items);
2220
2220
  } }
2221
2221
  function TableComponent_div_0_div_2_div_9_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
2222
- const _r42 = i0.ɵɵgetCurrentView();
2223
- i0.ɵɵelementStart(0, "div", 53)(1, "div", 54)(2, "mat-form-field", 55)(3, "mat-label", 22);
2224
- i0.ɵɵelement(4, "i", 56);
2222
+ const _r41 = i0.ɵɵgetCurrentView();
2223
+ i0.ɵɵelementStart(0, "div", 52)(1, "div", 53)(2, "mat-form-field", 54)(3, "mat-label", 21);
2224
+ i0.ɵɵelement(4, "i", 55);
2225
2225
  i0.ɵɵelementStart(5, "span");
2226
2226
  i0.ɵɵtext(6, "Data Inicial");
2227
2227
  i0.ɵɵelementEnd()();
2228
- i0.ɵɵelementStart(7, "input", 57);
2229
- i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_keydown_enter_7_listener($event) { i0.ɵɵrestoreView(_r42); const ctx_r41 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r41.search($event)); })("input", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_input_7_listener($event) { i0.ɵɵrestoreView(_r42); const i_r24 = i0.ɵɵnextContext().index; const ctx_r43 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r43.onDateInput($event, "initialDate", i_r24)); });
2228
+ i0.ɵɵelementStart(7, "input", 56);
2229
+ i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_keydown_enter_7_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r40 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r40.search($event)); })("input", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_input_7_listener($event) { i0.ɵɵrestoreView(_r41); const i_r23 = i0.ɵɵnextContext().index; const ctx_r42 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r42.onDateInput($event, "initialDate", i_r23)); });
2230
2230
  i0.ɵɵelementEnd()();
2231
- i0.ɵɵelementStart(8, "mat-form-field", 55)(9, "mat-label", 22);
2232
- i0.ɵɵelement(10, "i", 56);
2231
+ i0.ɵɵelementStart(8, "mat-form-field", 54)(9, "mat-label", 21);
2232
+ i0.ɵɵelement(10, "i", 55);
2233
2233
  i0.ɵɵelementStart(11, "span");
2234
2234
  i0.ɵɵtext(12, "Data Final");
2235
2235
  i0.ɵɵelementEnd()();
2236
- i0.ɵɵelementStart(13, "input", 58);
2237
- i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_keydown_enter_13_listener($event) { i0.ɵɵrestoreView(_r42); const ctx_r45 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r45.search($event)); })("input", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_input_13_listener($event) { i0.ɵɵrestoreView(_r42); const i_r24 = i0.ɵɵnextContext().index; const ctx_r46 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r46.onDateInput($event, "finalDate", i_r24)); });
2236
+ i0.ɵɵelementStart(13, "input", 57);
2237
+ i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_keydown_enter_13_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r44 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r44.search($event)); })("input", function TableComponent_div_0_div_2_div_9_div_1_div_4_Template_input_input_13_listener($event) { i0.ɵɵrestoreView(_r41); const i_r23 = i0.ɵɵnextContext().index; const ctx_r45 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r45.onDateInput($event, "finalDate", i_r23)); });
2238
2238
  i0.ɵɵelementEnd()()()();
2239
2239
  } }
2240
2240
  function TableComponent_div_0_div_2_div_9_div_1_div_5_Template(rf, ctx) { if (rf & 1) {
2241
- const _r50 = i0.ɵɵgetCurrentView();
2242
- i0.ɵɵelementStart(0, "div", 59)(1, "button", 60);
2243
- i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_9_div_1_div_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r50); const i_r24 = i0.ɵɵnextContext().index; const ctx_r48 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r48.removeFilter(i_r24)); });
2244
- i0.ɵɵelement(2, "i", 61);
2241
+ const _r49 = i0.ɵɵgetCurrentView();
2242
+ i0.ɵɵelementStart(0, "div", 58)(1, "button", 59);
2243
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_9_div_1_div_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r49); const i_r23 = i0.ɵɵnextContext().index; const ctx_r47 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r47.removeFilter(i_r23)); });
2244
+ i0.ɵɵelement(2, "i", 60);
2245
2245
  i0.ɵɵelementEnd()();
2246
2246
  } }
2247
2247
  function TableComponent_div_0_div_2_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
2248
- i0.ɵɵelementStart(0, "div", 43);
2249
- i0.ɵɵtemplate(1, TableComponent_div_0_div_2_div_9_div_1_div_1_Template, 6, 1, "div", 44);
2250
- i0.ɵɵtemplate(2, TableComponent_div_0_div_2_div_9_div_1_div_2_Template, 8, 1, "div", 44);
2251
- i0.ɵɵtemplate(3, TableComponent_div_0_div_2_div_9_div_1_div_3_Template, 6, 2, "div", 44);
2252
- i0.ɵɵtemplate(4, TableComponent_div_0_div_2_div_9_div_1_div_4_Template, 14, 0, "div", 45);
2253
- i0.ɵɵtemplate(5, TableComponent_div_0_div_2_div_9_div_1_div_5_Template, 3, 0, "div", 46);
2248
+ i0.ɵɵelementStart(0, "div", 42);
2249
+ i0.ɵɵtemplate(1, TableComponent_div_0_div_2_div_9_div_1_div_1_Template, 6, 1, "div", 43);
2250
+ i0.ɵɵtemplate(2, TableComponent_div_0_div_2_div_9_div_1_div_2_Template, 8, 1, "div", 43);
2251
+ i0.ɵɵtemplate(3, TableComponent_div_0_div_2_div_9_div_1_div_3_Template, 6, 2, "div", 43);
2252
+ i0.ɵɵtemplate(4, TableComponent_div_0_div_2_div_9_div_1_div_4_Template, 14, 0, "div", 44);
2253
+ i0.ɵɵtemplate(5, TableComponent_div_0_div_2_div_9_div_1_div_5_Template, 3, 0, "div", 45);
2254
2254
  i0.ɵɵelementEnd();
2255
2255
  } if (rf & 2) {
2256
- const filterGroup_r23 = ctx.$implicit;
2257
- const ctx_r22 = i0.ɵɵnextContext(4);
2256
+ const filterGroup_r22 = ctx.$implicit;
2257
+ const ctx_r21 = i0.ɵɵnextContext(4);
2258
2258
  let tmp_2_0;
2259
2259
  let tmp_3_0;
2260
2260
  let tmp_4_0;
2261
- i0.ɵɵproperty("formGroup", filterGroup_r23);
2261
+ i0.ɵɵproperty("formGroup", filterGroup_r22);
2262
2262
  i0.ɵɵadvance(1);
2263
- i0.ɵɵproperty("ngIf", ctx_r22.dropdownItems.length > 0);
2263
+ i0.ɵɵproperty("ngIf", ctx_r21.dropdownItems.length > 0);
2264
2264
  i0.ɵɵadvance(1);
2265
- i0.ɵɵproperty("ngIf", ((tmp_2_0 = filterGroup_r23.get("selectFilter")) == null ? null : tmp_2_0.value == null ? null : tmp_2_0.value.arrange) === "filter");
2265
+ i0.ɵɵproperty("ngIf", ((tmp_2_0 = filterGroup_r22.get("selectFilter")) == null ? null : tmp_2_0.value == null ? null : tmp_2_0.value.arrange) === "filter");
2266
2266
  i0.ɵɵadvance(1);
2267
- i0.ɵɵproperty("ngIf", ((tmp_3_0 = filterGroup_r23.get("selectFilter")) == null ? null : tmp_3_0.value) && ((tmp_3_0 = filterGroup_r23.get("selectFilter")) == null ? null : tmp_3_0.value.hasOwnProperty("items")));
2267
+ i0.ɵɵproperty("ngIf", ((tmp_3_0 = filterGroup_r22.get("selectFilter")) == null ? null : tmp_3_0.value) && ((tmp_3_0 = filterGroup_r22.get("selectFilter")) == null ? null : tmp_3_0.value.hasOwnProperty("items")));
2268
2268
  i0.ɵɵadvance(1);
2269
- i0.ɵɵproperty("ngIf", ((tmp_4_0 = filterGroup_r23.get("selectFilter")) == null ? null : tmp_4_0.value == null ? null : tmp_4_0.value.arrange) === "filterByDate");
2269
+ i0.ɵɵproperty("ngIf", ((tmp_4_0 = filterGroup_r22.get("selectFilter")) == null ? null : tmp_4_0.value == null ? null : tmp_4_0.value.arrange) === "filterByDate");
2270
2270
  i0.ɵɵadvance(1);
2271
- i0.ɵɵproperty("ngIf", ctx_r22.filtersForm.length > 1);
2271
+ i0.ɵɵproperty("ngIf", ctx_r21.filtersForm.length > 1);
2272
2272
  } }
2273
2273
  function TableComponent_div_0_div_2_div_9_Template(rf, ctx) { if (rf & 1) {
2274
- i0.ɵɵelementStart(0, "div", 41);
2275
- i0.ɵɵtemplate(1, TableComponent_div_0_div_2_div_9_div_1_Template, 6, 6, "div", 42);
2274
+ i0.ɵɵelementStart(0, "div", 40);
2275
+ i0.ɵɵtemplate(1, TableComponent_div_0_div_2_div_9_div_1_Template, 6, 6, "div", 41);
2276
2276
  i0.ɵɵelementEnd();
2277
2277
  } if (rf & 2) {
2278
- const ctx_r14 = i0.ɵɵnextContext(3);
2278
+ const ctx_r13 = i0.ɵɵnextContext(3);
2279
2279
  i0.ɵɵadvance(1);
2280
- i0.ɵɵproperty("ngForOf", ctx_r14.filtersForm.controls);
2280
+ i0.ɵɵproperty("ngForOf", ctx_r13.filtersForm.controls);
2281
2281
  } }
2282
2282
  function TableComponent_div_0_div_2_div_11_Template(rf, ctx) { if (rf & 1) {
2283
- const _r52 = i0.ɵɵgetCurrentView();
2284
- i0.ɵɵelementStart(0, "div")(1, "button", 62);
2285
- i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_11_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r52); const ctx_r51 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r51.addFilter()); });
2286
- i0.ɵɵelement(2, "i", 63);
2283
+ const _r51 = i0.ɵɵgetCurrentView();
2284
+ i0.ɵɵelementStart(0, "div")(1, "button", 61);
2285
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_11_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r51); const ctx_r50 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r50.addFilter()); });
2286
+ i0.ɵɵelement(2, "i", 62);
2287
2287
  i0.ɵɵtext(3, " Adicionar Filtro ");
2288
2288
  i0.ɵɵelementEnd()();
2289
2289
  } }
2290
2290
  function TableComponent_div_0_div_2_div_12_button_7_Template(rf, ctx) { if (rf & 1) {
2291
- const _r55 = i0.ɵɵgetCurrentView();
2292
- i0.ɵɵelementStart(0, "button", 70);
2293
- i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_12_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r55); const ctx_r54 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r54.arrange && ctx_r54.downloadTable !== undefined ? ctx_r54.downloadTable(ctx_r54.arrange, ctx_r54.data.conditions || []) : null); });
2294
- i0.ɵɵelement(1, "i", 71);
2291
+ const _r54 = i0.ɵɵgetCurrentView();
2292
+ i0.ɵɵelementStart(0, "button", 69);
2293
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_12_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r54); const ctx_r53 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r53.arrange && ctx_r53.downloadTable !== undefined ? ctx_r53.downloadTable(ctx_r53.arrange, ctx_r53.data.conditions || []) : null); });
2294
+ i0.ɵɵelement(1, "i", 70);
2295
2295
  i0.ɵɵtext(2, " Exportar ");
2296
2296
  i0.ɵɵelementEnd();
2297
2297
  } if (rf & 2) {
2298
- const ctx_r53 = i0.ɵɵnextContext(4);
2299
- i0.ɵɵproperty("disabled", ctx_r53.dataSource && ctx_r53.dataSource.filteredData.length <= 0);
2298
+ const ctx_r52 = i0.ɵɵnextContext(4);
2299
+ i0.ɵɵproperty("disabled", ctx_r52.dataSource && ctx_r52.dataSource.filteredData.length <= 0);
2300
2300
  } }
2301
2301
  function TableComponent_div_0_div_2_div_12_Template(rf, ctx) { if (rf & 1) {
2302
- const _r57 = i0.ɵɵgetCurrentView();
2303
- i0.ɵɵelementStart(0, "div", 64)(1, "button", 65);
2304
- i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_12_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r57); const ctx_r56 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r56.search()); });
2305
- i0.ɵɵelement(2, "i", 66);
2302
+ const _r56 = i0.ɵɵgetCurrentView();
2303
+ i0.ɵɵelementStart(0, "div", 63)(1, "button", 64);
2304
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_12_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r56); const ctx_r55 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r55.search()); });
2305
+ i0.ɵɵelement(2, "i", 65);
2306
2306
  i0.ɵɵtext(3, " Pesquisar ");
2307
2307
  i0.ɵɵelementEnd();
2308
- i0.ɵɵelementStart(4, "button", 67);
2309
- i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_12_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r57); const ctx_r58 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r58.resetFilter()); });
2310
- i0.ɵɵelement(5, "i", 68);
2308
+ i0.ɵɵelementStart(4, "button", 66);
2309
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_2_div_12_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r56); const ctx_r57 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r57.resetFilter()); });
2310
+ i0.ɵɵelement(5, "i", 67);
2311
2311
  i0.ɵɵtext(6, " Resetar ");
2312
2312
  i0.ɵɵelementEnd();
2313
- i0.ɵɵtemplate(7, TableComponent_div_0_div_2_div_12_button_7_Template, 3, 1, "button", 69);
2313
+ i0.ɵɵtemplate(7, TableComponent_div_0_div_2_div_12_button_7_Template, 3, 1, "button", 68);
2314
2314
  i0.ɵɵelementEnd();
2315
2315
  } if (rf & 2) {
2316
- const ctx_r16 = i0.ɵɵnextContext(3);
2316
+ const ctx_r15 = i0.ɵɵnextContext(3);
2317
2317
  i0.ɵɵadvance(7);
2318
- i0.ɵɵproperty("ngIf", ctx_r16.data.download !== false && ctx_r16.downloadTable);
2318
+ i0.ɵɵproperty("ngIf", ctx_r15.data.download !== false && ctx_r15.downloadTable);
2319
2319
  } }
2320
2320
  function TableComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
2321
- i0.ɵɵelementStart(0, "div", 19)(1, "div", 20)(2, "div", 21)(3, "div", 22);
2322
- i0.ɵɵelement(4, "i", 23);
2323
- i0.ɵɵelementStart(5, "span", 24);
2321
+ i0.ɵɵelementStart(0, "div", 18)(1, "div", 19)(2, "div", 20)(3, "div", 21);
2322
+ i0.ɵɵelement(4, "i", 22);
2323
+ i0.ɵɵelementStart(5, "span", 23);
2324
2324
  i0.ɵɵtext(6, "Filtros e A\u00E7\u00F5es");
2325
2325
  i0.ɵɵelementEnd()();
2326
- i0.ɵɵtemplate(7, TableComponent_div_0_div_2_button_7_Template, 3, 4, "button", 25);
2326
+ i0.ɵɵtemplate(7, TableComponent_div_0_div_2_button_7_Template, 3, 4, "button", 24);
2327
2327
  i0.ɵɵelementEnd()();
2328
- i0.ɵɵtemplate(8, TableComponent_div_0_div_2_div_8_Template, 10, 2, "div", 26);
2329
- i0.ɵɵtemplate(9, TableComponent_div_0_div_2_div_9_Template, 2, 1, "div", 27);
2330
- i0.ɵɵelementStart(10, "div", 28);
2331
- i0.ɵɵtemplate(11, TableComponent_div_0_div_2_div_11_Template, 4, 0, "div", 29);
2332
- i0.ɵɵtemplate(12, TableComponent_div_0_div_2_div_12_Template, 8, 1, "div", 30);
2328
+ i0.ɵɵtemplate(8, TableComponent_div_0_div_2_div_8_Template, 10, 2, "div", 25);
2329
+ i0.ɵɵtemplate(9, TableComponent_div_0_div_2_div_9_Template, 2, 1, "div", 26);
2330
+ i0.ɵɵelementStart(10, "div", 27);
2331
+ i0.ɵɵtemplate(11, TableComponent_div_0_div_2_div_11_Template, 4, 0, "div", 28);
2332
+ i0.ɵɵtemplate(12, TableComponent_div_0_div_2_div_12_Template, 8, 1, "div", 29);
2333
2333
  i0.ɵɵelementEnd()();
2334
2334
  } if (rf & 2) {
2335
2335
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -2347,232 +2347,232 @@ function TableComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
2347
2347
  function TableComponent_div_0_div_3_button_7_i_1_Template(rf, ctx) { if (rf & 1) {
2348
2348
  i0.ɵɵelement(0, "i");
2349
2349
  } if (rf & 2) {
2350
- const ctx_r62 = i0.ɵɵnextContext(4);
2351
- i0.ɵɵclassMap(ctx_r62.data.actionButton.icon);
2350
+ const ctx_r61 = i0.ɵɵnextContext(4);
2351
+ i0.ɵɵclassMap(ctx_r61.data.actionButton.icon);
2352
2352
  } }
2353
2353
  function TableComponent_div_0_div_3_button_7_Template(rf, ctx) { if (rf & 1) {
2354
- const _r64 = i0.ɵɵgetCurrentView();
2355
- i0.ɵɵelementStart(0, "button", 31);
2356
- i0.ɵɵlistener("click", function TableComponent_div_0_div_3_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r64); const ctx_r63 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r63.data.actionButton.method ? ctx_r63.data.actionButton.method($event) : null); });
2357
- i0.ɵɵtemplate(1, TableComponent_div_0_div_3_button_7_i_1_Template, 1, 2, "i", 32);
2354
+ const _r63 = i0.ɵɵgetCurrentView();
2355
+ i0.ɵɵelementStart(0, "button", 30);
2356
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_3_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r63); const ctx_r62 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r62.data.actionButton.method ? ctx_r62.data.actionButton.method($event) : null); });
2357
+ i0.ɵɵtemplate(1, TableComponent_div_0_div_3_button_7_i_1_Template, 1, 2, "i", 31);
2358
2358
  i0.ɵɵtext(2);
2359
2359
  i0.ɵɵelementEnd();
2360
2360
  } if (rf & 2) {
2361
- const ctx_r59 = i0.ɵɵnextContext(3);
2362
- i0.ɵɵproperty("ngClass", ctx_r59.getActionButtonClass())("routerLink", ctx_r59.data.actionButton.routerLink);
2361
+ const ctx_r58 = i0.ɵɵnextContext(3);
2362
+ i0.ɵɵproperty("ngClass", ctx_r58.getActionButtonClass())("routerLink", ctx_r58.data.actionButton.routerLink);
2363
2363
  i0.ɵɵadvance(1);
2364
- i0.ɵɵproperty("ngIf", ctx_r59.data.actionButton.icon);
2364
+ i0.ɵɵproperty("ngIf", ctx_r58.data.actionButton.icon);
2365
2365
  i0.ɵɵadvance(1);
2366
- i0.ɵɵtextInterpolate1(" ", ctx_r59.data.actionButton.label, " ");
2366
+ i0.ɵɵtextInterpolate1(" ", ctx_r58.data.actionButton.label, " ");
2367
2367
  } }
2368
2368
  function TableComponent_div_0_div_3_div_8_Template(rf, ctx) { if (rf & 1) {
2369
- const _r67 = i0.ɵɵgetCurrentView();
2370
- i0.ɵɵelementStart(0, "div", 33)(1, "mat-form-field", 36)(2, "mat-label", 22);
2371
- i0.ɵɵelement(3, "i", 72);
2369
+ const _r66 = i0.ɵɵgetCurrentView();
2370
+ i0.ɵɵelementStart(0, "div", 32)(1, "mat-form-field", 35)(2, "mat-label", 21);
2371
+ i0.ɵɵelement(3, "i", 71);
2372
2372
  i0.ɵɵtext(4, " Buscar ");
2373
2373
  i0.ɵɵelementEnd();
2374
- i0.ɵɵelementStart(5, "input", 73, 74);
2375
- i0.ɵɵlistener("keyup.enter", function TableComponent_div_0_div_3_div_8_Template_input_keyup_enter_5_listener($event) { i0.ɵɵrestoreView(_r67); const ctx_r66 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r66.search($event)); })("keyup", function TableComponent_div_0_div_3_div_8_Template_input_keyup_5_listener() { i0.ɵɵrestoreView(_r67); const _r65 = i0.ɵɵreference(6); const ctx_r68 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r68.applyFilter(_r65.value)); });
2374
+ i0.ɵɵelementStart(5, "input", 72, 73);
2375
+ i0.ɵɵlistener("keyup.enter", function TableComponent_div_0_div_3_div_8_Template_input_keyup_enter_5_listener($event) { i0.ɵɵrestoreView(_r66); const ctx_r65 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r65.search($event)); })("keyup", function TableComponent_div_0_div_3_div_8_Template_input_keyup_5_listener() { i0.ɵɵrestoreView(_r66); const _r64 = i0.ɵɵreference(6); const ctx_r67 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r67.applyFilter(_r64.value)); });
2376
2376
  i0.ɵɵelementEnd();
2377
- i0.ɵɵelementStart(7, "mat-icon", 75);
2377
+ i0.ɵɵelementStart(7, "mat-icon", 74);
2378
2378
  i0.ɵɵtext(8, "search");
2379
2379
  i0.ɵɵelementEnd()()();
2380
2380
  } }
2381
2381
  function TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_mat_option_5_Template(rf, ctx) { if (rf & 1) {
2382
- i0.ɵɵelementStart(0, "mat-option", 40)(1, "div", 22);
2383
- i0.ɵɵelement(2, "i", 48);
2382
+ i0.ɵɵelementStart(0, "mat-option", 39)(1, "div", 21);
2383
+ i0.ɵɵelement(2, "i", 47);
2384
2384
  i0.ɵɵelementStart(3, "span");
2385
2385
  i0.ɵɵtext(4);
2386
2386
  i0.ɵɵelementEnd()()();
2387
2387
  } if (rf & 2) {
2388
- const item_r81 = ctx.$implicit;
2389
- i0.ɵɵproperty("value", item_r81);
2388
+ const item_r80 = ctx.$implicit;
2389
+ i0.ɵɵproperty("value", item_r80);
2390
2390
  i0.ɵɵadvance(2);
2391
- i0.ɵɵclassMap(item_r81.icon || "fa fa-filter");
2391
+ i0.ɵɵclassMap(item_r80.icon || "fa fa-filter");
2392
2392
  i0.ɵɵadvance(2);
2393
- i0.ɵɵtextInterpolate(item_r81.title);
2393
+ i0.ɵɵtextInterpolate(item_r80.title);
2394
2394
  } }
2395
2395
  function TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_Template(rf, ctx) { if (rf & 1) {
2396
- const _r83 = i0.ɵɵgetCurrentView();
2397
- i0.ɵɵelementStart(0, "div", 35)(1, "mat-form-field", 36)(2, "mat-label");
2396
+ const _r82 = i0.ɵɵgetCurrentView();
2397
+ i0.ɵɵelementStart(0, "div", 34)(1, "mat-form-field", 35)(2, "mat-label");
2398
2398
  i0.ɵɵtext(3, "Tipo de filtro");
2399
2399
  i0.ɵɵelementEnd();
2400
- i0.ɵɵelementStart(4, "mat-select", 47);
2401
- i0.ɵɵlistener("selectionChange", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_Template_mat_select_selectionChange_4_listener() { i0.ɵɵrestoreView(_r83); const ctx_r82 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r82.onSelectFilterChange()); });
2402
- i0.ɵɵtemplate(5, TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_mat_option_5_Template, 5, 4, "mat-option", 39);
2400
+ i0.ɵɵelementStart(4, "mat-select", 46);
2401
+ i0.ɵɵlistener("selectionChange", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_Template_mat_select_selectionChange_4_listener() { i0.ɵɵrestoreView(_r82); const ctx_r81 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r81.onSelectFilterChange()); });
2402
+ i0.ɵɵtemplate(5, TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_mat_option_5_Template, 5, 4, "mat-option", 38);
2403
2403
  i0.ɵɵelementEnd()()();
2404
2404
  } if (rf & 2) {
2405
- const ctx_r75 = i0.ɵɵnextContext(6);
2405
+ const ctx_r74 = i0.ɵɵnextContext(6);
2406
2406
  i0.ɵɵadvance(5);
2407
- i0.ɵɵproperty("ngForOf", ctx_r75.getAvailableFilterOptions());
2407
+ i0.ɵɵproperty("ngForOf", ctx_r74.getAvailableFilterOptions());
2408
2408
  } }
2409
2409
  function TableComponent_div_0_div_3_div_9_div_1_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
2410
- const _r86 = i0.ɵɵgetCurrentView();
2411
- i0.ɵɵelementStart(0, "div", 35)(1, "mat-form-field", 36)(2, "mat-label", 22);
2412
- i0.ɵɵelement(3, "i", 49);
2410
+ const _r85 = i0.ɵɵgetCurrentView();
2411
+ i0.ɵɵelementStart(0, "div", 34)(1, "mat-form-field", 35)(2, "mat-label", 21);
2412
+ i0.ɵɵelement(3, "i", 48);
2413
2413
  i0.ɵɵelementStart(4, "span");
2414
2414
  i0.ɵɵtext(5);
2415
2415
  i0.ɵɵelementEnd()();
2416
- i0.ɵɵelementStart(6, "input", 50, 51);
2417
- i0.ɵɵlistener("keyup.enter", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_2_Template_input_keyup_enter_6_listener($event) { i0.ɵɵrestoreView(_r86); const ctx_r85 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r85.search($event)); });
2416
+ i0.ɵɵelementStart(6, "input", 49, 50);
2417
+ i0.ɵɵlistener("keyup.enter", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_2_Template_input_keyup_enter_6_listener($event) { i0.ɵɵrestoreView(_r85); const ctx_r84 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r84.search($event)); });
2418
2418
  i0.ɵɵelementEnd()()();
2419
2419
  } if (rf & 2) {
2420
- const filterGroup_r73 = i0.ɵɵnextContext().$implicit;
2420
+ const filterGroup_r72 = i0.ɵɵnextContext().$implicit;
2421
2421
  let tmp_0_0;
2422
2422
  i0.ɵɵadvance(5);
2423
- i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r73.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Filtrar");
2423
+ i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r72.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Filtrar");
2424
2424
  } }
2425
2425
  function TableComponent_div_0_div_3_div_9_div_1_div_1_div_3_mat_option_5_Template(rf, ctx) { if (rf & 1) {
2426
- i0.ɵɵelementStart(0, "mat-option", 40);
2426
+ i0.ɵɵelementStart(0, "mat-option", 39);
2427
2427
  i0.ɵɵtext(1);
2428
2428
  i0.ɵɵelementEnd();
2429
2429
  } if (rf & 2) {
2430
- const item_r89 = ctx.$implicit;
2431
- i0.ɵɵproperty("value", item_r89);
2430
+ const item_r88 = ctx.$implicit;
2431
+ i0.ɵɵproperty("value", item_r88);
2432
2432
  i0.ɵɵadvance(1);
2433
- i0.ɵɵtextInterpolate1(" ", item_r89.label, " ");
2433
+ i0.ɵɵtextInterpolate1(" ", item_r88.label, " ");
2434
2434
  } }
2435
2435
  function TableComponent_div_0_div_3_div_9_div_1_div_1_div_3_Template(rf, ctx) { if (rf & 1) {
2436
- i0.ɵɵelementStart(0, "div", 35)(1, "mat-form-field", 36)(2, "mat-label");
2436
+ i0.ɵɵelementStart(0, "div", 34)(1, "mat-form-field", 35)(2, "mat-label");
2437
2437
  i0.ɵɵtext(3);
2438
2438
  i0.ɵɵelementEnd();
2439
- i0.ɵɵelementStart(4, "mat-select", 52);
2440
- i0.ɵɵtemplate(5, TableComponent_div_0_div_3_div_9_div_1_div_1_div_3_mat_option_5_Template, 2, 2, "mat-option", 39);
2439
+ i0.ɵɵelementStart(4, "mat-select", 51);
2440
+ i0.ɵɵtemplate(5, TableComponent_div_0_div_3_div_9_div_1_div_1_div_3_mat_option_5_Template, 2, 2, "mat-option", 38);
2441
2441
  i0.ɵɵelementEnd()()();
2442
2442
  } if (rf & 2) {
2443
- const filterGroup_r73 = i0.ɵɵnextContext().$implicit;
2443
+ const filterGroup_r72 = i0.ɵɵnextContext().$implicit;
2444
2444
  let tmp_0_0;
2445
2445
  let tmp_1_0;
2446
2446
  i0.ɵɵadvance(3);
2447
- i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r73.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Selecione");
2447
+ i0.ɵɵtextInterpolate(((tmp_0_0 = filterGroup_r72.get("selectFilter")) == null ? null : tmp_0_0.value == null ? null : tmp_0_0.value.title) || "Selecione");
2448
2448
  i0.ɵɵadvance(2);
2449
- i0.ɵɵproperty("ngForOf", (tmp_1_0 = filterGroup_r73.get("selectFilter")) == null ? null : tmp_1_0.value.items);
2449
+ i0.ɵɵproperty("ngForOf", (tmp_1_0 = filterGroup_r72.get("selectFilter")) == null ? null : tmp_1_0.value.items);
2450
2450
  } }
2451
2451
  function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
2452
- const _r92 = i0.ɵɵgetCurrentView();
2453
- i0.ɵɵelementStart(0, "div", 53)(1, "div", 54)(2, "mat-form-field", 55)(3, "mat-label", 22);
2454
- i0.ɵɵelement(4, "i", 56);
2452
+ const _r91 = i0.ɵɵgetCurrentView();
2453
+ i0.ɵɵelementStart(0, "div", 52)(1, "div", 53)(2, "mat-form-field", 54)(3, "mat-label", 21);
2454
+ i0.ɵɵelement(4, "i", 55);
2455
2455
  i0.ɵɵelementStart(5, "span");
2456
2456
  i0.ɵɵtext(6, "Data Inicial");
2457
2457
  i0.ɵɵelementEnd()();
2458
- i0.ɵɵelementStart(7, "input", 78);
2459
- i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_keydown_enter_7_listener($event) { i0.ɵɵrestoreView(_r92); const ctx_r91 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r91.search($event)); })("input", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_input_7_listener($event) { i0.ɵɵrestoreView(_r92); const i_r74 = i0.ɵɵnextContext().index; const ctx_r93 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r93.onDateInput($event, "initialDate", i_r74)); })("blur", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_blur_7_listener() { i0.ɵɵrestoreView(_r92); const ctx_r95 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r95.onDateFilterChange()); });
2458
+ i0.ɵɵelementStart(7, "input", 77);
2459
+ i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_keydown_enter_7_listener($event) { i0.ɵɵrestoreView(_r91); const ctx_r90 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r90.search($event)); })("input", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_input_7_listener($event) { i0.ɵɵrestoreView(_r91); const i_r73 = i0.ɵɵnextContext().index; const ctx_r92 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r92.onDateInput($event, "initialDate", i_r73)); })("blur", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_blur_7_listener() { i0.ɵɵrestoreView(_r91); const ctx_r94 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r94.onDateFilterChange()); });
2460
2460
  i0.ɵɵelementEnd()();
2461
- i0.ɵɵelementStart(8, "mat-form-field", 55)(9, "mat-label", 22);
2462
- i0.ɵɵelement(10, "i", 56);
2461
+ i0.ɵɵelementStart(8, "mat-form-field", 54)(9, "mat-label", 21);
2462
+ i0.ɵɵelement(10, "i", 55);
2463
2463
  i0.ɵɵelementStart(11, "span");
2464
2464
  i0.ɵɵtext(12, "Data Final");
2465
2465
  i0.ɵɵelementEnd()();
2466
- i0.ɵɵelementStart(13, "input", 79);
2467
- i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_keydown_enter_13_listener($event) { i0.ɵɵrestoreView(_r92); const ctx_r96 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r96.search($event)); })("input", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_input_13_listener($event) { i0.ɵɵrestoreView(_r92); const i_r74 = i0.ɵɵnextContext().index; const ctx_r97 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r97.onDateInput($event, "finalDate", i_r74)); })("blur", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_blur_13_listener() { i0.ɵɵrestoreView(_r92); const ctx_r99 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r99.onDateFilterChange()); });
2466
+ i0.ɵɵelementStart(13, "input", 78);
2467
+ i0.ɵɵlistener("keydown.enter", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_keydown_enter_13_listener($event) { i0.ɵɵrestoreView(_r91); const ctx_r95 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r95.search($event)); })("input", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_input_13_listener($event) { i0.ɵɵrestoreView(_r91); const i_r73 = i0.ɵɵnextContext().index; const ctx_r96 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r96.onDateInput($event, "finalDate", i_r73)); })("blur", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template_input_blur_13_listener() { i0.ɵɵrestoreView(_r91); const ctx_r98 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r98.onDateFilterChange()); });
2468
2468
  i0.ɵɵelementEnd()()()();
2469
2469
  } }
2470
2470
  function TableComponent_div_0_div_3_div_9_div_1_div_1_div_5_Template(rf, ctx) { if (rf & 1) {
2471
- const _r102 = i0.ɵɵgetCurrentView();
2472
- i0.ɵɵelementStart(0, "div", 59)(1, "button", 60);
2473
- i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r102); const i_r74 = i0.ɵɵnextContext().index; const ctx_r100 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r100.removeFilter(i_r74)); });
2474
- i0.ɵɵelement(2, "i", 61);
2471
+ const _r101 = i0.ɵɵgetCurrentView();
2472
+ i0.ɵɵelementStart(0, "div", 58)(1, "button", 59);
2473
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_1_div_1_div_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r101); const i_r73 = i0.ɵɵnextContext().index; const ctx_r99 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r99.removeFilter(i_r73)); });
2474
+ i0.ɵɵelement(2, "i", 60);
2475
2475
  i0.ɵɵelementEnd()();
2476
2476
  } }
2477
2477
  function TableComponent_div_0_div_3_div_9_div_1_div_1_Template(rf, ctx) { if (rf & 1) {
2478
- i0.ɵɵelementStart(0, "div", 77);
2479
- i0.ɵɵtemplate(1, TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_Template, 6, 1, "div", 44);
2480
- i0.ɵɵtemplate(2, TableComponent_div_0_div_3_div_9_div_1_div_1_div_2_Template, 8, 1, "div", 44);
2481
- i0.ɵɵtemplate(3, TableComponent_div_0_div_3_div_9_div_1_div_1_div_3_Template, 6, 2, "div", 44);
2482
- i0.ɵɵtemplate(4, TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template, 14, 0, "div", 45);
2483
- i0.ɵɵtemplate(5, TableComponent_div_0_div_3_div_9_div_1_div_1_div_5_Template, 3, 0, "div", 46);
2478
+ i0.ɵɵelementStart(0, "div", 76);
2479
+ i0.ɵɵtemplate(1, TableComponent_div_0_div_3_div_9_div_1_div_1_div_1_Template, 6, 1, "div", 43);
2480
+ i0.ɵɵtemplate(2, TableComponent_div_0_div_3_div_9_div_1_div_1_div_2_Template, 8, 1, "div", 43);
2481
+ i0.ɵɵtemplate(3, TableComponent_div_0_div_3_div_9_div_1_div_1_div_3_Template, 6, 2, "div", 43);
2482
+ i0.ɵɵtemplate(4, TableComponent_div_0_div_3_div_9_div_1_div_1_div_4_Template, 14, 0, "div", 44);
2483
+ i0.ɵɵtemplate(5, TableComponent_div_0_div_3_div_9_div_1_div_1_div_5_Template, 3, 0, "div", 45);
2484
2484
  i0.ɵɵelementEnd();
2485
2485
  } if (rf & 2) {
2486
- const filterGroup_r73 = ctx.$implicit;
2487
- const ctx_r72 = i0.ɵɵnextContext(5);
2486
+ const filterGroup_r72 = ctx.$implicit;
2487
+ const ctx_r71 = i0.ɵɵnextContext(5);
2488
2488
  let tmp_2_0;
2489
2489
  let tmp_3_0;
2490
2490
  let tmp_4_0;
2491
- i0.ɵɵproperty("formGroup", filterGroup_r73);
2491
+ i0.ɵɵproperty("formGroup", filterGroup_r72);
2492
2492
  i0.ɵɵadvance(1);
2493
- i0.ɵɵproperty("ngIf", ctx_r72.dropdownItems.length > 0);
2493
+ i0.ɵɵproperty("ngIf", ctx_r71.dropdownItems.length > 0);
2494
2494
  i0.ɵɵadvance(1);
2495
- i0.ɵɵproperty("ngIf", ((tmp_2_0 = filterGroup_r73.get("selectFilter")) == null ? null : tmp_2_0.value == null ? null : tmp_2_0.value.arrange) === "filter");
2495
+ i0.ɵɵproperty("ngIf", ((tmp_2_0 = filterGroup_r72.get("selectFilter")) == null ? null : tmp_2_0.value == null ? null : tmp_2_0.value.arrange) === "filter");
2496
2496
  i0.ɵɵadvance(1);
2497
- i0.ɵɵproperty("ngIf", ((tmp_3_0 = filterGroup_r73.get("selectFilter")) == null ? null : tmp_3_0.value) && ((tmp_3_0 = filterGroup_r73.get("selectFilter")) == null ? null : tmp_3_0.value.hasOwnProperty("items")));
2497
+ i0.ɵɵproperty("ngIf", ((tmp_3_0 = filterGroup_r72.get("selectFilter")) == null ? null : tmp_3_0.value) && ((tmp_3_0 = filterGroup_r72.get("selectFilter")) == null ? null : tmp_3_0.value.hasOwnProperty("items")));
2498
2498
  i0.ɵɵadvance(1);
2499
- i0.ɵɵproperty("ngIf", ((tmp_4_0 = filterGroup_r73.get("selectFilter")) == null ? null : tmp_4_0.value == null ? null : tmp_4_0.value.arrange) === "filterByDate");
2499
+ i0.ɵɵproperty("ngIf", ((tmp_4_0 = filterGroup_r72.get("selectFilter")) == null ? null : tmp_4_0.value == null ? null : tmp_4_0.value.arrange) === "filterByDate");
2500
2500
  i0.ɵɵadvance(1);
2501
- i0.ɵɵproperty("ngIf", ctx_r72.filtersForm.length > 1);
2501
+ i0.ɵɵproperty("ngIf", ctx_r71.filtersForm.length > 1);
2502
2502
  } }
2503
2503
  function TableComponent_div_0_div_3_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
2504
- i0.ɵɵelementStart(0, "div", 41);
2505
- i0.ɵɵtemplate(1, TableComponent_div_0_div_3_div_9_div_1_div_1_Template, 6, 6, "div", 76);
2504
+ i0.ɵɵelementStart(0, "div", 40);
2505
+ i0.ɵɵtemplate(1, TableComponent_div_0_div_3_div_9_div_1_div_1_Template, 6, 6, "div", 75);
2506
2506
  i0.ɵɵelementEnd();
2507
2507
  } if (rf & 2) {
2508
- const ctx_r69 = i0.ɵɵnextContext(4);
2508
+ const ctx_r68 = i0.ɵɵnextContext(4);
2509
2509
  i0.ɵɵadvance(1);
2510
- i0.ɵɵproperty("ngForOf", ctx_r69.filtersForm.controls);
2510
+ i0.ɵɵproperty("ngForOf", ctx_r68.filtersForm.controls);
2511
2511
  } }
2512
2512
  function TableComponent_div_0_div_3_div_9_div_3_Template(rf, ctx) { if (rf & 1) {
2513
- const _r104 = i0.ɵɵgetCurrentView();
2514
- i0.ɵɵelementStart(0, "div")(1, "button", 62);
2515
- i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_3_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r104); const ctx_r103 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r103.addFilter()); });
2516
- i0.ɵɵelement(2, "i", 63);
2513
+ const _r103 = i0.ɵɵgetCurrentView();
2514
+ i0.ɵɵelementStart(0, "div")(1, "button", 61);
2515
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_3_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r103); const ctx_r102 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r102.addFilter()); });
2516
+ i0.ɵɵelement(2, "i", 62);
2517
2517
  i0.ɵɵtext(3, " Adicionar Filtro ");
2518
2518
  i0.ɵɵelementEnd()();
2519
2519
  } }
2520
2520
  function TableComponent_div_0_div_3_div_9_div_4_button_7_Template(rf, ctx) { if (rf & 1) {
2521
- const _r107 = i0.ɵɵgetCurrentView();
2522
- i0.ɵɵelementStart(0, "button", 70);
2523
- i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_4_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r107); const ctx_r106 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r106.handleDownload()); });
2524
- i0.ɵɵelement(1, "i", 71);
2521
+ const _r106 = i0.ɵɵgetCurrentView();
2522
+ i0.ɵɵelementStart(0, "button", 69);
2523
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_4_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r106); const ctx_r105 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r105.handleDownload()); });
2524
+ i0.ɵɵelement(1, "i", 70);
2525
2525
  i0.ɵɵtext(2, " Exportar ");
2526
2526
  i0.ɵɵelementEnd();
2527
2527
  } if (rf & 2) {
2528
- const ctx_r105 = i0.ɵɵnextContext(5);
2529
- i0.ɵɵproperty("disabled", ctx_r105.dataSource && ctx_r105.dataSource.filteredData.length <= 0);
2528
+ const ctx_r104 = i0.ɵɵnextContext(5);
2529
+ i0.ɵɵproperty("disabled", ctx_r104.dataSource && ctx_r104.dataSource.filteredData.length <= 0);
2530
2530
  } }
2531
2531
  function TableComponent_div_0_div_3_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
2532
- const _r109 = i0.ɵɵgetCurrentView();
2533
- i0.ɵɵelementStart(0, "div", 64)(1, "button", 65);
2534
- i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r109); const ctx_r108 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r108.search()); });
2535
- i0.ɵɵelement(2, "i", 66);
2532
+ const _r108 = i0.ɵɵgetCurrentView();
2533
+ i0.ɵɵelementStart(0, "div", 63)(1, "button", 64);
2534
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r108); const ctx_r107 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r107.search()); });
2535
+ i0.ɵɵelement(2, "i", 65);
2536
2536
  i0.ɵɵtext(3, " Pesquisar ");
2537
2537
  i0.ɵɵelementEnd();
2538
- i0.ɵɵelementStart(4, "button", 67);
2539
- i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_4_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r109); const ctx_r110 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r110.resetFilter()); });
2540
- i0.ɵɵelement(5, "i", 68);
2538
+ i0.ɵɵelementStart(4, "button", 66);
2539
+ i0.ɵɵlistener("click", function TableComponent_div_0_div_3_div_9_div_4_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r108); const ctx_r109 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r109.resetFilter()); });
2540
+ i0.ɵɵelement(5, "i", 67);
2541
2541
  i0.ɵɵtext(6, " Resetar ");
2542
2542
  i0.ɵɵelementEnd();
2543
- i0.ɵɵtemplate(7, TableComponent_div_0_div_3_div_9_div_4_button_7_Template, 3, 1, "button", 69);
2543
+ i0.ɵɵtemplate(7, TableComponent_div_0_div_3_div_9_div_4_button_7_Template, 3, 1, "button", 68);
2544
2544
  i0.ɵɵelementEnd();
2545
2545
  } if (rf & 2) {
2546
- const ctx_r71 = i0.ɵɵnextContext(4);
2546
+ const ctx_r70 = i0.ɵɵnextContext(4);
2547
2547
  i0.ɵɵadvance(7);
2548
- i0.ɵɵproperty("ngIf", ctx_r71.data.download !== false && ctx_r71.downloadTable);
2548
+ i0.ɵɵproperty("ngIf", ctx_r70.data.download !== false && ctx_r70.downloadTable);
2549
2549
  } }
2550
2550
  function TableComponent_div_0_div_3_div_9_Template(rf, ctx) { if (rf & 1) {
2551
2551
  i0.ɵɵelementStart(0, "div");
2552
- i0.ɵɵtemplate(1, TableComponent_div_0_div_3_div_9_div_1_Template, 2, 1, "div", 27);
2553
- i0.ɵɵelementStart(2, "div", 28);
2554
- i0.ɵɵtemplate(3, TableComponent_div_0_div_3_div_9_div_3_Template, 4, 0, "div", 29);
2555
- i0.ɵɵtemplate(4, TableComponent_div_0_div_3_div_9_div_4_Template, 8, 1, "div", 30);
2552
+ i0.ɵɵtemplate(1, TableComponent_div_0_div_3_div_9_div_1_Template, 2, 1, "div", 26);
2553
+ i0.ɵɵelementStart(2, "div", 27);
2554
+ i0.ɵɵtemplate(3, TableComponent_div_0_div_3_div_9_div_3_Template, 4, 0, "div", 28);
2555
+ i0.ɵɵtemplate(4, TableComponent_div_0_div_3_div_9_div_4_Template, 8, 1, "div", 29);
2556
2556
  i0.ɵɵelementEnd()();
2557
2557
  } if (rf & 2) {
2558
- const ctx_r61 = i0.ɵɵnextContext(3);
2558
+ const ctx_r60 = i0.ɵɵnextContext(3);
2559
2559
  i0.ɵɵadvance(1);
2560
- i0.ɵɵproperty("ngIf", ctx_r61.filtersForm.controls.length > 0);
2560
+ i0.ɵɵproperty("ngIf", ctx_r60.filtersForm.controls.length > 0);
2561
2561
  i0.ɵɵadvance(2);
2562
- i0.ɵɵproperty("ngIf", ctx_r61.dropdownItems.length > 0);
2562
+ i0.ɵɵproperty("ngIf", ctx_r60.dropdownItems.length > 0);
2563
2563
  i0.ɵɵadvance(1);
2564
- i0.ɵɵproperty("ngIf", ctx_r61.hasFilterableColumn === true || ctx_r61.hasSortableColumn === true);
2564
+ i0.ɵɵproperty("ngIf", ctx_r60.hasFilterableColumn === true || ctx_r60.hasSortableColumn === true);
2565
2565
  } }
2566
2566
  function TableComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
2567
- i0.ɵɵelementStart(0, "div", 19)(1, "div", 20)(2, "div", 21)(3, "div", 22);
2568
- i0.ɵɵelement(4, "i", 23);
2569
- i0.ɵɵelementStart(5, "span", 24);
2567
+ i0.ɵɵelementStart(0, "div", 18)(1, "div", 19)(2, "div", 20)(3, "div", 21);
2568
+ i0.ɵɵelement(4, "i", 22);
2569
+ i0.ɵɵelementStart(5, "span", 23);
2570
2570
  i0.ɵɵtext(6, "Filtros e A\u00E7\u00F5es");
2571
2571
  i0.ɵɵelementEnd()();
2572
- i0.ɵɵtemplate(7, TableComponent_div_0_div_3_button_7_Template, 3, 4, "button", 25);
2572
+ i0.ɵɵtemplate(7, TableComponent_div_0_div_3_button_7_Template, 3, 4, "button", 24);
2573
2573
  i0.ɵɵelementEnd()();
2574
- i0.ɵɵtemplate(8, TableComponent_div_0_div_3_div_8_Template, 9, 0, "div", 26);
2575
- i0.ɵɵtemplate(9, TableComponent_div_0_div_3_div_9_Template, 5, 3, "div", 29);
2574
+ i0.ɵɵtemplate(8, TableComponent_div_0_div_3_div_8_Template, 9, 0, "div", 25);
2575
+ i0.ɵɵtemplate(9, TableComponent_div_0_div_3_div_9_Template, 5, 3, "div", 28);
2576
2576
  i0.ɵɵelementEnd();
2577
2577
  } if (rf & 2) {
2578
2578
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -2584,282 +2584,282 @@ function TableComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
2584
2584
  i0.ɵɵproperty("ngIf", ctx_r2.dropdownItems.length > 0);
2585
2585
  } }
2586
2586
  function TableComponent_div_0_lib_table_tabs_5_Template(rf, ctx) { if (rf & 1) {
2587
- const _r112 = i0.ɵɵgetCurrentView();
2588
- i0.ɵɵelementStart(0, "lib-table-tabs", 80);
2589
- i0.ɵɵlistener("tabSelected", function TableComponent_div_0_lib_table_tabs_5_Template_lib_table_tabs_tabSelected_0_listener($event) { i0.ɵɵrestoreView(_r112); const ctx_r111 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r111.onTabSelected($event)); });
2587
+ const _r111 = i0.ɵɵgetCurrentView();
2588
+ i0.ɵɵelementStart(0, "lib-table-tabs", 79);
2589
+ i0.ɵɵlistener("tabSelected", function TableComponent_div_0_lib_table_tabs_5_Template_lib_table_tabs_tabSelected_0_listener($event) { i0.ɵɵrestoreView(_r111); const ctx_r110 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r110.onTabSelected($event)); });
2590
2590
  i0.ɵɵelementEnd();
2591
2591
  } if (rf & 2) {
2592
2592
  const ctx_r3 = i0.ɵɵnextContext(2);
2593
2593
  i0.ɵɵproperty("tabsData", ctx_r3.data.tabs.tabsData)("selectedTab", ctx_r3.selectedTab);
2594
2594
  } }
2595
2595
  function TableComponent_div_0_ng_container_9_ng_container_1_th_1_Template(rf, ctx) { if (rf & 1) {
2596
- i0.ɵɵelementStart(0, "th", 86);
2596
+ i0.ɵɵelementStart(0, "th", 85);
2597
2597
  i0.ɵɵtext(1);
2598
2598
  i0.ɵɵelementEnd();
2599
2599
  } if (rf & 2) {
2600
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2600
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2601
2601
  i0.ɵɵadvance(1);
2602
- i0.ɵɵtextInterpolate1(" ", col_r113.title, " ");
2602
+ i0.ɵɵtextInterpolate1(" ", col_r112.title, " ");
2603
2603
  } }
2604
2604
  function TableComponent_div_0_ng_container_9_ng_container_1_th_2_Template(rf, ctx) { if (rf & 1) {
2605
- i0.ɵɵelementStart(0, "th", 87);
2605
+ i0.ɵɵelementStart(0, "th", 86);
2606
2606
  i0.ɵɵtext(1);
2607
2607
  i0.ɵɵelementEnd();
2608
2608
  } if (rf & 2) {
2609
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2609
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2610
2610
  i0.ɵɵadvance(1);
2611
- i0.ɵɵtextInterpolate1(" ", col_r113.title, " ");
2611
+ i0.ɵɵtextInterpolate1(" ", col_r112.title, " ");
2612
2612
  } }
2613
2613
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_a_1_Template(rf, ctx) { if (rf & 1) {
2614
- i0.ɵɵelementStart(0, "a", 93);
2614
+ i0.ɵɵelementStart(0, "a", 92);
2615
2615
  i0.ɵɵtext(1);
2616
2616
  i0.ɵɵelementEnd();
2617
2617
  } if (rf & 2) {
2618
- const row_r120 = i0.ɵɵnextContext(3).$implicit;
2619
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2620
- const ctx_r128 = i0.ɵɵnextContext(2);
2621
- i0.ɵɵproperty("href", row_r120[col_r113.property], i0.ɵɵsanitizeUrl);
2618
+ const row_r119 = i0.ɵɵnextContext(3).$implicit;
2619
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2620
+ const ctx_r127 = i0.ɵɵnextContext(2);
2621
+ i0.ɵɵproperty("href", row_r119[col_r112.property], i0.ɵɵsanitizeUrl);
2622
2622
  i0.ɵɵadvance(1);
2623
- i0.ɵɵtextInterpolate1(" ", ctx_r128.getDisplayValue(col_r113, row_r120), " ");
2623
+ i0.ɵɵtextInterpolate1(" ", ctx_r127.getDisplayValue(col_r112, row_r119), " ");
2624
2624
  } }
2625
2625
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_a_2_Template(rf, ctx) { if (rf & 1) {
2626
- i0.ɵɵelementStart(0, "a", 93);
2626
+ i0.ɵɵelementStart(0, "a", 92);
2627
2627
  i0.ɵɵtext(1);
2628
2628
  i0.ɵɵelementEnd();
2629
2629
  } if (rf & 2) {
2630
- const row_r120 = i0.ɵɵnextContext(3).$implicit;
2631
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2632
- const ctx_r129 = i0.ɵɵnextContext(2);
2633
- i0.ɵɵproperty("href", col_r113.hasLink, i0.ɵɵsanitizeUrl);
2630
+ const row_r119 = i0.ɵɵnextContext(3).$implicit;
2631
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2632
+ const ctx_r128 = i0.ɵɵnextContext(2);
2633
+ i0.ɵɵproperty("href", col_r112.hasLink, i0.ɵɵsanitizeUrl);
2634
2634
  i0.ɵɵadvance(1);
2635
- i0.ɵɵtextInterpolate1(" ", ctx_r129.getDisplayValue(col_r113, row_r120), " ");
2635
+ i0.ɵɵtextInterpolate1(" ", ctx_r128.getDisplayValue(col_r112, row_r119), " ");
2636
2636
  } }
2637
2637
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_span_3_Template(rf, ctx) { if (rf & 1) {
2638
2638
  i0.ɵɵelementStart(0, "span");
2639
2639
  i0.ɵɵtext(1);
2640
2640
  i0.ɵɵelementEnd();
2641
2641
  } if (rf & 2) {
2642
- const row_r120 = i0.ɵɵnextContext(3).$implicit;
2643
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2644
- const ctx_r130 = i0.ɵɵnextContext(2);
2642
+ const row_r119 = i0.ɵɵnextContext(3).$implicit;
2643
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2644
+ const ctx_r129 = i0.ɵɵnextContext(2);
2645
2645
  i0.ɵɵadvance(1);
2646
- i0.ɵɵtextInterpolate1(" ", ctx_r130.getDisplayValue(col_r113, row_r120), " ");
2646
+ i0.ɵɵtextInterpolate1(" ", ctx_r129.getDisplayValue(col_r112, row_r119), " ");
2647
2647
  } }
2648
2648
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_Template(rf, ctx) { if (rf & 1) {
2649
2649
  i0.ɵɵelementStart(0, "span");
2650
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_a_1_Template, 2, 2, "a", 92);
2651
- i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_a_2_Template, 2, 2, "a", 92);
2652
- i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_span_3_Template, 2, 1, "span", 29);
2650
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_a_1_Template, 2, 2, "a", 91);
2651
+ i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_a_2_Template, 2, 2, "a", 91);
2652
+ i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_span_3_Template, 2, 1, "span", 28);
2653
2653
  i0.ɵɵelementEnd();
2654
2654
  } if (rf & 2) {
2655
- const col_r113 = i0.ɵɵnextContext(4).$implicit;
2656
- const ctx_r125 = i0.ɵɵnextContext(2);
2655
+ const col_r112 = i0.ɵɵnextContext(4).$implicit;
2656
+ const ctx_r124 = i0.ɵɵnextContext(2);
2657
2657
  i0.ɵɵadvance(1);
2658
- i0.ɵɵproperty("ngIf", col_r113.hasLink === true);
2658
+ i0.ɵɵproperty("ngIf", col_r112.hasLink === true);
2659
2659
  i0.ɵɵadvance(1);
2660
- i0.ɵɵproperty("ngIf", col_r113.hasLink && ctx_r125.isString(col_r113.hasLink));
2660
+ i0.ɵɵproperty("ngIf", col_r112.hasLink && ctx_r124.isString(col_r112.hasLink));
2661
2661
  i0.ɵɵadvance(1);
2662
- i0.ɵɵproperty("ngIf", col_r113.hasLink !== true && !ctx_r125.isString(col_r113.hasLink));
2662
+ i0.ɵɵproperty("ngIf", col_r112.hasLink !== true && !ctx_r124.isString(col_r112.hasLink));
2663
2663
  } }
2664
2664
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_a_0_Template(rf, ctx) { if (rf & 1) {
2665
- i0.ɵɵelementStart(0, "a", 93);
2665
+ i0.ɵɵelementStart(0, "a", 92);
2666
2666
  i0.ɵɵtext(1);
2667
2667
  i0.ɵɵelementEnd();
2668
2668
  } if (rf & 2) {
2669
- const row_r120 = i0.ɵɵnextContext(3).$implicit;
2670
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2671
- const ctx_r138 = i0.ɵɵnextContext(2);
2672
- i0.ɵɵproperty("href", row_r120[col_r113.property], i0.ɵɵsanitizeUrl);
2669
+ const row_r119 = i0.ɵɵnextContext(3).$implicit;
2670
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2671
+ const ctx_r137 = i0.ɵɵnextContext(2);
2672
+ i0.ɵɵproperty("href", row_r119[col_r112.property], i0.ɵɵsanitizeUrl);
2673
2673
  i0.ɵɵadvance(1);
2674
- i0.ɵɵtextInterpolate1(" ", ctx_r138.getDisplayValue(col_r113, row_r120, true), " ");
2674
+ i0.ɵɵtextInterpolate1(" ", ctx_r137.getDisplayValue(col_r112, row_r119, true), " ");
2675
2675
  } }
2676
2676
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_a_1_Template(rf, ctx) { if (rf & 1) {
2677
- i0.ɵɵelementStart(0, "a", 93);
2677
+ i0.ɵɵelementStart(0, "a", 92);
2678
2678
  i0.ɵɵtext(1);
2679
2679
  i0.ɵɵelementEnd();
2680
2680
  } if (rf & 2) {
2681
- const row_r120 = i0.ɵɵnextContext(3).$implicit;
2682
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2683
- const ctx_r139 = i0.ɵɵnextContext(2);
2684
- i0.ɵɵproperty("href", col_r113.hasLink, i0.ɵɵsanitizeUrl);
2681
+ const row_r119 = i0.ɵɵnextContext(3).$implicit;
2682
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2683
+ const ctx_r138 = i0.ɵɵnextContext(2);
2684
+ i0.ɵɵproperty("href", col_r112.hasLink, i0.ɵɵsanitizeUrl);
2685
2685
  i0.ɵɵadvance(1);
2686
- i0.ɵɵtextInterpolate1(" ", ctx_r139.getDisplayValue(col_r113, row_r120, true), " ");
2686
+ i0.ɵɵtextInterpolate1(" ", ctx_r138.getDisplayValue(col_r112, row_r119, true), " ");
2687
2687
  } }
2688
2688
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_span_2_Template(rf, ctx) { if (rf & 1) {
2689
2689
  i0.ɵɵelementStart(0, "span");
2690
2690
  i0.ɵɵtext(1);
2691
2691
  i0.ɵɵelementEnd();
2692
2692
  } if (rf & 2) {
2693
- const row_r120 = i0.ɵɵnextContext(3).$implicit;
2694
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2695
- const ctx_r140 = i0.ɵɵnextContext(2);
2693
+ const row_r119 = i0.ɵɵnextContext(3).$implicit;
2694
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2695
+ const ctx_r139 = i0.ɵɵnextContext(2);
2696
2696
  i0.ɵɵadvance(1);
2697
- i0.ɵɵtextInterpolate1(" ", ctx_r140.getDisplayValue(col_r113, row_r120, true), " ");
2697
+ i0.ɵɵtextInterpolate1(" ", ctx_r139.getDisplayValue(col_r112, row_r119, true), " ");
2698
2698
  } }
2699
2699
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
2700
- i0.ɵɵtemplate(0, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_a_0_Template, 2, 2, "a", 92);
2701
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_a_1_Template, 2, 2, "a", 92);
2702
- i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_span_2_Template, 2, 1, "span", 29);
2700
+ i0.ɵɵtemplate(0, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_a_0_Template, 2, 2, "a", 91);
2701
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_a_1_Template, 2, 2, "a", 91);
2702
+ i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_span_2_Template, 2, 1, "span", 28);
2703
2703
  } if (rf & 2) {
2704
- const col_r113 = i0.ɵɵnextContext(4).$implicit;
2705
- const ctx_r127 = i0.ɵɵnextContext(2);
2706
- i0.ɵɵproperty("ngIf", col_r113.hasLink === true);
2704
+ const col_r112 = i0.ɵɵnextContext(4).$implicit;
2705
+ const ctx_r126 = i0.ɵɵnextContext(2);
2706
+ i0.ɵɵproperty("ngIf", col_r112.hasLink === true);
2707
2707
  i0.ɵɵadvance(1);
2708
- i0.ɵɵproperty("ngIf", col_r113.hasLink && ctx_r127.isString(col_r113.hasLink));
2708
+ i0.ɵɵproperty("ngIf", col_r112.hasLink && ctx_r126.isString(col_r112.hasLink));
2709
2709
  i0.ɵɵadvance(1);
2710
- i0.ɵɵproperty("ngIf", col_r113.hasLink !== true && !ctx_r127.isString(col_r113.hasLink));
2710
+ i0.ɵɵproperty("ngIf", col_r112.hasLink !== true && !ctx_r126.isString(col_r112.hasLink));
2711
2711
  } }
2712
2712
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_Template(rf, ctx) { if (rf & 1) {
2713
2713
  i0.ɵɵelementStart(0, "span");
2714
2714
  i0.ɵɵelementContainerStart(1);
2715
- i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_Template, 4, 3, "span", 90);
2715
+ i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_span_2_Template, 4, 3, "span", 89);
2716
2716
  i0.ɵɵelementContainerEnd();
2717
- i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_Template, 3, 3, "ng-template", null, 91, i0.ɵɵtemplateRefExtractor);
2717
+ i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_ng_template_3_Template, 3, 3, "ng-template", null, 90, i0.ɵɵtemplateRefExtractor);
2718
2718
  i0.ɵɵelementEnd();
2719
2719
  } if (rf & 2) {
2720
- const _r126 = i0.ɵɵreference(4);
2721
- const row_r120 = i0.ɵɵnextContext().$implicit;
2722
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2720
+ const _r125 = i0.ɵɵreference(4);
2721
+ const row_r119 = i0.ɵɵnextContext().$implicit;
2722
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2723
2723
  i0.ɵɵadvance(2);
2724
- i0.ɵɵproperty("ngIf", col_r113.charLimit && row_r120[col_r113.property] && row_r120[col_r113.property].length > col_r113.charLimit)("ngIfElse", _r126);
2724
+ i0.ɵɵproperty("ngIf", col_r112.charLimit && row_r119[col_r112.property] && row_r119[col_r112.property].length > col_r112.charLimit)("ngIfElse", _r125);
2725
2725
  } }
2726
2726
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_mat_spinner_1_Template(rf, ctx) { if (rf & 1) {
2727
- i0.ɵɵelement(0, "mat-spinner", 97);
2727
+ i0.ɵɵelement(0, "mat-spinner", 96);
2728
2728
  } if (rf & 2) {
2729
2729
  i0.ɵɵproperty("diameter", 32);
2730
2730
  } }
2731
2731
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_Template(rf, ctx) { if (rf & 1) {
2732
- const _r153 = i0.ɵɵgetCurrentView();
2733
- i0.ɵɵelementStart(0, "div", 94);
2734
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_mat_spinner_1_Template, 1, 1, "mat-spinner", 95);
2735
- i0.ɵɵelementStart(2, "img", 96);
2736
- i0.ɵɵlistener("load", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_Template_img_load_2_listener() { i0.ɵɵrestoreView(_r153); const row_r120 = i0.ɵɵnextContext().$implicit; const col_r113 = i0.ɵɵnextContext(2).$implicit; const ctx_r151 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r151.onImageLoad(row_r120, col_r113)); })("error", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_Template_img_error_2_listener($event) { i0.ɵɵrestoreView(_r153); const row_r120 = i0.ɵɵnextContext().$implicit; const col_r113 = i0.ɵɵnextContext(2).$implicit; const ctx_r155 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r155.onImageError($event, row_r120, col_r113, col_r113.image.default)); });
2732
+ const _r152 = i0.ɵɵgetCurrentView();
2733
+ i0.ɵɵelementStart(0, "div", 93);
2734
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_mat_spinner_1_Template, 1, 1, "mat-spinner", 94);
2735
+ i0.ɵɵelementStart(2, "img", 95);
2736
+ i0.ɵɵlistener("load", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_Template_img_load_2_listener() { i0.ɵɵrestoreView(_r152); const row_r119 = i0.ɵɵnextContext().$implicit; const col_r112 = i0.ɵɵnextContext(2).$implicit; const ctx_r150 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r150.onImageLoad(row_r119, col_r112)); })("error", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_Template_img_error_2_listener($event) { i0.ɵɵrestoreView(_r152); const row_r119 = i0.ɵɵnextContext().$implicit; const col_r112 = i0.ɵɵnextContext(2).$implicit; const ctx_r154 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r154.onImageError($event, row_r119, col_r112, col_r112.image.default)); });
2737
2737
  i0.ɵɵelementEnd()();
2738
2738
  } if (rf & 2) {
2739
- const row_r120 = i0.ɵɵnextContext().$implicit;
2740
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2741
- const ctx_r122 = i0.ɵɵnextContext(2);
2739
+ const row_r119 = i0.ɵɵnextContext().$implicit;
2740
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2741
+ const ctx_r121 = i0.ɵɵnextContext(2);
2742
2742
  i0.ɵɵadvance(1);
2743
- i0.ɵɵproperty("ngIf", ctx_r122.isImageLoading(row_r120, col_r113));
2743
+ i0.ɵɵproperty("ngIf", ctx_r121.isImageLoading(row_r119, col_r112));
2744
2744
  i0.ɵɵadvance(1);
2745
- i0.ɵɵclassProp("opacity-0", ctx_r122.isImageLoading(row_r120, col_r113));
2746
- i0.ɵɵproperty("src", col_r113.image.path + "/" + row_r120[col_r113.property], i0.ɵɵsanitizeUrl)("ngClass", col_r113.image.class);
2745
+ i0.ɵɵclassProp("opacity-0", ctx_r121.isImageLoading(row_r119, col_r112));
2746
+ i0.ɵɵproperty("src", col_r112.image.path + "/" + row_r119[col_r112.property], i0.ɵɵsanitizeUrl)("ngClass", col_r112.image.class);
2747
2747
  } }
2748
2748
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_mat_spinner_1_Template(rf, ctx) { if (rf & 1) {
2749
- i0.ɵɵelement(0, "mat-spinner", 97);
2749
+ i0.ɵɵelement(0, "mat-spinner", 96);
2750
2750
  } if (rf & 2) {
2751
2751
  i0.ɵɵproperty("diameter", 32);
2752
2752
  } }
2753
2753
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_Template(rf, ctx) { if (rf & 1) {
2754
- const _r163 = i0.ɵɵgetCurrentView();
2755
- i0.ɵɵelementStart(0, "div", 94);
2756
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_mat_spinner_1_Template, 1, 1, "mat-spinner", 95);
2757
- i0.ɵɵelementStart(2, "img", 96);
2758
- i0.ɵɵlistener("load", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_Template_img_load_2_listener() { i0.ɵɵrestoreView(_r163); const row_r120 = i0.ɵɵnextContext().$implicit; const col_r113 = i0.ɵɵnextContext(2).$implicit; const ctx_r161 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r161.onImageLoad(row_r120, col_r113)); })("error", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_Template_img_error_2_listener($event) { i0.ɵɵrestoreView(_r163); const row_r120 = i0.ɵɵnextContext().$implicit; const col_r113 = i0.ɵɵnextContext(2).$implicit; const ctx_r165 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r165.onImageError($event, row_r120, col_r113, col_r113.image.default)); });
2754
+ const _r162 = i0.ɵɵgetCurrentView();
2755
+ i0.ɵɵelementStart(0, "div", 93);
2756
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_mat_spinner_1_Template, 1, 1, "mat-spinner", 94);
2757
+ i0.ɵɵelementStart(2, "img", 95);
2758
+ i0.ɵɵlistener("load", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_Template_img_load_2_listener() { i0.ɵɵrestoreView(_r162); const row_r119 = i0.ɵɵnextContext().$implicit; const col_r112 = i0.ɵɵnextContext(2).$implicit; const ctx_r160 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r160.onImageLoad(row_r119, col_r112)); })("error", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_Template_img_error_2_listener($event) { i0.ɵɵrestoreView(_r162); const row_r119 = i0.ɵɵnextContext().$implicit; const col_r112 = i0.ɵɵnextContext(2).$implicit; const ctx_r164 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r164.onImageError($event, row_r119, col_r112, col_r112.image.default)); });
2759
2759
  i0.ɵɵelementEnd()();
2760
2760
  } if (rf & 2) {
2761
- const row_r120 = i0.ɵɵnextContext().$implicit;
2762
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2763
- const ctx_r123 = i0.ɵɵnextContext(2);
2761
+ const row_r119 = i0.ɵɵnextContext().$implicit;
2762
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2763
+ const ctx_r122 = i0.ɵɵnextContext(2);
2764
2764
  i0.ɵɵadvance(1);
2765
- i0.ɵɵproperty("ngIf", ctx_r123.isImageLoading(row_r120, col_r113));
2765
+ i0.ɵɵproperty("ngIf", ctx_r122.isImageLoading(row_r119, col_r112));
2766
2766
  i0.ɵɵadvance(1);
2767
- i0.ɵɵclassProp("opacity-0", ctx_r123.isImageLoading(row_r120, col_r113));
2768
- i0.ɵɵproperty("src", row_r120[col_r113.property], i0.ɵɵsanitizeUrl)("ngClass", col_r113.image.class);
2767
+ i0.ɵɵclassProp("opacity-0", ctx_r122.isImageLoading(row_r119, col_r112));
2768
+ i0.ɵɵproperty("src", row_r119[col_r112.property], i0.ɵɵsanitizeUrl)("ngClass", col_r112.image.class);
2769
2769
  } }
2770
2770
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_span_1_Template(rf, ctx) { if (rf & 1) {
2771
- i0.ɵɵelementStart(0, "span", 101);
2771
+ i0.ɵɵelementStart(0, "span", 100);
2772
2772
  i0.ɵɵtext(1);
2773
2773
  i0.ɵɵelementEnd();
2774
2774
  } if (rf & 2) {
2775
- const iconClass_r171 = i0.ɵɵnextContext().$implicit;
2776
- i0.ɵɵproperty("ngClass", iconClass_r171.class);
2775
+ const iconClass_r170 = i0.ɵɵnextContext().$implicit;
2776
+ i0.ɵɵproperty("ngClass", iconClass_r170.class);
2777
2777
  i0.ɵɵadvance(1);
2778
- i0.ɵɵtextInterpolate(iconClass_r171.text);
2778
+ i0.ɵɵtextInterpolate(iconClass_r170.text);
2779
2779
  } }
2780
2780
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_Template(rf, ctx) { if (rf & 1) {
2781
- const _r175 = i0.ɵɵgetCurrentView();
2782
- i0.ɵɵelementStart(0, "button", 99);
2783
- i0.ɵɵlistener("click", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_Template_button_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r175); const iconClass_r171 = restoredCtx.$implicit; const row_r120 = i0.ɵɵnextContext(2).$implicit; return i0.ɵɵresetView(iconClass_r171.buttonMethod ? iconClass_r171.buttonMethod(row_r120, $event) : $event.stopPropagation()); });
2784
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_span_1_Template, 2, 2, "span", 100);
2781
+ const _r174 = i0.ɵɵgetCurrentView();
2782
+ i0.ɵɵelementStart(0, "button", 98);
2783
+ i0.ɵɵlistener("click", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_Template_button_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r174); const iconClass_r170 = restoredCtx.$implicit; const row_r119 = i0.ɵɵnextContext(2).$implicit; return i0.ɵɵresetView(iconClass_r170.buttonMethod ? iconClass_r170.buttonMethod(row_r119, $event) : $event.stopPropagation()); });
2784
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_span_1_Template, 2, 2, "span", 99);
2785
2785
  i0.ɵɵelementEnd();
2786
2786
  } if (rf & 2) {
2787
- const iconClass_r171 = ctx.$implicit;
2788
- const row_r120 = i0.ɵɵnextContext(2).$implicit;
2787
+ const iconClass_r170 = ctx.$implicit;
2788
+ const row_r119 = i0.ɵɵnextContext(2).$implicit;
2789
2789
  i0.ɵɵadvance(1);
2790
- i0.ɵɵproperty("ngIf", iconClass_r171.condition === undefined || iconClass_r171.condition !== undefined && iconClass_r171.condition(row_r120));
2790
+ i0.ɵɵproperty("ngIf", iconClass_r170.condition === undefined || iconClass_r170.condition !== undefined && iconClass_r170.condition(row_r119));
2791
2791
  } }
2792
2792
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
2793
2793
  i0.ɵɵelementContainerStart(0);
2794
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_Template, 2, 1, "button", 98);
2794
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_button_1_Template, 2, 1, "button", 97);
2795
2795
  i0.ɵɵelementContainerEnd();
2796
2796
  } if (rf & 2) {
2797
- const col_r113 = i0.ɵɵnextContext(3).$implicit;
2797
+ const col_r112 = i0.ɵɵnextContext(3).$implicit;
2798
2798
  i0.ɵɵadvance(1);
2799
- i0.ɵɵproperty("ngForOf", col_r113.iconClass);
2799
+ i0.ɵɵproperty("ngForOf", col_r112.iconClass);
2800
2800
  } }
2801
2801
  function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template(rf, ctx) { if (rf & 1) {
2802
- const _r181 = i0.ɵɵgetCurrentView();
2803
- i0.ɵɵelementStart(0, "td", 88);
2804
- i0.ɵɵlistener("click", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r181); const row_r120 = restoredCtx.$implicit; const col_r113 = i0.ɵɵnextContext(2).$implicit; return i0.ɵɵresetView(col_r113.method ? col_r113.method(row_r120) : null); })("mouseenter", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_mouseenter_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r181); const row_r120 = restoredCtx.$implicit; const col_r113 = i0.ɵɵnextContext(2).$implicit; const ctx_r182 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r182.onCellMouseEnter($event, row_r120, col_r113)); })("mouseleave", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_mouseleave_0_listener() { i0.ɵɵrestoreView(_r181); const ctx_r184 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r184.onCellMouseLeave()); })("mousemove", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_mousemove_0_listener($event) { i0.ɵɵrestoreView(_r181); const ctx_r185 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r185.onCellMouseMove($event)); });
2805
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_Template, 5, 2, "span", 29);
2806
- i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_Template, 3, 5, "div", 89);
2807
- i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_Template, 3, 5, "div", 89);
2808
- i0.ɵɵtemplate(4, TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_Template, 2, 1, "ng-container", 29);
2802
+ const _r180 = i0.ɵɵgetCurrentView();
2803
+ i0.ɵɵelementStart(0, "td", 87);
2804
+ i0.ɵɵlistener("click", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r180); const row_r119 = restoredCtx.$implicit; const col_r112 = i0.ɵɵnextContext(2).$implicit; return i0.ɵɵresetView(col_r112.method ? col_r112.method(row_r119) : null); })("mouseenter", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_mouseenter_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r180); const row_r119 = restoredCtx.$implicit; const col_r112 = i0.ɵɵnextContext(2).$implicit; const ctx_r181 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r181.onCellMouseEnter($event, row_r119, col_r112)); })("mouseleave", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_mouseleave_0_listener() { i0.ɵɵrestoreView(_r180); const ctx_r183 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r183.onCellMouseLeave()); })("mousemove", function TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template_td_mousemove_0_listener($event) { i0.ɵɵrestoreView(_r180); const ctx_r184 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r184.onCellMouseMove($event)); });
2805
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_td_3_span_1_Template, 5, 2, "span", 28);
2806
+ i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_2_Template, 3, 5, "div", 88);
2807
+ i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_div_3_Template, 3, 5, "div", 88);
2808
+ i0.ɵɵtemplate(4, TableComponent_div_0_ng_container_9_ng_container_1_td_3_ng_container_4_Template, 2, 1, "ng-container", 28);
2809
2809
  i0.ɵɵelementEnd();
2810
2810
  } if (rf & 2) {
2811
- const col_r113 = i0.ɵɵnextContext(2).$implicit;
2811
+ const col_r112 = i0.ɵɵnextContext(2).$implicit;
2812
2812
  i0.ɵɵadvance(1);
2813
- i0.ɵɵproperty("ngIf", !col_r113.image && !col_r113.iconClass && !col_r113.method);
2813
+ i0.ɵɵproperty("ngIf", !col_r112.image && !col_r112.iconClass && !col_r112.method);
2814
2814
  i0.ɵɵadvance(1);
2815
- i0.ɵɵproperty("ngIf", col_r113.image && col_r113.image.path && !col_r113.iconClass && !col_r113.method);
2815
+ i0.ɵɵproperty("ngIf", col_r112.image && col_r112.image.path && !col_r112.iconClass && !col_r112.method);
2816
2816
  i0.ɵɵadvance(1);
2817
- i0.ɵɵproperty("ngIf", col_r113.image && col_r113.image.url && !col_r113.iconClass && !col_r113.method);
2817
+ i0.ɵɵproperty("ngIf", col_r112.image && col_r112.image.url && !col_r112.iconClass && !col_r112.method);
2818
2818
  i0.ɵɵadvance(1);
2819
- i0.ɵɵproperty("ngIf", col_r113.iconClass);
2819
+ i0.ɵɵproperty("ngIf", col_r112.iconClass);
2820
2820
  } }
2821
2821
  function TableComponent_div_0_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2822
2822
  i0.ɵɵelementContainerStart(0);
2823
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_th_1_Template, 2, 1, "th", 83);
2824
- i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_th_2_Template, 2, 1, "th", 84);
2825
- i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template, 5, 4, "td", 85);
2823
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_th_1_Template, 2, 1, "th", 82);
2824
+ i0.ɵɵtemplate(2, TableComponent_div_0_ng_container_9_ng_container_1_th_2_Template, 2, 1, "th", 83);
2825
+ i0.ɵɵtemplate(3, TableComponent_div_0_ng_container_9_ng_container_1_td_3_Template, 5, 4, "td", 84);
2826
2826
  i0.ɵɵelementContainerEnd();
2827
2827
  } if (rf & 2) {
2828
- const col_r113 = i0.ɵɵnextContext().$implicit;
2829
- const ctx_r114 = i0.ɵɵnextContext(2);
2828
+ const col_r112 = i0.ɵɵnextContext().$implicit;
2829
+ const ctx_r113 = i0.ɵɵnextContext(2);
2830
2830
  i0.ɵɵadvance(1);
2831
- i0.ɵɵproperty("ngIf", !col_r113.isSortable || ctx_r114.data.pagination === true);
2831
+ i0.ɵɵproperty("ngIf", !col_r112.isSortable || ctx_r113.data.pagination === true);
2832
2832
  i0.ɵɵadvance(1);
2833
- i0.ɵɵproperty("ngIf", col_r113.isSortable && ctx_r114.data.pagination === false);
2833
+ i0.ɵɵproperty("ngIf", col_r112.isSortable && ctx_r113.data.pagination === false);
2834
2834
  } }
2835
2835
  function TableComponent_div_0_ng_container_9_Template(rf, ctx) { if (rf & 1) {
2836
- i0.ɵɵelementContainerStart(0, 81);
2837
- i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_Template, 4, 2, "ng-container", 82);
2836
+ i0.ɵɵelementContainerStart(0, 80);
2837
+ i0.ɵɵtemplate(1, TableComponent_div_0_ng_container_9_ng_container_1_Template, 4, 2, "ng-container", 81);
2838
2838
  i0.ɵɵelementContainerEnd();
2839
2839
  } if (rf & 2) {
2840
- const col_r113 = ctx.$implicit;
2841
- i0.ɵɵpropertyInterpolate("matColumnDef", col_r113.property);
2840
+ const col_r112 = ctx.$implicit;
2841
+ i0.ɵɵpropertyInterpolate("matColumnDef", col_r112.property);
2842
2842
  } }
2843
2843
  function TableComponent_div_0_tr_10_Template(rf, ctx) { if (rf & 1) {
2844
- i0.ɵɵelement(0, "tr", 102);
2844
+ i0.ɵɵelement(0, "tr", 101);
2845
2845
  } }
2846
2846
  function TableComponent_div_0_tr_11_Template(rf, ctx) { if (rf & 1) {
2847
- const _r190 = i0.ɵɵgetCurrentView();
2848
- i0.ɵɵelementStart(0, "tr", 103);
2849
- i0.ɵɵlistener("click", function TableComponent_div_0_tr_11_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r190); const row_r188 = restoredCtx.$implicit; const ctx_r189 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r189.goToDetails(row_r188)); });
2847
+ const _r189 = i0.ɵɵgetCurrentView();
2848
+ i0.ɵɵelementStart(0, "tr", 102);
2849
+ i0.ɵɵlistener("click", function TableComponent_div_0_tr_11_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r189); const row_r187 = restoredCtx.$implicit; const ctx_r188 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r188.goToDetails(row_r187)); });
2850
2850
  i0.ɵɵelementEnd();
2851
2851
  } if (rf & 2) {
2852
2852
  const ctx_r7 = i0.ɵɵnextContext(2);
2853
2853
  i0.ɵɵproperty("ngClass", ctx_r7.getTableRowNgClass());
2854
2854
  } }
2855
2855
  function TableComponent_div_0_tr_12_td_1_Template(rf, ctx) { if (rf & 1) {
2856
- i0.ɵɵelementStart(0, "td", 106);
2856
+ i0.ɵɵelementStart(0, "td", 105);
2857
2857
  i0.ɵɵtext(1, " Nenhum resultado encontrado para a busca ");
2858
2858
  i0.ɵɵelementEnd();
2859
2859
  } }
2860
2860
  function TableComponent_div_0_tr_12_Template(rf, ctx) { if (rf & 1) {
2861
- i0.ɵɵelementStart(0, "tr", 104);
2862
- i0.ɵɵtemplate(1, TableComponent_div_0_tr_12_td_1_Template, 2, 0, "td", 105);
2861
+ i0.ɵɵelementStart(0, "tr", 103);
2862
+ i0.ɵɵtemplate(1, TableComponent_div_0_tr_12_td_1_Template, 2, 0, "td", 104);
2863
2863
  i0.ɵɵpipe(2, "async");
2864
2864
  i0.ɵɵelementEnd();
2865
2865
  } if (rf & 2) {
@@ -2868,22 +2868,13 @@ function TableComponent_div_0_tr_12_Template(rf, ctx) { if (rf & 1) {
2868
2868
  i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(2, 1, ctx_r8.isLoading$));
2869
2869
  } }
2870
2870
  function TableComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
2871
- i0.ɵɵelementStart(0, "div", 107);
2871
+ i0.ɵɵelementStart(0, "div", 106);
2872
2872
  i0.ɵɵelement(1, "mat-spinner");
2873
2873
  i0.ɵɵelementEnd();
2874
2874
  } }
2875
- function TableComponent_div_0_div_18_Template(rf, ctx) { if (rf & 1) {
2876
- i0.ɵɵelementStart(0, "div", 108);
2877
- i0.ɵɵtext(1);
2878
- i0.ɵɵelementEnd();
2879
- } if (rf & 2) {
2880
- const ctx_r11 = i0.ɵɵnextContext(2);
2881
- i0.ɵɵadvance(1);
2882
- i0.ɵɵtextInterpolate1(" ", ctx_r11.currentPageNumber, " ");
2883
- } }
2884
2875
  const _c0 = function () { return [25, 50, 100]; };
2885
2876
  function TableComponent_div_0_Template(rf, ctx) { if (rf & 1) {
2886
- const _r193 = i0.ɵɵgetCurrentView();
2877
+ const _r192 = i0.ɵɵgetCurrentView();
2887
2878
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
2888
2879
  i0.ɵɵtemplate(2, TableComponent_div_0_div_2_Template, 13, 5, "div", 3);
2889
2880
  i0.ɵɵtemplate(3, TableComponent_div_0_div_3_Template, 10, 3, "div", 3);
@@ -2898,12 +2889,9 @@ function TableComponent_div_0_Template(rf, ctx) { if (rf & 1) {
2898
2889
  i0.ɵɵtemplate(13, TableComponent_div_0_div_13_Template, 2, 0, "div", 13);
2899
2890
  i0.ɵɵpipe(14, "async");
2900
2891
  i0.ɵɵelementStart(15, "div", 14)(16, "mat-paginator", 15, 16);
2901
- i0.ɵɵlistener("page", function TableComponent_div_0_Template_mat_paginator_page_16_listener($event) { i0.ɵɵrestoreView(_r193); const ctx_r192 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r192.onPageChange($event)); });
2902
- i0.ɵɵelementEnd();
2903
- i0.ɵɵtemplate(18, TableComponent_div_0_div_18_Template, 2, 1, "div", 17);
2904
- i0.ɵɵpipe(19, "async");
2905
- i0.ɵɵelementEnd()()()();
2906
- i0.ɵɵelement(20, "lib-table-tooltip", 18);
2892
+ i0.ɵɵlistener("page", function TableComponent_div_0_Template_mat_paginator_page_16_listener($event) { i0.ɵɵrestoreView(_r192); const ctx_r191 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r191.onPageChange($event)); });
2893
+ i0.ɵɵelementEnd()()()()();
2894
+ i0.ɵɵelement(18, "lib-table-tooltip", 17);
2907
2895
  i0.ɵɵelementEnd();
2908
2896
  } if (rf & 2) {
2909
2897
  const ctx_r0 = i0.ɵɵnextContext();
@@ -2922,11 +2910,9 @@ function TableComponent_div_0_Template(rf, ctx) { if (rf & 1) {
2922
2910
  i0.ɵɵadvance(1);
2923
2911
  i0.ɵɵproperty("matRowDefColumns", ctx_r0.columnProperties);
2924
2912
  i0.ɵɵadvance(2);
2925
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(14, 16, ctx_r0.isLoading$));
2913
+ i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(14, 15, ctx_r0.isLoading$));
2926
2914
  i0.ɵɵadvance(3);
2927
- i0.ɵɵproperty("pageSizeOptions", i0.ɵɵpureFunction0(20, _c0))("pageSize", ctx_r0.pageSize)("length", ctx_r0.totalItems)("ngClass", ctx_r0.getPaginatorNgClass());
2928
- i0.ɵɵadvance(2);
2929
- i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(19, 18, ctx_r0.isLoading$) && (ctx_r0.dataSource == null ? null : ctx_r0.dataSource.data) && ctx_r0.dataSource.data.length > 0 && (ctx_r0.data == null ? null : ctx_r0.data.filterFn));
2915
+ i0.ɵɵproperty("pageSizeOptions", i0.ɵɵpureFunction0(17, _c0))("pageSize", ctx_r0.pageSize)("length", ctx_r0.totalItems)("ngClass", ctx_r0.getPaginatorNgClass());
2930
2916
  i0.ɵɵadvance(2);
2931
2917
  i0.ɵɵproperty("state", ctx_r0.tooltipState)("styles", ctx_r0.getTooltipStyles());
2932
2918
  } }
@@ -3621,14 +3607,14 @@ TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableCompone
3621
3607
  let _t;
3622
3608
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paginator = _t.first);
3623
3609
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sort = _t.first);
3624
- } }, inputs: { data: "data", downloadTable: "downloadTable" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "card-body", 4, "ngIf"], [1, "card-body"], [1, "flex", "flex-col", "justify-between", "gap-6"], ["class", "rounded-xl border border-gray-200 bg-white p-4 shadow-lg", 4, "ngIf"], [1, "flex", "flex-col"], [3, "tabsData", "selectedTab", "tabSelected", 4, "ngIf"], [1, "mat-elevation-z8", "w-full", "overflow-x-auto", "rounded-xl", "table-container"], ["mat-table", "", "matSort", "", "matSortActive", "createdAt", "matSortDirection", "desc", 3, "dataSource"], ["sort", "matSort"], [3, "matColumnDef", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 3, "ngClass", "click", 4, "matRowDef", "matRowDefColumns"], ["class", "mat-row", 4, "matNoDataRow"], ["class", "flex justify-center", 4, "ngIf"], [1, "paginator-container"], ["showFirstLastButtons", "", "aria-label", "Select page of periodic elements", 3, "pageSizeOptions", "pageSize", "length", "ngClass", "page"], ["paginator", ""], ["class", "page-number-display", 4, "ngIf"], [3, "state", "styles"], [1, "rounded-xl", "border", "border-gray-200", "bg-white", "p-4", "shadow-lg"], [1, "mb-4", "flex", "flex-col", "items-start", "justify-between", "gap-4", "border-b-2", "border-gray-200", "pb-4", "md:flex-row", "md:items-center"], [1, "flex", "flex-wrap", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2"], [1, "fa", "fa-filter", "text-xl", "text-blue-500"], [1, "text-lg", "font-semibold", "text-gray-700"], [3, "ngClass", "routerLink", "click", 4, "ngIf"], ["class", "mb-4", 4, "ngIf"], ["class", "mb-4 space-y-3", 4, "ngIf"], [1, "-mb-2", "flex", "items-start", "justify-between", "gap-4", "border-t", "border-gray-200", "pt-4"], [4, "ngIf"], ["class", "flex flex-wrap gap-3 self-start sm:self-auto", 4, "ngIf"], [3, "ngClass", "routerLink", "click"], [3, "class", 4, "ngIf"], [1, "mb-4"], [1, "flex", "flex-wrap", "items-center", "gap-3", "p-2"], [1, "min-w-[200px]", "flex-1"], ["appearance", "outline", 1, "w-full"], [1, "fa", "fa-sort-alpha-down", "text-cyan-600"], ["placeholder", "Selecione...", 3, "formControl"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"], [1, "mb-4", "space-y-3"], ["class", "flex flex-wrap items-center gap-3 p-2", 3, "formGroup", 4, "ngFor", "ngForOf"], [1, "flex", "flex-wrap", "items-center", "gap-3", "p-2", 3, "formGroup"], ["class", "min-w-[200px] flex-1", 4, "ngIf"], ["class", "min-w-[340px] flex-auto", 4, "ngIf"], ["class", "ml-auto flex-shrink-0", 4, "ngIf"], ["placeholder", "Selecione o tipo...", "formControlName", "selectFilter", 3, "selectionChange"], [1, "text-sm", "text-blue-500"], [1, "fa", "fa-search", "text-gray-400"], ["formControlName", "typeFilter", "matInput", "", "placeholder", "Digite para filtrar...", 3, "keyup.enter"], ["input", ""], ["placeholder", "Selecione...", "formControlName", "selectItem", "multiple", ""], [1, "min-w-[340px]", "flex-auto"], [1, "flex", "flex-col", "items-stretch", "gap-3", "sm:flex-row", "sm:items-center"], ["appearance", "outline", 1, "flex-1"], [1, "fa", "fa-calendar", "text-gray-400"], ["type", "text", "matInput", "", "formControlName", "initialDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input"], ["type", "text", "matInput", "", "formControlName", "finalDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input"], [1, "ml-auto", "flex-shrink-0"], ["matTooltip", "Remover filtro", 1, "flex", "h-10", "w-10", "items-center", "justify-center", "rounded-full", "transition-colors", "duration-300", "hover:bg-red-100", 3, "click"], [1, "fa", "fa-trash", "text-red-500", "hover:text-red-600"], ["matTooltip", "Adicionar novo filtro", 1, "transform", "rounded-full", "border-2", "border-blue-300", "bg-blue-50", "px-6", "py-2", "text-sm", "font-medium", "text-blue-600", "transition-all", "duration-300", "hover:-translate-y-0.5", "hover:border-blue-400", "hover:bg-blue-100", "hover:shadow-md", 3, "click"], [1, "fa", "fa-plus", "mr-2"], [1, "flex", "flex-wrap", "gap-3", "self-start", "sm:self-auto"], ["type", "button", "matTooltip", "Aplicar filtros", 1, "flex", "items-center", "gap-2", "rounded-lg", "bg-green-600", "px-5", "py-2", "text-sm", "font-medium", "text-white", "transition-colors", "hover:bg-green-700", 3, "click"], [1, "fa", "fa-search"], ["matTooltip", "Limpar filtros", 1, "flex", "items-center", "gap-2", "rounded-lg", "bg-red-500", "px-5", "py-2", "text-sm", "font-medium", "text-white", "transition-colors", "hover:bg-red-600", 3, "click"], [1, "fas", "fa-redo-alt"], ["class", "flex items-center gap-2 rounded-lg bg-orange-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-orange-600", "matTooltipPosition", "above", "matTooltip", "Exportar Tabela", 3, "disabled", "click", 4, "ngIf"], ["matTooltipPosition", "above", "matTooltip", "Exportar Tabela", 1, "flex", "items-center", "gap-2", "rounded-lg", "bg-orange-500", "px-5", "py-2", "text-sm", "font-medium", "text-white", "transition-colors", "hover:bg-orange-600", 3, "disabled", "click"], [1, "fa", "fa-download"], [1, "fa", "fa-search", "text-blue-500"], ["matInput", "", "placeholder", "Digite para filtrar...", 3, "keyup.enter", "keyup"], ["filterInput", ""], ["matSuffix", "", 1, "text-gray-500"], ["class", "flex flex-wrap items-center gap-3", 3, "formGroup", 4, "ngFor", "ngForOf"], [1, "flex", "flex-wrap", "items-center", "gap-3", 3, "formGroup"], ["type", "text", "matInput", "", "formControlName", "initialDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input", "blur"], ["type", "text", "matInput", "", "formControlName", "finalDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input", "blur"], [3, "tabsData", "selectedTab", "tabSelected"], [3, "matColumnDef"], [4, "matHeaderCellDef"], ["mat-header-cell", "", 4, "ngIf"], ["mat-header-cell", "", "mat-sort-header", "", 4, "ngIf"], ["mat-cell", "", 3, "click", "mouseenter", "mouseleave", "mousemove", 4, "matCellDef"], ["mat-header-cell", ""], ["mat-header-cell", "", "mat-sort-header", ""], ["mat-cell", "", 3, "click", "mouseenter", "mouseleave", "mousemove"], ["class", "relative inline-block", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["withinLimit", ""], ["target", "_blank", 3, "href", 4, "ngIf"], ["target", "_blank", 3, "href"], [1, "relative", "inline-block"], ["class", "absolute inset-0 m-auto", 3, "diameter", 4, "ngIf"], ["alt", "", 3, "src", "ngClass", "load", "error"], [1, "absolute", "inset-0", "m-auto", 3, "diameter"], [3, "click", 4, "ngFor", "ngForOf"], [3, "click"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], ["mat-header-row", ""], ["mat-row", "", 3, "ngClass", "click"], [1, "mat-row"], ["class", "mat-cell p-4", "colspan", "4", 4, "ngIf"], ["colspan", "4", 1, "mat-cell", "p-4"], [1, "flex", "justify-center"], [1, "page-number-display"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
3625
- i0.ɵɵtemplate(0, TableComponent_div_0_Template, 21, 21, "div", 0);
3610
+ } }, inputs: { data: "data", downloadTable: "downloadTable" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "card-body", 4, "ngIf"], [1, "card-body"], [1, "flex", "flex-col", "justify-between", "gap-6"], ["class", "rounded-xl border border-gray-200 bg-white p-4 shadow-lg", 4, "ngIf"], [1, "flex", "flex-col"], [3, "tabsData", "selectedTab", "tabSelected", 4, "ngIf"], [1, "mat-elevation-z8", "w-full", "overflow-x-auto", "rounded-xl", "table-container"], ["mat-table", "", "matSort", "", "matSortActive", "createdAt", "matSortDirection", "desc", 3, "dataSource"], ["sort", "matSort"], [3, "matColumnDef", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["mat-header-row", "", 4, "matHeaderRowDef"], ["mat-row", "", 3, "ngClass", "click", 4, "matRowDef", "matRowDefColumns"], ["class", "mat-row", 4, "matNoDataRow"], ["class", "flex justify-center", 4, "ngIf"], [1, "paginator-container"], ["showFirstLastButtons", "", "aria-label", "Select page of periodic elements", 3, "pageSizeOptions", "pageSize", "length", "ngClass", "page"], ["paginator", ""], [3, "state", "styles"], [1, "rounded-xl", "border", "border-gray-200", "bg-white", "p-4", "shadow-lg"], [1, "mb-4", "flex", "flex-col", "items-start", "justify-between", "gap-4", "border-b-2", "border-gray-200", "pb-4", "md:flex-row", "md:items-center"], [1, "flex", "flex-wrap", "items-center", "gap-4"], [1, "flex", "items-center", "gap-2"], [1, "fa", "fa-filter", "text-xl", "text-blue-500"], [1, "text-lg", "font-semibold", "text-gray-700"], [3, "ngClass", "routerLink", "click", 4, "ngIf"], ["class", "mb-4", 4, "ngIf"], ["class", "mb-4 space-y-3", 4, "ngIf"], [1, "-mb-2", "flex", "items-start", "justify-between", "gap-4", "border-t", "border-gray-200", "pt-4"], [4, "ngIf"], ["class", "flex flex-wrap gap-3 self-start sm:self-auto", 4, "ngIf"], [3, "ngClass", "routerLink", "click"], [3, "class", 4, "ngIf"], [1, "mb-4"], [1, "flex", "flex-wrap", "items-center", "gap-3", "p-2"], [1, "min-w-[200px]", "flex-1"], ["appearance", "outline", 1, "w-full"], [1, "fa", "fa-sort-alpha-down", "text-cyan-600"], ["placeholder", "Selecione...", 3, "formControl"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"], [1, "mb-4", "space-y-3"], ["class", "flex flex-wrap items-center gap-3 p-2", 3, "formGroup", 4, "ngFor", "ngForOf"], [1, "flex", "flex-wrap", "items-center", "gap-3", "p-2", 3, "formGroup"], ["class", "min-w-[200px] flex-1", 4, "ngIf"], ["class", "min-w-[340px] flex-auto", 4, "ngIf"], ["class", "ml-auto flex-shrink-0", 4, "ngIf"], ["placeholder", "Selecione o tipo...", "formControlName", "selectFilter", 3, "selectionChange"], [1, "text-sm", "text-blue-500"], [1, "fa", "fa-search", "text-gray-400"], ["formControlName", "typeFilter", "matInput", "", "placeholder", "Digite para filtrar...", 3, "keyup.enter"], ["input", ""], ["placeholder", "Selecione...", "formControlName", "selectItem", "multiple", ""], [1, "min-w-[340px]", "flex-auto"], [1, "flex", "flex-col", "items-stretch", "gap-3", "sm:flex-row", "sm:items-center"], ["appearance", "outline", 1, "flex-1"], [1, "fa", "fa-calendar", "text-gray-400"], ["type", "text", "matInput", "", "formControlName", "initialDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input"], ["type", "text", "matInput", "", "formControlName", "finalDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input"], [1, "ml-auto", "flex-shrink-0"], ["matTooltip", "Remover filtro", 1, "flex", "h-10", "w-10", "items-center", "justify-center", "rounded-full", "transition-colors", "duration-300", "hover:bg-red-100", 3, "click"], [1, "fa", "fa-trash", "text-red-500", "hover:text-red-600"], ["matTooltip", "Adicionar novo filtro", 1, "transform", "rounded-full", "border-2", "border-blue-300", "bg-blue-50", "px-6", "py-2", "text-sm", "font-medium", "text-blue-600", "transition-all", "duration-300", "hover:-translate-y-0.5", "hover:border-blue-400", "hover:bg-blue-100", "hover:shadow-md", 3, "click"], [1, "fa", "fa-plus", "mr-2"], [1, "flex", "flex-wrap", "gap-3", "self-start", "sm:self-auto"], ["type", "button", "matTooltip", "Aplicar filtros", 1, "flex", "items-center", "gap-2", "rounded-lg", "bg-green-600", "px-5", "py-2", "text-sm", "font-medium", "text-white", "transition-colors", "hover:bg-green-700", 3, "click"], [1, "fa", "fa-search"], ["matTooltip", "Limpar filtros", 1, "flex", "items-center", "gap-2", "rounded-lg", "bg-red-500", "px-5", "py-2", "text-sm", "font-medium", "text-white", "transition-colors", "hover:bg-red-600", 3, "click"], [1, "fas", "fa-redo-alt"], ["class", "flex items-center gap-2 rounded-lg bg-orange-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-orange-600", "matTooltipPosition", "above", "matTooltip", "Exportar Tabela", 3, "disabled", "click", 4, "ngIf"], ["matTooltipPosition", "above", "matTooltip", "Exportar Tabela", 1, "flex", "items-center", "gap-2", "rounded-lg", "bg-orange-500", "px-5", "py-2", "text-sm", "font-medium", "text-white", "transition-colors", "hover:bg-orange-600", 3, "disabled", "click"], [1, "fa", "fa-download"], [1, "fa", "fa-search", "text-blue-500"], ["matInput", "", "placeholder", "Digite para filtrar...", 3, "keyup.enter", "keyup"], ["filterInput", ""], ["matSuffix", "", 1, "text-gray-500"], ["class", "flex flex-wrap items-center gap-3", 3, "formGroup", 4, "ngFor", "ngForOf"], [1, "flex", "flex-wrap", "items-center", "gap-3", 3, "formGroup"], ["type", "text", "matInput", "", "formControlName", "initialDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input", "blur"], ["type", "text", "matInput", "", "formControlName", "finalDate", "placeholder", "DD/MM/AAAA", "maxlength", "10", 3, "keydown.enter", "input", "blur"], [3, "tabsData", "selectedTab", "tabSelected"], [3, "matColumnDef"], [4, "matHeaderCellDef"], ["mat-header-cell", "", 4, "ngIf"], ["mat-header-cell", "", "mat-sort-header", "", 4, "ngIf"], ["mat-cell", "", 3, "click", "mouseenter", "mouseleave", "mousemove", 4, "matCellDef"], ["mat-header-cell", ""], ["mat-header-cell", "", "mat-sort-header", ""], ["mat-cell", "", 3, "click", "mouseenter", "mouseleave", "mousemove"], ["class", "relative inline-block", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["withinLimit", ""], ["target", "_blank", 3, "href", 4, "ngIf"], ["target", "_blank", 3, "href"], [1, "relative", "inline-block"], ["class", "absolute inset-0 m-auto", 3, "diameter", 4, "ngIf"], ["alt", "", 3, "src", "ngClass", "load", "error"], [1, "absolute", "inset-0", "m-auto", 3, "diameter"], [3, "click", 4, "ngFor", "ngForOf"], [3, "click"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], ["mat-header-row", ""], ["mat-row", "", 3, "ngClass", "click"], [1, "mat-row"], ["class", "mat-cell p-4", "colspan", "4", 4, "ngIf"], ["colspan", "4", 1, "mat-cell", "p-4"], [1, "flex", "justify-center"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
3611
+ i0.ɵɵtemplate(0, TableComponent_div_0_Template, 19, 18, "div", 0);
3626
3612
  } if (rf & 2) {
3627
3613
  i0.ɵɵproperty("ngIf", ctx.data);
3628
3614
  } }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i8.DefaultValueAccessor, i8.NgControlStatus, i8.NgControlStatusGroup, i8.MaxLengthValidator, i8.FormControlDirective, i8.FormGroupDirective, i8.FormControlName, i1$2.RouterLink, i9.MatTable, i9.MatHeaderCellDef, i9.MatHeaderRowDef, i9.MatColumnDef, i9.MatCellDef, i9.MatRowDef, i9.MatHeaderCell, i9.MatCell, i9.MatHeaderRow, i9.MatRow, i9.MatNoDataRow, i10.MatPaginator, i11.MatSort, i11.MatSortHeader, i12.MatFormField, i12.MatLabel, i12.MatSuffix, i13.MatInput, i14.MatOption, i15.MatSelect, i16.MatTooltip, i17.MatProgressSpinner, i18.MatIcon, TableTabsComponent, TableTooltipComponent, i1$1.AsyncPipe], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{--table-color: #1976d2;--table-text-color: white;--table-header-bg: #1976d2;--table-header-text: white;--table-scrollbar-bg: #f5f5f5;--table-scrollbar-thumb: var(--table-color)}.table-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px;height:10px;background-color:var(--table-scrollbar-bg, #f5f5f5)}.table-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));border-radius:5px}.table-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));opacity:.8}.overflow-x-auto[_ngcontent-%COMP%]::-webkit-scrollbar, .overflow-y-auto[_ngcontent-%COMP%]::-webkit-scrollbar, .overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px;height:10px;background-color:var(--table-scrollbar-bg, #f5f5f5)}.overflow-x-auto[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .overflow-y-auto[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));border-radius:5px}.overflow-x-auto[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover, .overflow-y-auto[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover, .overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));opacity:.8}[_nghost-%COMP%] .mat-table .mat-header-cell, [_nghost-%COMP%] .mat-header-cell, [_nghost-%COMP%] th.mat-header-cell, [_nghost-%COMP%] .mat-mdc-table .mat-mdc-header-cell, [_nghost-%COMP%] .mat-mdc-header-cell, [_nghost-%COMP%] th.mat-mdc-header-cell{background-color:var(--table-header-bg, #1976d2)!important;color:var(--table-header-text, white)!important;font-weight:600} .fa-filter, i.fa-filter{color:var(--table-color, #1976d2)!important} .rounded-xl.border{border-color:var(--table-color, #1976d2)!important} .border-gray-200.rounded-xl{border-color:var(--table-color, #1976d2)!important} .mdc-notched-outline__notch{border-right:none!important}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-bottom:0} .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:0}.mat-mdc-text-field-wrapper.mdc-text-field--outlined.mdc-text-field--disabled[_ngcontent-%COMP%]{background:rgba(0,0,0,.15);background-size:1px 100%!important;background-repeat:repeat-x!important}.mdc-text-field--disabled[_ngcontent-%COMP%] .mdc-text-field__input[_ngcontent-%COMP%]{color:#525252}button[_ngcontent-%COMP%]:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)){transition:all .2s ease;cursor:pointer}button[_ngcontent-%COMP%]:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)):hover:not(:disabled){opacity:.9;transform:scale(1.02)}button[_ngcontent-%COMP%]:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)):disabled{opacity:.5;cursor:not-allowed;transform:none} .hide-length .mat-mdc-paginator-range-label{display:none} .hide-next-button .mat-mdc-tooltip-trigger.mat-mdc-paginator-navigation-next.mdc-icon-button.mat-mdc-icon-button.mat-unthemed.mat-mdc-button-base{visibility:hidden} .hide-next-button .mat-mdc-tooltip-trigger.mat-mdc-paginator-navigation-last.mdc-icon-button.mat-mdc-icon-button.mat-unthemed.mat-mdc-button-base.ng-star-inserted{visibility:hidden} .mat-mdc-text-field-wrapper.mdc-text-field.ng-tns-c162-1.mdc-text-field--filled{width:25dvw} .custom-filter .mat-mdc-text-field-wrapper{width:20dvw;max-width:300px}button[matTooltip=\"Adicionar novo filtro\"][_ngcontent-%COMP%], button[_ngcontent-%COMP%]:has(i.fa-plus){display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;border:2px solid #93c5fd;background-color:#dbeafe;padding:.5rem 1.5rem;font-size:.875rem;font-weight:500;color:#2563eb;transition:all .3s;cursor:pointer;transform:translateY(0)}button[matTooltip=\"Adicionar novo filtro\"][_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:has(i.fa-plus):hover{transform:translateY(-2px);border-color:#60a5fa;background-color:#bfdbfe;box-shadow:0 4px 6px #0000001a}button[matTooltip=\"Aplicar filtros\"][_ngcontent-%COMP%], button[_ngcontent-%COMP%]:has(i.fa-search){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#16a34a;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Aplicar filtros\"][_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:has(i.fa-search):hover{background-color:#15803d}button[matTooltip=\"Aplicar filtros\"][_ngcontent-%COMP%]:disabled, button[_ngcontent-%COMP%]:has(i.fa-search):disabled{opacity:.5;cursor:not-allowed}button[matTooltip=\"Limpar filtros\"][_ngcontent-%COMP%], button[_ngcontent-%COMP%]:has(i.fas.fa-redo-alt){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#ef4444;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Limpar filtros\"][_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:has(i.fas.fa-redo-alt):hover{background-color:#dc2626}button[matTooltip=\"Exportar Tabela\"][_ngcontent-%COMP%], button[_ngcontent-%COMP%]:has(i.fa-download){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#f97316;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Exportar Tabela\"][_ngcontent-%COMP%]:hover:not(:disabled), button[_ngcontent-%COMP%]:has(i.fa-download):hover:not(:disabled){background-color:#ea580c}button[matTooltip=\"Exportar Tabela\"][_ngcontent-%COMP%]:disabled, button[_ngcontent-%COMP%]:has(i.fa-download):disabled{opacity:.5;cursor:not-allowed}"], changeDetection: 0 });
3629
3615
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
3630
3616
  type: Component,
3631
- args: [{ selector: 'lib-table', standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"data\" class=\"card-body\">\n <div class=\"flex flex-col justify-between gap-6\">\n <!-- UNIFIED CONTROL PANEL: FILTERS, SORT & ACTIONS -->\n <div\n class=\"rounded-xl border border-gray-200 bg-white p-4 shadow-lg\"\n *ngIf=\"\n data.pagination === true &&\n (dropdownItems.length > 0 ||\n sortableDropdownItems.length > 0 ||\n data.actionButton)\n \"\n >\n <!-- PANEL HEADER: Title and Custom Action -->\n <div\n class=\"mb-4 flex flex-col items-start justify-between gap-4 border-b-2 border-gray-200 pb-4 md:flex-row md:items-center\"\n >\n <!-- Left Side: Title & Main Action Button -->\n <div class=\"flex flex-wrap items-center gap-4\">\n <div class=\"flex items-center gap-2\">\n <i class=\"fa fa-filter text-xl text-blue-500\"></i>\n <span class=\"text-lg font-semibold text-gray-700\"\n >Filtros e A\u00E7\u00F5es</span\n >\n </div>\n <button\n *ngIf=\"data.actionButton && data.actionButton.condition\"\n [ngClass]=\"getActionButtonClass()\"\n [routerLink]=\"data.actionButton.routerLink\"\n (click)=\"\n data.actionButton.method ? data.actionButton.method($event) : null\n \"\n >\n <i\n *ngIf=\"data.actionButton.icon\"\n [class]=\"data.actionButton.icon\"\n ></i>\n {{ data.actionButton.label }}\n </button>\n </div>\n </div>\n\n <!-- SORT FIELD (Integrated with filters) -->\n <div class=\"mb-4\" *ngIf=\"sortableDropdownItems.length > 0\">\n <div class=\"flex flex-wrap items-center gap-3 p-2\">\n <div class=\"min-w-[200px] flex-1\">\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-sort-alpha-down text-cyan-600\"></i>\n <span>Ordenar por</span>\n </mat-label>\n <mat-select placeholder=\"Selecione...\" [formControl]=\"selectSort\">\n <mat-option\n *ngFor=\"let item of sortableDropdownItems\"\n [value]=\"item\"\n >\n <div class=\"flex items-center gap-2\">\n <i class=\"fa fa-sort-alpha-down text-cyan-600\"></i>\n <span>{{ item.title }}</span>\n </div>\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n </div>\n </div>\n\n <!-- FILTERS CONTENT (WITH REFINEMENTS) -->\n <div class=\"mb-4 space-y-3\" *ngIf=\"filtersForm.controls.length > 0\">\n <div\n [formGroup]=\"$any(filterGroup)\"\n *ngFor=\"let filterGroup of filtersForm.controls; let i = index\"\n class=\"flex flex-wrap items-center gap-3 p-2\"\n >\n <!-- FILTER TYPE SELECTOR -->\n <div class=\"min-w-[200px] flex-1\" *ngIf=\"dropdownItems.length > 0\">\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>Tipo de filtro</mat-label>\n <mat-select\n placeholder=\"Selecione o tipo...\"\n formControlName=\"selectFilter\"\n (selectionChange)=\"onSelectFilterChange()\"\n >\n <mat-option\n *ngFor=\"let item of getAvailableFilterOptions()\"\n [value]=\"item\"\n >\n <div class=\"flex items-center gap-2\">\n <i\n [class]=\"item.icon || 'fa fa-filter'\"\n class=\"text-sm text-blue-500\"\n ></i>\n <span>{{ item.title }}</span>\n </div>\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- TEXT FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange === 'filter'\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-search text-gray-400\"></i>\n <span>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Filtrar\"\n }}</span>\n </mat-label>\n <input\n (keyup.enter)=\"search($event)\"\n formControlName=\"typeFilter\"\n matInput\n placeholder=\"Digite para filtrar...\"\n #input\n />\n </mat-form-field>\n </div>\n\n <!-- DROPDOWN FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value &&\n $any(filterGroup)\n .get('selectFilter')\n ?.value.hasOwnProperty('items')\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Selecione\"\n }}</mat-label>\n <mat-select\n placeholder=\"Selecione...\"\n formControlName=\"selectItem\"\n multiple\n >\n <mat-option\n *ngFor=\"\n let item of $any(filterGroup).get('selectFilter')?.value\n .items\n \"\n [value]=\"item\"\n >\n {{ item.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- DATE FILTER -->\n <div\n class=\"min-w-[340px] flex-auto\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange ===\n 'filterByDate'\n \"\n >\n <div\n class=\"flex flex-col items-stretch gap-3 sm:flex-row sm:items-center\"\n >\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Inicial</span>\n </mat-label>\n <input\n type=\"text\"\n matInput\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'initialDate', i)\"\n formControlName=\"initialDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Final</span>\n </mat-label>\n <input\n type=\"text\"\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'finalDate', i)\"\n matInput\n formControlName=\"finalDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n </div>\n </div>\n\n <!-- REMOVE FILTER BUTTON -->\n <div *ngIf=\"filtersForm.length > 1\" class=\"ml-auto flex-shrink-0\">\n <button\n (click)=\"removeFilter(i)\"\n class=\"flex h-10 w-10 items-center justify-center rounded-full transition-colors duration-300 hover:bg-red-100\"\n matTooltip=\"Remover filtro\"\n >\n <i class=\"fa fa-trash text-red-500 hover:text-red-600\"></i>\n </button>\n </div>\n </div>\n </div>\n\n <!-- PANEL FOOTER: Add Filter & Action Buttons -->\n <div\n class=\"-mb-2 flex items-start justify-between gap-4 border-t border-gray-200 pt-4\"\n >\n <!-- Add Filter Button -->\n <div *ngIf=\"dropdownItems.length > 0\">\n <button\n (click)=\"addFilter()\"\n class=\"transform rounded-full border-2 border-blue-300 bg-blue-50 px-6 py-2 text-sm font-medium text-blue-600 transition-all duration-300 hover:-translate-y-0.5 hover:border-blue-400 hover:bg-blue-100 hover:shadow-md\"\n matTooltip=\"Adicionar novo filtro\"\n >\n <i class=\"fa fa-plus mr-2\"></i>\n Adicionar Filtro\n </button>\n </div>\n\n <!-- Right Side: Search, Reset, Export -->\n <div\n class=\"flex flex-wrap gap-3 self-start sm:self-auto\"\n *ngIf=\"\n this.hasFilterableColumn === true || this.hasSortableColumn === true\n \"\n >\n <button\n (click)=\"search()\"\n type=\"button\"\n class=\"flex items-center gap-2 rounded-lg bg-green-600 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-green-700\"\n matTooltip=\"Aplicar filtros\"\n >\n <i class=\"fa fa-search\"></i>\n Pesquisar\n </button>\n\n <button\n (click)=\"resetFilter()\"\n class=\"flex items-center gap-2 rounded-lg bg-red-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-red-600\"\n matTooltip=\"Limpar filtros\"\n >\n <i class=\"fas fa-redo-alt\"></i>\n Resetar\n </button>\n\n <button\n *ngIf=\"data.download !== false && downloadTable\"\n class=\"flex items-center gap-2 rounded-lg bg-orange-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-orange-600\"\n matTooltipPosition=\"above\"\n matTooltip=\"Exportar Tabela\"\n [disabled]=\"\n this.dataSource && this.dataSource.filteredData.length <= 0\n \"\n (click)=\"\n $any(arrange) && downloadTable !== undefined\n ? downloadTable($any(arrange), data.conditions || [])\n : null\n \"\n >\n <i class=\"fa fa-download\"></i>\n Exportar\n </button>\n </div>\n </div>\n </div>\n\n <!-- UNIFIED CONTROL PANEL (for non-paginated tables): SEARCH, SORT & FILTERS -->\n <div\n class=\"rounded-xl border border-gray-200 bg-white p-4 shadow-lg\"\n *ngIf=\"\n data.pagination === false &&\n (hasFilterableColumn === true ||\n dropdownItems.length > 0 ||\n data.actionButton)\n \"\n >\n <!-- PANEL HEADER: Title and Custom Action -->\n <div\n class=\"mb-4 flex flex-col items-start justify-between gap-4 border-b-2 border-gray-200 pb-4 md:flex-row md:items-center\"\n >\n <!-- Left Side: Title & Main Action Button -->\n <div class=\"flex flex-wrap items-center gap-4\">\n <div class=\"flex items-center gap-2\">\n <i class=\"fa fa-filter text-xl text-blue-500\"></i>\n <span class=\"text-lg font-semibold text-gray-700\"\n >Filtros e A\u00E7\u00F5es</span\n >\n </div>\n <button\n *ngIf=\"data.actionButton && data.actionButton.condition\"\n [ngClass]=\"getActionButtonClass()\"\n [routerLink]=\"data.actionButton.routerLink\"\n (click)=\"\n data.actionButton.method ? data.actionButton.method($event) : null\n \"\n >\n <i\n *ngIf=\"data.actionButton.icon\"\n [class]=\"data.actionButton.icon\"\n ></i>\n {{ data.actionButton.label }}\n </button>\n </div>\n </div>\n\n <!-- SIMPLE SEARCH -->\n <div\n class=\"mb-4\"\n *ngIf=\"hasFilterableColumn === true && data.showSimpleSearch !== false\"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-search text-blue-500\"></i>\n Buscar\n </mat-label>\n <input\n matInput\n (keyup.enter)=\"search($event)\"\n (keyup)=\"applyFilter(filterInput.value)\"\n placeholder=\"Digite para filtrar...\"\n #filterInput\n />\n <mat-icon matSuffix class=\"text-gray-500\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <!-- FILTERS PANEL -->\n <div *ngIf=\"dropdownItems.length > 0\">\n <!-- FILTERS CONTENT -->\n <div class=\"mb-4 space-y-3\" *ngIf=\"filtersForm.controls.length > 0\">\n <div\n [formGroup]=\"$any(filterGroup)\"\n *ngFor=\"let filterGroup of filtersForm.controls; let i = index\"\n class=\"flex flex-wrap items-center gap-3\"\n >\n <!-- FILTER TYPE SELECTOR -->\n <div class=\"min-w-[200px] flex-1\" *ngIf=\"dropdownItems.length > 0\">\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>Tipo de filtro</mat-label>\n <mat-select\n placeholder=\"Selecione o tipo...\"\n formControlName=\"selectFilter\"\n (selectionChange)=\"onSelectFilterChange()\"\n >\n <mat-option\n *ngFor=\"let item of getAvailableFilterOptions()\"\n [value]=\"item\"\n >\n <div class=\"flex items-center gap-2\">\n <i\n [class]=\"item.icon || 'fa fa-filter'\"\n class=\"text-sm text-blue-500\"\n ></i>\n <span>{{ item.title }}</span>\n </div>\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- TEXT FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange ===\n 'filter'\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-search text-gray-400\"></i>\n <span>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Filtrar\"\n }}</span>\n </mat-label>\n <input\n (keyup.enter)=\"search($event)\"\n formControlName=\"typeFilter\"\n matInput\n placeholder=\"Digite para filtrar...\"\n #input\n />\n </mat-form-field>\n </div>\n\n <!-- DROPDOWN FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value &&\n $any(filterGroup)\n .get('selectFilter')\n ?.value.hasOwnProperty('items')\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Selecione\"\n }}</mat-label>\n <mat-select\n placeholder=\"Selecione...\"\n formControlName=\"selectItem\"\n multiple\n >\n <mat-option\n *ngFor=\"\n let item of $any(filterGroup).get('selectFilter')?.value\n .items\n \"\n [value]=\"item\"\n >\n {{ item.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- DATE FILTER -->\n <div\n class=\"min-w-[340px] flex-auto\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange ===\n 'filterByDate'\n \"\n >\n <div\n class=\"flex flex-col items-stretch gap-3 sm:flex-row sm:items-center\"\n >\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Inicial</span>\n </mat-label>\n <input\n type=\"text\"\n matInput\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'initialDate', i)\"\n (blur)=\"onDateFilterChange()\"\n formControlName=\"initialDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Final</span>\n </mat-label>\n <input\n type=\"text\"\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'finalDate', i)\"\n (blur)=\"onDateFilterChange()\"\n matInput\n formControlName=\"finalDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n </div>\n </div>\n\n <!-- REMOVE FILTER BUTTON -->\n <div *ngIf=\"filtersForm.length > 1\" class=\"ml-auto flex-shrink-0\">\n <button\n (click)=\"removeFilter(i)\"\n class=\"flex h-10 w-10 items-center justify-center rounded-full transition-colors duration-300 hover:bg-red-100\"\n matTooltip=\"Remover filtro\"\n >\n <i class=\"fa fa-trash text-red-500 hover:text-red-600\"></i>\n </button>\n </div>\n </div>\n </div>\n\n <!-- PANEL FOOTER: Add Filter & Actions -->\n <div\n class=\"-mb-2 flex items-start justify-between gap-4 border-t border-gray-200 pt-4\"\n >\n <!-- Add Filter Button -->\n <div *ngIf=\"dropdownItems.length > 0\">\n <button\n (click)=\"addFilter()\"\n class=\"transform rounded-full border-2 border-blue-300 bg-blue-50 px-6 py-2 text-sm font-medium text-blue-600 transition-all duration-300 hover:-translate-y-0.5 hover:border-blue-400 hover:bg-blue-100 hover:shadow-md\"\n matTooltip=\"Adicionar novo filtro\"\n >\n <i class=\"fa fa-plus mr-2\"></i>\n Adicionar Filtro\n </button>\n </div>\n\n <!-- Action Buttons -->\n <div\n class=\"flex flex-wrap gap-3 self-start sm:self-auto\"\n *ngIf=\"\n this.hasFilterableColumn === true ||\n this.hasSortableColumn === true\n \"\n >\n <button\n (click)=\"search()\"\n type=\"button\"\n class=\"flex items-center gap-2 rounded-lg bg-green-600 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-green-700\"\n matTooltip=\"Aplicar filtros\"\n >\n <i class=\"fa fa-search\"></i>\n Pesquisar\n </button>\n\n <button\n (click)=\"resetFilter()\"\n class=\"flex items-center gap-2 rounded-lg bg-red-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-red-600\"\n matTooltip=\"Limpar filtros\"\n >\n <i class=\"fas fa-redo-alt\"></i>\n Resetar\n </button>\n\n <button\n *ngIf=\"data.download !== false && downloadTable\"\n class=\"flex items-center gap-2 rounded-lg bg-orange-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-orange-600\"\n matTooltipPosition=\"above\"\n matTooltip=\"Exportar Tabela\"\n [disabled]=\"\n this.dataSource && this.dataSource.filteredData.length <= 0\n \"\n (click)=\"handleDownload()\"\n >\n <i class=\"fa fa-download\"></i>\n Exportar\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"flex flex-col\">\n <!-- TABS COMPONENT -->\n <lib-table-tabs\n *ngIf=\"data.tabs && data.tabs.tabsData && data.tabs.tabsData.length > 0\"\n [tabsData]=\"data.tabs.tabsData\"\n [selectedTab]=\"selectedTab\"\n (tabSelected)=\"onTabSelected($event)\"\n ></lib-table-tabs>\n <div\n class=\"mat-elevation-z8 w-full overflow-x-auto rounded-xl table-container\"\n >\n <table\n mat-table\n [dataSource]=\"dataSource\"\n matSort\n #sort=\"matSort\"\n matSortActive=\"createdAt\"\n matSortDirection=\"desc\"\n >\n <ng-container\n *ngFor=\"let col of data.displayedColumns; trackBy: trackByProperty\"\n matColumnDef=\"{{ col.property }}\"\n >\n <ng-container *matHeaderCellDef>\n <!-- IF THE COLUMN IS NOT SORTABLE, THEN DON'T SHOW THE SORT BUTTONS -->\n <th\n *ngIf=\"!col.isSortable || data.pagination === true\"\n mat-header-cell\n >\n {{ col.title }}\n </th>\n <!-- IF THE COLUMN IS SORTABLE, THEN SHOW THE SORT BUTTONS -->\n <th\n *ngIf=\"col.isSortable && data.pagination === false\"\n mat-header-cell\n mat-sort-header\n >\n {{ col.title }}\n </th>\n <td\n mat-cell\n *matCellDef=\"let row\"\n (click)=\"col.method ? col.method(row) : null\"\n (mouseenter)=\"onCellMouseEnter($event, row, col)\"\n (mouseleave)=\"onCellMouseLeave()\"\n (mousemove)=\"onCellMouseMove($event)\"\n >\n <!-- CHECK IF THE COLUMN MUST BE DISPLAYED -->\n <span *ngIf=\"!col.image && !col.iconClass && !col.method\">\n <ng-container>\n <span\n *ngIf=\"\n col.charLimit &&\n row[col.property] &&\n row[col.property].length > col.charLimit;\n else withinLimit\n \"\n >\n <a\n *ngIf=\"col.hasLink === true\"\n [href]=\"row[col.property]\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row) }}\n </a>\n <a\n *ngIf=\"col.hasLink && isString(col.hasLink)\"\n [href]=\"col.hasLink\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row) }}\n </a>\n <span\n *ngIf=\"col.hasLink !== true && !isString(col.hasLink)\"\n >\n {{ getDisplayValue(col, row) }}\n </span>\n </span>\n </ng-container>\n <ng-template #withinLimit>\n <a\n *ngIf=\"col.hasLink === true\"\n [href]=\"row[col.property]\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row, true) }}\n </a>\n <a\n *ngIf=\"col.hasLink && isString(col.hasLink)\"\n [href]=\"col.hasLink\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row, true) }}\n </a>\n <span\n *ngIf=\"col.hasLink !== true && !isString(col.hasLink)\"\n >\n {{ getDisplayValue(col, row, true) }}\n </span>\n </ng-template>\n </span>\n <!------------------- IMAGE ------------------>\n <!-- Imagem com loading -->\n <div\n *ngIf=\"\n col.image && col.image.path && !col.iconClass && !col.method\n \"\n class=\"relative inline-block\"\n >\n <mat-spinner\n *ngIf=\"isImageLoading(row, col)\"\n [diameter]=\"32\"\n class=\"absolute inset-0 m-auto\"\n ></mat-spinner>\n <img\n [src]=\"col.image.path + '/' + row[col.property]\"\n [ngClass]=\"col.image.class\"\n [class.opacity-0]=\"isImageLoading(row, col)\"\n alt=\"\"\n (load)=\"onImageLoad(row, col)\"\n (error)=\"onImageError($event, row, col, col.image.default)\"\n />\n </div>\n\n <!-- Imagem com URL completa e loading -->\n <div\n *ngIf=\"\n col.image && col.image.url && !col.iconClass && !col.method\n \"\n class=\"relative inline-block\"\n >\n <mat-spinner\n *ngIf=\"isImageLoading(row, col)\"\n [diameter]=\"32\"\n class=\"absolute inset-0 m-auto\"\n ></mat-spinner>\n <img\n [src]=\"row[col.property]\"\n [ngClass]=\"col.image.class\"\n [class.opacity-0]=\"isImageLoading(row, col)\"\n alt=\"\"\n (load)=\"onImageLoad(row, col)\"\n (error)=\"onImageError($event, row, col, col.image.default)\"\n />\n </div>\n <ng-container *ngIf=\"col.iconClass\">\n <button\n *ngFor=\"let iconClass of col.iconClass\"\n (click)=\"\n iconClass.buttonMethod\n ? iconClass.buttonMethod(row, $event)\n : $event.stopPropagation()\n \"\n >\n <span\n [ngClass]=\"iconClass.class\"\n *ngIf=\"\n iconClass.condition === undefined ||\n (iconClass.condition !== undefined &&\n $any(iconClass.condition)(row))\n \"\n >{{ iconClass.text }}</span\n >\n </button>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnProperties\"></tr>\n <tr\n [ngClass]=\"getTableRowNgClass()\"\n mat-row\n *matRowDef=\"let row; columns: columnProperties\"\n (click)=\"goToDetails(row)\"\n ></tr>\n\n <!-- ROW SHOWN WHEN THERE IS NO MATCHING DATA. -->\n <tr class=\"mat-row\" *matNoDataRow>\n <td *ngIf=\"!(isLoading$ | async)\" class=\"mat-cell p-4\" colspan=\"4\">\n Nenhum resultado encontrado para a busca\n </td>\n </tr>\n </table>\n\n <div class=\"flex justify-center\" *ngIf=\"isLoading$ | async\">\n <mat-spinner></mat-spinner>\n </div>\n\n <div class=\"paginator-container\">\n <mat-paginator\n #paginator\n [pageSizeOptions]=\"[25, 50, 100]\"\n [pageSize]=\"pageSize\"\n [length]=\"totalItems\"\n showFirstLastButtons\n aria-label=\"Select page of periodic elements\"\n (page)=\"onPageChange($event)\"\n [ngClass]=\"getPaginatorNgClass()\"\n >\n </mat-paginator>\n <div\n *ngIf=\"\n !(isLoading$ | async) &&\n dataSource?.data &&\n dataSource.data.length > 0 &&\n data?.filterFn\n \"\n class=\"page-number-display\"\n >\n {{ currentPageNumber }}\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- TOOLTIP PERSONALIZADO -->\n <lib-table-tooltip\n [state]=\"tooltipState\"\n [styles]=\"getTooltipStyles()\"\n ></lib-table-tooltip>\n</div>\n", styles: ["@charset \"UTF-8\";:host{--table-color: #1976d2;--table-text-color: white;--table-header-bg: #1976d2;--table-header-text: white;--table-scrollbar-bg: #f5f5f5;--table-scrollbar-thumb: var(--table-color)}.table-container::-webkit-scrollbar{width:10px;height:10px;background-color:var(--table-scrollbar-bg, #f5f5f5)}.table-container::-webkit-scrollbar-thumb{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));border-radius:5px}.table-container::-webkit-scrollbar-thumb:hover{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));opacity:.8}.overflow-x-auto::-webkit-scrollbar,.overflow-y-auto::-webkit-scrollbar,.overflow-auto::-webkit-scrollbar{width:10px;height:10px;background-color:var(--table-scrollbar-bg, #f5f5f5)}.overflow-x-auto::-webkit-scrollbar-thumb,.overflow-y-auto::-webkit-scrollbar-thumb,.overflow-auto::-webkit-scrollbar-thumb{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));border-radius:5px}.overflow-x-auto::-webkit-scrollbar-thumb:hover,.overflow-y-auto::-webkit-scrollbar-thumb:hover,.overflow-auto::-webkit-scrollbar-thumb:hover{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));opacity:.8}:host ::ng-deep .mat-table .mat-header-cell,:host ::ng-deep .mat-header-cell,:host ::ng-deep th.mat-header-cell,:host ::ng-deep .mat-mdc-table .mat-mdc-header-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep th.mat-mdc-header-cell{background-color:var(--table-header-bg, #1976d2)!important;color:var(--table-header-text, white)!important;font-weight:600}::ng-deep .fa-filter,::ng-deep i.fa-filter{color:var(--table-color, #1976d2)!important}::ng-deep .rounded-xl.border{border-color:var(--table-color, #1976d2)!important}::ng-deep .border-gray-200.rounded-xl{border-color:var(--table-color, #1976d2)!important}::ng-deep .mdc-notched-outline__notch{border-right:none!important}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:0}::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:0}.mat-mdc-text-field-wrapper.mdc-text-field--outlined.mdc-text-field--disabled{background:rgba(0,0,0,.15);background-size:1px 100%!important;background-repeat:repeat-x!important}.mdc-text-field--disabled .mdc-text-field__input{color:#525252}button:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)){transition:all .2s ease;cursor:pointer}button:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)):hover:not(:disabled){opacity:.9;transform:scale(1.02)}button:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)):disabled{opacity:.5;cursor:not-allowed;transform:none}::ng-deep .hide-length .mat-mdc-paginator-range-label{display:none}::ng-deep .hide-next-button .mat-mdc-tooltip-trigger.mat-mdc-paginator-navigation-next.mdc-icon-button.mat-mdc-icon-button.mat-unthemed.mat-mdc-button-base{visibility:hidden}::ng-deep .hide-next-button .mat-mdc-tooltip-trigger.mat-mdc-paginator-navigation-last.mdc-icon-button.mat-mdc-icon-button.mat-unthemed.mat-mdc-button-base.ng-star-inserted{visibility:hidden}::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field.ng-tns-c162-1.mdc-text-field--filled{width:25dvw}::ng-deep .custom-filter .mat-mdc-text-field-wrapper{width:20dvw;max-width:300px}button[matTooltip=\"Adicionar novo filtro\"],button:has(i.fa-plus){display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;border:2px solid #93c5fd;background-color:#dbeafe;padding:.5rem 1.5rem;font-size:.875rem;font-weight:500;color:#2563eb;transition:all .3s;cursor:pointer;transform:translateY(0)}button[matTooltip=\"Adicionar novo filtro\"]:hover,button:has(i.fa-plus):hover{transform:translateY(-2px);border-color:#60a5fa;background-color:#bfdbfe;box-shadow:0 4px 6px #0000001a}button[matTooltip=\"Aplicar filtros\"],button:has(i.fa-search){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#16a34a;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Aplicar filtros\"]:hover,button:has(i.fa-search):hover{background-color:#15803d}button[matTooltip=\"Aplicar filtros\"]:disabled,button:has(i.fa-search):disabled{opacity:.5;cursor:not-allowed}button[matTooltip=\"Limpar filtros\"],button:has(i.fas.fa-redo-alt){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#ef4444;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Limpar filtros\"]:hover,button:has(i.fas.fa-redo-alt):hover{background-color:#dc2626}button[matTooltip=\"Exportar Tabela\"],button:has(i.fa-download){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#f97316;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Exportar Tabela\"]:hover:not(:disabled),button:has(i.fa-download):hover:not(:disabled){background-color:#ea580c}button[matTooltip=\"Exportar Tabela\"]:disabled,button:has(i.fa-download):disabled{opacity:.5;cursor:not-allowed}\n"] }]
3617
+ args: [{ selector: 'lib-table', standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"data\" class=\"card-body\">\n <div class=\"flex flex-col justify-between gap-6\">\n <!-- UNIFIED CONTROL PANEL: FILTERS, SORT & ACTIONS -->\n <div\n class=\"rounded-xl border border-gray-200 bg-white p-4 shadow-lg\"\n *ngIf=\"\n data.pagination === true &&\n (dropdownItems.length > 0 ||\n sortableDropdownItems.length > 0 ||\n data.actionButton)\n \"\n >\n <!-- PANEL HEADER: Title and Custom Action -->\n <div\n class=\"mb-4 flex flex-col items-start justify-between gap-4 border-b-2 border-gray-200 pb-4 md:flex-row md:items-center\"\n >\n <!-- Left Side: Title & Main Action Button -->\n <div class=\"flex flex-wrap items-center gap-4\">\n <div class=\"flex items-center gap-2\">\n <i class=\"fa fa-filter text-xl text-blue-500\"></i>\n <span class=\"text-lg font-semibold text-gray-700\"\n >Filtros e A\u00E7\u00F5es</span\n >\n </div>\n <button\n *ngIf=\"data.actionButton && data.actionButton.condition\"\n [ngClass]=\"getActionButtonClass()\"\n [routerLink]=\"data.actionButton.routerLink\"\n (click)=\"\n data.actionButton.method ? data.actionButton.method($event) : null\n \"\n >\n <i\n *ngIf=\"data.actionButton.icon\"\n [class]=\"data.actionButton.icon\"\n ></i>\n {{ data.actionButton.label }}\n </button>\n </div>\n </div>\n\n <!-- SORT FIELD (Integrated with filters) -->\n <div class=\"mb-4\" *ngIf=\"sortableDropdownItems.length > 0\">\n <div class=\"flex flex-wrap items-center gap-3 p-2\">\n <div class=\"min-w-[200px] flex-1\">\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-sort-alpha-down text-cyan-600\"></i>\n <span>Ordenar por</span>\n </mat-label>\n <mat-select placeholder=\"Selecione...\" [formControl]=\"selectSort\">\n <mat-option\n *ngFor=\"let item of sortableDropdownItems\"\n [value]=\"item\"\n >\n <div class=\"flex items-center gap-2\">\n <i class=\"fa fa-sort-alpha-down text-cyan-600\"></i>\n <span>{{ item.title }}</span>\n </div>\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n </div>\n </div>\n\n <!-- FILTERS CONTENT (WITH REFINEMENTS) -->\n <div class=\"mb-4 space-y-3\" *ngIf=\"filtersForm.controls.length > 0\">\n <div\n [formGroup]=\"$any(filterGroup)\"\n *ngFor=\"let filterGroup of filtersForm.controls; let i = index\"\n class=\"flex flex-wrap items-center gap-3 p-2\"\n >\n <!-- FILTER TYPE SELECTOR -->\n <div class=\"min-w-[200px] flex-1\" *ngIf=\"dropdownItems.length > 0\">\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>Tipo de filtro</mat-label>\n <mat-select\n placeholder=\"Selecione o tipo...\"\n formControlName=\"selectFilter\"\n (selectionChange)=\"onSelectFilterChange()\"\n >\n <mat-option\n *ngFor=\"let item of getAvailableFilterOptions()\"\n [value]=\"item\"\n >\n <div class=\"flex items-center gap-2\">\n <i\n [class]=\"item.icon || 'fa fa-filter'\"\n class=\"text-sm text-blue-500\"\n ></i>\n <span>{{ item.title }}</span>\n </div>\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- TEXT FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange === 'filter'\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-search text-gray-400\"></i>\n <span>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Filtrar\"\n }}</span>\n </mat-label>\n <input\n (keyup.enter)=\"search($event)\"\n formControlName=\"typeFilter\"\n matInput\n placeholder=\"Digite para filtrar...\"\n #input\n />\n </mat-form-field>\n </div>\n\n <!-- DROPDOWN FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value &&\n $any(filterGroup)\n .get('selectFilter')\n ?.value.hasOwnProperty('items')\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Selecione\"\n }}</mat-label>\n <mat-select\n placeholder=\"Selecione...\"\n formControlName=\"selectItem\"\n multiple\n >\n <mat-option\n *ngFor=\"\n let item of $any(filterGroup).get('selectFilter')?.value\n .items\n \"\n [value]=\"item\"\n >\n {{ item.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- DATE FILTER -->\n <div\n class=\"min-w-[340px] flex-auto\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange ===\n 'filterByDate'\n \"\n >\n <div\n class=\"flex flex-col items-stretch gap-3 sm:flex-row sm:items-center\"\n >\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Inicial</span>\n </mat-label>\n <input\n type=\"text\"\n matInput\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'initialDate', i)\"\n formControlName=\"initialDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Final</span>\n </mat-label>\n <input\n type=\"text\"\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'finalDate', i)\"\n matInput\n formControlName=\"finalDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n </div>\n </div>\n\n <!-- REMOVE FILTER BUTTON -->\n <div *ngIf=\"filtersForm.length > 1\" class=\"ml-auto flex-shrink-0\">\n <button\n (click)=\"removeFilter(i)\"\n class=\"flex h-10 w-10 items-center justify-center rounded-full transition-colors duration-300 hover:bg-red-100\"\n matTooltip=\"Remover filtro\"\n >\n <i class=\"fa fa-trash text-red-500 hover:text-red-600\"></i>\n </button>\n </div>\n </div>\n </div>\n\n <!-- PANEL FOOTER: Add Filter & Action Buttons -->\n <div\n class=\"-mb-2 flex items-start justify-between gap-4 border-t border-gray-200 pt-4\"\n >\n <!-- Add Filter Button -->\n <div *ngIf=\"dropdownItems.length > 0\">\n <button\n (click)=\"addFilter()\"\n class=\"transform rounded-full border-2 border-blue-300 bg-blue-50 px-6 py-2 text-sm font-medium text-blue-600 transition-all duration-300 hover:-translate-y-0.5 hover:border-blue-400 hover:bg-blue-100 hover:shadow-md\"\n matTooltip=\"Adicionar novo filtro\"\n >\n <i class=\"fa fa-plus mr-2\"></i>\n Adicionar Filtro\n </button>\n </div>\n\n <!-- Right Side: Search, Reset, Export -->\n <div\n class=\"flex flex-wrap gap-3 self-start sm:self-auto\"\n *ngIf=\"\n this.hasFilterableColumn === true || this.hasSortableColumn === true\n \"\n >\n <button\n (click)=\"search()\"\n type=\"button\"\n class=\"flex items-center gap-2 rounded-lg bg-green-600 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-green-700\"\n matTooltip=\"Aplicar filtros\"\n >\n <i class=\"fa fa-search\"></i>\n Pesquisar\n </button>\n\n <button\n (click)=\"resetFilter()\"\n class=\"flex items-center gap-2 rounded-lg bg-red-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-red-600\"\n matTooltip=\"Limpar filtros\"\n >\n <i class=\"fas fa-redo-alt\"></i>\n Resetar\n </button>\n\n <button\n *ngIf=\"data.download !== false && downloadTable\"\n class=\"flex items-center gap-2 rounded-lg bg-orange-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-orange-600\"\n matTooltipPosition=\"above\"\n matTooltip=\"Exportar Tabela\"\n [disabled]=\"\n this.dataSource && this.dataSource.filteredData.length <= 0\n \"\n (click)=\"\n $any(arrange) && downloadTable !== undefined\n ? downloadTable($any(arrange), data.conditions || [])\n : null\n \"\n >\n <i class=\"fa fa-download\"></i>\n Exportar\n </button>\n </div>\n </div>\n </div>\n\n <!-- UNIFIED CONTROL PANEL (for non-paginated tables): SEARCH, SORT & FILTERS -->\n <div\n class=\"rounded-xl border border-gray-200 bg-white p-4 shadow-lg\"\n *ngIf=\"\n data.pagination === false &&\n (hasFilterableColumn === true ||\n dropdownItems.length > 0 ||\n data.actionButton)\n \"\n >\n <!-- PANEL HEADER: Title and Custom Action -->\n <div\n class=\"mb-4 flex flex-col items-start justify-between gap-4 border-b-2 border-gray-200 pb-4 md:flex-row md:items-center\"\n >\n <!-- Left Side: Title & Main Action Button -->\n <div class=\"flex flex-wrap items-center gap-4\">\n <div class=\"flex items-center gap-2\">\n <i class=\"fa fa-filter text-xl text-blue-500\"></i>\n <span class=\"text-lg font-semibold text-gray-700\"\n >Filtros e A\u00E7\u00F5es</span\n >\n </div>\n <button\n *ngIf=\"data.actionButton && data.actionButton.condition\"\n [ngClass]=\"getActionButtonClass()\"\n [routerLink]=\"data.actionButton.routerLink\"\n (click)=\"\n data.actionButton.method ? data.actionButton.method($event) : null\n \"\n >\n <i\n *ngIf=\"data.actionButton.icon\"\n [class]=\"data.actionButton.icon\"\n ></i>\n {{ data.actionButton.label }}\n </button>\n </div>\n </div>\n\n <!-- SIMPLE SEARCH -->\n <div\n class=\"mb-4\"\n *ngIf=\"hasFilterableColumn === true && data.showSimpleSearch !== false\"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-search text-blue-500\"></i>\n Buscar\n </mat-label>\n <input\n matInput\n (keyup.enter)=\"search($event)\"\n (keyup)=\"applyFilter(filterInput.value)\"\n placeholder=\"Digite para filtrar...\"\n #filterInput\n />\n <mat-icon matSuffix class=\"text-gray-500\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <!-- FILTERS PANEL -->\n <div *ngIf=\"dropdownItems.length > 0\">\n <!-- FILTERS CONTENT -->\n <div class=\"mb-4 space-y-3\" *ngIf=\"filtersForm.controls.length > 0\">\n <div\n [formGroup]=\"$any(filterGroup)\"\n *ngFor=\"let filterGroup of filtersForm.controls; let i = index\"\n class=\"flex flex-wrap items-center gap-3\"\n >\n <!-- FILTER TYPE SELECTOR -->\n <div class=\"min-w-[200px] flex-1\" *ngIf=\"dropdownItems.length > 0\">\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>Tipo de filtro</mat-label>\n <mat-select\n placeholder=\"Selecione o tipo...\"\n formControlName=\"selectFilter\"\n (selectionChange)=\"onSelectFilterChange()\"\n >\n <mat-option\n *ngFor=\"let item of getAvailableFilterOptions()\"\n [value]=\"item\"\n >\n <div class=\"flex items-center gap-2\">\n <i\n [class]=\"item.icon || 'fa fa-filter'\"\n class=\"text-sm text-blue-500\"\n ></i>\n <span>{{ item.title }}</span>\n </div>\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- TEXT FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange ===\n 'filter'\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-search text-gray-400\"></i>\n <span>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Filtrar\"\n }}</span>\n </mat-label>\n <input\n (keyup.enter)=\"search($event)\"\n formControlName=\"typeFilter\"\n matInput\n placeholder=\"Digite para filtrar...\"\n #input\n />\n </mat-form-field>\n </div>\n\n <!-- DROPDOWN FILTER -->\n <div\n class=\"min-w-[200px] flex-1\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value &&\n $any(filterGroup)\n .get('selectFilter')\n ?.value.hasOwnProperty('items')\n \"\n >\n <mat-form-field appearance=\"outline\" class=\"w-full\">\n <mat-label>{{\n $any(filterGroup).get(\"selectFilter\")?.value?.title ||\n \"Selecione\"\n }}</mat-label>\n <mat-select\n placeholder=\"Selecione...\"\n formControlName=\"selectItem\"\n multiple\n >\n <mat-option\n *ngFor=\"\n let item of $any(filterGroup).get('selectFilter')?.value\n .items\n \"\n [value]=\"item\"\n >\n {{ item.label }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <!-- DATE FILTER -->\n <div\n class=\"min-w-[340px] flex-auto\"\n *ngIf=\"\n $any(filterGroup).get('selectFilter')?.value?.arrange ===\n 'filterByDate'\n \"\n >\n <div\n class=\"flex flex-col items-stretch gap-3 sm:flex-row sm:items-center\"\n >\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Inicial</span>\n </mat-label>\n <input\n type=\"text\"\n matInput\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'initialDate', i)\"\n (blur)=\"onDateFilterChange()\"\n formControlName=\"initialDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n\n <mat-form-field appearance=\"outline\" class=\"flex-1\">\n <mat-label class=\"flex items-center gap-2\">\n <i class=\"fa fa-calendar text-gray-400\"></i>\n <span>Data Final</span>\n </mat-label>\n <input\n type=\"text\"\n (keydown.enter)=\"search($event)\"\n (input)=\"onDateInput($event, 'finalDate', i)\"\n (blur)=\"onDateFilterChange()\"\n matInput\n formControlName=\"finalDate\"\n placeholder=\"DD/MM/AAAA\"\n maxlength=\"10\"\n />\n </mat-form-field>\n </div>\n </div>\n\n <!-- REMOVE FILTER BUTTON -->\n <div *ngIf=\"filtersForm.length > 1\" class=\"ml-auto flex-shrink-0\">\n <button\n (click)=\"removeFilter(i)\"\n class=\"flex h-10 w-10 items-center justify-center rounded-full transition-colors duration-300 hover:bg-red-100\"\n matTooltip=\"Remover filtro\"\n >\n <i class=\"fa fa-trash text-red-500 hover:text-red-600\"></i>\n </button>\n </div>\n </div>\n </div>\n\n <!-- PANEL FOOTER: Add Filter & Actions -->\n <div\n class=\"-mb-2 flex items-start justify-between gap-4 border-t border-gray-200 pt-4\"\n >\n <!-- Add Filter Button -->\n <div *ngIf=\"dropdownItems.length > 0\">\n <button\n (click)=\"addFilter()\"\n class=\"transform rounded-full border-2 border-blue-300 bg-blue-50 px-6 py-2 text-sm font-medium text-blue-600 transition-all duration-300 hover:-translate-y-0.5 hover:border-blue-400 hover:bg-blue-100 hover:shadow-md\"\n matTooltip=\"Adicionar novo filtro\"\n >\n <i class=\"fa fa-plus mr-2\"></i>\n Adicionar Filtro\n </button>\n </div>\n\n <!-- Action Buttons -->\n <div\n class=\"flex flex-wrap gap-3 self-start sm:self-auto\"\n *ngIf=\"\n this.hasFilterableColumn === true ||\n this.hasSortableColumn === true\n \"\n >\n <button\n (click)=\"search()\"\n type=\"button\"\n class=\"flex items-center gap-2 rounded-lg bg-green-600 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-green-700\"\n matTooltip=\"Aplicar filtros\"\n >\n <i class=\"fa fa-search\"></i>\n Pesquisar\n </button>\n\n <button\n (click)=\"resetFilter()\"\n class=\"flex items-center gap-2 rounded-lg bg-red-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-red-600\"\n matTooltip=\"Limpar filtros\"\n >\n <i class=\"fas fa-redo-alt\"></i>\n Resetar\n </button>\n\n <button\n *ngIf=\"data.download !== false && downloadTable\"\n class=\"flex items-center gap-2 rounded-lg bg-orange-500 px-5 py-2 text-sm font-medium text-white transition-colors hover:bg-orange-600\"\n matTooltipPosition=\"above\"\n matTooltip=\"Exportar Tabela\"\n [disabled]=\"\n this.dataSource && this.dataSource.filteredData.length <= 0\n \"\n (click)=\"handleDownload()\"\n >\n <i class=\"fa fa-download\"></i>\n Exportar\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"flex flex-col\">\n <!-- TABS COMPONENT -->\n <lib-table-tabs\n *ngIf=\"data.tabs && data.tabs.tabsData && data.tabs.tabsData.length > 0\"\n [tabsData]=\"data.tabs.tabsData\"\n [selectedTab]=\"selectedTab\"\n (tabSelected)=\"onTabSelected($event)\"\n ></lib-table-tabs>\n <div\n class=\"mat-elevation-z8 w-full overflow-x-auto rounded-xl table-container\"\n >\n <table\n mat-table\n [dataSource]=\"dataSource\"\n matSort\n #sort=\"matSort\"\n matSortActive=\"createdAt\"\n matSortDirection=\"desc\"\n >\n <ng-container\n *ngFor=\"let col of data.displayedColumns; trackBy: trackByProperty\"\n matColumnDef=\"{{ col.property }}\"\n >\n <ng-container *matHeaderCellDef>\n <!-- IF THE COLUMN IS NOT SORTABLE, THEN DON'T SHOW THE SORT BUTTONS -->\n <th\n *ngIf=\"!col.isSortable || data.pagination === true\"\n mat-header-cell\n >\n {{ col.title }}\n </th>\n <!-- IF THE COLUMN IS SORTABLE, THEN SHOW THE SORT BUTTONS -->\n <th\n *ngIf=\"col.isSortable && data.pagination === false\"\n mat-header-cell\n mat-sort-header\n >\n {{ col.title }}\n </th>\n <td\n mat-cell\n *matCellDef=\"let row\"\n (click)=\"col.method ? col.method(row) : null\"\n (mouseenter)=\"onCellMouseEnter($event, row, col)\"\n (mouseleave)=\"onCellMouseLeave()\"\n (mousemove)=\"onCellMouseMove($event)\"\n >\n <!-- CHECK IF THE COLUMN MUST BE DISPLAYED -->\n <span *ngIf=\"!col.image && !col.iconClass && !col.method\">\n <ng-container>\n <span\n *ngIf=\"\n col.charLimit &&\n row[col.property] &&\n row[col.property].length > col.charLimit;\n else withinLimit\n \"\n >\n <a\n *ngIf=\"col.hasLink === true\"\n [href]=\"row[col.property]\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row) }}\n </a>\n <a\n *ngIf=\"col.hasLink && isString(col.hasLink)\"\n [href]=\"col.hasLink\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row) }}\n </a>\n <span\n *ngIf=\"col.hasLink !== true && !isString(col.hasLink)\"\n >\n {{ getDisplayValue(col, row) }}\n </span>\n </span>\n </ng-container>\n <ng-template #withinLimit>\n <a\n *ngIf=\"col.hasLink === true\"\n [href]=\"row[col.property]\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row, true) }}\n </a>\n <a\n *ngIf=\"col.hasLink && isString(col.hasLink)\"\n [href]=\"col.hasLink\"\n target=\"_blank\"\n >\n {{ getDisplayValue(col, row, true) }}\n </a>\n <span\n *ngIf=\"col.hasLink !== true && !isString(col.hasLink)\"\n >\n {{ getDisplayValue(col, row, true) }}\n </span>\n </ng-template>\n </span>\n <!------------------- IMAGE ------------------>\n <!-- Imagem com loading -->\n <div\n *ngIf=\"\n col.image && col.image.path && !col.iconClass && !col.method\n \"\n class=\"relative inline-block\"\n >\n <mat-spinner\n *ngIf=\"isImageLoading(row, col)\"\n [diameter]=\"32\"\n class=\"absolute inset-0 m-auto\"\n ></mat-spinner>\n <img\n [src]=\"col.image.path + '/' + row[col.property]\"\n [ngClass]=\"col.image.class\"\n [class.opacity-0]=\"isImageLoading(row, col)\"\n alt=\"\"\n (load)=\"onImageLoad(row, col)\"\n (error)=\"onImageError($event, row, col, col.image.default)\"\n />\n </div>\n\n <!-- Imagem com URL completa e loading -->\n <div\n *ngIf=\"\n col.image && col.image.url && !col.iconClass && !col.method\n \"\n class=\"relative inline-block\"\n >\n <mat-spinner\n *ngIf=\"isImageLoading(row, col)\"\n [diameter]=\"32\"\n class=\"absolute inset-0 m-auto\"\n ></mat-spinner>\n <img\n [src]=\"row[col.property]\"\n [ngClass]=\"col.image.class\"\n [class.opacity-0]=\"isImageLoading(row, col)\"\n alt=\"\"\n (load)=\"onImageLoad(row, col)\"\n (error)=\"onImageError($event, row, col, col.image.default)\"\n />\n </div>\n <ng-container *ngIf=\"col.iconClass\">\n <button\n *ngFor=\"let iconClass of col.iconClass\"\n (click)=\"\n iconClass.buttonMethod\n ? iconClass.buttonMethod(row, $event)\n : $event.stopPropagation()\n \"\n >\n <span\n [ngClass]=\"iconClass.class\"\n *ngIf=\"\n iconClass.condition === undefined ||\n (iconClass.condition !== undefined &&\n $any(iconClass.condition)(row))\n \"\n >{{ iconClass.text }}</span\n >\n </button>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnProperties\"></tr>\n <tr\n [ngClass]=\"getTableRowNgClass()\"\n mat-row\n *matRowDef=\"let row; columns: columnProperties\"\n (click)=\"goToDetails(row)\"\n ></tr>\n\n <!-- ROW SHOWN WHEN THERE IS NO MATCHING DATA. -->\n <tr class=\"mat-row\" *matNoDataRow>\n <td *ngIf=\"!(isLoading$ | async)\" class=\"mat-cell p-4\" colspan=\"4\">\n Nenhum resultado encontrado para a busca\n </td>\n </tr>\n </table>\n\n <div class=\"flex justify-center\" *ngIf=\"isLoading$ | async\">\n <mat-spinner></mat-spinner>\n </div>\n\n <div class=\"paginator-container\">\n <mat-paginator\n #paginator\n [pageSizeOptions]=\"[25, 50, 100]\"\n [pageSize]=\"pageSize\"\n [length]=\"totalItems\"\n showFirstLastButtons\n aria-label=\"Select page of periodic elements\"\n (page)=\"onPageChange($event)\"\n [ngClass]=\"getPaginatorNgClass()\"\n >\n </mat-paginator>\n <!-- <div\n *ngIf=\"\n !(isLoading$ | async) &&\n dataSource?.data &&\n dataSource.data.length > 0 &&\n data?.filterFn\n \"\n class=\"page-number-display\"\n >\n {{ currentPageNumber }}\n </div> -->\n </div>\n </div>\n </div>\n </div>\n\n <!-- TOOLTIP PERSONALIZADO -->\n <lib-table-tooltip\n [state]=\"tooltipState\"\n [styles]=\"getTooltipStyles()\"\n ></lib-table-tooltip>\n</div>\n", styles: ["@charset \"UTF-8\";:host{--table-color: #1976d2;--table-text-color: white;--table-header-bg: #1976d2;--table-header-text: white;--table-scrollbar-bg: #f5f5f5;--table-scrollbar-thumb: var(--table-color)}.table-container::-webkit-scrollbar{width:10px;height:10px;background-color:var(--table-scrollbar-bg, #f5f5f5)}.table-container::-webkit-scrollbar-thumb{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));border-radius:5px}.table-container::-webkit-scrollbar-thumb:hover{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));opacity:.8}.overflow-x-auto::-webkit-scrollbar,.overflow-y-auto::-webkit-scrollbar,.overflow-auto::-webkit-scrollbar{width:10px;height:10px;background-color:var(--table-scrollbar-bg, #f5f5f5)}.overflow-x-auto::-webkit-scrollbar-thumb,.overflow-y-auto::-webkit-scrollbar-thumb,.overflow-auto::-webkit-scrollbar-thumb{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));border-radius:5px}.overflow-x-auto::-webkit-scrollbar-thumb:hover,.overflow-y-auto::-webkit-scrollbar-thumb:hover,.overflow-auto::-webkit-scrollbar-thumb:hover{background-color:var(--table-scrollbar-thumb, var(--table-color, #1976d2));opacity:.8}:host ::ng-deep .mat-table .mat-header-cell,:host ::ng-deep .mat-header-cell,:host ::ng-deep th.mat-header-cell,:host ::ng-deep .mat-mdc-table .mat-mdc-header-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep th.mat-mdc-header-cell{background-color:var(--table-header-bg, #1976d2)!important;color:var(--table-header-text, white)!important;font-weight:600}::ng-deep .fa-filter,::ng-deep i.fa-filter{color:var(--table-color, #1976d2)!important}::ng-deep .rounded-xl.border{border-color:var(--table-color, #1976d2)!important}::ng-deep .border-gray-200.rounded-xl{border-color:var(--table-color, #1976d2)!important}::ng-deep .mdc-notched-outline__notch{border-right:none!important}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:0}::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:0}.mat-mdc-text-field-wrapper.mdc-text-field--outlined.mdc-text-field--disabled{background:rgba(0,0,0,.15);background-size:1px 100%!important;background-repeat:repeat-x!important}.mdc-text-field--disabled .mdc-text-field__input{color:#525252}button:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)){transition:all .2s ease;cursor:pointer}button:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)):hover:not(:disabled){opacity:.9;transform:scale(1.02)}button:not([matTooltip=\"Adicionar novo filtro\"]):not([matTooltip=\"Aplicar filtros\"]):not([matTooltip=\"Limpar filtros\"]):not([matTooltip=\"Exportar Tabela\"]):not(:has(i.fa-plus)):not(:has(i.fa-search)):not(:has(i.fas.fa-redo-alt)):not(:has(i.fa-download)):disabled{opacity:.5;cursor:not-allowed;transform:none}::ng-deep .hide-length .mat-mdc-paginator-range-label{display:none}::ng-deep .hide-next-button .mat-mdc-tooltip-trigger.mat-mdc-paginator-navigation-next.mdc-icon-button.mat-mdc-icon-button.mat-unthemed.mat-mdc-button-base{visibility:hidden}::ng-deep .hide-next-button .mat-mdc-tooltip-trigger.mat-mdc-paginator-navigation-last.mdc-icon-button.mat-mdc-icon-button.mat-unthemed.mat-mdc-button-base.ng-star-inserted{visibility:hidden}::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field.ng-tns-c162-1.mdc-text-field--filled{width:25dvw}::ng-deep .custom-filter .mat-mdc-text-field-wrapper{width:20dvw;max-width:300px}button[matTooltip=\"Adicionar novo filtro\"],button:has(i.fa-plus){display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;border:2px solid #93c5fd;background-color:#dbeafe;padding:.5rem 1.5rem;font-size:.875rem;font-weight:500;color:#2563eb;transition:all .3s;cursor:pointer;transform:translateY(0)}button[matTooltip=\"Adicionar novo filtro\"]:hover,button:has(i.fa-plus):hover{transform:translateY(-2px);border-color:#60a5fa;background-color:#bfdbfe;box-shadow:0 4px 6px #0000001a}button[matTooltip=\"Aplicar filtros\"],button:has(i.fa-search){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#16a34a;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Aplicar filtros\"]:hover,button:has(i.fa-search):hover{background-color:#15803d}button[matTooltip=\"Aplicar filtros\"]:disabled,button:has(i.fa-search):disabled{opacity:.5;cursor:not-allowed}button[matTooltip=\"Limpar filtros\"],button:has(i.fas.fa-redo-alt){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#ef4444;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Limpar filtros\"]:hover,button:has(i.fas.fa-redo-alt):hover{background-color:#dc2626}button[matTooltip=\"Exportar Tabela\"],button:has(i.fa-download){display:inline-flex;align-items:center;gap:.5rem;border-radius:.5rem;background-color:#f97316;padding:.5rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;transition:background-color .2s;cursor:pointer;border:none}button[matTooltip=\"Exportar Tabela\"]:hover:not(:disabled),button:has(i.fa-download):hover:not(:disabled){background-color:#ea580c}button[matTooltip=\"Exportar Tabela\"]:disabled,button:has(i.fa-download):disabled{opacity:.5;cursor:not-allowed}\n"] }]
3632
3618
  }], function () { return [{ type: i1$2.Router }, { type: TableService }, { type: FilterService }, { type: TooltipService }, { type: PaginationService }, { type: i1.AngularFirestore }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, { data: [{
3633
3619
  type: Input
3634
3620
  }], downloadTable: [{