@fluxhub/fluxhub-lib 19.0.191 → 19.0.193

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.
@@ -14,11 +14,18 @@ export interface FHLauncherApp {
14
14
  }
15
15
  /** Categoria (cartella menu) che raggruppa le app. */
16
16
  export interface FHLauncherCategory {
17
+ /** id_category (dalla tabella applications_categories). */
18
+ id: number | null;
17
19
  name: string;
18
20
  title: string;
19
21
  faIcon: string;
20
22
  mdIcon: string;
21
23
  color: string;
24
+ /** Logo categoria (se configurato in v_category_logos). */
25
+ logoUrl?: string;
26
+ logoFilename?: string;
27
+ /** True se la categoria va renderizzata "a box" (precalcolato, vedi boxCategoryIds). */
28
+ isBox?: boolean;
22
29
  apps: FHLauncherApp[];
23
30
  }
24
31
  /**
@@ -48,6 +55,15 @@ export declare class FHHomeLauncherComponent implements AfterViewInit {
48
55
  columnWidth: number;
49
56
  /** Spazio tra colonne (px). */
50
57
  columnGap: number;
58
+ /**
59
+ * Elenco di id_category da renderizzare "a box" (card) invece che come
60
+ * elenco testuale. Es. [23] per la categoria Offerte. Accetta numeri o stringhe.
61
+ */
62
+ boxCategoryIds: Array<number | string>;
63
+ /** Icona Material Symbols mostrata nel box quando la categoria non ha un logo. */
64
+ boxIcon: string;
65
+ /** Etichetta dell'azione nel box (sotto al titolo). */
66
+ boxActionLabel: string;
51
67
  /**
52
68
  * Colore di sfondo della superficie del launcher.
53
69
  * "" (default) = trasparente: il launcher eredita lo sfondo della pagina.
@@ -73,7 +89,9 @@ export declare class FHHomeLauncherComponent implements AfterViewInit {
73
89
  private bootstrap;
74
90
  private load_user_then_menu;
75
91
  private build_menu;
92
+ /** True se la categoria va renderizzata "a box" (id in boxCategoryIds). */
93
+ private isBoxCat;
76
94
  open_app(app: FHLauncherApp): void;
77
95
  static ɵfac: i0.ɵɵFactoryDeclaration<FHHomeLauncherComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<FHHomeLauncherComponent, "FHHomeLauncher", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "ink": { "alias": "ink"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "columnGap": { "alias": "columnGap"; "required": false; }; "background": { "alias": "background"; "required": false; }; "showGridBackground": { "alias": "showGridBackground"; "required": false; }; "sqlUserAccess": { "alias": "sqlUserAccess"; "required": false; }; "sqlAllApps": { "alias": "sqlAllApps"; "required": false; }; "sqlApps": { "alias": "sqlApps"; "required": false; }; "sqlAccessLog": { "alias": "sqlAccessLog"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; }, { "appOpen": "appOpen"; }, never, never, true, never>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<FHHomeLauncherComponent, "FHHomeLauncher", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "ink": { "alias": "ink"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "columnGap": { "alias": "columnGap"; "required": false; }; "boxCategoryIds": { "alias": "boxCategoryIds"; "required": false; }; "boxIcon": { "alias": "boxIcon"; "required": false; }; "boxActionLabel": { "alias": "boxActionLabel"; "required": false; }; "background": { "alias": "background"; "required": false; }; "showGridBackground": { "alias": "showGridBackground"; "required": false; }; "sqlUserAccess": { "alias": "sqlUserAccess"; "required": false; }; "sqlAllApps": { "alias": "sqlAllApps"; "required": false; }; "sqlApps": { "alias": "sqlApps"; "required": false; }; "sqlAccessLog": { "alias": "sqlAccessLog"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; }, { "appOpen": "appOpen"; }, never, never, true, never>;
79
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "19.0.191",
3
+ "version": "19.0.193",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",