@inspark/inspark-components 19.0.45 → 19.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/full/bms.css +1 -1
- package/full/components/inspark.module.d.ts +5 -4
- package/full/components/inspark.module.d.ts.map +1 -1
- package/full/fesm2022/inspark-inspark-components.mjs +291 -327
- package/full/fesm2022/inspark-inspark-components.mjs.map +1 -1
- package/full/index.css +1 -1
- package/full/services/inspark-dialog.service.d.ts +4 -20
- package/full/services/inspark-dialog.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Pipe, NgModule, Injectable,
|
|
2
|
+
import { Pipe, NgModule, Injectable, Component, Directive, Input, EventEmitter, HostListener, Output, ChangeDetectionStrategy, ViewChild, ContentChildren, ViewEncapsulation, forwardRef, HostBinding, TemplateRef, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
3
|
import * as i1 from '@ngx-translate/core';
|
|
4
4
|
import { TranslateModule } from '@ngx-translate/core';
|
|
5
5
|
export { TranslateModule } from '@ngx-translate/core';
|
|
@@ -7,10 +7,10 @@ import * as i1$1 from '@angular/platform-browser';
|
|
|
7
7
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker';
|
|
8
8
|
import * as i2 from 'primeng/api';
|
|
9
9
|
export { SharedModule } from 'primeng/api';
|
|
10
|
-
import * as i1$
|
|
11
|
-
import {
|
|
10
|
+
import * as i1$2 from 'primeng/dynamicdialog';
|
|
11
|
+
import { DynamicDialogModule } from 'primeng/dynamicdialog';
|
|
12
12
|
import { Subject } from 'rxjs';
|
|
13
|
-
import * as i1$
|
|
13
|
+
import * as i1$3 from '@angular/common';
|
|
14
14
|
import { CommonModule } from '@angular/common';
|
|
15
15
|
import * as i2$1 from '@angular/forms';
|
|
16
16
|
import { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
|
|
@@ -26,7 +26,7 @@ import * as i7 from '@ng-bootstrap/ng-bootstrap';
|
|
|
26
26
|
import { NgbDropdownModule, NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
27
27
|
export { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
28
28
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
29
|
-
import * as i1$
|
|
29
|
+
import * as i1$4 from '@angular/router';
|
|
30
30
|
import { RouterModule } from '@angular/router';
|
|
31
31
|
import * as i3$1 from 'primeng/menu';
|
|
32
32
|
import { Menu, MenuModule } from 'primeng/menu';
|
|
@@ -425,93 +425,32 @@ class InsparkMessageService {
|
|
|
425
425
|
type: Injectable
|
|
426
426
|
}], () => [{ type: i1.TranslateService }, { type: i2.MessageService }, { type: i2.ConfirmationService }], null); })();
|
|
427
427
|
|
|
428
|
-
// inspark-dialog.service.ts
|
|
429
428
|
class InsparkDialogService {
|
|
430
|
-
constructor(
|
|
431
|
-
this.
|
|
432
|
-
this.environmentInjector = environmentInjector;
|
|
433
|
-
this.dialogComponentRefs = [];
|
|
429
|
+
constructor(dialogService) {
|
|
430
|
+
this.dialogService = dialogService;
|
|
434
431
|
}
|
|
435
|
-
/**
|
|
436
|
-
* Открывает диалоговое окно с указанным компонентом
|
|
437
|
-
*/
|
|
438
432
|
open(componentType, config) {
|
|
439
|
-
// Создаем диалог через современный API
|
|
440
|
-
const dialogRef = this.appendDialogComponentToBody(config);
|
|
441
|
-
// Фикс скролла
|
|
442
|
-
console.log('window.scrollY', window.scrollY);
|
|
443
433
|
const scrollY = window.scrollY;
|
|
444
434
|
document.body.style.top = `-${scrollY}px`;
|
|
445
435
|
document.body.style.position = 'fixed';
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
console.log('custom subscribe');
|
|
436
|
+
const ref = this.dialogService.open(componentType, config);
|
|
437
|
+
ref.onClose.subscribe(() => {
|
|
449
438
|
document.body.style.position = '';
|
|
450
439
|
document.body.style.top = '';
|
|
451
440
|
window.scrollTo(0, scrollY);
|
|
452
441
|
});
|
|
453
|
-
|
|
454
|
-
const dialogComponentRef = this.dialogComponentRefs[this.dialogComponentRefs.length - 1];
|
|
455
|
-
// Используем Type assertion для доступа к приватному свойству
|
|
456
|
-
dialogComponentRef.instance.childComponentType = componentType;
|
|
457
|
-
return dialogRef;
|
|
458
|
-
}
|
|
459
|
-
/**
|
|
460
|
-
* Создает компонент DynamicDialogComponent и добавляет его в body
|
|
461
|
-
*/
|
|
462
|
-
appendDialogComponentToBody(config) {
|
|
463
|
-
// Создаем ссылку на диалог
|
|
464
|
-
const dialogRef = new DynamicDialogRef();
|
|
465
|
-
// Создаем компонент динамически
|
|
466
|
-
const componentRef = createComponent(DynamicDialogComponent, {
|
|
467
|
-
environmentInjector: this.environmentInjector,
|
|
468
|
-
elementInjector: this.injector
|
|
469
|
-
});
|
|
470
|
-
// В PrimeNG 17 конфиг передается через метод или свойство
|
|
471
|
-
// Используем Type assertion для установки конфига
|
|
472
|
-
const instance = componentRef.instance;
|
|
473
|
-
// Устанавливаем конфигурацию диалога
|
|
474
|
-
if (instance.config) {
|
|
475
|
-
instance.config = config;
|
|
476
|
-
}
|
|
477
|
-
// Сохраняем dialogRef в компоненте (если нужно)
|
|
478
|
-
instance.dialogRef = dialogRef;
|
|
479
|
-
// Автоматически удаляем диалог из DOM при закрытии
|
|
480
|
-
const sub = dialogRef.onClose.subscribe(() => {
|
|
481
|
-
this.removeDialogComponentFromBody(componentRef);
|
|
482
|
-
sub.unsubscribe();
|
|
483
|
-
});
|
|
484
|
-
// Добавляем компонент в DOM
|
|
485
|
-
const domElem = componentRef.hostView.rootNodes[0];
|
|
486
|
-
document.body.appendChild(domElem);
|
|
487
|
-
// Сохраняем ссылку для последующего удаления
|
|
488
|
-
this.dialogComponentRefs.push(componentRef);
|
|
489
|
-
return dialogRef;
|
|
442
|
+
return ref;
|
|
490
443
|
}
|
|
491
|
-
/**
|
|
492
|
-
* Удаляет компонент диалога из DOM и уничтожает его
|
|
493
|
-
*/
|
|
494
|
-
removeDialogComponentFromBody(componentRef) {
|
|
495
|
-
const index = this.dialogComponentRefs.indexOf(componentRef);
|
|
496
|
-
if (index !== -1) {
|
|
497
|
-
this.dialogComponentRefs.splice(index, 1);
|
|
498
|
-
componentRef.destroy();
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
* Закрывает все открытые диалоги
|
|
503
|
-
*/
|
|
504
444
|
closeAll() {
|
|
505
|
-
this.
|
|
506
|
-
this.dialogComponentRefs = [];
|
|
445
|
+
this.dialogService.dialogComponentRefMap.forEach((_, ref) => ref.close());
|
|
507
446
|
}
|
|
508
|
-
static { this.ɵfac = function InsparkDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InsparkDialogService)(i0.ɵɵinject(
|
|
447
|
+
static { this.ɵfac = function InsparkDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InsparkDialogService)(i0.ɵɵinject(i1$2.DialogService)); }; }
|
|
509
448
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: InsparkDialogService, factory: InsparkDialogService.ɵfac, providedIn: 'root' }); }
|
|
510
449
|
}
|
|
511
450
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InsparkDialogService, [{
|
|
512
451
|
type: Injectable,
|
|
513
452
|
args: [{ providedIn: 'root' }]
|
|
514
|
-
}], () => [{ type:
|
|
453
|
+
}], () => [{ type: i1$2.DialogService }], null); })();
|
|
515
454
|
|
|
516
455
|
class CommunicationService {
|
|
517
456
|
constructor() {
|
|
@@ -640,7 +579,7 @@ class TableMenuOverlayComponent {
|
|
|
640
579
|
} if (rf & 2) {
|
|
641
580
|
i0.ɵɵadvance(3);
|
|
642
581
|
i0.ɵɵproperty("ngIf", ctx.isExpanded);
|
|
643
|
-
} }, dependencies: [i1$
|
|
582
|
+
} }, dependencies: [i1$3.NgIf, TableClickOutsideDirective], styles: ["@charset \"UTF-8\";.c-overlay[_ngcontent-%COMP%]{position:relative;display:inline-block}.c-overlay__toggle[_ngcontent-%COMP%]{display:inline-block}.c-overlay__body[_ngcontent-%COMP%]{text-align:left;position:absolute;top:100%;padding:6px 12px;z-index:1050;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;max-height:500px;overflow:auto}.theme-dark[_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%], .theme-dark [_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%]{background-color:#53555c;background-color:var(--ids-theme-color-gray-35, #53555C)}", "@charset \"UTF-8\";.theme-contrast[_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%], .theme-contrast [_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%]{background-color:#ebebeb;background-color:var(--ids-theme-color-gray-5, #EBEBEB)}", "@charset \"UTF-8\";.theme-light[_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%], .theme-light [_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%]{background-color:#ebebeb;background-color:var(--ids-theme-color-gray-5, #EBEBEB)}", "@charset \"UTF-8\";.theme-green[_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%], .theme-green [_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%]{background-color:#ebebeb;background-color:var(--ids-theme-color-gray-5, #EBEBEB)}", "@charset \"UTF-8\";.theme-blue[_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%], .theme-blue [_nghost-%COMP%] .c-overlay__body[_ngcontent-%COMP%]{background-color:#202127;background-color:var(--colorBgLevel1, #202127)}"], changeDetection: 0 }); }
|
|
644
583
|
}
|
|
645
584
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableMenuOverlayComponent, [{
|
|
646
585
|
type: Component,
|
|
@@ -704,7 +643,7 @@ class TableColumnsMultiselectComponent {
|
|
|
704
643
|
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(4, 3, "column switch"));
|
|
705
644
|
i0.ɵɵadvance(5);
|
|
706
645
|
i0.ɵɵproperty("ngForOf", ctx.columns);
|
|
707
|
-
} }, dependencies: [i1$
|
|
646
|
+
} }, dependencies: [i1$3.NgForOf, i2$1.CheckboxControlValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, TableMenuOverlayComponent, i1.TranslatePipe], styles: [".dropdown-label[_ngcontent-%COMP%]{color:var(--text-color)}"] }); }
|
|
708
647
|
}
|
|
709
648
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableColumnsMultiselectComponent, [{
|
|
710
649
|
type: Component,
|
|
@@ -718,24 +657,25 @@ class TableColumnsMultiselectComponent {
|
|
|
718
657
|
}] }); })();
|
|
719
658
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableColumnsMultiselectComponent, { className: "TableColumnsMultiselectComponent", filePath: "components/table/table-columns-multiselect/table-columns-multiselect.component.ts", lineNumber: 10 }); })();
|
|
720
659
|
|
|
721
|
-
const _c0$
|
|
660
|
+
const _c0$g = [[["", "buttons", ""]]];
|
|
722
661
|
const _c1$b = ["[buttons]"];
|
|
723
662
|
const _c2$6 = a0 => ({ columns: a0 });
|
|
724
663
|
const _c3$5 = a0 => ({ $implicit: a0 });
|
|
725
|
-
const _c4$3 = () => ({
|
|
726
|
-
const _c5$1 = (
|
|
727
|
-
const _c6 = a0 => ({
|
|
728
|
-
const _c7 =
|
|
729
|
-
const _c8 = (a0, a1) => ({
|
|
730
|
-
const _c9 = () => ({
|
|
731
|
-
const _c10 =
|
|
664
|
+
const _c4$3 = (a0, a1) => ({ $implicit: a0, columns: a1 });
|
|
665
|
+
const _c5$1 = () => ({ width: "100%", overflow: "visible" });
|
|
666
|
+
const _c6 = (a0, a1, a2) => ({ rowIndex: a0, rowData: a1, columns: a2 });
|
|
667
|
+
const _c7 = a0 => ({ row_active: a0 });
|
|
668
|
+
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 });
|
|
669
|
+
const _c9 = (a0, a1) => ({ data: a0, col: a1 });
|
|
670
|
+
const _c10 = () => ({ standalone: true });
|
|
671
|
+
const _c11 = a0 => ({ "is-dropdown-menu__listitem_active": a0 });
|
|
732
672
|
function TableComponent_span_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
733
|
-
i0.ɵɵelementStart(0, "span",
|
|
673
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
734
674
|
i0.ɵɵtext(1, "*");
|
|
735
675
|
i0.ɵɵelementEnd();
|
|
736
676
|
} }
|
|
737
677
|
function TableComponent_span_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
738
|
-
i0.ɵɵelementStart(0, "span",
|
|
678
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
739
679
|
i0.ɵɵtext(1);
|
|
740
680
|
i0.ɵɵelementEnd();
|
|
741
681
|
} if (rf & 2) {
|
|
@@ -744,9 +684,9 @@ function TableComponent_span_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
744
684
|
i0.ɵɵtextInterpolate(ctx_r1.error);
|
|
745
685
|
} }
|
|
746
686
|
function TableComponent_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
747
|
-
i0.ɵɵelementStart(0, "span",
|
|
687
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
748
688
|
i0.ɵɵtext(1);
|
|
749
|
-
i0.ɵɵtemplate(2, TableComponent_span_0_span_2_Template, 2, 0, "span",
|
|
689
|
+
i0.ɵɵtemplate(2, TableComponent_span_0_span_2_Template, 2, 0, "span", 8)(3, TableComponent_span_0_span_3_Template, 2, 1, "span", 9);
|
|
750
690
|
i0.ɵɵelementEnd();
|
|
751
691
|
} if (rf & 2) {
|
|
752
692
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -761,24 +701,24 @@ function TableComponent_3_ng_template_0_ng_container_0_Template(rf, ctx) { if (r
|
|
|
761
701
|
i0.ɵɵelementContainer(0);
|
|
762
702
|
} }
|
|
763
703
|
function TableComponent_3_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
764
|
-
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_ng_container_0_Template, 1, 0, "ng-container",
|
|
704
|
+
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 13);
|
|
765
705
|
} if (rf & 2) {
|
|
766
706
|
const columns_r3 = ctx.$implicit;
|
|
767
707
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
768
708
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(4, _c3$5, i0.ɵɵpureFunction1(2, _c2$6, columns_r3)));
|
|
769
709
|
} }
|
|
770
710
|
function TableComponent_3_Template(rf, ctx) { if (rf & 1) {
|
|
771
|
-
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_Template, 1, 6, "ng-template",
|
|
711
|
+
i0.ɵɵtemplate(0, TableComponent_3_ng_template_0_Template, 1, 6, "ng-template", 12);
|
|
772
712
|
} }
|
|
773
713
|
function TableComponent_4_ng_template_0_colgroup_0_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
774
|
-
i0.ɵɵelement(0, "col",
|
|
714
|
+
i0.ɵɵelement(0, "col", 16);
|
|
775
715
|
} }
|
|
776
716
|
function TableComponent_4_ng_template_0_colgroup_0_col_2_Template(rf, ctx) { if (rf & 1) {
|
|
777
717
|
i0.ɵɵelement(0, "col");
|
|
778
718
|
} }
|
|
779
719
|
function TableComponent_4_ng_template_0_colgroup_0_Template(rf, ctx) { if (rf & 1) {
|
|
780
720
|
i0.ɵɵelementStart(0, "colgroup");
|
|
781
|
-
i0.ɵɵtemplate(1, TableComponent_4_ng_template_0_colgroup_0_col_1_Template, 1, 0, "col",
|
|
721
|
+
i0.ɵɵtemplate(1, TableComponent_4_ng_template_0_colgroup_0_col_1_Template, 1, 0, "col", 14)(2, TableComponent_4_ng_template_0_colgroup_0_col_2_Template, 1, 0, "col", 15);
|
|
782
722
|
i0.ɵɵelementEnd();
|
|
783
723
|
} if (rf & 2) {
|
|
784
724
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -788,141 +728,162 @@ function TableComponent_4_ng_template_0_colgroup_0_Template(rf, ctx) { if (rf &
|
|
|
788
728
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
789
729
|
} }
|
|
790
730
|
function TableComponent_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
791
|
-
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_colgroup_0_Template, 3, 2, "colgroup",
|
|
731
|
+
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_colgroup_0_Template, 3, 2, "colgroup", 5);
|
|
792
732
|
} if (rf & 2) {
|
|
793
733
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
794
734
|
i0.ɵɵproperty("ngIf", !ctx_r1.isMobileView);
|
|
795
735
|
} }
|
|
796
736
|
function TableComponent_4_Template(rf, ctx) { if (rf & 1) {
|
|
797
|
-
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_Template, 1, 1, "ng-template",
|
|
737
|
+
i0.ɵɵtemplate(0, TableComponent_4_ng_template_0_Template, 1, 1, "ng-template", 12);
|
|
798
738
|
} }
|
|
799
|
-
function
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
739
|
+
function TableComponent_ng_template_5_ng_container_0_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
740
|
+
i0.ɵɵelementContainer(0);
|
|
741
|
+
} }
|
|
742
|
+
function TableComponent_ng_template_5_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
743
|
+
i0.ɵɵelementContainerStart(0);
|
|
744
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 13);
|
|
745
|
+
i0.ɵɵelementContainerEnd();
|
|
746
|
+
} if (rf & 2) {
|
|
747
|
+
const columns_r4 = i0.ɵɵnextContext(2).$implicit;
|
|
748
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
749
|
+
i0.ɵɵadvance();
|
|
750
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c4$3, columns_r4, columns_r4));
|
|
751
|
+
} }
|
|
752
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
753
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
754
|
+
i0.ɵɵelementStart(0, "th", 20)(1, "input", 21);
|
|
755
|
+
i0.ɵɵlistener("change", function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1._onHeaderCheckboxChange($event)); })("click", function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template_input_click_1_listener($event) { i0.ɵɵrestoreView(_r5); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
803
756
|
i0.ɵɵelementEnd()();
|
|
804
757
|
} if (rf & 2) {
|
|
805
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
758
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
806
759
|
i0.ɵɵadvance();
|
|
807
760
|
i0.ɵɵproperty("checked", ctx_r1._isAllSelected());
|
|
808
761
|
} }
|
|
809
|
-
function
|
|
810
|
-
i0.ɵɵelement(0, "p-sortIcon",
|
|
762
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_p_sortIcon_5_Template(rf, ctx) { if (rf & 1) {
|
|
763
|
+
i0.ɵɵelement(0, "p-sortIcon", 25);
|
|
811
764
|
} if (rf & 2) {
|
|
812
|
-
const
|
|
813
|
-
i0.ɵɵproperty("field",
|
|
765
|
+
const col_r6 = i0.ɵɵnextContext().$implicit;
|
|
766
|
+
i0.ɵɵproperty("field", col_r6.field);
|
|
814
767
|
} }
|
|
815
|
-
function
|
|
816
|
-
i0.ɵɵelementStart(0, "th",
|
|
768
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
769
|
+
i0.ɵɵelementStart(0, "th", 22)(1, "div", 23);
|
|
817
770
|
i0.ɵɵpipe(2, "translate");
|
|
818
771
|
i0.ɵɵtext(3);
|
|
819
772
|
i0.ɵɵpipe(4, "translate");
|
|
820
773
|
i0.ɵɵelementEnd();
|
|
821
|
-
i0.ɵɵtemplate(5,
|
|
774
|
+
i0.ɵɵtemplate(5, TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_p_sortIcon_5_Template, 1, 1, "p-sortIcon", 24);
|
|
822
775
|
i0.ɵɵelementEnd();
|
|
823
776
|
} if (rf & 2) {
|
|
824
|
-
const
|
|
825
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
826
|
-
i0.ɵɵproperty("pSortableColumn",
|
|
777
|
+
const col_r6 = ctx.$implicit;
|
|
778
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
779
|
+
i0.ɵɵproperty("pSortableColumn", col_r6.field);
|
|
827
780
|
i0.ɵɵadvance();
|
|
828
|
-
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 4,
|
|
781
|
+
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 4, col_r6.label));
|
|
829
782
|
i0.ɵɵadvance(2);
|
|
830
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6,
|
|
783
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6, col_r6.label), " ");
|
|
831
784
|
i0.ɵɵadvance(2);
|
|
832
785
|
i0.ɵɵproperty("ngIf", ctx_r1.isSortIcon);
|
|
833
786
|
} }
|
|
834
|
-
function
|
|
835
|
-
i0.ɵɵelement(0, "th",
|
|
787
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
788
|
+
i0.ɵɵelement(0, "th", 20);
|
|
836
789
|
} }
|
|
837
|
-
function
|
|
838
|
-
const
|
|
839
|
-
i0.ɵɵelementStart(0, "input",
|
|
840
|
-
i0.ɵɵlistener("input", function
|
|
790
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_1_Template(rf, ctx) { if (rf & 1) {
|
|
791
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
792
|
+
i0.ɵɵelementStart(0, "input", 31);
|
|
793
|
+
i0.ɵɵlistener("input", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_1_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r7); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.target.value, col_r8.field, "contains")); });
|
|
841
794
|
i0.ɵɵelementEnd();
|
|
842
795
|
} }
|
|
843
|
-
function
|
|
844
|
-
const
|
|
845
|
-
i0.ɵɵelementStart(0, "p-dropdown",
|
|
846
|
-
i0.ɵɵlistener("onChange", function
|
|
796
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_dropdown_2_Template(rf, ctx) { if (rf & 1) {
|
|
797
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
798
|
+
i0.ɵɵelementStart(0, "p-dropdown", 32);
|
|
799
|
+
i0.ɵɵlistener("onChange", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_dropdown_2_Template_p_dropdown_onChange_0_listener($event) { i0.ɵɵrestoreView(_r10); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.value, col_r8.field, "equals")); });
|
|
847
800
|
i0.ɵɵelementEnd();
|
|
848
801
|
} if (rf & 2) {
|
|
849
|
-
let
|
|
850
|
-
const
|
|
851
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
852
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(3,
|
|
853
|
-
i0.ɵɵproperty("options", (
|
|
802
|
+
let tmp_11_0;
|
|
803
|
+
const col_r8 = i0.ɵɵnextContext().$implicit;
|
|
804
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
805
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(3, _c5$1));
|
|
806
|
+
i0.ɵɵproperty("options", (tmp_11_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_11_0.options);
|
|
854
807
|
} }
|
|
855
|
-
function
|
|
856
|
-
const
|
|
857
|
-
i0.ɵɵelementStart(0, "p-multiSelect",
|
|
808
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_multiSelect_3_Template(rf, ctx) { if (rf & 1) {
|
|
809
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
810
|
+
i0.ɵɵelementStart(0, "p-multiSelect", 33);
|
|
858
811
|
i0.ɵɵpipe(1, "translate");
|
|
859
|
-
i0.ɵɵlistener("onChange", function
|
|
812
|
+
i0.ɵɵlistener("onChange", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_multiSelect_3_Template_p_multiSelect_onChange_0_listener($event) { i0.ɵɵrestoreView(_r11); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.value, col_r8.field, "in")); });
|
|
860
813
|
i0.ɵɵelementEnd();
|
|
861
814
|
} if (rf & 2) {
|
|
862
|
-
let
|
|
863
|
-
const
|
|
864
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
865
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(6,
|
|
815
|
+
let tmp_12_0;
|
|
816
|
+
const col_r8 = i0.ɵɵnextContext().$implicit;
|
|
817
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
818
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(6, _c5$1));
|
|
866
819
|
i0.ɵɵpropertyInterpolate("defaultLabel", i0.ɵɵpipeBind1(1, 4, "All"));
|
|
867
|
-
i0.ɵɵproperty("options", (
|
|
820
|
+
i0.ɵɵproperty("options", (tmp_12_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_12_0.options);
|
|
868
821
|
} }
|
|
869
|
-
function
|
|
870
|
-
const
|
|
871
|
-
i0.ɵɵelementStart(0, "input",
|
|
872
|
-
i0.ɵɵlistener("input", function
|
|
822
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_4_Template(rf, ctx) { if (rf & 1) {
|
|
823
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
824
|
+
i0.ɵɵelementStart(0, "input", 31);
|
|
825
|
+
i0.ɵɵlistener("input", function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_4_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r12); const col_r8 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(5); const dt_r9 = i0.ɵɵreference(2); return i0.ɵɵresetView(dt_r9.filter($event.target.value, col_r8.field + "2filter", "contains")); });
|
|
873
826
|
i0.ɵɵelementEnd();
|
|
874
827
|
} }
|
|
875
|
-
function
|
|
876
|
-
i0.ɵɵelementStart(0, "th",
|
|
877
|
-
i0.ɵɵtemplate(1,
|
|
828
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
829
|
+
i0.ɵɵelementStart(0, "th", 27);
|
|
830
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_1_Template, 1, 0, "input", 28)(2, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_dropdown_2_Template, 1, 4, "p-dropdown", 29)(3, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_p_multiSelect_3_Template, 2, 7, "p-multiSelect", 30)(4, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_input_4_Template, 1, 0, "input", 28);
|
|
878
831
|
i0.ɵɵelementEnd();
|
|
879
832
|
} if (rf & 2) {
|
|
880
|
-
let tmp_8_0;
|
|
881
|
-
let tmp_9_0;
|
|
882
833
|
let tmp_10_0;
|
|
883
834
|
let tmp_11_0;
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
835
|
+
let tmp_12_0;
|
|
836
|
+
let tmp_13_0;
|
|
837
|
+
const col_r8 = ctx.$implicit;
|
|
838
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
839
|
+
i0.ɵɵproperty("ngSwitch", col_r8.field);
|
|
887
840
|
i0.ɵɵadvance();
|
|
888
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
841
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_10_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_10_0.type) === "text" ? col_r8.field : "");
|
|
889
842
|
i0.ɵɵadvance();
|
|
890
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
843
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_11_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_11_0.type) === "dropdown" ? col_r8.field : "");
|
|
891
844
|
i0.ɵɵadvance();
|
|
892
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
845
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_12_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_12_0.type) === "multiselect" ? col_r8.field : "");
|
|
893
846
|
i0.ɵɵadvance();
|
|
894
|
-
i0.ɵɵproperty("ngSwitchCase", ((
|
|
847
|
+
i0.ɵɵproperty("ngSwitchCase", ((tmp_13_0 = ctx_r1.colFilter(col_r8.field)) == null ? null : tmp_13_0.type) === "datetext" ? col_r8.field : "");
|
|
895
848
|
} }
|
|
896
|
-
function
|
|
849
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
897
850
|
i0.ɵɵelementStart(0, "tr");
|
|
898
|
-
i0.ɵɵtemplate(1,
|
|
851
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_1_Template, 1, 0, "th", 18)(2, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_th_2_Template, 5, 5, "th", 26);
|
|
899
852
|
i0.ɵɵelementEnd();
|
|
900
853
|
} if (rf & 2) {
|
|
901
|
-
const
|
|
854
|
+
const columns_r4 = i0.ɵɵnextContext(3).$implicit;
|
|
902
855
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
903
856
|
i0.ɵɵadvance();
|
|
904
857
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
905
858
|
i0.ɵɵadvance();
|
|
906
|
-
i0.ɵɵproperty("ngForOf",
|
|
859
|
+
i0.ɵɵproperty("ngForOf", columns_r4);
|
|
907
860
|
} }
|
|
908
|
-
function
|
|
909
|
-
i0.ɵɵ
|
|
910
|
-
i0.ɵɵ
|
|
911
|
-
i0.ɵɵtemplate(2, TableComponent_ng_template_5_ng_container_0_th_2_Template, 2, 1, "th", 16)(3, TableComponent_ng_template_5_ng_container_0_th_3_Template, 6, 8, "th", 17);
|
|
861
|
+
function TableComponent_ng_template_5_ng_container_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
862
|
+
i0.ɵɵelementStart(0, "tr");
|
|
863
|
+
i0.ɵɵtemplate(1, TableComponent_ng_template_5_ng_container_0_ng_template_2_th_1_Template, 2, 1, "th", 18)(2, TableComponent_ng_template_5_ng_container_0_ng_template_2_th_2_Template, 6, 8, "th", 19);
|
|
912
864
|
i0.ɵɵelementEnd();
|
|
913
|
-
i0.ɵɵtemplate(
|
|
914
|
-
i0.ɵɵelementContainerEnd();
|
|
865
|
+
i0.ɵɵtemplate(3, TableComponent_ng_template_5_ng_container_0_ng_template_2_tr_3_Template, 3, 2, "tr", 5);
|
|
915
866
|
} if (rf & 2) {
|
|
916
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
917
|
-
i0.ɵɵadvance(
|
|
867
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
868
|
+
i0.ɵɵadvance();
|
|
918
869
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
919
870
|
i0.ɵɵadvance();
|
|
920
871
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
921
872
|
i0.ɵɵadvance();
|
|
922
873
|
i0.ɵɵproperty("ngIf", ctx_r1.toolbar && ctx_r1.toolbar.filter && ctx_r1.toolbar.filter.active);
|
|
923
874
|
} }
|
|
875
|
+
function TableComponent_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
876
|
+
i0.ɵɵelementContainerStart(0);
|
|
877
|
+
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);
|
|
878
|
+
i0.ɵɵelementContainerEnd();
|
|
879
|
+
} if (rf & 2) {
|
|
880
|
+
const defaultHeaderTemplate_r13 = i0.ɵɵreference(3);
|
|
881
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
882
|
+
i0.ɵɵadvance();
|
|
883
|
+
i0.ɵɵproperty("ngIf", ctx_r1.headerTemplate)("ngIfElse", defaultHeaderTemplate_r13);
|
|
884
|
+
} }
|
|
924
885
|
function TableComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
925
|
-
i0.ɵɵtemplate(0, TableComponent_ng_template_5_ng_container_0_Template,
|
|
886
|
+
i0.ɵɵtemplate(0, TableComponent_ng_template_5_ng_container_0_Template, 4, 2, "ng-container", 5);
|
|
926
887
|
} if (rf & 2) {
|
|
927
888
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
928
889
|
i0.ɵɵproperty("ngIf", ctx_r1.showHeader);
|
|
@@ -931,135 +892,135 @@ function TableComponent_6_ng_template_0_ng_container_0_Template(rf, ctx) { if (r
|
|
|
931
892
|
i0.ɵɵelementContainer(0);
|
|
932
893
|
} }
|
|
933
894
|
function TableComponent_6_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
934
|
-
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_ng_container_0_Template, 1, 0, "ng-container",
|
|
895
|
+
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 13);
|
|
935
896
|
} if (rf & 2) {
|
|
936
|
-
const
|
|
937
|
-
const
|
|
938
|
-
const
|
|
897
|
+
const columns_r14 = ctx.columns;
|
|
898
|
+
const rowData_r15 = ctx.$implicit;
|
|
899
|
+
const rowIndex_r16 = ctx.rowIndex;
|
|
939
900
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
940
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.bodyTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction3(2,
|
|
901
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.bodyTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction3(2, _c6, rowIndex_r16, rowData_r15, columns_r14)));
|
|
941
902
|
} }
|
|
942
903
|
function TableComponent_6_Template(rf, ctx) { if (rf & 1) {
|
|
943
|
-
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_Template, 1, 8, "ng-template",
|
|
904
|
+
i0.ɵɵtemplate(0, TableComponent_6_ng_template_0_Template, 1, 8, "ng-template", 34);
|
|
944
905
|
} }
|
|
945
906
|
function TableComponent_7_ng_template_0_tr_0_Template(rf, ctx) { if (rf & 1) {
|
|
946
|
-
const
|
|
947
|
-
i0.ɵɵelementStart(0, "tr",
|
|
948
|
-
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_0_Template_tr_click_0_listener() { i0.ɵɵrestoreView(
|
|
949
|
-
i0.ɵɵelementStart(1, "td",
|
|
950
|
-
i0.ɵɵelement(3, "i",
|
|
907
|
+
const _r17 = i0.ɵɵgetCurrentView();
|
|
908
|
+
i0.ɵɵelementStart(0, "tr", 37);
|
|
909
|
+
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])); });
|
|
910
|
+
i0.ɵɵelementStart(1, "td", 38)(2, "span");
|
|
911
|
+
i0.ɵɵelement(3, "i", 39);
|
|
951
912
|
i0.ɵɵelementStart(4, "span");
|
|
952
913
|
i0.ɵɵtext(5);
|
|
953
914
|
i0.ɵɵpipe(6, "translate");
|
|
954
915
|
i0.ɵɵelementEnd()()()();
|
|
955
916
|
} if (rf & 2) {
|
|
956
|
-
const
|
|
917
|
+
const rowData_r20 = i0.ɵɵnextContext().$implicit;
|
|
957
918
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
958
919
|
i0.ɵɵadvance();
|
|
959
920
|
i0.ɵɵproperty("colSpan", ctx_r1.countVisibleColumns() + 1);
|
|
960
921
|
i0.ɵɵadvance(2);
|
|
961
|
-
i0.ɵɵproperty("ngClass", ctx_r1.groupInfo[
|
|
922
|
+
i0.ɵɵproperty("ngClass", ctx_r1.groupInfo[rowData_r20.groupKey[ctx_r1.groupMode]].isExpanded ? "in fa-fw in-chevron-down" : "in fa-fw in-chevron-right");
|
|
962
923
|
i0.ɵɵadvance(2);
|
|
963
|
-
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(6, 4,
|
|
924
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(6, 4, rowData_r20.groupKey[ctx_r1.groupMode]), " (", ctx_r1.countGroup(rowData_r20.groupKey[ctx_r1.groupMode], ctx_r1.groupMode), " )");
|
|
964
925
|
} }
|
|
965
926
|
function TableComponent_7_ng_template_0_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
966
|
-
const
|
|
967
|
-
i0.ɵɵelementStart(0, "td",
|
|
968
|
-
i0.ɵɵlistener("change", function TableComponent_7_ng_template_0_tr_1_td_1_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(
|
|
927
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
928
|
+
i0.ɵɵelementStart(0, "td", 43)(1, "input", 21);
|
|
929
|
+
i0.ɵɵlistener("change", function TableComponent_7_ng_template_0_tr_1_td_1_Template_input_change_1_listener($event) { i0.ɵɵrestoreView(_r21); const rowData_r20 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1._onCheckboxChange($event, rowData_r20)); })("click", function TableComponent_7_ng_template_0_tr_1_td_1_Template_input_click_1_listener($event) { i0.ɵɵrestoreView(_r21); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
969
930
|
i0.ɵɵelementEnd()();
|
|
970
931
|
} if (rf & 2) {
|
|
971
|
-
const
|
|
932
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
972
933
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
973
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction6(4,
|
|
934
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction6(4, _c8, rowData_r20.sdirparamstatecolor === "success", rowData_r20.sdirparamstatecolor === "error", rowData_r20.sdirparamstatecolor === "warning", rowData_r20.sdirparamstatecolor === "critical", rowData_r20.sdirparamstatecolor === "falsevalue", rowData_r20.sdirparamstatecolor === "pending"));
|
|
974
935
|
i0.ɵɵadvance();
|
|
975
936
|
i0.ɵɵstyleProp("pointer-events", ctx_r1.selectionMode === "single" || ctx_r1.selectionMode === "multiple" && ctx_r1.checkboxSelection ? "none" : "auto");
|
|
976
|
-
i0.ɵɵproperty("checked", ctx_r1._isRowSelected(
|
|
937
|
+
i0.ɵɵproperty("checked", ctx_r1._isRowSelected(rowData_r20));
|
|
977
938
|
} }
|
|
978
939
|
function TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
979
|
-
const
|
|
980
|
-
i0.ɵɵelementStart(0, "div",
|
|
981
|
-
i0.ɵɵlistener("mouseover", function TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template_div_mouseover_0_listener($event) { i0.ɵɵrestoreView(
|
|
940
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
941
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
942
|
+
i0.ɵɵlistener("mouseover", function TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template_div_mouseover_0_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.showTooltip($event)); });
|
|
982
943
|
i0.ɵɵtext(1);
|
|
983
944
|
i0.ɵɵpipe(2, "propertyValue");
|
|
984
945
|
i0.ɵɵpipe(3, "translate");
|
|
985
946
|
i0.ɵɵpipe(4, "propertyValue");
|
|
986
947
|
i0.ɵɵelementEnd();
|
|
987
948
|
} if (rf & 2) {
|
|
988
|
-
const
|
|
989
|
-
const
|
|
949
|
+
const col_r24 = i0.ɵɵnextContext().$implicit;
|
|
950
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
990
951
|
i0.ɵɵadvance();
|
|
991
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
952
|
+
i0.ɵɵtextInterpolate1(" ", col_r24.translatable ? i0.ɵɵpipeBind1(3, 4, i0.ɵɵpipeBind2(2, 1, rowData_r20, col_r24.field)) : i0.ɵɵpipeBind2(4, 6, rowData_r20, col_r24.field), " ");
|
|
992
953
|
} }
|
|
993
954
|
function TableComponent_7_ng_template_0_tr_1_td_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
994
955
|
i0.ɵɵelementContainer(0);
|
|
995
956
|
} }
|
|
996
957
|
function TableComponent_7_ng_template_0_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
997
|
-
const
|
|
998
|
-
i0.ɵɵelementStart(0, "td",
|
|
999
|
-
i0.ɵɵlistener("click", function TableComponent_7_ng_template_0_tr_1_td_2_Template_td_click_0_listener() { i0.ɵɵrestoreView(
|
|
1000
|
-
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template, 5, 9, "div",
|
|
958
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
959
|
+
i0.ɵɵelementStart(0, "td", 44);
|
|
960
|
+
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)); });
|
|
961
|
+
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_2_div_1_Template, 5, 9, "div", 45)(2, TableComponent_7_ng_template_0_tr_1_td_2_ng_container_2_Template, 1, 0, "ng-container", 13);
|
|
1001
962
|
i0.ɵɵelementEnd();
|
|
1002
963
|
} if (rf & 2) {
|
|
1003
|
-
const
|
|
1004
|
-
const
|
|
964
|
+
const col_r24 = ctx.$implicit;
|
|
965
|
+
const rowData_r20 = i0.ɵɵnextContext(2).$implicit;
|
|
1005
966
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1006
967
|
i0.ɵɵadvance();
|
|
1007
968
|
i0.ɵɵproperty("ngIf", !ctx_r1.valueTemplate);
|
|
1008
969
|
i0.ɵɵadvance();
|
|
1009
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction2(3,
|
|
970
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.valueTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c3$5, i0.ɵɵpureFunction2(3, _c9, rowData_r20, col_r24)));
|
|
1010
971
|
} }
|
|
1011
972
|
function TableComponent_7_ng_template_0_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
1012
|
-
i0.ɵɵelementStart(0, "tr",
|
|
1013
|
-
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_1_Template, 2, 11, "td",
|
|
973
|
+
i0.ɵɵelementStart(0, "tr", 40);
|
|
974
|
+
i0.ɵɵtemplate(1, TableComponent_7_ng_template_0_tr_1_td_1_Template, 2, 11, "td", 41)(2, TableComponent_7_ng_template_0_tr_1_td_2_Template, 3, 8, "td", 42);
|
|
1014
975
|
i0.ɵɵelementEnd();
|
|
1015
976
|
} if (rf & 2) {
|
|
1016
|
-
const
|
|
977
|
+
const rowData_r20 = i0.ɵɵnextContext().$implicit;
|
|
1017
978
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1018
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4,
|
|
979
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c7, ctx_r1.isRowActive(rowData_r20)))("pSelectableRow", rowData_r20);
|
|
1019
980
|
i0.ɵɵadvance();
|
|
1020
981
|
i0.ɵɵproperty("ngIf", ctx_r1.checkboxSelection);
|
|
1021
982
|
i0.ɵɵadvance();
|
|
1022
983
|
i0.ɵɵproperty("ngForOf", ctx_r1.filteredColumns);
|
|
1023
984
|
} }
|
|
1024
985
|
function TableComponent_7_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1025
|
-
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_tr_0_Template, 7, 6, "tr",
|
|
986
|
+
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_tr_0_Template, 7, 6, "tr", 35)(1, TableComponent_7_ng_template_0_tr_1_Template, 3, 6, "tr", 36);
|
|
1026
987
|
} if (rf & 2) {
|
|
1027
|
-
const
|
|
1028
|
-
const
|
|
988
|
+
const index_r19 = ctx.rowIndex;
|
|
989
|
+
const rowData_r20 = ctx.$implicit;
|
|
1029
990
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
1030
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isGrouped && ctx_r1.isShowGroup(
|
|
991
|
+
i0.ɵɵproperty("ngIf", ctx_r1.isGrouped && ctx_r1.isShowGroup(rowData_r20.groupKey[ctx_r1.groupMode], index_r19));
|
|
1031
992
|
i0.ɵɵadvance();
|
|
1032
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isGrouped || ctx_r1.groupInfo[
|
|
993
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isGrouped || ctx_r1.groupInfo[rowData_r20.groupKey[ctx_r1.groupMode]].isExpanded);
|
|
1033
994
|
} }
|
|
1034
995
|
function TableComponent_7_Template(rf, ctx) { if (rf & 1) {
|
|
1035
|
-
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_Template, 2, 2, "ng-template",
|
|
996
|
+
i0.ɵɵtemplate(0, TableComponent_7_ng_template_0_Template, 2, 2, "ng-template", 34);
|
|
1036
997
|
} }
|
|
1037
998
|
function TableComponent_8_ng_template_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1038
|
-
const
|
|
1039
|
-
i0.ɵɵelementStart(0, "div",
|
|
999
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
1000
|
+
i0.ɵɵelementStart(0, "div", 58)(1, "form", 7)(2, "div", 59)(3, "input", 60, 2);
|
|
1040
1001
|
i0.ɵɵpipe(5, "translate");
|
|
1041
|
-
i0.ɵɵlistener("input", function TableComponent_8_ng_template_0_div_2_Template_input_input_3_listener() { i0.ɵɵrestoreView(
|
|
1042
|
-
i0.ɵɵtwoWayListener("ngModelChange", function TableComponent_8_ng_template_0_div_2_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(
|
|
1002
|
+
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)); });
|
|
1003
|
+
i0.ɵɵtwoWayListener("ngModelChange", function TableComponent_8_ng_template_0_div_2_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r1 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r1.searchText, $event) || (ctx_r1.searchText = $event); return i0.ɵɵresetView($event); });
|
|
1043
1004
|
i0.ɵɵelementEnd();
|
|
1044
|
-
i0.ɵɵelementStart(6, "button",
|
|
1005
|
+
i0.ɵɵelementStart(6, "button", 61);
|
|
1045
1006
|
i0.ɵɵpipe(7, "translate");
|
|
1046
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_2_Template_button_click_6_listener() { i0.ɵɵrestoreView(
|
|
1047
|
-
i0.ɵɵelement(8, "i",
|
|
1007
|
+
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()); });
|
|
1008
|
+
i0.ɵɵelement(8, "i", 62);
|
|
1048
1009
|
i0.ɵɵelementEnd()()()();
|
|
1049
1010
|
} if (rf & 2) {
|
|
1050
1011
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
1051
1012
|
i0.ɵɵadvance(3);
|
|
1052
1013
|
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(5, 4, "SHARED.SEARCH") + ":");
|
|
1053
1014
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.searchText);
|
|
1054
|
-
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(8,
|
|
1015
|
+
i0.ɵɵproperty("ngModelOptions", i0.ɵɵpureFunction0(8, _c10));
|
|
1055
1016
|
i0.ɵɵadvance(3);
|
|
1056
1017
|
i0.ɵɵattribute("title", i0.ɵɵpipeBind1(7, 6, "Reset"));
|
|
1057
1018
|
} }
|
|
1058
1019
|
function TableComponent_8_ng_template_0_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
1059
|
-
const
|
|
1060
|
-
i0.ɵɵelementStart(0, "button",
|
|
1061
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_5_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1062
|
-
i0.ɵɵelement(1, "i",
|
|
1020
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
1021
|
+
i0.ɵɵelementStart(0, "button", 63);
|
|
1022
|
+
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)); });
|
|
1023
|
+
i0.ɵɵelement(1, "i", 64);
|
|
1063
1024
|
i0.ɵɵpipe(2, "translate");
|
|
1064
1025
|
i0.ɵɵelementEnd();
|
|
1065
1026
|
} if (rf & 2) {
|
|
@@ -1067,10 +1028,10 @@ function TableComponent_8_ng_template_0_button_5_Template(rf, ctx) { if (rf & 1)
|
|
|
1067
1028
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 1, "Service filter"));
|
|
1068
1029
|
} }
|
|
1069
1030
|
function TableComponent_8_ng_template_0_button_6_Template(rf, ctx) { if (rf & 1) {
|
|
1070
|
-
const
|
|
1071
|
-
i0.ɵɵelementStart(0, "button",
|
|
1072
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_6_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1073
|
-
i0.ɵɵelement(1, "i",
|
|
1031
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
1032
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1033
|
+
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)); });
|
|
1034
|
+
i0.ɵɵelement(1, "i", 66);
|
|
1074
1035
|
i0.ɵɵpipe(2, "translate");
|
|
1075
1036
|
i0.ɵɵelementEnd();
|
|
1076
1037
|
} if (rf & 2) {
|
|
@@ -1080,10 +1041,10 @@ function TableComponent_8_ng_template_0_button_6_Template(rf, ctx) { if (rf & 1)
|
|
|
1080
1041
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Filter by rubric"));
|
|
1081
1042
|
} }
|
|
1082
1043
|
function TableComponent_8_ng_template_0_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
1083
|
-
const
|
|
1084
|
-
i0.ɵɵelementStart(0, "button",
|
|
1085
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1086
|
-
i0.ɵɵelement(1, "i",
|
|
1044
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
1045
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1046
|
+
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)); });
|
|
1047
|
+
i0.ɵɵelement(1, "i", 67);
|
|
1087
1048
|
i0.ɵɵpipe(2, "translate");
|
|
1088
1049
|
i0.ɵɵelementEnd();
|
|
1089
1050
|
} if (rf & 2) {
|
|
@@ -1093,10 +1054,10 @@ function TableComponent_8_ng_template_0_button_7_Template(rf, ctx) { if (rf & 1)
|
|
|
1093
1054
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Add"));
|
|
1094
1055
|
} }
|
|
1095
1056
|
function TableComponent_8_ng_template_0_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
1096
|
-
const
|
|
1097
|
-
i0.ɵɵelementStart(0, "button",
|
|
1098
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_8_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1099
|
-
i0.ɵɵelement(1, "i",
|
|
1057
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
1058
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1059
|
+
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)); });
|
|
1060
|
+
i0.ɵɵelement(1, "i", 68);
|
|
1100
1061
|
i0.ɵɵpipe(2, "translate");
|
|
1101
1062
|
i0.ɵɵelementEnd();
|
|
1102
1063
|
} if (rf & 2) {
|
|
@@ -1106,10 +1067,10 @@ function TableComponent_8_ng_template_0_button_8_Template(rf, ctx) { if (rf & 1)
|
|
|
1106
1067
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Link"));
|
|
1107
1068
|
} }
|
|
1108
1069
|
function TableComponent_8_ng_template_0_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
1109
|
-
const
|
|
1110
|
-
i0.ɵɵelementStart(0, "button",
|
|
1111
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_9_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1112
|
-
i0.ɵɵelement(1, "i",
|
|
1070
|
+
const _r31 = i0.ɵɵgetCurrentView();
|
|
1071
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1072
|
+
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)); });
|
|
1073
|
+
i0.ɵɵelement(1, "i", 69);
|
|
1113
1074
|
i0.ɵɵpipe(2, "translate");
|
|
1114
1075
|
i0.ɵɵelementEnd();
|
|
1115
1076
|
} if (rf & 2) {
|
|
@@ -1119,10 +1080,10 @@ function TableComponent_8_ng_template_0_button_9_Template(rf, ctx) { if (rf & 1)
|
|
|
1119
1080
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "LOGS.SAVE_TO_CSV"));
|
|
1120
1081
|
} }
|
|
1121
1082
|
function TableComponent_8_ng_template_0_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
1122
|
-
const
|
|
1123
|
-
i0.ɵɵelementStart(0, "button",
|
|
1083
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
1084
|
+
i0.ɵɵelementStart(0, "button", 70);
|
|
1124
1085
|
i0.ɵɵpipe(1, "translate");
|
|
1125
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_10_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1086
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_10_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.saveAction.emit($event)); });
|
|
1126
1087
|
i0.ɵɵtext(2);
|
|
1127
1088
|
i0.ɵɵpipe(3, "translate");
|
|
1128
1089
|
i0.ɵɵelementEnd();
|
|
@@ -1134,10 +1095,10 @@ function TableComponent_8_ng_template_0_button_10_Template(rf, ctx) { if (rf & 1
|
|
|
1134
1095
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 5, "Save"), " ");
|
|
1135
1096
|
} }
|
|
1136
1097
|
function TableComponent_8_ng_template_0_button_11_Template(rf, ctx) { if (rf & 1) {
|
|
1137
|
-
const
|
|
1138
|
-
i0.ɵɵelementStart(0, "button",
|
|
1139
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1140
|
-
i0.ɵɵelement(1, "i",
|
|
1098
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
1099
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1100
|
+
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)); });
|
|
1101
|
+
i0.ɵɵelement(1, "i", 71);
|
|
1141
1102
|
i0.ɵɵpipe(2, "translate");
|
|
1142
1103
|
i0.ɵɵelementEnd();
|
|
1143
1104
|
} if (rf & 2) {
|
|
@@ -1147,10 +1108,10 @@ function TableComponent_8_ng_template_0_button_11_Template(rf, ctx) { if (rf & 1
|
|
|
1147
1108
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "groupEdit"));
|
|
1148
1109
|
} }
|
|
1149
1110
|
function TableComponent_8_ng_template_0_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
1150
|
-
const
|
|
1151
|
-
i0.ɵɵelementStart(0, "button",
|
|
1152
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1153
|
-
i0.ɵɵelement(1, "i",
|
|
1111
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
1112
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1113
|
+
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)); });
|
|
1114
|
+
i0.ɵɵelement(1, "i", 71);
|
|
1154
1115
|
i0.ɵɵpipe(2, "translate");
|
|
1155
1116
|
i0.ɵɵelementEnd();
|
|
1156
1117
|
} if (rf & 2) {
|
|
@@ -1160,10 +1121,10 @@ function TableComponent_8_ng_template_0_button_13_Template(rf, ctx) { if (rf & 1
|
|
|
1160
1121
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "paramsEdit"));
|
|
1161
1122
|
} }
|
|
1162
1123
|
function TableComponent_8_ng_template_0_button_14_Template(rf, ctx) { if (rf & 1) {
|
|
1163
|
-
const
|
|
1164
|
-
i0.ɵɵelementStart(0, "button",
|
|
1165
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_14_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1166
|
-
i0.ɵɵelement(1, "i",
|
|
1124
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
1125
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1126
|
+
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)); });
|
|
1127
|
+
i0.ɵɵelement(1, "i", 72);
|
|
1167
1128
|
i0.ɵɵpipe(2, "translate");
|
|
1168
1129
|
i0.ɵɵelementEnd();
|
|
1169
1130
|
} if (rf & 2) {
|
|
@@ -1173,10 +1134,10 @@ function TableComponent_8_ng_template_0_button_14_Template(rf, ctx) { if (rf & 1
|
|
|
1173
1134
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Delete"));
|
|
1174
1135
|
} }
|
|
1175
1136
|
function TableComponent_8_ng_template_0_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
1176
|
-
const
|
|
1177
|
-
i0.ɵɵelementStart(0, "button",
|
|
1178
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
1179
|
-
i0.ɵɵelement(1, "i",
|
|
1137
|
+
const _r36 = i0.ɵɵgetCurrentView();
|
|
1138
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1139
|
+
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)); });
|
|
1140
|
+
i0.ɵɵelement(1, "i", 73);
|
|
1180
1141
|
i0.ɵɵpipe(2, "translate");
|
|
1181
1142
|
i0.ɵɵelementEnd();
|
|
1182
1143
|
} if (rf & 2) {
|
|
@@ -1186,49 +1147,49 @@ function TableComponent_8_ng_template_0_button_15_Template(rf, ctx) { if (rf & 1
|
|
|
1186
1147
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(2, 2, "Detach tag from selected items"));
|
|
1187
1148
|
} }
|
|
1188
1149
|
function TableComponent_8_ng_template_0_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
1189
|
-
const
|
|
1190
|
-
i0.ɵɵelementStart(0, "button",
|
|
1150
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
1151
|
+
i0.ɵɵelementStart(0, "button", 74);
|
|
1191
1152
|
i0.ɵɵpipe(1, "translate");
|
|
1192
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1153
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNodes(true)); });
|
|
1193
1154
|
i0.ɵɵnamespaceSVG();
|
|
1194
|
-
i0.ɵɵelementStart(2, "svg",
|
|
1195
|
-
i0.ɵɵelement(3, "path",
|
|
1155
|
+
i0.ɵɵelementStart(2, "svg", 75);
|
|
1156
|
+
i0.ɵɵelement(3, "path", 76);
|
|
1196
1157
|
i0.ɵɵelementEnd()();
|
|
1197
1158
|
} if (rf & 2) {
|
|
1198
1159
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(1, 1, "Expand all"));
|
|
1199
1160
|
} }
|
|
1200
1161
|
function TableComponent_8_ng_template_0_button_17_Template(rf, ctx) { if (rf & 1) {
|
|
1201
|
-
const
|
|
1202
|
-
i0.ɵɵelementStart(0, "button",
|
|
1162
|
+
const _r38 = i0.ɵɵgetCurrentView();
|
|
1163
|
+
i0.ɵɵelementStart(0, "button", 74);
|
|
1203
1164
|
i0.ɵɵpipe(1, "translate");
|
|
1204
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_17_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1165
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_button_17_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r38); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNodes(false)); });
|
|
1205
1166
|
i0.ɵɵnamespaceSVG();
|
|
1206
|
-
i0.ɵɵelementStart(2, "svg",
|
|
1207
|
-
i0.ɵɵelement(3, "path",
|
|
1167
|
+
i0.ɵɵelementStart(2, "svg", 75);
|
|
1168
|
+
i0.ɵɵelement(3, "path", 77);
|
|
1208
1169
|
i0.ɵɵelementEnd()();
|
|
1209
1170
|
} if (rf & 2) {
|
|
1210
1171
|
i0.ɵɵpropertyInterpolate("title", i0.ɵɵpipeBind1(1, 1, "Collapse all"));
|
|
1211
1172
|
} }
|
|
1212
1173
|
function TableComponent_8_ng_template_0_div_18_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
1213
|
-
const
|
|
1214
|
-
i0.ɵɵelementStart(0, "li",
|
|
1215
|
-
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_18_li_6_Template_a_click_1_listener() { const
|
|
1174
|
+
const _r39 = i0.ɵɵgetCurrentView();
|
|
1175
|
+
i0.ɵɵelementStart(0, "li", 84)(1, "a", 85);
|
|
1176
|
+
i0.ɵɵlistener("click", function TableComponent_8_ng_template_0_div_18_li_6_Template_a_click_1_listener() { const item_r40 = i0.ɵɵrestoreView(_r39).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.toggleMode(item_r40.value)); });
|
|
1216
1177
|
i0.ɵɵtext(2);
|
|
1217
1178
|
i0.ɵɵelementEnd()();
|
|
1218
1179
|
} if (rf & 2) {
|
|
1219
|
-
const
|
|
1180
|
+
const item_r40 = ctx.$implicit;
|
|
1220
1181
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1221
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2,
|
|
1182
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c11, item_r40.value === ctx_r1.groupMode));
|
|
1222
1183
|
i0.ɵɵadvance(2);
|
|
1223
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
1184
|
+
i0.ɵɵtextInterpolate1(" ", item_r40.label, " ");
|
|
1224
1185
|
} }
|
|
1225
1186
|
function TableComponent_8_ng_template_0_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
1226
|
-
i0.ɵɵelementStart(0, "div",
|
|
1187
|
+
i0.ɵɵelementStart(0, "div", 78)(1, "button", 79);
|
|
1227
1188
|
i0.ɵɵpipe(2, "translate");
|
|
1228
|
-
i0.ɵɵelement(3, "i",
|
|
1189
|
+
i0.ɵɵelement(3, "i", 80)(4, "i", 81);
|
|
1229
1190
|
i0.ɵɵelementEnd();
|
|
1230
|
-
i0.ɵɵelementStart(5, "ul",
|
|
1231
|
-
i0.ɵɵtemplate(6, TableComponent_8_ng_template_0_div_18_li_6_Template, 3, 4, "li",
|
|
1191
|
+
i0.ɵɵelementStart(5, "ul", 82);
|
|
1192
|
+
i0.ɵɵtemplate(6, TableComponent_8_ng_template_0_div_18_li_6_Template, 3, 4, "li", 83);
|
|
1232
1193
|
i0.ɵɵelementEnd()();
|
|
1233
1194
|
} if (rf & 2) {
|
|
1234
1195
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -1238,15 +1199,15 @@ function TableComponent_8_ng_template_0_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
1238
1199
|
i0.ɵɵproperty("ngForOf", ctx_r1.toolbar.groupSort.label);
|
|
1239
1200
|
} }
|
|
1240
1201
|
function TableComponent_8_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1241
|
-
const
|
|
1242
|
-
i0.ɵɵelementStart(0, "div",
|
|
1243
|
-
i0.ɵɵtemplate(2, TableComponent_8_ng_template_0_div_2_Template, 9, 9, "div",
|
|
1244
|
-
i0.ɵɵelementStart(3, "div",
|
|
1245
|
-
i0.ɵɵlistener("columnsChange", function TableComponent_8_ng_template_0_Template_in_table_columns_multiselect_columnsChange_4_listener($event) { i0.ɵɵrestoreView(
|
|
1202
|
+
const _r25 = i0.ɵɵgetCurrentView();
|
|
1203
|
+
i0.ɵɵelementStart(0, "div", 48)(1, "div", 49);
|
|
1204
|
+
i0.ɵɵtemplate(2, TableComponent_8_ng_template_0_div_2_Template, 9, 9, "div", 50);
|
|
1205
|
+
i0.ɵɵelementStart(3, "div", 51)(4, "in-table-columns-multiselect", 52);
|
|
1206
|
+
i0.ɵɵlistener("columnsChange", function TableComponent_8_ng_template_0_Template_in_table_columns_multiselect_columnsChange_4_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.columnsChange($event)); });
|
|
1246
1207
|
i0.ɵɵelementEnd()();
|
|
1247
|
-
i0.ɵɵtemplate(5, TableComponent_8_ng_template_0_button_5_Template, 3, 3, "button",
|
|
1208
|
+
i0.ɵɵtemplate(5, TableComponent_8_ng_template_0_button_5_Template, 3, 3, "button", 53)(6, TableComponent_8_ng_template_0_button_6_Template, 3, 4, "button", 54)(7, TableComponent_8_ng_template_0_button_7_Template, 3, 4, "button", 54)(8, TableComponent_8_ng_template_0_button_8_Template, 3, 4, "button", 54)(9, TableComponent_8_ng_template_0_button_9_Template, 3, 4, "button", 54)(10, TableComponent_8_ng_template_0_button_10_Template, 4, 7, "button", 55)(11, TableComponent_8_ng_template_0_button_11_Template, 3, 4, "button", 54);
|
|
1248
1209
|
i0.ɵɵprojection(12);
|
|
1249
|
-
i0.ɵɵtemplate(13, TableComponent_8_ng_template_0_button_13_Template, 3, 4, "button",
|
|
1210
|
+
i0.ɵɵtemplate(13, TableComponent_8_ng_template_0_button_13_Template, 3, 4, "button", 54)(14, TableComponent_8_ng_template_0_button_14_Template, 3, 4, "button", 54)(15, TableComponent_8_ng_template_0_button_15_Template, 3, 4, "button", 54)(16, TableComponent_8_ng_template_0_button_16_Template, 4, 3, "button", 56)(17, TableComponent_8_ng_template_0_button_17_Template, 4, 3, "button", 56)(18, TableComponent_8_ng_template_0_div_18_Template, 7, 4, "div", 57);
|
|
1250
1211
|
i0.ɵɵelementEnd()();
|
|
1251
1212
|
} if (rf & 2) {
|
|
1252
1213
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -1282,7 +1243,7 @@ function TableComponent_8_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
1282
1243
|
i0.ɵɵproperty("ngIf", ctx_r1.toolbar.groupSort);
|
|
1283
1244
|
} }
|
|
1284
1245
|
function TableComponent_8_Template(rf, ctx) { if (rf & 1) {
|
|
1285
|
-
i0.ɵɵtemplate(0, TableComponent_8_ng_template_0_Template, 19, 16, "ng-template",
|
|
1246
|
+
i0.ɵɵtemplate(0, TableComponent_8_ng_template_0_Template, 19, 16, "ng-template", 47);
|
|
1286
1247
|
} }
|
|
1287
1248
|
// NEW Factory Function
|
|
1288
1249
|
function tableFactory(wrapper) {
|
|
@@ -1687,14 +1648,14 @@ class TableComponent {
|
|
|
1687
1648
|
} if (rf & 2) {
|
|
1688
1649
|
let _t;
|
|
1689
1650
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dt = _t.first);
|
|
1690
|
-
} }, inputs: { columns: "columns", values: "values", scrollHeight: "scrollHeight", scrollable: "scrollable", selectionMode: "selectionMode", label: "label", error: "error", class: "class", required: "required", style: "style", toolbar: "toolbar", checkboxSelection: "checkboxSelection", active: "active", sortField: "sortField", isAscending: "isAscending", dataKey: "dataKey", stateKey: "stateKey", isGrouped: "isGrouped", customSort: "customSort", isGroupedExpanded: "isGroupedExpanded", showHeader: "showHeader", isMobileView: "isMobileView", resizableColumns: "resizableColumns", isTextSearch: "isTextSearch", isSortIcon: "isSortIcon", columnResizeMode: "columnResizeMode", selection: "selection" }, outputs: { activeChange: "activeChange", selectionChange: "selectionChange", addAction: "addAction", treeAction: "treeAction", csvAction: "csvAction", saveAction: "saveAction", removeAction: "removeAction", unlinkAction: "unlinkAction", linkAction: "linkAction", groupEditAction: "groupEditAction", paramsEditAction: "paramsEditAction", sortFunction: "sortFunction", filterFunction: "filterFunction" }, standalone: false, features: [i0.ɵɵProvidersFeature([TableService])], ngContentSelectors: _c1$b, decls: 9, vars: 25, consts: [["dt", ""], ["searchTextInput", ""], ["class", "c-label", 4, "ngIf"], [3, "onFilter", "onSort", "onStateRestore", "onStateSave", "sortFunction", "selectionChange", "selection", "columns", "customSort", "dataKey", "globalFilterFields", "resizableColumns", "scrollHeight", "scrollable", "selectionMode", "sortField", "sortOrder", "stateKey", "stateStorage", "value", "columnResizeMode"], [4, "ngIf"], ["pTemplate", "header"], [1, "c-label"], ["class", "c-label__req", 4, "ngIf"], ["class", "c-label__sub_is-error", 4, "ngIf"], [1, "c-label__req"], [1, "c-label__sub_is-error"], ["pTemplate", "colgroup"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["style", "width: 44px;", 4, "ngIf"], [4, "ngFor", "ngForOf"], [2, "width", "44px"], ["class", "u-position-relative u-text_center", "pResizableColumn", "", "style", "width: 44px;", 4, "ngIf"], ["class", "u-position-relative", "pResizableColumn", "", 3, "pSortableColumn", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 1, "u-position-relative", "u-text_center", 2, "width", "44px"], ["type", "checkbox", 1, "in-table-checkbox", 3, "change", "click", "checked"], ["pResizableColumn", "", 1, "u-position-relative", 3, "pSortableColumn"], [1, "p-table-thead-title", 3, "title"], ["class", "u-position-absolute u-position-absolute-right c-sorticon", "style", "display: flex; width: 18px; top: 0; height: 100%;", 3, "field", 4, "ngIf"], [1, "u-position-absolute", "u-position-absolute-right", "c-sorticon", 2, "display", "flex", "width", "18px", "top", "0", "height", "100%", 3, "field"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], [3, "ngSwitch"], ["autofocus", "", "class", "c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched", "pInputText", "", "type", "text", 3, "input", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "onChange", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "defaultLabel", "onChange", 4, "ngSwitchCase"], ["autofocus", "", "pInputText", "", "type", "text", 1, "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 3, "input"], ["appendTo", "body", 3, "onChange", "options"], ["appendTo", "body", 3, "onChange", "options", "defaultLabel"], ["pTemplate", "body"], ["class", "row_hover_highlight", 3, "click", 4, "ngIf"], ["class", "row", 3, "ngClass", "pSelectableRow", 4, "ngIf"], [1, "row_hover_highlight", 3, "click"], [3, "colSpan"], [3, "ngClass"], [1, "row", 3, "ngClass", "pSelectableRow"], ["class", "u-text_center", "style", "width: 44px", 3, "ngClass", 4, "ngIf"], ["class", "u-overflow-visible", 3, "click", 4, "ngFor", "ngForOf"], [1, "u-text_center", 2, "width", "44px", 3, "ngClass"], [1, "u-overflow-visible", 3, "click"], ["class", "p-table-tbody-content", "title", "", 3, "mouseover", 4, "ngIf"], ["title", "", 1, "p-table-tbody-content", 3, "mouseover"], ["pTemplate", "caption"], [1, "o-grid", "o-grid_no-gutter"], [1, "c-tree-table__toolbar-content", "u-display-inline-flex"], ["class", "c-form c-form_inline u-display-inline-block", 4, "ngIf"], [1, "c-btn", "c-btn_border-free", "c-btn_small"], [3, "columnsChange", "columns", "disableActiveCheckboxes"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "click", 4, "ngIf"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "disabled", "click", 4, "ngIf"], ["class", "c-btn c-btn_primary c-btn_small", 3, "disabled", "title", "click", 4, "ngIf"], ["class", "c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free", 3, "title", "click", 4, "ngIf"], ["class", "c-btn-group", "container", "body", "ngbDropdown", "", 4, "ngIf"], [1, "c-form", "c-form_inline", "u-display-inline-block"], [1, "input-wrapper", "u-margin-right-tiny"], ["autofocus", "", "pInputText", "", "required", "", "tabindex", "1", "type", "search", 1, "search-box", "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 2, "padding-right", "28px", 3, "input", "ngModelChange", "ngModel", "ngModelOptions", "placeholder"], ["type", "reset", 1, "button-reset", 3, "click"], [1, "in", "in-close"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click"], [1, "in", "in-filter", 3, "title"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click", "disabled"], [1, "in", "in-list", 3, "title"], [1, "in", "in-plus", 3, "title"], [1, "in", "in-link", 3, "title"], [1, "in", "in-file-excel-outline", 3, "title"], [1, "c-btn", "c-btn_primary", "c-btn_small", 3, "click", "disabled", "title"], [1, "in", "in-pencil", 3, "title"], [1, "in", "in-trash", 3, "title"], [1, "in", "in-link-off", 3, "title"], [1, "c-btn", "c-btn_small", "c-btn_svg-24", "c-icon", "c-icon_svg", "c-icon_svg-24", "c-btn_border-free", 3, "click", "title"], ["fill", "currentColor", "height", "24", "viewBox", "0 0 24 24", "width", "24", "xmlns", "http://www.w3.org/2000/svg"], ["d", "M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z"], ["clip-rule", "evenodd", "d", "M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z", "fill-rule", "evenodd"], ["container", "body", "ngbDropdown", "", 1, "c-btn-group"], ["id", "dropdownGroupType", "ngbDropdownToggle", "", 1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "title"], ["aria-hidden", "true", 1, "in", "in-object-group"], ["aria-hidden", "true", 1, "c-caret"], ["aria-labelledby", "dropdownGroupType", "ngbDropdownMenu", "", "role", "menu", 1, "c-dropdown-menu", "c-dropdown-menu_right", "ng-star-inserted"], ["class", "c-dropdown-menu__listitem is-dropdown-menu__listitem_active", "ngbDropdownItem", "", "role", "menuitem", 3, "ngClass", 4, "ngFor", "ngForOf"], ["ngbDropdownItem", "", "role", "menuitem", 1, "c-dropdown-menu__listitem", "is-dropdown-menu__listitem_active", 3, "ngClass"], [1, "c-dropdown-menu__content", 3, "click"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1651
|
+
} }, inputs: { columns: "columns", values: "values", scrollHeight: "scrollHeight", scrollable: "scrollable", selectionMode: "selectionMode", label: "label", error: "error", class: "class", required: "required", style: "style", toolbar: "toolbar", checkboxSelection: "checkboxSelection", active: "active", sortField: "sortField", isAscending: "isAscending", dataKey: "dataKey", stateKey: "stateKey", isGrouped: "isGrouped", customSort: "customSort", isGroupedExpanded: "isGroupedExpanded", showHeader: "showHeader", isMobileView: "isMobileView", resizableColumns: "resizableColumns", isTextSearch: "isTextSearch", isSortIcon: "isSortIcon", columnResizeMode: "columnResizeMode", selection: "selection" }, outputs: { activeChange: "activeChange", selectionChange: "selectionChange", addAction: "addAction", treeAction: "treeAction", csvAction: "csvAction", saveAction: "saveAction", removeAction: "removeAction", unlinkAction: "unlinkAction", linkAction: "linkAction", groupEditAction: "groupEditAction", paramsEditAction: "paramsEditAction", sortFunction: "sortFunction", filterFunction: "filterFunction" }, standalone: false, features: [i0.ɵɵProvidersFeature([TableService])], ngContentSelectors: _c1$b, decls: 9, vars: 25, consts: [["dt", ""], ["defaultHeaderTemplate", ""], ["searchTextInput", ""], ["class", "c-label", 4, "ngIf"], [3, "onFilter", "onSort", "onStateRestore", "onStateSave", "sortFunction", "selectionChange", "selection", "columns", "customSort", "dataKey", "globalFilterFields", "resizableColumns", "scrollHeight", "scrollable", "selectionMode", "sortField", "sortOrder", "stateKey", "stateStorage", "value", "columnResizeMode"], [4, "ngIf"], ["pTemplate", "header"], [1, "c-label"], ["class", "c-label__req", 4, "ngIf"], ["class", "c-label__sub_is-error", 4, "ngIf"], [1, "c-label__req"], [1, "c-label__sub_is-error"], ["pTemplate", "colgroup"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["style", "width: 44px;", 4, "ngIf"], [4, "ngFor", "ngForOf"], [2, "width", "44px"], [4, "ngIf", "ngIfElse"], ["class", "u-position-relative u-text_center", "pResizableColumn", "", "style", "width: 44px;", 4, "ngIf"], ["class", "u-position-relative", "pResizableColumn", "", 3, "pSortableColumn", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 1, "u-position-relative", "u-text_center", 2, "width", "44px"], ["type", "checkbox", 1, "in-table-checkbox", 3, "change", "click", "checked"], ["pResizableColumn", "", 1, "u-position-relative", 3, "pSortableColumn"], [1, "p-table-thead-title", 3, "title"], ["class", "u-position-absolute u-position-absolute-right c-sorticon", "style", "display: flex; width: 18px; top: 0; height: 100%;", 3, "field", 4, "ngIf"], [1, "u-position-absolute", "u-position-absolute-right", "c-sorticon", 2, "display", "flex", "width", "18px", "top", "0", "height", "100%", 3, "field"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], [3, "ngSwitch"], ["autofocus", "", "class", "c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched", "pInputText", "", "type", "text", 3, "input", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "onChange", 4, "ngSwitchCase"], ["appendTo", "body", 3, "options", "style", "defaultLabel", "onChange", 4, "ngSwitchCase"], ["autofocus", "", "pInputText", "", "type", "text", 1, "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 3, "input"], ["appendTo", "body", 3, "onChange", "options"], ["appendTo", "body", 3, "onChange", "options", "defaultLabel"], ["pTemplate", "body"], ["class", "row_hover_highlight", 3, "click", 4, "ngIf"], ["class", "row", 3, "ngClass", "pSelectableRow", 4, "ngIf"], [1, "row_hover_highlight", 3, "click"], [3, "colSpan"], [3, "ngClass"], [1, "row", 3, "ngClass", "pSelectableRow"], ["class", "u-text_center", "style", "width: 44px", 3, "ngClass", 4, "ngIf"], ["class", "u-overflow-visible", 3, "click", 4, "ngFor", "ngForOf"], [1, "u-text_center", 2, "width", "44px", 3, "ngClass"], [1, "u-overflow-visible", 3, "click"], ["class", "p-table-tbody-content", "title", "", 3, "mouseover", 4, "ngIf"], ["title", "", 1, "p-table-tbody-content", 3, "mouseover"], ["pTemplate", "caption"], [1, "o-grid", "o-grid_no-gutter"], [1, "c-tree-table__toolbar-content", "u-display-inline-flex"], ["class", "c-form c-form_inline u-display-inline-block", 4, "ngIf"], [1, "c-btn", "c-btn_border-free", "c-btn_small"], [3, "columnsChange", "columns", "disableActiveCheckboxes"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "click", 4, "ngIf"], ["class", "c-btn c-btn_border-free c-btn_small", 3, "disabled", "click", 4, "ngIf"], ["class", "c-btn c-btn_primary c-btn_small", 3, "disabled", "title", "click", 4, "ngIf"], ["class", "c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free", 3, "title", "click", 4, "ngIf"], ["class", "c-btn-group", "container", "body", "ngbDropdown", "", 4, "ngIf"], [1, "c-form", "c-form_inline", "u-display-inline-block"], [1, "input-wrapper", "u-margin-right-tiny"], ["autofocus", "", "pInputText", "", "required", "", "tabindex", "1", "type", "search", 1, "search-box", "c-input", "c-input_small", "ng-pristine", "ng-valid", "ng-scope", "ng-empty", "ng-touched", 2, "padding-right", "28px", 3, "input", "ngModelChange", "ngModel", "ngModelOptions", "placeholder"], ["type", "reset", 1, "button-reset", 3, "click"], [1, "in", "in-close"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click"], [1, "in", "in-filter", 3, "title"], [1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "click", "disabled"], [1, "in", "in-list", 3, "title"], [1, "in", "in-plus", 3, "title"], [1, "in", "in-link", 3, "title"], [1, "in", "in-file-excel-outline", 3, "title"], [1, "c-btn", "c-btn_primary", "c-btn_small", 3, "click", "disabled", "title"], [1, "in", "in-pencil", 3, "title"], [1, "in", "in-trash", 3, "title"], [1, "in", "in-link-off", 3, "title"], [1, "c-btn", "c-btn_small", "c-btn_svg-24", "c-icon", "c-icon_svg", "c-icon_svg-24", "c-btn_border-free", 3, "click", "title"], ["fill", "currentColor", "height", "24", "viewBox", "0 0 24 24", "width", "24", "xmlns", "http://www.w3.org/2000/svg"], ["d", "M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z"], ["clip-rule", "evenodd", "d", "M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z", "fill-rule", "evenodd"], ["container", "body", "ngbDropdown", "", 1, "c-btn-group"], ["id", "dropdownGroupType", "ngbDropdownToggle", "", 1, "c-btn", "c-btn_border-free", "c-btn_small", 3, "title"], ["aria-hidden", "true", 1, "in", "in-object-group"], ["aria-hidden", "true", 1, "c-caret"], ["aria-labelledby", "dropdownGroupType", "ngbDropdownMenu", "", "role", "menu", 1, "c-dropdown-menu", "c-dropdown-menu_right", "ng-star-inserted"], ["class", "c-dropdown-menu__listitem is-dropdown-menu__listitem_active", "ngbDropdownItem", "", "role", "menuitem", 3, "ngClass", 4, "ngFor", "ngForOf"], ["ngbDropdownItem", "", "role", "menuitem", 1, "c-dropdown-menu__listitem", "is-dropdown-menu__listitem_active", 3, "ngClass"], [1, "c-dropdown-menu__content", 3, "click"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1691
1652
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1692
|
-
i0.ɵɵprojectionDef(_c0$
|
|
1693
|
-
i0.ɵɵtemplate(0, TableComponent_span_0_Template, 4, 3, "span",
|
|
1694
|
-
i0.ɵɵelementStart(1, "p-table",
|
|
1653
|
+
i0.ɵɵprojectionDef(_c0$g);
|
|
1654
|
+
i0.ɵɵtemplate(0, TableComponent_span_0_Template, 4, 3, "span", 3);
|
|
1655
|
+
i0.ɵɵelementStart(1, "p-table", 4, 0);
|
|
1695
1656
|
i0.ɵɵlistener("onFilter", function TableComponent_Template_p_table_onFilter_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFilter($event)); })("onSort", function TableComponent_Template_p_table_onSort_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSort()); })("onStateRestore", function TableComponent_Template_p_table_onStateRestore_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.restoreSearchText()); })("onStateSave", function TableComponent_Template_p_table_onStateSave_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.stateSave($event)); })("sortFunction", function TableComponent_Template_p_table_sortFunction_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.sortFunction ? ctx.sortFunction.emit($event) : null); });
|
|
1696
1657
|
i0.ɵɵtwoWayListener("selectionChange", function TableComponent_Template_p_table_selectionChange_1_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectionValue, $event) || (ctx.selectionValue = $event); return i0.ɵɵresetView($event); });
|
|
1697
|
-
i0.ɵɵtemplate(3, TableComponent_3_Template, 1, 0, null,
|
|
1658
|
+
i0.ɵɵtemplate(3, TableComponent_3_Template, 1, 0, null, 5)(4, TableComponent_4_Template, 1, 0, null, 5)(5, TableComponent_ng_template_5_Template, 1, 1, "ng-template", 6)(6, TableComponent_6_Template, 1, 0, null, 5)(7, TableComponent_7_Template, 1, 0, null, 5)(8, TableComponent_8_Template, 1, 0, null, 5);
|
|
1698
1659
|
i0.ɵɵelementEnd();
|
|
1699
1660
|
} if (rf & 2) {
|
|
1700
1661
|
i0.ɵɵproperty("ngIf", ctx.label);
|
|
@@ -1713,11 +1674,11 @@ class TableComponent {
|
|
|
1713
1674
|
i0.ɵɵproperty("ngIf", !ctx.bodyTemplate);
|
|
1714
1675
|
i0.ɵɵadvance();
|
|
1715
1676
|
i0.ɵɵproperty("ngIf", ctx.toolbar);
|
|
1716
|
-
} }, dependencies: () => [i1$
|
|
1677
|
+
} }, dependencies: () => [i1$3.NgClass, i1$3.NgForOf, i1$3.NgIf, i1$3.NgTemplateOutlet, i1$3.NgSwitch, i1$3.NgSwitchCase, i2$2.Table, i2.PrimeTemplate, i2$2.SortableColumn, i2$2.SelectableRow, i2$2.ResizableColumn, i2$2.SortIcon, i2$1.ɵNgNoValidate, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.RequiredValidator, i2$1.NgModel, i2$1.NgForm, i5.Dropdown, i6.MultiSelect, i7.NgbDropdown, i7.NgbDropdownToggle, i7.NgbDropdownMenu, i7.NgbDropdownItem, TableColumnsMultiselectComponent, PropertyValuePipe, i1.TranslatePipe], styles: ["@charset \"UTF-8\";.u-overflow-visible[_ngcontent-%COMP%]{overflow:visible!important}.row_status_success[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-success, #31AC51)}.row_status_error[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-error, #F95C5D)}.row_status_warning[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-warning, #EE9946)}.row_status_critical[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-critical, #F95C5D)}.row_status_falsevalue[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-falsevalue, #85B3CB)}.row_status_disabled[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-disabled)}.row_status_none[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid transparent}.row_status_pending[_ngcontent-%COMP%]{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-pending, #1f85ff)}.button-reset[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:hover{color:var(--ids-theme-btn-default-color, #FFFFFF)}.input-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:baseline}.c-input[_ngcontent-%COMP%]:not(:valid) ~ .button-reset[_ngcontent-%COMP%]{display:none}.theme-light[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%], .theme-light [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%], .theme-contrast[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%], .theme-contrast [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]{border-color:#00000073}.theme-light[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate), .theme-light [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate), .theme-contrast[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate), .theme-contrast [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate){border-color:#000000b3}.in-table-checkbox[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:checked{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:indeterminate{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate){border-color:var(--p-checkbox-hover-border-color, #999999)}"] }); }
|
|
1717
1678
|
}
|
|
1718
1679
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
1719
1680
|
type: Component,
|
|
1720
|
-
args: [{ standalone: false, selector: 'in-table', providers: [TableService], template: "<span *ngIf=\"label\" class=\"c-label\">\r\n {{label}}\r\n <span *ngIf=\"required\" class=\"c-label__req\">*</span>\r\n <span *ngIf=\"error\" class=\"c-label__sub_is-error\">{{error}}</span>\r\n</span>\r\n<p-table #dt\r\n (onFilter) = onFilter($event)\r\n (onSort)=\"onSort()\"\r\n (onStateRestore)=\"restoreSearchText()\"\r\n (onStateSave)=\"stateSave($event)\"\r\n (sortFunction)=\"sortFunction? sortFunction.emit($event): null\"\r\n [(selection)]=\"selectionValue\"\r\n [class]=\"class\"\r\n [columns]=\"filteredColumns\"\r\n [customSort]=\"customSort\"\r\n [dataKey]=\"dataKey || 'id'\"\r\n [globalFilterFields]=\"globalFilteredColumns\"\r\n [resizableColumns]=\"resizableColumns\"\r\n [scrollHeight]=\"scrollHeight\"\r\n [scrollable]=\"scrollable\"\r\n [selectionMode]=\"selectionMode\"\r\n [sortField]=\"sortField || 'id'\"\r\n [sortOrder]=\"isAscending ? 1 : -1\"\r\n [stateKey]=\"stateKey\"\r\n [stateStorage]=\"'local'\"\r\n [style]=\"style\"\r\n [value]=\"values\"\r\n [columnResizeMode]=\"columnResizeMode\"\r\n>\r\n <ng-template *ngIf=\"colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <ng-container\r\n *ngTemplateOutlet=\"colGroupTemplate; context: {$implicit: { columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <colgroup *ngIf=\"!isMobileView\">\r\n <col *ngIf=\"checkboxSelection\" style=\"width: 44px;\">\r\n <col *ngFor=\"let col of filteredColumns; let idx = index\">\r\n </colgroup>\r\n </ng-template>\r\n\r\n <ng-template let-columns pTemplate=\"header\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn style=\"width: 44px;\">\r\n <!-- Native header checkbox bypasses dt.processedData (O(N log N) sort) used\r\n by p-tableHeaderCheckbox.toggleRowsWithCheckbox() on select all. -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isAllSelected()\"\r\n (change)=\"_onHeaderCheckboxChange($event)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </th>\r\n <th *ngFor=\"let col of filteredColumns\" [pSortableColumn]=\"col.field\" class=\"u-position-relative\"\r\n pResizableColumn>\r\n <div class=\"p-table-thead-title\"\r\n title=\"{{col.label | translate}}\">\r\n {{col.label | translate}}\r\n </div>\r\n <p-sortIcon *ngIf=\"isSortIcon\" [field]=\"col.field\"\r\n class=\"u-position-absolute u-position-absolute-right c-sorticon\"\r\n style=\"display: flex; width: 18px; top: 0; height: 100%;\"></p-sortIcon>\r\n </th>\r\n </tr>\r\n <tr *ngIf=\"toolbar && toolbar.filter && toolbar.filter.active\">\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn\r\n style=\"width: 44px;\"></th>\r\n <th *ngFor=\"let col of columns\" [ngSwitch]=\"col.field\">\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field, 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'text' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n\r\n <p-dropdown (onChange)=\"dt.filter($event.value, col.field, 'equals')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'dropdown' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\"\r\n appendTo=\"body\"></p-dropdown>\r\n\r\n <p-multiSelect (onChange)=\"dt.filter($event.value, col.field, 'in')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'multiselect' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\" appendTo=\"body\"\r\n defaultLabel=\"{{'All' | translate}}\"></p-multiSelect>\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field + '2filter', 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'datetext' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n </th>\r\n </tr>\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"bodyTemplate\" let-columns=\"columns\" let-rowData let-rowIndex=\"rowIndex\" pTemplate=\"body\">\r\n <ng-container\r\n *ngTemplateOutlet=\"bodyTemplate; context: {$implicit: { rowIndex: rowIndex, rowData: rowData, columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!bodyTemplate\" let-columns=\"columns\" let-index=\"rowIndex\" let-rowData pTemplate=\"body\">\r\n <tr\r\n (click)=\"toggleGroup(index, rowData.groupKey[groupMode])\"\r\n *ngIf=\"isGrouped && isShowGroup(rowData.groupKey[groupMode], index)\"\r\n class=\"row_hover_highlight\">\r\n <td [colSpan]=\"countVisibleColumns() + 1\">\r\n <span>\r\n <i\r\n [ngClass]=\"groupInfo[rowData.groupKey[groupMode]].isExpanded ? 'in fa-fw in-chevron-down' : 'in fa-fw in-chevron-right'\"></i>\r\n <span>{{rowData.groupKey[groupMode] | translate }} ({{countGroup(rowData.groupKey[groupMode], groupMode)}}\r\n )</span>\r\n </span>\r\n </td>\r\n </tr>\r\n <tr *ngIf=\"!isGrouped || groupInfo[(rowData.groupKey[groupMode])].isExpanded\"\r\n [ngClass]=\"{row_active: isRowActive(rowData)}\"\r\n [pSelectableRow]=\"rowData\"\r\n class=\"row\">\r\n <td *ngIf=\"checkboxSelection\" [ngClass]=\"{\r\n 'row_status_success': rowData.sdirparamstatecolor === 'success',\r\n 'row_status_error': rowData.sdirparamstatecolor === 'error',\r\n 'row_status_warning': rowData.sdirparamstatecolor === 'warning',\r\n 'row_status_critical': rowData.sdirparamstatecolor === 'critical',\r\n 'row_status_falsevalue': rowData.sdirparamstatecolor === 'falsevalue',\r\n 'row_status_pending': rowData.sdirparamstatecolor === 'pending'\r\n }\" class=\"u-text_center\"\r\n style=\"width: 44px\"\r\n >\r\n <!-- Native checkbox \u2014 no Angular component overhead (no NgModel/CVA/signals).\r\n Uses Set for O(1) state lookup instead of p-tableCheckbox's O(M) isSelected(). -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isRowSelected(rowData)\"\r\n [style.pointer-events]=\"(selectionMode === 'single' || (selectionMode === 'multiple' && checkboxSelection)) ? 'none' : 'auto'\"\r\n (change)=\"_onCheckboxChange($event, rowData)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </td>\r\n <td (click)=\"activeChange.emit(rowData)\"\r\n *ngFor=\"let col of filteredColumns\"\r\n class=\"u-overflow-visible\">\r\n <div (mouseover)=\"showTooltip($event)\" *ngIf=\"!valueTemplate\" class=\"p-table-tbody-content\" title>\r\n {{col.translatable ? (rowData | propertyValue: col.field | translate) : (rowData | propertyValue: col.field)}}\r\n </div>\r\n <ng-container\r\n *ngTemplateOutlet=\"valueTemplate; context: {$implicit: { data: rowData, col: col}}\"></ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"toolbar\" pTemplate=\"caption\">\r\n\r\n <div class=\"o-grid o-grid_no-gutter\">\r\n <div class=\"c-tree-table__toolbar-content u-display-inline-flex\">\r\n <div *ngIf=\"isTextSearch\" class=\"c-form c-form_inline u-display-inline-block\">\r\n <form class=\"c-label\">\r\n <div class=\"input-wrapper u-margin-right-tiny\">\r\n <input #searchTextInput\r\n (input)=\"localSearch(dt, searchText)\"\r\n [(ngModel)]=\"searchText\"\r\n [ngModelOptions]=\"{standalone: true}\"\r\n autofocus=\"\"\r\n class=\"search-box c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n placeholder=\"{{('SHARED.SEARCH' | translate) + ':'}}\"\r\n required\r\n style=\"padding-right: 28px\"\r\n tabindex=\"1\"\r\n type=\"search\"\r\n >\r\n <button (click)=\"clear()\" class=\"button-reset\" type=\"reset\"\r\n [attr.title]=\"'Reset' | translate\">\r\n <i class=\"in in-close\"></i>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"c-btn c-btn_border-free c-btn_small\">\r\n <in-table-columns-multiselect (columnsChange)=\"columnsChange($event)\"\r\n [columns]=\"primaryColumns\"\r\n [disableActiveCheckboxes]=\"countVisibleColumns() === 1\"></in-table-columns-multiselect>\r\n </div>\r\n\r\n <button (click)=\"onFilterToolbar($event)\" *ngIf=\"toolbar.filter\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-filter\" title=\"{{'Service filter' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"treeAction.emit($event)\" *ngIf=\"toolbar.tree\" [disabled]=\"toolbar.tree.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-list\" title=\"{{'Filter by rubric' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"addAction.emit($event)\" *ngIf=\"toolbar.add\" [disabled]=\"toolbar.add.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-plus\" title=\"{{'Add' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"linkAction.emit($event)\" *ngIf=\"toolbar.link\" [disabled]=\"toolbar.link.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-link\" title=\"{{'Link' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"csvAction.emit($event)\" *ngIf=\"toolbar.csv\" [disabled]=\"toolbar.csv.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <!--Todo: \u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430 in-file-csv-->\r\n <i class=\"in in-file-excel-outline\" title=\"{{'LOGS.SAVE_TO_CSV' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"saveAction.emit($event)\" *ngIf=\"toolbar.save\"\r\n [disabled]=\"toolbar.save.disabled\"\r\n class=\"c-btn c-btn_primary c-btn_small\"\r\n title=\"{{'Save' | translate}}\"\r\n >\r\n {{'Save' | translate}}\r\n </button>\r\n <button (click)=\"groupEditAction.emit($event)\" *ngIf=\"toolbar.groupEdit && toolbar.groupEdit.active\"\r\n [disabled]=\"toolbar.groupEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'groupEdit' | translate}}\"></i>\r\n </button>\r\n <ng-content select=\"[buttons]\"></ng-content>\r\n <button (click)=\"paramsEditAction.emit($event)\" *ngIf=\"toolbar.paramsEdit && toolbar.paramsEdit.active\"\r\n [disabled]=\"toolbar.paramsEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'paramsEdit' | translate}}\"></i>\r\n </button>\r\n\r\n\r\n <button (click)=\"removeAction.emit($event)\" *ngIf=\"toolbar.remove && toolbar.remove.active\"\r\n [disabled]=\"toolbar.remove.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-trash\" title=\"{{'Delete' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"unlinkAction.emit($event)\" *ngIf=\"toolbar.unlink\" [disabled]=\"toolbar.unlink.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-link-off\" title=\"{{'Detach tag from selected items' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"toggleNodes(true)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Expand all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z\"/>\r\n </svg>\r\n </button>\r\n <button (click)=\"toggleNodes(false)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Collapse all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path clip-rule=\"evenodd\" d=\"M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z\" fill-rule=\"evenodd\"/>\r\n </svg>\r\n </button>\r\n\r\n <div *ngIf=\"toolbar.groupSort\"\r\n class=\"c-btn-group\"\r\n container=\"body\"\r\n ngbDropdown>\r\n\r\n <button class=\"c-btn c-btn_border-free c-btn_small\"\r\n id=\"dropdownGroupType\"\r\n ngbDropdownToggle\r\n title=\"{{'Change the way parameters are grouped' | translate}}\">\r\n <i aria-hidden=\"true\" class=\"in in-object-group\"></i>\r\n <i aria-hidden=\"true\" class=\"c-caret\"></i>\r\n </button>\r\n\r\n <ul aria-labelledby=\"dropdownGroupType\"\r\n class=\"c-dropdown-menu c-dropdown-menu_right ng-star-inserted\"\r\n ngbDropdownMenu\r\n role=\"menu\">\r\n <li *ngFor=\"let item of toolbar.groupSort.label\"\r\n [ngClass]=\"{'is-dropdown-menu__listitem_active': item.value === groupMode}\"\r\n class=\"c-dropdown-menu__listitem is-dropdown-menu__listitem_active\"\r\n ngbDropdownItem\r\n role=\"menuitem\">\r\n <a (click)=\"toggleMode(item.value)\" class=\"c-dropdown-menu__content\">\r\n {{item.label}}\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</p-table>\r\n", styles: ["@charset \"UTF-8\";.u-overflow-visible{overflow:visible!important}.row_status_success{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-success, #31AC51)}.row_status_error{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-error, #F95C5D)}.row_status_warning{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-warning, #EE9946)}.row_status_critical{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-critical, #F95C5D)}.row_status_falsevalue{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-falsevalue, #85B3CB)}.row_status_disabled{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-disabled)}.row_status_none{padding-left:9px!important;border-left:4px solid transparent}.row_status_pending{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-pending, #1f85ff)}.button-reset{display:flex;align-items:center;position:absolute;right:6px;top:5px;padding:6px;font-size:15px;border:none;outline:0;cursor:pointer;color:var(--colorTextMuted);background-color:transparent}.button-reset:hover{color:var(--ids-theme-btn-default-color, #FFFFFF)}.input-wrapper{position:relative;display:flex;align-items:baseline}.c-input:not(:valid)~.button-reset{display:none}:host-context(.theme-light) .in-table-checkbox,:host-context(.theme-contrast) .in-table-checkbox{border-color:#00000073}:host-context(.theme-light) .in-table-checkbox:hover:not(:checked):not(:indeterminate),:host-context(.theme-contrast) .in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:#000000b3}.in-table-checkbox{appearance:none;-webkit-appearance:none;width:var(--p-checkbox-width, 20px);height:var(--p-checkbox-height, 20px);border:1px solid var(--p-checkbox-border-color, #B3B3B3);border-radius:var(--p-checkbox-border-radius, 2px);background:var(--p-checkbox-background, transparent);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;transition:border-color var(--p-checkbox-transition-duration, .15s),background var(--p-checkbox-transition-duration, .15s)}.in-table-checkbox:checked{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:checked:after{content:\"\";display:block;width:var(--p-checkbox-icon-size, 14px);height:var(--p-checkbox-icon-size, 14px);background-color:var(--p-checkbox-icon-checked-color, #ffffff);mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center}.in-table-checkbox:indeterminate{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:indeterminate:after{content:\"\";display:block;width:calc(var(--p-checkbox-icon-size, 14px) - 2px);height:2px;background-color:var(--p-checkbox-icon-checked-color, #ffffff);margin:auto}.in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:var(--p-checkbox-hover-border-color, #999999)}\n"] }]
|
|
1681
|
+
args: [{ standalone: false, selector: 'in-table', providers: [TableService], template: "<span *ngIf=\"label\" class=\"c-label\">\r\n {{label}}\r\n <span *ngIf=\"required\" class=\"c-label__req\">*</span>\r\n <span *ngIf=\"error\" class=\"c-label__sub_is-error\">{{error}}</span>\r\n</span>\r\n<p-table #dt\r\n (onFilter) = onFilter($event)\r\n (onSort)=\"onSort()\"\r\n (onStateRestore)=\"restoreSearchText()\"\r\n (onStateSave)=\"stateSave($event)\"\r\n (sortFunction)=\"sortFunction? sortFunction.emit($event): null\"\r\n [(selection)]=\"selectionValue\"\r\n [class]=\"class\"\r\n [columns]=\"filteredColumns\"\r\n [customSort]=\"customSort\"\r\n [dataKey]=\"dataKey || 'id'\"\r\n [globalFilterFields]=\"globalFilteredColumns\"\r\n [resizableColumns]=\"resizableColumns\"\r\n [scrollHeight]=\"scrollHeight\"\r\n [scrollable]=\"scrollable\"\r\n [selectionMode]=\"selectionMode\"\r\n [sortField]=\"sortField || 'id'\"\r\n [sortOrder]=\"isAscending ? 1 : -1\"\r\n [stateKey]=\"stateKey\"\r\n [stateStorage]=\"'local'\"\r\n [style]=\"style\"\r\n [value]=\"values\"\r\n [columnResizeMode]=\"columnResizeMode\"\r\n>\r\n <ng-template *ngIf=\"colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <ng-container\r\n *ngTemplateOutlet=\"colGroupTemplate; context: {$implicit: { columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!colGroupTemplate\" let-columns pTemplate=\"colgroup\">\r\n <colgroup *ngIf=\"!isMobileView\">\r\n <col *ngIf=\"checkboxSelection\" style=\"width: 44px;\">\r\n <col *ngFor=\"let col of filteredColumns; let idx = index\">\r\n </colgroup>\r\n </ng-template>\r\n\r\n <ng-template let-columns pTemplate=\"header\">\r\n <ng-container *ngIf=\"showHeader\">\r\n <ng-container *ngIf=\"headerTemplate; else defaultHeaderTemplate\">\r\n <ng-container\r\n *ngTemplateOutlet=\"headerTemplate; context: {$implicit: columns, columns: columns}\"></ng-container>\r\n </ng-container>\r\n <ng-template #defaultHeaderTemplate>\r\n <tr>\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn style=\"width: 44px;\">\r\n <!-- Native header checkbox bypasses dt.processedData (O(N log N) sort) used\r\n by p-tableHeaderCheckbox.toggleRowsWithCheckbox() on select all. -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isAllSelected()\"\r\n (change)=\"_onHeaderCheckboxChange($event)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </th>\r\n <th *ngFor=\"let col of filteredColumns\" [pSortableColumn]=\"col.field\" class=\"u-position-relative\"\r\n pResizableColumn>\r\n <div class=\"p-table-thead-title\"\r\n title=\"{{col.label | translate}}\">\r\n {{col.label | translate}}\r\n </div>\r\n <p-sortIcon *ngIf=\"isSortIcon\" [field]=\"col.field\"\r\n class=\"u-position-absolute u-position-absolute-right c-sorticon\"\r\n style=\"display: flex; width: 18px; top: 0; height: 100%;\"></p-sortIcon>\r\n </th>\r\n </tr>\r\n <tr *ngIf=\"toolbar && toolbar.filter && toolbar.filter.active\">\r\n <th *ngIf=\"checkboxSelection\" class=\"u-position-relative u-text_center\" pResizableColumn\r\n style=\"width: 44px;\"></th>\r\n <th *ngFor=\"let col of columns\" [ngSwitch]=\"col.field\">\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field, 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'text' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n\r\n <p-dropdown (onChange)=\"dt.filter($event.value, col.field, 'equals')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'dropdown' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\"\r\n appendTo=\"body\"></p-dropdown>\r\n\r\n <p-multiSelect (onChange)=\"dt.filter($event.value, col.field, 'in')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'multiselect' ? col.field : ''\"\r\n [options]=\"colFilter(col.field)?.options\"\r\n [style]=\"{ width: '100%', overflow: 'visible' }\" appendTo=\"body\"\r\n defaultLabel=\"{{'All' | translate}}\"></p-multiSelect>\r\n <input\r\n (input)=\"dt.filter($any($event.target).value, col.field + '2filter', 'contains')\"\r\n *ngSwitchCase=\"colFilter(col.field)?.type === 'datetext' ? col.field : ''\"\r\n autofocus=\"\"\r\n class=\"c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n type=\"text\">\r\n </th>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"bodyTemplate\" let-columns=\"columns\" let-rowData let-rowIndex=\"rowIndex\" pTemplate=\"body\">\r\n <ng-container\r\n *ngTemplateOutlet=\"bodyTemplate; context: {$implicit: { rowIndex: rowIndex, rowData: rowData, columns: columns}}\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"!bodyTemplate\" let-columns=\"columns\" let-index=\"rowIndex\" let-rowData pTemplate=\"body\">\r\n <tr\r\n (click)=\"toggleGroup(index, rowData.groupKey[groupMode])\"\r\n *ngIf=\"isGrouped && isShowGroup(rowData.groupKey[groupMode], index)\"\r\n class=\"row_hover_highlight\">\r\n <td [colSpan]=\"countVisibleColumns() + 1\">\r\n <span>\r\n <i\r\n [ngClass]=\"groupInfo[rowData.groupKey[groupMode]].isExpanded ? 'in fa-fw in-chevron-down' : 'in fa-fw in-chevron-right'\"></i>\r\n <span>{{rowData.groupKey[groupMode] | translate }} ({{countGroup(rowData.groupKey[groupMode], groupMode)}}\r\n )</span>\r\n </span>\r\n </td>\r\n </tr>\r\n <tr *ngIf=\"!isGrouped || groupInfo[(rowData.groupKey[groupMode])].isExpanded\"\r\n [ngClass]=\"{row_active: isRowActive(rowData)}\"\r\n [pSelectableRow]=\"rowData\"\r\n class=\"row\">\r\n <td *ngIf=\"checkboxSelection\" [ngClass]=\"{\r\n 'row_status_success': rowData.sdirparamstatecolor === 'success',\r\n 'row_status_error': rowData.sdirparamstatecolor === 'error',\r\n 'row_status_warning': rowData.sdirparamstatecolor === 'warning',\r\n 'row_status_critical': rowData.sdirparamstatecolor === 'critical',\r\n 'row_status_falsevalue': rowData.sdirparamstatecolor === 'falsevalue',\r\n 'row_status_pending': rowData.sdirparamstatecolor === 'pending'\r\n }\" class=\"u-text_center\"\r\n style=\"width: 44px\"\r\n >\r\n <!-- Native checkbox \u2014 no Angular component overhead (no NgModel/CVA/signals).\r\n Uses Set for O(1) state lookup instead of p-tableCheckbox's O(M) isSelected(). -->\r\n <input type=\"checkbox\"\r\n class=\"in-table-checkbox\"\r\n [checked]=\"_isRowSelected(rowData)\"\r\n [style.pointer-events]=\"(selectionMode === 'single' || (selectionMode === 'multiple' && checkboxSelection)) ? 'none' : 'auto'\"\r\n (change)=\"_onCheckboxChange($event, rowData)\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n </td>\r\n <td (click)=\"activeChange.emit(rowData)\"\r\n *ngFor=\"let col of filteredColumns\"\r\n class=\"u-overflow-visible\">\r\n <div (mouseover)=\"showTooltip($event)\" *ngIf=\"!valueTemplate\" class=\"p-table-tbody-content\" title>\r\n {{col.translatable ? (rowData | propertyValue: col.field | translate) : (rowData | propertyValue: col.field)}}\r\n </div>\r\n <ng-container\r\n *ngTemplateOutlet=\"valueTemplate; context: {$implicit: { data: rowData, col: col}}\"></ng-container>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template *ngIf=\"toolbar\" pTemplate=\"caption\">\r\n\r\n <div class=\"o-grid o-grid_no-gutter\">\r\n <div class=\"c-tree-table__toolbar-content u-display-inline-flex\">\r\n <div *ngIf=\"isTextSearch\" class=\"c-form c-form_inline u-display-inline-block\">\r\n <form class=\"c-label\">\r\n <div class=\"input-wrapper u-margin-right-tiny\">\r\n <input #searchTextInput\r\n (input)=\"localSearch(dt, searchText)\"\r\n [(ngModel)]=\"searchText\"\r\n [ngModelOptions]=\"{standalone: true}\"\r\n autofocus=\"\"\r\n class=\"search-box c-input c-input_small ng-pristine ng-valid ng-scope ng-empty ng-touched\"\r\n pInputText\r\n placeholder=\"{{('SHARED.SEARCH' | translate) + ':'}}\"\r\n required\r\n style=\"padding-right: 28px\"\r\n tabindex=\"1\"\r\n type=\"search\"\r\n >\r\n <button (click)=\"clear()\" class=\"button-reset\" type=\"reset\"\r\n [attr.title]=\"'Reset' | translate\">\r\n <i class=\"in in-close\"></i>\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"c-btn c-btn_border-free c-btn_small\">\r\n <in-table-columns-multiselect (columnsChange)=\"columnsChange($event)\"\r\n [columns]=\"primaryColumns\"\r\n [disableActiveCheckboxes]=\"countVisibleColumns() === 1\"></in-table-columns-multiselect>\r\n </div>\r\n\r\n <button (click)=\"onFilterToolbar($event)\" *ngIf=\"toolbar.filter\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-filter\" title=\"{{'Service filter' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"treeAction.emit($event)\" *ngIf=\"toolbar.tree\" [disabled]=\"toolbar.tree.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-list\" title=\"{{'Filter by rubric' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"addAction.emit($event)\" *ngIf=\"toolbar.add\" [disabled]=\"toolbar.add.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-plus\" title=\"{{'Add' | translate}}\"></i>\r\n </button>\r\n\r\n <button (click)=\"linkAction.emit($event)\" *ngIf=\"toolbar.link\" [disabled]=\"toolbar.link.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <i class=\"in in-link\" title=\"{{'Link' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"csvAction.emit($event)\" *ngIf=\"toolbar.csv\" [disabled]=\"toolbar.csv.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\"\r\n >\r\n <!--Todo: \u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430 in-file-csv-->\r\n <i class=\"in in-file-excel-outline\" title=\"{{'LOGS.SAVE_TO_CSV' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"saveAction.emit($event)\" *ngIf=\"toolbar.save\"\r\n [disabled]=\"toolbar.save.disabled\"\r\n class=\"c-btn c-btn_primary c-btn_small\"\r\n title=\"{{'Save' | translate}}\"\r\n >\r\n {{'Save' | translate}}\r\n </button>\r\n <button (click)=\"groupEditAction.emit($event)\" *ngIf=\"toolbar.groupEdit && toolbar.groupEdit.active\"\r\n [disabled]=\"toolbar.groupEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'groupEdit' | translate}}\"></i>\r\n </button>\r\n <ng-content select=\"[buttons]\"></ng-content>\r\n <button (click)=\"paramsEditAction.emit($event)\" *ngIf=\"toolbar.paramsEdit && toolbar.paramsEdit.active\"\r\n [disabled]=\"toolbar.paramsEdit.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-pencil\" title=\"{{'paramsEdit' | translate}}\"></i>\r\n </button>\r\n\r\n\r\n <button (click)=\"removeAction.emit($event)\" *ngIf=\"toolbar.remove && toolbar.remove.active\"\r\n [disabled]=\"toolbar.remove.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-trash\" title=\"{{'Delete' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"unlinkAction.emit($event)\" *ngIf=\"toolbar.unlink\" [disabled]=\"toolbar.unlink.disabled\"\r\n class=\"c-btn c-btn_border-free c-btn_small\">\r\n <i class=\"in in-link-off\" title=\"{{'Detach tag from selected items' | translate}}\"></i>\r\n </button>\r\n <button (click)=\"toggleNodes(true)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Expand all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M20 2H4v2h16V2zM4 20v2h16v-2H4zM12 5l5 6H7l5-6zM17 13l-5 6-5-6h10z\"/>\r\n </svg>\r\n </button>\r\n <button (click)=\"toggleNodes(false)\"\r\n *ngIf=\"toolbar.expandAll\"\r\n class=\"c-btn c-btn_small c-btn_svg-24 c-icon c-icon_svg c-icon_svg-24 c-btn_border-free\"\r\n title=\"{{'Collapse all' | translate}}\">\r\n <svg fill=\"currentColor\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path clip-rule=\"evenodd\" d=\"M17 3l-5 6-5-6h10zM4 13v-2h16v2H4zm8 2l5 6H7l5-6z\" fill-rule=\"evenodd\"/>\r\n </svg>\r\n </button>\r\n\r\n <div *ngIf=\"toolbar.groupSort\"\r\n class=\"c-btn-group\"\r\n container=\"body\"\r\n ngbDropdown>\r\n\r\n <button class=\"c-btn c-btn_border-free c-btn_small\"\r\n id=\"dropdownGroupType\"\r\n ngbDropdownToggle\r\n title=\"{{'Change the way parameters are grouped' | translate}}\">\r\n <i aria-hidden=\"true\" class=\"in in-object-group\"></i>\r\n <i aria-hidden=\"true\" class=\"c-caret\"></i>\r\n </button>\r\n\r\n <ul aria-labelledby=\"dropdownGroupType\"\r\n class=\"c-dropdown-menu c-dropdown-menu_right ng-star-inserted\"\r\n ngbDropdownMenu\r\n role=\"menu\">\r\n <li *ngFor=\"let item of toolbar.groupSort.label\"\r\n [ngClass]=\"{'is-dropdown-menu__listitem_active': item.value === groupMode}\"\r\n class=\"c-dropdown-menu__listitem is-dropdown-menu__listitem_active\"\r\n ngbDropdownItem\r\n role=\"menuitem\">\r\n <a (click)=\"toggleMode(item.value)\" class=\"c-dropdown-menu__content\">\r\n {{item.label}}\r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</p-table>\r\n", styles: ["@charset \"UTF-8\";.u-overflow-visible{overflow:visible!important}.row_status_success{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-success, #31AC51)}.row_status_error{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-error, #F95C5D)}.row_status_warning{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-warning, #EE9946)}.row_status_critical{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-critical, #F95C5D)}.row_status_falsevalue{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-falsevalue, #85B3CB)}.row_status_disabled{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-disabled)}.row_status_none{padding-left:9px!important;border-left:4px solid transparent}.row_status_pending{padding-left:9px!important;border-left:4px solid var(--ids-theme-status-pending, #1f85ff)}.button-reset{display:flex;align-items:center;position:absolute;right:6px;top:5px;padding:6px;font-size:15px;border:none;outline:0;cursor:pointer;color:var(--colorTextMuted);background-color:transparent}.button-reset:hover{color:var(--ids-theme-btn-default-color, #FFFFFF)}.input-wrapper{position:relative;display:flex;align-items:baseline}.c-input:not(:valid)~.button-reset{display:none}:host-context(.theme-light) .in-table-checkbox,:host-context(.theme-contrast) .in-table-checkbox{border-color:#00000073}:host-context(.theme-light) .in-table-checkbox:hover:not(:checked):not(:indeterminate),:host-context(.theme-contrast) .in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:#000000b3}.in-table-checkbox{appearance:none;-webkit-appearance:none;width:var(--p-checkbox-width, 20px);height:var(--p-checkbox-height, 20px);border:1px solid var(--p-checkbox-border-color, #B3B3B3);border-radius:var(--p-checkbox-border-radius, 2px);background:var(--p-checkbox-background, transparent);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;transition:border-color var(--p-checkbox-transition-duration, .15s),background var(--p-checkbox-transition-duration, .15s)}.in-table-checkbox:checked{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:checked:after{content:\"\";display:block;width:var(--p-checkbox-icon-size, 14px);height:var(--p-checkbox-icon-size, 14px);background-color:var(--p-checkbox-icon-checked-color, #ffffff);mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='currentColor' d='M5.25 10.15l-2.8-2.8-.7.7 3.5 3.5 7.5-7.5-.7-.7z'/%3E%3C/svg%3E\");mask-size:contain;-webkit-mask-size:contain;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center}.in-table-checkbox:indeterminate{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox:indeterminate:after{content:\"\";display:block;width:calc(var(--p-checkbox-icon-size, 14px) - 2px);height:2px;background-color:var(--p-checkbox-icon-checked-color, #ffffff);margin:auto}.in-table-checkbox:hover:not(:checked):not(:indeterminate){border-color:var(--p-checkbox-hover-border-color, #999999)}\n"] }]
|
|
1721
1682
|
}], () => [], { columns: [{
|
|
1722
1683
|
type: Input
|
|
1723
1684
|
}], values: [{
|
|
@@ -1939,7 +1900,7 @@ class InsparkHeaderComponent {
|
|
|
1939
1900
|
i0.ɵɵproperty("ngIf", ctx.level === 5);
|
|
1940
1901
|
i0.ɵɵadvance();
|
|
1941
1902
|
i0.ɵɵproperty("ngIf", ctx.level === 6);
|
|
1942
|
-
} }, dependencies: [i1$
|
|
1903
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgIf], styles: [".header[_ngcontent-%COMP%]{display:flex;align-items:center}.header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{display:inline-block;margin:0;color:var(--colorText)}.header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:24px}.header[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{margin-left:8px;display:flex;align-items:center}.header__wrapper[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.is-wrappable[_ngcontent-%COMP%] .header__wrapper[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word;white-space:normal}.line-clamp-1[_ngcontent-%COMP%] .header__wrapper[_ngcontent-%COMP%]{-webkit-line-clamp:1}.line-clamp-2[_ngcontent-%COMP%] .header__wrapper[_ngcontent-%COMP%]{-webkit-line-clamp:2}.line-clamp-3[_ngcontent-%COMP%] .header__wrapper[_ngcontent-%COMP%]{-webkit-line-clamp:3}.line-clamp-4[_ngcontent-%COMP%] .header__wrapper[_ngcontent-%COMP%]{-webkit-line-clamp:4}"] }); }
|
|
1943
1904
|
}
|
|
1944
1905
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InsparkHeaderComponent, [{
|
|
1945
1906
|
type: Component,
|
|
@@ -1968,7 +1929,7 @@ class SvgComponent {
|
|
|
1968
1929
|
i0.ɵɵelement(0, "span", 0);
|
|
1969
1930
|
} if (rf & 2) {
|
|
1970
1931
|
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));
|
|
1971
|
-
} }, dependencies: [i1$
|
|
1932
|
+
} }, dependencies: [i1$3.NgClass, i1$3.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}"] }); }
|
|
1972
1933
|
}
|
|
1973
1934
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SvgComponent, [{
|
|
1974
1935
|
type: Component,
|
|
@@ -2047,7 +2008,7 @@ class StatusCircleComponent {
|
|
|
2047
2008
|
i0.ɵɵproperty("ngIf", ctx.content !== "");
|
|
2048
2009
|
i0.ɵɵadvance();
|
|
2049
2010
|
i0.ɵɵproperty("ngIf", ctx.showLabel && ctx.label);
|
|
2050
|
-
} }, dependencies: [i1$
|
|
2011
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgIf, SvgComponent], styles: ["@charset \"UTF-8\";[_nghost-%COMP%]{display:inline-block;line-height:0}.circle-container[_ngcontent-%COMP%]{font-size:14px;display:inline-block}.circle-container.small[_ngcontent-%COMP%]{font-size:12px}.circle-container.small[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:8px;height:8px}.circle-container.normal[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:12px;height:12px}.circle-container.big[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{min-width:20px;min-height:20px}.circle-container.mini[_ngcontent-%COMP%]{margin-top:-2px;position:relative;padding:0;top:-3px}.circle-container.mini[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:4px;height:4px}.circle[_ngcontent-%COMP%]{display:inline-grid;align-items:center;justify-content:center;color:var(--colorTextOnStatus);border-radius:20px;position:relative}.circle[_ngcontent-%COMP%] in-svg[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;height:18px;width:18px;transform:translate(-50%,-50%)}.falsevalue[_ngcontent-%COMP%]{background:var(--colorFalseValue)}.success[_ngcontent-%COMP%]{background:var(--colorSuccess)}.maintenance[_ngcontent-%COMP%]{background:var(--colorMaintenance)}.warning[_ngcontent-%COMP%]{background:var(--colorWarning)}.error[_ngcontent-%COMP%]{background:var(--colorError)}.none[_ngcontent-%COMP%]{background:var(--colorNoControl)}.critical[_ngcontent-%COMP%]{background:var(--colorCritical)}.primary[_ngcontent-%COMP%]{background:var(--ids-theme-primary, #78f4ff)}.inverse[_ngcontent-%COMP%]{background:var(--colorIcon, #78f4ff);color:var(--colorTextInverse)}.black[_ngcontent-%COMP%]{background:#000}.label[_ngcontent-%COMP%]{margin-left:6px}.content[_ngcontent-%COMP%]{display:inline-block;line-height:100%;padding:0 5px}"] }); }
|
|
2051
2012
|
}
|
|
2052
2013
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusCircleComponent, [{
|
|
2053
2014
|
type: Component,
|
|
@@ -2217,7 +2178,7 @@ class SwitcherComponent {
|
|
|
2217
2178
|
}
|
|
2218
2179
|
onTouched() {
|
|
2219
2180
|
}
|
|
2220
|
-
static { this.ɵfac = function SwitcherComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SwitcherComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$
|
|
2181
|
+
static { this.ɵfac = function SwitcherComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SwitcherComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.Router)); }; }
|
|
2221
2182
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SwitcherComponent, selectors: [["in-switcher"]], inputs: { name: "name", label: "label", error: "error", iconOff: "iconOff", iconOn: "iconOn", labelOff: "labelOff", labelOn: "labelOn", faIconOn: "faIconOn", faIconOff: "faIconOff", id: "id", disabled: "disabled", waiting: "waiting" }, outputs: { change: "change" }, standalone: false, features: [i0.ɵɵProvidersFeature([
|
|
2222
2183
|
{
|
|
2223
2184
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -2255,7 +2216,7 @@ class SwitcherComponent {
|
|
|
2255
2216
|
i0.ɵɵproperty("ngIf", ctx.faIconOn);
|
|
2256
2217
|
i0.ɵɵadvance();
|
|
2257
2218
|
i0.ɵɵproperty("ngIf", ctx.iconOn);
|
|
2258
|
-
} }, dependencies: [i1$
|
|
2219
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgIf, i2$1.CheckboxControlValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, SvgComponent, i1.TranslatePipe], styles: [".container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;flex-direction:column}.c-checkbox_switch[_ngcontent-%COMP%] .c-checkbox__icon[_ngcontent-%COMP%]{height:30px}.c-checkbox[_ngcontent-%COMP%]{margin-right:0}.label[_ngcontent-%COMP%]{font-size:11px;font-weight:700;display:block;text-align:center;text-transform:uppercase;margin-bottom:2px}.switcher-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}"] }); }
|
|
2259
2220
|
}
|
|
2260
2221
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SwitcherComponent, [{
|
|
2261
2222
|
type: Component,
|
|
@@ -2266,7 +2227,7 @@ class SwitcherComponent {
|
|
|
2266
2227
|
multi: true,
|
|
2267
2228
|
}
|
|
2268
2229
|
], template: "<label class=\"c-checkbox c-checkbox_switch container\">\r\n <span *ngIf=\"label\" class=\"label\">{{label}}</span>\r\n <span class=\"switcher-container\">\r\n <span class=\"c-checkbox__label u-vertical-align-middle u-text_center\">\r\n <span *ngIf=\"!iconOff\">{{labelOff | translate}}</span>\r\n <span *ngIf=\"faIconOff\"><i class=\"fa\" [ngClass]=\"faIconOff\"></i></span>\r\n <in-svg *ngIf=\"iconOff\" [src]=\"iconOff\" height=\"48px\" size=\"large\" width=\"48px\"></in-svg>\r\n </span>\r\n <input *ngIf=\"!waiting\" (change)=\"onChange($event)\"\r\n [(ngModel)]=\"value\"\r\n [checked]=\"value\" [disabled]=\"disabled\"\r\n class=\"c-checkbox__input\"\r\n name=\"element_name\"\r\n type=\"checkbox\"/>\r\n <i *ngIf=\"!waiting\" class=\"c-checkbox__icon u-margin-left-tiny u-vertical-align-baseline\"></i>\r\n <span *ngIf=\"waiting\" style = \"display: inline-block; width:50px; text-align: center\"><i class=\"in in-spinner fa-spin \"></i></span>\r\n <span class=\"c-spinner c-checkbox__label u-vertical-align-middle u-text_center\">\r\n <span *ngIf=\"!iconOn\">{{labelOn | translate}}</span>\r\n <span *ngIf=\"faIconOn\"><i class=\"fa\" [ngClass]=\"faIconOn\"></i></span>\r\n <in-svg *ngIf=\"iconOn\" [src]=\"iconOn\" height=\"48px\" size=\"large\" width=\"48px\"></in-svg>\r\n </span>\r\n </span>\r\n</label>\r\n", styles: [".container{display:inline-flex;align-items:center;justify-content:center;flex-direction:column}.c-checkbox_switch .c-checkbox__icon{height:30px}.c-checkbox{margin-right:0}.label{font-size:11px;font-weight:700;display:block;text-align:center;text-transform:uppercase;margin-bottom:2px}.switcher-container{display:flex;align-items:center;justify-content:center}\n"] }]
|
|
2269
|
-
}], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
2230
|
+
}], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.Router }], { name: [{
|
|
2270
2231
|
type: Input
|
|
2271
2232
|
}], label: [{
|
|
2272
2233
|
type: Input
|
|
@@ -2900,7 +2861,7 @@ class TreeTableComponent {
|
|
|
2900
2861
|
i0.ɵɵproperty("columns", ctx.visibleColumns())("resizableColumns", true)("scrollHeight", ctx.scrollHeight)("scrollable", ctx.scrollable)("selectionMode", ctx.selectionMode)("sortField", ctx.sortField || "id")("sortOrder", ctx.isAscending ? 1 : -1)("value", ctx.values);
|
|
2901
2862
|
i0.ɵɵadvance(5);
|
|
2902
2863
|
i0.ɵɵproperty("ngIf", ctx.toolbar);
|
|
2903
|
-
} }, dependencies: [i1$
|
|
2864
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgForOf, i1$3.NgIf, i1$3.NgTemplateOutlet, i2$4.TreeTable, i2.PrimeTemplate, i2$4.TreeTableToggler, i2$4.TTSortableColumn, i2$4.TTSortIcon, i2$4.TTResizableColumn, i2$4.TTSelectableRow, i2$1.ɵNgNoValidate, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.RequiredValidator, i2$1.NgModel, i2$1.NgForm, TableColumnsMultiselectComponent, PropertyValuePipe, i1.TranslatePipe], styles: ["@charset \"UTF-8\";.p-sortable-column[_ngcontent-%COMP%]{cursor:pointer;position:relative}.theme-light[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%], .theme-light [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%], .theme-contrast[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%], .theme-contrast [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]{border-color:#00000073}.theme-light[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate), .theme-light [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate), .theme-contrast[_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate), .theme-contrast [_nghost-%COMP%] .in-table-checkbox[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate){border-color:#000000b3}.in-table-checkbox[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:checked{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:indeterminate{background:var(--p-checkbox-checked-background, #387382);border-color:var(--p-checkbox-checked-border-color, #387382)}.in-table-checkbox[_ngcontent-%COMP%]: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[_ngcontent-%COMP%]:hover:not(:checked):not(:indeterminate){border-color:var(--p-checkbox-hover-border-color, #999999)}.p-sortable-column-buttons[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:18px;height:100%;display:inline-flex;align-items:center;z-index:10000}.p-sortable-column-buttons[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{position:absolute;top:50%;right:0;left:0;transform:translateY(-50%)}.u-overflow-visible[_ngcontent-%COMP%]{overflow:visible!important}.button-reset[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:hover{color:var(--colorIcon)}.input-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:baseline}.c-input[_ngcontent-%COMP%]:not(:valid) ~ .button-reset[_ngcontent-%COMP%]{display:none}"] }); }
|
|
2904
2865
|
}
|
|
2905
2866
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TreeTableComponent, [{
|
|
2906
2867
|
type: Component,
|
|
@@ -3036,11 +2997,11 @@ class RadiobuttonComponent {
|
|
|
3036
2997
|
i0.ɵɵtemplate(0, RadiobuttonComponent_ng_container_0_Template, 8, 13, "ng-container", 0);
|
|
3037
2998
|
} if (rf & 2) {
|
|
3038
2999
|
i0.ɵɵproperty("ngForOf", ctx.values);
|
|
3039
|
-
} }, dependencies: [i1$
|
|
3000
|
+
} }, dependencies: [i1$3.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 }); }
|
|
3040
3001
|
}
|
|
3041
3002
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadiobuttonComponent, [{
|
|
3042
3003
|
type: Component,
|
|
3043
|
-
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"] }]
|
|
3004
|
+
args: [{ standalone: false, selector: 'in-radiobutton', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngFor=\"let element of values\">\r\n <label class=\"in-radiobutton-option u-margin-left-tiny u-vertical-align-middle field_{{name}}\">\r\n <span\r\n class=\"p-radiobutton p-component\"\r\n [class.p-radiobutton-checked]=\"isSelected(element)\"\r\n [class.p-disabled]=\"disabled\">\r\n <input\r\n class=\"p-radiobutton-input\"\r\n type=\"radio\"\r\n [attr.id]=\"name + '-' + element.id\"\r\n [attr.name]=\"name\"\r\n [value]=\"element.id\"\r\n [checked]=\"isSelected(element)\"\r\n [disabled]=\"disabled\"\r\n (change)=\"selectElement(element)\">\r\n <span class=\"p-radiobutton-box\">\r\n <span class=\"p-radiobutton-icon\"></span>\r\n </span>\r\n </span>\r\n <span class=\"p-radiobutton-label u-vertical-align-middle\">\r\n {{ element[keyLabel] }}\r\n </span>\r\n </label>\r\n</ng-container>\r\n", styles: [".in-radiobutton-option{display:inline-flex;align-items:center;cursor:pointer}.in-radiobutton-option .p-disabled{cursor:default}\n"] }]
|
|
3044
3005
|
}], () => [], { name: [{
|
|
3045
3006
|
type: Input
|
|
3046
3007
|
}], label: [{
|
|
@@ -3090,7 +3051,7 @@ class PreloaderComponent {
|
|
|
3090
3051
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(2, _c0$f, !ctx.inline, ctx.size === "small"));
|
|
3091
3052
|
i0.ɵɵadvance(14);
|
|
3092
3053
|
i0.ɵɵproperty("ngIf", ctx.overlay);
|
|
3093
|
-
} }, dependencies: [i1$
|
|
3054
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgIf], styles: ["@charset \"UTF-8\";.preloader-container[_ngcontent-%COMP%]{display:inline-flex;width:100%;height:64px;position:relative;align-items:center;justify-content:center;z-index:101}.preloader-container.float[_ngcontent-%COMP%]{position:absolute;height:auto;width:auto;top:50%;left:50%;transform:translate(-50%,-50%)}.preloader-container.small[_ngcontent-%COMP%]{width:32px;height:32px}.preloader-container.small[_ngcontent-%COMP%] .lds-spinner[_ngcontent-%COMP%]{color:var(--ids-theme-btn-primary-background);width:32px;height:32px}.lds-spinner[_ngcontent-%COMP%]{color:var(--ids-theme-btn-primary-background);width:64px;height:64px}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{transform-origin:32px 32px;animation:_ngcontent-%COMP%_lds-spinner 1.2s linear infinite}.small[_ngcontent-%COMP%] .lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{transform-origin:16px 16px}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:after{content:\" \";display:block;position:absolute;top:3px;left:29px;width:5px;height:14px;border-radius:20%;background:var(--ids-theme-btn-primary-background, #78f4ff)}.small[_ngcontent-%COMP%] .lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:after{width:3px;height:6px;left:15px}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes _ngcontent-%COMP%_lds-spinner{0%{opacity:1}to{opacity:0}}.overlay[_ngcontent-%COMP%]{position:fixed;left:0;top:0;width:100%;height:100%;background:#000000b3;z-index:100}"] }); }
|
|
3094
3055
|
}
|
|
3095
3056
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PreloaderComponent, [{
|
|
3096
3057
|
type: Component,
|
|
@@ -3412,7 +3373,7 @@ class ButtonComponent {
|
|
|
3412
3373
|
i0.ɵɵproperty("ngIf", !ctx.link && ctx.menuItems.length);
|
|
3413
3374
|
i0.ɵɵadvance();
|
|
3414
3375
|
i0.ɵɵproperty("ngIf", !ctx.link && !ctx.menuItems.length);
|
|
3415
|
-
} }, dependencies: [i1$
|
|
3376
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgForOf, i1$3.NgIf, i1$3.NgTemplateOutlet, i1$3.NgStyle, i1$4.RouterLink, SvgComponent, PreloaderComponent, i7.NgbDropdown, i7.NgbDropdownToggle, i7.NgbDropdownMenu, ButtonComponent], styles: ["@charset \"UTF-8\";.container[_ngcontent-%COMP%]{display:inline-block}.button-container[_ngcontent-%COMP%]{position:relative;display:inline-block}button[_ngcontent-%COMP%]{outline:none;width:100%}.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-9px}.p-button-text[_ngcontent-%COMP%]{vertical-align:middle}.notify[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:100%;position:absolute;right:8px;top:8px}.notify.warning[_ngcontent-%COMP%]{background:var(--colorWarning)}.notify.success[_ngcontent-%COMP%]{background:var(--colorSuccess)}.notify.error[_ngcontent-%COMP%]{background:var(--colorError)}.notify.critical[_ngcontent-%COMP%]{background:var(--colorCritical)}.p-button[_ngcontent-%COMP%]{margin-right:0;height:36px;display:inline-flex;align-items:center;justify-content:center}.p-button.p-button-pressed[_ngcontent-%COMP%]{background-color:var(--colorBgLevel4)}.p-button.p-button-large[_ngcontent-%COMP%]{height:48px}.p-button.p-button-large[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{font-size:18px;margin-top:-8px}.p-button.p-button-large[_ngcontent-%COMP%] .p-button-text[_ngcontent-%COMP%]{padding:0 1em 0 48px;margin-top:6px}.p-button-text-icon-left[_ngcontent-%COMP%] .p-button-text[_ngcontent-%COMP%]{padding:0 1em 0 2.4em}.p-button-text-only[_ngcontent-%COMP%] .p-button-text[_ngcontent-%COMP%]{padding:.25em 1em}.p-button-icon-only[_ngcontent-%COMP%]{font-size:18px;display:inline-flex;align-items:center;justify-content:center}.p-button-icon-only.p-button-large[_ngcontent-%COMP%]{width:48px;height:48px}.p-button-icon-only.p-button-large[_ngcontent-%COMP%] .svg[_ngcontent-%COMP%], .p-button-icon-only[_ngcontent-%COMP%] .svg[_ngcontent-%COMP%]{display:inline-block;line-height:0}.p-button-transparency[_ngcontent-%COMP%]{background:none;color:currentColor}.p-button-transparency[_ngcontent-%COMP%]:hover{color:currentColor}.p-button-shadowed[_ngcontent-%COMP%]{box-shadow:0 2px 6px #0003}.p-button.p-button-svg.p-button-small[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-4px}.p-button.p-button-svg.p-button-small.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-2px}.p-button.p-button-svg[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{left:6px;transform:translateY(-50%);margin-top:-4px}.p-button.p-button-svg.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{left:auto;width:auto;transform:none;margin-left:0;margin-top:0}.p-button.p-button-svg.p-button-large.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:0}.p-button-material.p-button-icon-only[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:20px}.p-button-material.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-10px;margin-left:-12px}.p-button-material[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px}.p-button-material[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-8px;margin-left:-2px}.p-button-material.p-button-small[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-7px}.p-button-material.p-button-small[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:14px}.p-button-material.p-button-small.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-12px;margin-left:-10px}.p-button-material.p-button-small.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:18px}.p-button-material.p-button-large[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:24px}.p-button-material.p-button-large[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-11px}.p-button-material.p-button-large.p-button-icon-only[_ngcontent-%COMP%] .p-button-icon-left[_ngcontent-%COMP%]{margin-top:-11px;margin-left:-13px}[_nghost-%COMP%] .p-menu[_ngcontent-%COMP%] .p-menuitem-link[_ngcontent-%COMP%]{font-size:16px}.dropdown-menu[_ngcontent-%COMP%]{display:none;background:var(--colorBgLevel3);padding:4px}.dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:4px;font-size:14px}.dropdown-menu.show[_ngcontent-%COMP%]{display:block}.in-dropdown-menu[_ngcontent-%COMP%]{background:var(--colorBgLevel2);padding:0;position:absolute;display:none;margin-left:0;box-shadow:0 0 3px 1px #0003}.in-dropdown-menu.show[_ngcontent-%COMP%]{display:block}.in-dropdown-menu[_ngcontent-%COMP%] .in-dropdown-menu-item[_ngcontent-%COMP%]{list-style-type:none;min-width:250px;display:flex;align-items:center;justify-content:flex-start;min-height:48px}.in-dropdown-menu[_ngcontent-%COMP%] .in-dropdown-menu-item[_ngcontent-%COMP%] in-button[_ngcontent-%COMP%], .in-dropdown-menu[_ngcontent-%COMP%] .in-dropdown-menu-item[_ngcontent-%COMP%] in-button[_ngcontent-%COMP%] button{width:100%;border-radius:0}.in-dropdown-menu[_ngcontent-%COMP%] .in-dropdown-menu-item[_ngcontent-%COMP%] in-button[_ngcontent-%COMP%] .p-button[_ngcontent-%COMP%], .in-dropdown-menu[_ngcontent-%COMP%] .in-dropdown-menu-item[_ngcontent-%COMP%] in-button[_ngcontent-%COMP%] button .p-button{justify-content:flex-start}.in-dropdown-menu[_ngcontent-%COMP%] .in-dropdown-menu-item[_ngcontent-%COMP%] .switcher[_ngcontent-%COMP%]{flex:1;display:flex;justify-content:flex-end;padding-right:4px}.in-dropdown-menu[_ngcontent-%COMP%] .in-dropdown-menu-item[_ngcontent-%COMP%] + .in-dropdown-menu-item[_ngcontent-%COMP%]{border-top:1px solid var(--colorBgLevel4)}"], changeDetection: 0 }); }
|
|
3416
3377
|
}
|
|
3417
3378
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
3418
3379
|
type: Component,
|
|
@@ -3493,7 +3454,7 @@ class ComponentContainerComponent {
|
|
|
3493
3454
|
i0.ɵɵelementEnd();
|
|
3494
3455
|
} if (rf & 2) {
|
|
3495
3456
|
i0.ɵɵproperty("ngClass", ctx.align);
|
|
3496
|
-
} }, dependencies: [i1$
|
|
3457
|
+
} }, dependencies: [i1$3.NgClass], styles: ["@charset \"UTF-8\";.inspark-component-container[_ngcontent-%COMP%]{display:flex;gap:8px}@media screen and (min-width:480px){.inspark-component-container[_ngcontent-%COMP%]{padding-bottom:0}}.right[_ngcontent-%COMP%]{justify-content:flex-end}"] }); }
|
|
3497
3458
|
}
|
|
3498
3459
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentContainerComponent, [{
|
|
3499
3460
|
type: Component,
|
|
@@ -3573,7 +3534,7 @@ class SelectListComponent {
|
|
|
3573
3534
|
const regex = new RegExp('(' + text + ')', 'gi');
|
|
3574
3535
|
return value.replace(regex, '<span class="u-text-highlight">$1</span>');
|
|
3575
3536
|
}
|
|
3576
|
-
static { this.ɵfac = function SelectListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectListComponent)(i0.ɵɵdirectiveInject(i1$
|
|
3537
|
+
static { this.ɵfac = function SelectListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectListComponent)(i0.ɵɵdirectiveInject(i1$2.DynamicDialogRef), i0.ɵɵdirectiveInject(i1$2.DynamicDialogConfig), i0.ɵɵdirectiveInject(InsparkMessageService), i0.ɵɵdirectiveInject(i1$4.Router)); }; }
|
|
3577
3538
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectListComponent, selectors: [["app-select-list"]], standalone: false, decls: 16, vars: 14, consts: [["spinner", ""], [1, "c-panel__heading-title", "h4"], [4, "ngIf"], [1, "container"], [1, "c-form-group", "type_treeblock"], ["style", "overflow: hidden; width: 100%; white-space: nowrap; display: inline-flex;", 4, "ngFor", "ngForOf"], [1, "buttons"], ["id", "close", 3, "click", "label"], ["id", "edit", "type", "submit", "color", "primary", 3, "click", "label", "disabled", "title"], [4, "ngTemplateOutlet"], [2, "overflow", "hidden", "width", "100%", "white-space", "nowrap", "display", "inline-flex"], [1, "c-label", "c-label__content", 2, "width", "100px", "min-height", "30px"], ["type", "checkbox", 1, "c-checkbox__input", 3, "checked"], [1, "p-chkbox-box", "c-checkbox__icon", 3, "click"], [1, "c-spinner"], [1, "in", "in-spinner", "fa-spin"]], template: function SelectListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3578
3539
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3579
3540
|
i0.ɵɵelementStart(0, "div", 1);
|
|
@@ -3606,12 +3567,12 @@ class SelectListComponent {
|
|
|
3606
3567
|
i0.ɵɵadvance(2);
|
|
3607
3568
|
i0.ɵɵpropertyInterpolate("label", i0.ɵɵpipeBind1(12, 10, "Apply"));
|
|
3608
3569
|
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(13, 12, "Select an action"));
|
|
3609
|
-
} }, dependencies: [i1$
|
|
3570
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i1$3.NgTemplateOutlet, ButtonComponent, ComponentContainerComponent, i1.TranslatePipe], styles: [".buttons[_ngcontent-%COMP%]{text-align:right}.buttons[_ngcontent-%COMP%] p-button[_ngcontent-%COMP%]{margin-left:8px}.container[_ngcontent-%COMP%]{padding:12px}[_nghost-%COMP%] .c-select_block{position:relative;left:10px;width:30%}[_nghost-%COMP%] .c-input_small{width:50%}[_nghost-%COMP%] .my-tree{width:100%;display:inline-block;position:relative}[_nghost-%COMP%] .my-tree .c-inputtext{width:500px}"] }); }
|
|
3610
3571
|
}
|
|
3611
3572
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectListComponent, [{
|
|
3612
3573
|
type: Component,
|
|
3613
3574
|
args: [{ standalone: false, selector: 'app-select-list', template: "<div class=\"c-panel__heading-title h4\">\r\n {{'Select objects for which to execute the command' | translate}}\r\n</div>\r\n<span *ngIf=\"isShowSpinner\"><ng-container *ngTemplateOutlet=\"spinner\"></ng-container></span>\r\n<div class=\"container\">\r\n <div class=\"c-form-group type_treeblock\">\r\n <div style=\"overflow: hidden; width: 100%; white-space: nowrap; display: inline-flex;\" *ngFor=\"let item of options; let i = index\">\r\n <span class=\"c-label c-label__content\" style=\"width: 100px; min-height: 30px;\">{{item.value}}</span>\r\n <input class=\"c-checkbox__input\" type=\"checkbox\" [checked]=\"options[i].checked\" >\r\n <i class=\"p-chkbox-box c-checkbox__icon\" (click)=\"select(i)\"></i>\r\n </div>\r\n\r\n </div>\r\n <div class=\"buttons\">\r\n <in-component-container>\r\n <in-button id=\"close\" (click)=\"closeModal()\"\r\n label=\"{{'Cancel' | translate}}\"></in-button>\r\n <in-button id=\"edit\" (click)=\"applySelection()\" type=\"submit\"\r\n label=\"{{'Apply' | translate}}\"\r\n color=\"primary\" [disabled]=\"\" [title]=\"'Select an action' | translate\"></in-button>\r\n </in-component-container>\r\n </div>\r\n</div>\r\n\r\n<ng-template #spinner><span class=\"c-spinner\">\r\n <i class=\"in in-spinner fa-spin \"></i>\r\n</span></ng-template>\r\n", styles: [".buttons{text-align:right}.buttons p-button{margin-left:8px}.container{padding:12px}:host ::ng-deep .c-select_block{position:relative;left:10px;width:30%}:host ::ng-deep .c-input_small{width:50%}:host ::ng-deep .my-tree{width:100%;display:inline-block;position:relative}:host ::ng-deep .my-tree .c-inputtext{width:500px}\n"] }]
|
|
3614
|
-
}], () => [{ type: i1$
|
|
3575
|
+
}], () => [{ type: i1$2.DynamicDialogRef }, { type: i1$2.DynamicDialogConfig }, { type: InsparkMessageService }, { type: i1$4.Router }], null); })();
|
|
3615
3576
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectListComponent, { className: "SelectListComponent", filePath: "components/select-list/select-list.component.ts", lineNumber: 15 }); })();
|
|
3616
3577
|
|
|
3617
3578
|
class ObjectTreeComponent {
|
|
@@ -3763,7 +3724,7 @@ class ModalInputTextComponent {
|
|
|
3763
3724
|
splited.forEach(s => translated += this.translateService.instant(s) + '\n');
|
|
3764
3725
|
return translated;
|
|
3765
3726
|
}
|
|
3766
|
-
static { this.ɵfac = function ModalInputTextComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalInputTextComponent)(i0.ɵɵdirectiveInject(i1$
|
|
3727
|
+
static { this.ɵfac = function ModalInputTextComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalInputTextComponent)(i0.ɵɵdirectiveInject(i1$2.DynamicDialogRef), i0.ɵɵdirectiveInject(i1$2.DynamicDialogConfig), i0.ɵɵdirectiveInject(i1.TranslateService), i0.ɵɵdirectiveInject(InsparkMessageService), i0.ɵɵdirectiveInject(i1$4.Router)); }; }
|
|
3767
3728
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalInputTextComponent, selectors: [["app-modal-input-text"]], standalone: false, decls: 16, vars: 18, consts: [["spinner", ""], [1, "c-panel__heading-title", "h4"], [4, "ngIf"], [1, "container"], ["class", "c-form-group type_treeblock", 4, "ngIf"], ["class", "o-grid o-grid_wrap", 4, "ngIf"], [1, "buttons"], ["id", "close", 3, "click", "label", "name"], ["id", "edit", "type", "submit", "color", "primary", 3, "click", "label", "name", "disabled", "title"], [4, "ngTemplateOutlet"], [1, "c-form-group", "type_treeblock"], [4, "ngFor", "ngForOf"], [1, "c-label", "type_bool", 2, "overflow", "hidden", "width", "100%", "white-space", "nowrap", "display", "inline-flex"], [1, "c-onecolumn-form_label__content", 2, "position", "relative", "top", "5px", "min-height", "30px"], [2, "min-height", "30px"], ["type", "checkbox", 3, "click", "checked"], [1, "p-chkbox-box", "c-checkbox__icon"], [1, "o-grid", "o-grid_wrap"], [1, "o-grid__cell", "o-grid__cell_width-100", "o-grid__cell_width-100@medium", "o-grid__cell_width-100@large"], [1, "c-form-group"], [1, "c-label", "type_varchars"], [1, "c-label__content", 2, "width", "500px", "white-space", "pre-line"], ["type", "text", "maxlength", "60", 3, "ngModelChange", "ngModel"], [1, "c-spinner"], [1, "in", "in-spinner", "fa-spin"]], template: function ModalInputTextComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3768
3729
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3769
3730
|
i0.ɵɵelementStart(0, "div", 1);
|
|
@@ -3798,12 +3759,12 @@ class ModalInputTextComponent {
|
|
|
3798
3759
|
i0.ɵɵadvance(2);
|
|
3799
3760
|
i0.ɵɵpropertyInterpolate("label", i0.ɵɵpipeBind1(12, 14, "Apply"));
|
|
3800
3761
|
i0.ɵɵproperty("name", "Apply")("disabled", ctx.checkSelected())("title", i0.ɵɵpipeBind1(13, 16, "Select an action"));
|
|
3801
|
-
} }, dependencies: [i1$
|
|
3762
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i1$3.NgTemplateOutlet, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.MaxLengthValidator, i2$1.NgModel, ButtonComponent, ComponentContainerComponent, i1.TranslatePipe], styles: [".buttons[_ngcontent-%COMP%]{text-align:right}.buttons[_ngcontent-%COMP%] p-button[_ngcontent-%COMP%]{margin-left:8px}.container[_ngcontent-%COMP%]{padding:12px}[_nghost-%COMP%] .c-select_block{position:relative;left:10px;width:30%}[_nghost-%COMP%] .c-input_small{width:50%}[_nghost-%COMP%] .my-tree{width:100%;display:inline-block;position:relative}[_nghost-%COMP%] .my-tree .c-inputtext{width:500px}"] }); }
|
|
3802
3763
|
}
|
|
3803
3764
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalInputTextComponent, [{
|
|
3804
3765
|
type: Component,
|
|
3805
3766
|
args: [{ standalone: false, selector: 'app-modal-input-text', template: "<div class=\"c-panel__heading-title h4\">\r\n {{'Enter parameter value' | translate}}\r\n</div>\r\n<span *ngIf=\"isShowSpinner\"><ng-container *ngTemplateOutlet=\"spinner\"></ng-container></span>\r\n<div class=\"container\">\r\n <div *ngIf = this.options class=\"c-form-group type_treeblock\">\r\n <div *ngFor=\"let item of options; let i = index\">\r\n <label class=\"c-label type_bool\" style=\"overflow: hidden; width: 100%; white-space: nowrap; display: inline-flex;\">\r\n <span class=\"c-onecolumn-form_label__content\" [style.width]=\"maxLength + 'px'\" style=\"position: relative; top: 5px; min-height: 30px;\">\r\n {{item.value}}\r\n </span>\r\n <span class=\"c-onecolumn-form_label__content field_{{item.value}}\" style=\"min-height: 30px;\">\r\n <input class=\"c-checkbox__input field_{{item.value}}\" type=\"checkbox\" [checked]=\"options[i].checked\" (click)=\"select(i)\">\r\n <i class=\"p-chkbox-box c-checkbox__icon\" ></i>\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=this.param class=\"o-grid o-grid_wrap\">\r\n <div class=\"o-grid__cell o-grid__cell_width-100 o-grid__cell_width-100@medium o-grid__cell_width-100@large\">\r\n <div class=\"c-form-group\">\r\n <label class=\"c-label type_varchars\">\r\n <span class=\"c-label__content\" style=\"width: 500px;white-space: pre-line\">{{translate(param.title)}}</span>\r\n <input [(ngModel)]=\"param.value\" class=\"c-input c-input_block field_{{config.data.command.label}}\" type=\"text\" maxlength=\"60\">\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"buttons\">\r\n <in-component-container>\r\n <in-button id=\"close\" (click)=\"closeModal()\"\r\n label=\"{{'Cancel' | translate}}\"\r\n [name]=\"'Cancel'\"\r\n ></in-button>\r\n <in-button id=\"edit\" (click)=\"applySelection()\" type=\"submit\"\r\n label=\"{{'Apply' | translate}}\"\r\n [name]=\"'Apply'\"\r\n color=\"primary\" [disabled]=\"checkSelected()\" [title]=\"'Select an action' | translate\"></in-button>\r\n </in-component-container>\r\n </div>\r\n</div>\r\n\r\n<ng-template #spinner><span class=\"c-spinner\">\r\n <i class=\"in in-spinner fa-spin \"></i>\r\n</span></ng-template>\r\n", styles: [".buttons{text-align:right}.buttons p-button{margin-left:8px}.container{padding:12px}:host ::ng-deep .c-select_block{position:relative;left:10px;width:30%}:host ::ng-deep .c-input_small{width:50%}:host ::ng-deep .my-tree{width:100%;display:inline-block;position:relative}:host ::ng-deep .my-tree .c-inputtext{width:500px}\n"] }]
|
|
3806
|
-
}], () => [{ type: i1$
|
|
3767
|
+
}], () => [{ type: i1$2.DynamicDialogRef }, { type: i1$2.DynamicDialogConfig }, { type: i1.TranslateService }, { type: InsparkMessageService }, { type: i1$4.Router }], null); })();
|
|
3807
3768
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalInputTextComponent, { className: "ModalInputTextComponent", filePath: "components/modal-input-text/modal-input-text.component.ts", lineNumber: 16 }); })();
|
|
3808
3769
|
|
|
3809
3770
|
class SharedComponentsModule {
|
|
@@ -3986,7 +3947,7 @@ class InsparkStickyComponent {
|
|
|
3986
3947
|
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"));
|
|
3987
3948
|
i0.ɵɵadvance();
|
|
3988
3949
|
i0.ɵɵproperty("ngClass", ctx.class + " u-overflow-hidden");
|
|
3989
|
-
} }, dependencies: [i1$
|
|
3950
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgStyle], styles: [".sticky[_ngcontent-%COMP%]{position:fixed;display:inline-block}.floated[_ngcontent-%COMP%]{box-shadow:0 0 4px 2px #0000004d}.inline[_ngcontent-%COMP%]{display:inline-block}"], changeDetection: 0 }); }
|
|
3990
3951
|
}
|
|
3991
3952
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InsparkStickyComponent, [{
|
|
3992
3953
|
type: Component,
|
|
@@ -4219,7 +4180,7 @@ class AutoCompleteComponent {
|
|
|
4219
4180
|
i0.ɵɵproperty("styleClass", ctx.styleClass);
|
|
4220
4181
|
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
|
4221
4182
|
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);
|
|
4222
|
-
} }, dependencies: [i1$
|
|
4183
|
+
} }, dependencies: [i1$3.NgIf, i2$1.NgControlStatus, i2$1.NgModel, i3.AutoComplete, i2.PrimeTemplate], styles: ["[_nghost-%COMP%]{display:block}"] }); }
|
|
4223
4184
|
}
|
|
4224
4185
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoCompleteComponent, [{
|
|
4225
4186
|
type: Component,
|
|
@@ -4426,7 +4387,7 @@ class ObjectPieComponent {
|
|
|
4426
4387
|
i0.ɵɵproperty("ngForOf", ctx.data);
|
|
4427
4388
|
i0.ɵɵadvance(2);
|
|
4428
4389
|
i0.ɵɵtextInterpolate(ctx.count);
|
|
4429
|
-
} }, dependencies: [i1$
|
|
4390
|
+
} }, dependencies: [i1$3.NgForOf], styles: [".pie-block[_ngcontent-%COMP%]{width:40px;height:40px;color:var(--text-color)}.pie-block[_ngcontent-%COMP%] text[_ngcontent-%COMP%]{width:20px;height:20px;background:var(--colorBgLevel2);font-size:11px}.pie-block[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:40px;height:40px}"], changeDetection: 0 }); }
|
|
4430
4391
|
}
|
|
4431
4392
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ObjectPieComponent, [{
|
|
4432
4393
|
type: Component,
|
|
@@ -4586,7 +4547,7 @@ class InputTextComponent {
|
|
|
4586
4547
|
i0.ɵɵadvance();
|
|
4587
4548
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(37, _c4, ctx.display));
|
|
4588
4549
|
i0.ɵɵattribute("title", i0.ɵɵpipeBind1(5, 23, "Reset"));
|
|
4589
|
-
} }, dependencies: [i1$
|
|
4550
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgIf, i1$3.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel, i1.TranslatePipe], styles: ["@charset \"UTF-8\";.label[_ngcontent-%COMP%]{display:inline-block;margin-bottom:0}.c-input[_ngcontent-%COMP%]{height:36px;width:100%}.c-input_opaque[_ngcontent-%COMP%]{background:var(--colorBgLevel3)}.c-input_shadowed[_ngcontent-%COMP%]{box-shadow:0 2px 6px #0003}.constraints-message__warning[_ngcontent-%COMP%]{color:red}.button-reset[_ngcontent-%COMP%]{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[_ngcontent-%COMP%]:hover{color:var(--ids-theme-btn-default-color, #FFFFFF)}.empty[_ngcontent-%COMP%]{display:none}.input-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:baseline}.c-input[_ngcontent-%COMP%]:not(:valid) ~ .button-reset[_ngcontent-%COMP%]{display:none}.c-input_margin_padding[_ngcontent-%COMP%]{margin-left:56px;padding-right:10px;max-width:1200px}.c-input_padding_right[_ngcontent-%COMP%]{padding-right:28px}"] }); }
|
|
4590
4551
|
}
|
|
4591
4552
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputTextComponent, [{
|
|
4592
4553
|
type: Component,
|
|
@@ -4772,7 +4733,7 @@ class TextareaComponent {
|
|
|
4772
4733
|
i0.ɵɵclassMapInterpolate1("c-textarea field_", ctx.id, "");
|
|
4773
4734
|
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
|
4774
4735
|
i0.ɵɵproperty("disabled", ctx.disabled)("id", ctx.id)("name", ctx.name)("ngStyle", i0.ɵɵpureFunction1(11, _c0$9, ctx.minHeight + "px"))("placeholder", ctx.placeholder)("required", ctx.required);
|
|
4775
|
-
} }, dependencies: [i1$
|
|
4736
|
+
} }, dependencies: [i1$3.NgIf, i1$3.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.NgModel], encapsulation: 2 }); }
|
|
4776
4737
|
}
|
|
4777
4738
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextareaComponent, [{
|
|
4778
4739
|
type: Component,
|
|
@@ -4886,7 +4847,7 @@ class CheckboxComponent {
|
|
|
4886
4847
|
}
|
|
4887
4848
|
onTouched() {
|
|
4888
4849
|
}
|
|
4889
|
-
static { this.ɵfac = function CheckboxComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$
|
|
4850
|
+
static { this.ɵfac = function CheckboxComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.Router)); }; }
|
|
4890
4851
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["in-checkbox"]], inputs: { name: "name", label: "label", required: "required", error: "error", placeholder: "placeholder", id: "id", disabled: "disabled" }, standalone: false, features: [i0.ɵɵProvidersFeature([
|
|
4891
4852
|
{
|
|
4892
4853
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -4911,7 +4872,7 @@ class CheckboxComponent {
|
|
|
4911
4872
|
i0.ɵɵproperty("disabled", ctx.disabled);
|
|
4912
4873
|
i0.ɵɵadvance(2);
|
|
4913
4874
|
i0.ɵɵproperty("ngIf", ctx.label);
|
|
4914
|
-
} }, dependencies: [i1$
|
|
4875
|
+
} }, dependencies: [i1$3.NgIf, i2$1.CheckboxControlValueAccessor, i2$1.NgControlStatus, i2$1.NgModel], styles: ["[_nghost-%COMP%]{width:100%}.c-checkbox[_ngcontent-%COMP%]{margin:0;display:flex;min-width:100%;align-items:center;padding:8px}.c-checkbox[_ngcontent-%COMP%] .c-checkbox__input[_ngcontent-%COMP%] + .c-checkbox__icon[_ngcontent-%COMP%]{padding-left:20px;top:0}.c-checkbox[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{display:flex;align-items:center}.c-checkbox[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]:not(:empty){display:inline-flex;padding-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"] }); }
|
|
4915
4876
|
}
|
|
4916
4877
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
4917
4878
|
type: Component,
|
|
@@ -4922,7 +4883,7 @@ class CheckboxComponent {
|
|
|
4922
4883
|
multi: true,
|
|
4923
4884
|
}
|
|
4924
4885
|
], template: "<label class=\"c-checkbox\">\r\n <input (change)=\"onChange($event)\" (input)=\"onChange($event)\"\r\n (ngModelChange)=\"onChange(value)\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n class=\"c-checkbox__input field_{{id}}\"\r\n name=\"element_name\"\r\n type=\"checkbox\"/>\r\n <i class=\"c-checkbox__icon\"></i>\r\n <span *ngIf=\"label\" class=\"label\">{{ label }}</span>\r\n <span class=\"label\"><ng-content></ng-content></span>\r\n</label>\r\n", styles: [":host{width:100%}.c-checkbox{margin:0;display:flex;min-width:100%;align-items:center;padding:8px}.c-checkbox .c-checkbox__input+.c-checkbox__icon{padding-left:20px;top:0}.c-checkbox .label{display:flex;align-items:center}.c-checkbox .label:not(:empty){display:inline-flex;padding-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
|
|
4925
|
-
}], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
4886
|
+
}], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.Router }], { name: [{
|
|
4926
4887
|
type: Input
|
|
4927
4888
|
}], label: [{
|
|
4928
4889
|
type: Input
|
|
@@ -5084,7 +5045,7 @@ class FileComponent {
|
|
|
5084
5045
|
i0.ɵɵproperty("ngIf", !ctx.file);
|
|
5085
5046
|
i0.ɵɵadvance(2);
|
|
5086
5047
|
i0.ɵɵproperty("accept", ctx.accept);
|
|
5087
|
-
} }, dependencies: [i1$
|
|
5048
|
+
} }, dependencies: [i1$3.NgIf, ButtonComponent, i1.TranslatePipe], styles: [".hide[_ngcontent-%COMP%]{display:none}"] }); }
|
|
5088
5049
|
}
|
|
5089
5050
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileComponent, [{
|
|
5090
5051
|
type: Component,
|
|
@@ -5144,7 +5105,7 @@ class ToolbarComponent {
|
|
|
5144
5105
|
this.cdRef.detectChanges();
|
|
5145
5106
|
}
|
|
5146
5107
|
}
|
|
5147
|
-
static { this.ɵfac = function ToolbarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToolbarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$
|
|
5108
|
+
static { this.ɵfac = function ToolbarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToolbarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.Router)); }; }
|
|
5148
5109
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToolbarComponent, selectors: [["in-toolbar"]], inputs: { title: "title" }, standalone: false, ngContentSelectors: _c0$6, decls: 10, vars: 2, consts: [[1, "toolbar-wrapper"], [3, "top"], [1, "c-panel", "toolbar-container"], [1, "c-toolbar"], [1, "c-toolbar__side-left"], [1, "c-toolbar__title"], [1, "c-toolbar__side-center"], [1, "c-toolbar__side-right"]], template: function ToolbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5149
5110
|
i0.ɵɵprojectionDef();
|
|
5150
5111
|
i0.ɵɵelementStart(0, "div", 0)(1, "in-sticky", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5);
|
|
@@ -5164,7 +5125,7 @@ class ToolbarComponent {
|
|
|
5164
5125
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToolbarComponent, [{
|
|
5165
5126
|
type: Component,
|
|
5166
5127
|
args: [{ standalone: false, selector: 'in-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"toolbar-wrapper\">\r\n <in-sticky [top]=\"60\">\r\n\r\n <div class=\"c-panel toolbar-container\">\r\n <div class=\"c-toolbar\">\r\n <div class=\"c-toolbar__side-left\">\r\n <div class=\"c-toolbar__title\">{{title}}</div>\r\n </div>\r\n <div class=\"c-toolbar__side-center\">\r\n\r\n </div>\r\n <div class=\"c-toolbar__side-right\">\r\n <ng-content></ng-content>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </in-sticky>\r\n</div>\r\n", styles: [".toolbar-wrapper{padding-bottom:4px}.toolbar-container{padding:8px;position:relative}:host{position:sticky;z-index:2}.c-toolbar{display:inline-flex;width:100%;flex-wrap:wrap}.c-toolbar__side-left{flex:100%;text-align:left}@media screen and (min-width:1200px){.c-toolbar__side-left{flex:1}}.c-toolbar__title{display:inline-flex;vertical-align:middle;font-size:22px}.c-toolbar__side-right{display:flex;text-align:right}.add-widget{position:fixed;right:16px;bottom:16px}.widget-container{position:absolute;inset:40px 0 0;overflow:auto}.widget-block{position:absolute;inset:5px}.sidebar{background:var(--main-background);position:absolute;left:0;top:35px;bottom:0;height:100vh;z-index:100;width:300px;box-shadow:0 0 3px 8px #0000001a;overflow:auto}.right-side{display:flex;align-items:center;justify-content:flex-end;flex:1}.right-side>*{margin-left:5px}.left-side{white-space:nowrap;display:flex;align-items:center;justify-content:flex-start}.left-side>*{margin-right:5px}.controls-panel{height:41px;border-radius:2px;padding:4px 0;margin:0 5px 5px;display:flex}.dashboard-list{position:relative}.title{font-size:22px}\n"] }]
|
|
5167
|
-
}], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
5128
|
+
}], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$4.Router }], { title: [{
|
|
5168
5129
|
type: Input
|
|
5169
5130
|
}] }); })();
|
|
5170
5131
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToolbarComponent, { className: "ToolbarComponent", filePath: "components/toolbar/toolbar.component.ts", lineNumber: 11 }); })();
|
|
@@ -5241,7 +5202,7 @@ class BreadcrumbComponent {
|
|
|
5241
5202
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "Home"));
|
|
5242
5203
|
i0.ɵɵadvance(2);
|
|
5243
5204
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
5244
|
-
} }, dependencies: [i1$
|
|
5205
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i1$4.RouterLink, i1.TranslateDirective, i1.TranslatePipe], encapsulation: 2, changeDetection: 0 }); }
|
|
5245
5206
|
}
|
|
5246
5207
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BreadcrumbComponent, [{
|
|
5247
5208
|
type: Component,
|
|
@@ -5463,7 +5424,7 @@ class SelectButtonComponent {
|
|
|
5463
5424
|
i0.ɵɵproperty("ngIf", ctx.label);
|
|
5464
5425
|
i0.ɵɵadvance(3);
|
|
5465
5426
|
i0.ɵɵproperty("ngForOf", ctx.options)("ngForTrackBy", ctx.trackByValue);
|
|
5466
|
-
} }, dependencies: [i1$
|
|
5427
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, ButtonComponent, i1.TranslatePipe], styles: [".container[_ngcontent-%COMP%]{white-space:nowrap}in-button[_ngcontent-%COMP%] button{outline:none}in-button[_ngcontent-%COMP%]:first-child button{border-bottom-right-radius:0;border-top-right-radius:0;border-right:1px solid #000}in-button[_ngcontent-%COMP%]:not(:first-child):not(:last-child) button{border-radius:0;border-right:1px solid #000}in-button[_ngcontent-%COMP%]:last-child button{border-bottom-left-radius:0;border-top-left-radius:0}.button-none[_ngcontent-%COMP%]{display:none}"] }); }
|
|
5467
5428
|
}
|
|
5468
5429
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectButtonComponent, [{
|
|
5469
5430
|
type: Component,
|
|
@@ -5577,7 +5538,7 @@ class InlineMessageComponent {
|
|
|
5577
5538
|
i0.ɵɵproperty("ngClass", ctx.align);
|
|
5578
5539
|
i0.ɵɵadvance();
|
|
5579
5540
|
i0.ɵɵtextInterpolate1(" ", ctx.message, " ");
|
|
5580
|
-
} }, dependencies: [i1$
|
|
5541
|
+
} }, dependencies: [i1$3.NgClass], styles: [".message[_ngcontent-%COMP%]{padding:12px 0;text-align:center;color:#aaa}.message.left[_ngcontent-%COMP%]{text-align:left}.message.right[_ngcontent-%COMP%]{text-align:right}"] }); }
|
|
5581
5542
|
}
|
|
5582
5543
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InlineMessageComponent, [{
|
|
5583
5544
|
type: Component,
|
|
@@ -5668,7 +5629,7 @@ class ContentToggleComponent {
|
|
|
5668
5629
|
i0.ɵɵtextInterpolate1(" ", ctx.label, " ");
|
|
5669
5630
|
i0.ɵɵadvance(6);
|
|
5670
5631
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
5671
|
-
} }, dependencies: [i1$
|
|
5632
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgIf, SvgComponent], styles: ["@charset \"UTF-8\";.block[_ngcontent-%COMP%]{font-size:12px;text-transform:uppercase;cursor:pointer;display:flex;white-space:nowrap}.block[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{flex:1;display:flex;justify-content:flex-end;align-items:center;-webkit-user-select:none;user-select:none}.block[_ngcontent-%COMP%]:hover{background:var(--colorBgLevel2)}.block[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:inline-block;margin-right:4px}.block[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-right:8px;display:flex;align-items:center;overflow:hidden;text-overflow:ellipsis}.block[_ngcontent-%COMP%] .counter[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:8px}.block[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{margin-right:0}.block[_ngcontent-%COMP%] .arrow.close[_ngcontent-%COMP%]{transform:rotate(-90deg)}.label-icon[_ngcontent-%COMP%]{margin-right:4px;width:16px;height:16px}"] }); }
|
|
5672
5633
|
}
|
|
5673
5634
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentToggleComponent, [{
|
|
5674
5635
|
type: Component,
|
|
@@ -5832,7 +5793,7 @@ class InputGroupComponent {
|
|
|
5832
5793
|
i0.ɵɵproperty("color", "primary")("disabled", ctx.isApplyDisabled())("isIconOnly", true)("name", "apply")("size", "tiny")("title", i0.ɵɵpipeBind1(5, 23, "Apply"));
|
|
5833
5794
|
i0.ɵɵadvance(2);
|
|
5834
5795
|
i0.ɵɵproperty("isIconOnly", true)("name", "cancel")("size", "tiny")("title", i0.ɵɵpipeBind1(7, 25, "Cancel"));
|
|
5835
|
-
} }, dependencies: [i1$
|
|
5796
|
+
} }, dependencies: [i1$3.NgIf, i1$3.NgStyle, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.RequiredValidator, i2$1.MaxLengthValidator, i2$1.NgModel, ButtonComponent, i1.TranslatePipe], encapsulation: 2 }); }
|
|
5836
5797
|
}
|
|
5837
5798
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputGroupComponent, [{
|
|
5838
5799
|
type: Component,
|
|
@@ -6087,7 +6048,7 @@ class LinkComponent {
|
|
|
6087
6048
|
i0.ɵɵproperty("ngIf", !ctx.link);
|
|
6088
6049
|
i0.ɵɵadvance();
|
|
6089
6050
|
i0.ɵɵproperty("ngIf", ctx.menuItems.length);
|
|
6090
|
-
} }, dependencies: [i1$
|
|
6051
|
+
} }, dependencies: [i1$3.NgClass, i1$3.NgIf, i1$3.NgTemplateOutlet, i1$4.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}"] }); }
|
|
6091
6052
|
}
|
|
6092
6053
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkComponent, [{
|
|
6093
6054
|
type: Component,
|
|
@@ -6391,7 +6352,7 @@ class DropdownComponent {
|
|
|
6391
6352
|
} if (rf & 2) {
|
|
6392
6353
|
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);
|
|
6393
6354
|
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
|
6394
|
-
} }, dependencies: [i1$
|
|
6355
|
+
} }, dependencies: [i1$3.NgIf, i1$3.NgTemplateOutlet, i2$1.NgControlStatus, i2$1.NgModel, i3$2.Select, i2.PrimeTemplate], styles: [".in-dropdown[_ngcontent-%COMP%]{width:100%;margin-bottom:0}"] }); }
|
|
6395
6356
|
}
|
|
6396
6357
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DropdownComponent, [{
|
|
6397
6358
|
type: Component,
|
|
@@ -6517,7 +6478,8 @@ class InsparkComponentsModule {
|
|
|
6517
6478
|
LegacyComponentsModule,
|
|
6518
6479
|
LegacyUiModule,
|
|
6519
6480
|
InlineSVGModule,
|
|
6520
|
-
SvgComponentModule,
|
|
6481
|
+
SvgComponentModule,
|
|
6482
|
+
DynamicDialogModule, DropdownComponentModule,
|
|
6521
6483
|
TableComponentModule,
|
|
6522
6484
|
TreeTableComponentModule,
|
|
6523
6485
|
MenuModule,
|
|
@@ -6577,6 +6539,7 @@ class InsparkComponentsModule {
|
|
|
6577
6539
|
LegacyUiModule,
|
|
6578
6540
|
InlineSVGModule,
|
|
6579
6541
|
SvgComponentModule,
|
|
6542
|
+
DynamicDialogModule,
|
|
6580
6543
|
],
|
|
6581
6544
|
declarations: [
|
|
6582
6545
|
PanelComponent,
|
|
@@ -6667,7 +6630,8 @@ class InsparkComponentsModule {
|
|
|
6667
6630
|
LegacyComponentsModule,
|
|
6668
6631
|
LegacyUiModule,
|
|
6669
6632
|
InlineSVGModule,
|
|
6670
|
-
SvgComponentModule
|
|
6633
|
+
SvgComponentModule,
|
|
6634
|
+
DynamicDialogModule], exports: [PanelComponent,
|
|
6671
6635
|
DropdownComponentModule,
|
|
6672
6636
|
TableComponentModule,
|
|
6673
6637
|
TreeTableComponentModule,
|