@inspark/inspark-components 19.0.45 → 19.0.46
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.
|
@@ -718,24 +718,25 @@ class TableColumnsMultiselectComponent {
|
|
|
718
718
|
}] }); })();
|
|
719
719
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableColumnsMultiselectComponent, { className: "TableColumnsMultiselectComponent", filePath: "components/table/table-columns-multiselect/table-columns-multiselect.component.ts", lineNumber: 10 }); })();
|
|
720
720
|
|
|
721
|
-
const _c0$
|
|
721
|
+
const _c0$g = [[["", "buttons", ""]]];
|
|
722
722
|
const _c1$b = ["[buttons]"];
|
|
723
723
|
const _c2$6 = a0 => ({ columns: a0 });
|
|
724
724
|
const _c3$5 = a0 => ({ $implicit: a0 });
|
|
725
|
-
const _c4$3 = () => ({
|
|
726
|
-
const _c5$1 = (
|
|
727
|
-
const _c6 = a0 => ({
|
|
728
|
-
const _c7 =
|
|
729
|
-
const _c8 = (a0, a1) => ({
|
|
730
|
-
const _c9 = () => ({
|
|
731
|
-
const _c10 =
|
|
725
|
+
const _c4$3 = (a0, a1) => ({ $implicit: a0, columns: a1 });
|
|
726
|
+
const _c5$1 = () => ({ width: "100%", overflow: "visible" });
|
|
727
|
+
const _c6 = (a0, a1, a2) => ({ rowIndex: a0, rowData: a1, columns: a2 });
|
|
728
|
+
const _c7 = a0 => ({ row_active: a0 });
|
|
729
|
+
const _c8 = (a0, a1, a2, a3, a4, a5) => ({ "row_status_success": a0, "row_status_error": a1, "row_status_warning": a2, "row_status_critical": a3, "row_status_falsevalue": a4, "row_status_pending": a5 });
|
|
730
|
+
const _c9 = (a0, a1) => ({ data: a0, col: a1 });
|
|
731
|
+
const _c10 = () => ({ standalone: true });
|
|
732
|
+
const _c11 = a0 => ({ "is-dropdown-menu__listitem_active": a0 });
|
|
732
733
|
function TableComponent_span_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
733
|
-
i0.ɵɵelementStart(0, "span",
|
|
734
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
734
735
|
i0.ɵɵtext(1, "*");
|
|
735
736
|
i0.ɵɵelementEnd();
|
|
736
737
|
} }
|
|
737
738
|
function TableComponent_span_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
738
|
-
i0.ɵɵelementStart(0, "span",
|
|
739
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
739
740
|
i0.ɵɵtext(1);
|
|
740
741
|
i0.ɵɵelementEnd();
|
|
741
742
|
} if (rf & 2) {
|
|
@@ -744,9 +745,9 @@ function TableComponent_span_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
744
745
|
i0.ɵɵtextInterpolate(ctx_r1.error);
|
|
745
746
|
} }
|
|
746
747
|
function TableComponent_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
747
|
-
i0.ɵɵelementStart(0, "span",
|
|
748
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
748
749
|
i0.ɵɵtext(1);
|
|
749
|
-
i0.ɵɵtemplate(2, TableComponent_span_0_span_2_Template, 2, 0, "span",
|
|
750
|
+
i0.ɵɵtemplate(2, TableComponent_span_0_span_2_Template, 2, 0, "span", 8)(3, TableComponent_span_0_span_3_Template, 2, 1, "span", 9);
|
|
750
751
|
i0.ɵɵelementEnd();
|
|
751
752
|
} if (rf & 2) {
|
|
752
753
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -761,24 +762,24 @@ function TableComponent_3_ng_template_0_ng_container_0_Template(rf, ctx) { if (r
|
|
|
761
762
|
i0.ɵɵelementContainer(0);
|
|
762
763
|
} }
|
|
763
764
|
function TableComponent_3_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
764
|
-
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_ng_container_0_Template, 1, 0, "ng-container",
|
|
765
|
+
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 13);
|
|
765
766
|
} if (rf & 2) {
|
|
766
767
|
const columns_r3 = ctx.$implicit;
|
|
767
768
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
768
769
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(4, _c3$5, i0.ɵɵpureFunction1(2, _c2$6, columns_r3)));
|
|
769
770
|
} }
|
|
770
771
|
function TableComponent_3_Template(rf, ctx) { if (rf & 1) {
|
|
771
|
-
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_Template, 1, 6, "ng-template",
|
|
772
|
+
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_Template, 1, 6, "ng-template", 12);
|
|
772
773
|
} }
|
|
773
774
|
function TableComponent_4_ng_template_0_colgroup_0_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
774
|
-
i0.ɵɵelement(0, "col",
|
|
775
|
+
i0.ɵɵelement(0, "col", 16);
|
|
775
776
|
} }
|
|
776
777
|
function TableComponent_4_ng_template_0_colgroup_0_col_2_Template(rf, ctx) { if (rf & 1) {
|
|
777
778
|
i0.ɵɵelement(0, "col");
|
|
778
779
|
} }
|
|
779
780
|
function TableComponent_4_ng_template_0_colgroup_0_Template(rf, ctx) { if (rf & 1) {
|
|
780
781
|
i0.ɵɵelementStart(0, "colgroup");
|
|
781
|
-
i0.ɵɵtemplate(1, TableComponent_4_ng_template_0_colgroup_0_col_1_Template, 1, 0, "col",
|
|
782
|
+
i0.ɵɵtemplate(1, TableComponent_4_ng_template_0_colgroup_0_col_1_Template, 1, 0, "col", 14)(2, TableComponent_4_ng_template_0_colgroup_0_col_2_Template, 1, 0, "col", 15);
|
|
782
783
|
i0.ɵɵelementEnd();
|
|
783
784
|
} if (rf & 2) {
|
|
784
785
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -788,141 +789,162 @@ function TableComponent_4_ng_template_0_colgroup_0_Template(rf, ctx) { if (rf &
|
|
|
788
789
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
789
790
|
} }
|
|
790
791
|
function TableComponent_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
791
|
-
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_colgroup_0_Template, 3, 2, "colgroup",
|
|
792
|
+
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_colgroup_0_Template, 3, 2, "colgroup", 5);
|
|
792
793
|
} if (rf & 2) {
|
|
793
794
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
794
795
|
i0.ɵɵproperty("ngIf", !ctx_r1.isMobileView);
|
|
795
796
|
} }
|
|
796
797
|
function TableComponent_4_Template(rf, ctx) { if (rf & 1) {
|
|
797
|
-
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_Template, 1, 1, "ng-template",
|
|
798
|
+
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_Template, 1, 1, "ng-template", 12);
|
|
798
799
|
} }
|
|
799
|
-
function
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
800
|
+
function TableComponent_ng_template_5_ng_container_0_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
801
|
+
i0.ɵɵelementContainer(0);
|
|
802
|
+
} }
|
|
803
|
+
function TableComponent_ng_template_5_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
804
|
+
i0.ɵɵelementContainerStart(0);
|
|
805
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 13);
|
|
806
|
+
i0.ɵɵelementContainerEnd();
|
|
807
|
+
} if (rf & 2) {
|
|
808
|
+
const columns_r4 = i0.ɵɵnextContext(2).$implicit;
|
|
809
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
810
|
+
i0.ɵɵadvance();
|
|
811
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c4$3, columns_r4, columns_r4));
|
|
812
|
+
} }
|
|
813
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
814
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
815
|
+
i0.ɵɵelementStart(0, "th", 20)(1, "input", 21);
|
|
816
|
+
i0.ɵɵlistener("change", function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1._onHeaderCheckboxChange($event)); })("click", function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template_input_click_1_listener($event) { i0.ɵɵrestoreView(_r5); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
803
817
|
i0.ɵɵelementEnd()();
|
|
804
818
|
} if (rf & 2) {
|
|
805
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
819
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
806
820
|
i0.ɵɵadvance();
|
|
807
821
|
i0.ɵɵproperty("checked", ctx_r1._isAllSelected());
|
|
808
822
|
} }
|
|
809
|
-
function
|
|
810
|
-
i0.ɵɵelement(0, "p-sortIcon",
|
|
823
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_p_sortIcon_5_Template(rf, ctx) { if (rf & 1) {
|
|
824
|
+
i0.ɵɵelement(0, "p-sortIcon", 25);
|
|
811
825
|
} if (rf & 2) {
|
|
812
|
-
const
|
|
813
|
-
i0.ɵɵproperty("field",
|
|
826
|
+
const col_r6 = i0.ɵɵnextContext().$implicit;
|
|
827
|
+
i0.ɵɵproperty("field", col_r6.field);
|
|
814
828
|
} }
|
|
815
|
-
function
|
|
816
|
-
i0.ɵɵelementStart(0, "th",
|
|
829
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
830
|
+
i0.ɵɵelementStart(0, "th", 22)(1, "div", 23);
|
|
817
831
|
i0.ɵɵpipe(2, "translate");
|
|
818
832
|
i0.ɵɵtext(3);
|
|
819
833
|
i0.ɵɵpipe(4, "translate");
|
|
820
834
|
i0.ɵɵelementEnd();
|
|
821
|
-
i0.ɵɵtemplate(5,
|
|
835
|
+
i0.ɵɵtemplate(5, TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_p_sortIcon_5_Template, 1, 1, "p-sortIcon", 24);
|
|
822
836
|
i0.ɵɵelementEnd();
|
|
823
837
|
} if (rf & 2) {
|
|
824
|
-
const
|
|
825
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
826
|
-
i0.ɵɵproperty("pSortableColumn",
|
|
838
|
+
const col_r6 = ctx.$implicit;
|
|
839
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
840
|
+
i0.ɵɵproperty("pSortableColumn", col_r6.field);
|
|
827
841
|
i0.ɵɵadvance();
|
|
828
|
-
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 4,
|
|
842
|
+
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 4, col_r6.label));
|
|
829
843
|
i0.ɵɵadvance(2);
|
|
830
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6,
|
|
844
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6, col_r6.label), " ");
|
|
831
845
|
i0.ɵɵadvance(2);
|
|
832
846
|
i0.ɵɵproperty("ngIf", ctx_r1.isSortIcon);
|
|
833
847
|
} }
|
|
834
|
-
function
|
|
835
|
-
i0.ɵɵelement(0, "th",
|
|
848
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
849
|
+
i0.ɵɵelement(0, "th", 20);
|
|
836
850
|
} }
|
|
837
|
-
function
|
|
838
|
-
const
|
|
839
|
-
i0.ɵɵelementStart(0, "input",
|
|
840
|
-
i0.ɵɵlistener("input", function
|
|
851
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_1_Template(rf, ctx) { if (rf & 1) {
|
|
852
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
853
|
+
i0.ɵɵelementStart(0, "input", 31);
|
|
854
|
+
i0.ɵɵlistener("input", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_1_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r7); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.target.value, col_r8.field, "contains")); });
|
|
841
855
|
i0.ɵɵelementEnd();
|
|
842
856
|
} }
|
|
843
|
-
function
|
|
844
|
-
const
|
|
845
|
-
i0.ɵɵelementStart(0, "p-dropdown",
|
|
846
|
-
i0.ɵɵlistener("onChange", function
|
|
857
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_dropdown_2_Template(rf, ctx) { if (rf & 1) {
|
|
858
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
859
|
+
i0.ɵɵelementStart(0, "p-dropdown", 32);
|
|
860
|
+
i0.ɵɵlistener("onChange", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_dropdown_2_Template_p_dropdown_onChange_0_listener($event) { i0.ɵɵrestoreView(_r10); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.value, col_r8.field, "equals")); });
|
|
847
861
|
i0.ɵɵelementEnd();
|
|
848
862
|
} if (rf & 2) {
|
|
849
|
-
let
|
|
850
|
-
const
|
|
851
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
852
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(3,
|
|
853
|
-
i0.ɵɵproperty("options", (
|
|
863
|
+
let tmp_11_0;
|
|
864
|
+
const col_r8 = i0.ɵɵnextContext().$implicit;
|
|
865
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
866
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(3, _c5$1));
|
|
867
|
+
i0.ɵɵproperty("options", (tmp_11_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_11_0.options);
|
|
854
868
|
} }
|
|
855
|
-
function
|
|
856
|
-
const
|
|
857
|
-
i0.ɵɵelementStart(0, "p-multiSelect",
|
|
869
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_multiSelect_3_Template(rf, ctx) { if (rf & 1) {
|
|
870
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
871
|
+
i0.ɵɵelementStart(0, "p-multiSelect", 33);
|
|
858
872
|
i0.ɵɵpipe(1, "translate");
|
|
859
|
-
i0.ɵɵlistener("onChange", function
|
|
873
|
+
i0.ɵɵlistener("onChange", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_multiSelect_3_Template_p_multiSelect_onChange_0_listener($event) { i0.ɵɵrestoreView(_r11); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.value, col_r8.field, "in")); });
|
|
860
874
|
i0.ɵɵelementEnd();
|
|
861
875
|
} if (rf & 2) {
|
|
862
|
-
let
|
|
863
|
-
const
|
|
864
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
865
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(6,
|
|
876
|
+
let tmp_12_0;
|
|
877
|
+
const col_r8 = i0.ɵɵnextContext().$implicit;
|
|
878
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
879
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(6, _c5$1));
|
|
866
880
|
i0.ɵɵpropertyInterpolate("defaultLabel", i0.ɵɵpipeBind1(1, 4, "All"));
|
|
867
|
-
i0.ɵɵproperty("options", (
|
|
881
|
+
i0.ɵɵproperty("options", (tmp_12_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_12_0.options);
|
|
868
882
|
} }
|
|
869
|
-
function
|
|
870
|
-
const
|
|
871
|
-
i0.ɵɵelementStart(0, "input",
|
|
872
|
-
i0.ɵɵlistener("input", function
|
|
883
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_4_Template(rf, ctx) { if (rf & 1) {
|
|
884
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
885
|
+
i0.ɵɵelementStart(0, "input", 31);
|
|
886
|
+
i0.ɵɵlistener("input", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_4_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r12); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.target.value, col_r8.field + "2filter", "contains")); });
|
|
873
887
|
i0.ɵɵelementEnd();
|
|
874
888
|
} }
|
|
875
|
-
function
|
|
876
|
-
i0.ɵɵelementStart(0, "th",
|
|
877
|
-
i0.ɵɵtemplate(1,
|
|
889
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
890
|
+
i0.ɵɵelementStart(0, "th", 27);
|
|
891
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_1_Template, 1, 0, "input", 28)(2, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_dropdown_2_Template, 1, 4, "p-dropdown", 29)(3, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_multiSelect_3_Template, 2, 7, "p-multiSelect", 30)(4, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_4_Template, 1, 0, "input", 28);
|
|
878
892
|
i0.ɵɵelementEnd();
|
|
879
893
|
} if (rf & 2) {
|
|
880
|
-
let tmp_8_0;
|
|
881
|
-
let tmp_9_0;
|
|
882
894
|
let tmp_10_0;
|
|
883
895
|
let tmp_11_0;
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
896
|
+
let tmp_12_0;
|
|
897
|
+
let tmp_13_0;
|
|
898
|
+
const col_r8 = ctx.$implicit;
|
|
899
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
900
|
+
i0.ɵɵproperty("ngSwitch", col_r8.field);
|
|
887
901
|
i0.ɵɵadvance();
|
|
888
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
902
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_10_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_10_0.type) === "text" ? col_r8.field : "");
|
|
889
903
|
i0.ɵɵadvance();
|
|
890
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
904
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_11_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_11_0.type) === "dropdown" ? col_r8.field : "");
|
|
891
905
|
i0.ɵɵadvance();
|
|
892
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
906
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_12_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_12_0.type) === "multiselect" ? col_r8.field : "");
|
|
893
907
|
i0.ɵɵadvance();
|
|
894
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
908
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_13_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_13_0.type) === "datetext" ? col_r8.field : "");
|
|
895
909
|
} }
|
|
896
|
-
function
|
|
910
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
897
911
|
i0.ɵɵelementStart(0, "tr");
|
|
898
|
-
i0.ɵɵtemplate(1,
|
|
912
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_1_Template, 1, 0, "th", 18)(2, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_Template, 5, 5, "th", 26);
|
|
899
913
|
i0.ɵɵelementEnd();
|
|
900
914
|
} if (rf & 2) {
|
|
901
|
-
const
|
|
915
|
+
const columns_r4 = i0.ɵɵnextContext(3).$implicit;
|
|
902
916
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
903
917
|
i0.ɵɵadvance();
|
|
904
918
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
905
919
|
i0.ɵɵadvance();
|
|
906
|
-
i0.ɵɵproperty("ngForOf",
|
|
920
|
+
i0.ɵɵproperty("ngForOf", columns_r4);
|
|
907
921
|
} }
|
|
908
|
-
function
|
|
909
|
-
i0.ɵɵ
|
|
910
|
-
i0.ɵɵ
|
|
911
|
-
i0.ɵɵtemplate(2, TableComponent_ng_template_5_ng_container_0_th_2_Template, 2, 1, "th", 16)(3, TableComponent_ng_template_5_ng_container_0_th_3_Template, 6, 8, "th", 17);
|
|
922
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
923
|
+
i0.ɵɵelementStart(0, "tr");
|
|
924
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template, 2, 1, "th", 18)(2, TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_Template, 6, 8, "th", 19);
|
|
912
925
|
i0.ɵɵelementEnd();
|
|
913
|
-
i0.ɵɵtemplate(
|
|
914
|
-
i0.ɵɵelementContainerEnd();
|
|
926
|
+
i0.ɵɵtemplate(3, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_Template, 3, 2, "tr", 5);
|
|
915
927
|
} if (rf & 2) {
|
|
916
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
917
|
-
i0.ɵɵadvance(
|
|
928
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
929
|
+
i0.ɵɵadvance();
|
|
918
930
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
919
931
|
i0.ɵɵadvance();
|
|
920
932
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
921
933
|
i0.ɵɵadvance();
|
|
922
934
|
i0.ɵɵproperty("ngIf", ctx_r1.toolbar && ctx_r1.toolbar.filter && ctx_r1.toolbar.filter.active);
|
|
923
935
|
} }
|
|
936
|
+
function TableComponent_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
937
|
+
i0.ɵɵelementContainerStart(0);
|
|
938
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_container_1_Template, 2, 5, "ng-container", 17)(2, TableComponent_ng_template_5_ng_container_0_ng_template_2_Template, 4, 3, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
939
|
+
i0.ɵɵelementContainerEnd();
|
|
940
|
+
} if (rf & 2) {
|
|
941
|
+
const defaultHeaderTemplate_r13 = i0.ɵɵreference(3);
|
|
942
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
943
|
+
i0.ɵɵadvance();
|
|
944
|
+
i0.ɵɵproperty("ngIf", ctx_r1.headerTemplate)("ngIfElse", defaultHeaderTemplate_r13);
|
|
945
|
+
} }
|
|
924
946
|
function TableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
925
|
-
i0.ɵɵtemplate(0, TableComponent_ng_template_5_ng_container_0_Template,
|
|
947
|
+
i0.ɵɵtemplate(0, TableComponent_ng_template_5_ng_container_0_Template, 4, 2, "ng-container", 5);
|
|
926
948
|
} if (rf & 2) {
|
|
927
949
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
928
950
|
i0.ɵɵproperty("ngIf", ctx_r1.showHeader);
|
|
@@ -931,135 +953,135 @@ function TableComponent_6_ng_template_0_ng_container_0_Template(rf, ctx) { if (r
|
|
|
931
953
|
i0.ɵɵelementContainer(0);
|
|
932
954
|
} }
|
|
933
955
|
function TableComponent_6_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
934
|
-
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_ng_container_0_Template, 1, 0, "ng-container",
|
|
956
|
+
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 13);
|
|
935
957
|
} if (rf & 2) {
|
|
936
|
-
const
|
|
937
|
-
const
|
|
938
|
-
const
|
|
958
|
+
const columns_r14 = ctx.columns;
|
|
959
|
+
const rowData_r15 = ctx.$implicit;
|
|
960
|
+
const rowIndex_r16 = ctx.rowIndex;
|
|
939
961
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
940
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.bodyTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction3(2,
|
|
962
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.bodyTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction3(2, _c6, rowIndex_r16, rowData_r15, columns_r14)));
|
|
941
963
|
} }
|
|
942
964
|
function TableComponent_6_Template(rf, ctx) { if (rf & 1) {
|
|
943
|
-
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_Template, 1, 8, "ng-template",
|
|
965
|
+
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_Template, 1, 8, "ng-template", 34);
|
|
944
966
|
} }
|
|
945
967
|
function TableComponent_7_ng_template_0_tr_0_Template(rf, ctx) { if (rf & 1) {
|
|
946
|
-
const
|
|
947
|
-
i0.ɵɵelementStart(0, "tr",
|
|
948
|
-
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_0_Template_tr_click_0_listener() { i0.ɵɵrestoreView(
|
|
949
|
-
i0.ɵɵelementStart(1, "td",
|
|
950
|
-
i0.ɵɵelement(3, "i",
|
|
968
|
+
const _r17 = i0.ɵɵgetCurrentView();
|
|
969
|
+
i0.ɵɵelementStart(0, "tr", 37);
|
|
970
|
+
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_0_Template_tr_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r17 = i0.ɵɵnextContext(); const index_r19 = ctx_r17.rowIndex; const rowData_r20 = ctx_r17.$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggleGroup(index_r19, rowData_r20.groupKey[ctx_r1.groupMode])); });
|
|
971
|
+
i0.ɵɵelementStart(1, "td", 38)(2, "span");
|
|
972
|
+
i0.ɵɵelement(3, "i", 39);
|
|
951
973
|
i0.ɵɵelementStart(4, "span");
|
|
952
974
|
i0.ɵɵtext(5);
|
|
953
975
|
i0.ɵɵpipe(6, "translate");
|
|
954
976
|
i0.ɵɵelementEnd()()()();
|
|
955
977
|
} if (rf & 2) {
|
|
956
|
-
const
|
|
978
|
+
const rowData_r20 = i0.ɵɵnextContext().$implicit;
|
|
957
979
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
958
980
|
i0.ɵɵadvance();
|
|
959
981
|
i0.ɵɵproperty("colSpan", ctx_r1.countVisibleColumns() + 1);
|
|
960
982
|
i0.ɵɵadvance(2);
|
|
961
|
-
i0.ɵɵproperty("ngClass", ctx_r1.groupInfo[
|
|
983
|
+
i0.ɵɵproperty("ngClass", ctx_r1.groupInfo[rowData_r20.groupKey[ctx_r1.groupMode]].isExpanded ? "in fa-fw in-chevron-down" : "in fa-fw in-chevron-right");
|
|
962
984
|
i0.ɵɵadvance(2);
|
|
963
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(6, 4,
|
|
985
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(6, 4, rowData_r20.groupKey[ctx_r1.groupMode]), " (", ctx_r1.countGroup(rowData_r20.groupKey[ctx_r1.groupMode], ctx_r1.groupMode), " )");
|
|
964
986
|
} }
|
|
965
987
|
function TableComponent_7_ng_template_0_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
966
|
-
const
|
|
967
|
-
i0.ɵɵelementStart(0, "td",
|
|
968
|
-
i0.ɵɵlistener("change", function TableComponent_7_ng_template_0_tr_1_td_1_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(
|
|
988
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
989
|
+
i0.ɵɵelementStart(0, "td", 43)(1, "input", 21);
|
|
990
|
+
i0.ɵɵlistener("change", function TableComponent_7_ng_template_0_tr_1_td_1_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(_r21); const rowData_r20 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1._onCheckboxChange($event, rowData_r20)); })("click", function TableComponent_7_ng_template_0_tr_1_td_1_Template_input_click_1_listener($event) { i0.ɵɵrestoreView(_r21); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
969
991
|
i0.ɵɵelementEnd()();
|
|
970
992
|
} if (rf & 2) {
|
|
971
|
-
const
|
|
993
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
972
994
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
973
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction6(4,
|
|
995
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction6(4, _c8, rowData_r20.sdirparamstatecolor === "success", rowData_r20.sdirparamstatecolor === "error", rowData_r20.sdirparamstatecolor === "warning", rowData_r20.sdirparamstatecolor === "critical", rowData_r20.sdirparamstatecolor === "falsevalue", rowData_r20.sdirparamstatecolor === "pending"));
|
|
974
996
|
i0.ɵɵadvance();
|
|
975
997
|
i0.ɵɵstyleProp("pointer-events", ctx_r1.selectionMode === "single" || ctx_r1.selectionMode === "multiple" && ctx_r1.checkboxSelection ? "none" : "auto");
|
|
976
|
-
i0.ɵɵproperty("checked", ctx_r1._isRowSelected(
|
|
998
|
+
i0.ɵɵproperty("checked", ctx_r1._isRowSelected(rowData_r20));
|
|
977
999
|
} }
|
|
978
1000
|
function TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
979
|
-
const
|
|
980
|
-
i0.ɵɵelementStart(0, "div",
|
|
981
|
-
i0.ɵɵlistener("mouseover", function TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template_div_mouseover_0_listener($event) { i0.ɵɵrestoreView(
|
|
1001
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
1002
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
1003
|
+
i0.ɵɵlistener("mouseover", function TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template_div_mouseover_0_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.showTooltip($event)); });
|
|
982
1004
|
i0.ɵɵtext(1);
|
|
983
1005
|
i0.ɵɵpipe(2, "propertyValue");
|
|
984
1006
|
i0.ɵɵpipe(3, "translate");
|
|
985
1007
|
i0.ɵɵpipe(4, "propertyValue");
|
|
986
1008
|
i0.ɵɵelementEnd();
|
|
987
1009
|
} if (rf & 2) {
|
|
988
|
-
const
|
|
989
|
-
const
|
|
1010
|
+
const col_r24 = i0.ɵɵnextContext().$implicit;
|
|
1011
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
990
1012
|
i0.ɵɵadvance();
|
|
991
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
1013
|
+
i0.ɵɵtextInterpolate1(" ", col_r24.translatable ? i0.ɵɵpipeBind1(3, 4, i0.ɵɵpipeBind2(2, 1, rowData_r20, col_r24.field)) : i0.ɵɵpipeBind2(4, 6, rowData_r20, col_r24.field), " ");
|
|
992
1014
|
} }
|
|
993
1015
|
function TableComponent_7_ng_template_0_tr_1_td_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
994
1016
|
i0.ɵɵelementContainer(0);
|
|
995
1017
|
} }
|
|
996
1018
|
function TableComponent_7_ng_template_0_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
997
|
-
const
|
|
998
|
-
i0.ɵɵelementStart(0, "td",
|
|
999
|
-
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_1_td_2_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
1000
|
-
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template, 5, 9, "div",
|
|
1019
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
1020
|
+
i0.ɵɵelementStart(0, "td", 44);
|
|
1021
|
+
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_1_td_2_Template_td_click_0_listener() { i0.ɵɵrestoreView(_r22); const rowData_r20 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.activeChange.emit(rowData_r20)); });
|
|
1022
|
+
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template, 5, 9, "div", 45)(2, TableComponent_7_ng_template_0_tr_1_td_2_ng_container_2_Template, 1, 0, "ng-container", 13);
|
|
1001
1023
|
i0.ɵɵelementEnd();
|
|
1002
1024
|
} if (rf & 2) {
|
|
1003
|
-
const
|
|
1004
|
-
const
|
|
1025
|
+
const col_r24 = ctx.$implicit;
|
|
1026
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
1005
1027
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1006
1028
|
i0.ɵɵadvance();
|
|
1007
1029
|
i0.ɵɵproperty("ngIf", !ctx_r1.valueTemplate);
|
|
1008
1030
|
i0.ɵɵadvance();
|
|
1009
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction2(3,
|
|
1031
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction2(3, _c9, rowData_r20, col_r24)));
|
|
1010
1032
|
} }
|
|
1011
1033
|
function TableComponent_7_ng_template_0_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
1012
|
-
i0.ɵɵelementStart(0, "tr",
|
|
1013
|
-
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_1_Template, 2, 11, "td",
|
|
1034
|
+
i0.ɵɵelementStart(0, "tr", 40);
|
|
1035
|
+
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_1_Template, 2, 11, "td", 41)(2, TableComponent_7_ng_template_0_tr_1_td_2_Template, 3, 8, "td", 42);
|
|
1014
1036
|
i0.ɵɵelementEnd();
|
|
1015
1037
|
} if (rf & 2) {
|
|
1016
|
-
const
|
|
1038
|
+
const rowData_r20 = i0.ɵɵnextContext().$implicit;
|
|
1017
1039
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1018
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4,
|
|
1040
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c7, ctx_r1.isRowActive(rowData_r20)))("pSelectableRow", rowData_r20);
|
|
1019
1041
|
i0.ɵɵadvance();
|
|
1020
1042
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
1021
1043
|
i0.ɵɵadvance();
|
|
1022
1044
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
1023
1045
|
} }
|
|
1024
1046
|
function TableComponent_7_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1025
|
-
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_tr_0_Template, 7, 6, "tr",
|
|
1047
|
+
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_tr_0_Template, 7, 6, "tr", 35)(1, TableComponent_7_ng_template_0_tr_1_Template, 3, 6, "tr", 36);
|
|
1026
1048
|
} if (rf & 2) {
|
|
1027
|
-
const
|
|
1028
|
-
const
|
|
1049
|
+
const index_r19 = ctx.rowIndex;
|
|
1050
|
+
const rowData_r20 = ctx.$implicit;
|
|
1029
1051
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1030
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isGrouped && ctx_r1.isShowGroup(
|
|
1052
|
+
i0.ɵɵproperty("ngIf", ctx_r1.isGrouped && ctx_r1.isShowGroup(rowData_r20.groupKey[ctx_r1.groupMode], index_r19));
|
|
1031
1053
|
i0.ɵɵadvance();
|
|
1032
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isGrouped || ctx_r1.groupInfo[
|
|
1054
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isGrouped || ctx_r1.groupInfo[rowData_r20.groupKey[ctx_r1.groupMode]].isExpanded);
|
|
1033
1055
|
} }
|
|
1034
1056
|
function TableComponent_7_Template(rf, ctx) { if (rf & 1) {
|
|
1035
|
-
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_Template, 2, 2, "ng-template",
|
|
1057
|
+
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_Template, 2, 2, "ng-template", 34);
|
|
1036
1058
|
} }
|
|
1037
1059
|
function TableComponent_8_ng_template_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1038
|
-
const
|
|
1039
|
-
i0.ɵɵelementStart(0, "div",
|
|
1060
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
1061
|
+
i0.ɵɵelementStart(0, "div", 58)(1, "form", 7)(2, "div", 59)(3, "input", 60, 2);
|
|
1040
1062
|
i0.ɵɵpipe(5, "translate");
|
|
1041
|
-
i0.ɵɵlistener("input", function TableComponent_8_ng_template_0_div_2_Template_input_input_3_listener() { i0.ɵɵrestoreView(
|
|
1042
|
-
i0.ɵɵtwoWayListener("ngModelChange", function TableComponent_8_ng_template_0_div_2_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(
|
|
1063
|
+
i0.ɵɵlistener("input", function TableComponent_8_ng_template_0_div_2_Template_input_input_3_listener() { i0.ɵɵrestoreView(_r26); const ctx_r1 = i0.ɵɵnextContext(3); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(ctx_r1.localSearch(dt_r9, ctx_r1.searchText)); });
|
|
1064
|
+
i0.ɵɵtwoWayListener("ngModelChange", function TableComponent_8_ng_template_0_div_2_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r1 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r1.searchText, $event) || (ctx_r1.searchText = $event); return i0.ɵɵresetView($event); });
|
|
1043
1065
|
i0.ɵɵelementEnd();
|
|
1044
|
-
i0.ɵɵelementStart(6, "button",
|
|
1066
|
+
i0.ɵɵelementStart(6, "button", 61);
|
|
1045
1067
|
i0.ɵɵpipe(7, "translate");
|
|
1046
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_2_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
1047
|
-
i0.ɵɵelement(8, "i",
|
|
1068
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_2_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r26); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.clear()); });
|
|
1069
|
+
i0.ɵɵelement(8, "i", 62);
|
|
1048
1070
|
i0.ɵɵelementEnd()()()();
|
|
1049
1071
|
} if (rf & 2) {
|
|
1050
1072
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
1051
1073
|
i0.ɵɵadvance(3);
|
|
1052
1074
|
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(5, 4, "SHARED.SEARCH") + ":");
|
|
1053
1075
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.searchText);
|
|
1054
|
-
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(8,
|
|
1076
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(8, _c10));
|
|
1055
1077
|
i0.ɵɵadvance(3);
|
|
1056
1078
|
i0.ɵɵattribute("title", i0.ɵɵpipeBind1(7, 6, "Reset"));
|
|
1057
1079
|
} }
|
|
1058
1080
|
function TableComponent_8_ng_template_0_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
1059
|
-
const
|
|
1060
|
-
i0.ɵɵelementStart(0, "button",
|
|
1061
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_5_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1062
|
-
i0.ɵɵelement(1, "i",
|
|
1081
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
1082
|
+
i0.ɵɵelementStart(0, "button", 63);
|
|
1083
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_5_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterToolbar($event)); });
|
|
1084
|
+
i0.ɵɵelement(1, "i", 64);
|
|
1063
1085
|
i0.ɵɵpipe(2, "translate");
|
|
1064
1086
|
i0.ɵɵelementEnd();
|
|
1065
1087
|
} if (rf & 2) {
|
|
@@ -1067,10 +1089,10 @@ function TableComponent_8_ng_template_0_button_5_Template(rf, ctx) { if (rf & 1)
|
|
|
1067
1089
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 1, "Service filter"));
|
|
1068
1090
|
} }
|
|
1069
1091
|
function TableComponent_8_ng_template_0_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
1070
|
-
const
|
|
1071
|
-
i0.ɵɵelementStart(0, "button",
|
|
1072
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_6_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1073
|
-
i0.ɵɵelement(1, "i",
|
|
1092
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
1093
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1094
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_6_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.treeAction.emit($event)); });
|
|
1095
|
+
i0.ɵɵelement(1, "i", 66);
|
|
1074
1096
|
i0.ɵɵpipe(2, "translate");
|
|
1075
1097
|
i0.ɵɵelementEnd();
|
|
1076
1098
|
} if (rf & 2) {
|
|
@@ -1080,10 +1102,10 @@ function TableComponent_8_ng_template_0_button_6_Template(rf, ctx) { if (rf & 1)
|
|
|
1080
1102
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Filter by rubric"));
|
|
1081
1103
|
} }
|
|
1082
1104
|
function TableComponent_8_ng_template_0_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
1083
|
-
const
|
|
1084
|
-
i0.ɵɵelementStart(0, "button",
|
|
1085
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1086
|
-
i0.ɵɵelement(1, "i",
|
|
1105
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
1106
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1107
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.addAction.emit($event)); });
|
|
1108
|
+
i0.ɵɵelement(1, "i", 67);
|
|
1087
1109
|
i0.ɵɵpipe(2, "translate");
|
|
1088
1110
|
i0.ɵɵelementEnd();
|
|
1089
1111
|
} if (rf & 2) {
|
|
@@ -1093,10 +1115,10 @@ function TableComponent_8_ng_template_0_button_7_Template(rf, ctx) { if (rf & 1)
|
|
|
1093
1115
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Add"));
|
|
1094
1116
|
} }
|
|
1095
1117
|
function TableComponent_8_ng_template_0_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
1096
|
-
const
|
|
1097
|
-
i0.ɵɵelementStart(0, "button",
|
|
1098
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_8_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1099
|
-
i0.ɵɵelement(1, "i",
|
|
1118
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
1119
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1120
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_8_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r30); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.linkAction.emit($event)); });
|
|
1121
|
+
i0.ɵɵelement(1, "i", 68);
|
|
1100
1122
|
i0.ɵɵpipe(2, "translate");
|
|
1101
1123
|
i0.ɵɵelementEnd();
|
|
1102
1124
|
} if (rf & 2) {
|
|
@@ -1106,10 +1128,10 @@ function TableComponent_8_ng_template_0_button_8_Template(rf, ctx) { if (rf & 1)
|
|
|
1106
1128
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Link"));
|
|
1107
1129
|
} }
|
|
1108
1130
|
function TableComponent_8_ng_template_0_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
1109
|
-
const
|
|
1110
|
-
i0.ɵɵelementStart(0, "button",
|
|
1111
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1112
|
-
i0.ɵɵelement(1, "i",
|
|
1131
|
+
const _r31 = i0.ɵɵgetCurrentView();
|
|
1132
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1133
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r31); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.csvAction.emit($event)); });
|
|
1134
|
+
i0.ɵɵelement(1, "i", 69);
|
|
1113
1135
|
i0.ɵɵpipe(2, "translate");
|
|
1114
1136
|
i0.ɵɵelementEnd();
|
|
1115
1137
|
} if (rf & 2) {
|
|
@@ -1119,10 +1141,10 @@ function TableComponent_8_ng_template_0_button_9_Template(rf, ctx) { if (rf & 1)
|
|
|
1119
1141
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "LOGS.SAVE_TO_CSV"));
|
|
1120
1142
|
} }
|
|
1121
1143
|
function TableComponent_8_ng_template_0_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
1122
|
-
const
|
|
1123
|
-
i0.ɵɵelementStart(0, "button",
|
|
1144
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
1145
|
+
i0.ɵɵelementStart(0, "button", 70);
|
|
1124
1146
|
i0.ɵɵpipe(1, "translate");
|
|
1125
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_10_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1147
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_10_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.saveAction.emit($event)); });
|
|
1126
1148
|
i0.ɵɵtext(2);
|
|
1127
1149
|
i0.ɵɵpipe(3, "translate");
|
|
1128
1150
|
i0.ɵɵelementEnd();
|
|
@@ -1134,10 +1156,10 @@ function TableComponent_8_ng_template_0_button_10_Template(rf, ctx) { if (rf & 1
|
|
|
1134
1156
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 5, "Save"), " ");
|
|
1135
1157
|
} }
|
|
1136
1158
|
function TableComponent_8_ng_template_0_button_11_Template(rf, ctx) { if (rf & 1) {
|
|
1137
|
-
const
|
|
1138
|
-
i0.ɵɵelementStart(0, "button",
|
|
1139
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1140
|
-
i0.ɵɵelement(1, "i",
|
|
1159
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
1160
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1161
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r33); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.groupEditAction.emit($event)); });
|
|
1162
|
+
i0.ɵɵelement(1, "i", 71);
|
|
1141
1163
|
i0.ɵɵpipe(2, "translate");
|
|
1142
1164
|
i0.ɵɵelementEnd();
|
|
1143
1165
|
} if (rf & 2) {
|
|
@@ -1147,10 +1169,10 @@ function TableComponent_8_ng_template_0_button_11_Template(rf, ctx) { if (rf & 1
|
|
|
1147
1169
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "groupEdit"));
|
|
1148
1170
|
} }
|
|
1149
1171
|
function TableComponent_8_ng_template_0_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
1150
|
-
const
|
|
1151
|
-
i0.ɵɵelementStart(0, "button",
|
|
1152
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1153
|
-
i0.ɵɵelement(1, "i",
|
|
1172
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
1173
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1174
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r34); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.paramsEditAction.emit($event)); });
|
|
1175
|
+
i0.ɵɵelement(1, "i", 71);
|
|
1154
1176
|
i0.ɵɵpipe(2, "translate");
|
|
1155
1177
|
i0.ɵɵelementEnd();
|
|
1156
1178
|
} if (rf & 2) {
|
|
@@ -1160,10 +1182,10 @@ function TableComponent_8_ng_template_0_button_13_Template(rf, ctx) { if (rf & 1
|
|
|
1160
1182
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "paramsEdit"));
|
|
1161
1183
|
} }
|
|
1162
1184
|
function TableComponent_8_ng_template_0_button_14_Template(rf, ctx) { if (rf & 1) {
|
|
1163
|
-
const
|
|
1164
|
-
i0.ɵɵelementStart(0, "button",
|
|
1165
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_14_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1166
|
-
i0.ɵɵelement(1, "i",
|
|
1185
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
1186
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1187
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_14_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r35); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeAction.emit($event)); });
|
|
1188
|
+
i0.ɵɵelement(1, "i", 72);
|
|
1167
1189
|
i0.ɵɵpipe(2, "translate");
|
|
1168
1190
|
i0.ɵɵelementEnd();
|
|
1169
1191
|
} if (rf & 2) {
|
|
@@ -1173,10 +1195,10 @@ function TableComponent_8_ng_template_0_button_14_Template(rf, ctx) { if (rf & 1
|
|
|
1173
1195
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Delete"));
|
|
1174
1196
|
} }
|
|
1175
1197
|
function TableComponent_8_ng_template_0_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
1176
|
-
const
|
|
1177
|
-
i0.ɵɵelementStart(0, "button",
|
|
1178
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1179
|
-
i0.ɵɵelement(1, "i",
|
|
1198
|
+
const _r36 = i0.ɵɵgetCurrentView();
|
|
1199
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1200
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r36); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.unlinkAction.emit($event)); });
|
|
1201
|
+
i0.ɵɵelement(1, "i", 73);
|
|
1180
1202
|
i0.ɵɵpipe(2, "translate");
|
|
1181
1203
|
i0.ɵɵelementEnd();
|
|
1182
1204
|
} if (rf & 2) {
|
|
@@ -1186,49 +1208,49 @@ function TableComponent_8_ng_template_0_button_15_Template(rf, ctx) { if (rf & 1
|
|
|
1186
1208
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Detach tag from selected items"));
|
|
1187
1209
|
} }
|
|
1188
1210
|
function TableComponent_8_ng_template_0_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
1189
|
-
const
|
|
1190
|
-
i0.ɵɵelementStart(0, "button",
|
|
1211
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
1212
|
+
i0.ɵɵelementStart(0, "button", 74);
|
|
1191
1213
|
i0.ɵɵpipe(1, "translate");
|
|
1192
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1214
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNodes(true)); });
|
|
1193
1215
|
i0.ɵɵnamespaceSVG();
|
|
1194
|
-
i0.ɵɵelementStart(2, "svg",
|
|
1195
|
-
i0.ɵɵelement(3, "path",
|
|
1216
|
+
i0.ɵɵelementStart(2, "svg", 75);
|
|
1217
|
+
i0.ɵɵelement(3, "path", 76);
|
|
1196
1218
|
i0.ɵɵelementEnd()();
|
|
1197
1219
|
} if (rf & 2) {
|
|
1198
1220
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(1, 1, "Expand all"));
|
|
1199
1221
|
} }
|
|
1200
1222
|
function TableComponent_8_ng_template_0_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
1201
|
-
const
|
|
1202
|
-
i0.ɵɵelementStart(0, "button",
|
|
1223
|
+
const _r38 = i0.ɵɵgetCurrentView();
|
|
1224
|
+
i0.ɵɵelementStart(0, "button", 74);
|
|
1203
1225
|
i0.ɵɵpipe(1, "translate");
|
|
1204
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_17_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1226
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_17_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r38); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNodes(false)); });
|
|
1205
1227
|
i0.ɵɵnamespaceSVG();
|
|
1206
|
-
i0.ɵɵelementStart(2, "svg",
|
|
1207
|
-
i0.ɵɵelement(3, "path",
|
|
1228
|
+
i0.ɵɵelementStart(2, "svg", 75);
|
|
1229
|
+
i0.ɵɵelement(3, "path", 77);
|
|
1208
1230
|
i0.ɵɵelementEnd()();
|
|
1209
1231
|
} if (rf & 2) {
|
|
1210
1232
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(1, 1, "Collapse all"));
|
|
1211
1233
|
} }
|
|
1212
1234
|
function TableComponent_8_ng_template_0_div_18_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
1213
|
-
const
|
|
1214
|
-
i0.ɵɵelementStart(0, "li",
|
|
1215
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_18_li_6_Template_a_click_1_listener() { const
|
|
1235
|
+
const _r39 = i0.ɵɵgetCurrentView();
|
|
1236
|
+
i0.ɵɵelementStart(0, "li", 84)(1, "a", 85);
|
|
1237
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_18_li_6_Template_a_click_1_listener() { const item_r40 = i0.ɵɵrestoreView(_r39).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.toggleMode(item_r40.value)); });
|
|
1216
1238
|
i0.ɵɵtext(2);
|
|
1217
1239
|
i0.ɵɵelementEnd()();
|
|
1218
1240
|
} if (rf & 2) {
|
|
1219
|
-
const
|
|
1241
|
+
const item_r40 = ctx.$implicit;
|
|
1220
1242
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1221
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2,
|
|
1243
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c11, item_r40.value === ctx_r1.groupMode));
|
|
1222
1244
|
i0.ɵɵadvance(2);
|
|
1223
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
1245
|
+
i0.ɵɵtextInterpolate1(" ", item_r40.label, " ");
|
|
1224
1246
|
} }
|
|
1225
1247
|
function TableComponent_8_ng_template_0_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
1226
|
-
i0.ɵɵelementStart(0, "div",
|
|
1248
|
+
i0.ɵɵelementStart(0, "div", 78)(1, "button", 79);
|
|
1227
1249
|
i0.ɵɵpipe(2, "translate");
|
|
1228
|
-
i0.ɵɵelement(3, "i",
|
|
1250
|
+
i0.ɵɵelement(3, "i", 80)(4, "i", 81);
|
|
1229
1251
|
i0.ɵɵelementEnd();
|
|
1230
|
-
i0.ɵɵelementStart(5, "ul",
|
|
1231
|
-
i0.ɵɵtemplate(6, TableComponent_8_ng_template_0_div_18_li_6_Template, 3, 4, "li",
|
|
1252
|
+
i0.ɵɵelementStart(5, "ul", 82);
|
|
1253
|
+
i0.ɵɵtemplate(6, TableComponent_8_ng_template_0_div_18_li_6_Template, 3, 4, "li", 83);
|
|
1232
1254
|
i0.ɵɵelementEnd()();
|
|
1233
1255
|
} if (rf & 2) {
|
|
1234
1256
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -1238,15 +1260,15 @@ function TableComponent_8_ng_template_0_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
1238
1260
|
i0.ɵɵproperty("ngForOf", ctx_r1.toolbar.groupSort.label);
|
|
1239
1261
|
} }
|
|
1240
1262
|
function TableComponent_8_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1241
|
-
const
|
|
1242
|
-
i0.ɵɵelementStart(0, "div",
|
|
1243
|
-
i0.ɵɵtemplate(2, TableComponent_8_ng_template_0_div_2_Template, 9, 9, "div",
|
|
1244
|
-
i0.ɵɵelementStart(3, "div",
|
|
1245
|
-
i0.ɵɵlistener("columnsChange", function TableComponent_8_ng_template_0_Template_in_table_columns_multiselect_columnsChange_4_listener($event) { i0.ɵɵrestoreView(
|
|
1263
|
+
const _r25 = i0.ɵɵgetCurrentView();
|
|
1264
|
+
i0.ɵɵelementStart(0, "div", 48)(1, "div", 49);
|
|
1265
|
+
i0.ɵɵtemplate(2, TableComponent_8_ng_template_0_div_2_Template, 9, 9, "div", 50);
|
|
1266
|
+
i0.ɵɵelementStart(3, "div", 51)(4, "in-table-columns-multiselect", 52);
|
|
1267
|
+
i0.ɵɵlistener("columnsChange", function TableComponent_8_ng_template_0_Template_in_table_columns_multiselect_columnsChange_4_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.columnsChange($event)); });
|
|
1246
1268
|
i0.ɵɵelementEnd()();
|
|
1247
|
-
i0.ɵɵtemplate(5, TableComponent_8_ng_template_0_button_5_Template, 3, 3, "button",
|
|
1269
|
+
i0.ɵɵtemplate(5, TableComponent_8_ng_template_0_button_5_Template, 3, 3, "button", 53)(6, TableComponent_8_ng_template_0_button_6_Template, 3, 4, "button", 54)(7, TableComponent_8_ng_template_0_button_7_Template, 3, 4, "button", 54)(8, TableComponent_8_ng_template_0_button_8_Template, 3, 4, "button", 54)(9, TableComponent_8_ng_template_0_button_9_Template, 3, 4, "button", 54)(10, TableComponent_8_ng_template_0_button_10_Template, 4, 7, "button", 55)(11, TableComponent_8_ng_template_0_button_11_Template, 3, 4, "button", 54);
|
|
1248
1270
|
i0.ɵɵprojection(12);
|
|
1249
|
-
i0.ɵɵtemplate(13, TableComponent_8_ng_template_0_button_13_Template, 3, 4, "button",
|
|
1271
|
+
i0.ɵɵtemplate(13, TableComponent_8_ng_template_0_button_13_Template, 3, 4, "button", 54)(14, TableComponent_8_ng_template_0_button_14_Template, 3, 4, "button", 54)(15, TableComponent_8_ng_template_0_button_15_Template, 3, 4, "button", 54)(16, TableComponent_8_ng_template_0_button_16_Template, 4, 3, "button", 56)(17, TableComponent_8_ng_template_0_button_17_Template, 4, 3, "button", 56)(18, TableComponent_8_ng_template_0_div_18_Template, 7, 4, "div", 57);
|
|
1250
1272
|
i0.ɵɵelementEnd()();
|
|
1251
1273
|
} if (rf & 2) {
|
|
1252
1274
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -1282,7 +1304,7 @@ function TableComponent_8_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
1282
1304
|
i0.ɵɵproperty("ngIf", ctx_r1.toolbar.groupSort);
|
|
1283
1305
|
} }
|
|
1284
1306
|
function TableComponent_8_Template(rf, ctx) { if (rf & 1) {
|
|
1285
|
-
i0.ɵɵtemplate(0, TableComponent_8_ng_template_0_Template, 19, 16, "ng-template",
|
|
1307
|
+
i0.ɵɵtemplate(0, TableComponent_8_ng_template_0_Template, 19, 16, "ng-template", 47);
|
|
1286
1308
|
} }
|
|
1287
1309
|
// NEW Factory Function
|
|
1288
1310
|
function tableFactory(wrapper) {
|
|
@@ -1687,14 +1709,14 @@ class TableComponent {
|
|
|
1687
1709
|
} if (rf & 2) {
|
|
1688
1710
|
let _t;
|
|
1689
1711
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dt = _t.first);
|
|
1690
|
-
} }, inputs: { columns: "columns", values: "values", scrollHeight: "scrollHeight", scrollable: "scrollable", selectionMode: "selectionMode", label: "label", error: "error", class: "class", required: "required", style: "style", toolbar: "toolbar", checkboxSelection: "checkboxSelection", active: "active", sortField: "sortField", isAscending: "isAscending", dataKey: "dataKey", stateKey: "stateKey", isGrouped: "isGrouped", customSort: "customSort", isGroupedExpanded: "isGroupedExpanded", showHeader: "showHeader", isMobileView: "isMobileView", resizableColumns: "resizableColumns", isTextSearch: "isTextSearch", isSortIcon: "isSortIcon", columnResizeMode: "columnResizeMode", selection: "selection" }, outputs: { activeChange: "activeChange", selectionChange: "selectionChange", addAction: "addAction", treeAction: "treeAction", csvAction: "csvAction", saveAction: "saveAction", removeAction: "removeAction", unlinkAction: "unlinkAction", linkAction: "linkAction", groupEditAction: "groupEditAction", paramsEditAction: "paramsEditAction", sortFunction: "sortFunction", filterFunction: "filterFunction" }, standalone: false, features: [i0.ɵɵProvidersFeature([TableService])], ngContentSelectors: _c1$b, decls: 9, vars: 25, consts: [["dt", ""], ["searchTextInput", ""], ["class", "c-label", 4, "ngIf"], [3, "onFilter", "onSort", "onStateRestore", "onStateSave", "sortFunction", "selectionChange", "selection", "columns", "customSort", "dataKey", "globalFilterFields", "resizableColumns", "scrollHeight", "scrollable", "selectionMode", "sortField", "sortOrder", "stateKey", "stateStorage", "value", "columnResizeMode"], [4, "ngIf"], ["pTemplate", "header"], [1, "c-label"], ["class", "c-label__req", 4, "ngIf"], ["class", "c-label__sub_is-error", 4, "ngIf"], [1, "c-label__req"], [1, "c-label__sub_is-error"], ["pTemplate", "colgroup"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["style", "width: 44px;", 4, "ngIf"], [4, "ngFor", "ngForOf"], [2, "width", "44px"], ["class", "u-position-relative u-text_center", "pResizableColumn", "", "style", "width: 44px;", 4, "ngIf"], ["class", "u-position-relative", "pResizableColumn", "", 3, "pSortableColumn", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 1, "u-position-relative", "u-text_center", 2, "width", "44px"], ["type", "checkbox", 1, "in-table-checkbox", 3, "change", "click", "checked"], ["pResizableColumn", "", 1, "u-position-relative", 3, "pSortableColumn"], [1, "p-table-thead-title", 3, "title"], ["class", "u-position-absolute u-position-absolute-right c-sorticon", "style", "display: flex; width: 18px; top: 0; height: 100%;", 3, "field", 4, "ngIf"], [1, "u-position-absolute", "u-position-absolute-right", "c-sorticon", 2, "display", "flex", "width", "18px", "top", "0", "height", "100%", 3, "field"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], [3, "ngSwitch"], ["autofocus", "", "class", "c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched", "pInputText", "", "type", "text", 3, "input", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "onChange", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "defaultLabel", "onChange", 4, "ngSwitchCase"], ["autofocus", "", "pInputText", "", "type", "text", 1, "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 3, "input"], ["appendTo", "body", 3, "onChange", "options"], ["appendTo", "body", 3, "onChange", "options", "defaultLabel"], ["pTemplate", "body"], ["class", "row_hover_highlight", 3, "click", 4, "ngIf"], ["class", "row", 3, "ngClass", "pSelectableRow", 4, "ngIf"], [1, "row_hover_highlight", 3, "click"], [3, "colSpan"], [3, "ngClass"], [1, "row", 3, "ngClass", "pSelectableRow"], ["class", "u-text_center", "style", "width: 44px", 3, "ngClass", 4, "ngIf"], ["class", "u-overflow-visible", 3, "click", 4, "ngFor", "ngForOf"], [1, "u-text_center", 2, "width", "44px", 3, "ngClass"], [1, "u-overflow-visible", 3, "click"], ["class", "p-table-tbody-content", "title", "", 3, "mouseover", 4, "ngIf"], ["title", "", 1, "p-table-tbody-content", 3, "mouseover"], ["pTemplate", "caption"], [1, "o-grid", "o-grid_no-gutter"], [1, "c-tree-table__toolbar-content", "u-display-inline-flex"], ["class", "c-form c-form_inline u-display-inline-block", 4, "ngIf"], [1, "c-btn", "c-btn_border-free", "c-btn_small"], [3, "columnsChange", "columns", "disableActiveCheckboxes"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "click", 4, "ngIf"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "disabled", "click", 4, "ngIf"], ["class", "c-btn c-btn_primary c-btn_small", 3, "disabled", "title", "click", 4, "ngIf"], ["class", "c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free", 3, "title", "click", 4, "ngIf"], ["class", "c-btn-group", "container", "body", "ngbDropdown", "", 4, "ngIf"], [1, "c-form", "c-form_inline", "u-display-inline-block"], [1, "input-wrapper", "u-margin-right-tiny"], ["autofocus", "", "pInputText", "", "required", "", "tabindex", "1", "type", "search", 1, "search-box", "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 2, "padding-right", "28px", 3, "input", "ngModelChange", "ngModel", "ngModelOptions", "placeholder"], ["type", "reset", 1, "button-reset", 3, "click"], [1, "in", "in-close"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click"], [1, "in", "in-filter", 3, "title"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click", "disabled"], [1, "in", "in-list", 3, "title"], [1, "in", "in-plus", 3, "title"], [1, "in", "in-link", 3, "title"], [1, "in", "in-file-excel-outline", 3, "title"], [1, "c-btn", "c-btn_primary", "c-btn_small", 3, "click", "disabled", "title"], [1, "in", "in-pencil", 3, "title"], [1, "in", "in-trash", 3, "title"], [1, "in", "in-link-off", 3, "title"], [1, "c-btn", "c-btn_small", "c-btn_svg-24", "c-icon", "c-icon_svg", "c-icon_svg-24", "c-btn_border-free", 3, "click", "title"], ["fill", "currentColor", "height", "24", "viewBox", "0 0 24 24", "width", "24", "xmlns", "http://www.w3.org/2000/svg"], ["d", "M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z"], ["clip-rule", "evenodd", "d", "M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z", "fill-rule", "evenodd"], ["container", "body", "ngbDropdown", "", 1, "c-btn-group"], ["id", "dropdownGroupType", "ngbDropdownToggle", "", 1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "title"], ["aria-hidden", "true", 1, "in", "in-object-group"], ["aria-hidden", "true", 1, "c-caret"], ["aria-labelledby", "dropdownGroupType", "ngbDropdownMenu", "", "role", "menu", 1, "c-dropdown-menu", "c-dropdown-menu_right", "ng-star-inserted"], ["class", "c-dropdown-menu__listitem is-dropdown-menu__listitem_active", "ngbDropdownItem", "", "role", "menuitem", 3, "ngClass", 4, "ngFor", "ngForOf"], ["ngbDropdownItem", "", "role", "menuitem", 1, "c-dropdown-menu__listitem", "is-dropdown-menu__listitem_active", 3, "ngClass"], [1, "c-dropdown-menu__content", 3, "click"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1712
|
+
} }, inputs: { columns: "columns", values: "values", scrollHeight: "scrollHeight", scrollable: "scrollable", selectionMode: "selectionMode", label: "label", error: "error", class: "class", required: "required", style: "style", toolbar: "toolbar", checkboxSelection: "checkboxSelection", active: "active", sortField: "sortField", isAscending: "isAscending", dataKey: "dataKey", stateKey: "stateKey", isGrouped: "isGrouped", customSort: "customSort", isGroupedExpanded: "isGroupedExpanded", showHeader: "showHeader", isMobileView: "isMobileView", resizableColumns: "resizableColumns", isTextSearch: "isTextSearch", isSortIcon: "isSortIcon", columnResizeMode: "columnResizeMode", selection: "selection" }, outputs: { activeChange: "activeChange", selectionChange: "selectionChange", addAction: "addAction", treeAction: "treeAction", csvAction: "csvAction", saveAction: "saveAction", removeAction: "removeAction", unlinkAction: "unlinkAction", linkAction: "linkAction", groupEditAction: "groupEditAction", paramsEditAction: "paramsEditAction", sortFunction: "sortFunction", filterFunction: "filterFunction" }, standalone: false, features: [i0.ɵɵProvidersFeature([TableService])], ngContentSelectors: _c1$b, decls: 9, vars: 25, consts: [["dt", ""], ["defaultHeaderTemplate", ""], ["searchTextInput", ""], ["class", "c-label", 4, "ngIf"], [3, "onFilter", "onSort", "onStateRestore", "onStateSave", "sortFunction", "selectionChange", "selection", "columns", "customSort", "dataKey", "globalFilterFields", "resizableColumns", "scrollHeight", "scrollable", "selectionMode", "sortField", "sortOrder", "stateKey", "stateStorage", "value", "columnResizeMode"], [4, "ngIf"], ["pTemplate", "header"], [1, "c-label"], ["class", "c-label__req", 4, "ngIf"], ["class", "c-label__sub_is-error", 4, "ngIf"], [1, "c-label__req"], [1, "c-label__sub_is-error"], ["pTemplate", "colgroup"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["style", "width: 44px;", 4, "ngIf"], [4, "ngFor", "ngForOf"], [2, "width", "44px"], [4, "ngIf", "ngIfElse"], ["class", "u-position-relative u-text_center", "pResizableColumn", "", "style", "width: 44px;", 4, "ngIf"], ["class", "u-position-relative", "pResizableColumn", "", 3, "pSortableColumn", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 1, "u-position-relative", "u-text_center", 2, "width", "44px"], ["type", "checkbox", 1, "in-table-checkbox", 3, "change", "click", "checked"], ["pResizableColumn", "", 1, "u-position-relative", 3, "pSortableColumn"], [1, "p-table-thead-title", 3, "title"], ["class", "u-position-absolute u-position-absolute-right c-sorticon", "style", "display: flex; width: 18px; top: 0; height: 100%;", 3, "field", 4, "ngIf"], [1, "u-position-absolute", "u-position-absolute-right", "c-sorticon", 2, "display", "flex", "width", "18px", "top", "0", "height", "100%", 3, "field"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], [3, "ngSwitch"], ["autofocus", "", "class", "c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched", "pInputText", "", "type", "text", 3, "input", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "onChange", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "defaultLabel", "onChange", 4, "ngSwitchCase"], ["autofocus", "", "pInputText", "", "type", "text", 1, "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 3, "input"], ["appendTo", "body", 3, "onChange", "options"], ["appendTo", "body", 3, "onChange", "options", "defaultLabel"], ["pTemplate", "body"], ["class", "row_hover_highlight", 3, "click", 4, "ngIf"], ["class", "row", 3, "ngClass", "pSelectableRow", 4, "ngIf"], [1, "row_hover_highlight", 3, "click"], [3, "colSpan"], [3, "ngClass"], [1, "row", 3, "ngClass", "pSelectableRow"], ["class", "u-text_center", "style", "width: 44px", 3, "ngClass", 4, "ngIf"], ["class", "u-overflow-visible", 3, "click", 4, "ngFor", "ngForOf"], [1, "u-text_center", 2, "width", "44px", 3, "ngClass"], [1, "u-overflow-visible", 3, "click"], ["class", "p-table-tbody-content", "title", "", 3, "mouseover", 4, "ngIf"], ["title", "", 1, "p-table-tbody-content", 3, "mouseover"], ["pTemplate", "caption"], [1, "o-grid", "o-grid_no-gutter"], [1, "c-tree-table__toolbar-content", "u-display-inline-flex"], ["class", "c-form c-form_inline u-display-inline-block", 4, "ngIf"], [1, "c-btn", "c-btn_border-free", "c-btn_small"], [3, "columnsChange", "columns", "disableActiveCheckboxes"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "click", 4, "ngIf"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "disabled", "click", 4, "ngIf"], ["class", "c-btn c-btn_primary c-btn_small", 3, "disabled", "title", "click", 4, "ngIf"], ["class", "c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free", 3, "title", "click", 4, "ngIf"], ["class", "c-btn-group", "container", "body", "ngbDropdown", "", 4, "ngIf"], [1, "c-form", "c-form_inline", "u-display-inline-block"], [1, "input-wrapper", "u-margin-right-tiny"], ["autofocus", "", "pInputText", "", "required", "", "tabindex", "1", "type", "search", 1, "search-box", "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 2, "padding-right", "28px", 3, "input", "ngModelChange", "ngModel", "ngModelOptions", "placeholder"], ["type", "reset", 1, "button-reset", 3, "click"], [1, "in", "in-close"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click"], [1, "in", "in-filter", 3, "title"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click", "disabled"], [1, "in", "in-list", 3, "title"], [1, "in", "in-plus", 3, "title"], [1, "in", "in-link", 3, "title"], [1, "in", "in-file-excel-outline", 3, "title"], [1, "c-btn", "c-btn_primary", "c-btn_small", 3, "click", "disabled", "title"], [1, "in", "in-pencil", 3, "title"], [1, "in", "in-trash", 3, "title"], [1, "in", "in-link-off", 3, "title"], [1, "c-btn", "c-btn_small", "c-btn_svg-24", "c-icon", "c-icon_svg", "c-icon_svg-24", "c-btn_border-free", 3, "click", "title"], ["fill", "currentColor", "height", "24", "viewBox", "0 0 24 24", "width", "24", "xmlns", "http://www.w3.org/2000/svg"], ["d", "M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z"], ["clip-rule", "evenodd", "d", "M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z", "fill-rule", "evenodd"], ["container", "body", "ngbDropdown", "", 1, "c-btn-group"], ["id", "dropdownGroupType", "ngbDropdownToggle", "", 1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "title"], ["aria-hidden", "true", 1, "in", "in-object-group"], ["aria-hidden", "true", 1, "c-caret"], ["aria-labelledby", "dropdownGroupType", "ngbDropdownMenu", "", "role", "menu", 1, "c-dropdown-menu", "c-dropdown-menu_right", "ng-star-inserted"], ["class", "c-dropdown-menu__listitem is-dropdown-menu__listitem_active", "ngbDropdownItem", "", "role", "menuitem", 3, "ngClass", 4, "ngFor", "ngForOf"], ["ngbDropdownItem", "", "role", "menuitem", 1, "c-dropdown-menu__listitem", "is-dropdown-menu__listitem_active", 3, "ngClass"], [1, "c-dropdown-menu__content", 3, "click"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1691
1713
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1692
|
-
i0.ɵɵprojectionDef(_c0$
|
|
1693
|
-
i0.ɵɵtemplate(0, TableComponent_span_0_Template, 4, 3, "span",
|
|
1694
|
-
i0.ɵɵelementStart(1, "p-table",
|
|
1714
|
+
i0.ɵɵprojectionDef(_c0$g);
|
|
1715
|
+
i0.ɵɵtemplate(0, TableComponent_span_0_Template, 4, 3, "span", 3);
|
|
1716
|
+
i0.ɵɵelementStart(1, "p-table", 4, 0);
|
|
1695
1717
|
i0.ɵɵlistener("onFilter", function TableComponent_Template_p_table_onFilter_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFilter($event)); })("onSort", function TableComponent_Template_p_table_onSort_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSort()); })("onStateRestore", function TableComponent_Template_p_table_onStateRestore_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.restoreSearchText()); })("onStateSave", function TableComponent_Template_p_table_onStateSave_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.stateSave($event)); })("sortFunction", function TableComponent_Template_p_table_sortFunction_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.sortFunction ? ctx.sortFunction.emit($event) : null); });
|
|
1696
1718
|
i0.ɵɵtwoWayListener("selectionChange", function TableComponent_Template_p_table_selectionChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectionValue, $event) || (ctx.selectionValue = $event); return i0.ɵɵresetView($event); });
|
|
1697
|
-
i0.ɵɵtemplate(3, TableComponent_3_Template, 1, 0, null,
|
|
1719
|
+
i0.ɵɵtemplate(3, TableComponent_3_Template, 1, 0, null, 5)(4, TableComponent_4_Template, 1, 0, null, 5)(5, TableComponent_ng_template_5_Template, 1, 1, "ng-template", 6)(6, TableComponent_6_Template, 1, 0, null, 5)(7, TableComponent_7_Template, 1, 0, null, 5)(8, TableComponent_8_Template, 1, 0, null, 5);
|
|
1698
1720
|
i0.ɵɵelementEnd();
|
|
1699
1721
|
} if (rf & 2) {
|
|
1700
1722
|
i0.ɵɵproperty("ngIf", ctx.label);
|
|
@@ -1717,7 +1739,7 @@ class TableComponent {
|
|
|
1717
1739
|
}
|
|
1718
1740
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
1719
1741
|
type: Component,
|
|
1720
|
-
args: [{ standalone: false, selector: 'in-table', providers: [TableService], template: "<span *ngIf=\"label\" class=\"c-label\">\r\n {{label}}\r\n <span *ngIf=\"required\" class=\"c-label__req\">*</span>\r\n <span *ngIf=\"error\" class=\"c-label__sub_is-error\">{{error}}</span>\r\n</span>\r\n<p-table #dt\r\n (onFilter) = onFilter($event)\r\n (onSort)=\"onSort()\"\r\n (onStateRestore)=\"restoreSearchText()\"\r\n (onStateSave)=\"stateSave($event)\"\r\n (sortFunction)=\"sortFunction? sortFunction.emit($event): null\"\r\n [(selection)]=\"selectionValue\"\r\n [class]=\"class\"\r\n [columns]=\"filteredColumns\"\r\n [customSort]=\"customSort\"\r\n [dataKey]=\"dataKey || 'id'\"\r\n [globalFilterFields]=\"globalFilteredColumns\"\r\n [resizableColumns]=\"resizableColumns\"\r\n [scrollHeight]=\"scrollHeight\"\r\n [scrollable]=\"scrollable\"\r\n [selectionMode]=\"selectionMode\"\r\n [sortField]=\"sortField || 'id'\"\r\n [sortOrder]=\"isAscending ? 1 : -1\"\r\n [stateKey]=\"stateKey\"\r\n [stateStorage]=\"'local'\"\r\n [style]=\"style\"\r\n [value]=\"values\"\r\n [columnResizeMode]=\"columnResizeMode\"\r\n>\r\n <ng-template *ngIf=\"colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <ng-container\r\n *ngTemplateOutlet=\"colGroupTemplate; context: {$implicit: { columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <colgroup *ngIf=\"!isMobileView\">\r\n <col *ngIf=\"checkboxSelection\" style=\"width: 44px;\">\r\n <col *ngFor=\"let col of filteredColumns; let idx = index\">\r\n </colgroup>\r\n </ng-template>\r\n\r\n <ng-template let-columns pTemplate=\"header\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn style=\"width: 44px;\">\r\n <!-- Native header checkbox bypasses dt.processedData (O(N log N) sort) used\r\n by p-tableHeaderCheckbox.toggleRowsWithCheckbox() on select all. -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isAllSelected()\"\r\n (change)=\"_onHeaderCheckboxChange($event)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </th>\r\n <th *ngFor=\"let col of filteredColumns\" [pSortableColumn]=\"col.field\" class=\"u-position-relative\"\r\n pResizableColumn>\r\n <div class=\"p-table-thead-title\"\r\n title=\"{{col.label | translate}}\">\r\n {{col.label | translate}}\r\n </div>\r\n <p-sortIcon *ngIf=\"isSortIcon\" [field]=\"col.field\"\r\n class=\"u-position-absolute u-position-absolute-right c-sorticon\"\r\n style=\"display: flex; width: 18px; top: 0; height: 100%;\"></p-sortIcon>\r\n </th>\r\n </tr>\r\n <tr *ngIf=\"toolbar && toolbar.filter && toolbar.filter.active\">\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn\r\n style=\"width: 44px;\"></th>\r\n <th *ngFor=\"let col of columns\" [ngSwitch]=\"col.field\">\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field, 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'text' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n\r\n <p-dropdown (onChange)=\"dt.filter($event.value, col.field, 'equals')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'dropdown' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\"\r\n appendTo=\"body\"></p-dropdown>\r\n\r\n <p-multiSelect (onChange)=\"dt.filter($event.value, col.field, 'in')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'multiselect' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\" appendTo=\"body\"\r\n defaultLabel=\"{{'All' | translate}}\"></p-multiSelect>\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field + '2filter', 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'datetext' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n </th>\r\n </tr>\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"bodyTemplate\" let-columns=\"columns\" let-rowData let-rowIndex=\"rowIndex\" pTemplate=\"body\">\r\n <ng-container\r\n *ngTemplateOutlet=\"bodyTemplate; context: {$implicit: { rowIndex: rowIndex, rowData: rowData, columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!bodyTemplate\" let-columns=\"columns\" let-index=\"rowIndex\" let-rowData pTemplate=\"body\">\r\n <tr\r\n (click)=\"toggleGroup(index, rowData.groupKey[groupMode])\"\r\n *ngIf=\"isGrouped && isShowGroup(rowData.groupKey[groupMode], index)\"\r\n class=\"row_hover_highlight\">\r\n <td [colSpan]=\"countVisibleColumns() + 1\">\r\n <span>\r\n <i\r\n [ngClass]=\"groupInfo[rowData.groupKey[groupMode]].isExpanded ? 'in fa-fw in-chevron-down' : 'in fa-fw in-chevron-right'\"></i>\r\n <span>{{rowData.groupKey[groupMode] | translate }} ({{countGroup(rowData.groupKey[groupMode], groupMode)}}\r\n )</span>\r\n </span>\r\n </td>\r\n </tr>\r\n <tr *ngIf=\"!isGrouped || groupInfo[(rowData.groupKey[groupMode])].isExpanded\"\r\n [ngClass]=\"{row_active: isRowActive(rowData)}\"\r\n [pSelectableRow]=\"rowData\"\r\n class=\"row\">\r\n <td *ngIf=\"checkboxSelection\" [ngClass]=\"{\r\n 'row_status_success': rowData.sdirparamstatecolor === 'success',\r\n 'row_status_error': rowData.sdirparamstatecolor === 'error',\r\n 'row_status_warning': rowData.sdirparamstatecolor === 'warning',\r\n 'row_status_critical': rowData.sdirparamstatecolor === 'critical',\r\n 'row_status_falsevalue': rowData.sdirparamstatecolor === 'falsevalue',\r\n 'row_status_pending': rowData.sdirparamstatecolor === 'pending'\r\n }\" class=\"u-text_center\"\r\n style=\"width: 44px\"\r\n >\r\n <!-- Native checkbox \u2014 no Angular component overhead (no NgModel/CVA/signals).\r\n Uses Set for O(1) state lookup instead of p-tableCheckbox's O(M) isSelected(). -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isRowSelected(rowData)\"\r\n [style.pointer-events]=\"(selectionMode === 'single' || (selectionMode === 'multiple' && checkboxSelection)) ? 'none' : 'auto'\"\r\n (change)=\"_onCheckboxChange($event, rowData)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </td>\r\n <td (click)=\"activeChange.emit(rowData)\"\r\n *ngFor=\"let col of filteredColumns\"\r\n class=\"u-overflow-visible\">\r\n <div (mouseover)=\"showTooltip($event)\" *ngIf=\"!valueTemplate\" class=\"p-table-tbody-content\" title>\r\n {{col.translatable ? (rowData | propertyValue: col.field | translate) : (rowData | propertyValue: col.field)}}\r\n </div>\r\n <ng-container\r\n *ngTemplateOutlet=\"valueTemplate; context: {$implicit: { data: rowData, col: col}}\"></ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"toolbar\" pTemplate=\"caption\">\r\n\r\n <div class=\"o-grid o-grid_no-gutter\">\r\n <div class=\"c-tree-table__toolbar-content u-display-inline-flex\">\r\n <div *ngIf=\"isTextSearch\" class=\"c-form c-form_inline u-display-inline-block\">\r\n <form class=\"c-label\">\r\n <div class=\"input-wrapper u-margin-right-tiny\">\r\n <input #searchTextInput\r\n (input)=\"localSearch(dt, searchText)\"\r\n [(ngModel)]=\"searchText\"\r\n [ngModelOptions]=\"{standalone: true}\"\r\n autofocus=\"\"\r\n class=\"search-box c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n placeholder=\"{{('SHARED.SEARCH' | translate) + ':'}}\"\r\n required\r\n style=\"padding-right: 28px\"\r\n tabindex=\"1\"\r\n type=\"search\"\r\n >\r\n <button (click)=\"clear()\" class=\"button-reset\" type=\"reset\"\r\n [attr.title]=\"'Reset' | translate\">\r\n <i class=\"in in-close\"></i>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"c-btn c-btn_border-free c-btn_small\">\r\n <in-table-columns-multiselect (columnsChange)=\"columnsChange($event)\"\r\n [columns]=\"primaryColumns\"\r\n [disableActiveCheckboxes]=\"countVisibleColumns() === 1\"></in-table-columns-multiselect>\r\n </div>\r\n\r\n <button (click)=\"onFilterToolbar($event)\" *ngIf=\"toolbar.filter\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-filter\" title=\"{{'Service filter' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"treeAction.emit($event)\" *ngIf=\"toolbar.tree\" [disabled]=\"toolbar.tree.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-list\" title=\"{{'Filter by rubric' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"addAction.emit($event)\" *ngIf=\"toolbar.add\" [disabled]=\"toolbar.add.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-plus\" title=\"{{'Add' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"linkAction.emit($event)\" *ngIf=\"toolbar.link\" [disabled]=\"toolbar.link.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-link\" title=\"{{'Link' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"csvAction.emit($event)\" *ngIf=\"toolbar.csv\" [disabled]=\"toolbar.csv.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <!--Todo: \u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430 in-file-csv-->\r\n <i class=\"in in-file-excel-outline\" title=\"{{'LOGS.SAVE_TO_CSV' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"saveAction.emit($event)\" *ngIf=\"toolbar.save\"\r\n [disabled]=\"toolbar.save.disabled\"\r\n class=\"c-btn c-btn_primary c-btn_small\"\r\n title=\"{{'Save' | translate}}\"\r\n >\r\n {{'Save' | translate}}\r\n </button>\r\n <button (click)=\"groupEditAction.emit($event)\" *ngIf=\"toolbar.groupEdit && toolbar.groupEdit.active\"\r\n [disabled]=\"toolbar.groupEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'groupEdit' | translate}}\"></i>\r\n </button>\r\n <ng-content select=\"[buttons]\"></ng-content>\r\n <button (click)=\"paramsEditAction.emit($event)\" *ngIf=\"toolbar.paramsEdit && toolbar.paramsEdit.active\"\r\n [disabled]=\"toolbar.paramsEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'paramsEdit' | translate}}\"></i>\r\n </button>\r\n\r\n\r\n <button (click)=\"removeAction.emit($event)\" *ngIf=\"toolbar.remove && toolbar.remove.active\"\r\n [disabled]=\"toolbar.remove.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-trash\" title=\"{{'Delete' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"unlinkAction.emit($event)\" *ngIf=\"toolbar.unlink\" [disabled]=\"toolbar.unlink.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-link-off\" title=\"{{'Detach tag from selected items' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"toggleNodes(true)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Expand all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z\"/>\r\n </svg>\r\n </button>\r\n <button (click)=\"toggleNodes(false)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Collapse all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path clip-rule=\"evenodd\" d=\"M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z\" fill-rule=\"evenodd\"/>\r\n </svg>\r\n </button>\r\n\r\n <div *ngIf=\"toolbar.groupSort\"\r\n class=\"c-btn-group\"\r\n container=\"body\"\r\n ngbDropdown>\r\n\r\n <button class=\"c-btn c-btn_border-free c-btn_small\"\r\n id=\"dropdownGroupType\"\r\n ngbDropdownToggle\r\n title=\"{{'Change the way parameters are grouped' | translate}}\">\r\n <i aria-hidden=\"true\" class=\"in in-object-group\"></i>\r\n <i aria-hidden=\"true\" class=\"c-caret\"></i>\r\n </button>\r\n\r\n <ul aria-labelledby=\"dropdownGroupType\"\r\n class=\"c-dropdown-menu c-dropdown-menu_right ng-star-inserted\"\r\n ngbDropdownMenu\r\n role=\"menu\">\r\n <li *ngFor=\"let item of toolbar.groupSort.label\"\r\n [ngClass]=\"{'is-dropdown-menu__listitem_active': item.value === groupMode}\"\r\n class=\"c-dropdown-menu__listitem is-dropdown-menu__listitem_active\"\r\n ngbDropdownItem\r\n role=\"menuitem\">\r\n <a (click)=\"toggleMode(item.value)\" class=\"c-dropdown-menu__content\">\r\n {{item.label}}\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</p-table>\r\n", styles: ["@charset \"UTF-8\";.u-overflow-visible{overflow:visible!important}.row_status_success{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-success, #31AC51)}.row_status_error{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-error, #F95C5D)}.row_status_warning{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-warning, #EE9946)}.row_status_critical{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-critical, #F95C5D)}.row_status_falsevalue{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-falsevalue, #85B3CB)}.row_status_disabled{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-disabled)}.row_status_none{padding-left:9px!important;border-left:4px solid transparent}.row_status_pending{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-pending, #1f85ff)}.button-reset{display:flex;align-items:center;position:absolute;right:6px;top:5px;padding:6px;font-size:15px;border:none;outline:0;cursor:pointer;color:var(--colorTextMuted);background-color:transparent}.button-reset:hover{color:var(--ids-theme-btn-default-color, #FFFFFF)}.input-wrapper{position:relative;display:flex;align-items:baseline}.c-input:not(:valid)~.button-reset{display:none}:host-context(.theme-light) .in-table-checkbox,:host-context(.theme-contrast) .in-table-checkbox{border-color:#00000073}:host-context(.theme-light) .in-table-checkbox:hover:not(:checked):not(:indeterminate),:host-context(.theme-contrast) .in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:#000000b3}.in-table-checkbox{appearance:none;-webkit-appearance:none;width:var(--p-checkbox-width, 20px);height:var(--p-checkbox-height, 20px);border:1px solid var(--p-checkbox-border-color, #B3B3B3);border-radius:var(--p-checkbox-border-radius, 2px);background:var(--p-checkbox-background, transparent);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;transition:border-color var(--p-checkbox-transition-duration, .15s),background var(--p-checkbox-transition-duration, .15s)}.in-table-checkbox:checked{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:checked:after{content:\"\";display:block;width:var(--p-checkbox-icon-size, 14px);height:var(--p-checkbox-icon-size, 14px);background-color:var(--p-checkbox-icon-checked-color, #ffffff);mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center}.in-table-checkbox:indeterminate{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:indeterminate:after{content:\"\";display:block;width:calc(var(--p-checkbox-icon-size, 14px) - 2px);height:2px;background-color:var(--p-checkbox-icon-checked-color, #ffffff);margin:auto}.in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:var(--p-checkbox-hover-border-color, #999999)}\n"] }]
|
|
1742
|
+
args: [{ standalone: false, selector: 'in-table', providers: [TableService], template: "<span *ngIf=\"label\" class=\"c-label\">\r\n {{label}}\r\n <span *ngIf=\"required\" class=\"c-label__req\">*</span>\r\n <span *ngIf=\"error\" class=\"c-label__sub_is-error\">{{error}}</span>\r\n</span>\r\n<p-table #dt\r\n (onFilter) = onFilter($event)\r\n (onSort)=\"onSort()\"\r\n (onStateRestore)=\"restoreSearchText()\"\r\n (onStateSave)=\"stateSave($event)\"\r\n (sortFunction)=\"sortFunction? sortFunction.emit($event): null\"\r\n [(selection)]=\"selectionValue\"\r\n [class]=\"class\"\r\n [columns]=\"filteredColumns\"\r\n [customSort]=\"customSort\"\r\n [dataKey]=\"dataKey || 'id'\"\r\n [globalFilterFields]=\"globalFilteredColumns\"\r\n [resizableColumns]=\"resizableColumns\"\r\n [scrollHeight]=\"scrollHeight\"\r\n [scrollable]=\"scrollable\"\r\n [selectionMode]=\"selectionMode\"\r\n [sortField]=\"sortField || 'id'\"\r\n [sortOrder]=\"isAscending ? 1 : -1\"\r\n [stateKey]=\"stateKey\"\r\n [stateStorage]=\"'local'\"\r\n [style]=\"style\"\r\n [value]=\"values\"\r\n [columnResizeMode]=\"columnResizeMode\"\r\n>\r\n <ng-template *ngIf=\"colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <ng-container\r\n *ngTemplateOutlet=\"colGroupTemplate; context: {$implicit: { columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <colgroup *ngIf=\"!isMobileView\">\r\n <col *ngIf=\"checkboxSelection\" style=\"width: 44px;\">\r\n <col *ngFor=\"let col of filteredColumns; let idx = index\">\r\n </colgroup>\r\n </ng-template>\r\n\r\n <ng-template let-columns pTemplate=\"header\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <ng-container *ngIf=\"headerTemplate; else defaultHeaderTemplate\">\r\n <ng-container\r\n *ngTemplateOutlet=\"headerTemplate; context: {$implicit: columns, columns: columns}\"></ng-container>\r\n </ng-container>\r\n <ng-template #defaultHeaderTemplate>\r\n <tr>\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn style=\"width: 44px;\">\r\n <!-- Native header checkbox bypasses dt.processedData (O(N log N) sort) used\r\n by p-tableHeaderCheckbox.toggleRowsWithCheckbox() on select all. -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isAllSelected()\"\r\n (change)=\"_onHeaderCheckboxChange($event)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </th>\r\n <th *ngFor=\"let col of filteredColumns\" [pSortableColumn]=\"col.field\" class=\"u-position-relative\"\r\n pResizableColumn>\r\n <div class=\"p-table-thead-title\"\r\n title=\"{{col.label | translate}}\">\r\n {{col.label | translate}}\r\n </div>\r\n <p-sortIcon *ngIf=\"isSortIcon\" [field]=\"col.field\"\r\n class=\"u-position-absolute u-position-absolute-right c-sorticon\"\r\n style=\"display: flex; width: 18px; top: 0; height: 100%;\"></p-sortIcon>\r\n </th>\r\n </tr>\r\n <tr *ngIf=\"toolbar && toolbar.filter && toolbar.filter.active\">\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn\r\n style=\"width: 44px;\"></th>\r\n <th *ngFor=\"let col of columns\" [ngSwitch]=\"col.field\">\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field, 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'text' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n\r\n <p-dropdown (onChange)=\"dt.filter($event.value, col.field, 'equals')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'dropdown' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\"\r\n appendTo=\"body\"></p-dropdown>\r\n\r\n <p-multiSelect (onChange)=\"dt.filter($event.value, col.field, 'in')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'multiselect' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\" appendTo=\"body\"\r\n defaultLabel=\"{{'All' | translate}}\"></p-multiSelect>\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field + '2filter', 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'datetext' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n </th>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"bodyTemplate\" let-columns=\"columns\" let-rowData let-rowIndex=\"rowIndex\" pTemplate=\"body\">\r\n <ng-container\r\n *ngTemplateOutlet=\"bodyTemplate; context: {$implicit: { rowIndex: rowIndex, rowData: rowData, columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!bodyTemplate\" let-columns=\"columns\" let-index=\"rowIndex\" let-rowData pTemplate=\"body\">\r\n <tr\r\n (click)=\"toggleGroup(index, rowData.groupKey[groupMode])\"\r\n *ngIf=\"isGrouped && isShowGroup(rowData.groupKey[groupMode], index)\"\r\n class=\"row_hover_highlight\">\r\n <td [colSpan]=\"countVisibleColumns() + 1\">\r\n <span>\r\n <i\r\n [ngClass]=\"groupInfo[rowData.groupKey[groupMode]].isExpanded ? 'in fa-fw in-chevron-down' : 'in fa-fw in-chevron-right'\"></i>\r\n <span>{{rowData.groupKey[groupMode] | translate }} ({{countGroup(rowData.groupKey[groupMode], groupMode)}}\r\n )</span>\r\n </span>\r\n </td>\r\n </tr>\r\n <tr *ngIf=\"!isGrouped || groupInfo[(rowData.groupKey[groupMode])].isExpanded\"\r\n [ngClass]=\"{row_active: isRowActive(rowData)}\"\r\n [pSelectableRow]=\"rowData\"\r\n class=\"row\">\r\n <td *ngIf=\"checkboxSelection\" [ngClass]=\"{\r\n 'row_status_success': rowData.sdirparamstatecolor === 'success',\r\n 'row_status_error': rowData.sdirparamstatecolor === 'error',\r\n 'row_status_warning': rowData.sdirparamstatecolor === 'warning',\r\n 'row_status_critical': rowData.sdirparamstatecolor === 'critical',\r\n 'row_status_falsevalue': rowData.sdirparamstatecolor === 'falsevalue',\r\n 'row_status_pending': rowData.sdirparamstatecolor === 'pending'\r\n }\" class=\"u-text_center\"\r\n style=\"width: 44px\"\r\n >\r\n <!-- Native checkbox \u2014 no Angular component overhead (no NgModel/CVA/signals).\r\n Uses Set for O(1) state lookup instead of p-tableCheckbox's O(M) isSelected(). -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isRowSelected(rowData)\"\r\n [style.pointer-events]=\"(selectionMode === 'single' || (selectionMode === 'multiple' && checkboxSelection)) ? 'none' : 'auto'\"\r\n (change)=\"_onCheckboxChange($event, rowData)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </td>\r\n <td (click)=\"activeChange.emit(rowData)\"\r\n *ngFor=\"let col of filteredColumns\"\r\n class=\"u-overflow-visible\">\r\n <div (mouseover)=\"showTooltip($event)\" *ngIf=\"!valueTemplate\" class=\"p-table-tbody-content\" title>\r\n {{col.translatable ? (rowData | propertyValue: col.field | translate) : (rowData | propertyValue: col.field)}}\r\n </div>\r\n <ng-container\r\n *ngTemplateOutlet=\"valueTemplate; context: {$implicit: { data: rowData, col: col}}\"></ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"toolbar\" pTemplate=\"caption\">\r\n\r\n <div class=\"o-grid o-grid_no-gutter\">\r\n <div class=\"c-tree-table__toolbar-content u-display-inline-flex\">\r\n <div *ngIf=\"isTextSearch\" class=\"c-form c-form_inline u-display-inline-block\">\r\n <form class=\"c-label\">\r\n <div class=\"input-wrapper u-margin-right-tiny\">\r\n <input #searchTextInput\r\n (input)=\"localSearch(dt, searchText)\"\r\n [(ngModel)]=\"searchText\"\r\n [ngModelOptions]=\"{standalone: true}\"\r\n autofocus=\"\"\r\n class=\"search-box c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n placeholder=\"{{('SHARED.SEARCH' | translate) + ':'}}\"\r\n required\r\n style=\"padding-right: 28px\"\r\n tabindex=\"1\"\r\n type=\"search\"\r\n >\r\n <button (click)=\"clear()\" class=\"button-reset\" type=\"reset\"\r\n [attr.title]=\"'Reset' | translate\">\r\n <i class=\"in in-close\"></i>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"c-btn c-btn_border-free c-btn_small\">\r\n <in-table-columns-multiselect (columnsChange)=\"columnsChange($event)\"\r\n [columns]=\"primaryColumns\"\r\n [disableActiveCheckboxes]=\"countVisibleColumns() === 1\"></in-table-columns-multiselect>\r\n </div>\r\n\r\n <button (click)=\"onFilterToolbar($event)\" *ngIf=\"toolbar.filter\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-filter\" title=\"{{'Service filter' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"treeAction.emit($event)\" *ngIf=\"toolbar.tree\" [disabled]=\"toolbar.tree.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-list\" title=\"{{'Filter by rubric' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"addAction.emit($event)\" *ngIf=\"toolbar.add\" [disabled]=\"toolbar.add.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-plus\" title=\"{{'Add' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"linkAction.emit($event)\" *ngIf=\"toolbar.link\" [disabled]=\"toolbar.link.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-link\" title=\"{{'Link' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"csvAction.emit($event)\" *ngIf=\"toolbar.csv\" [disabled]=\"toolbar.csv.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <!--Todo: \u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430 in-file-csv-->\r\n <i class=\"in in-file-excel-outline\" title=\"{{'LOGS.SAVE_TO_CSV' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"saveAction.emit($event)\" *ngIf=\"toolbar.save\"\r\n [disabled]=\"toolbar.save.disabled\"\r\n class=\"c-btn c-btn_primary c-btn_small\"\r\n title=\"{{'Save' | translate}}\"\r\n >\r\n {{'Save' | translate}}\r\n </button>\r\n <button (click)=\"groupEditAction.emit($event)\" *ngIf=\"toolbar.groupEdit && toolbar.groupEdit.active\"\r\n [disabled]=\"toolbar.groupEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'groupEdit' | translate}}\"></i>\r\n </button>\r\n <ng-content select=\"[buttons]\"></ng-content>\r\n <button (click)=\"paramsEditAction.emit($event)\" *ngIf=\"toolbar.paramsEdit && toolbar.paramsEdit.active\"\r\n [disabled]=\"toolbar.paramsEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'paramsEdit' | translate}}\"></i>\r\n </button>\r\n\r\n\r\n <button (click)=\"removeAction.emit($event)\" *ngIf=\"toolbar.remove && toolbar.remove.active\"\r\n [disabled]=\"toolbar.remove.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-trash\" title=\"{{'Delete' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"unlinkAction.emit($event)\" *ngIf=\"toolbar.unlink\" [disabled]=\"toolbar.unlink.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-link-off\" title=\"{{'Detach tag from selected items' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"toggleNodes(true)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Expand all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z\"/>\r\n </svg>\r\n </button>\r\n <button (click)=\"toggleNodes(false)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Collapse all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path clip-rule=\"evenodd\" d=\"M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z\" fill-rule=\"evenodd\"/>\r\n </svg>\r\n </button>\r\n\r\n <div *ngIf=\"toolbar.groupSort\"\r\n class=\"c-btn-group\"\r\n container=\"body\"\r\n ngbDropdown>\r\n\r\n <button class=\"c-btn c-btn_border-free c-btn_small\"\r\n id=\"dropdownGroupType\"\r\n ngbDropdownToggle\r\n title=\"{{'Change the way parameters are grouped' | translate}}\">\r\n <i aria-hidden=\"true\" class=\"in in-object-group\"></i>\r\n <i aria-hidden=\"true\" class=\"c-caret\"></i>\r\n </button>\r\n\r\n <ul aria-labelledby=\"dropdownGroupType\"\r\n class=\"c-dropdown-menu c-dropdown-menu_right ng-star-inserted\"\r\n ngbDropdownMenu\r\n role=\"menu\">\r\n <li *ngFor=\"let item of toolbar.groupSort.label\"\r\n [ngClass]=\"{'is-dropdown-menu__listitem_active': item.value === groupMode}\"\r\n class=\"c-dropdown-menu__listitem is-dropdown-menu__listitem_active\"\r\n ngbDropdownItem\r\n role=\"menuitem\">\r\n <a (click)=\"toggleMode(item.value)\" class=\"c-dropdown-menu__content\">\r\n {{item.label}}\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</p-table>\r\n", styles: ["@charset \"UTF-8\";.u-overflow-visible{overflow:visible!important}.row_status_success{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-success, #31AC51)}.row_status_error{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-error, #F95C5D)}.row_status_warning{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-warning, #EE9946)}.row_status_critical{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-critical, #F95C5D)}.row_status_falsevalue{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-falsevalue, #85B3CB)}.row_status_disabled{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-disabled)}.row_status_none{padding-left:9px!important;border-left:4px solid transparent}.row_status_pending{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-pending, #1f85ff)}.button-reset{display:flex;align-items:center;position:absolute;right:6px;top:5px;padding:6px;font-size:15px;border:none;outline:0;cursor:pointer;color:var(--colorTextMuted);background-color:transparent}.button-reset:hover{color:var(--ids-theme-btn-default-color, #FFFFFF)}.input-wrapper{position:relative;display:flex;align-items:baseline}.c-input:not(:valid)~.button-reset{display:none}:host-context(.theme-light) .in-table-checkbox,:host-context(.theme-contrast) .in-table-checkbox{border-color:#00000073}:host-context(.theme-light) .in-table-checkbox:hover:not(:checked):not(:indeterminate),:host-context(.theme-contrast) .in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:#000000b3}.in-table-checkbox{appearance:none;-webkit-appearance:none;width:var(--p-checkbox-width, 20px);height:var(--p-checkbox-height, 20px);border:1px solid var(--p-checkbox-border-color, #B3B3B3);border-radius:var(--p-checkbox-border-radius, 2px);background:var(--p-checkbox-background, transparent);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;transition:border-color var(--p-checkbox-transition-duration, .15s),background var(--p-checkbox-transition-duration, .15s)}.in-table-checkbox:checked{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:checked:after{content:\"\";display:block;width:var(--p-checkbox-icon-size, 14px);height:var(--p-checkbox-icon-size, 14px);background-color:var(--p-checkbox-icon-checked-color, #ffffff);mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center}.in-table-checkbox:indeterminate{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:indeterminate:after{content:\"\";display:block;width:calc(var(--p-checkbox-icon-size, 14px) - 2px);height:2px;background-color:var(--p-checkbox-icon-checked-color, #ffffff);margin:auto}.in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:var(--p-checkbox-hover-border-color, #999999)}\n"] }]
|
|
1721
1743
|
}], () => [], { columns: [{
|
|
1722
1744
|
type: Input
|
|
1723
1745
|
}], values: [{
|