@elderbyte/ngx-starter 19.6.1 → 19.6.3

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.
@@ -1,4 +1,5 @@
1
1
  export declare class ContinuableListing<T> {
2
+ constructor();
2
3
  /**
3
4
  * The data of this listing chunk
4
5
  */
@@ -20,7 +21,11 @@ export declare class ContinuableListing<T> {
20
21
  /**
21
22
  * Size of this chunk (max page size)
22
23
  */
23
- chunkSize: number;
24
+ chunkSize?: number;
25
+ /**
26
+ * Size of this chunk (max page size)
27
+ */
28
+ maxChunkSize?: number;
24
29
  /**
25
30
  * Is there more data to load with the NextContiunationToken?
26
31
  */
@@ -36,7 +36,7 @@ export declare abstract class DataContextContinuableBase<T> extends DataContextB
36
36
  * Private Methods *
37
37
  * *
38
38
  **************************************************************************/
39
- protected onChunkSizeChanged(newSize: number): void;
39
+ protected updateChunkSize(newSize: number, reloadOnChange: boolean): void;
40
40
  private loadAllRec;
41
41
  abstract loadMore(): Observable<any>;
42
42
  abstract get hasMoreDataSnapshot(): boolean;
@@ -5,7 +5,7 @@ import { Page, Pageable } from '../page';
5
5
  import { TokenChunkRequest } from '../token-chunk-request';
6
6
  import { ContinuableListing } from '../continuable-listing';
7
7
  import { DataSourceChangeEvent } from './data-source-change-event';
8
- import { LocalListDataSource } from "./local/local-list-data-source";
8
+ import { LocalListDataSource } from './local/local-list-data-source';
9
9
  /***************************************************************************
10
10
  * *
11
11
  * Data Fetcher APIs *
@@ -8,25 +8,27 @@ export declare enum TripleCheckboxState {
8
8
  }
9
9
  export declare class ElderTripleStateCheckboxController {
10
10
  private readonly checkbox;
11
- private readonly ngModel;
11
+ private readonly ngModel?;
12
12
  /***************************************************************************
13
13
  * *
14
14
  * Fields *
15
15
  * *
16
16
  **************************************************************************/
17
17
  private readonly _stateChange;
18
+ private readonly _valueChange;
18
19
  /***************************************************************************
19
20
  * *
20
21
  * Constructor *
21
22
  * *
22
23
  **************************************************************************/
23
- constructor(checkbox: MatCheckbox, ngModel: NgModel);
24
+ constructor(checkbox: MatCheckbox, ngModel?: NgModel);
24
25
  /***************************************************************************
25
26
  * *
26
27
  * Properties *
27
28
  * *
28
29
  **************************************************************************/
29
30
  get stateChange(): Observable<TripleCheckboxState>;
31
+ get valueChange(): Observable<boolean | undefined>;
30
32
  /***************************************************************************
31
33
  * *
32
34
  * Public API *
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { MatCheckbox } from '@angular/material/checkbox';
3
3
  import { NgModel } from '@angular/forms';
4
4
  import * as i0 from "@angular/core";
@@ -11,6 +11,12 @@ export declare class ElderTripleStateCheckboxDirective implements OnInit {
11
11
  **************************************************************************/
12
12
  private readonly log;
13
13
  private readonly controller;
14
+ /***************************************************************************
15
+ * *
16
+ * Properties *
17
+ * *
18
+ **************************************************************************/
19
+ valueChange: EventEmitter<boolean>;
14
20
  /***************************************************************************
15
21
  * *
16
22
  * Constructor *
@@ -29,6 +35,6 @@ export declare class ElderTripleStateCheckboxDirective implements OnInit {
29
35
  * *
30
36
  **************************************************************************/
31
37
  toggleNextState(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<ElderTripleStateCheckboxDirective, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<ElderTripleStateCheckboxDirective, "mat-checkbox[elderTripleStateCheckbox]", never, {}, {}, never, never, true, never>;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElderTripleStateCheckboxDirective, [null, { optional: true; }]>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElderTripleStateCheckboxDirective, "mat-checkbox[elderTripleStateCheckbox]", never, {}, { "valueChange": "valueChange"; }, never, never, true, never>;
34
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "19.6.1",
3
+ "version": "19.6.3",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^18.0.0 || ^19.0.0",
6
6
  "@angular/common": "^18.0.0 || ^19.0.0",