@sumaris-net/ngx-components 2.12.24 → 2.12.25-rc2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.12.24",
4
+ "version": "2.12.25-rc2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -8,7 +8,7 @@ import { EntitiesServiceWatchOptions, FetchMoreFn, IEntitiesService, LoadResult
8
8
  import { IEntitiesTableDataSource } from './table.model';
9
9
  import * as i0 from "@angular/core";
10
10
  export interface EntitiesAsyncTableDataSourceConfig<T extends Entity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
11
- onRowCreated?: (row: AsyncTableElement<T>) => Promise<void> | void;
11
+ onRowCreated?: (row: AsyncTableElement<T>) => Promise<void>;
12
12
  saveOnlyDirtyRows?: boolean;
13
13
  readOnly?: boolean;
14
14
  /**
@@ -8,7 +8,7 @@ import { EntitiesServiceWatchOptions, FetchMoreFn, IEntitiesService, LoadResult
8
8
  import { IEntitiesTableDataSource } from './table.model';
9
9
  import * as i0 from "@angular/core";
10
10
  export interface EntitiesTableDataSourceConfig<T extends Entity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
11
- onRowCreated?: (row: TableElement<T>) => Promise<void> | void;
11
+ onRowCreated?: (row: TableElement<T>) => Promise<void>;
12
12
  saveOnlyDirtyRows?: boolean;
13
13
  saveBeforeDelete?: boolean;
14
14
  readOnly?: boolean;
@@ -36,7 +36,7 @@ export declare class IsNotEmptySelectionPipe extends AbstractSelectionModelPipe<
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<IsNotEmptySelectionPipe, never>;
37
37
  static ɵpipe: i0.ɵɵPipeDeclaration<IsNotEmptySelectionPipe, "isNotEmptySelection", false>;
38
38
  }
39
- export declare class IsEmptySelectionPipe extends AbstractSelectionModelPipe<void, boolean> {
39
+ export declare class IsEmptySelectionPipe extends AbstractSelectionModelPipe<void, boolean> implements PipeTransform {
40
40
  constructor(_ref: ChangeDetectorRef);
41
41
  protected _transform(selection: SelectionModel<any>): boolean;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<IsEmptySelectionPipe, never>;
@@ -54,7 +54,7 @@ export declare class IsMultipleSelectionPipe extends AbstractSelectionModelPipe<
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<IsMultipleSelectionPipe, never>;
55
55
  static ɵpipe: i0.ɵɵPipeDeclaration<IsMultipleSelectionPipe, "isMultipleSelection", false>;
56
56
  }
57
- export declare class IsSingleSelectionPipe extends AbstractSelectionModelPipe<void, boolean> {
57
+ export declare class IsSingleSelectionPipe extends AbstractSelectionModelPipe<void, boolean> implements PipeTransform {
58
58
  constructor(_ref: ChangeDetectorRef);
59
59
  protected _transform(selection: SelectionModel<any>): boolean;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<IsSingleSelectionPipe, never>;
@@ -134,7 +134,9 @@
134
134
  }
135
135
 
136
136
  /* Add a start padding to content (but not the cell itself) (e.g. tables with odd/event style - like BatchGroupsTable) */
137
- &.mat-mdc-cell-content-start-padding {
137
+ &.mat-mdc-cell-content-start-padding,
138
+ &.mat-mdc-cell-content-padding-start,
139
+ {
138
140
  // Reset start padding here (only apply cell's content)
139
141
  padding-inline-start: 0;
140
142