common-header-lib 0.0.20 → 0.0.22

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.
@@ -21,15 +21,16 @@ import * as i19 from "@angular/forms";
21
21
  import * as i20 from "primeng/inputtext";
22
22
  import * as i21 from "primeng/dropdown";
23
23
  import * as i22 from "primeng/overlaypanel";
24
- import * as i23 from "primeng/badge";
25
- import * as i24 from "primeng/dialog";
26
- import * as i25 from "primeng/skeleton";
27
- import * as i26 from "primeng/paginator";
28
- import * as i27 from "primeng/table";
29
- import * as i28 from "primeng/button";
30
- import * as i29 from "primeng/confirmdialog";
31
- import * as i30 from "@ng-bootstrap/ng-bootstrap";
32
- import * as i31 from "@ngx-translate/core";
24
+ import * as i23 from "primeng/tooltip";
25
+ import * as i24 from "primeng/badge";
26
+ import * as i25 from "primeng/dialog";
27
+ import * as i26 from "primeng/skeleton";
28
+ import * as i27 from "primeng/paginator";
29
+ import * as i28 from "primeng/table";
30
+ import * as i29 from "primeng/button";
31
+ import * as i30 from "primeng/confirmdialog";
32
+ import * as i31 from "@ng-bootstrap/ng-bootstrap";
33
+ import * as i32 from "@ngx-translate/core";
33
34
  /**
34
35
  * Common header library module.
35
36
  *
@@ -50,6 +51,6 @@ import * as i31 from "@ngx-translate/core";
50
51
  */
51
52
  export declare class CommonHeaderLibModule {
52
53
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderLibModule, never>;
53
- static ɵmod: i0.ɵɵNgModuleDeclaration<CommonHeaderLibModule, [typeof i1.CommonHeaderLibComponent, typeof i2.SliceToTwoPipe, typeof i3.customDateFormatPipe, typeof i4.DateDiffPipe, typeof i5.UserSidebarComponent, typeof i6.SidePopupComponent, typeof i7.NgTranslationComponent, typeof i8.UserMailboxComponent, typeof i9.NotificationSidebarComponent, typeof i10.GeneralConfigurationComponent, typeof i11.TimezoneConfigurationComponent, typeof i12.LandingpgConfigComponent, typeof i13.NoServiceMyAccessPgComponent, typeof i14.GridPaginationComponent, typeof i15.ConfirmDialogComponent, typeof i16.ViewpasswordPopupComponent], [typeof i17.CommonModule, typeof i18.HttpClientModule, typeof i19.ReactiveFormsModule, typeof i20.InputTextModule, typeof i21.DropdownModule, typeof i22.OverlayPanelModule, typeof i23.BadgeModule, typeof i24.DialogModule, typeof i25.SkeletonModule, typeof i26.PaginatorModule, typeof i27.TableModule, typeof i28.ButtonModule, typeof i29.ConfirmDialogModule, typeof i30.NgbModule, typeof i31.TranslateModule], [typeof i1.CommonHeaderLibComponent, typeof i2.SliceToTwoPipe, typeof i4.DateDiffPipe, typeof i3.customDateFormatPipe, typeof i15.ConfirmDialogComponent, typeof i16.ViewpasswordPopupComponent, typeof i31.TranslateModule]>;
54
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CommonHeaderLibModule, [typeof i1.CommonHeaderLibComponent, typeof i2.SliceToTwoPipe, typeof i3.customDateFormatPipe, typeof i4.DateDiffPipe, typeof i5.UserSidebarComponent, typeof i6.SidePopupComponent, typeof i7.NgTranslationComponent, typeof i8.UserMailboxComponent, typeof i9.NotificationSidebarComponent, typeof i10.GeneralConfigurationComponent, typeof i11.TimezoneConfigurationComponent, typeof i12.LandingpgConfigComponent, typeof i13.NoServiceMyAccessPgComponent, typeof i14.GridPaginationComponent, typeof i15.ConfirmDialogComponent, typeof i16.ViewpasswordPopupComponent], [typeof i17.CommonModule, typeof i18.HttpClientModule, typeof i19.ReactiveFormsModule, typeof i20.InputTextModule, typeof i21.DropdownModule, typeof i22.OverlayPanelModule, typeof i23.TooltipModule, typeof i24.BadgeModule, typeof i25.DialogModule, typeof i26.SkeletonModule, typeof i27.PaginatorModule, typeof i28.TableModule, typeof i29.ButtonModule, typeof i30.ConfirmDialogModule, typeof i31.NgbModule, typeof i32.TranslateModule], [typeof i1.CommonHeaderLibComponent, typeof i2.SliceToTwoPipe, typeof i4.DateDiffPipe, typeof i3.customDateFormatPipe, typeof i15.ConfirmDialogComponent, typeof i16.ViewpasswordPopupComponent, typeof i32.TranslateModule]>;
54
55
  static ɵinj: i0.ɵɵInjectorDeclaration<CommonHeaderLibModule>;
55
56
  }
@@ -30,11 +30,13 @@ export declare class UserSidebarComponent implements OnInit, OnDestroy {
30
30
  Hr: number;
31
31
  isOpenSidePopup: boolean;
32
32
  showUserDetails: boolean;
33
+ isNameCopied: boolean;
33
34
  constructor(dialogService: DialogService, _cookieService: CookieStorageManagerService, route: Router, msgService: ToastMsgService, _localStorage: StorageService, translateService: TranslateService, httpCommonService: HttpCommonService);
34
35
  ngOnInit(): void;
35
36
  openUserSettingPanel(): void;
36
37
  getLoggedInuserDteils(): void;
37
38
  setLoggedInUserName(userdisplayName: string): void;
39
+ copyUserDisplayName(): void;
38
40
  getcloseDialogBox(): void;
39
41
  getUserLoggedInTime(): void;
40
42
  logoutCurrentUser(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "common-header-lib",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
@@ -0,0 +1,3 @@
1
+ <svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20 9.5L11.75 17.75L8 14" stroke="#323238" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5 2H9.73333C11.2268 2 11.9735 2 12.544 2.29065C13.0457 2.54631 13.4537 2.95426 13.7093 3.45603C14 4.02646 14 4.77319 14 6.26667V11M4.13333 14H9.53333C10.2801 14 10.6535 14 10.9387 13.8547C11.1895 13.7269 11.3935 13.5229 11.5213 13.272C11.6667 12.9868 11.6667 12.6134 11.6667 11.8667V6.46667C11.6667 5.71993 11.6667 5.34656 11.5213 5.06135C11.3935 4.81046 11.1895 4.60649 10.9387 4.47866C10.6535 4.33333 10.2801 4.33333 9.53333 4.33333H4.13333C3.3866 4.33333 3.01323 4.33333 2.72801 4.47866C2.47713 4.60649 2.27315 4.81046 2.14533 5.06135C2 5.34656 2 5.71993 2 6.46667V11.8667C2 12.6134 2 12.9868 2.14533 13.272C2.27315 13.5229 2.47713 13.7269 2.72801 13.8547C3.01323 14 3.3866 14 4.13333 14Z" stroke="#676879" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -1,4 +1,4 @@
1
- .modal-dialog.sidebar-outer{
1
+ .modal-dialog.sidebar-outer {
2
2
  transition: none !important;
3
3
  transform: none !important;
4
4
  float: left;
@@ -11,7 +11,7 @@
11
11
  height: 100vh;
12
12
  position: static;
13
13
  }
14
- .sidebar-container{
14
+ .sidebar-container {
15
15
  // width: 520px;
16
16
  width: 420px;
17
17
  position: fixed;
@@ -24,17 +24,15 @@
24
24
  -moz-transition: all 0.3s ease;
25
25
  background-color: var(--white);
26
26
  }
27
- .modal.show{
28
-
29
- .sidebar-container{
27
+ .modal.show {
28
+ .sidebar-container {
30
29
  right: 0px;
31
30
  }
32
31
  }
33
- .moonIcon{
32
+ .moonIcon {
34
33
  display: none;
35
34
  }
36
- .sidebar-footer{
37
-
35
+ .sidebar-footer {
38
36
  padding: $padding-medium;
39
37
  position: absolute;
40
38
  right: 0px;
@@ -49,36 +47,30 @@
49
47
  padding-top: $padding-top-medium;
50
48
  }
51
49
  }
52
- .sidebar-outer{
53
-
50
+ .sidebar-outer {
54
51
  height: 100vh;
55
52
 
56
- .sidebar-header{
57
-
53
+ .sidebar-header {
58
54
  padding: 12px 15px;
59
55
  background-color: var(--grey-background);
60
56
 
61
- .sh-top{
62
-
57
+ .sh-top {
63
58
  display: flex;
64
59
  align-items: center;
65
60
  justify-content: space-between;
66
61
 
67
- button{
62
+ button {
68
63
  height: 24px;
69
64
  }
70
65
 
71
- .sh-top-left{
72
-
73
- .common-btn{
66
+ .sh-top-left {
67
+ .common-btn {
74
68
  padding-left: 0px;
75
69
  }
76
70
  }
77
71
  }
78
72
 
79
-
80
- .sh-bottom-content{
81
-
73
+ .sh-bottom-content {
82
74
  // margin-top: 12px;
83
75
  // position: relative;
84
76
  padding-left: 14px !important;
@@ -101,21 +93,19 @@
101
93
  align-items: center;
102
94
  // margin-top: 8px;
103
95
 
104
- span{
96
+ span {
105
97
  font-size: 20px;
106
98
  position: relative;
107
99
  top: -1px;
108
100
  }
109
101
  }
110
102
 
111
- h4{
103
+ h4 {
112
104
  // margin-bottom: 8px !important;
113
105
  }
114
-
115
106
  }
116
107
  }
117
108
 
118
-
119
109
  // .sidebar-body{
120
110
 
121
111
  // padding: 12px 20px;
@@ -264,4 +254,4 @@
264
254
  // }
265
255
 
266
256
  // }
267
- }
257
+ }