cloud-ide-layout 1.0.129 → 1.0.132
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/fesm2022/{cloud-ide-layout-cloud-ide-layout-BTybdTmB.mjs → cloud-ide-layout-cloud-ide-layout-Zvm-Jz6-.mjs} +37 -27
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-Zvm-Jz6-.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BBLAswxu.mjs → cloud-ide-layout-dashboard-manager.component-BU5dJMXu.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-BBLAswxu.mjs.map → cloud-ide-layout-dashboard-manager.component-BU5dJMXu.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-ButcOElJ.mjs → cloud-ide-layout-drawer-theme.component-CdkPeWOp.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-ButcOElJ.mjs.map → cloud-ide-layout-drawer-theme.component-CdkPeWOp.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-CXj1uIaR.mjs → cloud-ide-layout-floating-entity-selection.component-D9j_3wjc.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-CXj1uIaR.mjs.map → cloud-ide-layout-floating-entity-selection.component-D9j_3wjc.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout-home-wrapper.component-Cy68SU-s.mjs +272 -0
- package/fesm2022/cloud-ide-layout-home-wrapper.component-Cy68SU-s.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DMnaN5vv.mjs → cloud-ide-layout-sidedrawer-notes.component-C0iA43A0.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DMnaN5vv.mjs.map → cloud-ide-layout-sidedrawer-notes.component-C0iA43A0.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-BTybdTmB.mjs.map +0 -1
- package/fesm2022/cloud-ide-layout-home-wrapper.component-B-sD0ic5.mjs +0 -272
- package/fesm2022/cloud-ide-layout-home-wrapper.component-B-sD0ic5.mjs.map +0 -1
|
@@ -7,7 +7,7 @@ import { map, filter, tap, catchError, shareReplay, take, distinctUntilChanged }
|
|
|
7
7
|
import * as i2 from '@angular/router';
|
|
8
8
|
import { Router, NavigationEnd, RouteReuseStrategy, RouterModule, ActivatedRoute } from '@angular/router';
|
|
9
9
|
import { Title, DomSanitizer } from '@angular/platform-browser';
|
|
10
|
-
import { CideEleFileManagerService, CideElementsService, CideEleFloatingContainerService, NotificationService, CideIconComponent, CideEleButtonComponent, CideInputComponent, CideSelectComponent, CideThemeService, WebSocketNotificationService, NotificationApiService, CideEleDropdownComponent, CideEleFileImageDirective, CideEleResizerDirective, TooltipDirective, CideSpinnerComponent, CideEleSkeletonLoaderComponent, KeyboardShortcutService, FloatingContainerShortcutsService, CideEleFloatingContainerManagerComponent, CideEleGlobalNotificationsComponent, CideEleBreadcrumbComponent } from 'cloud-ide-element';
|
|
10
|
+
import { CideEleFileManagerService, CideElementsService, CideEleFloatingContainerService, NotificationService, CideIconComponent, CideEleButtonComponent, CideInputComponent, CideSelectComponent, CideThemeService, ConfirmationService, WebSocketNotificationService, NotificationApiService, CideEleDropdownComponent, CideEleFileImageDirective, CideEleResizerDirective, TooltipDirective, CideSpinnerComponent, CideEleSkeletonLoaderComponent, KeyboardShortcutService, FloatingContainerShortcutsService, CideEleFloatingContainerManagerComponent, CideEleGlobalNotificationsComponent, CideEleBreadcrumbComponent } from 'cloud-ide-element';
|
|
11
11
|
import * as i1$1 from '@angular/common';
|
|
12
12
|
import { CommonModule, NgClass, NgFor, NgIf, isPlatformBrowser } from '@angular/common';
|
|
13
13
|
import { FINANCIAL_YEAR_SERVICE_TOKEN, ACADEMIC_YEAR_SERVICE_TOKEN, AUTH_SERVICE_TOKEN, authGuard, ENTITY_SERVICE_TOKEN } from 'cloud-ide-shared';
|
|
@@ -1353,7 +1353,7 @@ class CideLytFloatingEntitySelectionService {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
try {
|
|
1355
1355
|
// Use relative import to avoid circular dependency
|
|
1356
|
-
const module = await import('./cloud-ide-layout-floating-entity-selection.component-
|
|
1356
|
+
const module = await import('./cloud-ide-layout-floating-entity-selection.component-D9j_3wjc.mjs');
|
|
1357
1357
|
if (module.CideLytFloatingEntitySelectionComponent) {
|
|
1358
1358
|
this.containerService.registerComponent('entity-selection-header', module.CideLytFloatingEntitySelectionComponent);
|
|
1359
1359
|
console.log('✅ Entity selection component registered successfully');
|
|
@@ -2323,6 +2323,7 @@ class CideLytHeaderWrapperComponent {
|
|
|
2323
2323
|
sharedService = inject(CideLytSharedService);
|
|
2324
2324
|
fileManagerService = inject(CideLytFileManagerService);
|
|
2325
2325
|
router = inject(Router);
|
|
2326
|
+
confirmationService = inject(ConfirmationService);
|
|
2326
2327
|
authService = inject(AUTH_SERVICE_TOKEN);
|
|
2327
2328
|
wsNotificationService = inject(WebSocketNotificationService);
|
|
2328
2329
|
notificationApiService = inject(NotificationApiService);
|
|
@@ -3397,27 +3398,36 @@ class CideLytHeaderWrapperComponent {
|
|
|
3397
3398
|
* Uses the auth service to sign out and navigate to login page
|
|
3398
3399
|
*/
|
|
3399
3400
|
handleLogout() {
|
|
3400
|
-
// Show confirmation dialog
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3401
|
+
// Show confirmation dialog using cloud-ide-elements ConfirmationService
|
|
3402
|
+
this.confirmationService.ask({
|
|
3403
|
+
title: 'Confirm Logout',
|
|
3404
|
+
message: 'Are you sure you want to logout?',
|
|
3405
|
+
confirmText: 'Logout',
|
|
3406
|
+
cancelText: 'Cancel',
|
|
3407
|
+
type: 'warning',
|
|
3408
|
+
icon: 'logout'
|
|
3409
|
+
}).then((confirmed) => {
|
|
3410
|
+
if (confirmed) {
|
|
3411
|
+
try {
|
|
3412
|
+
// Use the auth service to sign out
|
|
3413
|
+
this.authService.signOut();
|
|
3414
|
+
// Navigate to login page
|
|
3415
|
+
this.router.navigate(['/auth/sign-in']).then(success => {
|
|
3416
|
+
if (!success) {
|
|
3417
|
+
// Fallback: reload the page to force navigation
|
|
3418
|
+
window.location.href = '/auth/sign-in';
|
|
3419
|
+
}
|
|
3420
|
+
}).catch(error => {
|
|
3408
3421
|
// Fallback: reload the page to force navigation
|
|
3409
3422
|
window.location.href = '/auth/sign-in';
|
|
3410
|
-
}
|
|
3411
|
-
}
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
catch (error) {
|
|
3417
|
-
// Still try to navigate to login page even if logout fails
|
|
3418
|
-
this.router.navigate(['/auth/sign-in']);
|
|
3423
|
+
});
|
|
3424
|
+
}
|
|
3425
|
+
catch (error) {
|
|
3426
|
+
// Still try to navigate to login page even if logout fails
|
|
3427
|
+
this.router.navigate(['/auth/sign-in']);
|
|
3428
|
+
}
|
|
3419
3429
|
}
|
|
3420
|
-
}
|
|
3430
|
+
});
|
|
3421
3431
|
}
|
|
3422
3432
|
/**
|
|
3423
3433
|
* Initialize audio context early to avoid browser autoplay restrictions
|
|
@@ -4954,8 +4964,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
4954
4964
|
}
|
|
4955
4965
|
ngOnInit() {
|
|
4956
4966
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
4957
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
4958
|
-
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-
|
|
4967
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-C0iA43A0.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
4968
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-CdkPeWOp.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
4959
4969
|
}
|
|
4960
4970
|
async loadComponent(configFor) {
|
|
4961
4971
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -6358,11 +6368,11 @@ class CideLytSharedWrapperComponent {
|
|
|
6358
6368
|
this.componentContextService.close(fallbackRoute, containerId);
|
|
6359
6369
|
}
|
|
6360
6370
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: CideLytSharedWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6361
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: CideLytSharedWrapperComponent, isStandalone: true, selector: "cide-lyt-shared-wrapper", inputs: { shared_wrapper_setup_param: { classPropertyName: "shared_wrapper_setup_param", publicName: "shared_wrapper_setup_param", isSignal: true, isRequired: false, transformFunction: null }, breadcrumb_data: { classPropertyName: "breadcrumb_data", publicName: "breadcrumb_data", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "breadcrumb", first: true, predicate: CideEleBreadcrumbComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"tw-w-full tw-h-full tw-
|
|
6371
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.7", type: CideLytSharedWrapperComponent, isStandalone: true, selector: "cide-lyt-shared-wrapper", inputs: { shared_wrapper_setup_param: { classPropertyName: "shared_wrapper_setup_param", publicName: "shared_wrapper_setup_param", isSignal: true, isRequired: false, transformFunction: null }, breadcrumb_data: { classPropertyName: "breadcrumb_data", publicName: "breadcrumb_data", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "breadcrumb", first: true, predicate: CideEleBreadcrumbComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"tw-w-full tw-h-full tw-flex tw-flex-col tw-max-w-full tw-overflow-hidden\">\n <div\n class=\"tw-sticky tw-w-full tw-max-w-full tw-top-0 tw-z-50 tw-bg-white tw-border-b tw-border-gray-200 tw-shadow-sm\">\n <div class=\"tw-flex tw-items-center tw-justify-between tw-gap-2 tw-px-3 sm:tw-px-4 tw-py-2 sm:tw-py-0.5 tw-min-w-0 tw-overflow-hidden tw-flex-wrap sm:tw-flex-nowrap\">\n <div class=\"tw-flex-1 tw-min-w-0 tw-overflow-hidden tw-order-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\" (homeClick)=\"onBreadcrumbHomeClick()\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-2 sm:tw-ml-4 tw-order-2\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex-1 tw-w-full tw-max-w-full tw-overflow-y-auto tw-overflow-x-hidden tw-min-h-0\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [":host{display:block;height:100%;width:100%}:host>div{display:flex;flex-direction:column;height:100%;width:100%}::ng-deep cide-lyt-shared-wrapper{height:100%!important;display:block!important;width:100%!important}@media (max-width: 640px){:host>div>div:first-child{padding-left:.75rem;padding-right:.75rem}::ng-deep [breadcrumb-actions]{flex-shrink:0}::ng-deep cide-ele-breadcrumb{font-size:.625rem}}\n"], dependencies: [{ kind: "component", type: CideEleBreadcrumbComponent, selector: "cide-ele-breadcrumb", inputs: ["items", "style", "separator", "showHomeIcon", "homeIcon", "maxItems", "showDropdownOnOverflow", "dropdownOptions", "clickableItems", "showTooltips", "responsive", "compact", "animated", "loadingInput", "disabled", "contextId", "pageCode"], outputs: ["itemClick", "dropdownOptionClick", "homeClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6362
6372
|
}
|
|
6363
6373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: CideLytSharedWrapperComponent, decorators: [{
|
|
6364
6374
|
type: Component,
|
|
6365
|
-
args: [{ selector: 'cide-lyt-shared-wrapper', imports: [CideEleBreadcrumbComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-w-full tw-h-full tw-
|
|
6375
|
+
args: [{ selector: 'cide-lyt-shared-wrapper', imports: [CideEleBreadcrumbComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-w-full tw-h-full tw-flex tw-flex-col tw-max-w-full tw-overflow-hidden\">\n <div\n class=\"tw-sticky tw-w-full tw-max-w-full tw-top-0 tw-z-50 tw-bg-white tw-border-b tw-border-gray-200 tw-shadow-sm\">\n <div class=\"tw-flex tw-items-center tw-justify-between tw-gap-2 tw-px-3 sm:tw-px-4 tw-py-2 sm:tw-py-0.5 tw-min-w-0 tw-overflow-hidden tw-flex-wrap sm:tw-flex-nowrap\">\n <div class=\"tw-flex-1 tw-min-w-0 tw-overflow-hidden tw-order-1\">\n <cide-ele-breadcrumb style=\"modern\" [compact]=\"true\" (homeClick)=\"onBreadcrumbHomeClick()\"></cide-ele-breadcrumb>\n </div>\n <div class=\"tw-flex-shrink-0 tw-ml-2 sm:tw-ml-4 tw-order-2\">\n <ng-content select=\"[breadcrumb-actions]\"></ng-content>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex-1 tw-w-full tw-max-w-full tw-overflow-y-auto tw-overflow-x-hidden tw-min-h-0\">\n <ng-content></ng-content>\n </div>\n</div>", styles: [":host{display:block;height:100%;width:100%}:host>div{display:flex;flex-direction:column;height:100%;width:100%}::ng-deep cide-lyt-shared-wrapper{height:100%!important;display:block!important;width:100%!important}@media (max-width: 640px){:host>div>div:first-child{padding-left:.75rem;padding-right:.75rem}::ng-deep [breadcrumb-actions]{flex-shrink:0}::ng-deep cide-ele-breadcrumb{font-size:.625rem}}\n"] }]
|
|
6366
6376
|
}], ctorParameters: () => [] });
|
|
6367
6377
|
|
|
6368
6378
|
/**
|
|
@@ -6647,7 +6657,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
6647
6657
|
},
|
|
6648
6658
|
{
|
|
6649
6659
|
path: "home",
|
|
6650
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
6660
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-Cy68SU-s.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
6651
6661
|
canActivate: [authGuard],
|
|
6652
6662
|
data: {
|
|
6653
6663
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -6655,7 +6665,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
6655
6665
|
},
|
|
6656
6666
|
{
|
|
6657
6667
|
path: "dashboard-manager",
|
|
6658
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
6668
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-BU5dJMXu.mjs').then(c => c.DashboardManagerComponent),
|
|
6659
6669
|
canActivate: [authGuard],
|
|
6660
6670
|
data: {
|
|
6661
6671
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -8222,4 +8232,4 @@ var floatingEntityRightsSharing_component = /*#__PURE__*/Object.freeze({
|
|
|
8222
8232
|
*/
|
|
8223
8233
|
|
|
8224
8234
|
export { AppStateHelperService as A, CideLytSharedWrapperComponent as C, ENVIRONMENT_CONFIG as E, NotificationSettingsService as N, RightsService as R, CideLytSidebarService as a, CideLytRequestService as b, CideLytSidedrawerService as c, CideLytThemeService as d, AppStateService as e, CloudIdeLayoutService as f, CloudIdeLayoutComponent as g, CideLytSharedService as h, ComponentContextService as i, layoutControlPannelChildRoutes as j, CustomRouteReuseStrategy as k, layoutRoutes as l, CideLytUserStatusService as m, CacheManagerService as n, CideLytFileManagerService as o, processThemeVariable as p, CideLytFloatingEntityRightsSharingComponent as q, CideLytFloatingEntityRightsSharingService as r, setCSSVariable as s, themeFactory as t };
|
|
8225
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
8235
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-Zvm-Jz6-.mjs.map
|