cloud-ide-layout 1.0.167 → 1.0.168
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-CWu1ldko.mjs → cloud-ide-layout-cloud-ide-layout-TXOQ0tip.mjs} +24 -10
- package/fesm2022/{cloud-ide-layout-cloud-ide-layout-CWu1ldko.mjs.map → cloud-ide-layout-cloud-ide-layout-TXOQ0tip.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-D5xhRxvK.mjs → cloud-ide-layout-dashboard-manager.component-ik-G60a-.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-dashboard-manager.component-D5xhRxvK.mjs.map → cloud-ide-layout-dashboard-manager.component-ik-G60a-.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BI_t7U7P.mjs → cloud-ide-layout-drawer-theme.component-Dzt70vGh.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-drawer-theme.component-BI_t7U7P.mjs.map → cloud-ide-layout-drawer-theme.component-Dzt70vGh.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-DiNiFhKC.mjs → cloud-ide-layout-floating-entity-selection.component-CFvHxAw7.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-floating-entity-selection.component-DiNiFhKC.mjs.map → cloud-ide-layout-floating-entity-selection.component-CFvHxAw7.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-CLu7_1E7.mjs → cloud-ide-layout-home-wrapper.component-C4YxNQIe.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-home-wrapper.component-CLu7_1E7.mjs.map → cloud-ide-layout-home-wrapper.component-C4YxNQIe.mjs.map} +1 -1
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-uZ1Vel7T.mjs → cloud-ide-layout-sidedrawer-notes.component-DKBaKoE7.mjs} +2 -2
- package/fesm2022/{cloud-ide-layout-sidedrawer-notes.component-uZ1Vel7T.mjs.map → cloud-ide-layout-sidedrawer-notes.component-DKBaKoE7.mjs.map} +1 -1
- package/fesm2022/cloud-ide-layout.mjs +1 -1
- package/package.json +1 -1
- package/src/lib/assets/css/cide-lyt-variable.scss +61 -37
|
@@ -1408,7 +1408,7 @@ class CideLytFloatingEntitySelectionService {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
try {
|
|
1410
1410
|
// Use relative import to avoid circular dependency
|
|
1411
|
-
const module = await import('./cloud-ide-layout-floating-entity-selection.component-
|
|
1411
|
+
const module = await import('./cloud-ide-layout-floating-entity-selection.component-CFvHxAw7.mjs');
|
|
1412
1412
|
if (module.CideLytFloatingEntitySelectionComponent) {
|
|
1413
1413
|
this.containerService.registerComponent('entity-selection-header', module.CideLytFloatingEntitySelectionComponent);
|
|
1414
1414
|
console.log('✅ Entity selection component registered successfully');
|
|
@@ -5192,8 +5192,8 @@ class CideLytSidedrawerWrapperComponent {
|
|
|
5192
5192
|
}
|
|
5193
5193
|
ngOnInit() {
|
|
5194
5194
|
// Initialize the component map (You'd likely populate this from a config or service)
|
|
5195
|
-
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-
|
|
5196
|
-
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-
|
|
5195
|
+
this.componentMap['drowar_notes'] = () => import('./cloud-ide-layout-sidedrawer-notes.component-DKBaKoE7.mjs').then(m => m.CideLytSidedrawerNotesComponent);
|
|
5196
|
+
this.componentMap['drawer_theme'] = () => import('./cloud-ide-layout-drawer-theme.component-Dzt70vGh.mjs').then(m => m.CideLytDrawerThemeComponent);
|
|
5197
5197
|
}
|
|
5198
5198
|
async loadComponent(configFor) {
|
|
5199
5199
|
console.log('🔍 SIDEDRAWER - Loading component:', configFor, 'Current tab:', this.currentTabId);
|
|
@@ -6885,7 +6885,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
6885
6885
|
},
|
|
6886
6886
|
{
|
|
6887
6887
|
path: "home",
|
|
6888
|
-
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-
|
|
6888
|
+
loadComponent: () => import('./cloud-ide-layout-home-wrapper.component-C4YxNQIe.mjs').then(c => c.CideLytHomeWrapperComponent),
|
|
6889
6889
|
canActivate: [authGuard],
|
|
6890
6890
|
data: {
|
|
6891
6891
|
sypg_page_code: "cide_lyt_home" // Used by RequestService to fetch tab properties
|
|
@@ -6893,7 +6893,7 @@ const layoutControlPannelChildRoutes = [{
|
|
|
6893
6893
|
},
|
|
6894
6894
|
{
|
|
6895
6895
|
path: "dashboard-manager",
|
|
6896
|
-
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-
|
|
6896
|
+
loadComponent: () => import('./cloud-ide-layout-dashboard-manager.component-ik-G60a-.mjs').then(c => c.DashboardManagerComponent),
|
|
6897
6897
|
canActivate: [authGuard],
|
|
6898
6898
|
data: {
|
|
6899
6899
|
sypg_page_code: "cide_lyt_dashboard_manager"
|
|
@@ -6913,9 +6913,18 @@ const ENVIRONMENT_CONFIG = new InjectionToken('ENVIRONMENT_CONFIG');
|
|
|
6913
6913
|
function processThemeVariable(key, value) {
|
|
6914
6914
|
// 1. Convert the key from the DB format to the CSS format.
|
|
6915
6915
|
const cssVarName = `${key.replace(/_/g, '-')}`;
|
|
6916
|
-
// 2.
|
|
6916
|
+
// 2. Handle different variable types:
|
|
6917
|
+
// - Scale variables (responsive-scale, font-responsive-scale) should be unitless
|
|
6918
|
+
// - Font size and line height should have 'rem' appended
|
|
6919
|
+
// - Other values remain as-is
|
|
6917
6920
|
let processedValue = value;
|
|
6918
|
-
if
|
|
6921
|
+
// Check if it's a scale variable (should be unitless)
|
|
6922
|
+
if (cssVarName.includes('responsive-scale') || cssVarName.includes('font-responsive-scale')) {
|
|
6923
|
+
// Scale variables are unitless numbers, keep as-is
|
|
6924
|
+
processedValue = value;
|
|
6925
|
+
}
|
|
6926
|
+
else if (cssVarName.includes('font-size') || cssVarName.includes('line-height')) {
|
|
6927
|
+
// Font sizes and line heights get 'rem' unit
|
|
6919
6928
|
processedValue = parseFloat(value) + 'rem';
|
|
6920
6929
|
}
|
|
6921
6930
|
return { cssVarName, processedValue: processedValue };
|
|
@@ -6931,6 +6940,11 @@ function setCSSVariable(key, value, platformId) {
|
|
|
6931
6940
|
const { cssVarName, processedValue } = processThemeVariable(key, value);
|
|
6932
6941
|
const root = document.documentElement;
|
|
6933
6942
|
root.style.setProperty(cssVarName, processedValue);
|
|
6943
|
+
// For font sizes (not scale variables), also update the -base variable so media queries work correctly
|
|
6944
|
+
if (cssVarName.includes('font-size') && !cssVarName.includes('-base') && !cssVarName.includes('responsive-scale')) {
|
|
6945
|
+
const baseVarName = cssVarName + '-base';
|
|
6946
|
+
root.style.setProperty(baseVarName, processedValue);
|
|
6947
|
+
}
|
|
6934
6948
|
}
|
|
6935
6949
|
}
|
|
6936
6950
|
class CideLytThemeService {
|
|
@@ -6994,8 +7008,8 @@ class CideLytThemeService {
|
|
|
6994
7008
|
const { cssVarName, processedValue } = processThemeVariable(key, value);
|
|
6995
7009
|
// Set the CSS custom property on the root element.
|
|
6996
7010
|
root.style.setProperty(cssVarName, processedValue);
|
|
6997
|
-
// For font sizes, also update the -base variable so media queries work correctly
|
|
6998
|
-
if (cssVarName.includes('font-size') && !cssVarName.includes('-base')) {
|
|
7011
|
+
// For font sizes (not scale variables), also update the -base variable so media queries work correctly
|
|
7012
|
+
if (cssVarName.includes('font-size') && !cssVarName.includes('-base') && !cssVarName.includes('responsive-scale')) {
|
|
6999
7013
|
const baseVarName = cssVarName + '-base';
|
|
7000
7014
|
root.style.setProperty(baseVarName, processedValue);
|
|
7001
7015
|
}
|
|
@@ -8465,4 +8479,4 @@ var floatingEntityRightsSharing_component = /*#__PURE__*/Object.freeze({
|
|
|
8465
8479
|
*/
|
|
8466
8480
|
|
|
8467
8481
|
export { AppStateHelperService as A, CideLytSharedWrapperComponent as C, ENVIRONMENT_CONFIG as E, NotificationSettingsService as N, RightsService as R, CideLytSidebarService as a, CideLytSidedrawerService as b, CideLytThemeService as c, AppStateService as d, CloudIdeLayoutService as e, CloudIdeLayoutComponent as f, CideLytSharedService as g, ComponentContextService as h, layoutControlPannelChildRoutes as i, CustomRouteReuseStrategy as j, CideLytUserStatusService as k, layoutRoutes as l, CacheManagerService as m, CideLytFileManagerService as n, CideLytFloatingEntityRightsSharingComponent as o, processThemeVariable as p, CideLytFloatingEntityRightsSharingService as q, setCSSVariable as s, themeFactory as t };
|
|
8468
|
-
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-
|
|
8482
|
+
//# sourceMappingURL=cloud-ide-layout-cloud-ide-layout-TXOQ0tip.mjs.map
|