ui-core-abv 0.6.13 → 0.6.16

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.
@@ -4,18 +4,33 @@ export declare class UicExcelTableComponent {
4
4
  private readonly hostElement;
5
5
  constructor(hostElement: ElementRef<HTMLElement>);
6
6
  title: string;
7
+ private _visibleRowsStep;
8
+ private _record;
9
+ visibleRowsCount: number;
10
+ set visibleRowsStep(value: number | null | undefined);
11
+ get visibleRowsStep(): number;
12
+ set record(value: Array<Record<string, unknown>> | null | undefined);
13
+ get record(): Array<Record<string, unknown>>;
7
14
  headers: string[];
8
15
  rows: Array<Record<string, unknown>>;
9
16
  jsonData: Array<Record<string, unknown>>;
10
17
  fileName: string;
18
+ recordChange: EventEmitter<Record<string, unknown>[]>;
11
19
  jsonDataChange: EventEmitter<Record<string, unknown>[]>;
20
+ get visibleRows(): Array<Record<string, unknown>>;
21
+ get canShowMoreRows(): boolean;
12
22
  onFileSelected(event: Event): void;
13
23
  resetData(): void;
14
24
  deleteColum(headerKey: string): void;
15
25
  addEmptyRow(position: number, direction?: string): void;
16
26
  deleteRow(position: number): void;
27
+ onCellBlur(): void;
28
+ showMoreRows(): void;
17
29
  onCellKeydown(event: KeyboardEvent, row: number, col: number): void;
18
30
  private focusCell;
31
+ private emitTableDataChanges;
32
+ private buildHeadersFromRows;
33
+ private syncVisibleRows;
19
34
  static ɵfac: i0.ɵɵFactoryDeclaration<UicExcelTableComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<UicExcelTableComponent, "ui-excel-table", never, { "title": { "alias": "title"; "required": false; }; }, { "jsonDataChange": "jsonDataChange"; }, never, never, true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicExcelTableComponent, "ui-excel-table", never, { "title": { "alias": "title"; "required": false; }; "visibleRowsStep": { "alias": "visibleRowsStep"; "required": false; }; "record": { "alias": "record"; "required": false; }; }, { "recordChange": "recordChange"; "jsonDataChange": "jsonDataChange"; }, never, never, true, never>;
21
36
  }
@@ -56,7 +56,10 @@ export declare const DICTIONARY_EN: {
56
56
  };
57
57
  readonly excel_table: {
58
58
  readonly load_file: "Upload excel";
59
+ readonly empty_message: "You have not yet selected a file";
59
60
  readonly clear_file: "Clear";
61
+ readonly see_more: "See more";
62
+ readonly counter_text: "Viewing {{shown}} items of {{total}} total";
60
63
  };
61
64
  readonly step_form: {
62
65
  readonly back: "Back";
@@ -57,6 +57,9 @@ export declare const DICTIONARY_ES: {
57
57
  readonly excel_table: {
58
58
  readonly load_file: "Cargar excel";
59
59
  readonly clear_file: "Limpiar";
60
+ readonly empty_message: "Aun no se ha seleccionado un archivo";
61
+ readonly see_more: "Ver mas";
62
+ readonly counter_text: "Viendo {{shown}} elementos de {{total}} totales";
60
63
  };
61
64
  readonly step_form: {
62
65
  readonly back: "Volver";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-core-abv",
3
- "version": "0.6.13",
3
+ "version": "0.6.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=19.2.0 <21.0.0",
6
6
  "@angular/core": ">=19.2.0 <21.0.0",