aril 1.2.24 → 1.2.26

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.
Files changed (34) hide show
  1. package/boot/config/api/src/interfaces.d.ts +1 -0
  2. package/esm2022/boot/config/api/src/interfaces.mjs +2 -1
  3. package/esm2022/theme/layout/app/environment-banner/environment-banner.component.mjs +36 -0
  4. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +5 -3
  5. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +64 -22
  6. package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +3 -3
  7. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +8 -3
  8. package/esm2022/ui/table/src/table.component.mjs +8 -1
  9. package/fesm2022/aril-boot-config-api.mjs +1 -0
  10. package/fesm2022/aril-boot-config-api.mjs.map +1 -1
  11. package/fesm2022/aril-theme-layout.mjs +166 -87
  12. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  13. package/fesm2022/aril-ui-table.mjs +7 -0
  14. package/fesm2022/aril-ui-table.mjs.map +1 -1
  15. package/package.json +217 -217
  16. package/theme/layout/app/environment-banner/environment-banner.component.d.ts +13 -0
  17. package/theme/layout/app/environment-banner/environment-banner.component.html +10 -0
  18. package/theme/layout/app/environment-banner/environment-banner.component.scss +103 -0
  19. package/theme/layout/app/environment-banner/environment-banner.component.ts +39 -0
  20. package/theme/layout/app/layout/app.layout.component.html +1 -0
  21. package/theme/layout/app/layout/app.layout.component.ts +2 -0
  22. package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +20 -0
  23. package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +49 -111
  24. package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +344 -152
  25. package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +81 -19
  26. package/theme/layout/app/static-sidebar/static-sidebar.component.scss +1 -1
  27. package/theme/layout/app/topbar/app.topbar.component.d.ts +2 -0
  28. package/theme/layout/app/topbar/app.topbar.component.html +1 -1
  29. package/theme/layout/app/topbar/app.topbar.component.scss +1 -0
  30. package/theme/layout/app/topbar/app.topbar.component.ts +6 -0
  31. package/theme/styles/layout/_content.scss +2 -2
  32. package/theme/styles/layout/_expanded_sidebar.scss +1 -1
  33. package/theme/styles/layout/_main.scss +7 -0
  34. package/theme/styles/layout/_topbar.scss +1 -1
@@ -1,6 +1,7 @@
1
1
  import { UpperCasePipe } from '@angular/common';
2
2
  import { Component, ElementRef, ViewChild, inject } from '@angular/core';
3
3
  import { FormsModule } from '@angular/forms';
4
+ import { Router } from '@angular/router';
4
5
 
5
6
  import { BadgeModule } from 'primeng/badge';
6
7
  import { ButtonModule } from 'primeng/button';
@@ -43,6 +44,7 @@ export class AppTopbarComponent {
43
44
 
44
45
  username!: string;
45
46
  layoutService = inject(LayoutService);
47
+ private readonly router = inject(Router);
46
48
  search: string = '';
47
49
 
48
50
  logoPath: string = '';
@@ -76,6 +78,10 @@ export class AppTopbarComponent {
76
78
  this.layoutService.onMenuToggle();
77
79
  }
78
80
 
81
+ onLogoClick(): void {
82
+ this.router.navigate(['/']);
83
+ }
84
+
79
85
  onProfileButtonClick(): void {
80
86
  this.layoutService.showProfileSidebar();
81
87
  }
@@ -1,9 +1,9 @@
1
1
 
2
2
 
3
3
  .layout-content {
4
- padding: 70px 20px 0 20px !important;
4
+ padding: calc(70px + var(--env-banner-h, 0px)) 20px 0 20px !important;
5
5
  border-radius: 5px 5px 0px 0px !important;
6
- min-height: calc(100vh - 127px);
6
+ min-height: calc(100vh - 127px - var(--env-banner-h, 0px));
7
7
  }
8
8
 
9
9
  // Add styles for the expandable sidebar layout
@@ -1,7 +1,7 @@
1
1
  .new-layout-sidebar {
2
2
  display: flex;
3
3
  position: fixed;
4
- top: 55px; // Adjust based on topbar height
4
+ top: calc(55px + var(--env-banner-h, 0px)); // Adjust based on topbar height
5
5
  left: 0;
6
6
  height: 100%;
7
7
  z-index: 1000;
@@ -25,4 +25,11 @@ a {
25
25
 
26
26
  .layout-container {
27
27
  min-height: 100vh;
28
+
29
+ // Ortam banner'ı render edildiğinde tüm fixed offset'ler (topbar, sidebar, content) bu değişkenle kayar
30
+ --env-banner-h: 0px;
31
+
32
+ &:has(.env-banner) {
33
+ --env-banner-h: 30px;
34
+ }
28
35
  }
@@ -6,7 +6,7 @@
6
6
  background: #fff;
7
7
  padding: 12px 30px;
8
8
  position: fixed;
9
- top: 0;
9
+ top: var(--env-banner-h, 0px);
10
10
  left: 0;
11
11
  right: 0;
12
12
  z-index: 1101;