@den4ik92/ng2-smart-table 19.1.0 → 19.1.1

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.
@@ -13,6 +13,7 @@ export declare class TbodyEditDeleteComponent {
13
13
  readonly delete: OutputEmitterRef<any>;
14
14
  isActionEdit: boolean;
15
15
  isActionDelete: boolean;
16
+ isExternalMode: boolean;
16
17
  editRowButtonContent: string;
17
18
  deleteRowButtonContent: string;
18
19
  constructor();
@@ -1,11 +1,13 @@
1
+ import { LocalDataSource } from "../../../lib/data-source/local/local.data-source";
1
2
  import { Grid } from "../../../lib/grid";
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class AddButtonComponent {
4
5
  readonly grid: import("@angular/core").InputSignal<Grid>;
6
+ readonly source: import("@angular/core").InputSignal<LocalDataSource<any>>;
5
7
  readonly create: import("@angular/core").OutputEmitterRef<any>;
6
8
  readonly isActionAdd: import("@angular/core").Signal<boolean>;
7
9
  readonly addNewButtonContent: import("@angular/core").Signal<string>;
8
10
  onAdd(event: any): void;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AddButtonComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AddButtonComponent, "[ng2-st-add-button]", never, { "grid": { "alias": "grid"; "required": true; "isSignal": true; }; }, { "create": "create"; }, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddButtonComponent, "[ng2-st-add-button]", never, { "grid": { "alias": "grid"; "required": true; "isSignal": true; }; "source": { "alias": "source"; "required": true; "isSignal": true; }; }, { "create": "create"; }, never, never, true, never>;
11
13
  }
@@ -17,6 +17,7 @@ export interface ColumnPositionState {
17
17
  }
18
18
  export interface SmartTableSettings<T extends Record<string, any> = any> {
19
19
  selectMode?: 'single' | 'multi';
20
+ mode?: "inline" | "external";
20
21
  columnSortStorageKey?: string;
21
22
  columnSort?: boolean;
22
23
  hideHeader?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@den4ik92/ng2-smart-table",
3
- "version": "19.1.0",
3
+ "version": "19.1.1",
4
4
  "description": "Angular Smart Table",
5
5
  "author": "Den4ik92",
6
6
  "license": "MIT",