@luigi-project/core-modular 0.0.4-dev.202603250048 → 0.0.4-dev.202603270053

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.
@@ -0,0 +1,33 @@
1
+ import { Luigi } from './luigi';
2
+ export declare class Elements {
3
+ luigi: Luigi;
4
+ constructor(luigi: Luigi);
5
+ /**
6
+ * Returns the shellbar component.
7
+ * @returns {HTMLElement | null} the shellbar DOM element
8
+ * @memberof Elements
9
+ * @example
10
+ * Luigi.elements().getShellbar();
11
+ */
12
+ getShellbar(): HTMLElement | null;
13
+ /**
14
+ * Returns the shellbar actions.
15
+ * @returns {HTMLElement | null} the shellbar actions DOM element
16
+ * @memberof Elements
17
+ * @example
18
+ * Luigi.elements().getShellbarActions();
19
+ */
20
+ getShellbarActions(): HTMLElement | null;
21
+ /**
22
+ * Returns the main container of the Luigi application.
23
+ * @memberof Elements
24
+ * @returns {HTMLElement | null} the Luigi container DOM element
25
+ */
26
+ getLuigiContainer(): HTMLElement | null;
27
+ /**
28
+ * Returns the navigation footer container of the Luigi application.
29
+ * @memberof Elements
30
+ * @returns {HTMLElement | null} the navigation footer container DOM element
31
+ */
32
+ getNavFooterContainer(): HTMLElement | null;
33
+ }
@@ -1,5 +1,6 @@
1
1
  import { LuigiEngine } from '../luigi-engine';
2
2
  import { i18nService } from '../services/i18n.service';
3
+ import { Elements } from './dom-elements';
3
4
  import { LuigiAuthClass } from './auth';
4
5
  import { FeatureToggles } from './feature-toggles';
5
6
  import { Navigation } from './navigation';
@@ -14,6 +15,7 @@ export declare class Luigi {
14
15
  _i18n: i18nService;
15
16
  _theming?: Theming;
16
17
  _routing?: Routing;
18
+ _elements?: Elements;
17
19
  __cssVars?: any;
18
20
  preventLoadingModalData?: boolean;
19
21
  initialized: boolean;
@@ -71,6 +73,7 @@ export declare class Luigi {
71
73
  */
72
74
  storeUserSettings(userSettingsObj: Record<string, any>, previousUserSettingsObj: Record<string, any>): Promise<any>;
73
75
  i18n: () => i18nService;
76
+ elements: () => Elements;
74
77
  navigation: () => Navigation;
75
78
  ux: () => UX;
76
79
  featureToggles: () => FeatureToggles;