@fluxhub/fluxhub-lib 22.0.32 → 22.0.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "22.0.32",
3
+ "version": "22.0.34",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "types/fluxhub-fluxhub-lib.d.ts",
@@ -1321,6 +1321,14 @@ declare class FHGridComponent implements AfterViewInit, OnDestroy {
1321
1321
  docmd(o: any): void;
1322
1322
  private b_ensure;
1323
1323
  ensure_visible(): void;
1324
+ private b_row_restored;
1325
+ /**
1326
+ * Riposiziona la grid sull'ultima riga cliccata (una volta per istanza). Chiamata a ogni
1327
+ * blocco caricato dal server: se la riga sta in un blocco successivo la trova quando
1328
+ * ensure_visible() lo fa caricare. Cerca per id (gridOptions.getRowId) e, per le righe
1329
+ * senza chiave (id generato a caso), confronta i dati con _LAST_ROW.
1330
+ */
1331
+ private restore_last_row;
1324
1332
  gf: FHComboboxComponent | null;
1325
1333
  toggle_mantieni: MatSlideToggle | null;
1326
1334
  ck_flag(): void;
@@ -1376,7 +1384,6 @@ declare class FHGridComponent implements AfterViewInit, OnDestroy {
1376
1384
  gridOptions: any;
1377
1385
  last_copy: string;
1378
1386
  setHeaderHeight(n: number): void;
1379
- private getRowId;
1380
1387
  agGrid: any;
1381
1388
  b_init: boolean;
1382
1389
  b_init1: boolean;
@@ -2487,6 +2494,13 @@ declare class FHTextInputComponent implements AfterViewInit, ControlValueAccesso
2487
2494
  static ɵcmp: i0.ɵɵComponentDeclaration<FHTextInputComponent, "FHTextInput", never, { "hidden": { "alias": "hidden"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "email": { "alias": "email"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, { "change": "change"; "focusout": "focusout"; "focusin": "focusin"; }, never, never, true, never>;
2488
2495
  }
2489
2496
 
2497
+ /**
2498
+ * Campo ora "HH:MM" alto come gli altri campi FluxHub (mat-form-field outline, come FHDatePicker):
2499
+ * si scrive (930, 9.30, 9:30, 14) oppure si sceglie dal menu con la griglia di ore e minuti.
2500
+ * - minuti del menu: multipli di `step` (con step < 5 a passi di 5; a mano si scrive qualunque minuto)
2501
+ * - `vertical` (modalita' storica con i pulsanti rapidi): il menu propone `arr_hh` e `arr_mm`
2502
+ * L'API pubblica (h, m, getValue, setByDescri, selchange...) e' quella della versione a frecce.
2503
+ */
2490
2504
  declare class FHTimePickerComponent implements AfterViewInit, ControlValueAccessor {
2491
2505
  private _dataService;
2492
2506
  private dialog;
@@ -2507,6 +2521,17 @@ declare class FHTimePickerComponent implements AfterViewInit, ControlValueAccess
2507
2521
  h: number;
2508
2522
  m: number;
2509
2523
  res: string;
2524
+ editing: boolean;
2525
+ buffer: string;
2526
+ private trigger?;
2527
+ get oreMenu(): number[];
2528
+ get minMenu(): number[];
2529
+ pad2(n: number): string;
2530
+ onFocus(): void;
2531
+ /** testo scritto a mano -> h/m; se non e' un orario valido resta quello di prima */
2532
+ commit(): void;
2533
+ pickH(o: number): void;
2534
+ pickM(o: number): void;
2510
2535
  setta_h(o: any): void;
2511
2536
  setta_m(o: any): void;
2512
2537
  constructor(_dataService: QueryService, dialog: MatDialog, m_appService: AppService, toastr: ToastrService, uti_s: UtilityService);