@inspark/inspark-components 19.0.44 → 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.
|
@@ -28,24 +28,23 @@ export { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
28
28
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
29
29
|
import * as i1$3 from '@angular/router';
|
|
30
30
|
import { RouterModule } from '@angular/router';
|
|
31
|
-
import * as i3$
|
|
31
|
+
import * as i3$1 from 'primeng/menu';
|
|
32
32
|
import { Menu, MenuModule } from 'primeng/menu';
|
|
33
33
|
export { MenuModule } from 'primeng/menu';
|
|
34
34
|
import { SliderModule } from 'primeng/slider';
|
|
35
35
|
export { SliderModule } from 'primeng/slider';
|
|
36
36
|
import * as i2$4 from 'primeng/treetable';
|
|
37
37
|
import { TreeTableModule } from 'primeng/treetable';
|
|
38
|
-
import * as i3 from 'primeng/
|
|
39
|
-
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
40
|
-
export { RadioButtonModule } from 'primeng/radiobutton';
|
|
41
|
-
import * as i3$1 from 'primeng/autocomplete';
|
|
38
|
+
import * as i3 from 'primeng/autocomplete';
|
|
42
39
|
import { AutoCompleteModule } from 'primeng/autocomplete';
|
|
43
40
|
import { HttpClientModule } from '@angular/common/http';
|
|
41
|
+
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
42
|
+
export { RadioButtonModule } from 'primeng/radiobutton';
|
|
44
43
|
import { BreadcrumbModule } from 'primeng/breadcrumb';
|
|
45
44
|
export { BreadcrumbModule } from 'primeng/breadcrumb';
|
|
46
45
|
import { TreeModule } from 'primeng/tree';
|
|
47
46
|
export { TreeModule } from 'primeng/tree';
|
|
48
|
-
import * as i3$
|
|
47
|
+
import * as i3$2 from 'primeng/select';
|
|
49
48
|
import { SelectModule } from 'primeng/select';
|
|
50
49
|
|
|
51
50
|
class PropertyValuePipe {
|
|
@@ -536,10 +535,10 @@ class CommunicationService {
|
|
|
536
535
|
type: Injectable
|
|
537
536
|
}], null, null); })();
|
|
538
537
|
|
|
539
|
-
const _c0$
|
|
538
|
+
const _c0$o = ["*"];
|
|
540
539
|
class PanelComponent {
|
|
541
540
|
static { this.ɵfac = function PanelComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PanelComponent)(); }; }
|
|
542
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelComponent, selectors: [["in-panel"]], standalone: false, ngContentSelectors: _c0$
|
|
541
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelComponent, selectors: [["in-panel"]], standalone: false, ngContentSelectors: _c0$o, decls: 2, vars: 0, consts: [[1, "c-panel", "inspark-panel"]], template: function PanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
543
542
|
i0.ɵɵprojectionDef();
|
|
544
543
|
i0.ɵɵelementStart(0, "div", 0);
|
|
545
544
|
i0.ɵɵprojection(1);
|
|
@@ -608,7 +607,7 @@ class TableClickOutsideDirective {
|
|
|
608
607
|
args: ['document:click', ['$event']]
|
|
609
608
|
}] }); })();
|
|
610
609
|
|
|
611
|
-
const _c0$
|
|
610
|
+
const _c0$n = [[["host"]], [["body"]]];
|
|
612
611
|
const _c1$c = ["host", "body"];
|
|
613
612
|
function TableMenuOverlayComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
614
613
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -631,7 +630,7 @@ class TableMenuOverlayComponent {
|
|
|
631
630
|
}
|
|
632
631
|
static { this.ɵfac = function TableMenuOverlayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableMenuOverlayComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
|
|
633
632
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableMenuOverlayComponent, selectors: [["in-table-menu-overlay"]], inputs: { isExpanded: "isExpanded", positionClass: "positionClass" }, standalone: false, ngContentSelectors: _c1$c, decls: 4, vars: 1, consts: [[1, "c-overlay", "is-dropdown_open"], [1, "c-overlay__toggle", 3, "click"], [4, "ngIf"], ["inClickOutside", "", 1, "c-overlay__body", 3, "clickedOutside"]], template: function TableMenuOverlayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
634
|
-
i0.ɵɵprojectionDef(_c0$
|
|
633
|
+
i0.ɵɵprojectionDef(_c0$n);
|
|
635
634
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
636
635
|
i0.ɵɵlistener("click", function TableMenuOverlayComponent_Template_div_click_1_listener() { return ctx.isExpanded = !ctx.isExpanded; });
|
|
637
636
|
i0.ɵɵprojection(2);
|
|
@@ -719,24 +718,25 @@ class TableColumnsMultiselectComponent {
|
|
|
719
718
|
}] }); })();
|
|
720
719
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableColumnsMultiselectComponent, { className: "TableColumnsMultiselectComponent", filePath: "components/table/table-columns-multiselect/table-columns-multiselect.component.ts", lineNumber: 10 }); })();
|
|
721
720
|
|
|
722
|
-
const _c0$
|
|
721
|
+
const _c0$g = [[["", "buttons", ""]]];
|
|
723
722
|
const _c1$b = ["[buttons]"];
|
|
724
|
-
const _c2$
|
|
725
|
-
const _c3$
|
|
726
|
-
const _c4$3 = () => ({
|
|
727
|
-
const _c5$1 = (
|
|
728
|
-
const _c6 = a0 => ({
|
|
729
|
-
const _c7 =
|
|
730
|
-
const _c8 = (a0, a1) => ({
|
|
731
|
-
const _c9 = () => ({
|
|
732
|
-
const _c10 =
|
|
723
|
+
const _c2$6 = a0 => ({ columns: a0 });
|
|
724
|
+
const _c3$5 = a0 => ({ $implicit: a0 });
|
|
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 });
|
|
733
733
|
function TableComponent_span_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
734
|
-
i0.ɵɵelementStart(0, "span",
|
|
734
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
735
735
|
i0.ɵɵtext(1, "*");
|
|
736
736
|
i0.ɵɵelementEnd();
|
|
737
737
|
} }
|
|
738
738
|
function TableComponent_span_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
739
|
-
i0.ɵɵelementStart(0, "span",
|
|
739
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
740
740
|
i0.ɵɵtext(1);
|
|
741
741
|
i0.ɵɵelementEnd();
|
|
742
742
|
} if (rf & 2) {
|
|
@@ -745,9 +745,9 @@ function TableComponent_span_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
745
745
|
i0.ɵɵtextInterpolate(ctx_r1.error);
|
|
746
746
|
} }
|
|
747
747
|
function TableComponent_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
748
|
-
i0.ɵɵelementStart(0, "span",
|
|
748
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
749
749
|
i0.ɵɵtext(1);
|
|
750
|
-
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);
|
|
751
751
|
i0.ɵɵelementEnd();
|
|
752
752
|
} if (rf & 2) {
|
|
753
753
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -762,24 +762,24 @@ function TableComponent_3_ng_template_0_ng_container_0_Template(rf, ctx) { if (r
|
|
|
762
762
|
i0.ɵɵelementContainer(0);
|
|
763
763
|
} }
|
|
764
764
|
function TableComponent_3_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
765
|
-
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);
|
|
766
766
|
} if (rf & 2) {
|
|
767
767
|
const columns_r3 = ctx.$implicit;
|
|
768
768
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
769
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(4, _c3$
|
|
769
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(4, _c3$5, i0.ɵɵpureFunction1(2, _c2$6, columns_r3)));
|
|
770
770
|
} }
|
|
771
771
|
function TableComponent_3_Template(rf, ctx) { if (rf & 1) {
|
|
772
|
-
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);
|
|
773
773
|
} }
|
|
774
774
|
function TableComponent_4_ng_template_0_colgroup_0_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
775
|
-
i0.ɵɵelement(0, "col",
|
|
775
|
+
i0.ɵɵelement(0, "col", 16);
|
|
776
776
|
} }
|
|
777
777
|
function TableComponent_4_ng_template_0_colgroup_0_col_2_Template(rf, ctx) { if (rf & 1) {
|
|
778
778
|
i0.ɵɵelement(0, "col");
|
|
779
779
|
} }
|
|
780
780
|
function TableComponent_4_ng_template_0_colgroup_0_Template(rf, ctx) { if (rf & 1) {
|
|
781
781
|
i0.ɵɵelementStart(0, "colgroup");
|
|
782
|
-
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);
|
|
783
783
|
i0.ɵɵelementEnd();
|
|
784
784
|
} if (rf & 2) {
|
|
785
785
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -789,141 +789,162 @@ function TableComponent_4_ng_template_0_colgroup_0_Template(rf, ctx) { if (rf &
|
|
|
789
789
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
790
790
|
} }
|
|
791
791
|
function TableComponent_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
792
|
-
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);
|
|
793
793
|
} if (rf & 2) {
|
|
794
794
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
795
795
|
i0.ɵɵproperty("ngIf", !ctx_r1.isMobileView);
|
|
796
796
|
} }
|
|
797
797
|
function TableComponent_4_Template(rf, ctx) { if (rf & 1) {
|
|
798
|
-
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);
|
|
799
799
|
} }
|
|
800
|
-
function
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
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()); });
|
|
804
817
|
i0.ɵɵelementEnd()();
|
|
805
818
|
} if (rf & 2) {
|
|
806
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
819
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
807
820
|
i0.ɵɵadvance();
|
|
808
821
|
i0.ɵɵproperty("checked", ctx_r1._isAllSelected());
|
|
809
822
|
} }
|
|
810
|
-
function
|
|
811
|
-
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);
|
|
812
825
|
} if (rf & 2) {
|
|
813
|
-
const
|
|
814
|
-
i0.ɵɵproperty("field",
|
|
826
|
+
const col_r6 = i0.ɵɵnextContext().$implicit;
|
|
827
|
+
i0.ɵɵproperty("field", col_r6.field);
|
|
815
828
|
} }
|
|
816
|
-
function
|
|
817
|
-
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);
|
|
818
831
|
i0.ɵɵpipe(2, "translate");
|
|
819
832
|
i0.ɵɵtext(3);
|
|
820
833
|
i0.ɵɵpipe(4, "translate");
|
|
821
834
|
i0.ɵɵelementEnd();
|
|
822
|
-
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);
|
|
823
836
|
i0.ɵɵelementEnd();
|
|
824
837
|
} if (rf & 2) {
|
|
825
|
-
const
|
|
826
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
827
|
-
i0.ɵɵproperty("pSortableColumn",
|
|
838
|
+
const col_r6 = ctx.$implicit;
|
|
839
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
840
|
+
i0.ɵɵproperty("pSortableColumn", col_r6.field);
|
|
828
841
|
i0.ɵɵadvance();
|
|
829
|
-
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 4,
|
|
842
|
+
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 4, col_r6.label));
|
|
830
843
|
i0.ɵɵadvance(2);
|
|
831
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6,
|
|
844
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6, col_r6.label), " ");
|
|
832
845
|
i0.ɵɵadvance(2);
|
|
833
846
|
i0.ɵɵproperty("ngIf", ctx_r1.isSortIcon);
|
|
834
847
|
} }
|
|
835
|
-
function
|
|
836
|
-
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);
|
|
837
850
|
} }
|
|
838
|
-
function
|
|
839
|
-
const
|
|
840
|
-
i0.ɵɵelementStart(0, "input",
|
|
841
|
-
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")); });
|
|
842
855
|
i0.ɵɵelementEnd();
|
|
843
856
|
} }
|
|
844
|
-
function
|
|
845
|
-
const
|
|
846
|
-
i0.ɵɵelementStart(0, "p-dropdown",
|
|
847
|
-
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")); });
|
|
848
861
|
i0.ɵɵelementEnd();
|
|
849
862
|
} if (rf & 2) {
|
|
850
|
-
let
|
|
851
|
-
const
|
|
852
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
853
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(3,
|
|
854
|
-
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);
|
|
855
868
|
} }
|
|
856
|
-
function
|
|
857
|
-
const
|
|
858
|
-
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);
|
|
859
872
|
i0.ɵɵpipe(1, "translate");
|
|
860
|
-
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")); });
|
|
861
874
|
i0.ɵɵelementEnd();
|
|
862
875
|
} if (rf & 2) {
|
|
863
|
-
let
|
|
864
|
-
const
|
|
865
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
866
|
-
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));
|
|
867
880
|
i0.ɵɵpropertyInterpolate("defaultLabel", i0.ɵɵpipeBind1(1, 4, "All"));
|
|
868
|
-
i0.ɵɵproperty("options", (
|
|
881
|
+
i0.ɵɵproperty("options", (tmp_12_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_12_0.options);
|
|
869
882
|
} }
|
|
870
|
-
function
|
|
871
|
-
const
|
|
872
|
-
i0.ɵɵelementStart(0, "input",
|
|
873
|
-
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")); });
|
|
874
887
|
i0.ɵɵelementEnd();
|
|
875
888
|
} }
|
|
876
|
-
function
|
|
877
|
-
i0.ɵɵelementStart(0, "th",
|
|
878
|
-
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);
|
|
879
892
|
i0.ɵɵelementEnd();
|
|
880
893
|
} if (rf & 2) {
|
|
881
|
-
let tmp_8_0;
|
|
882
|
-
let tmp_9_0;
|
|
883
894
|
let tmp_10_0;
|
|
884
895
|
let tmp_11_0;
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
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);
|
|
888
901
|
i0.ɵɵadvance();
|
|
889
|
-
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 : "");
|
|
890
903
|
i0.ɵɵadvance();
|
|
891
|
-
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 : "");
|
|
892
905
|
i0.ɵɵadvance();
|
|
893
|
-
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 : "");
|
|
894
907
|
i0.ɵɵadvance();
|
|
895
|
-
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 : "");
|
|
896
909
|
} }
|
|
897
|
-
function
|
|
910
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
898
911
|
i0.ɵɵelementStart(0, "tr");
|
|
899
|
-
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);
|
|
900
913
|
i0.ɵɵelementEnd();
|
|
901
914
|
} if (rf & 2) {
|
|
902
|
-
const
|
|
915
|
+
const columns_r4 = i0.ɵɵnextContext(3).$implicit;
|
|
903
916
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
904
917
|
i0.ɵɵadvance();
|
|
905
918
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
906
919
|
i0.ɵɵadvance();
|
|
907
|
-
i0.ɵɵproperty("ngForOf",
|
|
920
|
+
i0.ɵɵproperty("ngForOf", columns_r4);
|
|
908
921
|
} }
|
|
909
|
-
function
|
|
910
|
-
i0.ɵɵ
|
|
911
|
-
i0.ɵɵ
|
|
912
|
-
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);
|
|
913
925
|
i0.ɵɵelementEnd();
|
|
914
|
-
i0.ɵɵtemplate(
|
|
915
|
-
i0.ɵɵelementContainerEnd();
|
|
926
|
+
i0.ɵɵtemplate(3, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_Template, 3, 2, "tr", 5);
|
|
916
927
|
} if (rf & 2) {
|
|
917
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
918
|
-
i0.ɵɵadvance(
|
|
928
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
929
|
+
i0.ɵɵadvance();
|
|
919
930
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
920
931
|
i0.ɵɵadvance();
|
|
921
932
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
922
933
|
i0.ɵɵadvance();
|
|
923
934
|
i0.ɵɵproperty("ngIf", ctx_r1.toolbar && ctx_r1.toolbar.filter && ctx_r1.toolbar.filter.active);
|
|
924
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
|
+
} }
|
|
925
946
|
function TableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
926
|
-
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);
|
|
927
948
|
} if (rf & 2) {
|
|
928
949
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
929
950
|
i0.ɵɵproperty("ngIf", ctx_r1.showHeader);
|
|
@@ -932,135 +953,135 @@ function TableComponent_6_ng_template_0_ng_container_0_Template(rf, ctx) { if (r
|
|
|
932
953
|
i0.ɵɵelementContainer(0);
|
|
933
954
|
} }
|
|
934
955
|
function TableComponent_6_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
935
|
-
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);
|
|
936
957
|
} if (rf & 2) {
|
|
937
|
-
const
|
|
938
|
-
const
|
|
939
|
-
const
|
|
958
|
+
const columns_r14 = ctx.columns;
|
|
959
|
+
const rowData_r15 = ctx.$implicit;
|
|
960
|
+
const rowIndex_r16 = ctx.rowIndex;
|
|
940
961
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
941
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.bodyTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$
|
|
962
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.bodyTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction3(2, _c6, rowIndex_r16, rowData_r15, columns_r14)));
|
|
942
963
|
} }
|
|
943
964
|
function TableComponent_6_Template(rf, ctx) { if (rf & 1) {
|
|
944
|
-
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);
|
|
945
966
|
} }
|
|
946
967
|
function TableComponent_7_ng_template_0_tr_0_Template(rf, ctx) { if (rf & 1) {
|
|
947
|
-
const
|
|
948
|
-
i0.ɵɵelementStart(0, "tr",
|
|
949
|
-
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_0_Template_tr_click_0_listener() { i0.ɵɵrestoreView(
|
|
950
|
-
i0.ɵɵelementStart(1, "td",
|
|
951
|
-
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);
|
|
952
973
|
i0.ɵɵelementStart(4, "span");
|
|
953
974
|
i0.ɵɵtext(5);
|
|
954
975
|
i0.ɵɵpipe(6, "translate");
|
|
955
976
|
i0.ɵɵelementEnd()()()();
|
|
956
977
|
} if (rf & 2) {
|
|
957
|
-
const
|
|
978
|
+
const rowData_r20 = i0.ɵɵnextContext().$implicit;
|
|
958
979
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
959
980
|
i0.ɵɵadvance();
|
|
960
981
|
i0.ɵɵproperty("colSpan", ctx_r1.countVisibleColumns() + 1);
|
|
961
982
|
i0.ɵɵadvance(2);
|
|
962
|
-
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");
|
|
963
984
|
i0.ɵɵadvance(2);
|
|
964
|
-
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), " )");
|
|
965
986
|
} }
|
|
966
987
|
function TableComponent_7_ng_template_0_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
967
|
-
const
|
|
968
|
-
i0.ɵɵelementStart(0, "td",
|
|
969
|
-
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()); });
|
|
970
991
|
i0.ɵɵelementEnd()();
|
|
971
992
|
} if (rf & 2) {
|
|
972
|
-
const
|
|
993
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
973
994
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
974
|
-
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"));
|
|
975
996
|
i0.ɵɵadvance();
|
|
976
997
|
i0.ɵɵstyleProp("pointer-events", ctx_r1.selectionMode === "single" || ctx_r1.selectionMode === "multiple" && ctx_r1.checkboxSelection ? "none" : "auto");
|
|
977
|
-
i0.ɵɵproperty("checked", ctx_r1._isRowSelected(
|
|
998
|
+
i0.ɵɵproperty("checked", ctx_r1._isRowSelected(rowData_r20));
|
|
978
999
|
} }
|
|
979
1000
|
function TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
980
|
-
const
|
|
981
|
-
i0.ɵɵelementStart(0, "div",
|
|
982
|
-
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)); });
|
|
983
1004
|
i0.ɵɵtext(1);
|
|
984
1005
|
i0.ɵɵpipe(2, "propertyValue");
|
|
985
1006
|
i0.ɵɵpipe(3, "translate");
|
|
986
1007
|
i0.ɵɵpipe(4, "propertyValue");
|
|
987
1008
|
i0.ɵɵelementEnd();
|
|
988
1009
|
} if (rf & 2) {
|
|
989
|
-
const
|
|
990
|
-
const
|
|
1010
|
+
const col_r24 = i0.ɵɵnextContext().$implicit;
|
|
1011
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
991
1012
|
i0.ɵɵadvance();
|
|
992
|
-
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), " ");
|
|
993
1014
|
} }
|
|
994
1015
|
function TableComponent_7_ng_template_0_tr_1_td_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
995
1016
|
i0.ɵɵelementContainer(0);
|
|
996
1017
|
} }
|
|
997
1018
|
function TableComponent_7_ng_template_0_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
998
|
-
const
|
|
999
|
-
i0.ɵɵelementStart(0, "td",
|
|
1000
|
-
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_1_td_2_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
1001
|
-
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);
|
|
1002
1023
|
i0.ɵɵelementEnd();
|
|
1003
1024
|
} if (rf & 2) {
|
|
1004
|
-
const
|
|
1005
|
-
const
|
|
1025
|
+
const col_r24 = ctx.$implicit;
|
|
1026
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
1006
1027
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1007
1028
|
i0.ɵɵadvance();
|
|
1008
1029
|
i0.ɵɵproperty("ngIf", !ctx_r1.valueTemplate);
|
|
1009
1030
|
i0.ɵɵadvance();
|
|
1010
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$
|
|
1031
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction2(3, _c9, rowData_r20, col_r24)));
|
|
1011
1032
|
} }
|
|
1012
1033
|
function TableComponent_7_ng_template_0_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
1013
|
-
i0.ɵɵelementStart(0, "tr",
|
|
1014
|
-
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);
|
|
1015
1036
|
i0.ɵɵelementEnd();
|
|
1016
1037
|
} if (rf & 2) {
|
|
1017
|
-
const
|
|
1038
|
+
const rowData_r20 = i0.ɵɵnextContext().$implicit;
|
|
1018
1039
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1019
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4,
|
|
1040
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c7, ctx_r1.isRowActive(rowData_r20)))("pSelectableRow", rowData_r20);
|
|
1020
1041
|
i0.ɵɵadvance();
|
|
1021
1042
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
1022
1043
|
i0.ɵɵadvance();
|
|
1023
1044
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
1024
1045
|
} }
|
|
1025
1046
|
function TableComponent_7_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1026
|
-
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);
|
|
1027
1048
|
} if (rf & 2) {
|
|
1028
|
-
const
|
|
1029
|
-
const
|
|
1049
|
+
const index_r19 = ctx.rowIndex;
|
|
1050
|
+
const rowData_r20 = ctx.$implicit;
|
|
1030
1051
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1031
|
-
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));
|
|
1032
1053
|
i0.ɵɵadvance();
|
|
1033
|
-
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);
|
|
1034
1055
|
} }
|
|
1035
1056
|
function TableComponent_7_Template(rf, ctx) { if (rf & 1) {
|
|
1036
|
-
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);
|
|
1037
1058
|
} }
|
|
1038
1059
|
function TableComponent_8_ng_template_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1039
|
-
const
|
|
1040
|
-
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);
|
|
1041
1062
|
i0.ɵɵpipe(5, "translate");
|
|
1042
|
-
i0.ɵɵlistener("input", function TableComponent_8_ng_template_0_div_2_Template_input_input_3_listener() { i0.ɵɵrestoreView(
|
|
1043
|
-
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); });
|
|
1044
1065
|
i0.ɵɵelementEnd();
|
|
1045
|
-
i0.ɵɵelementStart(6, "button",
|
|
1066
|
+
i0.ɵɵelementStart(6, "button", 61);
|
|
1046
1067
|
i0.ɵɵpipe(7, "translate");
|
|
1047
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_2_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
1048
|
-
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);
|
|
1049
1070
|
i0.ɵɵelementEnd()()()();
|
|
1050
1071
|
} if (rf & 2) {
|
|
1051
1072
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
1052
1073
|
i0.ɵɵadvance(3);
|
|
1053
1074
|
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(5, 4, "SHARED.SEARCH") + ":");
|
|
1054
1075
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.searchText);
|
|
1055
|
-
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(8,
|
|
1076
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(8, _c10));
|
|
1056
1077
|
i0.ɵɵadvance(3);
|
|
1057
1078
|
i0.ɵɵattribute("title", i0.ɵɵpipeBind1(7, 6, "Reset"));
|
|
1058
1079
|
} }
|
|
1059
1080
|
function TableComponent_8_ng_template_0_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
1060
|
-
const
|
|
1061
|
-
i0.ɵɵelementStart(0, "button",
|
|
1062
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_5_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1063
|
-
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);
|
|
1064
1085
|
i0.ɵɵpipe(2, "translate");
|
|
1065
1086
|
i0.ɵɵelementEnd();
|
|
1066
1087
|
} if (rf & 2) {
|
|
@@ -1068,10 +1089,10 @@ function TableComponent_8_ng_template_0_button_5_Template(rf, ctx) { if (rf & 1)
|
|
|
1068
1089
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 1, "Service filter"));
|
|
1069
1090
|
} }
|
|
1070
1091
|
function TableComponent_8_ng_template_0_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
1071
|
-
const
|
|
1072
|
-
i0.ɵɵelementStart(0, "button",
|
|
1073
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_6_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1074
|
-
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);
|
|
1075
1096
|
i0.ɵɵpipe(2, "translate");
|
|
1076
1097
|
i0.ɵɵelementEnd();
|
|
1077
1098
|
} if (rf & 2) {
|
|
@@ -1081,10 +1102,10 @@ function TableComponent_8_ng_template_0_button_6_Template(rf, ctx) { if (rf & 1)
|
|
|
1081
1102
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Filter by rubric"));
|
|
1082
1103
|
} }
|
|
1083
1104
|
function TableComponent_8_ng_template_0_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
1084
|
-
const
|
|
1085
|
-
i0.ɵɵelementStart(0, "button",
|
|
1086
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1087
|
-
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);
|
|
1088
1109
|
i0.ɵɵpipe(2, "translate");
|
|
1089
1110
|
i0.ɵɵelementEnd();
|
|
1090
1111
|
} if (rf & 2) {
|
|
@@ -1094,10 +1115,10 @@ function TableComponent_8_ng_template_0_button_7_Template(rf, ctx) { if (rf & 1)
|
|
|
1094
1115
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Add"));
|
|
1095
1116
|
} }
|
|
1096
1117
|
function TableComponent_8_ng_template_0_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
1097
|
-
const
|
|
1098
|
-
i0.ɵɵelementStart(0, "button",
|
|
1099
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_8_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1100
|
-
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);
|
|
1101
1122
|
i0.ɵɵpipe(2, "translate");
|
|
1102
1123
|
i0.ɵɵelementEnd();
|
|
1103
1124
|
} if (rf & 2) {
|
|
@@ -1107,10 +1128,10 @@ function TableComponent_8_ng_template_0_button_8_Template(rf, ctx) { if (rf & 1)
|
|
|
1107
1128
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Link"));
|
|
1108
1129
|
} }
|
|
1109
1130
|
function TableComponent_8_ng_template_0_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
1110
|
-
const
|
|
1111
|
-
i0.ɵɵelementStart(0, "button",
|
|
1112
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1113
|
-
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);
|
|
1114
1135
|
i0.ɵɵpipe(2, "translate");
|
|
1115
1136
|
i0.ɵɵelementEnd();
|
|
1116
1137
|
} if (rf & 2) {
|
|
@@ -1120,10 +1141,10 @@ function TableComponent_8_ng_template_0_button_9_Template(rf, ctx) { if (rf & 1)
|
|
|
1120
1141
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "LOGS.SAVE_TO_CSV"));
|
|
1121
1142
|
} }
|
|
1122
1143
|
function TableComponent_8_ng_template_0_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
1123
|
-
const
|
|
1124
|
-
i0.ɵɵelementStart(0, "button",
|
|
1144
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
1145
|
+
i0.ɵɵelementStart(0, "button", 70);
|
|
1125
1146
|
i0.ɵɵpipe(1, "translate");
|
|
1126
|
-
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)); });
|
|
1127
1148
|
i0.ɵɵtext(2);
|
|
1128
1149
|
i0.ɵɵpipe(3, "translate");
|
|
1129
1150
|
i0.ɵɵelementEnd();
|
|
@@ -1135,10 +1156,10 @@ function TableComponent_8_ng_template_0_button_10_Template(rf, ctx) { if (rf & 1
|
|
|
1135
1156
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 5, "Save"), " ");
|
|
1136
1157
|
} }
|
|
1137
1158
|
function TableComponent_8_ng_template_0_button_11_Template(rf, ctx) { if (rf & 1) {
|
|
1138
|
-
const
|
|
1139
|
-
i0.ɵɵelementStart(0, "button",
|
|
1140
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1141
|
-
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);
|
|
1142
1163
|
i0.ɵɵpipe(2, "translate");
|
|
1143
1164
|
i0.ɵɵelementEnd();
|
|
1144
1165
|
} if (rf & 2) {
|
|
@@ -1148,10 +1169,10 @@ function TableComponent_8_ng_template_0_button_11_Template(rf, ctx) { if (rf & 1
|
|
|
1148
1169
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "groupEdit"));
|
|
1149
1170
|
} }
|
|
1150
1171
|
function TableComponent_8_ng_template_0_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
1151
|
-
const
|
|
1152
|
-
i0.ɵɵelementStart(0, "button",
|
|
1153
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1154
|
-
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);
|
|
1155
1176
|
i0.ɵɵpipe(2, "translate");
|
|
1156
1177
|
i0.ɵɵelementEnd();
|
|
1157
1178
|
} if (rf & 2) {
|
|
@@ -1161,10 +1182,10 @@ function TableComponent_8_ng_template_0_button_13_Template(rf, ctx) { if (rf & 1
|
|
|
1161
1182
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "paramsEdit"));
|
|
1162
1183
|
} }
|
|
1163
1184
|
function TableComponent_8_ng_template_0_button_14_Template(rf, ctx) { if (rf & 1) {
|
|
1164
|
-
const
|
|
1165
|
-
i0.ɵɵelementStart(0, "button",
|
|
1166
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_14_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1167
|
-
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);
|
|
1168
1189
|
i0.ɵɵpipe(2, "translate");
|
|
1169
1190
|
i0.ɵɵelementEnd();
|
|
1170
1191
|
} if (rf & 2) {
|
|
@@ -1174,10 +1195,10 @@ function TableComponent_8_ng_template_0_button_14_Template(rf, ctx) { if (rf & 1
|
|
|
1174
1195
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Delete"));
|
|
1175
1196
|
} }
|
|
1176
1197
|
function TableComponent_8_ng_template_0_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
1177
|
-
const
|
|
1178
|
-
i0.ɵɵelementStart(0, "button",
|
|
1179
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1180
|
-
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);
|
|
1181
1202
|
i0.ɵɵpipe(2, "translate");
|
|
1182
1203
|
i0.ɵɵelementEnd();
|
|
1183
1204
|
} if (rf & 2) {
|
|
@@ -1187,49 +1208,49 @@ function TableComponent_8_ng_template_0_button_15_Template(rf, ctx) { if (rf & 1
|
|
|
1187
1208
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Detach tag from selected items"));
|
|
1188
1209
|
} }
|
|
1189
1210
|
function TableComponent_8_ng_template_0_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
1190
|
-
const
|
|
1191
|
-
i0.ɵɵelementStart(0, "button",
|
|
1211
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
1212
|
+
i0.ɵɵelementStart(0, "button", 74);
|
|
1192
1213
|
i0.ɵɵpipe(1, "translate");
|
|
1193
|
-
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)); });
|
|
1194
1215
|
i0.ɵɵnamespaceSVG();
|
|
1195
|
-
i0.ɵɵelementStart(2, "svg",
|
|
1196
|
-
i0.ɵɵelement(3, "path",
|
|
1216
|
+
i0.ɵɵelementStart(2, "svg", 75);
|
|
1217
|
+
i0.ɵɵelement(3, "path", 76);
|
|
1197
1218
|
i0.ɵɵelementEnd()();
|
|
1198
1219
|
} if (rf & 2) {
|
|
1199
1220
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(1, 1, "Expand all"));
|
|
1200
1221
|
} }
|
|
1201
1222
|
function TableComponent_8_ng_template_0_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
1202
|
-
const
|
|
1203
|
-
i0.ɵɵelementStart(0, "button",
|
|
1223
|
+
const _r38 = i0.ɵɵgetCurrentView();
|
|
1224
|
+
i0.ɵɵelementStart(0, "button", 74);
|
|
1204
1225
|
i0.ɵɵpipe(1, "translate");
|
|
1205
|
-
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)); });
|
|
1206
1227
|
i0.ɵɵnamespaceSVG();
|
|
1207
|
-
i0.ɵɵelementStart(2, "svg",
|
|
1208
|
-
i0.ɵɵelement(3, "path",
|
|
1228
|
+
i0.ɵɵelementStart(2, "svg", 75);
|
|
1229
|
+
i0.ɵɵelement(3, "path", 77);
|
|
1209
1230
|
i0.ɵɵelementEnd()();
|
|
1210
1231
|
} if (rf & 2) {
|
|
1211
1232
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(1, 1, "Collapse all"));
|
|
1212
1233
|
} }
|
|
1213
1234
|
function TableComponent_8_ng_template_0_div_18_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
1214
|
-
const
|
|
1215
|
-
i0.ɵɵelementStart(0, "li",
|
|
1216
|
-
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)); });
|
|
1217
1238
|
i0.ɵɵtext(2);
|
|
1218
1239
|
i0.ɵɵelementEnd()();
|
|
1219
1240
|
} if (rf & 2) {
|
|
1220
|
-
const
|
|
1241
|
+
const item_r40 = ctx.$implicit;
|
|
1221
1242
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1222
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2,
|
|
1243
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c11, item_r40.value === ctx_r1.groupMode));
|
|
1223
1244
|
i0.ɵɵadvance(2);
|
|
1224
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
1245
|
+
i0.ɵɵtextInterpolate1(" ", item_r40.label, " ");
|
|
1225
1246
|
} }
|
|
1226
1247
|
function TableComponent_8_ng_template_0_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
1227
|
-
i0.ɵɵelementStart(0, "div",
|
|
1248
|
+
i0.ɵɵelementStart(0, "div", 78)(1, "button", 79);
|
|
1228
1249
|
i0.ɵɵpipe(2, "translate");
|
|
1229
|
-
i0.ɵɵelement(3, "i",
|
|
1250
|
+
i0.ɵɵelement(3, "i", 80)(4, "i", 81);
|
|
1230
1251
|
i0.ɵɵelementEnd();
|
|
1231
|
-
i0.ɵɵelementStart(5, "ul",
|
|
1232
|
-
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);
|
|
1233
1254
|
i0.ɵɵelementEnd()();
|
|
1234
1255
|
} if (rf & 2) {
|
|
1235
1256
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -1239,15 +1260,15 @@ function TableComponent_8_ng_template_0_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
1239
1260
|
i0.ɵɵproperty("ngForOf", ctx_r1.toolbar.groupSort.label);
|
|
1240
1261
|
} }
|
|
1241
1262
|
function TableComponent_8_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1242
|
-
const
|
|
1243
|
-
i0.ɵɵelementStart(0, "div",
|
|
1244
|
-
i0.ɵɵtemplate(2, TableComponent_8_ng_template_0_div_2_Template, 9, 9, "div",
|
|
1245
|
-
i0.ɵɵelementStart(3, "div",
|
|
1246
|
-
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)); });
|
|
1247
1268
|
i0.ɵɵelementEnd()();
|
|
1248
|
-
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);
|
|
1249
1270
|
i0.ɵɵprojection(12);
|
|
1250
|
-
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);
|
|
1251
1272
|
i0.ɵɵelementEnd()();
|
|
1252
1273
|
} if (rf & 2) {
|
|
1253
1274
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -1283,7 +1304,7 @@ function TableComponent_8_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
1283
1304
|
i0.ɵɵproperty("ngIf", ctx_r1.toolbar.groupSort);
|
|
1284
1305
|
} }
|
|
1285
1306
|
function TableComponent_8_Template(rf, ctx) { if (rf & 1) {
|
|
1286
|
-
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);
|
|
1287
1308
|
} }
|
|
1288
1309
|
// NEW Factory Function
|
|
1289
1310
|
function tableFactory(wrapper) {
|
|
@@ -1688,14 +1709,14 @@ class TableComponent {
|
|
|
1688
1709
|
} if (rf & 2) {
|
|
1689
1710
|
let _t;
|
|
1690
1711
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dt = _t.first);
|
|
1691
|
-
} }, 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) {
|
|
1692
1713
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1693
|
-
i0.ɵɵprojectionDef(_c0$
|
|
1694
|
-
i0.ɵɵtemplate(0, TableComponent_span_0_Template, 4, 3, "span",
|
|
1695
|
-
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);
|
|
1696
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); });
|
|
1697
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); });
|
|
1698
|
-
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);
|
|
1699
1720
|
i0.ɵɵelementEnd();
|
|
1700
1721
|
} if (rf & 2) {
|
|
1701
1722
|
i0.ɵɵproperty("ngIf", ctx.label);
|
|
@@ -1718,7 +1739,7 @@ class TableComponent {
|
|
|
1718
1739
|
}
|
|
1719
1740
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
1720
1741
|
type: Component,
|
|
1721
|
-
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"] }]
|
|
1722
1743
|
}], () => [], { columns: [{
|
|
1723
1744
|
type: Input
|
|
1724
1745
|
}], values: [{
|
|
@@ -1845,7 +1866,7 @@ class EmptyComponent {
|
|
|
1845
1866
|
}], null, null); })();
|
|
1846
1867
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EmptyComponent, { className: "EmptyComponent", filePath: "components/empty/empty.component.ts", lineNumber: 14 }); })();
|
|
1847
1868
|
|
|
1848
|
-
const _c0$
|
|
1869
|
+
const _c0$l = ["*"];
|
|
1849
1870
|
const _c1$a = (a0, a1, a2, a3, a4, a5, a6) => ({ h1: a0, h2: a1, h3: a2, h4: a3, h5: a4, h6: a5, "is-wrappable": a6 });
|
|
1850
1871
|
function InsparkHeaderComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
1851
1872
|
i0.ɵɵelementStart(0, "div", 8);
|
|
@@ -1918,7 +1939,7 @@ class InsparkHeaderComponent {
|
|
|
1918
1939
|
this.level = Math.max(Math.min(this.level, 6), 1);
|
|
1919
1940
|
}
|
|
1920
1941
|
static { this.ɵfac = function InsparkHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InsparkHeaderComponent)(); }; }
|
|
1921
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InsparkHeaderComponent, selectors: [["in-header"]], inputs: { level: "level", label: "label", isWrappable: "isWrappable", lineClamp: "lineClamp" }, standalone: false, ngContentSelectors: _c0$
|
|
1942
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InsparkHeaderComponent, selectors: [["in-header"]], inputs: { level: "level", label: "label", isWrappable: "isWrappable", lineClamp: "lineClamp" }, standalone: false, ngContentSelectors: _c0$l, decls: 9, vars: 18, consts: [[3, "ngClass"], ["class", "u-h1 header__wrapper", 3, "title", 4, "ngIf"], ["class", "u-h2 header__wrapper", 3, "title", 4, "ngIf"], ["class", "u-h3 header__wrapper", 3, "title", 4, "ngIf"], ["class", "u-h4 header__wrapper", 3, "title", 4, "ngIf"], ["class", "u-h5 header__wrapper", 3, "title", 4, "ngIf"], ["class", "u-h6 header__wrapper", 3, "title", 4, "ngIf"], [1, "buttons"], [1, "u-h1", "header__wrapper", 3, "title"], [1, "u-h2", "header__wrapper", 3, "title"], [1, "u-h3", "header__wrapper", 3, "title"], [1, "u-h4", "header__wrapper", 3, "title"], [1, "u-h5", "header__wrapper", 3, "title"], [1, "u-h6", "header__wrapper", 3, "title"]], template: function InsparkHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1922
1943
|
i0.ɵɵprojectionDef();
|
|
1923
1944
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1924
1945
|
i0.ɵɵtemplate(1, InsparkHeaderComponent_div_1_Template, 2, 2, "div", 1)(2, InsparkHeaderComponent_div_2_Template, 2, 2, "div", 2)(3, InsparkHeaderComponent_div_3_Template, 2, 2, "div", 3)(4, InsparkHeaderComponent_div_4_Template, 2, 2, "div", 4)(5, InsparkHeaderComponent_div_5_Template, 2, 2, "div", 5)(6, InsparkHeaderComponent_div_6_Template, 2, 2, "div", 6);
|
|
@@ -1956,7 +1977,7 @@ class InsparkHeaderComponent {
|
|
|
1956
1977
|
}] }); })();
|
|
1957
1978
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InsparkHeaderComponent, { className: "InsparkHeaderComponent", filePath: "components/header/header.component.ts", lineNumber: 10 }); })();
|
|
1958
1979
|
|
|
1959
|
-
const _c0$
|
|
1980
|
+
const _c0$k = (a0, a1) => ({ svg: true, "c-icon_svg-small": a0, "c-icon_svg-large": a1 });
|
|
1960
1981
|
const _c1$9 = (a0, a1) => ({ width: a0, height: a1 });
|
|
1961
1982
|
class SvgComponent {
|
|
1962
1983
|
constructor() {
|
|
@@ -1968,7 +1989,7 @@ class SvgComponent {
|
|
|
1968
1989
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SvgComponent, selectors: [["in-svg"]], inputs: { size: "size", width: "width", height: "height", src: "src" }, standalone: false, decls: 1, vars: 9, consts: [[3, "inlineSVG", "ngClass", "ngStyle"]], template: function SvgComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1969
1990
|
i0.ɵɵelement(0, "span", 0);
|
|
1970
1991
|
} if (rf & 2) {
|
|
1971
|
-
i0.ɵɵproperty("inlineSVG", ctx.src)("ngClass", i0.ɵɵpureFunction2(3, _c0$
|
|
1992
|
+
i0.ɵɵproperty("inlineSVG", ctx.src)("ngClass", i0.ɵɵpureFunction2(3, _c0$k, ctx.size === "small", ctx.size === "large"))("ngStyle", i0.ɵɵpureFunction2(6, _c1$9, ctx.width, ctx.height));
|
|
1972
1993
|
} }, dependencies: [i1$2.NgClass, i1$2.NgStyle, i2$3.InlineSVGDirective], styles: [".svg[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center}.c-icon_svg-small[_ngcontent-%COMP%]{width:16px;height:16px}[_nghost-%COMP%]{display:inline-block}"] }); }
|
|
1973
1994
|
}
|
|
1974
1995
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SvgComponent, [{
|
|
@@ -1985,7 +2006,7 @@ class SvgComponent {
|
|
|
1985
2006
|
}] }); })();
|
|
1986
2007
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SvgComponent, { className: "SvgComponent", filePath: "components/svg/svg.component.ts", lineNumber: 11 }); })();
|
|
1987
2008
|
|
|
1988
|
-
const _c0$
|
|
2009
|
+
const _c0$j = (a0, a1) => ({ "icon": a0, "has-content": a1 });
|
|
1989
2010
|
function StatusCircleComponent_in_svg_2_Template(rf, ctx) { if (rf & 1) {
|
|
1990
2011
|
i0.ɵɵelement(0, "in-svg", 5);
|
|
1991
2012
|
} if (rf & 2) {
|
|
@@ -2037,7 +2058,7 @@ class StatusCircleComponent {
|
|
|
2037
2058
|
} if (rf & 2) {
|
|
2038
2059
|
i0.ɵɵclassMapInterpolate1("circle-container ", ctx.size, "");
|
|
2039
2060
|
i0.ɵɵpropertyInterpolate("title", ctx.title ? ctx.title : ctx.label);
|
|
2040
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(12, _c0$
|
|
2061
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(12, _c0$j, ctx.icon, ctx.content !== ""));
|
|
2041
2062
|
i0.ɵɵadvance();
|
|
2042
2063
|
i0.ɵɵclassMapInterpolate1("circle ", ctx.mode, "");
|
|
2043
2064
|
i0.ɵɵadvance();
|
|
@@ -2296,7 +2317,7 @@ class SwitcherComponent {
|
|
|
2296
2317
|
}] }); })();
|
|
2297
2318
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SwitcherComponent, { className: "SwitcherComponent", filePath: "components/switcher/switcher.component.ts", lineNumber: 18 }); })();
|
|
2298
2319
|
|
|
2299
|
-
const _c0$
|
|
2320
|
+
const _c0$i = ["*", [["tooltip_content"]]];
|
|
2300
2321
|
const _c1$8 = ["*", "tooltip_content"];
|
|
2301
2322
|
class TooltipComponent {
|
|
2302
2323
|
constructor() { }
|
|
@@ -2304,7 +2325,7 @@ class TooltipComponent {
|
|
|
2304
2325
|
}
|
|
2305
2326
|
static { this.ɵfac = function TooltipComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TooltipComponent)(); }; }
|
|
2306
2327
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TooltipComponent, selectors: [["in-tooltip"]], standalone: false, ngContentSelectors: _c1$8, decls: 4, vars: 0, consts: [[1, "c-tooltip", "c-tooltip_left"], [1, "c-tooltip__content", 2, "width", "12em"]], template: function TooltipComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2307
|
-
i0.ɵɵprojectionDef(_c0$
|
|
2328
|
+
i0.ɵɵprojectionDef(_c0$i);
|
|
2308
2329
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2309
2330
|
i0.ɵɵprojection(1);
|
|
2310
2331
|
i0.ɵɵelementStart(2, "div", 1);
|
|
@@ -2318,10 +2339,10 @@ class TooltipComponent {
|
|
|
2318
2339
|
}], () => [], null); })();
|
|
2319
2340
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TooltipComponent, { className: "TooltipComponent", filePath: "components/tooltip/tooltip.component.ts", lineNumber: 10 }); })();
|
|
2320
2341
|
|
|
2321
|
-
const _c0$
|
|
2342
|
+
const _c0$h = a0 => ({ row_active: a0 });
|
|
2322
2343
|
const _c1$7 = a0 => ({ "p-treetable-tbody-content_has-toggler ": a0 });
|
|
2323
|
-
const _c2$
|
|
2324
|
-
const _c3$
|
|
2344
|
+
const _c2$5 = (a0, a1) => ({ data: a0, col: a1 });
|
|
2345
|
+
const _c3$4 = a0 => ({ $implicit: a0 });
|
|
2325
2346
|
const _c4$2 = () => ({ standalone: true });
|
|
2326
2347
|
function TreeTableComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2327
2348
|
i0.ɵɵelement(0, "col", 9);
|
|
@@ -2448,7 +2469,7 @@ function TreeTableComponent_ng_template_4_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
2448
2469
|
i0.ɵɵadvance(2);
|
|
2449
2470
|
i0.ɵɵproperty("ngIf", !ctx_r2.valueTemplate);
|
|
2450
2471
|
i0.ɵɵadvance();
|
|
2451
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(14, _c3$
|
|
2472
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(14, _c3$4, i0.ɵɵpureFunction2(11, _c2$5, rowData_r9, col_r13)));
|
|
2452
2473
|
} }
|
|
2453
2474
|
function TreeTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2454
2475
|
i0.ɵɵelementStart(0, "tr", 15);
|
|
@@ -2459,7 +2480,7 @@ function TreeTableComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
2459
2480
|
const rowData_r9 = ctx.rowData;
|
|
2460
2481
|
const rowNode_r10 = ctx.$implicit;
|
|
2461
2482
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
2462
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
2483
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$h, ctx_r2.isRowActive(rowData_r9)))("ttSelectableRow", rowNode_r10);
|
|
2463
2484
|
i0.ɵɵadvance();
|
|
2464
2485
|
i0.ɵɵproperty("ngIf", ctx_r2.checkboxSelection);
|
|
2465
2486
|
i0.ɵɵadvance();
|
|
@@ -2983,23 +3004,28 @@ class TreeTableComponentModule {
|
|
|
2983
3004
|
function RadiobuttonComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
2984
3005
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2985
3006
|
i0.ɵɵelementContainerStart(0);
|
|
2986
|
-
i0.ɵɵelementStart(1, "
|
|
2987
|
-
i0.ɵɵlistener("
|
|
2988
|
-
i0.ɵɵelementEnd();
|
|
2989
|
-
i0.ɵɵelementStart(2, "label", 2);
|
|
2990
|
-
i0.ɵɵtext(3);
|
|
3007
|
+
i0.ɵɵelementStart(1, "label")(2, "span", 1)(3, "input", 2);
|
|
3008
|
+
i0.ɵɵlistener("change", function RadiobuttonComponent_ng_container_0_Template_input_change_3_listener() { const element_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectElement(element_r2)); });
|
|
2991
3009
|
i0.ɵɵelementEnd();
|
|
3010
|
+
i0.ɵɵelementStart(4, "span", 3);
|
|
3011
|
+
i0.ɵɵelement(5, "span", 4);
|
|
3012
|
+
i0.ɵɵelementEnd()();
|
|
3013
|
+
i0.ɵɵelementStart(6, "span", 5);
|
|
3014
|
+
i0.ɵɵtext(7);
|
|
3015
|
+
i0.ɵɵelementEnd()();
|
|
2992
3016
|
i0.ɵɵelementContainerEnd();
|
|
2993
3017
|
} if (rf & 2) {
|
|
2994
|
-
const
|
|
2995
|
-
const
|
|
3018
|
+
const element_r2 = ctx.$implicit;
|
|
3019
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2996
3020
|
i0.ɵɵadvance();
|
|
2997
|
-
i0.ɵɵclassMapInterpolate1("u-margin-left-tiny u-vertical-align-middle field_",
|
|
2998
|
-
i0.ɵɵproperty("inputId", ctx_r1.name + "-" + element_r3.id)("ngModel", ctx_r1.selectedId)("name", ctx_r1.name)("value", element_r3.id)("disabled", ctx_r1.disabled);
|
|
3021
|
+
i0.ɵɵclassMapInterpolate1("in-radiobutton-option u-margin-left-tiny u-vertical-align-middle field_", ctx_r2.name, "");
|
|
2999
3022
|
i0.ɵɵadvance();
|
|
3000
|
-
i0.ɵɵ
|
|
3023
|
+
i0.ɵɵclassProp("p-radiobutton-checked", ctx_r2.isSelected(element_r2))("p-disabled", ctx_r2.disabled);
|
|
3001
3024
|
i0.ɵɵadvance();
|
|
3002
|
-
i0.ɵɵ
|
|
3025
|
+
i0.ɵɵproperty("value", element_r2.id)("checked", ctx_r2.isSelected(element_r2))("disabled", ctx_r2.disabled);
|
|
3026
|
+
i0.ɵɵattribute("id", ctx_r2.name + "-" + element_r2.id)("name", ctx_r2.name);
|
|
3027
|
+
i0.ɵɵadvance(4);
|
|
3028
|
+
i0.ɵɵtextInterpolate1(" ", element_r2[ctx_r2.keyLabel], " ");
|
|
3003
3029
|
} }
|
|
3004
3030
|
class RadiobuttonComponent {
|
|
3005
3031
|
constructor() {
|
|
@@ -3014,24 +3040,29 @@ class RadiobuttonComponent {
|
|
|
3014
3040
|
get selectedId() {
|
|
3015
3041
|
return this.item && typeof this.item === 'object' ? this.item.id : this.item;
|
|
3016
3042
|
}
|
|
3017
|
-
|
|
3018
|
-
this.
|
|
3019
|
-
|
|
3043
|
+
isSelected(value) {
|
|
3044
|
+
return value && String(this.selectedId) === String(value.id);
|
|
3045
|
+
}
|
|
3046
|
+
selectElement(value) {
|
|
3047
|
+
if (!value || this.disabled) {
|
|
3048
|
+
return;
|
|
3049
|
+
}
|
|
3050
|
+
this.item = value.id;
|
|
3020
3051
|
this.onChangeEvent(value);
|
|
3021
3052
|
}
|
|
3022
3053
|
onChangeEvent(value) {
|
|
3023
3054
|
this.change.next({ name: this.name, value });
|
|
3024
3055
|
}
|
|
3025
3056
|
static { this.ɵfac = function RadiobuttonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RadiobuttonComponent)(); }; }
|
|
3026
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiobuttonComponent, selectors: [["in-radiobutton"]], inputs: { name: "name", label: "label", required: "required", error: "error", placeholder: "placeholder", id: "id", disabled: "disabled", value: "value", values: "values", keyLabel: "keyLabel", item: "item" }, outputs: { change: "change" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"], [
|
|
3027
|
-
i0.ɵɵtemplate(0, RadiobuttonComponent_ng_container_0_Template,
|
|
3057
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadiobuttonComponent, selectors: [["in-radiobutton"]], inputs: { name: "name", label: "label", required: "required", error: "error", placeholder: "placeholder", id: "id", disabled: "disabled", value: "value", values: "values", keyLabel: "keyLabel", item: "item" }, outputs: { change: "change" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"], [1, "p-radiobutton", "p-component"], ["type", "radio", 1, "p-radiobutton-input", 3, "change", "value", "checked", "disabled"], [1, "p-radiobutton-box"], [1, "p-radiobutton-icon"], [1, "p-radiobutton-label", "u-vertical-align-middle"]], template: function RadiobuttonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3058
|
+
i0.ɵɵtemplate(0, RadiobuttonComponent_ng_container_0_Template, 8, 13, "ng-container", 0);
|
|
3028
3059
|
} if (rf & 2) {
|
|
3029
3060
|
i0.ɵɵproperty("ngForOf", ctx.values);
|
|
3030
|
-
} }, dependencies: [i1$2.NgForOf,
|
|
3061
|
+
} }, dependencies: [i1$2.NgForOf], styles: [".in-radiobutton-option[_ngcontent-%COMP%]{display:inline-flex;align-items:center;cursor:pointer}.in-radiobutton-option[_ngcontent-%COMP%] .p-disabled[_ngcontent-%COMP%]{cursor:default}"], changeDetection: 0 }); }
|
|
3031
3062
|
}
|
|
3032
3063
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadiobuttonComponent, [{
|
|
3033
3064
|
type: Component,
|
|
3034
|
-
args: [{ standalone: false, selector: 'in-radiobutton', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngFor=\"let element of values\">\n <
|
|
3065
|
+
args: [{ standalone: false, selector: 'in-radiobutton', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngFor=\"let element of values\">\n <label class=\"in-radiobutton-option u-margin-left-tiny u-vertical-align-middle field_{{name}}\">\n <span\n class=\"p-radiobutton p-component\"\n [class.p-radiobutton-checked]=\"isSelected(element)\"\n [class.p-disabled]=\"disabled\">\n <input\n class=\"p-radiobutton-input\"\n type=\"radio\"\n [attr.id]=\"name + '-' + element.id\"\n [attr.name]=\"name\"\n [value]=\"element.id\"\n [checked]=\"isSelected(element)\"\n [disabled]=\"disabled\"\n (change)=\"selectElement(element)\">\n <span class=\"p-radiobutton-box\">\n <span class=\"p-radiobutton-icon\"></span>\n </span>\n </span>\n <span class=\"p-radiobutton-label u-vertical-align-middle\">\n {{ element[keyLabel] }}\n </span>\n </label>\n</ng-container>\n", styles: [".in-radiobutton-option{display:inline-flex;align-items:center;cursor:pointer}.in-radiobutton-option .p-disabled{cursor:default}\n"] }]
|
|
3035
3066
|
}], () => [], { name: [{
|
|
3036
3067
|
type: Input
|
|
3037
3068
|
}], label: [{
|
|
@@ -3098,8 +3129,8 @@ class PreloaderComponent {
|
|
|
3098
3129
|
// tslint:disable-next-line:max-line-length
|
|
3099
3130
|
const _c0$e = (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) => ({ "p-button p-widget p-state-default p-corner-all": true, "p-button-icon-only": a0, "p-button-text-icon-left": a1, "p-button-text-icon-right": a2, "p-button-text-only": a3, "p-button-text-empty": a4, "p-button-svg": a5, "p-button-material": a6, "p-state-disabled": a7, "p-button-tiny": a8, "p-button-small": a9, "p-button-large": a10, "p-button-primary": a11, "p-button-secondary": a12, "p-button-danger": a13, "p-button-transparency": a14, "p-button-pressed": a15 });
|
|
3100
3131
|
const _c1$6 = a0 => ({ width: a0 });
|
|
3101
|
-
const _c2$
|
|
3102
|
-
const _c3$
|
|
3132
|
+
const _c2$4 = (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) => ({ "p-button p-widget p-state-default p-corner-all": true, "p-button-icon-only": a0, "p-button-text-icon-left": a1, "p-button-text-icon-right": a2, "p-button-text-only": a3, "p-button-text-empty": a4, "p-button-svg": a5, "p-button-material": a6, "p-state-disabled": a7, "p-button-tiny": a8, "p-button-small": a9, "p-button-large": a10, "p-button-primary": a11, "p-button-secondary": a12, "p-button-danger": a13, "p-button-transparency": a14, "p-button-shadowed": a15, "p-button-pressed": a16 });
|
|
3133
|
+
const _c3$3 = (a0, a1) => ({ "p-clickable": true, "p-button-icon-left": a0, "p-button-icon-right": a1 });
|
|
3103
3134
|
function ButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3104
3135
|
i0.ɵɵelementContainer(0);
|
|
3105
3136
|
} }
|
|
@@ -3182,7 +3213,7 @@ function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
3182
3213
|
i0.ɵɵadvance(2);
|
|
3183
3214
|
i0.ɵɵstyleMap(ctx_r1.style);
|
|
3184
3215
|
i0.ɵɵclassMap(ctx_r1.className + " " + ctx_r1.testId + " field_" + ctx_r1.name);
|
|
3185
|
-
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(13, _c2$
|
|
3216
|
+
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(13, _c2$4, [(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "left", (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "right", !(ctx_r1.icon || ctx_r1.svg) && ctx_r1.label, !(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, ctx_r1.svg, ctx_r1.isMaterialIcon, ctx_r1.disabled, ctx_r1.size === "tiny", ctx_r1.size === "small", ctx_r1.size === "large", ctx_r1.color === "primary", ctx_r1.color === "secondary", ctx_r1.color === "danger", ctx_r1.color === "transparent", ctx_r1.shadow === true, ctx_r1.pressed]));
|
|
3186
3217
|
i0.ɵɵattribute("type", ctx_r1.type);
|
|
3187
3218
|
i0.ɵɵadvance();
|
|
3188
3219
|
i0.ɵɵproperty("ngTemplateOutlet", content_r3);
|
|
@@ -3215,7 +3246,7 @@ function ButtonComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
3215
3246
|
i0.ɵɵadvance();
|
|
3216
3247
|
i0.ɵɵstyleMap(ctx_r1.style);
|
|
3217
3248
|
i0.ɵɵclassMap(ctx_r1.className + " " + ctx_r1.testId + " field_" + ctx_r1.name);
|
|
3218
|
-
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(12, _c2$
|
|
3249
|
+
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(12, _c2$4, [(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label || ctx_r1.isIconOnly, (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "left", (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "right", !(ctx_r1.icon || ctx_r1.svg) && ctx_r1.label, !(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, ctx_r1.svg, ctx_r1.isMaterialIcon, ctx_r1.disabled, ctx_r1.size === "tiny", ctx_r1.size === "small", ctx_r1.size === "large", ctx_r1.color === "primary", ctx_r1.color === "secondary", ctx_r1.color === "danger", ctx_r1.color === "transparent", ctx_r1.shadow === true, ctx_r1.pressed]));
|
|
3219
3250
|
i0.ɵɵattribute("type", ctx_r1.type);
|
|
3220
3251
|
i0.ɵɵadvance();
|
|
3221
3252
|
i0.ɵɵproperty("ngTemplateOutlet", content_r3);
|
|
@@ -3227,7 +3258,7 @@ function ButtonComponent_ng_template_4_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
3227
3258
|
} if (rf & 2) {
|
|
3228
3259
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
3229
3260
|
i0.ɵɵclassMap(ctx_r1.icon);
|
|
3230
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c3$
|
|
3261
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c3$3, ctx_r1.iconPos === "left", ctx_r1.iconPos === "right"));
|
|
3231
3262
|
} }
|
|
3232
3263
|
function ButtonComponent_ng_template_4_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
3233
3264
|
i0.ɵɵelementStart(0, "span", 24)(1, "i", 25);
|
|
@@ -3235,7 +3266,7 @@ function ButtonComponent_ng_template_4_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
3235
3266
|
i0.ɵɵelementEnd()();
|
|
3236
3267
|
} if (rf & 2) {
|
|
3237
3268
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
3238
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(2, _c3$
|
|
3269
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(2, _c3$3, ctx_r1.iconPos === "left", ctx_r1.iconPos === "right"));
|
|
3239
3270
|
i0.ɵɵadvance(2);
|
|
3240
3271
|
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
|
3241
3272
|
} }
|
|
@@ -3272,7 +3303,7 @@ function ButtonComponent_ng_template_4_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
3272
3303
|
i0.ɵɵelementEnd();
|
|
3273
3304
|
} if (rf & 2) {
|
|
3274
3305
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
3275
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c3$
|
|
3306
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c3$3, ctx_r1.iconPos === "left", ctx_r1.iconPos === "right"));
|
|
3276
3307
|
i0.ɵɵadvance();
|
|
3277
3308
|
i0.ɵɵproperty("ngIf", ctx_r1.size === "normal");
|
|
3278
3309
|
i0.ɵɵadvance();
|
|
@@ -3916,8 +3947,8 @@ class ButtonComponentModule {
|
|
|
3916
3947
|
|
|
3917
3948
|
const _c0$c = ["sticky"];
|
|
3918
3949
|
const _c1$5 = ["*"];
|
|
3919
|
-
const _c2$
|
|
3920
|
-
const _c3$
|
|
3950
|
+
const _c2$3 = a0 => ({ inline: a0 });
|
|
3951
|
+
const _c3$2 = a0 => ({ height: a0 });
|
|
3921
3952
|
const _c4$1 = (a0, a1) => ({ sticky: a0, floated: a1 });
|
|
3922
3953
|
const _c5 = (a0, a1, a2, a3) => ({ zIndex: a0, top: a1, left: a2, width: a3 });
|
|
3923
3954
|
class InsparkStickyComponent {
|
|
@@ -3972,7 +4003,7 @@ class InsparkStickyComponent {
|
|
|
3972
4003
|
i0.ɵɵprojection(4);
|
|
3973
4004
|
i0.ɵɵelementEnd()()();
|
|
3974
4005
|
} if (rf & 2) {
|
|
3975
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$
|
|
4006
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$3, ctx.isInline))("ngStyle", i0.ɵɵpureFunction1(7, _c3$2, ctx.height ? ctx.height + "px" : "auto"));
|
|
3976
4007
|
i0.ɵɵadvance(2);
|
|
3977
4008
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(9, _c4$1, ctx.isSticky, ctx.isFloated && ctx.isSticky))("ngStyle", i0.ɵɵpureFunction4(12, _c5, ctx.zIndex, ctx.top + "px", ctx.left + "px", ctx.width ? ctx.width + "px" : "auto"));
|
|
3978
4009
|
i0.ɵɵadvance();
|
|
@@ -4060,7 +4091,7 @@ class SharedUiModule {
|
|
|
4060
4091
|
|
|
4061
4092
|
const _c0$b = ["autocomplete"];
|
|
4062
4093
|
const _c1$4 = [[["", "itemTemplate", ""]], [["", "selectedItemTemplate", ""]]];
|
|
4063
|
-
const _c2 = ["[itemTemplate]", "[selectedItemTemplate]"];
|
|
4094
|
+
const _c2$2 = ["[itemTemplate]", "[selectedItemTemplate]"];
|
|
4064
4095
|
function AutoCompleteComponent_ng_template_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
4065
4096
|
i0.ɵɵelementStart(0, "span");
|
|
4066
4097
|
i0.ɵɵtext(1);
|
|
@@ -4197,7 +4228,7 @@ class AutoCompleteComponent {
|
|
|
4197
4228
|
useExisting: forwardRef(() => AutoCompleteComponent),
|
|
4198
4229
|
multi: true
|
|
4199
4230
|
}
|
|
4200
|
-
])], ngContentSelectors: _c2, decls: 4, vars: 21, consts: [["autocomplete", ""], [3, "ngModelChange", "completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onKeyUp", "onShow", "onHide", "styleClass", "ngModel", "suggestions", "placeholder", "field", "dropdown", "multiple", "forceSelection", "minLength", "delay", "disabled", "appendTo", "dropdownMode", "virtualScroll", "virtualScrollItemSize", "emptyMessage", "inputStyle", "inputStyleClass", "dropdownIcon"], ["pTemplate", "item"], ["pTemplate", "selectedItem"], [4, "ngIf"]], template: function AutoCompleteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4231
|
+
])], ngContentSelectors: _c2$2, decls: 4, vars: 21, consts: [["autocomplete", ""], [3, "ngModelChange", "completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onKeyUp", "onShow", "onHide", "styleClass", "ngModel", "suggestions", "placeholder", "field", "dropdown", "multiple", "forceSelection", "minLength", "delay", "disabled", "appendTo", "dropdownMode", "virtualScroll", "virtualScrollItemSize", "emptyMessage", "inputStyle", "inputStyleClass", "dropdownIcon"], ["pTemplate", "item"], ["pTemplate", "selectedItem"], [4, "ngIf"]], template: function AutoCompleteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4201
4232
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4202
4233
|
i0.ɵɵprojectionDef(_c1$4);
|
|
4203
4234
|
i0.ɵɵelementStart(0, "p-autoComplete", 1, 0);
|
|
@@ -4210,7 +4241,7 @@ class AutoCompleteComponent {
|
|
|
4210
4241
|
i0.ɵɵproperty("styleClass", ctx.styleClass);
|
|
4211
4242
|
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
|
4212
4243
|
i0.ɵɵproperty("suggestions", ctx.suggestions)("placeholder", ctx.placeholder)("field", ctx.field)("dropdown", ctx.dropdown)("multiple", ctx.multiple)("forceSelection", ctx.forceSelection)("minLength", ctx.minLength)("delay", ctx.delay)("disabled", ctx.disabled)("appendTo", ctx.appendTo)("dropdownMode", ctx.dropdownMode)("virtualScroll", ctx.virtualScroll)("virtualScrollItemSize", ctx.virtualScrollItemSize)("emptyMessage", ctx.emptyMessage)("inputStyle", ctx.inputStyle)("inputStyleClass", ctx.inputStyleClass)("dropdownIcon", ctx.dropdownIcon);
|
|
4213
|
-
} }, dependencies: [i1$2.NgIf, i2$1.NgControlStatus, i2$1.NgModel, i3
|
|
4244
|
+
} }, dependencies: [i1$2.NgIf, i2$1.NgControlStatus, i2$1.NgModel, i3.AutoComplete, i2.PrimeTemplate], styles: ["[_nghost-%COMP%]{display:block}"] }); }
|
|
4214
4245
|
}
|
|
4215
4246
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoCompleteComponent, [{
|
|
4216
4247
|
type: Component,
|
|
@@ -4433,7 +4464,7 @@ class ObjectPieComponent {
|
|
|
4433
4464
|
|
|
4434
4465
|
const _c0$a = a0 => ({ width: a0 });
|
|
4435
4466
|
const _c1$3 = a0 => ({ "u-margin-right-tiny": a0 });
|
|
4436
|
-
const _c2$
|
|
4467
|
+
const _c2$1 = (a0, a1, a2, a3, a4, a5) => ({ "c-input_opaque": a0, "c-input_shadowed": a1, "c-input_large": a2, "c-input_small": a3, "c-input_margin_padding": a4, "c-input_padding_right": a5 });
|
|
4437
4468
|
const _c3$1 = () => ({ standalone: true });
|
|
4438
4469
|
const _c4 = a0 => ({ empty: a0 });
|
|
4439
4470
|
function InputTextComponent_span_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4573,7 +4604,7 @@ class InputTextComponent {
|
|
|
4573
4604
|
i0.ɵɵadvance();
|
|
4574
4605
|
i0.ɵɵclassMapInterpolate1("search-box c-input field_", ctx.id, "");
|
|
4575
4606
|
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
|
4576
|
-
i0.ɵɵproperty("autocomplete", ctx.autocomplete ? "on" : "off")("disabled", ctx.disabled)("id", ctx.id)("maxlength", ctx.maxlength)("name", ctx.name)("ngClass", i0.ɵɵpureFunction6(29, _c2$
|
|
4607
|
+
i0.ɵɵproperty("autocomplete", ctx.autocomplete ? "on" : "off")("disabled", ctx.disabled)("id", ctx.id)("maxlength", ctx.maxlength)("name", ctx.name)("ngClass", i0.ɵɵpureFunction6(29, _c2$1, ctx.opacity === false, ctx.shadow, ctx.large, ctx.small, ctx.widget, ctx.forms))("ngModelOptions", i0.ɵɵpureFunction0(36, _c3$1))("placeholder", ctx.placeholder)("required", ctx.required)("size", ctx.size)("min", ctx.min)("max", ctx.max)("step", ctx.step)("type", ctx.type);
|
|
4577
4608
|
i0.ɵɵadvance();
|
|
4578
4609
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(37, _c4, ctx.display));
|
|
4579
4610
|
i0.ɵɵattribute("title", i0.ɵɵpipeBind1(5, 23, "Reset"));
|
|
@@ -5582,7 +5613,7 @@ class InlineMessageComponent {
|
|
|
5582
5613
|
|
|
5583
5614
|
const _c0$3 = ["buttons"];
|
|
5584
5615
|
const _c1$2 = [[["", "arrow", ""]], [["", "header", ""]], [["", "buttons", ""]], [["", "body", ""]]];
|
|
5585
|
-
const _c2
|
|
5616
|
+
const _c2 = ["[arrow]", "[header]", "[buttons]", "[body]"];
|
|
5586
5617
|
const _c3 = a0 => ({ arrow: true, close: a0 });
|
|
5587
5618
|
function ContentToggleComponent_in_svg_2_Template(rf, ctx) { if (rf & 1) {
|
|
5588
5619
|
i0.ɵɵelement(0, "in-svg", 9);
|
|
@@ -5628,7 +5659,7 @@ class ContentToggleComponent {
|
|
|
5628
5659
|
} if (rf & 2) {
|
|
5629
5660
|
let _t;
|
|
5630
5661
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.elementButtons = _t.first);
|
|
5631
|
-
} }, inputs: { label: "label", defaultOpen: "defaultOpen", isOpen: "isOpen", icon: "icon", manualArrow: "manualArrow" }, outputs: { toggle: "toggle" }, standalone: false, ngContentSelectors: _c2
|
|
5662
|
+
} }, inputs: { label: "label", defaultOpen: "defaultOpen", isOpen: "isOpen", icon: "icon", manualArrow: "manualArrow" }, outputs: { toggle: "toggle" }, standalone: false, ngContentSelectors: _c2, decls: 13, vars: 7, consts: [["buttons", ""], ["tabIndex", "1", 1, "block", 3, "click"], [3, "ngClass"], ["width", "48px", "height", "48px", 3, "src", 4, "ngIf"], [1, "label"], ["class", "label-icon", 3, "src", 4, "ngIf"], [1, "counter"], [1, "buttons"], ["class", "container", 4, "ngIf"], ["width", "48px", "height", "48px", 3, "src"], [1, "label-icon", 3, "src"], [1, "container"]], template: function ContentToggleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5632
5663
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
5633
5664
|
i0.ɵɵprojectionDef(_c1$2);
|
|
5634
5665
|
i0.ɵɵelementStart(0, "div", 1);
|
|
@@ -6078,7 +6109,7 @@ class LinkComponent {
|
|
|
6078
6109
|
i0.ɵɵproperty("ngIf", !ctx.link);
|
|
6079
6110
|
i0.ɵɵadvance();
|
|
6080
6111
|
i0.ɵɵproperty("ngIf", ctx.menuItems.length);
|
|
6081
|
-
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i1$2.NgTemplateOutlet, i1$3.RouterLink, i3$
|
|
6112
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i1$2.NgTemplateOutlet, i1$3.RouterLink, i3$1.Menu, SvgComponent], styles: [".p-link[_ngcontent-%COMP%]{text-decoration:none;color:var(--colorLink);cursor:pointer}.p-link.p-link-secondary[_ngcontent-%COMP%]{color:var(--colorTextSecondary)}.p-link[_ngcontent-%COMP%]:hover{color:var(--colorLink)}.p-link[_ngcontent-%COMP%]:hover .p-link-text[_ngcontent-%COMP%]{text-decoration:underline;color:var(--colorLink)}button[_ngcontent-%COMP%]{outline:none}.p-link-icon-only[_ngcontent-%COMP%] .p-link-icon-left[_ngcontent-%COMP%]{margin-top:-9px}.p-link-text[_ngcontent-%COMP%]{vertical-align:middle}.p-link[_ngcontent-%COMP%]{margin-right:0;display:inline-flex;align-items:center;justify-content:center}.p-link-text-icon-left[_ngcontent-%COMP%] .p-link-text[_ngcontent-%COMP%]{padding-left:.6em}.p-link-icon-only[_ngcontent-%COMP%]{font-size:18px;display:inline-flex;align-items:center;justify-content:center}.p-link-icon-only[_ngcontent-%COMP%] .svg[_ngcontent-%COMP%]{display:inline-block;line-height:0}.p-link-transparency[_ngcontent-%COMP%]{background:none}.p-link.p-link-svg[_ngcontent-%COMP%] .p-clickable[_ngcontent-%COMP%]{height:20px}.p-link.p-link-svg[_ngcontent-%COMP%] .p-link-icon-left[_ngcontent-%COMP%]{left:6px;margin-top:-2px}.p-link.p-link-svg.p-link-icon-only[_ngcontent-%COMP%] .p-link-icon-left[_ngcontent-%COMP%]{left:50%;width:auto;transform:translate(-50%,-50%);margin-left:0;margin-top:0}.p-link-material[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px}[_nghost-%COMP%] .p-menu[_ngcontent-%COMP%] .p-menuitem-link[_ngcontent-%COMP%]{font-size:16px}"] }); }
|
|
6082
6113
|
}
|
|
6083
6114
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkComponent, [{
|
|
6084
6115
|
type: Component,
|
|
@@ -6382,7 +6413,7 @@ class DropdownComponent {
|
|
|
6382
6413
|
} if (rf & 2) {
|
|
6383
6414
|
i0.ɵɵproperty("options", ctx.options)("placeholder", ctx.placeholder)("optionLabel", ctx.optionLabel)("optionValue", ctx.optionValue)("dataKey", ctx.dataKey)("filter", ctx.filter)("filterBy", ctx.effectiveFilterBy)("filterMatchMode", ctx.filterMatchMode)("showClear", ctx.showClear)("disabled", ctx.disabled)("appendTo", ctx.appendTo)("editable", ctx.editable)("virtualScroll", ctx.virtualScroll)("virtualScrollItemSize", ctx.virtualScrollItemSize)("loading", ctx.loading)("autoDisplayFirst", ctx.autoDisplayFirst)("emptyMessage", ctx.emptyMessage)("styleClass", ctx.styleClass);
|
|
6384
6415
|
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
|
6385
|
-
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i2$1.NgControlStatus, i2$1.NgModel, i3$
|
|
6416
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i2$1.NgControlStatus, i2$1.NgModel, i3$2.Select, i2.PrimeTemplate], styles: [".in-dropdown[_ngcontent-%COMP%]{width:100%;margin-bottom:0}"] }); }
|
|
6386
6417
|
}
|
|
6387
6418
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DropdownComponent, [{
|
|
6388
6419
|
type: Component,
|