@tilde-nlp/ngx-common 8.1.88 → 8.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/tilde-nlp-ngx-common.mjs +137 -71
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/index.d.ts +20 -16
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ import * as i2$4 from '@ngbracket/ngx-layout/flex';
|
|
|
20
20
|
import * as i3 from '@ngbracket/ngx-layout/extended';
|
|
21
21
|
import * as i1$2 from '@angular/common/http';
|
|
22
22
|
import { HttpErrorResponse, provideHttpClient, withInterceptorsFromDi, HttpClient } from '@angular/common/http';
|
|
23
|
-
import * as
|
|
23
|
+
import * as i16 from '@angular/material/paginator';
|
|
24
24
|
import { MatPaginatorIntl, MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
|
|
25
25
|
import * as i2$6 from '@angular/material/progress-spinner';
|
|
26
26
|
import { MatProgressSpinner, MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
@@ -3882,9 +3882,9 @@ const _c3 = ["[additionalActions]", "[batchActions]", "*"];
|
|
|
3882
3882
|
const _c4 = () => [10];
|
|
3883
3883
|
function MultiFunctionalTableComponent_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
3884
3884
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
3885
|
-
i0.ɵɵelementStart(0, "button",
|
|
3885
|
+
i0.ɵɵelementStart(0, "button", 32);
|
|
3886
3886
|
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.export()); });
|
|
3887
|
-
i0.ɵɵelementStart(1, "span",
|
|
3887
|
+
i0.ɵɵelementStart(1, "span", 33);
|
|
3888
3888
|
i0.ɵɵtext(2, "cloud_download");
|
|
3889
3889
|
i0.ɵɵelementEnd();
|
|
3890
3890
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -3897,7 +3897,7 @@ function MultiFunctionalTableComponent_button_3_Template(rf, ctx) { if (rf & 1)
|
|
|
3897
3897
|
} }
|
|
3898
3898
|
function MultiFunctionalTableComponent_div_4_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
3899
3899
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
3900
|
-
i0.ɵɵelementStart(0, "div",
|
|
3900
|
+
i0.ɵɵelementStart(0, "div", 38)(1, "button", 39);
|
|
3901
3901
|
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_div_4_div_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.clearFilters()); });
|
|
3902
3902
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
3903
3903
|
i0.ɵɵtext(3, "close");
|
|
@@ -3905,16 +3905,16 @@ function MultiFunctionalTableComponent_div_4_div_7_Template(rf, ctx) { if (rf &
|
|
|
3905
3905
|
} }
|
|
3906
3906
|
function MultiFunctionalTableComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
3907
3907
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
3908
|
-
i0.ɵɵelementStart(0, "div",
|
|
3908
|
+
i0.ɵɵelementStart(0, "div", 34)(1, "button", 35);
|
|
3909
3909
|
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_div_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.toggleFilterBar()); });
|
|
3910
|
-
i0.ɵɵelementStart(2, "span",
|
|
3910
|
+
i0.ɵɵelementStart(2, "span", 36);
|
|
3911
3911
|
i0.ɵɵtext(3, "filter_list");
|
|
3912
3912
|
i0.ɵɵelementEnd();
|
|
3913
3913
|
i0.ɵɵelementStart(4, "span");
|
|
3914
3914
|
i0.ɵɵtext(5);
|
|
3915
3915
|
i0.ɵɵpipe(6, "translate");
|
|
3916
3916
|
i0.ɵɵelementEnd()();
|
|
3917
|
-
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_div_4_div_7_Template, 4, 0, "div",
|
|
3917
|
+
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_div_4_div_7_Template, 4, 0, "div", 37);
|
|
3918
3918
|
i0.ɵɵelementEnd();
|
|
3919
3919
|
} if (rf & 2) {
|
|
3920
3920
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -3927,7 +3927,7 @@ function MultiFunctionalTableComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
3927
3927
|
} }
|
|
3928
3928
|
function MultiFunctionalTableComponent_div_5_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
3929
3929
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
3930
|
-
i0.ɵɵelementStart(0, "button",
|
|
3930
|
+
i0.ɵɵelementStart(0, "button", 44);
|
|
3931
3931
|
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_div_5_button_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); i0.ɵɵnextContext(); const wildSearch_r8 = i0.ɵɵreference(5); const ctx_r2 = i0.ɵɵnextContext(); wildSearch_r8.value = ""; return i0.ɵɵresetView(ctx_r2.search({ target: { value: "" } })); });
|
|
3932
3932
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
3933
3933
|
i0.ɵɵtext(2, "close");
|
|
@@ -3935,15 +3935,15 @@ function MultiFunctionalTableComponent_div_5_button_7_Template(rf, ctx) { if (rf
|
|
|
3935
3935
|
} }
|
|
3936
3936
|
function MultiFunctionalTableComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
3937
3937
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
3938
|
-
i0.ɵɵelementStart(0, "div",
|
|
3938
|
+
i0.ɵɵelementStart(0, "div", 40)(1, "mat-icon", 41);
|
|
3939
3939
|
i0.ɵɵpipe(2, "translate");
|
|
3940
3940
|
i0.ɵɵtext(3, "search");
|
|
3941
3941
|
i0.ɵɵelementEnd();
|
|
3942
|
-
i0.ɵɵelementStart(4, "input",
|
|
3942
|
+
i0.ɵɵelementStart(4, "input", 42, 4);
|
|
3943
3943
|
i0.ɵɵpipe(6, "translate");
|
|
3944
3944
|
i0.ɵɵlistener("keyup", function MultiFunctionalTableComponent_div_5_Template_input_keyup_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.search($event)); });
|
|
3945
3945
|
i0.ɵɵelementEnd();
|
|
3946
|
-
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_div_5_button_7_Template, 3, 0, "button",
|
|
3946
|
+
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_div_5_button_7_Template, 3, 0, "button", 43);
|
|
3947
3947
|
i0.ɵɵelementEnd();
|
|
3948
3948
|
} if (rf & 2) {
|
|
3949
3949
|
const wildSearch_r8 = i0.ɵɵreference(5);
|
|
@@ -3957,75 +3957,90 @@ function MultiFunctionalTableComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
3957
3957
|
} }
|
|
3958
3958
|
function MultiFunctionalTableComponent_tld_filter_bar_7_Template(rf, ctx) { if (rf & 1) {
|
|
3959
3959
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
3960
|
-
i0.ɵɵelementStart(0, "tld-filter-bar",
|
|
3960
|
+
i0.ɵɵelementStart(0, "tld-filter-bar", 45, 5);
|
|
3961
3961
|
i0.ɵɵlistener("filterBarChange", function MultiFunctionalTableComponent_tld_filter_bar_7_Template_tld_filter_bar_filterBarChange_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.filtersChanged($event)); });
|
|
3962
3962
|
i0.ɵɵelementEnd();
|
|
3963
3963
|
} if (rf & 2) {
|
|
3964
3964
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
3965
3965
|
i0.ɵɵproperty("filterRowVisible", ctx_r2.filterBarVisible)("settings", ctx_r2.config.filter.settings);
|
|
3966
3966
|
} }
|
|
3967
|
+
function MultiFunctionalTableComponent_th_15_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
3968
|
+
i0.ɵɵelementStart(0, "button", 50);
|
|
3969
|
+
i0.ɵɵpipe(1, "translate");
|
|
3970
|
+
i0.ɵɵelementStart(2, "mat-icon");
|
|
3971
|
+
i0.ɵɵtext(3, "arrow_drop_down");
|
|
3972
|
+
i0.ɵɵelementEnd()();
|
|
3973
|
+
} if (rf & 2) {
|
|
3974
|
+
i0.ɵɵnextContext(2);
|
|
3975
|
+
const rangeSelectMenu_r11 = i0.ɵɵreference(33);
|
|
3976
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, "MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_TITLE"))("matMenuTriggerFor", rangeSelectMenu_r11);
|
|
3977
|
+
} }
|
|
3967
3978
|
function MultiFunctionalTableComponent_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
3968
3979
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
3969
|
-
i0.ɵɵelementStart(0, "th",
|
|
3970
|
-
i0.ɵɵpipe(
|
|
3971
|
-
i0.ɵɵlistener("change", function
|
|
3980
|
+
i0.ɵɵelementStart(0, "th", 46)(1, "div", 47)(2, "mat-checkbox", 48);
|
|
3981
|
+
i0.ɵɵpipe(3, "translate");
|
|
3982
|
+
i0.ɵɵlistener("change", function MultiFunctionalTableComponent_th_15_Template_mat_checkbox_change_2_listener() { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.toggleAllRowSelection()); });
|
|
3983
|
+
i0.ɵɵelementEnd();
|
|
3984
|
+
i0.ɵɵtemplate(4, MultiFunctionalTableComponent_th_15_button_4_Template, 4, 4, "button", 49);
|
|
3972
3985
|
i0.ɵɵelementEnd()();
|
|
3973
3986
|
} if (rf & 2) {
|
|
3974
3987
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
3975
|
-
i0.ɵɵadvance();
|
|
3976
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(
|
|
3988
|
+
i0.ɵɵadvance(2);
|
|
3989
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(3, 5, "MULTI_FUNCTIONAL_TABLE.SELECT_ALL"))("disabled", ctx_r2.config.batchConfig.checkBoxesDisabled)("checked", ctx_r2.matSelection.hasValue() && ctx_r2.isAllSelected())("indeterminate", ctx_r2.matSelection.hasValue() && !ctx_r2.isAllSelected());
|
|
3990
|
+
i0.ɵɵadvance(2);
|
|
3991
|
+
i0.ɵɵproperty("ngIf", ctx_r2.config.batchConfig == null ? null : ctx_r2.config.batchConfig.rangeSelection);
|
|
3977
3992
|
} }
|
|
3978
3993
|
function MultiFunctionalTableComponent_td_16_mat_checkbox_1_Template(rf, ctx) { if (rf & 1) {
|
|
3979
|
-
const
|
|
3980
|
-
i0.ɵɵelementStart(0, "mat-checkbox",
|
|
3994
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
3995
|
+
i0.ɵɵelementStart(0, "mat-checkbox", 53);
|
|
3981
3996
|
i0.ɵɵpipe(1, "translate");
|
|
3982
|
-
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_td_16_mat_checkbox_1_Template_mat_checkbox_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
3997
|
+
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_td_16_mat_checkbox_1_Template_mat_checkbox_click_0_listener($event) { i0.ɵɵrestoreView(_r12); return i0.ɵɵresetView($event.stopPropagation()); })("change", function MultiFunctionalTableComponent_td_16_mat_checkbox_1_Template_mat_checkbox_change_0_listener() { i0.ɵɵrestoreView(_r12); const element_r13 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.toggleElementSelection(element_r13)); });
|
|
3983
3998
|
i0.ɵɵelementEnd();
|
|
3984
3999
|
} if (rf & 2) {
|
|
3985
|
-
const
|
|
4000
|
+
const element_r13 = i0.ɵɵnextContext().$implicit;
|
|
3986
4001
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
3987
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3, "MULTI_FUNCTIONAL_TABLE.SELECT"))("disabled", ctx_r2.config.batchConfig.checkBoxesDisabled || ctx_r2.preselectedItems.includes(
|
|
4002
|
+
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 3, "MULTI_FUNCTIONAL_TABLE.SELECT"))("disabled", ctx_r2.config.batchConfig.checkBoxesDisabled || ctx_r2.preselectedItems.includes(element_r13) && ctx_r2.disablePreselectedItems)("checked", ctx_r2.matSelection.isSelected(element_r13));
|
|
3988
4003
|
} }
|
|
3989
4004
|
function MultiFunctionalTableComponent_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
3990
|
-
i0.ɵɵelementStart(0, "td",
|
|
3991
|
-
i0.ɵɵtemplate(1, MultiFunctionalTableComponent_td_16_mat_checkbox_1_Template, 2, 5, "mat-checkbox",
|
|
4005
|
+
i0.ɵɵelementStart(0, "td", 51);
|
|
4006
|
+
i0.ɵɵtemplate(1, MultiFunctionalTableComponent_td_16_mat_checkbox_1_Template, 2, 5, "mat-checkbox", 52);
|
|
3992
4007
|
i0.ɵɵelementEnd();
|
|
3993
4008
|
} if (rf & 2) {
|
|
3994
|
-
const
|
|
4009
|
+
const element_r13 = ctx.$implicit;
|
|
3995
4010
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
3996
4011
|
i0.ɵɵadvance();
|
|
3997
|
-
i0.ɵɵproperty("ngIf", ctx_r2.isRowCheckboxAlwaysVisible || ctx_r2.hoveredRow ===
|
|
4012
|
+
i0.ɵɵproperty("ngIf", ctx_r2.isRowCheckboxAlwaysVisible || ctx_r2.hoveredRow === element_r13 || ctx_r2.matSelection.isSelected(element_r13));
|
|
3998
4013
|
} }
|
|
3999
4014
|
function MultiFunctionalTableComponent_tr_17_Template(rf, ctx) { if (rf & 1) {
|
|
4000
|
-
i0.ɵɵelement(0, "tr",
|
|
4015
|
+
i0.ɵɵelement(0, "tr", 54);
|
|
4001
4016
|
} }
|
|
4002
4017
|
function MultiFunctionalTableComponent_tr_18_Template(rf, ctx) { if (rf & 1) {
|
|
4003
|
-
const
|
|
4004
|
-
i0.ɵɵelementStart(0, "tr",
|
|
4005
|
-
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_tr_18_Template_tr_click_0_listener() { const
|
|
4018
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
4019
|
+
i0.ɵɵelementStart(0, "tr", 55);
|
|
4020
|
+
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_tr_18_Template_tr_click_0_listener() { const row_r15 = i0.ɵɵrestoreView(_r14).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView((ctx_r2.config == null ? null : ctx_r2.config.rowClickCallback) && (!ctx_r2.config.disableRowClick || !(ctx_r2.config == null ? null : ctx_r2.config.disableRowClick(row_r15))) ? ctx_r2.config == null ? null : ctx_r2.config.rowClickCallback(row_r15) : null); })("mouseover", function MultiFunctionalTableComponent_tr_18_Template_tr_mouseover_0_listener() { const ctx_r15 = i0.ɵɵrestoreView(_r14); const row_r15 = ctx_r15.$implicit; const index_r17 = ctx_r15.index; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.rowHovered(index_r17, row_r15)); })("mouseleave", function MultiFunctionalTableComponent_tr_18_Template_tr_mouseleave_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.rowHoverLeave()); });
|
|
4006
4021
|
i0.ɵɵelementEnd();
|
|
4007
4022
|
} if (rf & 2) {
|
|
4008
|
-
const
|
|
4009
|
-
const
|
|
4023
|
+
const row_r15 = ctx.$implicit;
|
|
4024
|
+
const index_r17 = ctx.index;
|
|
4010
4025
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
4011
|
-
i0.ɵɵclassProp("row-clickable", (ctx_r2.config == null ? null : ctx_r2.config.rowClickCallback) && (!ctx_r2.config.disableRowClick || !(ctx_r2.config == null ? null : ctx_r2.config.disableRowClick(
|
|
4026
|
+
i0.ɵɵclassProp("row-clickable", (ctx_r2.config == null ? null : ctx_r2.config.rowClickCallback) && (!ctx_r2.config.disableRowClick || !(ctx_r2.config == null ? null : ctx_r2.config.disableRowClick(row_r15))))("highlight-error", ctx_r2.highlightErrorElement(index_r17, row_r15))("highlight", ctx_r2.isElementHighlighted(index_r17, row_r15));
|
|
4012
4027
|
} }
|
|
4013
4028
|
function MultiFunctionalTableComponent_th_20_Template(rf, ctx) { if (rf & 1) {
|
|
4014
|
-
i0.ɵɵelementStart(0, "th",
|
|
4029
|
+
i0.ɵɵelementStart(0, "th", 46)(1, "div", 56)(2, "button", 57)(3, "span", 36);
|
|
4015
4030
|
i0.ɵɵtext(4, "more_vert");
|
|
4016
4031
|
i0.ɵɵelementEnd()()()();
|
|
4017
4032
|
} if (rf & 2) {
|
|
4018
4033
|
i0.ɵɵnextContext();
|
|
4019
|
-
const
|
|
4034
|
+
const columnMenu_r18 = i0.ɵɵreference(25);
|
|
4020
4035
|
i0.ɵɵadvance(2);
|
|
4021
|
-
i0.ɵɵproperty("matMenuTriggerFor",
|
|
4036
|
+
i0.ɵɵproperty("matMenuTriggerFor", columnMenu_r18);
|
|
4022
4037
|
} }
|
|
4023
4038
|
function MultiFunctionalTableComponent_td_21_Template(rf, ctx) { if (rf & 1) {
|
|
4024
|
-
i0.ɵɵelement(0, "td",
|
|
4039
|
+
i0.ɵɵelement(0, "td", 51);
|
|
4025
4040
|
} }
|
|
4026
4041
|
function MultiFunctionalTableComponent_ng_container_22_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
4027
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
4028
|
-
i0.ɵɵelement(2, "lib-status-display",
|
|
4042
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 59);
|
|
4043
|
+
i0.ɵɵelement(2, "lib-status-display", 60);
|
|
4029
4044
|
i0.ɵɵelementEnd()();
|
|
4030
4045
|
} if (rf & 2) {
|
|
4031
4046
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -4034,33 +4049,33 @@ function MultiFunctionalTableComponent_ng_container_22_tr_1_Template(rf, ctx) {
|
|
|
4034
4049
|
} }
|
|
4035
4050
|
function MultiFunctionalTableComponent_ng_container_22_Template(rf, ctx) { if (rf & 1) {
|
|
4036
4051
|
i0.ɵɵelementContainerStart(0);
|
|
4037
|
-
i0.ɵɵtemplate(1, MultiFunctionalTableComponent_ng_container_22_tr_1_Template, 3, 1, "tr",
|
|
4052
|
+
i0.ɵɵtemplate(1, MultiFunctionalTableComponent_ng_container_22_tr_1_Template, 3, 1, "tr", 58);
|
|
4038
4053
|
i0.ɵɵelementContainerEnd();
|
|
4039
4054
|
} }
|
|
4040
4055
|
function MultiFunctionalTableComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
4041
|
-
const
|
|
4042
|
-
i0.ɵɵelementStart(0, "mat-paginator",
|
|
4056
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
4057
|
+
i0.ɵɵelementStart(0, "mat-paginator", 61);
|
|
4043
4058
|
i0.ɵɵpipe(1, "translate");
|
|
4044
|
-
i0.ɵɵlistener("page", function MultiFunctionalTableComponent_Conditional_23_Template_mat_paginator_page_0_listener($event) { i0.ɵɵrestoreView(
|
|
4059
|
+
i0.ɵɵlistener("page", function MultiFunctionalTableComponent_Conditional_23_Template_mat_paginator_page_0_listener($event) { i0.ɵɵrestoreView(_r19); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.paginatorChange($event)); });
|
|
4045
4060
|
i0.ɵɵelementEnd();
|
|
4046
4061
|
} if (rf & 2) {
|
|
4047
|
-
const
|
|
4048
|
-
i0.ɵɵproperty("pageSize",
|
|
4062
|
+
const paginatorConfig_r20 = i0.ɵɵnextContext().config.paginator;
|
|
4063
|
+
i0.ɵɵproperty("pageSize", paginatorConfig_r20.pageSize ?? 10)("hidePageSize", !paginatorConfig_r20.showPageSize)("showFirstLastButtons", paginatorConfig_r20.showFirstLastButtons)("pageSizeOptions", paginatorConfig_r20.pageSizeOptions ?? i0.ɵɵpureFunction0(7, _c4));
|
|
4049
4064
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 5, "MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL"));
|
|
4050
4065
|
} }
|
|
4051
4066
|
function MultiFunctionalTableComponent_div_27_Template(rf, ctx) { if (rf & 1) {
|
|
4052
|
-
const
|
|
4053
|
-
i0.ɵɵelementStart(0, "div")(1, "mat-checkbox",
|
|
4054
|
-
i0.ɵɵtwoWayListener("ngModelChange", function MultiFunctionalTableComponent_div_27_Template_mat_checkbox_ngModelChange_1_listener($event) { const
|
|
4067
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
4068
|
+
i0.ɵɵelementStart(0, "div")(1, "mat-checkbox", 62);
|
|
4069
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MultiFunctionalTableComponent_div_27_Template_mat_checkbox_ngModelChange_1_listener($event) { const column_r22 = i0.ɵɵrestoreView(_r21).$implicit; i0.ɵɵtwoWayBindingSet(column_r22.selected, $event) || (column_r22.selected = $event); return i0.ɵɵresetView($event); });
|
|
4055
4070
|
i0.ɵɵtext(2);
|
|
4056
4071
|
i0.ɵɵpipe(3, "translate");
|
|
4057
4072
|
i0.ɵɵelementEnd()();
|
|
4058
4073
|
} if (rf & 2) {
|
|
4059
|
-
const
|
|
4074
|
+
const column_r22 = ctx.$implicit;
|
|
4060
4075
|
i0.ɵɵadvance();
|
|
4061
|
-
i0.ɵɵtwoWayProperty("ngModel",
|
|
4076
|
+
i0.ɵɵtwoWayProperty("ngModel", column_r22.selected);
|
|
4062
4077
|
i0.ɵɵadvance();
|
|
4063
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
4078
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, column_r22.displayName), " ");
|
|
4064
4079
|
} }
|
|
4065
4080
|
class MultiFunctionalTableComponent {
|
|
4066
4081
|
#dataSource;
|
|
@@ -4091,6 +4106,8 @@ class MultiFunctionalTableComponent {
|
|
|
4091
4106
|
this.data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
|
|
4092
4107
|
this.dataSourceUpdateEffect = effect(() => { this.updateDataSourceData(); }, ...(ngDevMode ? [{ debugName: "dataSourceUpdateEffect" }] : []));
|
|
4093
4108
|
this.noDataRowIcon = "manage_search";
|
|
4109
|
+
this.rangeSelectionFrom = null;
|
|
4110
|
+
this.rangeSelectionTo = null;
|
|
4094
4111
|
this.isDragging = false;
|
|
4095
4112
|
this.startX = 0;
|
|
4096
4113
|
this.startY = 0;
|
|
@@ -4230,6 +4247,12 @@ class MultiFunctionalTableComponent {
|
|
|
4230
4247
|
toggleElementSelection(element) {
|
|
4231
4248
|
this.matSelection.toggle(element);
|
|
4232
4249
|
}
|
|
4250
|
+
applyRangeSelection() {
|
|
4251
|
+
if (this.rangeSelectionFrom == null || this.rangeSelectionTo == null) {
|
|
4252
|
+
return;
|
|
4253
|
+
}
|
|
4254
|
+
this.selection = this.dataSource?.data.slice(this.rangeSelectionFrom - 1, this.rangeSelectionTo);
|
|
4255
|
+
}
|
|
4233
4256
|
onMouseDown(event) {
|
|
4234
4257
|
if (this.config.disableMouseDragging) {
|
|
4235
4258
|
return;
|
|
@@ -4414,40 +4437,65 @@ class MultiFunctionalTableComponent {
|
|
|
4414
4437
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterBar = _t.first);
|
|
4415
4438
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paginator = _t.first);
|
|
4416
4439
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableElementRef = _t.first);
|
|
4417
|
-
} }, inputs: { config: "config", highlightedElements: "highlightedElements", trackByFn: "trackByFn", highlightedErrorElements: "highlightedErrorElements", selection: "selection", isRowCheckboxAlwaysVisible: "isRowCheckboxAlwaysVisible", disablePreselectedItems: "disablePreselectedItems", data: [1, "data"] }, outputs: { filterBarChange: "filterBarChange", paginatorUpdate: "paginatorUpdate", exported: "exported", selectionChange: "selectionChange" }, standalone: false, ngContentSelectors: _c3, decls:
|
|
4440
|
+
} }, inputs: { config: "config", highlightedElements: "highlightedElements", trackByFn: "trackByFn", highlightedErrorElements: "highlightedErrorElements", selection: "selection", isRowCheckboxAlwaysVisible: "isRowCheckboxAlwaysVisible", disablePreselectedItems: "disablePreselectedItems", data: [1, "data"] }, outputs: { filterBarChange: "filterBarChange", paginatorUpdate: "paginatorUpdate", exported: "exported", selectionChange: "selectionChange" }, standalone: false, ngContentSelectors: _c3, decls: 53, vars: 36, consts: [["tableContainer", ""], ["table", ""], ["columnMenu", "matMenu"], ["rangeSelectMenu", "matMenu"], ["wildSearch", ""], ["filterBar", ""], ["fxLayout", "column", "fxLayoutGap", "0.75rem", 3, "ngClass.lt-md"], ["fxLayout", "row", "fxLayout.lt-md", "column", "fxLayoutGap.lt-md", "0.75rem"], ["fxFlex", "", "fxLayout.lt-md", "column", "fxLayoutGap", "0.75rem", "fxLayoutAlign", "start center", "fxLayoutAlign.lt-md", "start start", 1, "action-row"], ["class", "export-data", "mat-stroked-button", "", "color", "accent", 3, "click", 4, "ngIf"], ["fxFlex", "", "fxLayoutGap", "0.5rem", "fxLayoutAlign", "start center", 4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "class", "wild-search-wrapper", 4, "ngIf"], [3, "filterRowVisible", "settings", "filterBarChange", 4, "ngIf"], [1, "table-overflow", 3, "mousedown", "mouseup", "mouseleave", "mousemove"], ["mat-table", "", 3, "dataSource", "trackBy"], [3, "matColumnDef"], ["class", "row-select", "mat-header-cell", "", "disable-export", "", 4, "matHeaderCellDef"], ["class", "row-select", "mat-cell", "", "disable-export", "", 4, "matCellDef"], ["mat-header-row", "", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", 3, "row-clickable", "highlight-error", "highlight", "click", "mouseover", "mouseleave", 4, "matRowDef", "matRowDefColumns"], [4, "ngIf"], [3, "pageSize", "hidePageSize", "showFirstLastButtons", "pageSizeOptions"], [1, "column-select-menu", 3, "click"], [4, "ngFor", "ngForOf"], [1, "column-select-save"], ["mat-flat-button", "", "color", "accent", 3, "click"], [1, "range-select-menu", 3, "click", "keydown"], [1, "range-select-title"], [1, "range-select-inputs"], ["appearance", "outline", 1, "range-select-field"], ["matInput", "", "type", "number", "min", "1", 3, "ngModelChange", "ngModel"], [1, "range-select-apply"], ["mat-stroked-button", "", "color", "accent", 1, "export-data", 3, "click"], [1, "material-icons-outlined"], ["fxFlex", "", "fxLayoutGap", "0.5rem", "fxLayoutAlign", "start center"], ["mat-stroked-button", "", "color", "accent", 3, "click"], [1, "material-icons"], ["class", "clear-filters-wrapper", 4, "ngIf"], [1, "clear-filters-wrapper"], ["mat-icon-button", "", 3, "click"], ["fxLayout", "row", "fxLayoutAlign", "start center", 1, "wild-search-wrapper"], [1, "search-icon", 3, "matTooltip"], ["type", "text", 3, "keyup", "value", "placeholder"], ["mat-icon-button", "", "class", "wild-search-clear-btn", 3, "click", 4, "ngIf"], ["mat-icon-button", "", 1, "wild-search-clear-btn", 3, "click"], [3, "filterBarChange", "filterRowVisible", "settings"], ["mat-header-cell", "", "disable-export", "", 1, "row-select"], [1, "batch-header"], [3, "change", "matTooltip", "disabled", "checked", "indeterminate"], ["class", "range-select-trigger", "mat-icon-button", "", 3, "matTooltip", "matMenuTriggerFor", 4, "ngIf"], ["mat-icon-button", "", 1, "range-select-trigger", 3, "matTooltip", "matMenuTriggerFor"], ["mat-cell", "", "disable-export", "", 1, "row-select"], [3, "matTooltip", "disabled", "checked", "click", "change", 4, "ngIf"], [3, "click", "change", "matTooltip", "disabled", "checked"], ["mat-header-row", ""], ["mat-row", "", 3, "click", "mouseover", "mouseleave"], [1, "column-selector-wrapper"], ["mat-icon-button", "", "color", "accent", 1, "column-selector", 3, "matMenuTriggerFor"], [4, "matNoDataRow"], ["colspan", "99"], [3, "config"], [3, "page", "pageSize", "hidePageSize", "showFirstLastButtons", "pageSizeOptions"], [3, "ngModelChange", "ngModel"]], template: function MultiFunctionalTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4418
4441
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4419
4442
|
i0.ɵɵprojectionDef(_c2$1);
|
|
4420
|
-
i0.ɵɵelementStart(0, "div",
|
|
4421
|
-
i0.ɵɵtemplate(3, MultiFunctionalTableComponent_button_3_Template, 6, 3, "button",
|
|
4443
|
+
i0.ɵɵelementStart(0, "div", 6)(1, "div", 7)(2, "div", 8);
|
|
4444
|
+
i0.ɵɵtemplate(3, MultiFunctionalTableComponent_button_3_Template, 6, 3, "button", 9)(4, MultiFunctionalTableComponent_div_4_Template, 8, 6, "div", 10);
|
|
4422
4445
|
i0.ɵɵelementEnd();
|
|
4423
|
-
i0.ɵɵtemplate(5, MultiFunctionalTableComponent_div_5_Template, 8, 8, "div",
|
|
4446
|
+
i0.ɵɵtemplate(5, MultiFunctionalTableComponent_div_5_Template, 8, 8, "div", 11);
|
|
4424
4447
|
i0.ɵɵprojection(6);
|
|
4425
4448
|
i0.ɵɵelementEnd();
|
|
4426
|
-
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_tld_filter_bar_7_Template, 2, 2, "tld-filter-bar",
|
|
4449
|
+
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_tld_filter_bar_7_Template, 2, 2, "tld-filter-bar", 12);
|
|
4427
4450
|
i0.ɵɵprojection(8, 1);
|
|
4428
|
-
i0.ɵɵelementStart(9, "div",
|
|
4451
|
+
i0.ɵɵelementStart(9, "div", 13, 0);
|
|
4429
4452
|
i0.ɵɵlistener("mousedown", function MultiFunctionalTableComponent_Template_div_mousedown_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseDown($event)); })("mouseup", function MultiFunctionalTableComponent_Template_div_mouseup_9_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseUp()); })("mouseleave", function MultiFunctionalTableComponent_Template_div_mouseleave_9_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseUp()); })("mousemove", function MultiFunctionalTableComponent_Template_div_mousemove_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseMove($event)); });
|
|
4430
|
-
i0.ɵɵelementStart(11, "table",
|
|
4453
|
+
i0.ɵɵelementStart(11, "table", 14, 1);
|
|
4431
4454
|
i0.ɵɵprojection(13, 2);
|
|
4432
|
-
i0.ɵɵelementContainerStart(14,
|
|
4433
|
-
i0.ɵɵtemplate(15, MultiFunctionalTableComponent_th_15_Template,
|
|
4455
|
+
i0.ɵɵelementContainerStart(14, 15);
|
|
4456
|
+
i0.ɵɵtemplate(15, MultiFunctionalTableComponent_th_15_Template, 5, 7, "th", 16)(16, MultiFunctionalTableComponent_td_16_Template, 2, 1, "td", 17);
|
|
4434
4457
|
i0.ɵɵelementContainerEnd();
|
|
4435
|
-
i0.ɵɵtemplate(17, MultiFunctionalTableComponent_tr_17_Template, 1, 0, "tr",
|
|
4436
|
-
i0.ɵɵelementContainerStart(19,
|
|
4437
|
-
i0.ɵɵtemplate(20, MultiFunctionalTableComponent_th_20_Template, 5, 1, "th",
|
|
4458
|
+
i0.ɵɵtemplate(17, MultiFunctionalTableComponent_tr_17_Template, 1, 0, "tr", 18)(18, MultiFunctionalTableComponent_tr_18_Template, 1, 6, "tr", 19);
|
|
4459
|
+
i0.ɵɵelementContainerStart(19, 15);
|
|
4460
|
+
i0.ɵɵtemplate(20, MultiFunctionalTableComponent_th_20_Template, 5, 1, "th", 16)(21, MultiFunctionalTableComponent_td_21_Template, 1, 0, "td", 17);
|
|
4438
4461
|
i0.ɵɵelementContainerEnd();
|
|
4439
|
-
i0.ɵɵtemplate(22, MultiFunctionalTableComponent_ng_container_22_Template, 2, 0, "ng-container",
|
|
4462
|
+
i0.ɵɵtemplate(22, MultiFunctionalTableComponent_ng_container_22_Template, 2, 0, "ng-container", 20);
|
|
4440
4463
|
i0.ɵɵelementEnd()();
|
|
4441
|
-
i0.ɵɵconditionalCreate(23, MultiFunctionalTableComponent_Conditional_23_Template, 2, 8, "mat-paginator",
|
|
4464
|
+
i0.ɵɵconditionalCreate(23, MultiFunctionalTableComponent_Conditional_23_Template, 2, 8, "mat-paginator", 21);
|
|
4442
4465
|
i0.ɵɵelementEnd();
|
|
4443
|
-
i0.ɵɵelementStart(24, "mat-menu", null, 2)(26, "div",
|
|
4466
|
+
i0.ɵɵelementStart(24, "mat-menu", null, 2)(26, "div", 22);
|
|
4444
4467
|
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_Template_div_click_26_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
4445
|
-
i0.ɵɵtemplate(27, MultiFunctionalTableComponent_div_27_Template, 4, 4, "div",
|
|
4446
|
-
i0.ɵɵelementStart(28, "div",
|
|
4468
|
+
i0.ɵɵtemplate(27, MultiFunctionalTableComponent_div_27_Template, 4, 4, "div", 23);
|
|
4469
|
+
i0.ɵɵelementStart(28, "div", 24)(29, "button", 25);
|
|
4447
4470
|
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.updateDisplayColumns()); });
|
|
4448
4471
|
i0.ɵɵtext(30);
|
|
4449
4472
|
i0.ɵɵpipe(31, "translate");
|
|
4450
4473
|
i0.ɵɵelementEnd()()()();
|
|
4474
|
+
i0.ɵɵelementStart(32, "mat-menu", null, 3)(34, "div", 26);
|
|
4475
|
+
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_Template_div_click_34_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView($event.stopPropagation()); })("keydown", function MultiFunctionalTableComponent_Template_div_keydown_34_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
4476
|
+
i0.ɵɵelementStart(35, "div", 27);
|
|
4477
|
+
i0.ɵɵtext(36);
|
|
4478
|
+
i0.ɵɵpipe(37, "translate");
|
|
4479
|
+
i0.ɵɵelementEnd();
|
|
4480
|
+
i0.ɵɵelementStart(38, "div", 28)(39, "mat-form-field", 29)(40, "mat-label");
|
|
4481
|
+
i0.ɵɵtext(41);
|
|
4482
|
+
i0.ɵɵpipe(42, "translate");
|
|
4483
|
+
i0.ɵɵelementEnd();
|
|
4484
|
+
i0.ɵɵelementStart(43, "input", 30);
|
|
4485
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MultiFunctionalTableComponent_Template_input_ngModelChange_43_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.rangeSelectionFrom, $event) || (ctx.rangeSelectionFrom = $event); return i0.ɵɵresetView($event); });
|
|
4486
|
+
i0.ɵɵelementEnd()();
|
|
4487
|
+
i0.ɵɵelementStart(44, "mat-form-field", 29)(45, "mat-label");
|
|
4488
|
+
i0.ɵɵtext(46);
|
|
4489
|
+
i0.ɵɵpipe(47, "translate");
|
|
4490
|
+
i0.ɵɵelementEnd();
|
|
4491
|
+
i0.ɵɵelementStart(48, "input", 30);
|
|
4492
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MultiFunctionalTableComponent_Template_input_ngModelChange_48_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.rangeSelectionTo, $event) || (ctx.rangeSelectionTo = $event); return i0.ɵɵresetView($event); });
|
|
4493
|
+
i0.ɵɵelementEnd()()();
|
|
4494
|
+
i0.ɵɵelementStart(49, "div", 31)(50, "button", 25);
|
|
4495
|
+
i0.ɵɵlistener("click", function MultiFunctionalTableComponent_Template_button_click_50_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.applyRangeSelection()); });
|
|
4496
|
+
i0.ɵɵtext(51);
|
|
4497
|
+
i0.ɵɵpipe(52, "translate");
|
|
4498
|
+
i0.ɵɵelementEnd()()()();
|
|
4451
4499
|
} if (rf & 2) {
|
|
4452
4500
|
i0.ɵɵproperty("ngClass.lt-md", "mobile");
|
|
4453
4501
|
i0.ɵɵadvance(3);
|
|
@@ -4477,12 +4525,24 @@ class MultiFunctionalTableComponent {
|
|
|
4477
4525
|
i0.ɵɵadvance(4);
|
|
4478
4526
|
i0.ɵɵproperty("ngForOf", ctx.configurableColumns);
|
|
4479
4527
|
i0.ɵɵadvance(3);
|
|
4480
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31,
|
|
4481
|
-
|
|
4528
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 26, "MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE"), " ");
|
|
4529
|
+
i0.ɵɵadvance(6);
|
|
4530
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 28, "MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_TITLE"), " ");
|
|
4531
|
+
i0.ɵɵadvance(5);
|
|
4532
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(42, 30, "MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_FROM"));
|
|
4533
|
+
i0.ɵɵadvance(2);
|
|
4534
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.rangeSelectionFrom);
|
|
4535
|
+
i0.ɵɵadvance(3);
|
|
4536
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(47, 32, "MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_TO"));
|
|
4537
|
+
i0.ɵɵadvance(2);
|
|
4538
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.rangeSelectionTo);
|
|
4539
|
+
i0.ɵɵadvance(3);
|
|
4540
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(52, 34, "MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_APPLY"), " ");
|
|
4541
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i4$2.MatTable, i4$2.MatHeaderCellDef, i4$2.MatHeaderRowDef, i4$2.MatColumnDef, i4$2.MatCellDef, i4$2.MatRowDef, i4$2.MatHeaderCell, i4$2.MatCell, i4$2.MatHeaderRow, i4$2.MatRow, i4$2.MatNoDataRow, i2$2.MatButton, i2$2.MatIconButton, i6$1.MatMenu, i6$1.MatMenuTrigger, i7.MatCheckbox, i9.MatFormField, i9.MatLabel, i9.MatInput, i4$1.DefaultValueAccessor, i4$1.NumberValueAccessor, i4$1.NgControlStatus, i4$1.MinValidator, i4$1.NgModel, FilterBarComponent, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutGapDirective, i2$4.DefaultLayoutAlignDirective, i2$4.DefaultFlexDirective, i3.DefaultClassDirective, i2$3.MatTooltip, StatusDisplayComponent, i2.MatIcon, i16.MatPaginator, i1.TranslatePipe], styles: ["[_nghost-%COMP%] th, [_nghost-%COMP%] tr{white-space:nowrap}[_nghost-%COMP%] td:not(:first-of-type){padding-right:10px!important}[_nghost-%COMP%] tr.mat-mdc-row:hover, [_nghost-%COMP%] tr.mat-mdc-row.highlight{background-color:var(--base-95)}[_nghost-%COMP%] tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}[_nghost-%COMP%] .export-data .mdc-button__label{display:flex;align-items:center}[_nghost-%COMP%] .mat-mdc-cell, [_nghost-%COMP%] .mat-mdc-header-cell, [_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}[_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}[_nghost-%COMP%] .mdc-data-table__cell:nth-child(2), [_nghost-%COMP%] .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}[_nghost-%COMP%] td+.cdk-column-columnSelect{display:none}[_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button, [_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}[_nghost-%COMP%] .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}[_nghost-%COMP%] .filter-active{background-color:var(--neutral-95)}[_nghost-%COMP%] .row-actions{opacity:0}[_nghost-%COMP%] .mobile .row-actions, [_nghost-%COMP%] .highlight .row-actions{opacity:1}[_nghost-%COMP%] .mat-mdc-paginator-range-actions button{padding:8px}table[_ngcontent-%COMP%]{width:100%}.wild-search-wrapper[_ngcontent-%COMP%]{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:30px}.wild-search-wrapper[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{color:var(--base-40)}.wild-search-wrapper[_ngcontent-%COMP%] .wild-search-clear-btn[_ngcontent-%COMP%]{position:absolute;right:3px}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{height:33px!important;width:33px!important}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons-outlined[_ngcontent-%COMP%]{top:5px!important;left:5px!important}.mobile[_ngcontent-%COMP%] .wild-search-wrapper[_ngcontent-%COMP%]{margin:0}.column-selector-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:end}.column-select-menu[_ngcontent-%COMP%]{padding:8px 18px 8px 8px}.column-select-save[_ngcontent-%COMP%]{padding-left:8px;padding-top:8px}.column-select-save[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}.row-clickable[_ngcontent-%COMP%]{cursor:pointer}.row-clickable[_ngcontent-%COMP%]:active{background-color:var(--base-70)!important}.material-icons[_ngcontent-%COMP%], .material-icons-outlined[_ngcontent-%COMP%]{margin-right:.5rem}.table-action-button[_ngcontent-%COMP%]{margin-bottom:1rem}th.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding:0 0 0 10px}.row-select[_ngcontent-%COMP%]{width:0}.table-overflow[_ngcontent-%COMP%]{overflow-x:auto}.table-dragable[_ngcontent-%COMP%]{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable[_ngcontent-%COMP%]:active{cursor:grabbing}.table-sticky-header[_ngcontent-%COMP%]{max-height:70vh}.batch-header[_ngcontent-%COMP%]{display:flex;align-items:center}.range-select-trigger.mat-mdc-icon-button[_ngcontent-%COMP%]{margin-left:-4px}.range-select-menu[_ngcontent-%COMP%]{padding:12px 16px;min-width:240px}.range-select-menu[_ngcontent-%COMP%] .range-select-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:500;margin-bottom:12px}.range-select-menu[_ngcontent-%COMP%] .range-select-inputs[_ngcontent-%COMP%]{display:flex;gap:12px}.range-select-menu[_ngcontent-%COMP%] .range-select-field[_ngcontent-%COMP%], .range-select-menu[_ngcontent-%COMP%] .range-select-apply[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}"] }); }
|
|
4482
4542
|
}
|
|
4483
4543
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiFunctionalTableComponent, [{
|
|
4484
4544
|
type: Component,
|
|
4485
|
-
args: [{ selector: 'tld-multi-functional-table', standalone: false, template: "<div [ngClass.lt-md]=\"'mobile'\" fxLayout=\"column\" fxLayoutGap=\"0.75rem\">\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" fxLayoutGap.lt-md=\"0.75rem\">\r\n <div\r\n fxFlex\r\n fxLayout.lt-md=\"column\"\r\n fxLayoutGap=\"0.75rem\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutAlign.lt-md=\"start start\"\r\n class=\"action-row\"\r\n >\r\n <button\r\n class=\"export-data\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n *ngIf=\"exportActive\"\r\n (click)=\"export()\"\r\n >\r\n <span class=\"material-icons-outlined\">cloud_download</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.EXPORT\" | translate }}</span>\r\n </button>\r\n\r\n <div\r\n *ngIf=\"filterActive && showFilterToggle\"\r\n fxFlex\r\n fxLayoutGap=\"0.5rem\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <button\r\n [class.filter-active]=\"filterBarVisible\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n (click)=\"toggleFilterBar()\"\r\n >\r\n <span class=\"material-icons\">filter_list</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.FILTER_TOGGLE\" | translate }}</span>\r\n </button>\r\n\r\n <div *ngIf=\"showFilterReset\" class=\"clear-filters-wrapper\">\r\n <button mat-icon-button (click)=\"clearFilters()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"showSearch\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n class=\"wild-search-wrapper\"\r\n >\r\n <mat-icon\r\n class=\"search-icon\"\r\n [matTooltip]=\"hideSearchTooltip ? '' : (searchTooltip | translate)\"\r\n >search</mat-icon\r\n >\r\n <input\r\n [value]=\"config.filter?.settings?.searchValue ?? ''\"\r\n #wildSearch\r\n type=\"text\"\r\n [placeholder]=\"searchTitle | translate\"\r\n (keyup)=\"search($event)\"\r\n />\r\n <button\r\n *ngIf=\"showSearchClearButton && wildSearch.value\"\r\n mat-icon-button\r\n class=\"wild-search-clear-btn\"\r\n (click)=\"wildSearch.value = ''; search({ target: { value: '' } })\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <ng-content select=\"[additionalActions]\"></ng-content>\r\n </div>\r\n\r\n <tld-filter-bar\r\n *ngIf=\"config.filter && config.filter.enabled\"\r\n #filterBar\r\n [filterRowVisible]=\"filterBarVisible\"\r\n [settings]=\"config.filter.settings\"\r\n (filterBarChange)=\"filtersChanged($event)\"\r\n >\r\n </tld-filter-bar>\r\n\r\n <ng-content select=\"[batchActions]\"></ng-content>\r\n\r\n <div\r\n #tableContainer\r\n class=\"table-overflow\"\r\n [class.table-sticky-header]=\"config?.stickyHeader\"\r\n [class.table-dragable]=\"tableOverflow && !config?.disableMouseDragging\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mouseup)=\"onMouseUp()\"\r\n (mouseleave)=\"onMouseUp()\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n >\r\n <table\r\n #table\r\n mat-table\r\n [dataSource]=\"dataSource!\"\r\n [trackBy]=\"trackByFn\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container [matColumnDef]=\"batchColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT_ALL' | translate\"\r\n [disabled]=\"config.batchConfig!.checkBoxesDisabled\"\r\n (change)=\"toggleAllRowSelection()\"\r\n [checked]=\"matSelection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"matSelection.hasValue() && !isAllSelected()\"\r\n >\r\n </mat-checkbox>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n >\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT' | translate\"\r\n *ngIf=\"\r\n isRowCheckboxAlwaysVisible ||\r\n hoveredRow === element ||\r\n matSelection.isSelected(element)\r\n \"\r\n [disabled]=\"\r\n config.batchConfig!.checkBoxesDisabled ||\r\n (preselectedItems.includes(element) && disablePreselectedItems)\r\n \"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"toggleElementSelection(element)\"\r\n [checked]=\"matSelection.isSelected(element)\"\r\n >\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <tr\r\n mat-header-row\r\n *matHeaderRowDef=\"displayColumns; sticky: config?.stickyHeader ?? false\"\r\n ></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; let index = index; columns: displayColumns\"\r\n (click)=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n ? config?.rowClickCallback(row)\r\n : null\r\n \"\r\n (mouseover)=\"rowHovered(index,row)\"\r\n (mouseleave)=\"rowHoverLeave()\"\r\n [class.row-clickable]=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n \"\r\n [class.highlight-error]=\"highlightErrorElement(index, row)\"\r\n [class.highlight]=\"isElementHighlighted(index,row)\"\r\n ></tr>\r\n\r\n <ng-container [matColumnDef]=\"columnSelectColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"column-selector-wrapper\">\r\n <button\r\n class=\"column-selector\"\r\n mat-icon-button\r\n color=\"accent\"\r\n [matMenuTriggerFor]=\"columnMenu\"\r\n >\r\n <span class=\"material-icons\">more_vert</span>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n ></td>\r\n </ng-container>\r\n <ng-container *ngIf=\"noDataRowActive\">\r\n <tr *matNoDataRow>\r\n <!-- add random number to make sure it takes full width -->\r\n <td colspan=\"99\">\r\n <lib-status-display [config]=\"noDataRowConfig\"></lib-status-display>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </table>\r\n </div>\r\n\r\n @if(config.paginator?.enabled){\r\n @let paginatorConfig = config.paginator!;\r\n\r\n <mat-paginator \r\n [pageSize]=\"paginatorConfig.pageSize ?? 10\" \r\n [hidePageSize]=\"!paginatorConfig.showPageSize\" \r\n [showFirstLastButtons]=\"paginatorConfig.showFirstLastButtons\"\r\n [attr.aria-label]=\"'MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL' | translate\" \r\n [pageSizeOptions]=\"paginatorConfig.pageSizeOptions ?? [10]\" \r\n (page)=\"paginatorChange($event)\">\r\n </mat-paginator>\r\n }\r\n</div>\r\n\r\n<mat-menu #columnMenu=\"matMenu\">\r\n <div class=\"column-select-menu\" (click)=\"$event.stopPropagation()\">\r\n <div *ngFor=\"let column of configurableColumns\">\r\n <mat-checkbox [(ngModel)]=\"column.selected\">\r\n {{ column.displayName | translate }}\r\n </mat-checkbox>\r\n </div>\r\n\r\n <div class=\"column-select-save\">\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"updateDisplayColumns()\"\r\n >\r\n {{ \"MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep th,:host ::ng-deep tr{white-space:nowrap}:host ::ng-deep td:not(:first-of-type){padding-right:10px!important}:host ::ng-deep tr.mat-mdc-row:hover,:host ::ng-deep tr.mat-mdc-row.highlight{background-color:var(--base-95)}:host ::ng-deep tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}:host ::ng-deep .export-data .mdc-button__label{display:flex;align-items:center}:host ::ng-deep .mat-mdc-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}:host ::ng-deep .mdc-data-table__cell:nth-child(2),:host ::ng-deep .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}:host ::ng-deep td+.cdk-column-columnSelect{display:none}:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button,:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}:host ::ng-deep .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}:host ::ng-deep .filter-active{background-color:var(--neutral-95)}:host ::ng-deep .row-actions{opacity:0}:host ::ng-deep .mobile .row-actions,:host ::ng-deep .highlight .row-actions{opacity:1}:host ::ng-deep .mat-mdc-paginator-range-actions button{padding:8px}table{width:100%}.wild-search-wrapper{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper input{margin-right:30px}.wild-search-wrapper .search-icon{color:var(--base-40)}.wild-search-wrapper .wild-search-clear-btn{position:absolute;right:3px}.wild-search-wrapper .mat-mdc-icon-button,.wild-search-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:33px!important;width:33px!important}.wild-search-wrapper .mat-mdc-icon-button mat-icon,.wild-search-wrapper .mat-mdc-icon-button .material-icons,.wild-search-wrapper .mat-mdc-icon-button .material-icons-outlined{top:5px!important;left:5px!important}.mobile .wild-search-wrapper{margin:0}.column-selector-wrapper{display:flex;justify-content:end}.column-select-menu{padding:8px 18px 8px 8px}.column-select-save{padding-left:8px;padding-top:8px}.column-select-save button{width:100%}.row-clickable{cursor:pointer}.row-clickable:active{background-color:var(--base-70)!important}.material-icons,.material-icons-outlined{margin-right:.5rem}.table-action-button{margin-bottom:1rem}th.mat-mdc-header-cell:first-of-type,td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type{padding:0 0 0 10px}.row-select{width:0}.table-overflow{overflow-x:auto}.table-dragable{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable:active{cursor:grabbing}.table-sticky-header{max-height:70vh}\n"] }]
|
|
4545
|
+
args: [{ selector: 'tld-multi-functional-table', standalone: false, template: "<div [ngClass.lt-md]=\"'mobile'\" fxLayout=\"column\" fxLayoutGap=\"0.75rem\">\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" fxLayoutGap.lt-md=\"0.75rem\">\r\n <div\r\n fxFlex\r\n fxLayout.lt-md=\"column\"\r\n fxLayoutGap=\"0.75rem\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutAlign.lt-md=\"start start\"\r\n class=\"action-row\"\r\n >\r\n <button\r\n class=\"export-data\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n *ngIf=\"exportActive\"\r\n (click)=\"export()\"\r\n >\r\n <span class=\"material-icons-outlined\">cloud_download</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.EXPORT\" | translate }}</span>\r\n </button>\r\n\r\n <div\r\n *ngIf=\"filterActive && showFilterToggle\"\r\n fxFlex\r\n fxLayoutGap=\"0.5rem\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <button\r\n [class.filter-active]=\"filterBarVisible\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n (click)=\"toggleFilterBar()\"\r\n >\r\n <span class=\"material-icons\">filter_list</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.FILTER_TOGGLE\" | translate }}</span>\r\n </button>\r\n\r\n <div *ngIf=\"showFilterReset\" class=\"clear-filters-wrapper\">\r\n <button mat-icon-button (click)=\"clearFilters()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"showSearch\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n class=\"wild-search-wrapper\"\r\n >\r\n <mat-icon\r\n class=\"search-icon\"\r\n [matTooltip]=\"hideSearchTooltip ? '' : (searchTooltip | translate)\"\r\n >search</mat-icon\r\n >\r\n <input\r\n [value]=\"config.filter?.settings?.searchValue ?? ''\"\r\n #wildSearch\r\n type=\"text\"\r\n [placeholder]=\"searchTitle | translate\"\r\n (keyup)=\"search($event)\"\r\n />\r\n <button\r\n *ngIf=\"showSearchClearButton && wildSearch.value\"\r\n mat-icon-button\r\n class=\"wild-search-clear-btn\"\r\n (click)=\"wildSearch.value = ''; search({ target: { value: '' } })\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <ng-content select=\"[additionalActions]\"></ng-content>\r\n </div>\r\n\r\n <tld-filter-bar\r\n *ngIf=\"config.filter && config.filter.enabled\"\r\n #filterBar\r\n [filterRowVisible]=\"filterBarVisible\"\r\n [settings]=\"config.filter.settings\"\r\n (filterBarChange)=\"filtersChanged($event)\"\r\n >\r\n </tld-filter-bar>\r\n\r\n <ng-content select=\"[batchActions]\"></ng-content>\r\n\r\n <div\r\n #tableContainer\r\n class=\"table-overflow\"\r\n [class.table-sticky-header]=\"config?.stickyHeader\"\r\n [class.table-dragable]=\"tableOverflow && !config?.disableMouseDragging\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mouseup)=\"onMouseUp()\"\r\n (mouseleave)=\"onMouseUp()\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n >\r\n <table\r\n #table\r\n mat-table\r\n [dataSource]=\"dataSource!\"\r\n [trackBy]=\"trackByFn\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container [matColumnDef]=\"batchColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"batch-header\">\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT_ALL' | translate\"\r\n [disabled]=\"config.batchConfig!.checkBoxesDisabled\"\r\n (change)=\"toggleAllRowSelection()\"\r\n [checked]=\"matSelection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"matSelection.hasValue() && !isAllSelected()\"\r\n >\r\n </mat-checkbox>\r\n <button\r\n *ngIf=\"config.batchConfig?.rangeSelection\"\r\n class=\"range-select-trigger\"\r\n mat-icon-button\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_TITLE' | translate\"\r\n [matMenuTriggerFor]=\"rangeSelectMenu\"\r\n >\r\n <mat-icon>arrow_drop_down</mat-icon>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n >\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT' | translate\"\r\n *ngIf=\"\r\n isRowCheckboxAlwaysVisible ||\r\n hoveredRow === element ||\r\n matSelection.isSelected(element)\r\n \"\r\n [disabled]=\"\r\n config.batchConfig!.checkBoxesDisabled ||\r\n (preselectedItems.includes(element) && disablePreselectedItems)\r\n \"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"toggleElementSelection(element)\"\r\n [checked]=\"matSelection.isSelected(element)\"\r\n >\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <tr\r\n mat-header-row\r\n *matHeaderRowDef=\"displayColumns; sticky: config?.stickyHeader ?? false\"\r\n ></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; let index = index; columns: displayColumns\"\r\n (click)=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n ? config?.rowClickCallback(row)\r\n : null\r\n \"\r\n (mouseover)=\"rowHovered(index,row)\"\r\n (mouseleave)=\"rowHoverLeave()\"\r\n [class.row-clickable]=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n \"\r\n [class.highlight-error]=\"highlightErrorElement(index, row)\"\r\n [class.highlight]=\"isElementHighlighted(index,row)\"\r\n ></tr>\r\n\r\n <ng-container [matColumnDef]=\"columnSelectColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"column-selector-wrapper\">\r\n <button\r\n class=\"column-selector\"\r\n mat-icon-button\r\n color=\"accent\"\r\n [matMenuTriggerFor]=\"columnMenu\"\r\n >\r\n <span class=\"material-icons\">more_vert</span>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n ></td>\r\n </ng-container>\r\n <ng-container *ngIf=\"noDataRowActive\">\r\n <tr *matNoDataRow>\r\n <!-- add random number to make sure it takes full width -->\r\n <td colspan=\"99\">\r\n <lib-status-display [config]=\"noDataRowConfig\"></lib-status-display>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </table>\r\n </div>\r\n\r\n @if(config.paginator?.enabled){\r\n @let paginatorConfig = config.paginator!;\r\n\r\n <mat-paginator \r\n [pageSize]=\"paginatorConfig.pageSize ?? 10\" \r\n [hidePageSize]=\"!paginatorConfig.showPageSize\" \r\n [showFirstLastButtons]=\"paginatorConfig.showFirstLastButtons\"\r\n [attr.aria-label]=\"'MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL' | translate\" \r\n [pageSizeOptions]=\"paginatorConfig.pageSizeOptions ?? [10]\" \r\n (page)=\"paginatorChange($event)\">\r\n </mat-paginator>\r\n }\r\n</div>\r\n\r\n<mat-menu #columnMenu=\"matMenu\">\r\n <div class=\"column-select-menu\" (click)=\"$event.stopPropagation()\">\r\n <div *ngFor=\"let column of configurableColumns\">\r\n <mat-checkbox [(ngModel)]=\"column.selected\">\r\n {{ column.displayName | translate }}\r\n </mat-checkbox>\r\n </div>\r\n\r\n <div class=\"column-select-save\">\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"updateDisplayColumns()\"\r\n >\r\n {{ \"MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n\r\n<mat-menu #rangeSelectMenu=\"matMenu\">\r\n <div\r\n class=\"range-select-menu\"\r\n (click)=\"$event.stopPropagation()\"\r\n (keydown)=\"$event.stopPropagation()\"\r\n >\r\n <div class=\"range-select-title\">\r\n {{ \"MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_TITLE\" | translate }}\r\n </div>\r\n\r\n <div class=\"range-select-inputs\">\r\n <mat-form-field appearance=\"outline\" class=\"range-select-field\">\r\n <mat-label>{{ \"MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_FROM\" | translate }}</mat-label>\r\n <input matInput type=\"number\" min=\"1\" [(ngModel)]=\"rangeSelectionFrom\" />\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\" class=\"range-select-field\">\r\n <mat-label>{{ \"MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_TO\" | translate }}</mat-label>\r\n <input matInput type=\"number\" min=\"1\" [(ngModel)]=\"rangeSelectionTo\" />\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"range-select-apply\">\r\n <button mat-flat-button color=\"accent\" (click)=\"applyRangeSelection()\">\r\n {{ \"MULTI_FUNCTIONAL_TABLE.RANGE_SELECT_APPLY\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep th,:host ::ng-deep tr{white-space:nowrap}:host ::ng-deep td:not(:first-of-type){padding-right:10px!important}:host ::ng-deep tr.mat-mdc-row:hover,:host ::ng-deep tr.mat-mdc-row.highlight{background-color:var(--base-95)}:host ::ng-deep tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}:host ::ng-deep .export-data .mdc-button__label{display:flex;align-items:center}:host ::ng-deep .mat-mdc-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}:host ::ng-deep .mdc-data-table__cell:nth-child(2),:host ::ng-deep .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}:host ::ng-deep td+.cdk-column-columnSelect{display:none}:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button,:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}:host ::ng-deep .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}:host ::ng-deep .filter-active{background-color:var(--neutral-95)}:host ::ng-deep .row-actions{opacity:0}:host ::ng-deep .mobile .row-actions,:host ::ng-deep .highlight .row-actions{opacity:1}:host ::ng-deep .mat-mdc-paginator-range-actions button{padding:8px}table{width:100%}.wild-search-wrapper{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper input{margin-right:30px}.wild-search-wrapper .search-icon{color:var(--base-40)}.wild-search-wrapper .wild-search-clear-btn{position:absolute;right:3px}.wild-search-wrapper .mat-mdc-icon-button,.wild-search-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:33px!important;width:33px!important}.wild-search-wrapper .mat-mdc-icon-button mat-icon,.wild-search-wrapper .mat-mdc-icon-button .material-icons,.wild-search-wrapper .mat-mdc-icon-button .material-icons-outlined{top:5px!important;left:5px!important}.mobile .wild-search-wrapper{margin:0}.column-selector-wrapper{display:flex;justify-content:end}.column-select-menu{padding:8px 18px 8px 8px}.column-select-save{padding-left:8px;padding-top:8px}.column-select-save button{width:100%}.row-clickable{cursor:pointer}.row-clickable:active{background-color:var(--base-70)!important}.material-icons,.material-icons-outlined{margin-right:.5rem}.table-action-button{margin-bottom:1rem}th.mat-mdc-header-cell:first-of-type,td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type{padding:0 0 0 10px}.row-select{width:0}.table-overflow{overflow-x:auto}.table-dragable{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable:active{cursor:grabbing}.table-sticky-header{max-height:70vh}.batch-header{display:flex;align-items:center}.range-select-trigger.mat-mdc-icon-button{margin-left:-4px}.range-select-menu{padding:12px 16px;min-width:240px}.range-select-menu .range-select-title{font-size:1rem;font-weight:500;margin-bottom:12px}.range-select-menu .range-select-inputs{display:flex;gap:12px}.range-select-menu .range-select-field,.range-select-menu .range-select-apply button{width:100%}\n"] }]
|
|
4486
4546
|
}], () => [{ type: DOMService }, { type: i1.TranslateService }], { config: [{
|
|
4487
4547
|
type: Input
|
|
4488
4548
|
}], highlightedElements: [{
|
|
@@ -4567,6 +4627,8 @@ class MultiFunctionalTableModule {
|
|
|
4567
4627
|
TranslateModule,
|
|
4568
4628
|
MatMenuModule,
|
|
4569
4629
|
MatCheckboxModule,
|
|
4630
|
+
MatFormFieldModule,
|
|
4631
|
+
MatInputModule,
|
|
4570
4632
|
FormsModule,
|
|
4571
4633
|
FilterBarModule,
|
|
4572
4634
|
FlexLayoutModule,
|
|
@@ -4590,6 +4652,8 @@ class MultiFunctionalTableModule {
|
|
|
4590
4652
|
TranslateModule,
|
|
4591
4653
|
MatMenuModule,
|
|
4592
4654
|
MatCheckboxModule,
|
|
4655
|
+
MatFormFieldModule,
|
|
4656
|
+
MatInputModule,
|
|
4593
4657
|
FormsModule,
|
|
4594
4658
|
FilterBarModule,
|
|
4595
4659
|
FlexLayoutModule,
|
|
@@ -4617,6 +4681,8 @@ class MultiFunctionalTableModule {
|
|
|
4617
4681
|
TranslateModule,
|
|
4618
4682
|
MatMenuModule,
|
|
4619
4683
|
MatCheckboxModule,
|
|
4684
|
+
MatFormFieldModule,
|
|
4685
|
+
MatInputModule,
|
|
4620
4686
|
FormsModule,
|
|
4621
4687
|
FilterBarModule,
|
|
4622
4688
|
FlexLayoutModule,
|