cloud-ide-layout 1.0.130 → 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-BbNpkUNq.mjs → cloud-ide-layout-cloud-ide-layout-Zvm-Jz6-.mjs} +35 -26
- package/fesm2022/cloud-ide-layout-cloud-ide-layout-Zvm-Jz6-.mjs.map +1 -0
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-Cet1zc7W.mjs → cloud-ide-layout-dashboard-manager.component-BU5dJMXu.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-Cet1zc7W.mjs.map → cloud-ide-layout-dashboard-manager.component-BU5dJMXu.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-Gdug6J1K.mjs → cloud-ide-layout-drawer-theme.component-CdkPeWOp.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-Gdug6J1K.mjs.map → cloud-ide-layout-drawer-theme.component-CdkPeWOp.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-C6e-ATZ_.mjs → cloud-ide-layout-floating-entity-selection.component-D9j_3wjc.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-C6e-ATZ_.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-DMlbYKSS.mjs → cloud-ide-layout-sidedrawer-notes.component-C0iA43A0.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-DMlbYKSS.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-BbNpkUNq.mjs.map +0 -1
- package/fesm2022/cloud-ide-layout-home-wrapper.component-CeuB9Nsb.mjs +0 -272
- package/fesm2022/cloud-ide-layout-home-wrapper.component-CeuB9Nsb.mjs.map +0 -1
|
@@ -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');
|
|
@@ -3398,27 +3398,36 @@ class CideLytHeaderWrapperComponent {
|
|
|
3398
3398
|
* Uses the auth service to sign out and navigate to login page
|
|
3399
3399
|
*/
|
|
3400
3400
|
handleLogout() {
|
|
3401
|
-
// Show confirmation dialog
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
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 => {
|
|
3409
3421
|
// Fallback: reload the page to force navigation
|
|
3410
3422
|
window.location.href = '/auth/sign-in';
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
catch (error) {
|
|
3418
|
-
// Still try to navigate to login page even if logout fails
|
|
3419
|
-
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
|
+
}
|
|
3420
3429
|
}
|
|
3421
|
-
}
|
|
3430
|
+
});
|
|
3422
3431
|
}
|
|
3423
3432
|
/**
|
|
3424
3433
|
* Initialize audio context early to avoid browser autoplay restrictions
|
|
@@ -4955,8 +4964,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
4955
4964
|
}
|
|
4956
4965
|
ngOnInit() {
|
|
4957
4966
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
4958
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
4959
|
-
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);
|
|
4960
4969
|
}
|
|
4961
4970
|
async loadComponent(configFor) {
|
|
4962
4971
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -6359,11 +6368,11 @@ class CideLytSharedWrapperComponent {
|
|
|
6359
6368
|
this.componentContextService.close(fallbackRoute, containerId);
|
|
6360
6369
|
}
|
|
6361
6370
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: CideLytSharedWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6362
|
-
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 });
|
|
6363
6372
|
}
|
|
6364
6373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: CideLytSharedWrapperComponent, decorators: [{
|
|
6365
6374
|
type: Component,
|
|
6366
|
-
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"] }]
|
|
6367
6376
|
}], ctorParameters: () => [] });
|
|
6368
6377
|
|
|
6369
6378
|
/**
|
|
@@ -6648,7 +6657,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
6648
6657
|
},
|
|
6649
6658
|
{
|
|
6650
6659
|
path: "home",
|
|
6651
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
6660
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-Cy68SU-s.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
6652
6661
|
canActivate: [authGuard],
|
|
6653
6662
|
data: {
|
|
6654
6663
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -6656,7 +6665,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
6656
6665
|
},
|
|
6657
6666
|
{
|
|
6658
6667
|
path: "dashboard-manager",
|
|
6659
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
6668
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-BU5dJMXu.mjs').then(c => c.DashboardManagerComponent),
|
|
6660
6669
|
canActivate: [authGuard],
|
|
6661
6670
|
data: {
|
|
6662
6671
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -8223,4 +8232,4 @@ var floatingEntityRightsSharing_component = /*#__PURE__*/Object.freeze({
|
|
|
8223
8232
|
*/
|
|
8224
8233
|
|
|
8225
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 };
|
|
8226
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
8235
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-Zvm-Jz6-.mjs.map
|