@esfaenza/es-table 20.3.27 → 20.3.29

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/index.d.ts CHANGED
@@ -2724,6 +2724,8 @@ declare class EsTable2Component implements ControlValueAccessor, AfterContentIni
2724
2724
  /** Controller di esportazione (E4) — logica in `controllers/export.controller.ts` */
2725
2725
  private exportCtrl;
2726
2726
  ngOnInit(): void;
2727
+ /** @ignore Handler di scroll in cattura (chiude i menu del chrome) */
2728
+ private onAnyScroll;
2727
2729
  ngOnDestroy(): void;
2728
2730
  /** Risoluzione input: valore esplicito || default di progetto || hard default */
2729
2731
  private io;
@@ -3036,10 +3038,29 @@ declare class EsTable2Component implements ControlValueAccessor, AfterContentIni
3036
3038
  resetColumnsDialog(): void;
3037
3039
  exportMenuOpen: _angular_core.WritableSignal<boolean>;
3038
3040
  cornerMenuOpen: _angular_core.WritableSignal<boolean>;
3039
- toggleExportMenu(): void;
3040
- toggleCornerMenu(): void;
3041
+ /**
3042
+ * Coordinate VIEWPORT del pannello di menu aperto. I menu sono renderizzati fuori
3043
+ * da `.est2-scroll` e posizionati `fixed`: dentro lo scroller l'`overflow:auto` li
3044
+ * troncava (su una tabella di poche righe il menu usciva dal box e spariva).
3045
+ */
3046
+ menuAnchor: _angular_core.WritableSignal<{
3047
+ top: number;
3048
+ right: number;
3049
+ }>;
3050
+ toggleExportMenu(ev?: Event): void;
3051
+ toggleCornerMenu(ev?: Event): void;
3052
+ /** Chiude entrambi i menu del chrome */
3053
+ closeChromeMenus(): void;
3054
+ /**
3055
+ * Ancora il menu al bottone che l'ha aperto: allineo il bordo DESTRO del pannello a
3056
+ * quello del bottone e lo apro sotto. Se sotto non c'è spazio nel viewport, lo ribalto
3057
+ * sopra (misurando il pannello dopo il render).
3058
+ */
3059
+ private anchorMenuTo;
3041
3060
  /** Chiude i menu a tendina del chrome quando si clicca fuori */
3042
3061
  onDocClick(): void;
3062
+ /** Un menu `fixed` non segue più l'ancora: su resize lo chiudo. */
3063
+ onViewportResize(): void;
3043
3064
  /** Export delegato al controller `ExportController` (E4); chiude prima il menu chrome. */
3044
3065
  export(format?: 'CSV' | 'XLSX'): void;
3045
3066
  /**
@@ -3258,6 +3279,10 @@ declare class EsTable2PagerComponent {
3258
3279
  total: _angular_core.InputSignal<number>;
3259
3280
  itemsPerPage: _angular_core.InputSignal<number>;
3260
3281
  countLabel: _angular_core.InputSignal<string>;
3282
+ /** Locale per la formattazione del conteggio (separatore migliaia); undefined = browser */
3283
+ locale: _angular_core.InputSignal<string>;
3284
+ /** Conteggio totale formattato col separatore delle migliaia (es. it-IT → "17.260") */
3285
+ totalDisplay: _angular_core.Signal<string>;
3261
3286
  showCount: _angular_core.InputSignal<boolean>;
3262
3287
  showButtons: _angular_core.InputSignal<boolean>;
3263
3288
  showPagingOptions: _angular_core.InputSignal<boolean>;
@@ -3274,7 +3299,7 @@ declare class EsTable2PagerComponent {
3274
3299
  goto(p: number): void;
3275
3300
  onIppChange(ev: Event): void;
3276
3301
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EsTable2PagerComponent, never>;
3277
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EsTable2PagerComponent, "es-table2-pager", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; "pages": { "alias": "pages"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; "isSignal": true; }; "countLabel": { "alias": "countLabel"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; "showPagingOptions": { "alias": "showPagingOptions"; "required": false; "isSignal": true; }; "allowAll": { "alias": "allowAll"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; }, never, never, false, never>;
3302
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EsTable2PagerComponent, "es-table2-pager", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; "pages": { "alias": "pages"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; "isSignal": true; }; "countLabel": { "alias": "countLabel"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; "showPagingOptions": { "alias": "showPagingOptions"; "required": false; "isSignal": true; }; "allowAll": { "alias": "allowAll"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; }, never, never, false, never>;
3278
3303
  }
3279
3304
 
3280
3305
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/es-table",
3
- "version": "20.3.27",
3
+ "version": "20.3.29",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },