@thetradeengineorg1/snova-shell-module 1.0.0 → 1.0.2
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/bundles/thetradeengineorg1-snova-shell-module.umd.js +680 -1159
- package/bundles/thetradeengineorg1-snova-shell-module.umd.js.map +1 -1
- package/esm2015/lib/shell-components/components/admin-layout/admin-layout.component.js +11 -14
- package/esm2015/lib/shell-components/components/header-side/header-side.component.js +180 -511
- package/esm2015/lib/shell-components/components/menu/menu.component.js +33 -234
- package/esm2015/lib/shell-components/components/sidenav/side-bar.component.js +189 -93
- package/fesm2015/thetradeengineorg1-snova-shell-module.js +590 -1015
- package/fesm2015/thetradeengineorg1-snova-shell-module.js.map +1 -1
- package/lib/shell-components/components/sidenav/side-bar.component.d.ts +14 -24
- package/package.json +1 -1
|
@@ -6,14 +6,14 @@ import * as i8 from '@angular/material/button';
|
|
|
6
6
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
7
|
import * as i7 from '@angular/material/card';
|
|
8
8
|
import { MatCardModule } from '@angular/material/card';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i6$1 from '@angular/material/progress-bar';
|
|
10
10
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
11
11
|
import * as i7$1 from '@angular/material/tooltip';
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
13
|
import * as i17 from '@angular/material/icon';
|
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
15
|
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i35 from '@angular/material/input';
|
|
17
17
|
import { MatInputModule } from '@angular/material/input';
|
|
18
18
|
import * as i14 from '@angular/material/core';
|
|
19
19
|
import { MAT_DATE_LOCALE, MAT_DATE_FORMATS, DateAdapter } from '@angular/material/core';
|
|
@@ -24,9 +24,10 @@ import { MatMenuModule } from '@angular/material/menu';
|
|
|
24
24
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
25
25
|
import * as i12 from '@angular/material/list';
|
|
26
26
|
import { MatListModule } from '@angular/material/list';
|
|
27
|
+
import * as i19 from '@angular/material/toolbar';
|
|
27
28
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
28
29
|
import { MatGridListModule } from '@angular/material/grid-list';
|
|
29
|
-
import * as
|
|
30
|
+
import * as i32 from '@angular/material/select';
|
|
30
31
|
import { MatSelectModule } from '@angular/material/select';
|
|
31
32
|
import { MatTableModule } from '@angular/material/table';
|
|
32
33
|
import * as i2$4 from '@angular/material/tabs';
|
|
@@ -42,13 +43,13 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
42
43
|
import { MomentDateAdapter, MAT_MOMENT_DATE_FORMATS } from '@angular/material-moment-adapter';
|
|
43
44
|
import * as i2 from '@angular/router';
|
|
44
45
|
import { NavigationEnd, NavigationError, NavigationCancel, NavigationStart, RouteConfigLoadStart, ResolveStart, RouteConfigLoadEnd, ResolveEnd, RouterModule } from '@angular/router';
|
|
45
|
-
import * as
|
|
46
|
+
import * as i36 from '@thetradeengineorg1/snova-avatar';
|
|
46
47
|
import { SnovasysAvatarModule } from '@thetradeengineorg1/snova-avatar';
|
|
47
48
|
import * as i2$1 from '@thetradeengineorg1/snova-ndc-dynamic';
|
|
48
49
|
import { DynamicModule } from '@thetradeengineorg1/snova-ndc-dynamic';
|
|
49
50
|
import * as i5$1 from '@ngx-translate/core';
|
|
50
51
|
import { TranslateService, TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
51
|
-
import * as
|
|
52
|
+
import * as i26 from '@ncstate/sat-popover';
|
|
52
53
|
import { SatPopoverModule } from '@ncstate/sat-popover';
|
|
53
54
|
import * as i4 from '@fortawesome/angular-fontawesome';
|
|
54
55
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
@@ -82,21 +83,19 @@ import { SPINNER, NgxUiLoaderModule } from 'ngx-ui-loader';
|
|
|
82
83
|
import * as signalR from '@microsoft/signalr';
|
|
83
84
|
import * as i12$1 from '@angular/cdk/bidi';
|
|
84
85
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
85
|
-
import * as
|
|
86
|
-
import * as
|
|
87
|
-
import * as i15
|
|
86
|
+
import * as i1$4 from '@angular/flex-layout/flex';
|
|
87
|
+
import * as i10$1 from '@angular/material/form-field';
|
|
88
|
+
import * as i15 from '@thetradeengineorg1/snova-document-management';
|
|
88
89
|
import { FileResultModel, DocumentManagementModule } from '@thetradeengineorg1/snova-document-management';
|
|
89
90
|
import Resumable from 'resumablejs';
|
|
90
|
-
import * as i1$
|
|
91
|
+
import * as i1$5 from 'ng-push-ivy';
|
|
91
92
|
import { PushNotificationsModule } from 'ng-push-ivy';
|
|
92
|
-
import * as
|
|
93
|
+
import * as i4$1 from '@angular/flex-layout/extended';
|
|
93
94
|
import * as i7$2 from '@angular/material/divider';
|
|
94
|
-
import * as i32 from 'ngx-dropzone';
|
|
95
|
-
import { NgxDropzoneModule } from 'ngx-dropzone';
|
|
96
|
-
import * as bootstrap from 'bootstrap';
|
|
97
95
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
98
96
|
import { OWL_DATE_TIME_LOCALE, OwlDateTimeModule, OwlNativeDateTimeModule } from 'ng-pick-datetime';
|
|
99
97
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
98
|
+
import { NgxDropzoneModule } from 'ngx-dropzone';
|
|
100
99
|
import { DropZoneModule } from '@thetradeengineorg1/snova-file-uploader';
|
|
101
100
|
import * as i8$1 from '@swimlane/ngx-datatable';
|
|
102
101
|
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
|
|
@@ -6054,7 +6053,7 @@ class ExportConfigurationModel {
|
|
|
6054
6053
|
}
|
|
6055
6054
|
|
|
6056
6055
|
const _c0$a = ["allModuleSelected"];
|
|
6057
|
-
const _c1$
|
|
6056
|
+
const _c1$4 = ["allDataSelected"];
|
|
6058
6057
|
function ExportConfigurationDialogComponent_mat_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
6059
6058
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
6060
6059
|
i0.ɵɵelementStart(0, "mat-option", 9, 10);
|
|
@@ -6396,7 +6395,7 @@ class ExportConfigurationDialogComponent {
|
|
|
6396
6395
|
ExportConfigurationDialogComponent.ɵfac = function ExportConfigurationDialogComponent_Factory(t) { return new (t || ExportConfigurationDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(i2.ActivatedRoute), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(i6.ToastrService), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
6397
6396
|
ExportConfigurationDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExportConfigurationDialogComponent, selectors: [["export-configuration-dialog"]], viewQuery: function ExportConfigurationDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6398
6397
|
i0.ɵɵviewQuery(_c0$a, 5);
|
|
6399
|
-
i0.ɵɵviewQuery(_c1$
|
|
6398
|
+
i0.ɵɵviewQuery(_c1$4, 5);
|
|
6400
6399
|
} if (rf & 2) {
|
|
6401
6400
|
let _t;
|
|
6402
6401
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.allModuleSelected = _t.first);
|
|
@@ -6510,7 +6509,7 @@ ExportConfigurationDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent(
|
|
|
6510
6509
|
i0.ɵɵproperty("ngIf", ctx.exportDataLoading);
|
|
6511
6510
|
i0.ɵɵadvance(3);
|
|
6512
6511
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(44, 37, "ASSETS.CANCEL"), " ");
|
|
6513
|
-
} }, directives: [i7.MatCardContent, i9.ɵNgNoValidate, i9.NgControlStatusGroup,
|
|
6512
|
+
} }, directives: [i7.MatCardContent, i9.ɵNgNoValidate, i9.NgControlStatusGroup, i1$4.DefaultLayoutDirective, i9.FormGroupDirective, i1$4.DefaultFlexDirective, i11.MatCheckbox, i9.NgControlStatus, i9.FormControlName, i10$1.MatFormField, i32.MatSelect, i14.MatOption, i10.NgForOf, i8.MatButton, i4.FaIconComponent, i10.NgIf], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
6514
6513
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExportConfigurationDialogComponent, [{
|
|
6515
6514
|
type: Component,
|
|
6516
6515
|
args: [{
|
|
@@ -6750,20 +6749,20 @@ RecentSearchService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Rece
|
|
|
6750
6749
|
}], function () { return [{ type: i1$1.HttpClient }]; }, null); })();
|
|
6751
6750
|
|
|
6752
6751
|
const _c0$9 = ["menuTrigger"];
|
|
6753
|
-
const _c1$
|
|
6752
|
+
const _c1$3 = ["element"];
|
|
6754
6753
|
const _c2$1 = ["workspaceElement"];
|
|
6755
6754
|
const _c3$1 = ["menuElement"];
|
|
6756
6755
|
const _c4$1 = ["addWorkspace"];
|
|
6757
|
-
const _c5
|
|
6758
|
-
const _c6
|
|
6759
|
-
const _c7
|
|
6760
|
-
const _c8
|
|
6761
|
-
const _c9
|
|
6756
|
+
const _c5 = ["allSelected"];
|
|
6757
|
+
const _c6 = ["allEditSelected"];
|
|
6758
|
+
const _c7 = ["allDeleteSelected"];
|
|
6759
|
+
const _c8 = ["infoPopOver"];
|
|
6760
|
+
const _c9 = ["openMenuPopUp"];
|
|
6762
6761
|
function MenuComponent_div_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
6763
|
-
const
|
|
6762
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
6764
6763
|
i0.ɵɵelementStart(0, "div");
|
|
6765
|
-
i0.ɵɵelementStart(1, "button",
|
|
6766
|
-
i0.ɵɵlistener("click", function MenuComponent_div_5_div_1_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(
|
|
6764
|
+
i0.ɵɵelementStart(1, "button", 10);
|
|
6765
|
+
i0.ɵɵlistener("click", function MenuComponent_div_5_div_1_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r7); const item_r3 = i0.ɵɵnextContext().$implicit; const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.selectMenu(item_r3, $event); });
|
|
6767
6766
|
i0.ɵɵelementStart(2, "mat-icon");
|
|
6768
6767
|
i0.ɵɵtext(3);
|
|
6769
6768
|
i0.ɵɵelementEnd();
|
|
@@ -6772,30 +6771,33 @@ function MenuComponent_div_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
6772
6771
|
i0.ɵɵelementEnd();
|
|
6773
6772
|
i0.ɵɵelementEnd();
|
|
6774
6773
|
} if (rf & 2) {
|
|
6775
|
-
const
|
|
6776
|
-
const
|
|
6774
|
+
const item_r3 = i0.ɵɵnextContext().$implicit;
|
|
6775
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
6777
6776
|
i0.ɵɵadvance(1);
|
|
6778
|
-
i0.ɵɵpropertyInterpolate1("routerLink", "/",
|
|
6777
|
+
i0.ɵɵpropertyInterpolate1("routerLink", "/", item_r3.state, "");
|
|
6779
6778
|
i0.ɵɵadvance(2);
|
|
6780
|
-
i0.ɵɵtextInterpolate(
|
|
6779
|
+
i0.ɵɵtextInterpolate(item_r3.icon);
|
|
6781
6780
|
i0.ɵɵadvance(1);
|
|
6782
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(5, 3,
|
|
6781
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(5, 3, item_r3.menu, ctx_r4.softLabels), " ");
|
|
6783
6782
|
} }
|
|
6784
6783
|
function MenuComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
6785
6784
|
i0.ɵɵelementStart(0, "div");
|
|
6786
|
-
i0.ɵɵtemplate(1, MenuComponent_div_5_div_1_Template, 6, 6, "div",
|
|
6785
|
+
i0.ɵɵtemplate(1, MenuComponent_div_5_div_1_Template, 6, 6, "div", 9);
|
|
6787
6786
|
i0.ɵɵelementEnd();
|
|
6788
6787
|
} if (rf & 2) {
|
|
6789
|
-
const
|
|
6788
|
+
const item_r3 = ctx.$implicit;
|
|
6790
6789
|
i0.ɵɵadvance(1);
|
|
6791
|
-
i0.ɵɵproperty("ngIf",
|
|
6790
|
+
i0.ɵɵproperty("ngIf", item_r3.type == "link" || item_r3.type == "applicationlink");
|
|
6792
6791
|
} }
|
|
6793
|
-
function
|
|
6794
|
-
const
|
|
6795
|
-
i0.ɵɵelementStart(0, "div",
|
|
6796
|
-
i0.ɵɵelementStart(1, "
|
|
6797
|
-
i0.ɵɵlistener("click", function
|
|
6792
|
+
function MenuComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
6793
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
6794
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
6795
|
+
i0.ɵɵelementStart(1, "button", 12);
|
|
6796
|
+
i0.ɵɵlistener("click", function MenuComponent_div_11_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.openApps(); });
|
|
6798
6797
|
i0.ɵɵpipe(2, "translate");
|
|
6798
|
+
i0.ɵɵelementStart(3, "mat-icon", 7);
|
|
6799
|
+
i0.ɵɵtext(4, " store ");
|
|
6800
|
+
i0.ɵɵelementEnd();
|
|
6799
6801
|
i0.ɵɵelementEnd();
|
|
6800
6802
|
i0.ɵɵelementEnd();
|
|
6801
6803
|
} if (rf & 2) {
|
|
@@ -6804,81 +6806,6 @@ function MenuComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
6804
6806
|
i0.ɵɵadvance(1);
|
|
6805
6807
|
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 2, "APP.APPSTORE"));
|
|
6806
6808
|
} }
|
|
6807
|
-
function MenuComponent_mat_error_20_Template(rf, ctx) { if (rf & 1) {
|
|
6808
|
-
i0.ɵɵelementStart(0, "mat-error");
|
|
6809
|
-
i0.ɵɵtext(1);
|
|
6810
|
-
i0.ɵɵpipe(2, "translate");
|
|
6811
|
-
i0.ɵɵelementEnd();
|
|
6812
|
-
} if (rf & 2) {
|
|
6813
|
-
i0.ɵɵadvance(1);
|
|
6814
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.DASHBOARDNAMEREQUIRED"), " ");
|
|
6815
|
-
} }
|
|
6816
|
-
function MenuComponent_mat_error_21_Template(rf, ctx) { if (rf & 1) {
|
|
6817
|
-
i0.ɵɵelementStart(0, "mat-error");
|
|
6818
|
-
i0.ɵɵtext(1);
|
|
6819
|
-
i0.ɵɵpipe(2, "translate");
|
|
6820
|
-
i0.ɵɵelementEnd();
|
|
6821
|
-
} if (rf & 2) {
|
|
6822
|
-
i0.ɵɵadvance(1);
|
|
6823
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.DASHBOARDNAMELENGTHEXCEED"), " ");
|
|
6824
|
-
} }
|
|
6825
|
-
function MenuComponent_mat_error_25_Template(rf, ctx) { if (rf & 1) {
|
|
6826
|
-
i0.ɵɵelementStart(0, "mat-error");
|
|
6827
|
-
i0.ɵɵtext(1);
|
|
6828
|
-
i0.ɵɵpipe(2, "translate");
|
|
6829
|
-
i0.ɵɵelementEnd();
|
|
6830
|
-
} if (rf & 2) {
|
|
6831
|
-
i0.ɵɵadvance(1);
|
|
6832
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.CUSTOMAPPDESCRIPTIONMAXLENGTHERROR"), " ");
|
|
6833
|
-
} }
|
|
6834
|
-
function MenuComponent_mat_option_33_Template(rf, ctx) { if (rf & 1) {
|
|
6835
|
-
const _r26 = i0.ɵɵgetCurrentView();
|
|
6836
|
-
i0.ɵɵelementStart(0, "mat-option", 19, 20);
|
|
6837
|
-
i0.ɵɵlistener("click", function MenuComponent_mat_option_33_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r26); const _r24 = i0.ɵɵreference(1); const ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.toggleRolesPerOne(_r24.value); });
|
|
6838
|
-
i0.ɵɵtext(2);
|
|
6839
|
-
i0.ɵɵelementEnd();
|
|
6840
|
-
} if (rf & 2) {
|
|
6841
|
-
const roles_r23 = ctx.$implicit;
|
|
6842
|
-
i0.ɵɵproperty("value", roles_r23.roleId);
|
|
6843
|
-
i0.ɵɵadvance(2);
|
|
6844
|
-
i0.ɵɵtextInterpolate1(" ", roles_r23.roleName, " ");
|
|
6845
|
-
} }
|
|
6846
|
-
function MenuComponent_mat_error_34_Template(rf, ctx) { if (rf & 1) {
|
|
6847
|
-
i0.ɵɵelementStart(0, "mat-error");
|
|
6848
|
-
i0.ɵɵtext(1);
|
|
6849
|
-
i0.ɵɵpipe(2, "translate");
|
|
6850
|
-
i0.ɵɵelementEnd();
|
|
6851
|
-
} if (rf & 2) {
|
|
6852
|
-
i0.ɵɵadvance(1);
|
|
6853
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "APP.SELECTANYROLE"), " ");
|
|
6854
|
-
} }
|
|
6855
|
-
function MenuComponent_mat_option_42_Template(rf, ctx) { if (rf & 1) {
|
|
6856
|
-
const _r30 = i0.ɵɵgetCurrentView();
|
|
6857
|
-
i0.ɵɵelementStart(0, "mat-option", 19, 23);
|
|
6858
|
-
i0.ɵɵlistener("click", function MenuComponent_mat_option_42_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r30); const ctx_r29 = i0.ɵɵnextContext(); return ctx_r29.toggleEditRolesPerOne(); });
|
|
6859
|
-
i0.ɵɵtext(2);
|
|
6860
|
-
i0.ɵɵelementEnd();
|
|
6861
|
-
} if (rf & 2) {
|
|
6862
|
-
const role_r27 = ctx.$implicit;
|
|
6863
|
-
i0.ɵɵproperty("value", role_r27.roleId);
|
|
6864
|
-
i0.ɵɵadvance(2);
|
|
6865
|
-
i0.ɵɵtextInterpolate1(" ", role_r27.roleName, " ");
|
|
6866
|
-
} }
|
|
6867
|
-
function MenuComponent_mat_option_50_Template(rf, ctx) { if (rf & 1) {
|
|
6868
|
-
const _r34 = i0.ɵɵgetCurrentView();
|
|
6869
|
-
i0.ɵɵelementStart(0, "mat-option", 19, 25);
|
|
6870
|
-
i0.ɵɵlistener("click", function MenuComponent_mat_option_50_Template_mat_option_click_0_listener() { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(); return ctx_r33.toggleDeleteRolesPerOne(); });
|
|
6871
|
-
i0.ɵɵtext(2);
|
|
6872
|
-
i0.ɵɵelementEnd();
|
|
6873
|
-
} if (rf & 2) {
|
|
6874
|
-
const role_r31 = ctx.$implicit;
|
|
6875
|
-
i0.ɵɵproperty("value", role_r31.roleId);
|
|
6876
|
-
i0.ɵɵadvance(2);
|
|
6877
|
-
i0.ɵɵtextInterpolate1(" ", role_r31.roleName, " ");
|
|
6878
|
-
} }
|
|
6879
|
-
function MenuComponent_mat_progress_bar_53_Template(rf, ctx) { if (rf & 1) {
|
|
6880
|
-
i0.ɵɵelement(0, "mat-progress-bar", 34);
|
|
6881
|
-
} }
|
|
6882
6809
|
/** @dynamic */
|
|
6883
6810
|
class MenuComponent extends CustomAppBaseComponent {
|
|
6884
6811
|
constructor(store, cookieService, routes, toastr, translateService, authenticationService, route, dialog, rss, location, themeService, actionUpdates$, cdRef, window, googleAnalyticsService, commonService) {
|
|
@@ -9242,15 +9169,15 @@ class MenuComponent extends CustomAppBaseComponent {
|
|
|
9242
9169
|
MenuComponent.ɵfac = function MenuComponent_Factory(t) { return new (t || MenuComponent)(i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i6.ToastrService), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(AuthenticationService), i0.ɵɵdirectiveInject(i2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(RecentSearchService), i0.ɵɵdirectiveInject(i10.Location), i0.ɵɵdirectiveInject(ThemeService), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(WINDOW), i0.ɵɵdirectiveInject(GoogleAnalyticsService), i0.ɵɵdirectiveInject(CommonService)); };
|
|
9243
9170
|
MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent, selectors: [["app-menu"]], viewQuery: function MenuComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9244
9171
|
i0.ɵɵviewQuery(_c0$9, 5);
|
|
9245
|
-
i0.ɵɵviewQuery(_c1$
|
|
9172
|
+
i0.ɵɵviewQuery(_c1$3, 5);
|
|
9246
9173
|
i0.ɵɵviewQuery(_c2$1, 5);
|
|
9247
9174
|
i0.ɵɵviewQuery(_c3$1, 5);
|
|
9248
9175
|
i0.ɵɵviewQuery(_c4$1, 5);
|
|
9249
|
-
i0.ɵɵviewQuery(_c5
|
|
9250
|
-
i0.ɵɵviewQuery(_c6
|
|
9251
|
-
i0.ɵɵviewQuery(_c7
|
|
9252
|
-
i0.ɵɵviewQuery(_c8
|
|
9253
|
-
i0.ɵɵviewQuery(_c9
|
|
9176
|
+
i0.ɵɵviewQuery(_c5, 5);
|
|
9177
|
+
i0.ɵɵviewQuery(_c6, 5);
|
|
9178
|
+
i0.ɵɵviewQuery(_c7, 5);
|
|
9179
|
+
i0.ɵɵviewQuery(_c8, 5);
|
|
9180
|
+
i0.ɵɵviewQuery(_c9, 5);
|
|
9254
9181
|
} if (rf & 2) {
|
|
9255
9182
|
let _t;
|
|
9256
9183
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuTrigger = _t.first);
|
|
@@ -9265,7 +9192,7 @@ MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent
|
|
|
9265
9192
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.openMenuPopOver = _t);
|
|
9266
9193
|
} }, hostBindings: function MenuComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
9267
9194
|
i0.ɵɵlistener("keydown.control.q", function MenuComponent_keydown_control_q_HostBindingHandler() { return ctx.keyOpenEvent(); }, false, i0.ɵɵresolveDocument)("keydown.control.m", function MenuComponent_keydown_control_m_HostBindingHandler() { return ctx.keyCloseEvent(); }, false, i0.ɵɵresolveDocument)("keydown.control.b", function MenuComponent_keydown_control_b_HostBindingHandler() { return ctx.remoteSearchByText(); }, false, i0.ɵɵresolveDocument)("keydown.control.y", function MenuComponent_keydown_control_y_HostBindingHandler() { return ctx.remoteSearchById(); }, false, i0.ɵɵresolveDocument);
|
|
9268
|
-
} }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
9195
|
+
} }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 7, consts: [["type", "submit", "mat-icon-button", "", "fxHide.gt-xs", "", "fxShow", "", 1, "visibles", 3, "matMenuTriggerFor"], [1, "newMenu"], ["yPosition", "below", 1, "filter-panel", 2, "height", "auto", 3, "click"], ["menus", "matMenu"], [4, "ngFor", "ngForOf"], [1, "home-icon", "mat-icon-button", 2, "position", "relative", "left", "88%"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "mat-color-accent", "cursor-pointer", "theme-navbar-icon-color", 2, "width", "40px", "height", "40px", "display", "flex", "align-items", "center", "justify-content", "center", 3, "matTooltip", "routerLink"], [2, "font-size", "28px", "line-height", "1", "background", "linear-gradient(90deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], ["style", "position: relative; left:90%", "class", "store-icom mat-icon-button", 3, "ngClass", 4, "ngIf"], [4, "ngIf"], ["mat-menu-item", "", "routerLinkActive", "item-active", 3, "routerLink", "click"], [1, "store-icom", "mat-icon-button", 2, "position", "relative", "left", "90%", 3, "ngClass"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "mat-color-accent", "cursor-pointer", "theme-navbar-icon-color", 2, "width", "40px", "height", "40px", "display", "flex", "align-items", "center", "justify-content", "center", 3, "matTooltip", "click"]], template: function MenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9269
9196
|
i0.ɵɵelementStart(0, "button", 0);
|
|
9270
9197
|
i0.ɵɵelementStart(1, "mat-icon", 1);
|
|
9271
9198
|
i0.ɵɵtext(2, "menu");
|
|
@@ -9275,146 +9202,26 @@ MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent
|
|
|
9275
9202
|
i0.ɵɵlistener("click", function MenuComponent_Template_mat_menu_click_3_listener($event) { return $event.stopPropagation(); });
|
|
9276
9203
|
i0.ɵɵtemplate(5, MenuComponent_div_5_Template, 2, 1, "div", 4);
|
|
9277
9204
|
i0.ɵɵelementEnd();
|
|
9278
|
-
i0.ɵɵ
|
|
9279
|
-
i0.ɵɵelementStart(7, "
|
|
9280
|
-
i0.ɵɵ
|
|
9281
|
-
i0.ɵɵelementStart(
|
|
9282
|
-
i0.ɵɵ
|
|
9283
|
-
i0.ɵɵtext(12);
|
|
9284
|
-
i0.ɵɵpipe(13, "translate");
|
|
9285
|
-
i0.ɵɵelementEnd();
|
|
9286
|
-
i0.ɵɵelementEnd();
|
|
9287
|
-
i0.ɵɵelementStart(14, "mat-card-content");
|
|
9288
|
-
i0.ɵɵelementStart(15, "form", 11);
|
|
9289
|
-
i0.ɵɵlistener("submit", function MenuComponent_Template_form_submit_15_listener() { return ctx.workspaceForm.valid && ctx.upsertWorkspace(); });
|
|
9290
|
-
i0.ɵɵelementStart(16, "div", 12);
|
|
9291
|
-
i0.ɵɵelementStart(17, "mat-form-field", 13);
|
|
9292
|
-
i0.ɵɵelement(18, "input", 14);
|
|
9293
|
-
i0.ɵɵpipe(19, "translate");
|
|
9294
|
-
i0.ɵɵtemplate(20, MenuComponent_mat_error_20_Template, 3, 3, "mat-error", 15);
|
|
9295
|
-
i0.ɵɵtemplate(21, MenuComponent_mat_error_21_Template, 3, 3, "mat-error", 15);
|
|
9296
|
-
i0.ɵɵelementEnd();
|
|
9297
|
-
i0.ɵɵelementStart(22, "mat-form-field", 13);
|
|
9298
|
-
i0.ɵɵelement(23, "textarea", 16);
|
|
9299
|
-
i0.ɵɵpipe(24, "translate");
|
|
9300
|
-
i0.ɵɵtemplate(25, MenuComponent_mat_error_25_Template, 3, 3, "mat-error", 15);
|
|
9301
|
-
i0.ɵɵelementEnd();
|
|
9302
|
-
i0.ɵɵelementStart(26, "mat-form-field", 17);
|
|
9303
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_mat_form_field_click_26_listener($event) { return $event.stopPropagation(); });
|
|
9304
|
-
i0.ɵɵelementStart(27, "mat-select", 18);
|
|
9305
|
-
i0.ɵɵpipe(28, "translate");
|
|
9306
|
-
i0.ɵɵelementStart(29, "mat-option", 19, 20);
|
|
9307
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_29_listener() { return ctx.toggleAllRolesSelected(); });
|
|
9308
|
-
i0.ɵɵtext(31);
|
|
9309
|
-
i0.ɵɵpipe(32, "translate");
|
|
9310
|
-
i0.ɵɵelementEnd();
|
|
9311
|
-
i0.ɵɵtemplate(33, MenuComponent_mat_option_33_Template, 3, 2, "mat-option", 21);
|
|
9312
|
-
i0.ɵɵelementEnd();
|
|
9313
|
-
i0.ɵɵtemplate(34, MenuComponent_mat_error_34_Template, 3, 3, "mat-error", 15);
|
|
9314
|
-
i0.ɵɵelementEnd();
|
|
9315
|
-
i0.ɵɵelementStart(35, "mat-form-field", 13);
|
|
9316
|
-
i0.ɵɵelementStart(36, "mat-select", 22);
|
|
9317
|
-
i0.ɵɵpipe(37, "translate");
|
|
9318
|
-
i0.ɵɵelementStart(38, "mat-option", 19, 23);
|
|
9319
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_38_listener() { return ctx.toggleEditAllRolesSelected(); });
|
|
9320
|
-
i0.ɵɵtext(40);
|
|
9321
|
-
i0.ɵɵpipe(41, "translate");
|
|
9322
|
-
i0.ɵɵelementEnd();
|
|
9323
|
-
i0.ɵɵtemplate(42, MenuComponent_mat_option_42_Template, 3, 2, "mat-option", 21);
|
|
9324
|
-
i0.ɵɵelementEnd();
|
|
9325
|
-
i0.ɵɵelementEnd();
|
|
9326
|
-
i0.ɵɵelementStart(43, "mat-form-field", 13);
|
|
9327
|
-
i0.ɵɵelementStart(44, "mat-select", 24);
|
|
9328
|
-
i0.ɵɵpipe(45, "translate");
|
|
9329
|
-
i0.ɵɵelementStart(46, "mat-option", 19, 25);
|
|
9330
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_mat_option_click_46_listener() { return ctx.toggleDeleteAllRolesSelected(); });
|
|
9331
|
-
i0.ɵɵtext(48);
|
|
9332
|
-
i0.ɵɵpipe(49, "translate");
|
|
9333
|
-
i0.ɵɵelementEnd();
|
|
9334
|
-
i0.ɵɵtemplate(50, MenuComponent_mat_option_50_Template, 3, 2, "mat-option", 21);
|
|
9335
|
-
i0.ɵɵelementEnd();
|
|
9336
|
-
i0.ɵɵelementEnd();
|
|
9337
|
-
i0.ɵɵelementEnd();
|
|
9338
|
-
i0.ɵɵelementStart(51, "div", 9);
|
|
9339
|
-
i0.ɵɵelementStart(52, "button", 26);
|
|
9340
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_button_click_52_listener() { return ctx.upsertWorkspace(); });
|
|
9341
|
-
i0.ɵɵtemplate(53, MenuComponent_mat_progress_bar_53_Template, 1, 0, "mat-progress-bar", 27);
|
|
9342
|
-
i0.ɵɵelement(54, "fa-icon", 28);
|
|
9343
|
-
i0.ɵɵtext(55);
|
|
9344
|
-
i0.ɵɵpipe(56, "translate");
|
|
9345
|
-
i0.ɵɵelementEnd();
|
|
9346
|
-
i0.ɵɵelementStart(57, "button", 29);
|
|
9347
|
-
i0.ɵɵlistener("click", function MenuComponent_Template_button_click_57_listener() { return ctx.closeAddWorkspaceDialog(); });
|
|
9348
|
-
i0.ɵɵelement(58, "fa-icon", 30);
|
|
9349
|
-
i0.ɵɵtext(59);
|
|
9350
|
-
i0.ɵɵpipe(60, "translate");
|
|
9351
|
-
i0.ɵɵelementEnd();
|
|
9352
|
-
i0.ɵɵelementEnd();
|
|
9353
|
-
i0.ɵɵelementEnd();
|
|
9205
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
9206
|
+
i0.ɵɵelementStart(7, "button", 6);
|
|
9207
|
+
i0.ɵɵpipe(8, "translate");
|
|
9208
|
+
i0.ɵɵelementStart(9, "mat-icon", 7);
|
|
9209
|
+
i0.ɵɵtext(10, " home ");
|
|
9354
9210
|
i0.ɵɵelementEnd();
|
|
9355
9211
|
i0.ɵɵelementEnd();
|
|
9356
9212
|
i0.ɵɵelementEnd();
|
|
9213
|
+
i0.ɵɵtemplate(11, MenuComponent_div_11_Template, 5, 4, "div", 8);
|
|
9357
9214
|
} if (rf & 2) {
|
|
9358
9215
|
const _r0 = i0.ɵɵreference(4);
|
|
9359
9216
|
i0.ɵɵproperty("matMenuTriggerFor", _r0);
|
|
9360
9217
|
i0.ɵɵadvance(5);
|
|
9361
9218
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
9362
|
-
i0.ɵɵadvance(1);
|
|
9363
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_DragApps);
|
|
9364
|
-
i0.ɵɵadvance(1);
|
|
9365
|
-
i0.ɵɵproperty("interactiveClose", false);
|
|
9366
|
-
i0.ɵɵadvance(5);
|
|
9367
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 31, "APP.ADDDASHBOARDTITLE"), " ");
|
|
9368
|
-
i0.ɵɵadvance(3);
|
|
9369
|
-
i0.ɵɵproperty("formGroup", ctx.workspaceForm);
|
|
9370
|
-
i0.ɵɵadvance(3);
|
|
9371
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(19, 33, "HRMANAGAMENT.NAME"), "*");
|
|
9372
|
-
i0.ɵɵadvance(2);
|
|
9373
|
-
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("workspaceName").hasError("required") && ctx.workspaceForm.get("workspaceName").touched);
|
|
9374
|
-
i0.ɵɵadvance(1);
|
|
9375
|
-
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("workspaceName").hasError("maxlength"));
|
|
9376
|
-
i0.ɵɵadvance(2);
|
|
9377
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(24, 35, "COMPANYSETTINGS.DESCRIPTION"));
|
|
9378
|
-
i0.ɵɵadvance(2);
|
|
9379
|
-
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("description").hasError("maxlength") && ctx.workspaceForm.get("description").touched);
|
|
9380
|
-
i0.ɵɵadvance(2);
|
|
9381
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(28, 37, "WIDGETS.VIEWROLES"));
|
|
9382
|
-
i0.ɵɵproperty("compareWith", ctx.compareSelectedRolesFn);
|
|
9383
|
-
i0.ɵɵadvance(2);
|
|
9384
|
-
i0.ɵɵproperty("value", 0);
|
|
9385
|
-
i0.ɵɵadvance(2);
|
|
9386
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 39, "PERMISSIONMANAGEMENT.SELECTALL"), "");
|
|
9387
|
-
i0.ɵɵadvance(2);
|
|
9388
|
-
i0.ɵɵproperty("ngForOf", ctx.rolesDropDown);
|
|
9389
|
-
i0.ɵɵadvance(1);
|
|
9390
|
-
i0.ɵɵproperty("ngIf", ctx.workspaceForm.get("selectedRoles").hasError("required") && ctx.workspaceForm.get("selectedRoles").touched);
|
|
9391
|
-
i0.ɵɵadvance(2);
|
|
9392
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(37, 41, "WIDGETS.EDITROLES"));
|
|
9393
|
-
i0.ɵɵproperty("compareWith", ctx.compareEditSelectedRolesFn);
|
|
9394
9219
|
i0.ɵɵadvance(2);
|
|
9395
|
-
i0.ɵɵ
|
|
9396
|
-
i0.ɵɵ
|
|
9397
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 43, "PERMISSIONMANAGEMENT.SELECTALL"), "");
|
|
9398
|
-
i0.ɵɵadvance(2);
|
|
9399
|
-
i0.ɵɵproperty("ngForOf", ctx.rolesDropDown);
|
|
9400
|
-
i0.ɵɵadvance(2);
|
|
9401
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(45, 45, "WIDGETS.DELETEROLES"));
|
|
9402
|
-
i0.ɵɵproperty("compareWith", ctx.compareDeleteSelectedRolesFn);
|
|
9403
|
-
i0.ɵɵadvance(2);
|
|
9404
|
-
i0.ɵɵproperty("value", 0);
|
|
9405
|
-
i0.ɵɵadvance(2);
|
|
9406
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 47, "PERMISSIONMANAGEMENT.SELECTALL"), "");
|
|
9407
|
-
i0.ɵɵadvance(2);
|
|
9408
|
-
i0.ɵɵproperty("ngForOf", ctx.rolesDropDown);
|
|
9409
|
-
i0.ɵɵadvance(2);
|
|
9410
|
-
i0.ɵɵproperty("disabled", !ctx.workspaceForm.valid);
|
|
9411
|
-
i0.ɵɵadvance(1);
|
|
9412
|
-
i0.ɵɵproperty("ngIf", ctx.dashboardUpdateInProgress);
|
|
9413
|
-
i0.ɵɵadvance(2);
|
|
9414
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(56, 49, "SAVE"), " ");
|
|
9220
|
+
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(8, 5, "HOME"));
|
|
9221
|
+
i0.ɵɵproperty("routerLink", "/dashboard-management");
|
|
9415
9222
|
i0.ɵɵadvance(4);
|
|
9416
|
-
i0.ɵɵ
|
|
9417
|
-
} }, directives: [i8.MatButton,
|
|
9223
|
+
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_DragApps);
|
|
9224
|
+
} }, directives: [i8.MatButton, i4$1.DefaultShowHideDirective, i16.MatMenuTrigger, i17.MatIcon, i16.MatMenu, i10.NgForOf, i7$1.MatTooltip, i2.RouterLink, i10.NgIf, i16.MatMenuItem, i2.RouterLinkActive, i10.NgClass, i4$1.DefaultClassDirective], pipes: [i5$1.TranslatePipe, SoftLabelPipe], encapsulation: 2 });
|
|
9418
9225
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuComponent, [{
|
|
9419
9226
|
type: Component,
|
|
9420
9227
|
args: [{
|
|
@@ -9966,7 +9773,7 @@ NotificationsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Noti
|
|
|
9966
9773
|
i0.ɵɵproperty("ngIf", ctx.newNotifications.length == 0);
|
|
9967
9774
|
i0.ɵɵadvance(2);
|
|
9968
9775
|
i0.ɵɵproperty("ngIf", ctx.newNotifications.length);
|
|
9969
|
-
} }, directives: [i10.NgIf, i7$2.MatDivider, i10.NgForOf, i12.MatNavList, i12.MatListItem, i2.RouterLinkActive, i10.NgClass,
|
|
9776
|
+
} }, directives: [i10.NgIf, i7$2.MatDivider, i10.NgForOf, i12.MatNavList, i12.MatListItem, i2.RouterLinkActive, i10.NgClass, i4$1.DefaultClassDirective], pipes: [i5$1.TranslatePipe, OrderByPipe, SanitizeHtmlPipe, i16$1.TimeagoPipe, UtcToLocalTimePipe], encapsulation: 2 });
|
|
9970
9777
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationsComponent, [{
|
|
9971
9778
|
type: Component,
|
|
9972
9779
|
args: [{
|
|
@@ -9977,6 +9784,85 @@ NotificationsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Noti
|
|
|
9977
9784
|
type: Input
|
|
9978
9785
|
}] }); })();
|
|
9979
9786
|
|
|
9787
|
+
class FeedTimeComponent extends CustomAppBaseComponent {
|
|
9788
|
+
constructor(projectModulesService, compiler, vcr) {
|
|
9789
|
+
super();
|
|
9790
|
+
this.projectModulesService = projectModulesService;
|
|
9791
|
+
this.compiler = compiler;
|
|
9792
|
+
this.vcr = vcr;
|
|
9793
|
+
this.componentInputs = {
|
|
9794
|
+
isFeedTimeSheet: false
|
|
9795
|
+
};
|
|
9796
|
+
this.outputs = {
|
|
9797
|
+
closeFeedTimeSheetPopup: () => this.closeFeedTimeSheet()
|
|
9798
|
+
};
|
|
9799
|
+
this.closeFeedTimeSheetPopup = new EventEmitter();
|
|
9800
|
+
}
|
|
9801
|
+
set _isFeedTimeSheet(data) {
|
|
9802
|
+
if (data != undefined && data != null) {
|
|
9803
|
+
this.componentInputs = {
|
|
9804
|
+
isFeedTimeSheet: data
|
|
9805
|
+
};
|
|
9806
|
+
this.loadComponent();
|
|
9807
|
+
}
|
|
9808
|
+
}
|
|
9809
|
+
ngOnInit() {
|
|
9810
|
+
this.injector = this.vcr.injector;
|
|
9811
|
+
super.ngOnInit();
|
|
9812
|
+
}
|
|
9813
|
+
closeFeedTimeSheet() {
|
|
9814
|
+
this.closeFeedTimeSheetPopup.emit();
|
|
9815
|
+
}
|
|
9816
|
+
loadComponent() {
|
|
9817
|
+
// var modules = this.shellModulesService["modules"];
|
|
9818
|
+
var loader = this.projectModulesService["modules"];
|
|
9819
|
+
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
9820
|
+
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
9821
|
+
var path = loader[module.modulePackageName];
|
|
9822
|
+
path()
|
|
9823
|
+
.then(elementModuleOrFactory => {
|
|
9824
|
+
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
9825
|
+
// if ViewEngine
|
|
9826
|
+
return elementModuleOrFactory;
|
|
9827
|
+
}
|
|
9828
|
+
else {
|
|
9829
|
+
try {
|
|
9830
|
+
// if Ivy
|
|
9831
|
+
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
9832
|
+
}
|
|
9833
|
+
catch (err) {
|
|
9834
|
+
throw err;
|
|
9835
|
+
}
|
|
9836
|
+
}
|
|
9837
|
+
}).then((moduleFactory) => {
|
|
9838
|
+
const componentService = moduleFactory.moduleType.componentService;
|
|
9839
|
+
var allComponentsInModule = componentService.components;
|
|
9840
|
+
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
9841
|
+
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
9842
|
+
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
9843
|
+
});
|
|
9844
|
+
}
|
|
9845
|
+
}
|
|
9846
|
+
FeedTimeComponent.ɵfac = function FeedTimeComponent_Factory(t) { return new (t || FeedTimeComponent)(i0.ɵɵdirectiveInject(ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
9847
|
+
FeedTimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeComponent, selectors: [["app-feed-time"]], inputs: { _isFeedTimeSheet: ["isFeedTimeSheet", "_isFeedTimeSheet"] }, outputs: { closeFeedTimeSheetPopup: "closeFeedTimeSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9848
|
+
i0.ɵɵelement(0, "ndc-dynamic", 0);
|
|
9849
|
+
} if (rf & 2) {
|
|
9850
|
+
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
9851
|
+
} }, directives: [i2$1.DynamicComponent, i2$1.DynamicDirective], encapsulation: 2 });
|
|
9852
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeComponent, [{
|
|
9853
|
+
type: Component,
|
|
9854
|
+
args: [{
|
|
9855
|
+
selector: 'app-feed-time',
|
|
9856
|
+
templateUrl: 'feed-time.component.html',
|
|
9857
|
+
encapsulation: ViewEncapsulation.None,
|
|
9858
|
+
}]
|
|
9859
|
+
}], function () { return [{ type: ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }]; }, { _isFeedTimeSheet: [{
|
|
9860
|
+
type: Input,
|
|
9861
|
+
args: ["isFeedTimeSheet"]
|
|
9862
|
+
}], closeFeedTimeSheetPopup: [{
|
|
9863
|
+
type: Output
|
|
9864
|
+
}] }); })();
|
|
9865
|
+
|
|
9980
9866
|
class FeedBackSubmissionComponent extends CustomAppBaseComponent {
|
|
9981
9867
|
constructor(shellModulesService, vcr, projectModulesService, compiler) {
|
|
9982
9868
|
super();
|
|
@@ -10044,183 +9930,73 @@ FeedBackSubmissionComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
10044
9930
|
type: Output
|
|
10045
9931
|
}] }); })();
|
|
10046
9932
|
|
|
10047
|
-
class AnnoucementDialogComponent extends CustomAppBaseComponent {
|
|
10048
|
-
constructor(AppDialog, routes, data, dialog) {
|
|
10049
|
-
super();
|
|
10050
|
-
this.AppDialog = AppDialog;
|
|
10051
|
-
this.routes = routes;
|
|
10052
|
-
this.data = data;
|
|
10053
|
-
this.dialog = dialog;
|
|
10054
|
-
this.closeMatDialog = new EventEmitter();
|
|
10055
|
-
this.announcementId = data.announcementId;
|
|
10056
|
-
this.announcement = data.announcement;
|
|
10057
|
-
this.announcedBy = data.announcedBy;
|
|
10058
|
-
this.announcedById = data.announcedById;
|
|
10059
|
-
this.announcedOn = data.announcedOn;
|
|
10060
|
-
this.announcedByUserImage = data.announcedByUserImage;
|
|
10061
|
-
}
|
|
10062
|
-
set _data(data) {
|
|
10063
|
-
if (data && data !== undefined) {
|
|
10064
|
-
let annoucementData = data[0];
|
|
10065
|
-
if (annoucementData) {
|
|
10066
|
-
this.currentDialogId = annoucementData.dialogId;
|
|
10067
|
-
this.currentDialog = this.dialog.getDialogById(this.currentDialogId);
|
|
10068
|
-
this.announcementId = annoucementData.announcementId;
|
|
10069
|
-
this.announcement = annoucementData.announcement;
|
|
10070
|
-
this.announcedBy = annoucementData.announcedBy;
|
|
10071
|
-
this.announcedById = annoucementData.announcedById;
|
|
10072
|
-
this.announcedOn = annoucementData.announcedOn;
|
|
10073
|
-
this.announcedByUserImage = annoucementData.announcedByUserImage;
|
|
10074
|
-
}
|
|
10075
|
-
}
|
|
10076
|
-
}
|
|
10077
|
-
onNoClick() {
|
|
10078
|
-
this.closeMatDialog.emit("");
|
|
10079
|
-
this.currentDialog.close();
|
|
10080
|
-
}
|
|
10081
|
-
ngOnInit() {
|
|
10082
|
-
super.ngOnInit();
|
|
10083
|
-
}
|
|
10084
|
-
}
|
|
10085
|
-
AnnoucementDialogComponent.ɵfac = function AnnoucementDialogComponent_Factory(t) { return new (t || AnnoucementDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA), i0.ɵɵdirectiveInject(i1$3.MatDialog)); };
|
|
10086
|
-
AnnoucementDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AnnoucementDialogComponent, selectors: [["announcement-dialog"]], inputs: { _data: ["data", "_data"] }, outputs: { closeMatDialog: "closeMatDialog" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 19, consts: [[1, "custom-dialog"], ["mat-dialog-close", "", 1, "custom-close", 3, "click"], ["icon", "times", 1, "project-dialog"], ["mat-dialog-content", "", "id", "style-1", 1, "project-dialogContent"], [1, "p-0"], ["fxLayout", "row", 1, "announcement"], ["fxFlex", "", "fxLayout", "column"], ["fxFlex", "100px", "fxLayoutAlign", "space-around center"], ["matTooltipClass", "tooltipClass-mat", "size", "80", 3, "matTooltip", "name", "src", "isRound"], ["fxFlex", "", "fxLayoutAlign", "space-around center", 2, "text-align", "center"], [3, "innerHTML"], ["fxFlex", "20px", "fxLayoutAlign", "space-around center", 1, "mb-1"]], template: function AnnoucementDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10087
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
10088
|
-
i0.ɵɵelementStart(1, "div", 1);
|
|
10089
|
-
i0.ɵɵlistener("click", function AnnoucementDialogComponent_Template_div_click_1_listener() { return ctx.onNoClick(); });
|
|
10090
|
-
i0.ɵɵelement(2, "fa-icon", 2);
|
|
10091
|
-
i0.ɵɵelementEnd();
|
|
10092
|
-
i0.ɵɵelementEnd();
|
|
10093
|
-
i0.ɵɵelementStart(3, "div", 3);
|
|
10094
|
-
i0.ɵɵelementStart(4, "mat-card", 4);
|
|
10095
|
-
i0.ɵɵelementStart(5, "div", 5);
|
|
10096
|
-
i0.ɵɵelementStart(6, "div", 6);
|
|
10097
|
-
i0.ɵɵelementStart(7, "div", 7);
|
|
10098
|
-
i0.ɵɵelement(8, "app-avatar", 8);
|
|
10099
|
-
i0.ɵɵpipe(9, "removeSpecialCharacters");
|
|
10100
|
-
i0.ɵɵpipe(10, "fetchSizedAndCachedImage");
|
|
10101
|
-
i0.ɵɵelementEnd();
|
|
10102
|
-
i0.ɵɵelementStart(11, "div", 9);
|
|
10103
|
-
i0.ɵɵelement(12, "span", 10);
|
|
10104
|
-
i0.ɵɵpipe(13, "sanitizeHtml");
|
|
10105
|
-
i0.ɵɵelementEnd();
|
|
10106
|
-
i0.ɵɵelementStart(14, "div", 11);
|
|
10107
|
-
i0.ɵɵtext(15);
|
|
10108
|
-
i0.ɵɵpipe(16, "date");
|
|
10109
|
-
i0.ɵɵpipe(17, "utcToLocalTime");
|
|
10110
|
-
i0.ɵɵelementEnd();
|
|
10111
|
-
i0.ɵɵelementEnd();
|
|
10112
|
-
i0.ɵɵelementEnd();
|
|
10113
|
-
i0.ɵɵelementEnd();
|
|
10114
|
-
i0.ɵɵelementEnd();
|
|
10115
|
-
} if (rf & 2) {
|
|
10116
|
-
i0.ɵɵadvance(8);
|
|
10117
|
-
i0.ɵɵpropertyInterpolate("matTooltip", ctx.announcedBy);
|
|
10118
|
-
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(9, 6, ctx.announcedBy))("src", i0.ɵɵpipeBind3(10, 8, ctx.announcedByUserImage, "80", ""))("isRound", true);
|
|
10119
|
-
i0.ɵɵadvance(4);
|
|
10120
|
-
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(13, 12, ctx.announcement), i0.ɵɵsanitizeHtml);
|
|
10121
|
-
i0.ɵɵadvance(3);
|
|
10122
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(16, 14, i0.ɵɵpipeBind1(17, 17, ctx.announcedOn), "dd/MM/yyyy HH:mm"), " ");
|
|
10123
|
-
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCard, i30.DefaultLayoutDirective, i30.DefaultFlexDirective, i30.DefaultLayoutAlignDirective, i6$1.SnovasysAvatarComponent, i7$1.MatTooltip], pipes: [RemoveSpecialCharactersPipe, FetchSizedAndCachedImagePipe, SanitizeHtmlPipe, i10.DatePipe, UtcToLocalTimePipe], encapsulation: 2 });
|
|
10124
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnnoucementDialogComponent, [{
|
|
10125
|
-
type: Component,
|
|
10126
|
-
args: [{
|
|
10127
|
-
selector: "announcement-dialog",
|
|
10128
|
-
templateUrl: "./announcement-dialog.component.html"
|
|
10129
|
-
}]
|
|
10130
|
-
}], function () { return [{ type: i1$3.MatDialogRef }, { type: i2.Router }, { type: undefined, decorators: [{
|
|
10131
|
-
type: Inject,
|
|
10132
|
-
args: [MAT_DIALOG_DATA]
|
|
10133
|
-
}] }, { type: i1$3.MatDialog }]; }, { closeMatDialog: [{
|
|
10134
|
-
type: Output
|
|
10135
|
-
}], _data: [{
|
|
10136
|
-
type: Input,
|
|
10137
|
-
args: ["data"]
|
|
10138
|
-
}] }); })();
|
|
10139
|
-
|
|
10140
9933
|
const _c0$7 = ["feedTimeSheet"];
|
|
10141
|
-
const _c1$
|
|
9934
|
+
const _c1$2 = ["feedBackPopover"];
|
|
10142
9935
|
const _c2 = ["documentPopover"];
|
|
10143
9936
|
const _c3 = ["openAnnoucementDialogComponent"];
|
|
10144
9937
|
const _c4 = ["fileUploadDropzonePopup"];
|
|
10145
|
-
const _c5 = function (a0) { return { "margin-bottom": a0 }; };
|
|
10146
9938
|
function HeaderSideComponent_div_5_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
10147
|
-
i0.ɵɵelementStart(0, "div",
|
|
10148
|
-
i0.ɵɵ
|
|
10149
|
-
i0.ɵɵ
|
|
10150
|
-
i0.ɵɵpipe(3, "
|
|
10151
|
-
i0.ɵɵ
|
|
10152
|
-
i0.ɵɵ
|
|
10153
|
-
i0.ɵɵelementStart(5, "span", 61);
|
|
10154
|
-
i0.ɵɵtext(6);
|
|
9939
|
+
i0.ɵɵelementStart(0, "div", 30);
|
|
9940
|
+
i0.ɵɵelement(1, "app-avatar", 31);
|
|
9941
|
+
i0.ɵɵpipe(2, "removeSpecialCharacters");
|
|
9942
|
+
i0.ɵɵpipe(3, "fetchSizedAndCachedImage");
|
|
9943
|
+
i0.ɵɵelementStart(4, "span", 32);
|
|
9944
|
+
i0.ɵɵtext(5);
|
|
10155
9945
|
i0.ɵɵelementEnd();
|
|
10156
9946
|
i0.ɵɵelementEnd();
|
|
10157
9947
|
} if (rf & 2) {
|
|
10158
|
-
const
|
|
10159
|
-
i0.ɵɵadvance(1);
|
|
10160
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(13, _c5, ctx_r32.selectedCompany.companyMiniLogo ? "10px" : "0px"));
|
|
9948
|
+
const ctx_r12 = i0.ɵɵnextContext(2);
|
|
10161
9949
|
i0.ɵɵadvance(1);
|
|
10162
|
-
i0.ɵɵ
|
|
10163
|
-
i0.ɵɵ
|
|
10164
|
-
i0.ɵɵ
|
|
10165
|
-
i0.ɵɵpropertyInterpolate("matTooltip", ctx_r32.selectedCompany.companyName);
|
|
10166
|
-
i0.ɵɵadvance(1);
|
|
10167
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r32.selectedCompanyName, " ");
|
|
10168
|
-
} }
|
|
10169
|
-
function HeaderSideComponent_div_5_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
10170
|
-
i0.ɵɵelement(0, "span");
|
|
9950
|
+
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(2, 4, ctx_r12.selectedCompany.companyName))("src", i0.ɵɵpipeBind3(3, 6, ctx_r12.selectedCompany.companyMiniLogo, "20", ""))("isRound", true);
|
|
9951
|
+
i0.ɵɵadvance(4);
|
|
9952
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r12.selectedCompanyName, " ");
|
|
10171
9953
|
} }
|
|
10172
|
-
function
|
|
10173
|
-
const
|
|
10174
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
10175
|
-
i0.ɵɵlistener("click", function
|
|
10176
|
-
i0.ɵɵtext(1, "
|
|
9954
|
+
function HeaderSideComponent_div_5_mat_icon_8_Template(rf, ctx) { if (rf & 1) {
|
|
9955
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
9956
|
+
i0.ɵɵelementStart(0, "mat-icon", 33);
|
|
9957
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_5_mat_icon_8_Template_mat_icon_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return ctx_r15.closeSearch(); });
|
|
9958
|
+
i0.ɵɵtext(1, "close");
|
|
10177
9959
|
i0.ɵɵelementEnd();
|
|
10178
9960
|
} }
|
|
10179
|
-
function
|
|
10180
|
-
i0.ɵɵelementStart(0, "mat-option",
|
|
10181
|
-
i0.ɵɵelementStart(1, "div",
|
|
10182
|
-
i0.ɵɵelement(2, "app-avatar",
|
|
9961
|
+
function HeaderSideComponent_div_5_mat_option_9_Template(rf, ctx) { if (rf & 1) {
|
|
9962
|
+
i0.ɵɵelementStart(0, "mat-option", 34);
|
|
9963
|
+
i0.ɵɵelementStart(1, "div", 35);
|
|
9964
|
+
i0.ɵɵelement(2, "app-avatar", 36);
|
|
10183
9965
|
i0.ɵɵpipe(3, "removeSpecialCharacters");
|
|
10184
9966
|
i0.ɵɵpipe(4, "fetchSizedAndCachedImage");
|
|
10185
|
-
i0.ɵɵelementStart(5, "div",
|
|
9967
|
+
i0.ɵɵelementStart(5, "div", 37);
|
|
10186
9968
|
i0.ɵɵtext(6);
|
|
10187
9969
|
i0.ɵɵelementEnd();
|
|
10188
9970
|
i0.ɵɵelementEnd();
|
|
10189
9971
|
i0.ɵɵelementEnd();
|
|
10190
9972
|
} if (rf & 2) {
|
|
10191
|
-
const
|
|
10192
|
-
i0.ɵɵpropertyInterpolate("matTooltip",
|
|
10193
|
-
i0.ɵɵproperty("value",
|
|
9973
|
+
const companyList_r17 = ctx.$implicit;
|
|
9974
|
+
i0.ɵɵpropertyInterpolate("matTooltip", companyList_r17.companyName);
|
|
9975
|
+
i0.ɵɵproperty("value", companyList_r17);
|
|
10194
9976
|
i0.ɵɵadvance(2);
|
|
10195
|
-
i0.ɵɵ
|
|
10196
|
-
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(3, 8, companyList_r38.companyName))("ngStyle", i0.ɵɵpureFunction1(14, _c5, companyList_r38.companyMiniLogo ? "10px" : "0px"))("src", i0.ɵɵpipeBind3(4, 10, companyList_r38.companyMiniLogo, "20", ""))("isRound", true);
|
|
9977
|
+
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(3, 6, companyList_r17.companyName))("src", i0.ɵɵpipeBind3(4, 8, companyList_r17.companyMiniLogo, "20", ""))("isRound", true);
|
|
10197
9978
|
i0.ɵɵadvance(4);
|
|
10198
|
-
i0.ɵɵ
|
|
9979
|
+
i0.ɵɵtextInterpolate(companyList_r17.companyName);
|
|
10199
9980
|
} }
|
|
10200
9981
|
function HeaderSideComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
10201
|
-
const
|
|
10202
|
-
i0.ɵɵelementStart(0, "div",
|
|
9982
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
9983
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
10203
9984
|
i0.ɵɵlistener("click", function HeaderSideComponent_div_5_Template_div_click_0_listener($event) { return $event.stopPropagation(); });
|
|
10204
|
-
i0.ɵɵelementStart(1, "mat-select",
|
|
10205
|
-
i0.ɵɵlistener("ngModelChange", function HeaderSideComponent_div_5_Template_mat_select_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
9985
|
+
i0.ɵɵelementStart(1, "mat-select", 23);
|
|
9986
|
+
i0.ɵɵlistener("ngModelChange", function HeaderSideComponent_div_5_Template_mat_select_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.selectedCompany = $event; })("selectionChange", function HeaderSideComponent_div_5_Template_mat_select_selectionChange_1_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r21 = i0.ɵɵnextContext(); return ctx_r21.selectCompany($event.value); });
|
|
10206
9987
|
i0.ɵɵelementStart(2, "mat-select-trigger");
|
|
10207
|
-
i0.ɵɵtemplate(3, HeaderSideComponent_div_5_div_3_Template,
|
|
10208
|
-
i0.ɵɵelementEnd();
|
|
10209
|
-
i0.ɵɵelementStart(4, "div", 51);
|
|
10210
|
-
i0.ɵɵelementStart(5, "div", 52);
|
|
10211
|
-
i0.ɵɵelementStart(6, "mat-form-field", 53);
|
|
10212
|
-
i0.ɵɵelementStart(7, "input", 54);
|
|
10213
|
-
i0.ɵɵlistener("ngModelChange", function HeaderSideComponent_div_5_Template_input_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r41); const ctx_r43 = i0.ɵɵnextContext(); return ctx_r43.searchText = $event; });
|
|
10214
|
-
i0.ɵɵpipe(8, "translate");
|
|
10215
|
-
i0.ɵɵelementEnd();
|
|
9988
|
+
i0.ɵɵtemplate(3, HeaderSideComponent_div_5_div_3_Template, 6, 10, "div", 24);
|
|
10216
9989
|
i0.ɵɵelementEnd();
|
|
9990
|
+
i0.ɵɵelementStart(4, "div", 25);
|
|
9991
|
+
i0.ɵɵelementStart(5, "mat-form-field", 26);
|
|
9992
|
+
i0.ɵɵelementStart(6, "input", 27);
|
|
9993
|
+
i0.ɵɵlistener("ngModelChange", function HeaderSideComponent_div_5_Template_input_ngModelChange_6_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r22 = i0.ɵɵnextContext(); return ctx_r22.searchText = $event; });
|
|
9994
|
+
i0.ɵɵpipe(7, "translate");
|
|
10217
9995
|
i0.ɵɵelementEnd();
|
|
10218
|
-
i0.ɵɵelementStart(9, "span", 55);
|
|
10219
|
-
i0.ɵɵtemplate(10, HeaderSideComponent_div_5_span_10_Template, 1, 0, "span", 6);
|
|
10220
|
-
i0.ɵɵtemplate(11, HeaderSideComponent_div_5_mat_icon_11_Template, 2, 0, "mat-icon", 56);
|
|
10221
9996
|
i0.ɵɵelementEnd();
|
|
9997
|
+
i0.ɵɵtemplate(8, HeaderSideComponent_div_5_mat_icon_8_Template, 2, 0, "mat-icon", 28);
|
|
10222
9998
|
i0.ɵɵelementEnd();
|
|
10223
|
-
i0.ɵɵtemplate(
|
|
9999
|
+
i0.ɵɵtemplate(9, HeaderSideComponent_div_5_mat_option_9_Template, 7, 12, "mat-option", 29);
|
|
10224
10000
|
i0.ɵɵelementEnd();
|
|
10225
10001
|
i0.ɵɵelementEnd();
|
|
10226
10002
|
} if (rf & 2) {
|
|
@@ -10229,23 +10005,21 @@ function HeaderSideComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
10229
10005
|
i0.ɵɵproperty("ngModel", ctx_r0.selectedCompany);
|
|
10230
10006
|
i0.ɵɵadvance(2);
|
|
10231
10007
|
i0.ɵɵproperty("ngIf", ctx_r0.selectedCompany);
|
|
10232
|
-
i0.ɵɵadvance(4);
|
|
10233
|
-
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(8, 7, "HRMANAGAMENT.SEARCH"));
|
|
10234
|
-
i0.ɵɵproperty("ngModel", ctx_r0.searchText);
|
|
10235
10008
|
i0.ɵɵadvance(3);
|
|
10236
|
-
i0.ɵɵ
|
|
10237
|
-
i0.ɵɵ
|
|
10009
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(7, 6, "HRMANAGAMENT.SEARCH"));
|
|
10010
|
+
i0.ɵɵproperty("ngModel", ctx_r0.searchText);
|
|
10011
|
+
i0.ɵɵadvance(2);
|
|
10238
10012
|
i0.ɵɵproperty("ngIf", ctx_r0.searchText);
|
|
10239
10013
|
i0.ɵɵadvance(1);
|
|
10240
10014
|
i0.ɵɵproperty("ngForOf", ctx_r0.searchCompanies(ctx_r0.companiesList, ctx_r0.searchText));
|
|
10241
10015
|
} }
|
|
10242
10016
|
function HeaderSideComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
10243
|
-
const
|
|
10017
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
10244
10018
|
i0.ɵɵelementStart(0, "div");
|
|
10245
|
-
i0.ɵɵelementStart(1, "button",
|
|
10246
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_div_6_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
10019
|
+
i0.ɵɵelementStart(1, "button", 38);
|
|
10020
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_6_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r24); const ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.navigateToSettings(); });
|
|
10247
10021
|
i0.ɵɵpipe(2, "translate");
|
|
10248
|
-
i0.ɵɵelementStart(3, "mat-icon",
|
|
10022
|
+
i0.ɵɵelementStart(3, "mat-icon", 8);
|
|
10249
10023
|
i0.ɵɵtext(4, "settings");
|
|
10250
10024
|
i0.ɵɵelementEnd();
|
|
10251
10025
|
i0.ɵɵelementEnd();
|
|
@@ -10257,12 +10031,12 @@ function HeaderSideComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
10257
10031
|
i0.ɵɵproperty("ngClass", ctx_r1.router.url.includes("/settings") ? "icon_active_class" : "");
|
|
10258
10032
|
} }
|
|
10259
10033
|
function HeaderSideComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
10260
|
-
const
|
|
10034
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
10261
10035
|
i0.ɵɵelementStart(0, "div");
|
|
10262
|
-
i0.ɵɵelementStart(1, "button",
|
|
10263
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_div_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
10036
|
+
i0.ɵɵelementStart(1, "button", 39);
|
|
10037
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_div_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r26); const ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.navigateToStatusReport(); });
|
|
10264
10038
|
i0.ɵɵpipe(2, "translate");
|
|
10265
|
-
i0.ɵɵelementStart(3, "mat-icon",
|
|
10039
|
+
i0.ɵɵelementStart(3, "mat-icon", 8);
|
|
10266
10040
|
i0.ɵɵtext(4, "assignment");
|
|
10267
10041
|
i0.ɵɵelementEnd();
|
|
10268
10042
|
i0.ɵɵelementEnd();
|
|
@@ -10271,113 +10045,68 @@ function HeaderSideComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
10271
10045
|
i0.ɵɵadvance(1);
|
|
10272
10046
|
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 1, "SHELL.MYWORK"));
|
|
10273
10047
|
} }
|
|
10274
|
-
function
|
|
10275
|
-
i0.ɵɵelementStart(0, "span",
|
|
10048
|
+
function HeaderSideComponent_button_12_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
10049
|
+
i0.ɵɵelementStart(0, "span", 42);
|
|
10276
10050
|
i0.ɵɵtext(1);
|
|
10277
10051
|
i0.ɵɵelementEnd();
|
|
10278
10052
|
} if (rf & 2) {
|
|
10279
|
-
const
|
|
10053
|
+
const ctx_r27 = i0.ɵɵnextContext(2);
|
|
10280
10054
|
i0.ɵɵadvance(1);
|
|
10281
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
10055
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r27.newNotificationsCount, " ");
|
|
10282
10056
|
} }
|
|
10283
|
-
function
|
|
10284
|
-
const
|
|
10285
|
-
i0.ɵɵelementStart(0, "button",
|
|
10286
|
-
i0.ɵɵlistener("click", function
|
|
10057
|
+
function HeaderSideComponent_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
10058
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
10059
|
+
i0.ɵɵelementStart(0, "button", 40);
|
|
10060
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r29); const ctx_r28 = i0.ɵɵnextContext(); return ctx_r28.toggleNotific(); });
|
|
10287
10061
|
i0.ɵɵpipe(1, "translate");
|
|
10288
|
-
i0.ɵɵelementStart(2, "mat-icon",
|
|
10062
|
+
i0.ɵɵelementStart(2, "mat-icon", 8);
|
|
10289
10063
|
i0.ɵɵtext(3, "notifications");
|
|
10290
10064
|
i0.ɵɵelementEnd();
|
|
10291
|
-
i0.ɵɵtemplate(4,
|
|
10065
|
+
i0.ɵɵtemplate(4, HeaderSideComponent_button_12_span_4_Template, 2, 1, "span", 41);
|
|
10292
10066
|
i0.ɵɵelementEnd();
|
|
10293
10067
|
} if (rf & 2) {
|
|
10294
|
-
const
|
|
10295
|
-
const
|
|
10296
|
-
i0.ɵɵ
|
|
10297
|
-
i0.ɵɵ
|
|
10298
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r5);
|
|
10068
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
10069
|
+
const _r4 = i0.ɵɵreference(14);
|
|
10070
|
+
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(1, 3, "SHELL.NOTIFICATIONS"));
|
|
10071
|
+
i0.ɵɵproperty("matMenuTriggerFor", _r4);
|
|
10299
10072
|
i0.ɵɵadvance(4);
|
|
10300
|
-
i0.ɵɵproperty("ngIf",
|
|
10073
|
+
i0.ɵɵproperty("ngIf", ctx_r3.newNotificationsCount != 0);
|
|
10301
10074
|
} }
|
|
10302
|
-
function
|
|
10303
|
-
|
|
10304
|
-
i0.ɵɵ
|
|
10305
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_button_17_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r52); const ctx_r51 = i0.ɵɵnextContext(); return ctx_r51.toggleRecording(); });
|
|
10306
|
-
i0.ɵɵelementStart(1, "mat-icon", 73);
|
|
10307
|
-
i0.ɵɵtext(2, "person");
|
|
10308
|
-
i0.ɵɵelementEnd();
|
|
10309
|
-
i0.ɵɵelementEnd();
|
|
10075
|
+
function HeaderSideComponent_button_16_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
10076
|
+
i0.ɵɵelement(0, "img", 45);
|
|
10077
|
+
i0.ɵɵpipe(1, "fetchSizedAndCachedImage");
|
|
10310
10078
|
} if (rf & 2) {
|
|
10311
|
-
const
|
|
10312
|
-
|
|
10313
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r7)("ngClass", ctx_r6.router.url.includes("/dashboard/profile/") ? "icon_active_class" : "");
|
|
10314
|
-
} }
|
|
10315
|
-
function HeaderSideComponent_mat_icon_26_Template(rf, ctx) { if (rf & 1) {
|
|
10316
|
-
i0.ɵɵelement(0, "mat-icon", 74);
|
|
10079
|
+
const ctx_r30 = i0.ɵɵnextContext(2);
|
|
10080
|
+
i0.ɵɵproperty("src", i0.ɵɵpipeBind3(1, 1, ctx_r30.authenticatedUserRecord.profileImage, "60", ""), i0.ɵɵsanitizeUrl);
|
|
10317
10081
|
} }
|
|
10318
|
-
function
|
|
10319
|
-
|
|
10320
|
-
i0.ɵɵ
|
|
10321
|
-
i0.ɵɵ
|
|
10322
|
-
i0.ɵɵpipe(1, "translate");
|
|
10323
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
10324
|
-
i0.ɵɵtext(3, "delete");
|
|
10325
|
-
i0.ɵɵelementEnd();
|
|
10326
|
-
i0.ɵɵelementStart(4, "span");
|
|
10327
|
-
i0.ɵɵtext(5);
|
|
10328
|
-
i0.ɵɵpipe(6, "translate");
|
|
10329
|
-
i0.ɵɵelementEnd();
|
|
10082
|
+
function HeaderSideComponent_button_16_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
10083
|
+
i0.ɵɵelementStart(0, "div");
|
|
10084
|
+
i0.ɵɵelement(1, "app-avatar", 46);
|
|
10085
|
+
i0.ɵɵpipe(2, "removeSpecialCharacters");
|
|
10330
10086
|
i0.ɵɵelementEnd();
|
|
10331
10087
|
} if (rf & 2) {
|
|
10332
|
-
i0.ɵɵ
|
|
10333
|
-
i0.ɵɵ
|
|
10334
|
-
i0.ɵɵ
|
|
10335
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6, "SHELL.CLEARDEMODATA"));
|
|
10088
|
+
const ctx_r31 = i0.ɵɵnextContext(2);
|
|
10089
|
+
i0.ɵɵadvance(1);
|
|
10090
|
+
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(2, 2, ctx_r31.authenticatedUserRecord.fullName))("isRound", true);
|
|
10336
10091
|
} }
|
|
10337
|
-
function
|
|
10338
|
-
|
|
10339
|
-
i0.ɵɵ
|
|
10340
|
-
i0.ɵɵ
|
|
10341
|
-
i0.ɵɵpipe(1, "translate");
|
|
10342
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
10343
|
-
i0.ɵɵtext(3, "get_app");
|
|
10344
|
-
i0.ɵɵelementEnd();
|
|
10345
|
-
i0.ɵɵelementStart(4, "span");
|
|
10346
|
-
i0.ɵɵtext(5);
|
|
10347
|
-
i0.ɵɵpipe(6, "translate");
|
|
10348
|
-
i0.ɵɵelementEnd();
|
|
10092
|
+
function HeaderSideComponent_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
10093
|
+
i0.ɵɵelementStart(0, "button", 43);
|
|
10094
|
+
i0.ɵɵtemplate(1, HeaderSideComponent_button_16_img_1_Template, 2, 5, "img", 44);
|
|
10095
|
+
i0.ɵɵtemplate(2, HeaderSideComponent_button_16_div_2_Template, 3, 4, "div", 6);
|
|
10349
10096
|
i0.ɵɵelementEnd();
|
|
10350
10097
|
} if (rf & 2) {
|
|
10351
|
-
i0.ɵɵ
|
|
10352
|
-
|
|
10353
|
-
i0.ɵɵ
|
|
10354
|
-
i0.ɵɵ
|
|
10098
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
10099
|
+
const _r7 = i0.ɵɵreference(21);
|
|
10100
|
+
i0.ɵɵproperty("matMenuTriggerFor", _r7);
|
|
10101
|
+
i0.ɵɵadvance(1);
|
|
10102
|
+
i0.ɵɵproperty("ngIf", ctx_r5.authenticatedUserRecord.profileImage);
|
|
10103
|
+
i0.ɵɵadvance(1);
|
|
10104
|
+
i0.ɵɵproperty("ngIf", !ctx_r5.authenticatedUserRecord.profileImage);
|
|
10355
10105
|
} }
|
|
10356
|
-
function
|
|
10357
|
-
const
|
|
10358
|
-
i0.ɵɵelementStart(0, "button",
|
|
10359
|
-
i0.ɵɵlistener("click", function
|
|
10360
|
-
i0.ɵɵpipe(2, "translate");
|
|
10361
|
-
i0.ɵɵelementStart(3, "mat-icon");
|
|
10362
|
-
i0.ɵɵtext(4, "publish");
|
|
10363
|
-
i0.ɵɵelementEnd();
|
|
10364
|
-
i0.ɵɵelementStart(5, "span");
|
|
10365
|
-
i0.ɵɵtext(6);
|
|
10366
|
-
i0.ɵɵpipe(7, "translate");
|
|
10367
|
-
i0.ɵɵelementEnd();
|
|
10368
|
-
i0.ɵɵelementEnd();
|
|
10369
|
-
} if (rf & 2) {
|
|
10370
|
-
i0.ɵɵnextContext();
|
|
10371
|
-
const _r24 = i0.ɵɵreference(59);
|
|
10372
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(2, 3, "SHELL.IMPORTCONFIGURATION"));
|
|
10373
|
-
i0.ɵɵproperty("satPopoverAnchorFor", _r24);
|
|
10374
|
-
i0.ɵɵadvance(6);
|
|
10375
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 5, "SHELL.IMPORTCONFIGURATION"));
|
|
10376
|
-
} }
|
|
10377
|
-
function HeaderSideComponent_button_30_Template(rf, ctx) { if (rf & 1) {
|
|
10378
|
-
const _r61 = i0.ɵɵgetCurrentView();
|
|
10379
|
-
i0.ɵɵelementStart(0, "button", 14);
|
|
10380
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_button_30_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r61); const ctx_r60 = i0.ɵɵnextContext(); return ctx_r60.onNavigateToBillingScreen(); });
|
|
10106
|
+
function HeaderSideComponent_button_28_Template(rf, ctx) { if (rf & 1) {
|
|
10107
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
10108
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
10109
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_28_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.onNavigateToBillingScreen(); });
|
|
10381
10110
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
10382
10111
|
i0.ɵɵtext(2, "account_balance");
|
|
10383
10112
|
i0.ɵɵelementEnd();
|
|
@@ -10386,10 +10115,10 @@ function HeaderSideComponent_button_30_Template(rf, ctx) { if (rf & 1) {
|
|
|
10386
10115
|
i0.ɵɵelementEnd();
|
|
10387
10116
|
i0.ɵɵelementEnd();
|
|
10388
10117
|
} }
|
|
10389
|
-
function
|
|
10390
|
-
const
|
|
10391
|
-
i0.ɵɵelementStart(0, "button",
|
|
10392
|
-
i0.ɵɵlistener("click", function
|
|
10118
|
+
function HeaderSideComponent_button_29_Template(rf, ctx) { if (rf & 1) {
|
|
10119
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
10120
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
10121
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_button_29_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r35); const ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.onNavigateToPricingScreen(); });
|
|
10393
10122
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
10394
10123
|
i0.ɵɵtext(2, "account_balance_wallet");
|
|
10395
10124
|
i0.ɵɵelementEnd();
|
|
@@ -10398,184 +10127,11 @@ function HeaderSideComponent_button_31_Template(rf, ctx) { if (rf & 1) {
|
|
|
10398
10127
|
i0.ɵɵelementEnd();
|
|
10399
10128
|
i0.ɵɵelementEnd();
|
|
10400
10129
|
} }
|
|
10401
|
-
function
|
|
10402
|
-
const
|
|
10403
|
-
i0.ɵɵelementStart(0, "
|
|
10404
|
-
i0.ɵɵlistener("
|
|
10405
|
-
i0.ɵɵpipe(1, "translate");
|
|
10406
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
10407
|
-
i0.ɵɵtext(3, "how_to_reg");
|
|
10408
|
-
i0.ɵɵelementEnd();
|
|
10409
|
-
i0.ɵɵelementStart(4, "span");
|
|
10410
|
-
i0.ɵɵtext(5);
|
|
10411
|
-
i0.ɵɵpipe(6, "translate");
|
|
10412
|
-
i0.ɵɵelementEnd();
|
|
10413
|
-
i0.ɵɵelementEnd();
|
|
10414
|
-
} if (rf & 2) {
|
|
10415
|
-
i0.ɵɵstyleProp("overflow", "visible");
|
|
10416
|
-
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(1, 4, "SHELL.SIGNINAS"));
|
|
10417
|
-
i0.ɵɵadvance(5);
|
|
10418
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 6, "SHELL.SIGNINAS"));
|
|
10419
|
-
} }
|
|
10420
|
-
function HeaderSideComponent_div_45_Template(rf, ctx) { if (rf & 1) {
|
|
10421
|
-
i0.ɵɵelement(0, "div", 78);
|
|
10422
|
-
} }
|
|
10423
|
-
function HeaderSideComponent_app_submit_feedback_48_Template(rf, ctx) { if (rf & 1) {
|
|
10424
|
-
const _r67 = i0.ɵɵgetCurrentView();
|
|
10425
|
-
i0.ɵɵelementStart(0, "app-submit-feedback", 79);
|
|
10426
|
-
i0.ɵɵlistener("closeDialog", function HeaderSideComponent_app_submit_feedback_48_Template_app_submit_feedback_closeDialog_0_listener() { i0.ɵɵrestoreView(_r67); const ctx_r66 = i0.ɵɵnextContext(); return ctx_r66.closeFeedBacklogDialog(); });
|
|
10427
|
-
i0.ɵɵelementEnd();
|
|
10428
|
-
} }
|
|
10429
|
-
const _c6 = function () { return ["/applications/view-forms"]; };
|
|
10430
|
-
function HeaderSideComponent_mat_card_53_Template(rf, ctx) { if (rf & 1) {
|
|
10431
|
-
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10432
|
-
i0.ɵɵelementStart(1, "span", 81);
|
|
10433
|
-
i0.ɵɵtext(2, "Forms");
|
|
10434
|
-
i0.ɵɵelementEnd();
|
|
10435
|
-
i0.ɵɵelementEnd();
|
|
10436
|
-
} if (rf & 2) {
|
|
10437
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(1, _c6));
|
|
10438
|
-
} }
|
|
10439
|
-
const _c7 = function () { return ["/applications/custom-applications"]; };
|
|
10440
|
-
function HeaderSideComponent_mat_card_54_Template(rf, ctx) { if (rf & 1) {
|
|
10441
|
-
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10442
|
-
i0.ɵɵelementStart(1, "span", 81);
|
|
10443
|
-
i0.ɵɵtext(2, "Custom applications");
|
|
10444
|
-
i0.ɵɵelementEnd();
|
|
10445
|
-
i0.ɵɵelementEnd();
|
|
10446
|
-
} if (rf & 2) {
|
|
10447
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(1, _c7));
|
|
10448
|
-
} }
|
|
10449
|
-
const _c8 = function () { return ["/rolemanagement/rolemanagement"]; };
|
|
10450
|
-
function HeaderSideComponent_mat_card_55_Template(rf, ctx) { if (rf & 1) {
|
|
10451
|
-
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10452
|
-
i0.ɵɵelementStart(1, "span", 81);
|
|
10453
|
-
i0.ɵɵtext(2, "Role configuration");
|
|
10454
|
-
i0.ɵɵelementEnd();
|
|
10455
|
-
i0.ɵɵelementEnd();
|
|
10456
|
-
} if (rf & 2) {
|
|
10457
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(1, _c8));
|
|
10458
|
-
} }
|
|
10459
|
-
const _c9 = function () { return ["/rolemanagement/entityrolemanagement"]; };
|
|
10460
|
-
function HeaderSideComponent_mat_card_56_Template(rf, ctx) { if (rf & 1) {
|
|
10461
|
-
i0.ɵɵelementStart(0, "mat-card", 80);
|
|
10462
|
-
i0.ɵɵelementStart(1, "span", 81);
|
|
10463
|
-
i0.ɵɵtext(2);
|
|
10464
|
-
i0.ɵɵpipe(3, "softLabelsPipe");
|
|
10465
|
-
i0.ɵɵelementEnd();
|
|
10466
|
-
i0.ɵɵelementEnd();
|
|
10467
|
-
} if (rf & 2) {
|
|
10468
|
-
const ctx_r22 = i0.ɵɵnextContext();
|
|
10469
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(5, _c9));
|
|
10470
|
-
i0.ɵɵadvance(2);
|
|
10471
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 2, ctx_r22.projectRoleText, ctx_r22.softLabels), " ");
|
|
10472
|
-
} }
|
|
10473
|
-
function HeaderSideComponent_div_57_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
10474
|
-
i0.ɵɵelementStart(0, "span");
|
|
10475
|
-
i0.ɵɵtext(1, "Welcome \u00A0 ");
|
|
10476
|
-
i0.ɵɵelementEnd();
|
|
10477
|
-
} }
|
|
10478
|
-
function HeaderSideComponent_div_57_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
10479
|
-
i0.ɵɵtext(0, " Welcome back \u00A0");
|
|
10480
|
-
} }
|
|
10481
|
-
function HeaderSideComponent_div_57_Template(rf, ctx) { if (rf & 1) {
|
|
10482
|
-
i0.ɵɵelementStart(0, "div", 82);
|
|
10483
|
-
i0.ɵɵtemplate(1, HeaderSideComponent_div_57_span_1_Template, 2, 0, "span", 83);
|
|
10484
|
-
i0.ɵɵelementStart(2, "span");
|
|
10485
|
-
i0.ɵɵtext(3);
|
|
10486
|
-
i0.ɵɵelementEnd();
|
|
10487
|
-
i0.ɵɵtemplate(4, HeaderSideComponent_div_57_ng_template_4_Template, 1, 0, "ng-template", null, 84, i0.ɵɵtemplateRefExtractor);
|
|
10488
|
-
i0.ɵɵelementEnd();
|
|
10489
|
-
} if (rf & 2) {
|
|
10490
|
-
const _r69 = i0.ɵɵreference(5);
|
|
10491
|
-
const ctx_r23 = i0.ɵɵnextContext();
|
|
10492
|
-
i0.ɵɵproperty("@fade", undefined);
|
|
10493
|
-
i0.ɵɵadvance(1);
|
|
10494
|
-
i0.ɵɵproperty("ngIf", ctx_r23.loggedInCount == 1)("ngIfElse", _r69);
|
|
10495
|
-
i0.ɵɵadvance(2);
|
|
10496
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r23.userFullName, " ");
|
|
10497
|
-
} }
|
|
10498
|
-
function HeaderSideComponent_ngx_dropzone_preview_75_Template(rf, ctx) { if (rf & 1) {
|
|
10499
|
-
const _r73 = i0.ɵɵgetCurrentView();
|
|
10500
|
-
i0.ɵɵelementStart(0, "ngx-dropzone-preview", 85);
|
|
10501
|
-
i0.ɵɵlistener("removed", function HeaderSideComponent_ngx_dropzone_preview_75_Template_ngx_dropzone_preview_removed_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r73); const f_r71 = restoredCtx.$implicit; const ctx_r72 = i0.ɵɵnextContext(); return ctx_r72.onRemove(f_r71); });
|
|
10502
|
-
i0.ɵɵelementStart(1, "ngx-dropzone-label", 86);
|
|
10503
|
-
i0.ɵɵtext(2);
|
|
10504
|
-
i0.ɵɵelementEnd();
|
|
10505
|
-
i0.ɵɵelementEnd();
|
|
10506
|
-
} if (rf & 2) {
|
|
10507
|
-
const f_r71 = ctx.$implicit;
|
|
10508
|
-
const ctx_r25 = i0.ɵɵnextContext();
|
|
10509
|
-
i0.ɵɵproperty("removable", true);
|
|
10510
|
-
i0.ɵɵadvance(1);
|
|
10511
|
-
i0.ɵɵattribute("data-tip", f_r71.name);
|
|
10512
|
-
i0.ɵɵadvance(1);
|
|
10513
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r25.setLabelNameForDropzone(f_r71.name), " ");
|
|
10514
|
-
} }
|
|
10515
|
-
function HeaderSideComponent_mat_progress_bar_79_Template(rf, ctx) { if (rf & 1) {
|
|
10516
|
-
i0.ɵɵelement(0, "mat-progress-bar", 87);
|
|
10517
|
-
} if (rf & 2) {
|
|
10518
|
-
const ctx_r26 = i0.ɵɵnextContext();
|
|
10519
|
-
i0.ɵɵproperty("value", ctx_r26.progressValue);
|
|
10520
|
-
} }
|
|
10521
|
-
function HeaderSideComponent_div_80_Template(rf, ctx) { if (rf & 1) {
|
|
10522
|
-
i0.ɵɵelementStart(0, "div", 88);
|
|
10523
|
-
i0.ɵɵtext(1);
|
|
10524
|
-
i0.ɵɵelementEnd();
|
|
10525
|
-
} if (rf & 2) {
|
|
10526
|
-
const ctx_r27 = i0.ɵɵnextContext();
|
|
10527
|
-
i0.ɵɵadvance(1);
|
|
10528
|
-
i0.ɵɵtextInterpolate3(" ", ctx_r27.progressValue, "% completed (Uploading ", ctx_r27.fileCounter, " of ", ctx_r27.files.length, " files) ");
|
|
10529
|
-
} }
|
|
10530
|
-
function HeaderSideComponent_div_81_Template(rf, ctx) { if (rf & 1) {
|
|
10531
|
-
const _r75 = i0.ɵɵgetCurrentView();
|
|
10532
|
-
i0.ɵɵelementStart(0, "div", 89);
|
|
10533
|
-
i0.ɵɵelementStart(1, "button", 90);
|
|
10534
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_div_81_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r75); const ctx_r74 = i0.ɵɵnextContext(); return ctx_r74.saveFiles(); });
|
|
10535
|
-
i0.ɵɵelement(2, "fa-icon", 91);
|
|
10536
|
-
i0.ɵɵtext(3);
|
|
10537
|
-
i0.ɵɵpipe(4, "translate");
|
|
10538
|
-
i0.ɵɵelementEnd();
|
|
10539
|
-
i0.ɵɵelementStart(5, "button", 92);
|
|
10540
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_div_81_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r75); const ctx_r76 = i0.ɵɵnextContext(); return ctx_r76.removeAllFiles(); });
|
|
10541
|
-
i0.ɵɵelement(6, "fa-icon", 93);
|
|
10542
|
-
i0.ɵɵtext(7);
|
|
10543
|
-
i0.ɵɵpipe(8, "translate");
|
|
10544
|
-
i0.ɵɵelementEnd();
|
|
10545
|
-
i0.ɵɵelementEnd();
|
|
10546
|
-
} if (rf & 2) {
|
|
10547
|
-
i0.ɵɵadvance(3);
|
|
10548
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 2, "UPLOAD"), " ");
|
|
10549
|
-
i0.ɵɵadvance(4);
|
|
10550
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(8, 4, "DOCUMENTMANAGEMENT.CLEARFILES"), " ");
|
|
10551
|
-
} }
|
|
10552
|
-
function HeaderSideComponent_div_82_i_5_Template(rf, ctx) { if (rf & 1) {
|
|
10553
|
-
i0.ɵɵelement(0, "i", 98);
|
|
10554
|
-
} }
|
|
10555
|
-
function HeaderSideComponent_div_82_Template(rf, ctx) { if (rf & 1) {
|
|
10556
|
-
i0.ɵɵelementStart(0, "div", 94);
|
|
10557
|
-
i0.ɵɵelementStart(1, "button", 95);
|
|
10558
|
-
i0.ɵɵelement(2, "fa-icon", 96);
|
|
10559
|
-
i0.ɵɵtext(3);
|
|
10560
|
-
i0.ɵɵpipe(4, "translate");
|
|
10561
|
-
i0.ɵɵtemplate(5, HeaderSideComponent_div_82_i_5_Template, 1, 0, "i", 97);
|
|
10562
|
-
i0.ɵɵelementEnd();
|
|
10130
|
+
function HeaderSideComponent_app_submit_feedback_44_Template(rf, ctx) { if (rf & 1) {
|
|
10131
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
10132
|
+
i0.ɵɵelementStart(0, "app-submit-feedback", 47);
|
|
10133
|
+
i0.ɵɵlistener("closeDialog", function HeaderSideComponent_app_submit_feedback_44_Template_app_submit_feedback_closeDialog_0_listener() { i0.ɵɵrestoreView(_r37); const ctx_r36 = i0.ɵɵnextContext(); return ctx_r36.closeFeedBacklogDialog(); });
|
|
10563
10134
|
i0.ɵɵelementEnd();
|
|
10564
|
-
} if (rf & 2) {
|
|
10565
|
-
const ctx_r29 = i0.ɵɵnextContext();
|
|
10566
|
-
i0.ɵɵadvance(1);
|
|
10567
|
-
i0.ɵɵproperty("disabled", true);
|
|
10568
|
-
i0.ɵɵadvance(2);
|
|
10569
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 3, "SHELL.IMPORTINGTEXT"), " ");
|
|
10570
|
-
i0.ɵɵadvance(2);
|
|
10571
|
-
i0.ɵɵproperty("ngIf", ctx_r29.importingInProgress);
|
|
10572
|
-
} }
|
|
10573
|
-
const _c10 = function (a0) { return [a0]; };
|
|
10574
|
-
function HeaderSideComponent_ng_template_83_Template(rf, ctx) { if (rf & 1) {
|
|
10575
|
-
i0.ɵɵelement(0, "announcement-dialog", 99);
|
|
10576
|
-
} if (rf & 2) {
|
|
10577
|
-
const data_r78 = ctx.$implicit;
|
|
10578
|
-
i0.ɵɵproperty("data", i0.ɵɵpureFunction1(1, _c10, data_r78));
|
|
10579
10135
|
} }
|
|
10580
10136
|
/** @dynamic */
|
|
10581
10137
|
class HeaderSideComponent extends CustomAppBaseComponent {
|
|
@@ -12072,10 +11628,10 @@ class HeaderSideComponent extends CustomAppBaseComponent {
|
|
|
12072
11628
|
});
|
|
12073
11629
|
}
|
|
12074
11630
|
}
|
|
12075
|
-
HeaderSideComponent.ɵfac = function HeaderSideComponent_Factory(t) { return new (t || HeaderSideComponent)(i0.ɵɵdirectiveInject(i1$
|
|
11631
|
+
HeaderSideComponent.ɵfac = function HeaderSideComponent_Factory(t) { return new (t || HeaderSideComponent)(i0.ɵɵdirectiveInject(i1$5.PushNotificationsService), i0.ɵɵdirectiveInject(ThemeService), i0.ɵɵdirectiveInject(i3$1.NgxUiLoaderService), i0.ɵɵdirectiveInject(LayoutService), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i2$2.PubNubAngular), i0.ɵɵdirectiveInject(AuthenticationService), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i6.ToastrService), i0.ɵɵdirectiveInject(i15.StoreManagementService), i0.ɵɵdirectiveInject(ShellModulesService), i0.ɵɵdirectiveInject(ChatService), i0.ɵɵdirectiveInject(SignalrService), i0.ɵɵdirectiveInject(WINDOW)); };
|
|
12076
11632
|
HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderSideComponent, selectors: [["app-header-side"]], viewQuery: function HeaderSideComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12077
11633
|
i0.ɵɵviewQuery(_c0$7, 5);
|
|
12078
|
-
i0.ɵɵviewQuery(_c1$
|
|
11634
|
+
i0.ɵɵviewQuery(_c1$2, 5);
|
|
12079
11635
|
i0.ɵɵviewQuery(_c2, 5);
|
|
12080
11636
|
i0.ɵɵviewQuery(_c3, 5);
|
|
12081
11637
|
i0.ɵɵviewQuery(_c4, 5);
|
|
@@ -12086,203 +11642,114 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
12086
11642
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.documentPopover = _t.first);
|
|
12087
11643
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.openAnnoucementDialogComponent = _t.first);
|
|
12088
11644
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileUploadDropzonePopup = _t);
|
|
12089
|
-
} }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
12090
|
-
const
|
|
12091
|
-
i0.ɵɵelementStart(0, "
|
|
11645
|
+
} }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 45, vars: 26, consts: [[1, "topbar", "remove-padding", 2, "background", "#ffffff !important", "border-bottom", "1px solid #e5e7eb", "height", "65px", "padding", "0 20px", "z-index", "1200", "position", "relative"], ["fxFlex", ""], [3, "reload", "isOpened", "openNewDashboard"], ["fxFlex", "", "fxLayout", "row", "fxHide.xs", "", "fxLayoutAlign", "center"], ["fxFlex", "", "fxLayout", "row", "fxLayoutAlign", "end center", 2, "gap", "10px"], ["class", "filter-data custom-box language-section", "style", "width:180px; position:relative;", 3, "click", 4, "ngIf"], [4, "ngIf"], ["mat-icon-button", "", "id", "feedTimeSheetComponent", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "satPopoverAnchorFor", "click"], [2, "background", "linear-gradient(90deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent"], ["mat-icon-button", "", "style", "position:relative; background:rgba(255,255,255,0.6); border-radius:10px;", 3, "matTooltip", "matMenuTriggerFor", "click", 4, "ngIf"], ["notification", "matMenu"], ["mat-icon-button", "", "style", "width:32px; height:32px; background:rgba(255,255,255,0.6);\n border-radius:50%; border:1px solid #e5e7eb;\n display:flex; align-items:center; justify-content:center; overflow:hidden;", 3, "matMenuTriggerFor", 4, "ngIf"], ["hasBackdrop", "", "scrollStrategy", "reposition", "verticalAlign", "below", "horizontalAlign", "before", 3, "autoFocus", "restoreFocus", "interactiveClose"], ["feedTimeSheet", ""], [3, "isFeedTimeSheet", "closeFeedTimeSheetPopup"], ["accountMenu", "matMenu"], ["mat-menu-item", "", 3, "click"], ["mat-menu-item", "", 3, "click", 4, "ngIf"], [1, "feedback-icon", 3, "satPopoverAnchorFor"], ["verticalAlign", "below", "hasBackdrop", "", "backdropClass", "backdrop-color", "horizontalAlign", "end", 3, "interactiveClose"], ["feedBackPopOver", ""], [3, "closeDialog", 4, "ngIf"], [1, "filter-data", "custom-box", "language-section", 2, "width", "180px", "position", "relative", 3, "click"], ["placeholder", "", "name", "selectedCompany", "panelClass", "company-select-panel", 3, "ngModel", "ngModelChange", "selectionChange"], ["style", "display:flex; align-items:center; gap:10px;", 4, "ngIf"], ["fxFlex", "", "fxLayoutAlign", "start center", 1, "search_goalinput", "ml-1", 2, "position", "sticky", "top", "0", "z-index", "1", "background-color", "#fff", "padding", "6px 8px"], [1, "full-width", 2, "width", "100%", "margin", "0"], ["matInput", "", "autocomplete", "off", 1, "search_goal", 3, "placeholder", "ngModel", "ngModelChange"], ["style", "cursor:pointer", 3, "click", 4, "ngIf"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip", 4, "ngFor", "ngForOf"], [2, "display", "flex", "align-items", "center", "gap", "10px"], ["fxLayoutAlign", "start center", "size", "20", 3, "name", "src", "isRound"], [1, "language-display", 2, "font-weight", "600", "overflow", "hidden", "text-overflow", "ellipsis", "white-space", "nowrap", "background", "linear-gradient(90deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text"], [2, "cursor", "pointer", 3, "click"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip"], [1, "cursor-pointer", 2, "display", "flex", "align-items", "center"], ["size", "20", 3, "name", "src", "isRound"], [2, "margin-left", "8px"], ["mat-icon-button", "", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "ngClass", "click"], ["mat-icon-button", "", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "click"], ["mat-icon-button", "", 2, "position", "relative", "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "matMenuTriggerFor", "click"], ["class", "notification-number mat-bg-warn", "style", "position:absolute; top:-2px; right:-2px;", 4, "ngIf"], [1, "notification-number", "mat-bg-warn", 2, "position", "absolute", "top", "-2px", "right", "-2px"], ["mat-icon-button", "", 2, "width", "32px", "height", "32px", "background", "rgba(255,255,255,0.6)", "border-radius", "50%", "border", "1px solid #e5e7eb", "display", "flex", "align-items", "center", "justify-content", "center", "overflow", "hidden", 3, "matMenuTriggerFor"], ["alt", "profile image", "style", "width:28px; height:28px; border-radius:50%;", 3, "src", 4, "ngIf"], ["alt", "profile image", 2, "width", "28px", "height", "28px", "border-radius", "50%", 3, "src"], ["size", "26", 3, "name", "isRound"], [3, "closeDialog"]], template: function HeaderSideComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11646
|
+
const _r38 = i0.ɵɵgetCurrentView();
|
|
11647
|
+
i0.ɵɵelementStart(0, "mat-toolbar", 0);
|
|
12092
11648
|
i0.ɵɵelementStart(1, "div", 1);
|
|
12093
|
-
i0.ɵɵelementStart(2, "
|
|
12094
|
-
i0.ɵɵ
|
|
12095
|
-
i0.ɵɵlistener("isOpened", function HeaderSideComponent_Template_app_menu_isOpened_3_listener($event) { return ctx.isOpened($event); })("openNewDashboard", function HeaderSideComponent_Template_app_menu_openNewDashboard_3_listener($event) { return ctx.navigateToUrl($event); });
|
|
11649
|
+
i0.ɵɵelementStart(2, "app-menu", 2);
|
|
11650
|
+
i0.ɵɵlistener("isOpened", function HeaderSideComponent_Template_app_menu_isOpened_2_listener($event) { return ctx.isOpened($event); })("openNewDashboard", function HeaderSideComponent_Template_app_menu_openNewDashboard_2_listener($event) { return ctx.navigateToUrl($event); });
|
|
12096
11651
|
i0.ɵɵelementEnd();
|
|
12097
11652
|
i0.ɵɵelementEnd();
|
|
11653
|
+
i0.ɵɵelement(3, "div", 3);
|
|
12098
11654
|
i0.ɵɵelementStart(4, "div", 4);
|
|
12099
|
-
i0.ɵɵtemplate(5, HeaderSideComponent_div_5_Template,
|
|
11655
|
+
i0.ɵɵtemplate(5, HeaderSideComponent_div_5_Template, 10, 8, "div", 5);
|
|
12100
11656
|
i0.ɵɵtemplate(6, HeaderSideComponent_div_6_Template, 5, 4, "div", 6);
|
|
12101
11657
|
i0.ɵɵtemplate(7, HeaderSideComponent_div_7_Template, 5, 3, "div", 6);
|
|
12102
|
-
i0.ɵɵelementStart(8, "button", 7
|
|
11658
|
+
i0.ɵɵelementStart(8, "button", 7);
|
|
12103
11659
|
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_8_listener() { return ctx.openTimeSheet(); });
|
|
12104
|
-
i0.ɵɵpipe(
|
|
12105
|
-
i0.ɵɵelementStart(
|
|
12106
|
-
i0.ɵɵtext(
|
|
12107
|
-
i0.ɵɵelementEnd();
|
|
12108
|
-
i0.ɵɵelementEnd();
|
|
12109
|
-
i0.ɵɵtemplate(13, HeaderSideComponent_button_13_Template, 5, 7, "button", 10);
|
|
12110
|
-
i0.ɵɵelementStart(14, "mat-menu", null, 11);
|
|
12111
|
-
i0.ɵɵelement(16, "app-notifications");
|
|
12112
|
-
i0.ɵɵelementEnd();
|
|
12113
|
-
i0.ɵɵtemplate(17, HeaderSideComponent_button_17_Template, 3, 2, "button", 12);
|
|
12114
|
-
i0.ɵɵelementStart(18, "mat-menu", null, 13);
|
|
12115
|
-
i0.ɵɵelementStart(20, "button", 14);
|
|
12116
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_20_listener() { return ctx.navigateToProfile(); });
|
|
12117
|
-
i0.ɵɵelementStart(21, "mat-icon");
|
|
12118
|
-
i0.ɵɵtext(22, "account_box");
|
|
12119
|
-
i0.ɵɵelementEnd();
|
|
12120
|
-
i0.ɵɵelementStart(23, "span");
|
|
12121
|
-
i0.ɵɵtext(24);
|
|
12122
|
-
i0.ɵɵpipe(25, "translate");
|
|
12123
|
-
i0.ɵɵelementEnd();
|
|
12124
|
-
i0.ɵɵtemplate(26, HeaderSideComponent_mat_icon_26_Template, 1, 0, "mat-icon", 15);
|
|
12125
|
-
i0.ɵɵelementEnd();
|
|
12126
|
-
i0.ɵɵtemplate(27, HeaderSideComponent_button_27_Template, 7, 8, "button", 16);
|
|
12127
|
-
i0.ɵɵtemplate(28, HeaderSideComponent_button_28_Template, 7, 8, "button", 16);
|
|
12128
|
-
i0.ɵɵtemplate(29, HeaderSideComponent_button_29_Template, 8, 7, "button", 17);
|
|
12129
|
-
i0.ɵɵtemplate(30, HeaderSideComponent_button_30_Template, 5, 0, "button", 18);
|
|
12130
|
-
i0.ɵɵtemplate(31, HeaderSideComponent_button_31_Template, 5, 0, "button", 18);
|
|
12131
|
-
i0.ɵɵtemplate(32, HeaderSideComponent_button_32_Template, 7, 8, "button", 19);
|
|
12132
|
-
i0.ɵɵelementStart(33, "button", 14);
|
|
12133
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_33_listener() { return ctx.onSignout(); });
|
|
12134
|
-
i0.ɵɵelementStart(34, "mat-icon");
|
|
12135
|
-
i0.ɵɵtext(35, "exit_to_app");
|
|
12136
|
-
i0.ɵɵelementEnd();
|
|
12137
|
-
i0.ɵɵelementStart(36, "span");
|
|
12138
|
-
i0.ɵɵtext(37);
|
|
12139
|
-
i0.ɵɵpipe(38, "translate");
|
|
12140
|
-
i0.ɵɵelementEnd();
|
|
12141
|
-
i0.ɵɵelementEnd();
|
|
12142
|
-
i0.ɵɵelement(39, "mat-divider");
|
|
12143
|
-
i0.ɵɵelementStart(40, "button", 14);
|
|
12144
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_40_listener() { i0.ɵɵrestoreView(_r79); const _r16 = i0.ɵɵreference(47); _r16.toggle(); return ctx.openFeedBackDialog(); });
|
|
12145
|
-
i0.ɵɵelementStart(41, "mat-icon", 20);
|
|
12146
|
-
i0.ɵɵtext(42, " sentiment_satisfied_alt ");
|
|
12147
|
-
i0.ɵɵelementEnd();
|
|
12148
|
-
i0.ɵɵelementStart(43, "span");
|
|
12149
|
-
i0.ɵɵtext(44);
|
|
12150
|
-
i0.ɵɵelementEnd();
|
|
12151
|
-
i0.ɵɵelementEnd();
|
|
12152
|
-
i0.ɵɵelementEnd();
|
|
12153
|
-
i0.ɵɵelementEnd();
|
|
12154
|
-
i0.ɵɵelementEnd();
|
|
11660
|
+
i0.ɵɵpipe(9, "translate");
|
|
11661
|
+
i0.ɵɵelementStart(10, "mat-icon", 8);
|
|
11662
|
+
i0.ɵɵtext(11, "access_time");
|
|
12155
11663
|
i0.ɵɵelementEnd();
|
|
12156
|
-
i0.ɵɵtemplate(45, HeaderSideComponent_div_45_Template, 1, 0, "div", 21);
|
|
12157
|
-
i0.ɵɵelementStart(46, "sat-popover", 22, 23);
|
|
12158
|
-
i0.ɵɵtemplate(48, HeaderSideComponent_app_submit_feedback_48_Template, 1, 0, "app-submit-feedback", 24);
|
|
12159
11664
|
i0.ɵɵelementEnd();
|
|
12160
|
-
i0.ɵɵ
|
|
12161
|
-
i0.ɵɵ
|
|
12162
|
-
i0.ɵɵ
|
|
12163
|
-
i0.ɵɵelementStart(52, "mat-list", 28);
|
|
12164
|
-
i0.ɵɵtemplate(53, HeaderSideComponent_mat_card_53_Template, 3, 2, "mat-card", 29);
|
|
12165
|
-
i0.ɵɵtemplate(54, HeaderSideComponent_mat_card_54_Template, 3, 2, "mat-card", 29);
|
|
12166
|
-
i0.ɵɵtemplate(55, HeaderSideComponent_mat_card_55_Template, 3, 2, "mat-card", 29);
|
|
12167
|
-
i0.ɵɵtemplate(56, HeaderSideComponent_mat_card_56_Template, 4, 6, "mat-card", 29);
|
|
11665
|
+
i0.ɵɵtemplate(12, HeaderSideComponent_button_12_Template, 5, 5, "button", 9);
|
|
11666
|
+
i0.ɵɵelementStart(13, "mat-menu", null, 10);
|
|
11667
|
+
i0.ɵɵelement(15, "app-notifications");
|
|
12168
11668
|
i0.ɵɵelementEnd();
|
|
11669
|
+
i0.ɵɵtemplate(16, HeaderSideComponent_button_16_Template, 3, 3, "button", 11);
|
|
12169
11670
|
i0.ɵɵelementEnd();
|
|
12170
11671
|
i0.ɵɵelementEnd();
|
|
12171
|
-
i0.ɵɵ
|
|
12172
|
-
i0.ɵɵelementStart(
|
|
12173
|
-
i0.ɵɵ
|
|
12174
|
-
i0.ɵɵelementStart(61, "mat-card-title");
|
|
12175
|
-
i0.ɵɵelementStart(62, "div", 34);
|
|
12176
|
-
i0.ɵɵelementStart(63, "div", 35);
|
|
12177
|
-
i0.ɵɵtext(64);
|
|
12178
|
-
i0.ɵɵpipe(65, "translate");
|
|
11672
|
+
i0.ɵɵelementStart(17, "sat-popover", 12, 13);
|
|
11673
|
+
i0.ɵɵelementStart(19, "app-feed-time", 14);
|
|
11674
|
+
i0.ɵɵlistener("closeFeedTimeSheetPopup", function HeaderSideComponent_Template_app_feed_time_closeFeedTimeSheetPopup_19_listener() { return ctx.closeFeedTimeSheet(); });
|
|
12179
11675
|
i0.ɵɵelementEnd();
|
|
12180
|
-
i0.ɵɵelementStart(66, "div", 36);
|
|
12181
|
-
i0.ɵɵelementStart(67, "button", 37);
|
|
12182
|
-
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_67_listener() { return ctx.closeUploadFilePopup(); });
|
|
12183
|
-
i0.ɵɵelement(68, "fa-icon", 38);
|
|
12184
11676
|
i0.ɵɵelementEnd();
|
|
11677
|
+
i0.ɵɵelementStart(20, "mat-menu", null, 15);
|
|
11678
|
+
i0.ɵɵelementStart(22, "button", 16);
|
|
11679
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_22_listener() { return ctx.navigateToProfile(); });
|
|
11680
|
+
i0.ɵɵelementStart(23, "mat-icon");
|
|
11681
|
+
i0.ɵɵtext(24, "account_box");
|
|
12185
11682
|
i0.ɵɵelementEnd();
|
|
11683
|
+
i0.ɵɵelementStart(25, "span");
|
|
11684
|
+
i0.ɵɵtext(26);
|
|
11685
|
+
i0.ɵɵpipe(27, "translate");
|
|
12186
11686
|
i0.ɵɵelementEnd();
|
|
12187
11687
|
i0.ɵɵelementEnd();
|
|
12188
|
-
i0.ɵɵ
|
|
12189
|
-
i0.ɵɵ
|
|
12190
|
-
i0.ɵɵ
|
|
12191
|
-
i0.ɵɵ
|
|
12192
|
-
i0.ɵɵelementStart(
|
|
12193
|
-
i0.ɵɵtext(
|
|
12194
|
-
i0.ɵɵpipe(74, "translate");
|
|
11688
|
+
i0.ɵɵtemplate(28, HeaderSideComponent_button_28_Template, 5, 0, "button", 17);
|
|
11689
|
+
i0.ɵɵtemplate(29, HeaderSideComponent_button_29_Template, 5, 0, "button", 17);
|
|
11690
|
+
i0.ɵɵelementStart(30, "button", 16);
|
|
11691
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_30_listener() { return ctx.onSignout(); });
|
|
11692
|
+
i0.ɵɵelementStart(31, "mat-icon");
|
|
11693
|
+
i0.ɵɵtext(32, "exit_to_app");
|
|
12195
11694
|
i0.ɵɵelementEnd();
|
|
11695
|
+
i0.ɵɵelementStart(33, "span");
|
|
11696
|
+
i0.ɵɵtext(34);
|
|
11697
|
+
i0.ɵɵpipe(35, "translate");
|
|
12196
11698
|
i0.ɵɵelementEnd();
|
|
12197
|
-
i0.ɵɵtemplate(75, HeaderSideComponent_ngx_dropzone_preview_75_Template, 3, 3, "ngx-dropzone-preview", 41);
|
|
12198
11699
|
i0.ɵɵelementEnd();
|
|
12199
|
-
i0.ɵɵ
|
|
12200
|
-
i0.ɵɵelementStart(
|
|
12201
|
-
i0.ɵɵ
|
|
11700
|
+
i0.ɵɵelement(36, "mat-divider");
|
|
11701
|
+
i0.ɵɵelementStart(37, "button", 16);
|
|
11702
|
+
i0.ɵɵlistener("click", function HeaderSideComponent_Template_button_click_37_listener() { i0.ɵɵrestoreView(_r38); const _r10 = i0.ɵɵreference(43); _r10.toggle(); return ctx.openFeedBackDialog(); });
|
|
11703
|
+
i0.ɵɵelementStart(38, "mat-icon", 18);
|
|
11704
|
+
i0.ɵɵtext(39, " sentiment_satisfied_alt ");
|
|
12202
11705
|
i0.ɵɵelementEnd();
|
|
11706
|
+
i0.ɵɵelementStart(40, "span");
|
|
11707
|
+
i0.ɵɵtext(41);
|
|
12203
11708
|
i0.ɵɵelementEnd();
|
|
12204
|
-
i0.ɵɵtemplate(79, HeaderSideComponent_mat_progress_bar_79_Template, 1, 1, "mat-progress-bar", 43);
|
|
12205
|
-
i0.ɵɵtemplate(80, HeaderSideComponent_div_80_Template, 2, 3, "div", 44);
|
|
12206
|
-
i0.ɵɵtemplate(81, HeaderSideComponent_div_81_Template, 9, 6, "div", 45);
|
|
12207
|
-
i0.ɵɵtemplate(82, HeaderSideComponent_div_82_Template, 6, 5, "div", 46);
|
|
12208
11709
|
i0.ɵɵelementEnd();
|
|
12209
11710
|
i0.ɵɵelementEnd();
|
|
11711
|
+
i0.ɵɵelementStart(42, "sat-popover", 19, 20);
|
|
11712
|
+
i0.ɵɵtemplate(44, HeaderSideComponent_app_submit_feedback_44_Template, 1, 0, "app-submit-feedback", 21);
|
|
12210
11713
|
i0.ɵɵelementEnd();
|
|
12211
|
-
i0.ɵɵtemplate(83, HeaderSideComponent_ng_template_83_Template, 1, 3, "ng-template", null, 47, i0.ɵɵtemplateRefExtractor);
|
|
12212
11714
|
} if (rf & 2) {
|
|
12213
|
-
const
|
|
12214
|
-
const
|
|
12215
|
-
i0.ɵɵadvance(3);
|
|
12216
|
-
i0.ɵɵproperty("reload", ctx.reload);
|
|
11715
|
+
const _r6 = i0.ɵɵreference(18);
|
|
11716
|
+
const _r10 = i0.ɵɵreference(43);
|
|
12217
11717
|
i0.ɵɵadvance(2);
|
|
11718
|
+
i0.ɵɵproperty("reload", ctx.reload);
|
|
11719
|
+
i0.ɵɵadvance(3);
|
|
12218
11720
|
i0.ɵɵproperty("ngIf", ctx.companiesList != null && ctx.companiesList.length > 1);
|
|
12219
11721
|
i0.ɵɵadvance(1);
|
|
12220
11722
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_Settings || ctx.canAccess_feature_ViewRoles);
|
|
12221
11723
|
i0.ɵɵadvance(1);
|
|
12222
11724
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_MyProjectWork);
|
|
12223
11725
|
i0.ɵɵadvance(1);
|
|
12224
|
-
i0.ɵɵ
|
|
12225
|
-
i0.ɵɵ
|
|
12226
|
-
i0.ɵɵ
|
|
12227
|
-
i0.ɵɵadvance(5);
|
|
11726
|
+
i0.ɵɵpropertyInterpolate("matTooltip", i0.ɵɵpipeBind1(9, 20, "SHELL.LOGTIME"));
|
|
11727
|
+
i0.ɵɵproperty("satPopoverAnchorFor", _r6);
|
|
11728
|
+
i0.ɵɵadvance(4);
|
|
12228
11729
|
i0.ɵɵproperty("ngIf", ctx.newNotificationsCount != 0);
|
|
12229
11730
|
i0.ɵɵadvance(4);
|
|
12230
11731
|
i0.ɵɵproperty("ngIf", ctx.authenticatedUserRecord);
|
|
11732
|
+
i0.ɵɵadvance(1);
|
|
11733
|
+
i0.ɵɵproperty("autoFocus", false)("restoreFocus", false)("interactiveClose", true);
|
|
11734
|
+
i0.ɵɵadvance(2);
|
|
11735
|
+
i0.ɵɵproperty("isFeedTimeSheet", ctx.isFeedTimeSheet);
|
|
12231
11736
|
i0.ɵɵadvance(7);
|
|
12232
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
11737
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 22, "SHELL.PROFILE"));
|
|
12233
11738
|
i0.ɵɵadvance(2);
|
|
12234
|
-
i0.ɵɵproperty("ngIf", ctx.isRecording);
|
|
12235
|
-
i0.ɵɵadvance(1);
|
|
12236
|
-
i0.ɵɵproperty("ngIf", ctx.showDeleteIcon && ctx.showDelete);
|
|
12237
|
-
i0.ɵɵadvance(1);
|
|
12238
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_ManageSystemExports);
|
|
12239
|
-
i0.ɵɵadvance(1);
|
|
12240
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_ManageSystemImports);
|
|
12241
|
-
i0.ɵɵadvance(1);
|
|
12242
11739
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_ManageAccountsAndBilling);
|
|
12243
11740
|
i0.ɵɵadvance(1);
|
|
12244
11741
|
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_ManageAccountsAndBilling);
|
|
12245
|
-
i0.ɵɵadvance(1);
|
|
12246
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_AlternateSignIn);
|
|
12247
11742
|
i0.ɵɵadvance(5);
|
|
12248
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
11743
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 24, "SHELL.SIGNOUT"));
|
|
12249
11744
|
i0.ɵɵadvance(4);
|
|
12250
|
-
i0.ɵɵproperty("satPopoverAnchorFor",
|
|
11745
|
+
i0.ɵɵproperty("satPopoverAnchorFor", _r10);
|
|
12251
11746
|
i0.ɵɵadvance(3);
|
|
12252
11747
|
i0.ɵɵtextInterpolate1("v-", ctx.applicationVersion, "");
|
|
12253
11748
|
i0.ɵɵadvance(1);
|
|
12254
|
-
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
12255
|
-
i0.ɵɵadvance(1);
|
|
12256
11749
|
i0.ɵɵproperty("interactiveClose", false);
|
|
12257
11750
|
i0.ɵɵadvance(2);
|
|
12258
11751
|
i0.ɵɵproperty("ngIf", ctx.isFeedBackDialog);
|
|
12259
|
-
|
|
12260
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_AddOrUpdateForm || ctx.canAccess_feature_ViewForms);
|
|
12261
|
-
i0.ɵɵadvance(1);
|
|
12262
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_AddOrUpdateApplications);
|
|
12263
|
-
i0.ɵɵadvance(1);
|
|
12264
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_ViewRoles);
|
|
12265
|
-
i0.ɵɵadvance(1);
|
|
12266
|
-
i0.ɵɵproperty("ngIf", ctx.canAccess_feature_ManageProjectRolePermissions);
|
|
12267
|
-
i0.ɵɵadvance(1);
|
|
12268
|
-
i0.ɵɵproperty("ngIf", ctx.displayWelcomeNote && ctx.userFullName);
|
|
12269
|
-
i0.ɵɵadvance(1);
|
|
12270
|
-
i0.ɵɵproperty("interactiveClose", false);
|
|
12271
|
-
i0.ɵɵadvance(6);
|
|
12272
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(65, 43, "TESTMANAGEMENT.UPLOADFILES"), " ");
|
|
12273
|
-
i0.ɵɵadvance(9);
|
|
12274
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(74, 45, "DOCUMENTMANAGEMENT.DRAGANDDROPFILESHERE"));
|
|
12275
|
-
i0.ɵɵadvance(2);
|
|
12276
|
-
i0.ɵɵproperty("ngForOf", ctx.files);
|
|
12277
|
-
i0.ɵɵadvance(4);
|
|
12278
|
-
i0.ɵɵproperty("ngIf", ctx.progressValue > 0);
|
|
12279
|
-
i0.ɵɵadvance(1);
|
|
12280
|
-
i0.ɵɵproperty("ngIf", ctx.progressValue > 0);
|
|
12281
|
-
i0.ɵɵadvance(1);
|
|
12282
|
-
i0.ɵɵproperty("ngIf", ctx.filesPresent);
|
|
12283
|
-
i0.ɵɵadvance(1);
|
|
12284
|
-
i0.ɵɵproperty("ngIf", ctx.importingInProgress);
|
|
12285
|
-
} }, directives: [MenuComponent, i10.NgIf, i8.MatButton, i7$1.MatTooltip, i23.SatPopoverAnchor, i17.MatIcon, i16.MatMenu, NotificationsComponent, i16.MatMenuItem, i7$2.MatDivider, i23.SatPopover, i7.MatCardContent, i12.MatList, i7.MatCard, i7.MatCardTitle, i30.DefaultLayoutDirective, i30.DefaultFlexDirective, i30.DefaultLayoutAlignDirective, i4.FaIconComponent, i32.NgxDropzoneComponent, i32.ɵb, i10.NgForOf, i33.MatSelect, i9.NgControlStatus, i9.NgModel, i33.MatSelectTrigger, i21.MatFormField, i22.MatInput, i9.DefaultValueAccessor, i30.DefaultLayoutGapDirective, i10.NgStyle, i15.DefaultStyleDirective, i6$1.SnovasysAvatarComponent, i14.MatOption, i10.NgClass, i15.DefaultClassDirective, i16.MatMenuTrigger, FeedBackSubmissionComponent, i2.RouterLink, i32.NgxDropzonePreviewComponent, i27.MatProgressBar, AnnoucementDialogComponent], pipes: [i5$1.TranslatePipe, RemoveSpecialCharactersPipe, FetchSizedAndCachedImagePipe, SoftLabelPipe], styles: [".file-or-folder-icon[_ngcontent-%COMP%] {\n width: 50px;\n height: 50px;\n font-size: 50px;\n }\n\n .file-or-folder-name-align[_ngcontent-%COMP%] {\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n line-clamp: 2;\n -webkit-box-orient: vertical;\n text-align: center;\n word-break: break-word;\n }\n\n .dropzone-height[_ngcontent-%COMP%] {\n height: 130px;\n }\n\n .custom-dropzone-preview[_ngcontent-%COMP%] {\n height: 100px !important;\n min-height: 100px !important;\n padding: 0px !important;\n }\n\n \n .cdk-overlay-container[_ngcontent-%COMP%], .cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%] {\n z-index: 1300 !important;\n }\n\n \n .company-select-panel[_ngcontent-%COMP%] .mat-mdc-option[_ngcontent-%COMP%] {\n line-height: 36px;\n }"], data: { animation: [
|
|
11752
|
+
} }, directives: [i19.MatToolbar, i1$4.DefaultFlexDirective, MenuComponent, i1$4.DefaultLayoutDirective, i4$1.DefaultShowHideDirective, i1$4.DefaultLayoutAlignDirective, i10.NgIf, i8.MatButton, i7$1.MatTooltip, i26.SatPopoverAnchor, i17.MatIcon, i16.MatMenu, NotificationsComponent, i26.SatPopover, FeedTimeComponent, i16.MatMenuItem, i7$2.MatDivider, i32.MatSelect, i9.NgControlStatus, i9.NgModel, i32.MatSelectTrigger, i10$1.MatFormField, i35.MatInput, i9.DefaultValueAccessor, i10.NgForOf, i36.SnovasysAvatarComponent, i14.MatOption, i10.NgClass, i4$1.DefaultClassDirective, i16.MatMenuTrigger, FeedBackSubmissionComponent], pipes: [i5$1.TranslatePipe, RemoveSpecialCharactersPipe, FetchSizedAndCachedImagePipe], encapsulation: 2, data: { animation: [
|
|
12286
11753
|
trigger('fade', [
|
|
12287
11754
|
transition('void => *', [
|
|
12288
11755
|
style({ opacity: 0 }),
|
|
@@ -12306,7 +11773,7 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
12306
11773
|
])
|
|
12307
11774
|
]
|
|
12308
11775
|
}]
|
|
12309
|
-
}], function () { return [{ type: i1$
|
|
11776
|
+
}], function () { return [{ type: i1$5.PushNotificationsService }, { type: ThemeService }, { type: i3$1.NgxUiLoaderService }, { type: LayoutService }, { type: i5$1.TranslateService }, { type: i2.Router }, { type: i5.CookieService }, { type: i1$3.MatDialog }, { type: CommonService }, { type: i3.Store }, { type: i2$2.PubNubAngular }, { type: AuthenticationService }, { type: i1$2.Actions }, { type: i0.ChangeDetectorRef }, { type: i6.ToastrService }, { type: i15.StoreManagementService }, { type: ShellModulesService }, { type: ChatService }, { type: SignalrService }, { type: Window, decorators: [{
|
|
12310
11777
|
type: Inject,
|
|
12311
11778
|
args: [WINDOW]
|
|
12312
11779
|
}] }]; }, { feedTimeSheetPopover: [{
|
|
@@ -12330,113 +11797,213 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
|
|
|
12330
11797
|
args: ["openAnnoucementDialogComponent"]
|
|
12331
11798
|
}] }); })();
|
|
12332
11799
|
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
11800
|
+
function SideBarComponent_div_9_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
11801
|
+
i0.ɵɵelementContainerStart(0);
|
|
11802
|
+
i0.ɵɵelementStart(1, "mat-icon", 5);
|
|
11803
|
+
i0.ɵɵtext(2);
|
|
11804
|
+
i0.ɵɵelementEnd();
|
|
11805
|
+
i0.ɵɵelementStart(3, "h6", 6);
|
|
11806
|
+
i0.ɵɵtext(4);
|
|
11807
|
+
i0.ɵɵpipe(5, "softLabelsPipe");
|
|
11808
|
+
i0.ɵɵpipe(6, "translate");
|
|
11809
|
+
i0.ɵɵelementEnd();
|
|
11810
|
+
i0.ɵɵelementContainerEnd();
|
|
11811
|
+
} if (rf & 2) {
|
|
11812
|
+
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
11813
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
11814
|
+
i0.ɵɵadvance(2);
|
|
11815
|
+
i0.ɵɵtextInterpolate(item_r1.icon);
|
|
11816
|
+
i0.ɵɵadvance(2);
|
|
11817
|
+
i0.ɵɵtextInterpolate1(" ", item_r1.menu ? i0.ɵɵpipeBind2(5, 2, item_r1.menu, ctx_r3.softLabels) : i0.ɵɵpipeBind1(6, 5, item_r1.name), " ");
|
|
11818
|
+
} }
|
|
11819
|
+
function SideBarComponent_div_9_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
11820
|
+
i0.ɵɵelementContainerStart(0);
|
|
11821
|
+
i0.ɵɵelementStart(1, "a", 12);
|
|
11822
|
+
i0.ɵɵelementStart(2, "mat-icon", 5);
|
|
11823
|
+
i0.ɵɵtext(3);
|
|
11824
|
+
i0.ɵɵelementEnd();
|
|
11825
|
+
i0.ɵɵelementStart(4, "h6", 6);
|
|
11826
|
+
i0.ɵɵtext(5);
|
|
11827
|
+
i0.ɵɵpipe(6, "softLabelsPipe");
|
|
11828
|
+
i0.ɵɵpipe(7, "translate");
|
|
11829
|
+
i0.ɵɵelementEnd();
|
|
11830
|
+
i0.ɵɵelementEnd();
|
|
11831
|
+
i0.ɵɵelementContainerEnd();
|
|
11832
|
+
} if (rf & 2) {
|
|
11833
|
+
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
11834
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
11835
|
+
i0.ɵɵadvance(1);
|
|
11836
|
+
i0.ɵɵproperty("href", item_r1.state, i0.ɵɵsanitizeUrl);
|
|
11837
|
+
i0.ɵɵadvance(2);
|
|
11838
|
+
i0.ɵɵtextInterpolate(item_r1.icon);
|
|
11839
|
+
i0.ɵɵadvance(2);
|
|
11840
|
+
i0.ɵɵtextInterpolate1(" ", item_r1.menu ? i0.ɵɵpipeBind2(6, 3, item_r1.menu, ctx_r4.softLabels) : i0.ɵɵpipeBind1(7, 6, item_r1.name), " ");
|
|
11841
|
+
} }
|
|
11842
|
+
function SideBarComponent_div_9_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
11843
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
11844
|
+
i0.ɵɵelementStart(0, "div", 13);
|
|
11845
|
+
i0.ɵɵlistener("click", function SideBarComponent_div_9_div_5_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r12); const item_r1 = i0.ɵɵnextContext().$implicit; const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.toggleDropdown(item_r1); });
|
|
11846
|
+
i0.ɵɵelementStart(1, "mat-icon", 5);
|
|
11847
|
+
i0.ɵɵtext(2);
|
|
11848
|
+
i0.ɵɵelementEnd();
|
|
11849
|
+
i0.ɵɵelementStart(3, "h6", 6);
|
|
11850
|
+
i0.ɵɵtext(4);
|
|
11851
|
+
i0.ɵɵpipe(5, "softLabelsPipe");
|
|
11852
|
+
i0.ɵɵpipe(6, "translate");
|
|
11853
|
+
i0.ɵɵelementEnd();
|
|
11854
|
+
i0.ɵɵelementStart(7, "mat-icon", 14);
|
|
11855
|
+
i0.ɵɵtext(8);
|
|
11856
|
+
i0.ɵɵelementEnd();
|
|
11857
|
+
i0.ɵɵelementEnd();
|
|
11858
|
+
} if (rf & 2) {
|
|
11859
|
+
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
11860
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
11861
|
+
i0.ɵɵadvance(2);
|
|
11862
|
+
i0.ɵɵtextInterpolate(item_r1.icon);
|
|
11863
|
+
i0.ɵɵadvance(2);
|
|
11864
|
+
i0.ɵɵtextInterpolate1(" ", item_r1.menu ? i0.ɵɵpipeBind2(5, 3, item_r1.menu, ctx_r5.softLabels) : i0.ɵɵpipeBind1(6, 6, item_r1.name), " ");
|
|
11865
|
+
i0.ɵɵadvance(4);
|
|
11866
|
+
i0.ɵɵtextInterpolate1(" ", item_r1.open ? "expand_less" : "expand_more", " ");
|
|
11867
|
+
} }
|
|
11868
|
+
const _c0$6 = function (a0) { return { background: a0 }; };
|
|
11869
|
+
function SideBarComponent_div_9_div_6_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
11870
|
+
i0.ɵɵelementStart(0, "span", 17);
|
|
11871
|
+
i0.ɵɵtext(1);
|
|
11872
|
+
i0.ɵɵelementEnd();
|
|
11873
|
+
} if (rf & 2) {
|
|
11874
|
+
const badge_r15 = ctx.$implicit;
|
|
11875
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0$6, badge_r15.color));
|
|
11876
|
+
i0.ɵɵadvance(1);
|
|
11877
|
+
i0.ɵɵtextInterpolate1(" ", badge_r15.value, " ");
|
|
11878
|
+
} }
|
|
11879
|
+
function SideBarComponent_div_9_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
11880
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
11881
|
+
i0.ɵɵtemplate(1, SideBarComponent_div_9_div_6_span_1_Template, 2, 4, "span", 16);
|
|
11882
|
+
i0.ɵɵelementEnd();
|
|
11883
|
+
} if (rf & 2) {
|
|
11884
|
+
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
11885
|
+
i0.ɵɵadvance(1);
|
|
11886
|
+
i0.ɵɵproperty("ngForOf", item_r1.badges);
|
|
11887
|
+
} }
|
|
11888
|
+
function SideBarComponent_div_9_div_7_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
11889
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
12336
11890
|
i0.ɵɵelementStart(0, "div", 2);
|
|
12337
|
-
i0.ɵɵelementStart(1, "div",
|
|
12338
|
-
i0.ɵɵlistener("
|
|
11891
|
+
i0.ɵɵelementStart(1, "div", 19);
|
|
11892
|
+
i0.ɵɵlistener("click", function SideBarComponent_div_9_div_7_div_1_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r21); const itemLvL2_r18 = restoredCtx.$implicit; const ctx_r20 = i0.ɵɵnextContext(2); const i_r2 = ctx_r20.index; const item_r1 = ctx_r20.$implicit; const ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.selectMenu(i_r2, "/" + item_r1.state + "/" + itemLvL2_r18.state); });
|
|
12339
11893
|
i0.ɵɵelementStart(2, "div", 4);
|
|
12340
11894
|
i0.ɵɵelementStart(3, "mat-icon", 5);
|
|
12341
11895
|
i0.ɵɵtext(4);
|
|
12342
11896
|
i0.ɵɵelementEnd();
|
|
12343
11897
|
i0.ɵɵelementStart(5, "h6", 6);
|
|
12344
11898
|
i0.ɵɵtext(6);
|
|
11899
|
+
i0.ɵɵpipe(7, "softLabelsPipe");
|
|
11900
|
+
i0.ɵɵpipe(8, "translate");
|
|
12345
11901
|
i0.ɵɵelementEnd();
|
|
12346
11902
|
i0.ɵɵelementEnd();
|
|
12347
11903
|
i0.ɵɵelementEnd();
|
|
12348
11904
|
i0.ɵɵelementEnd();
|
|
11905
|
+
} if (rf & 2) {
|
|
11906
|
+
const itemLvL2_r18 = ctx.$implicit;
|
|
11907
|
+
const ctx_r17 = i0.ɵɵnextContext(3);
|
|
11908
|
+
i0.ɵɵadvance(4);
|
|
11909
|
+
i0.ɵɵtextInterpolate(itemLvL2_r18.icon);
|
|
11910
|
+
i0.ɵɵadvance(2);
|
|
11911
|
+
i0.ɵɵtextInterpolate1(" ", itemLvL2_r18.menu ? i0.ɵɵpipeBind2(7, 2, itemLvL2_r18.menu, ctx_r17.softLabels) : i0.ɵɵpipeBind1(8, 5, itemLvL2_r18.name), " ");
|
|
11912
|
+
} }
|
|
11913
|
+
function SideBarComponent_div_9_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
11914
|
+
i0.ɵɵelementStart(0, "div", 18);
|
|
11915
|
+
i0.ɵɵtemplate(1, SideBarComponent_div_9_div_7_div_1_Template, 9, 7, "div", 7);
|
|
11916
|
+
i0.ɵɵelementEnd();
|
|
11917
|
+
} if (rf & 2) {
|
|
11918
|
+
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
11919
|
+
i0.ɵɵadvance(1);
|
|
11920
|
+
i0.ɵɵproperty("ngForOf", item_r1.sub);
|
|
11921
|
+
} }
|
|
11922
|
+
const _c1$1 = function () { return { "background-color": "#DBEAFE", "border-image": "linear-gradient(135deg,#5de0e6,#004aad) 1", "box-shadow": "0 4px 15px rgba(0,0,0,0.15)" }; };
|
|
11923
|
+
function SideBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
11924
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
11925
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
11926
|
+
i0.ɵɵelementStart(1, "div", 3);
|
|
11927
|
+
i0.ɵɵlistener("mouseenter", function SideBarComponent_div_9_Template_div_mouseenter_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r24); const i_r2 = restoredCtx.index; const ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.enter(i_r2); })("mouseleave", function SideBarComponent_div_9_Template_div_mouseleave_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r24); const i_r2 = restoredCtx.index; const ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.leave(i_r2); })("click", function SideBarComponent_div_9_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r24); const i_r2 = restoredCtx.index; const item_r1 = restoredCtx.$implicit; const ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.selectMenu(i_r2, item_r1.state); });
|
|
11928
|
+
i0.ɵɵelementStart(2, "div", 4);
|
|
11929
|
+
i0.ɵɵtemplate(3, SideBarComponent_div_9_ng_container_3_Template, 7, 7, "ng-container", 8);
|
|
11930
|
+
i0.ɵɵtemplate(4, SideBarComponent_div_9_ng_container_4_Template, 8, 8, "ng-container", 8);
|
|
11931
|
+
i0.ɵɵtemplate(5, SideBarComponent_div_9_div_5_Template, 9, 8, "div", 9);
|
|
11932
|
+
i0.ɵɵtemplate(6, SideBarComponent_div_9_div_6_Template, 2, 1, "div", 10);
|
|
11933
|
+
i0.ɵɵelementEnd();
|
|
11934
|
+
i0.ɵɵelementEnd();
|
|
11935
|
+
i0.ɵɵtemplate(7, SideBarComponent_div_9_div_7_Template, 2, 1, "div", 11);
|
|
11936
|
+
i0.ɵɵelementEnd();
|
|
12349
11937
|
} if (rf & 2) {
|
|
12350
11938
|
const item_r1 = ctx.$implicit;
|
|
12351
11939
|
const i_r2 = ctx.index;
|
|
12352
11940
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
12353
11941
|
i0.ɵɵadvance(1);
|
|
12354
|
-
i0.ɵɵproperty("ngStyle",
|
|
12355
|
-
i0.ɵɵadvance(3);
|
|
12356
|
-
i0.ɵɵtextInterpolate(item_r1.icon);
|
|
11942
|
+
i0.ɵɵproperty("ngStyle", (ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2) && i0.ɵɵpureFunction0(6, _c1$1));
|
|
12357
11943
|
i0.ɵɵadvance(2);
|
|
12358
|
-
i0.ɵɵ
|
|
11944
|
+
i0.ɵɵproperty("ngIf", item_r1.type === "link" || item_r1.type === "applicationlink");
|
|
11945
|
+
i0.ɵɵadvance(1);
|
|
11946
|
+
i0.ɵɵproperty("ngIf", item_r1.type === "extLink");
|
|
11947
|
+
i0.ɵɵadvance(1);
|
|
11948
|
+
i0.ɵɵproperty("ngIf", item_r1.type === "dropDown");
|
|
11949
|
+
i0.ɵɵadvance(1);
|
|
11950
|
+
i0.ɵɵproperty("ngIf", item_r1.badges == null ? null : item_r1.badges.length);
|
|
11951
|
+
i0.ɵɵadvance(1);
|
|
11952
|
+
i0.ɵɵproperty("ngIf", item_r1.open && item_r1.type === "dropDown");
|
|
12359
11953
|
} }
|
|
12360
11954
|
class SideBarComponent {
|
|
12361
|
-
constructor(store, router
|
|
11955
|
+
constructor(store, router) {
|
|
12362
11956
|
this.store = store;
|
|
12363
11957
|
this.router = router;
|
|
12364
|
-
this.recentSearchService = recentSearchService;
|
|
12365
|
-
this.hasIconMenu = false;
|
|
12366
|
-
this.iconMenuTitle = 'Menu';
|
|
12367
|
-
this.menuItems = [];
|
|
12368
|
-
this.items = [];
|
|
12369
|
-
this.selectedRowIndex = null;
|
|
12370
11958
|
this.showBackGroundColor = null;
|
|
12371
11959
|
}
|
|
12372
11960
|
ngOnInit() {
|
|
12373
|
-
|
|
12374
|
-
this.
|
|
12375
|
-
//
|
|
11961
|
+
// load soft labels
|
|
11962
|
+
this.softLabels = JSON.parse(localStorage.getItem("SoftLabels"));
|
|
11963
|
+
// get menu items from store
|
|
11964
|
+
this.menuItems$ = this.store.pipe(select(getCurrentActiveMenuCategoryMenuItems), tap(menuList => this.routerActive(menuList)));
|
|
11965
|
+
// trigger menu load
|
|
11966
|
+
this.store.dispatch(new GetAllMenuItemsTriggered(MenuCategories.Main));
|
|
11967
|
+
// listen to route changes
|
|
12376
11968
|
this.router.events.subscribe(event => {
|
|
12377
11969
|
if (event instanceof NavigationEnd) {
|
|
12378
|
-
this.
|
|
11970
|
+
this.menuItems$.subscribe(list => this.routerActive(list));
|
|
12379
11971
|
}
|
|
12380
11972
|
});
|
|
12381
11973
|
}
|
|
12382
|
-
|
|
12383
|
-
|
|
12384
|
-
|
|
11974
|
+
routerActive(menuList) {
|
|
11975
|
+
if (menuList && menuList.length > 0) {
|
|
11976
|
+
const index = menuList.findIndex(i => this.router.url == "/" + i.state);
|
|
11977
|
+
this.selectedRowIndex = index;
|
|
11978
|
+
if (this.router.url.includes("/dashboard-management")) {
|
|
11979
|
+
this.selectedRowIndex = 99;
|
|
11980
|
+
}
|
|
11981
|
+
}
|
|
12385
11982
|
}
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
if (stored)
|
|
12389
|
-
this.softLabels = JSON.parse(stored);
|
|
11983
|
+
enter(i) {
|
|
11984
|
+
this.showBackGroundColor = i;
|
|
12390
11985
|
}
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
this.menuItems$ = this.store.pipe(select(getCurrentActiveMenuCategoryMenuItems), tap(menuList => console.log('NgRx menu:', menuList)));
|
|
12394
|
-
this.store.dispatch(new GetAllMenuItemsTriggered(MenuCategories.Main));
|
|
12395
|
-
// Fallback: load from localStorage / service
|
|
12396
|
-
const storedItems = JSON.parse(localStorage.getItem(LocalStorageProperties.SideBarMenuItems));
|
|
12397
|
-
if (storedItems && storedItems.length) {
|
|
12398
|
-
this.menuItems = storedItems;
|
|
12399
|
-
this.items = this.menuItems.filter(i => i.type !== 'dropDown');
|
|
12400
|
-
}
|
|
12401
|
-
else {
|
|
12402
|
-
this.recentSearchService.searchMenuData(false).subscribe((res) => {
|
|
12403
|
-
var _a;
|
|
12404
|
-
if (res.success && ((_a = res.data) === null || _a === void 0 ? void 0 : _a.menuItems)) {
|
|
12405
|
-
this.menuItems = res.data.menuItems;
|
|
12406
|
-
localStorage.setItem(LocalStorageProperties.SideBarMenuItems, JSON.stringify(this.menuItems));
|
|
12407
|
-
this.items = this.menuItems.filter(i => i.type !== 'dropDown');
|
|
12408
|
-
}
|
|
12409
|
-
});
|
|
12410
|
-
}
|
|
11986
|
+
leave(i) {
|
|
11987
|
+
this.showBackGroundColor = null;
|
|
12411
11988
|
}
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
const index = this.items.findIndex(i => this.router.url === '/' + i.state);
|
|
12415
|
-
this.selectedRowIndex = index >= 0 ? index : null;
|
|
12416
|
-
if (this.router.url.includes('/dashboard-management'))
|
|
12417
|
-
this.selectedRowIndex = 99;
|
|
12418
|
-
}
|
|
11989
|
+
toggleDropdown(item) {
|
|
11990
|
+
item.open = !item.open;
|
|
12419
11991
|
}
|
|
12420
|
-
//
|
|
12421
|
-
|
|
12422
|
-
|
|
12423
|
-
|
|
12424
|
-
|
|
12425
|
-
|
|
12426
|
-
openMenu(link) {
|
|
12427
|
-
this.router.navigate([link]);
|
|
12428
|
-
const index = this.items.findIndex(item => item.state === link);
|
|
12429
|
-
if (index >= 0)
|
|
12430
|
-
this.selectMenu(index);
|
|
11992
|
+
// ✅ NEW: unified method
|
|
11993
|
+
selectMenu(index, link) {
|
|
11994
|
+
this.selectedRowIndex = index;
|
|
11995
|
+
if (link) {
|
|
11996
|
+
this.router.navigate([link]);
|
|
11997
|
+
}
|
|
12431
11998
|
}
|
|
12432
11999
|
}
|
|
12433
|
-
SideBarComponent.ɵfac = function SideBarComponent_Factory(t) { return new (t || SideBarComponent)(i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i2.Router)
|
|
12434
|
-
SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideBarComponent, selectors: [["app-sidebar"]],
|
|
12000
|
+
SideBarComponent.ɵfac = function SideBarComponent_Factory(t) { return new (t || SideBarComponent)(i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i2.Router)); };
|
|
12001
|
+
SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideBarComponent, selectors: [["app-sidebar"]], decls: 11, vars: 5, consts: [[1, "d-flex", "flex-column", "justify-content-center", "align-items-center", 2, "width", "100vw", "height", "calc(100vh - 60px)", "background-color", "#F9FAFB", "padding", "30px", "overflow", "auto"], [1, "row", "justify-content-center", "align-items-center", 2, "height", "auto"], [1, "col-6", "col-md-3", "mb-4"], [1, "card", "cursor-pointer", 2, "height", "150px", "border-radius", "12px", "transition", "all 0.3s ease", "background", "#fff", "box-shadow", "0 2px 6px rgba(0,0,0,0.08)", "border", "2px solid transparent", 3, "ngStyle", "mouseenter", "mouseleave", "click"], [1, "card-body", "d-flex", "flex-column", "align-items-center", "justify-content-center"], [2, "font-size", "40px", "margin-bottom", "10px", "width", "48px", "height", "48px", "display", "flex", "align-items", "center", "justify-content", "center", "background", "linear-gradient(135deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], [2, "font-size", "14px", "margin", "0", "color", "#111827", "text-align", "center"], ["class", "col-6 col-md-3 mb-4", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["class", "w-100 d-flex flex-column align-items-center cursor-pointer", 3, "click", 4, "ngIf"], ["class", "mt-2", 4, "ngIf"], ["class", "row w-100 mt-2", 4, "ngIf"], ["target", "_blank", 1, "w-100", "d-flex", "flex-column", "align-items-center", 3, "href"], [1, "w-100", "d-flex", "flex-column", "align-items-center", "cursor-pointer", 3, "click"], [2, "font-size", "24px", "margin-top", "5px", "width", "32px", "height", "32px", "background", "linear-gradient(135deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], [1, "mt-2"], ["class", "badge rounded-pill", 3, "ngStyle", 4, "ngFor", "ngForOf"], [1, "badge", "rounded-pill", 3, "ngStyle"], [1, "row", "w-100", "mt-2"], [1, "card", "cursor-pointer", 2, "height", "150px", "border-radius", "12px", "transition", "all 0.3s ease", "background", "#fff", "box-shadow", "0 2px 6px rgba(0,0,0,0.08)", "border", "2px solid transparent", 3, "click"]], template: function SideBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12435
12002
|
i0.ɵɵelementStart(0, "div", 0);
|
|
12436
12003
|
i0.ɵɵelementStart(1, "div", 1);
|
|
12437
12004
|
i0.ɵɵelementStart(2, "div", 2);
|
|
12438
12005
|
i0.ɵɵelementStart(3, "div", 3);
|
|
12439
|
-
i0.ɵɵlistener("mouseenter", function SideBarComponent_Template_div_mouseenter_3_listener() { return ctx.enter(99); })("mouseleave", function SideBarComponent_Template_div_mouseleave_3_listener() { return ctx.leave(99); })("click", function SideBarComponent_Template_div_click_3_listener() { return ctx.selectMenu(99); });
|
|
12006
|
+
i0.ɵɵlistener("mouseenter", function SideBarComponent_Template_div_mouseenter_3_listener() { return ctx.enter(99); })("mouseleave", function SideBarComponent_Template_div_mouseleave_3_listener() { return ctx.leave(99); })("click", function SideBarComponent_Template_div_click_3_listener() { return ctx.selectMenu(99, "/dashboard-management"); });
|
|
12440
12007
|
i0.ɵɵelementStart(4, "div", 4);
|
|
12441
12008
|
i0.ɵɵelementStart(5, "mat-icon", 5);
|
|
12442
12009
|
i0.ɵɵtext(6, "home");
|
|
@@ -12447,28 +12014,25 @@ SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideBarCom
|
|
|
12447
12014
|
i0.ɵɵelementEnd();
|
|
12448
12015
|
i0.ɵɵelementEnd();
|
|
12449
12016
|
i0.ɵɵelementEnd();
|
|
12450
|
-
i0.ɵɵtemplate(9, SideBarComponent_div_9_Template,
|
|
12017
|
+
i0.ɵɵtemplate(9, SideBarComponent_div_9_Template, 8, 7, "div", 7);
|
|
12018
|
+
i0.ɵɵpipe(10, "async");
|
|
12451
12019
|
i0.ɵɵelementEnd();
|
|
12452
12020
|
i0.ɵɵelementEnd();
|
|
12453
12021
|
} if (rf & 2) {
|
|
12454
12022
|
i0.ɵɵadvance(3);
|
|
12455
|
-
i0.ɵɵproperty("ngStyle",
|
|
12023
|
+
i0.ɵɵproperty("ngStyle", (ctx.selectedRowIndex == 99 || ctx.showBackGroundColor == 99) && i0.ɵɵpureFunction0(4, _c1$1));
|
|
12456
12024
|
i0.ɵɵadvance(6);
|
|
12457
|
-
i0.ɵɵproperty("ngForOf", ctx.
|
|
12458
|
-
} }, directives: [
|
|
12025
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(10, 2, ctx.menuItems$));
|
|
12026
|
+
} }, directives: [i10.NgStyle, i4$1.DefaultStyleDirective, i17.MatIcon, i10.NgForOf, i10.NgIf], pipes: [i10.AsyncPipe, SoftLabelPipe, i5$1.TranslatePipe], encapsulation: 2 });
|
|
12459
12027
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SideBarComponent, [{
|
|
12460
12028
|
type: Component,
|
|
12461
12029
|
args: [{
|
|
12462
|
-
selector:
|
|
12463
|
-
templateUrl:
|
|
12030
|
+
selector: "app-sidebar",
|
|
12031
|
+
templateUrl: "./side-bar.component.html"
|
|
12464
12032
|
}]
|
|
12465
|
-
}], function () { return [{ type: i3.Store }, { type: i2.Router }
|
|
12466
|
-
type: Input
|
|
12467
|
-
}], iconMenuTitle: [{
|
|
12468
|
-
type: Input
|
|
12469
|
-
}] }); })();
|
|
12033
|
+
}], function () { return [{ type: i3.Store }, { type: i2.Router }]; }, null); })();
|
|
12470
12034
|
|
|
12471
|
-
function
|
|
12035
|
+
function AdminLayoutComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
12472
12036
|
i0.ɵɵelementStart(0, "div", 9);
|
|
12473
12037
|
i0.ɵɵelementStart(1, "div", 10);
|
|
12474
12038
|
i0.ɵɵelement(2, "div", 11);
|
|
@@ -12476,17 +12040,17 @@ function AdminLayoutComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
12476
12040
|
i0.ɵɵelementEnd();
|
|
12477
12041
|
i0.ɵɵelementEnd();
|
|
12478
12042
|
} }
|
|
12479
|
-
function
|
|
12043
|
+
function AdminLayoutComponent_div_9_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
12480
12044
|
i0.ɵɵelement(0, "div", 16);
|
|
12481
12045
|
} }
|
|
12482
|
-
function
|
|
12046
|
+
function AdminLayoutComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
12483
12047
|
i0.ɵɵelementStart(0, "div", 13);
|
|
12484
12048
|
i0.ɵɵelementStart(1, "span", 14);
|
|
12485
12049
|
i0.ɵɵtext(2);
|
|
12486
12050
|
i0.ɵɵpipe(3, "translate");
|
|
12487
12051
|
i0.ɵɵpipe(4, "translate");
|
|
12488
12052
|
i0.ɵɵelementEnd();
|
|
12489
|
-
i0.ɵɵtemplate(5,
|
|
12053
|
+
i0.ɵɵtemplate(5, AdminLayoutComponent_div_9_div_5_Template, 1, 0, "div", 15);
|
|
12490
12054
|
i0.ɵɵelementEnd();
|
|
12491
12055
|
} if (rf & 2) {
|
|
12492
12056
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -12704,7 +12268,7 @@ class AdminLayoutComponent {
|
|
|
12704
12268
|
AdminLayoutComponent.ɵfac = function AdminLayoutComponent_Factory(t) { return new (t || AdminLayoutComponent)(i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i5$1.TranslateService), i0.ɵɵdirectiveInject(LayoutService), i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i5.CookieService), i0.ɵɵdirectiveInject(i1$2.Actions), i0.ɵɵdirectiveInject(i10.Location), i0.ɵɵdirectiveInject(CommonService), i0.ɵɵdirectiveInject(i2$2.PubNubAngular), i0.ɵɵdirectiveInject(SignalrService)); };
|
|
12705
12269
|
AdminLayoutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdminLayoutComponent, selectors: [["app-admin-layout"]], hostBindings: function AdminLayoutComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
12706
12270
|
i0.ɵɵlistener("resize", function AdminLayoutComponent_resize_HostBindingHandler($event) { return ctx.onResize($event); }, false, i0.ɵɵresolveWindow);
|
|
12707
|
-
} }, decls:
|
|
12271
|
+
} }, decls: 10, vars: 8, consts: [["fgsSize", "180", "color", "primary", 3, "fgsType"], [1, "container-fluid", "p-0", 2, "min-height", "100vh", "width", "100%", "display", "flex", "flex-direction", "column", 3, "dir"], [2, "z-index", "1200", "position", "relative"], [3, "opened"], [1, "flex-grow-1", "d-flex", 2, "position", "relative", "overflow", "hidden"], [1, "flex-grow-1", "d-flex", "flex-column", 2, "overflow-y", "auto", "position", "relative", "background-color", "#f5f5f5", 3, "ngClass"], [1, "flex-grow-1", "d-flex", "justify-content-center", "align-items-start", "p-3"], ["class", "d-flex justify-content-center align-items-center", "style", "position: absolute; top: 0; left:0; right:0; bottom:0; z-index: 1100; background: rgba(255,255,255,0.6);", 4, "ngIf"], ["id", "btrak-preloader", "class", "text-center", 4, "ngIf"], [1, "d-flex", "justify-content-center", "align-items-center", 2, "position", "absolute", "top", "0", "left", "0", "right", "0", "bottom", "0", "z-index", "1100", "background", "rgba(255,255,255,0.6)"], [1, "spinner"], [1, "double-bounce1", "mat-bg-accent"], [1, "double-bounce2", "mat-bg-primary"], ["id", "btrak-preloader", 1, "text-center"], [1, "preloading-text"], ["id", "btrak-loader", 4, "ngIf"], ["id", "btrak-loader"]], template: function AdminLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12708
12272
|
i0.ɵɵelement(0, "ngx-ui-loader", 0);
|
|
12709
12273
|
i0.ɵɵelementStart(1, "div", 1);
|
|
12710
12274
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -12714,14 +12278,11 @@ AdminLayoutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdminL
|
|
|
12714
12278
|
i0.ɵɵelementEnd();
|
|
12715
12279
|
i0.ɵɵelementStart(4, "div", 4);
|
|
12716
12280
|
i0.ɵɵelementStart(5, "div", 5);
|
|
12717
|
-
i0.ɵɵelementStart(6, "
|
|
12718
|
-
i0.ɵɵelement(7, "
|
|
12281
|
+
i0.ɵɵelementStart(6, "app-sidebar", 6);
|
|
12282
|
+
i0.ɵɵelement(7, "router-outlet");
|
|
12719
12283
|
i0.ɵɵelementEnd();
|
|
12720
|
-
i0.ɵɵ
|
|
12721
|
-
i0.ɵɵ
|
|
12722
|
-
i0.ɵɵelementEnd();
|
|
12723
|
-
i0.ɵɵtemplate(10, AdminLayoutComponent_div_10_Template, 4, 0, "div", 7);
|
|
12724
|
-
i0.ɵɵtemplate(11, AdminLayoutComponent_div_11_Template, 6, 8, "div", 8);
|
|
12284
|
+
i0.ɵɵtemplate(8, AdminLayoutComponent_div_8_Template, 4, 0, "div", 7);
|
|
12285
|
+
i0.ɵɵtemplate(9, AdminLayoutComponent_div_9_Template, 6, 8, "div", 8);
|
|
12725
12286
|
i0.ɵɵelementEnd();
|
|
12726
12287
|
i0.ɵɵelementEnd();
|
|
12727
12288
|
i0.ɵɵelementEnd();
|
|
@@ -12731,11 +12292,11 @@ AdminLayoutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdminL
|
|
|
12731
12292
|
i0.ɵɵproperty("dir", ctx.layoutConf.dir);
|
|
12732
12293
|
i0.ɵɵadvance(4);
|
|
12733
12294
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c0$5, ctx.display, ctx.dashboardPage));
|
|
12734
|
-
i0.ɵɵadvance(
|
|
12295
|
+
i0.ɵɵadvance(3);
|
|
12735
12296
|
i0.ɵɵproperty("ngIf", ctx.isModuleLoading);
|
|
12736
12297
|
i0.ɵɵadvance(1);
|
|
12737
12298
|
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
12738
|
-
} }, directives: [i3$1.ɵb, i12$1.Dir, HeaderSideComponent, i10.NgClass,
|
|
12299
|
+
} }, directives: [i3$1.ɵb, i12$1.Dir, HeaderSideComponent, i10.NgClass, i4$1.DefaultClassDirective, SideBarComponent, i2.RouterOutlet, i10.NgIf], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
12739
12300
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdminLayoutComponent, [{
|
|
12740
12301
|
type: Component,
|
|
12741
12302
|
args: [{
|
|
@@ -12930,7 +12491,7 @@ HeaderTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderTo
|
|
|
12930
12491
|
i0.ɵɵproperty("ngIf", (tmp_5_0 = i0.ɵɵpipeBind1(21, 9, ctx.authenticatedUserRecord$)) == null ? null : tmp_5_0.profileImage);
|
|
12931
12492
|
i0.ɵɵadvance(2);
|
|
12932
12493
|
i0.ɵɵproperty("ngIf", !((tmp_6_0 = i0.ɵɵpipeBind1(23, 11, ctx.authenticatedUserRecord$)) == null ? null : tmp_6_0.profileImage));
|
|
12933
|
-
} }, directives: [i10.NgForOf,
|
|
12494
|
+
} }, directives: [i10.NgForOf, i32.MatSelect, i9.NgControlStatus, i9.NgModel, i8.MatButton, i7$1.MatTooltip, i17.MatIcon, i16.MatMenuTrigger, i10.NgIf, i16.MatMenu, i16.MatMenuItem, i2.RouterLink, i2.RouterLinkWithHref, i14.MatOption], pipes: [i10.AsyncPipe, i5$1.TranslatePipe], encapsulation: 2 });
|
|
12934
12495
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderTopComponent, [{
|
|
12935
12496
|
type: Component,
|
|
12936
12497
|
args: [{
|
|
@@ -12941,6 +12502,99 @@ HeaderTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderTo
|
|
|
12941
12502
|
type: Input
|
|
12942
12503
|
}] }); })();
|
|
12943
12504
|
|
|
12505
|
+
class AnnoucementDialogComponent extends CustomAppBaseComponent {
|
|
12506
|
+
constructor(AppDialog, routes, data, dialog) {
|
|
12507
|
+
super();
|
|
12508
|
+
this.AppDialog = AppDialog;
|
|
12509
|
+
this.routes = routes;
|
|
12510
|
+
this.data = data;
|
|
12511
|
+
this.dialog = dialog;
|
|
12512
|
+
this.closeMatDialog = new EventEmitter();
|
|
12513
|
+
this.announcementId = data.announcementId;
|
|
12514
|
+
this.announcement = data.announcement;
|
|
12515
|
+
this.announcedBy = data.announcedBy;
|
|
12516
|
+
this.announcedById = data.announcedById;
|
|
12517
|
+
this.announcedOn = data.announcedOn;
|
|
12518
|
+
this.announcedByUserImage = data.announcedByUserImage;
|
|
12519
|
+
}
|
|
12520
|
+
set _data(data) {
|
|
12521
|
+
if (data && data !== undefined) {
|
|
12522
|
+
let annoucementData = data[0];
|
|
12523
|
+
if (annoucementData) {
|
|
12524
|
+
this.currentDialogId = annoucementData.dialogId;
|
|
12525
|
+
this.currentDialog = this.dialog.getDialogById(this.currentDialogId);
|
|
12526
|
+
this.announcementId = annoucementData.announcementId;
|
|
12527
|
+
this.announcement = annoucementData.announcement;
|
|
12528
|
+
this.announcedBy = annoucementData.announcedBy;
|
|
12529
|
+
this.announcedById = annoucementData.announcedById;
|
|
12530
|
+
this.announcedOn = annoucementData.announcedOn;
|
|
12531
|
+
this.announcedByUserImage = annoucementData.announcedByUserImage;
|
|
12532
|
+
}
|
|
12533
|
+
}
|
|
12534
|
+
}
|
|
12535
|
+
onNoClick() {
|
|
12536
|
+
this.closeMatDialog.emit("");
|
|
12537
|
+
this.currentDialog.close();
|
|
12538
|
+
}
|
|
12539
|
+
ngOnInit() {
|
|
12540
|
+
super.ngOnInit();
|
|
12541
|
+
}
|
|
12542
|
+
}
|
|
12543
|
+
AnnoucementDialogComponent.ɵfac = function AnnoucementDialogComponent_Factory(t) { return new (t || AnnoucementDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA), i0.ɵɵdirectiveInject(i1$3.MatDialog)); };
|
|
12544
|
+
AnnoucementDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AnnoucementDialogComponent, selectors: [["announcement-dialog"]], inputs: { _data: ["data", "_data"] }, outputs: { closeMatDialog: "closeMatDialog" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 19, consts: [[1, "custom-dialog"], ["mat-dialog-close", "", 1, "custom-close", 3, "click"], ["icon", "times", 1, "project-dialog"], ["mat-dialog-content", "", "id", "style-1", 1, "project-dialogContent"], [1, "p-0"], ["fxLayout", "row", 1, "announcement"], ["fxFlex", "", "fxLayout", "column"], ["fxFlex", "100px", "fxLayoutAlign", "space-around center"], ["matTooltipClass", "tooltipClass-mat", "size", "80", 3, "matTooltip", "name", "src", "isRound"], ["fxFlex", "", "fxLayoutAlign", "space-around center", 2, "text-align", "center"], [3, "innerHTML"], ["fxFlex", "20px", "fxLayoutAlign", "space-around center", 1, "mb-1"]], template: function AnnoucementDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12545
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
12546
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
12547
|
+
i0.ɵɵlistener("click", function AnnoucementDialogComponent_Template_div_click_1_listener() { return ctx.onNoClick(); });
|
|
12548
|
+
i0.ɵɵelement(2, "fa-icon", 2);
|
|
12549
|
+
i0.ɵɵelementEnd();
|
|
12550
|
+
i0.ɵɵelementEnd();
|
|
12551
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
12552
|
+
i0.ɵɵelementStart(4, "mat-card", 4);
|
|
12553
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
12554
|
+
i0.ɵɵelementStart(6, "div", 6);
|
|
12555
|
+
i0.ɵɵelementStart(7, "div", 7);
|
|
12556
|
+
i0.ɵɵelement(8, "app-avatar", 8);
|
|
12557
|
+
i0.ɵɵpipe(9, "removeSpecialCharacters");
|
|
12558
|
+
i0.ɵɵpipe(10, "fetchSizedAndCachedImage");
|
|
12559
|
+
i0.ɵɵelementEnd();
|
|
12560
|
+
i0.ɵɵelementStart(11, "div", 9);
|
|
12561
|
+
i0.ɵɵelement(12, "span", 10);
|
|
12562
|
+
i0.ɵɵpipe(13, "sanitizeHtml");
|
|
12563
|
+
i0.ɵɵelementEnd();
|
|
12564
|
+
i0.ɵɵelementStart(14, "div", 11);
|
|
12565
|
+
i0.ɵɵtext(15);
|
|
12566
|
+
i0.ɵɵpipe(16, "date");
|
|
12567
|
+
i0.ɵɵpipe(17, "utcToLocalTime");
|
|
12568
|
+
i0.ɵɵelementEnd();
|
|
12569
|
+
i0.ɵɵelementEnd();
|
|
12570
|
+
i0.ɵɵelementEnd();
|
|
12571
|
+
i0.ɵɵelementEnd();
|
|
12572
|
+
i0.ɵɵelementEnd();
|
|
12573
|
+
} if (rf & 2) {
|
|
12574
|
+
i0.ɵɵadvance(8);
|
|
12575
|
+
i0.ɵɵpropertyInterpolate("matTooltip", ctx.announcedBy);
|
|
12576
|
+
i0.ɵɵproperty("name", i0.ɵɵpipeBind1(9, 6, ctx.announcedBy))("src", i0.ɵɵpipeBind3(10, 8, ctx.announcedByUserImage, "80", ""))("isRound", true);
|
|
12577
|
+
i0.ɵɵadvance(4);
|
|
12578
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(13, 12, ctx.announcement), i0.ɵɵsanitizeHtml);
|
|
12579
|
+
i0.ɵɵadvance(3);
|
|
12580
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(16, 14, i0.ɵɵpipeBind1(17, 17, ctx.announcedOn), "dd/MM/yyyy HH:mm"), " ");
|
|
12581
|
+
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCard, i1$4.DefaultLayoutDirective, i1$4.DefaultFlexDirective, i1$4.DefaultLayoutAlignDirective, i36.SnovasysAvatarComponent, i7$1.MatTooltip], pipes: [RemoveSpecialCharactersPipe, FetchSizedAndCachedImagePipe, SanitizeHtmlPipe, i10.DatePipe, UtcToLocalTimePipe], encapsulation: 2 });
|
|
12582
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnnoucementDialogComponent, [{
|
|
12583
|
+
type: Component,
|
|
12584
|
+
args: [{
|
|
12585
|
+
selector: "announcement-dialog",
|
|
12586
|
+
templateUrl: "./announcement-dialog.component.html"
|
|
12587
|
+
}]
|
|
12588
|
+
}], function () { return [{ type: i1$3.MatDialogRef }, { type: i2.Router }, { type: undefined, decorators: [{
|
|
12589
|
+
type: Inject,
|
|
12590
|
+
args: [MAT_DIALOG_DATA]
|
|
12591
|
+
}] }, { type: i1$3.MatDialog }]; }, { closeMatDialog: [{
|
|
12592
|
+
type: Output
|
|
12593
|
+
}], _data: [{
|
|
12594
|
+
type: Input,
|
|
12595
|
+
args: ["data"]
|
|
12596
|
+
}] }); })();
|
|
12597
|
+
|
|
12944
12598
|
function SidenavComponent_div_1_div_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
12945
12599
|
i0.ɵɵelementStart(0, "button", 11);
|
|
12946
12600
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
@@ -13347,7 +13001,7 @@ SidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavCom
|
|
|
13347
13001
|
i0.ɵɵproperty("ngIf", ctx.hasIconTypeMenuItem);
|
|
13348
13002
|
i0.ɵɵadvance(2);
|
|
13349
13003
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 2, ctx.menuItems$));
|
|
13350
|
-
} }, directives: [i10.NgIf, i10.NgForOf, i7$2.MatDivider, i10.NgStyle,
|
|
13004
|
+
} }, directives: [i10.NgIf, i10.NgForOf, i7$2.MatDivider, i10.NgStyle, i4$1.DefaultStyleDirective, i8.MatButton, i2.RouterLinkActive, i7$1.MatTooltip, i2.RouterLink, i17.MatIcon, i2.RouterLinkWithHref, i1$4.DefaultFlexDirective], pipes: [i10.AsyncPipe, i5$1.TranslatePipe], encapsulation: 2 });
|
|
13351
13005
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
|
|
13352
13006
|
type: Component,
|
|
13353
13007
|
args: [{
|
|
@@ -13387,7 +13041,7 @@ SidebarTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Sidebar
|
|
|
13387
13041
|
i0.ɵɵelement(2, "app-sidenav");
|
|
13388
13042
|
i0.ɵɵelementEnd();
|
|
13389
13043
|
i0.ɵɵelementEnd();
|
|
13390
|
-
} }, directives: [
|
|
13044
|
+
} }, directives: [i1$4.DefaultLayoutDirective, i2$3.PerfectScrollbarDirective, SidenavComponent], encapsulation: 2 });
|
|
13391
13045
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidebarTopComponent, [{
|
|
13392
13046
|
type: Component,
|
|
13393
13047
|
args: [{
|
|
@@ -13396,85 +13050,6 @@ SidebarTopComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Sidebar
|
|
|
13396
13050
|
}]
|
|
13397
13051
|
}], function () { return []; }, null); })();
|
|
13398
13052
|
|
|
13399
|
-
class FeedTimeComponent extends CustomAppBaseComponent {
|
|
13400
|
-
constructor(projectModulesService, compiler, vcr) {
|
|
13401
|
-
super();
|
|
13402
|
-
this.projectModulesService = projectModulesService;
|
|
13403
|
-
this.compiler = compiler;
|
|
13404
|
-
this.vcr = vcr;
|
|
13405
|
-
this.componentInputs = {
|
|
13406
|
-
isFeedTimeSheet: false
|
|
13407
|
-
};
|
|
13408
|
-
this.outputs = {
|
|
13409
|
-
closeFeedTimeSheetPopup: () => this.closeFeedTimeSheet()
|
|
13410
|
-
};
|
|
13411
|
-
this.closeFeedTimeSheetPopup = new EventEmitter();
|
|
13412
|
-
}
|
|
13413
|
-
set _isFeedTimeSheet(data) {
|
|
13414
|
-
if (data != undefined && data != null) {
|
|
13415
|
-
this.componentInputs = {
|
|
13416
|
-
isFeedTimeSheet: data
|
|
13417
|
-
};
|
|
13418
|
-
this.loadComponent();
|
|
13419
|
-
}
|
|
13420
|
-
}
|
|
13421
|
-
ngOnInit() {
|
|
13422
|
-
this.injector = this.vcr.injector;
|
|
13423
|
-
super.ngOnInit();
|
|
13424
|
-
}
|
|
13425
|
-
closeFeedTimeSheet() {
|
|
13426
|
-
this.closeFeedTimeSheetPopup.emit();
|
|
13427
|
-
}
|
|
13428
|
-
loadComponent() {
|
|
13429
|
-
// var modules = this.shellModulesService["modules"];
|
|
13430
|
-
var loader = this.projectModulesService["modules"];
|
|
13431
|
-
var modules = JSON.parse(localStorage.getItem("Modules"));
|
|
13432
|
-
var module = _.find(modules, function (module) { return module.modulePackageName == 'TimesheetPackageModule'; });
|
|
13433
|
-
var path = loader[module.modulePackageName];
|
|
13434
|
-
path()
|
|
13435
|
-
.then(elementModuleOrFactory => {
|
|
13436
|
-
if (elementModuleOrFactory instanceof NgModuleFactory) {
|
|
13437
|
-
// if ViewEngine
|
|
13438
|
-
return elementModuleOrFactory;
|
|
13439
|
-
}
|
|
13440
|
-
else {
|
|
13441
|
-
try {
|
|
13442
|
-
// if Ivy
|
|
13443
|
-
return this.compiler.compileModuleAsync(elementModuleOrFactory);
|
|
13444
|
-
}
|
|
13445
|
-
catch (err) {
|
|
13446
|
-
throw err;
|
|
13447
|
-
}
|
|
13448
|
-
}
|
|
13449
|
-
}).then((moduleFactory) => {
|
|
13450
|
-
const componentService = moduleFactory.moduleType.componentService;
|
|
13451
|
-
var allComponentsInModule = componentService.components;
|
|
13452
|
-
this.ngModuleRef = moduleFactory.create(this.injector);
|
|
13453
|
-
var componentDetails = allComponentsInModule.find(elementInArray => elementInArray.name === "Time punch card");
|
|
13454
|
-
this.feedTimeComponent = this.ngModuleRef.componentFactoryResolver.resolveComponentFactory(componentDetails.componentTypeObject);
|
|
13455
|
-
});
|
|
13456
|
-
}
|
|
13457
|
-
}
|
|
13458
|
-
FeedTimeComponent.ɵfac = function FeedTimeComponent_Factory(t) { return new (t || FeedTimeComponent)(i0.ɵɵdirectiveInject(ShellModulesService), i0.ɵɵdirectiveInject(i0.Compiler), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
13459
|
-
FeedTimeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FeedTimeComponent, selectors: [["app-feed-time"]], inputs: { _isFeedTimeSheet: ["isFeedTimeSheet", "_isFeedTimeSheet"] }, outputs: { closeFeedTimeSheetPopup: "closeFeedTimeSheetPopup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 5, consts: [[3, "ndcDynamicFactory", "ndcDynamicComponent", "ndcDynamicInjector", "ndcDynamicInputs", "ndcDynamicOutputs"]], template: function FeedTimeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13460
|
-
i0.ɵɵelement(0, "ndc-dynamic", 0);
|
|
13461
|
-
} if (rf & 2) {
|
|
13462
|
-
i0.ɵɵproperty("ndcDynamicFactory", ctx.feedTimeComponent)("ndcDynamicComponent", ctx.feedTimeComponent)("ndcDynamicInjector", ctx.injector)("ndcDynamicInputs", ctx.componentInputs)("ndcDynamicOutputs", ctx.outputs);
|
|
13463
|
-
} }, directives: [i2$1.DynamicComponent, i2$1.DynamicDirective], encapsulation: 2 });
|
|
13464
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeedTimeComponent, [{
|
|
13465
|
-
type: Component,
|
|
13466
|
-
args: [{
|
|
13467
|
-
selector: 'app-feed-time',
|
|
13468
|
-
templateUrl: 'feed-time.component.html',
|
|
13469
|
-
encapsulation: ViewEncapsulation.None,
|
|
13470
|
-
}]
|
|
13471
|
-
}], function () { return [{ type: ShellModulesService }, { type: i0.Compiler }, { type: i0.ViewContainerRef }]; }, { _isFeedTimeSheet: [{
|
|
13472
|
-
type: Input,
|
|
13473
|
-
args: ["isFeedTimeSheet"]
|
|
13474
|
-
}], closeFeedTimeSheetPopup: [{
|
|
13475
|
-
type: Output
|
|
13476
|
-
}] }); })();
|
|
13477
|
-
|
|
13478
13053
|
class HighLightTextPipe {
|
|
13479
13054
|
transform(value, searchText) {
|
|
13480
13055
|
if (searchText == null || searchText == "") {
|
|
@@ -13810,7 +13385,7 @@ PurchaseMoreLicensesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
13810
13385
|
i0.ɵɵtextInterpolate1(" Pay $", ctx.totalAmount, " ");
|
|
13811
13386
|
i0.ɵɵadvance(1);
|
|
13812
13387
|
i0.ɵɵproperty("ngIf", ctx.isSucessPay);
|
|
13813
|
-
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCardTitle,
|
|
13388
|
+
} }, directives: [i1$3.MatDialogClose, i4.FaIconComponent, i1$3.MatDialogContent, i7.MatCardTitle, i1$4.DefaultLayoutDirective, i1$4.DefaultFlexDirective, i1$4.DefaultLayoutGapDirective, i10$1.MatFormField, i35.MatInput, i9.DefaultValueAccessor, i9.RequiredValidator, i9.NgControlStatus, i9.NgModel, i10.NgIf, i8.MatButton, i32.MatSelect, i14.MatOption], encapsulation: 2 });
|
|
13814
13389
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PurchaseMoreLicensesComponent, [{
|
|
13815
13390
|
type: Component,
|
|
13816
13391
|
args: [{
|
|
@@ -14228,7 +13803,7 @@ ProductAndServicesComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
14228
13803
|
i0.ɵɵproperty("ngIf", !ctx.isLoading);
|
|
14229
13804
|
i0.ɵɵadvance(1);
|
|
14230
13805
|
i0.ɵɵproperty("autoFocus", false)("restoreFocus", false)("interactiveClose", false);
|
|
14231
|
-
} }, directives: [
|
|
13806
|
+
} }, directives: [i1$4.DefaultFlexDirective, i7.MatCard, i1$4.DefaultLayoutDirective, i8.MatButton, i26.SatPopoverAnchor, i10.NgIf, i26.SatPopover, i1$3.MatDialogClose, i4.FaIconComponent, i7.MatCardTitle, i7.MatCardContent, i10.NgForOf], pipes: [i10.DatePipe], encapsulation: 2 });
|
|
14232
13807
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProductAndServicesComponent, [{
|
|
14233
13808
|
type: Component,
|
|
14234
13809
|
args: [{
|
|
@@ -14767,7 +14342,7 @@ CompanyInformationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
14767
14342
|
i0.ɵɵproperty("ngIf", ctx.isCompanyVatEdit);
|
|
14768
14343
|
i0.ɵɵadvance(1);
|
|
14769
14344
|
i0.ɵɵproperty("ngIf", ctx.isCompanyVatEdit);
|
|
14770
|
-
} }, directives: [
|
|
14345
|
+
} }, directives: [i1$4.DefaultFlexDirective, i7.MatCard, i1$4.DefaultLayoutDirective, i10.NgIf, i7$2.MatDivider, i35.MatInput, i9.DefaultValueAccessor, i9.RequiredValidator, i9.NgControlStatus, i9.NgModel, i10$1.MatFormField, i10$1.MatError, i8.MatButton, i17.MatIcon, i4.FaIconComponent], encapsulation: 2 });
|
|
14771
14346
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyInformationComponent, [{
|
|
14772
14347
|
type: Component,
|
|
14773
14348
|
args: [{
|
|
@@ -14928,7 +14503,7 @@ TransactionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Trans
|
|
|
14928
14503
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
14929
14504
|
i0.ɵɵadvance(2);
|
|
14930
14505
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
14931
|
-
} }, directives: [
|
|
14506
|
+
} }, directives: [i1$4.DefaultLayoutDirective, i1$4.DefaultFlexDirective, i7.MatCard, i12.MatNavList, i12.MatListItem, i2.RouterLinkActive, i7$2.MatDivider, i8$1.DatatableComponent, i8$1.DataTableColumnDirective, i8$1.DataTableColumnCellDirective, i8.MatAnchor], pipes: [i10.DatePipe], encapsulation: 2 });
|
|
14932
14507
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TransactionsComponent, [{
|
|
14933
14508
|
type: Component,
|
|
14934
14509
|
args: [{
|
|
@@ -15006,7 +14581,7 @@ class DocumentComponent {
|
|
|
15006
14581
|
});
|
|
15007
14582
|
}
|
|
15008
14583
|
}
|
|
15009
|
-
DocumentComponent.ɵfac = function DocumentComponent_Factory(t) { return new (t || DocumentComponent)(i0.ɵɵdirectiveInject(i15
|
|
14584
|
+
DocumentComponent.ɵfac = function DocumentComponent_Factory(t) { return new (t || DocumentComponent)(i0.ɵɵdirectiveInject(i15.StoreManagementService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
15010
14585
|
DocumentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentComponent, selectors: [["app-document-component"]], decls: 17, vars: 27, consts: [["fxFlex", "", "fxFlex", "100"], [1, "ml-1", "mt-05"], [1, "activity-data", "no-drag", "accessible-ip-height"], ["color", "primary", "mode", "indeterminate", 4, "ngIf"], [1, "btrak", 3, "ngClass", "columnMode", "headerHeight", "footerHeight", "rowHeight", "limit", "rows", "loadingIndicator", "scrollbarH", "virtualization", "messages"], ["minWidth", "150", "name", "NAME", "prop", "documentName", 3, "flexGrow", "sortable"], ["ngx-datatable-cell-template", ""], ["minWidth", "150", "name", "UPDATED AT", "prop", "updatedAt", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "TYPE", "prop", "type", 3, "flexGrow", "sortable"], ["minWidth", "150", "name", "STATUS", "prop", "status", 3, "flexGrow", "sortable"], ["color", "primary", "mode", "indeterminate"], [1, "aclass", "pl-0", 2, "text-decoration", "underline !important", "color", "#2a84c0 !important", 3, "click"]], template: function DocumentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15011
14586
|
i0.ɵɵelementStart(0, "div", 0);
|
|
15012
14587
|
i0.ɵɵelementStart(1, "h4", 1);
|
|
@@ -15046,14 +14621,14 @@ DocumentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentC
|
|
|
15046
14621
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
15047
14622
|
i0.ɵɵadvance(2);
|
|
15048
14623
|
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
15049
|
-
} }, directives: [
|
|
14624
|
+
} }, directives: [i1$4.DefaultFlexDirective, i10.NgIf, i8$1.DatatableComponent, i10.NgClass, i4$1.DefaultClassDirective, i8$1.DataTableColumnDirective, i8$1.DataTableColumnCellDirective, i6$1.MatProgressBar], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
15050
14625
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentComponent, [{
|
|
15051
14626
|
type: Component,
|
|
15052
14627
|
args: [{
|
|
15053
14628
|
selector: "app-document-component",
|
|
15054
14629
|
templateUrl: "./document.component.html"
|
|
15055
14630
|
}]
|
|
15056
|
-
}], function () { return [{ type: i15
|
|
14631
|
+
}], function () { return [{ type: i15.StoreManagementService }, { type: undefined, decorators: [{
|
|
15057
14632
|
type: Inject,
|
|
15058
14633
|
args: [MAT_DIALOG_DATA]
|
|
15059
14634
|
}] }]; }, null); })();
|
|
@@ -15156,7 +14731,7 @@ AccountAndBillingComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
15156
14731
|
i0.ɵɵproperty("ngIf", ctx.selectedTab == "Transactions");
|
|
15157
14732
|
i0.ɵɵadvance(1);
|
|
15158
14733
|
i0.ɵɵproperty("ngIf", ctx.selectedTab == "Documents");
|
|
15159
|
-
} }, directives: [
|
|
14734
|
+
} }, directives: [i1$4.DefaultLayoutDirective, i1$4.DefaultFlexDirective, i2$4.MatTabGroup, i2$4.MatTab, i2$4.MatTabLabel, i10.NgIf, ProductAndServicesComponent, CompanyInformationComponent, TransactionsComponent, DocumentComponent], encapsulation: 2 });
|
|
15160
14735
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccountAndBillingComponent, [{
|
|
15161
14736
|
type: Component,
|
|
15162
14737
|
args: [{
|
|
@@ -15236,7 +14811,7 @@ PaymentMethodComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Paym
|
|
|
15236
14811
|
i0.ɵɵproperty("flexGrow", 1)("sortable", true);
|
|
15237
14812
|
i0.ɵɵadvance(2);
|
|
15238
14813
|
i0.ɵɵproperty("flexGrow", 1)("sortable", false);
|
|
15239
|
-
} }, directives: [
|
|
14814
|
+
} }, directives: [i1$4.DefaultFlexDirective, i8$1.DatatableComponent, i10.NgClass, i4$1.DefaultClassDirective, i8$1.DataTableColumnDirective, i8$1.DataTableColumnCellDirective, i8.MatButton], pipes: [i5$1.TranslatePipe], encapsulation: 2 });
|
|
15240
14815
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentMethodComponent, [{
|
|
15241
14816
|
type: Component,
|
|
15242
14817
|
args: [{
|