@ajf/material 18.1.3 → 18.2.2

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.
@@ -20,21 +20,20 @@
20
20
  *
21
21
  */
22
22
  import { AjfChoice, AjfFieldWithChoicesComponent, AjfFormRendererService } from '@ajf/core/forms';
23
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
23
+ import { ChangeDetectorRef, OnDestroy } from '@angular/core';
24
24
  import { FormControl } from '@angular/forms';
25
25
  import { Observable } from 'rxjs';
26
- import { TranslocoService } from '@ajf/core/transloco';
27
26
  import { AjfWarningAlertService } from './warning-alert-service';
28
27
  import * as i0 from "@angular/core";
29
- export declare class AjfMultipleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> implements OnInit, OnDestroy {
30
- private _ts;
28
+ export declare class AjfMultipleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> implements OnDestroy {
29
+ readonly expandThreshold: number;
31
30
  readonly searchFilterCtrl: FormControl<string>;
32
31
  filteredChoices$: Observable<AjfChoice<any>[]>;
33
- private translatedChoices;
34
- constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService, searchThreshold: number, _ts: TranslocoService);
35
- ngOnInit(): void;
36
- private rebuildCache;
32
+ private readonly _choicesUpdate$;
33
+ private _instanceUpdateForChoicesSub;
34
+ constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService, searchThreshold: number);
35
+ protected _onInstanceChange(): void;
37
36
  ngOnDestroy(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfMultipleChoiceFieldComponent<any>, [null, null, null, { optional: true; }, null]>;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AjfMultipleChoiceFieldComponent<any>, [null, null, null, { optional: true; }]>;
39
38
  static ɵcmp: i0.ɵɵComponentDeclaration<AjfMultipleChoiceFieldComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
40
39
  }
@@ -20,21 +20,20 @@
20
20
  *
21
21
  */
22
22
  import { AjfChoice, AjfFieldWithChoicesComponent, AjfFormRendererService } from '@ajf/core/forms';
23
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
24
- import { Observable } from 'rxjs';
25
- import { TranslocoService } from '@ajf/core/transloco';
23
+ import { ChangeDetectorRef, OnDestroy } from '@angular/core';
26
24
  import { FormControl } from '@angular/forms';
25
+ import { Observable } from 'rxjs';
27
26
  import { AjfWarningAlertService } from './warning-alert-service';
28
27
  import * as i0 from "@angular/core";
29
- export declare class AjfSingleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> implements OnInit, OnDestroy {
30
- private _ts;
28
+ export declare class AjfSingleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> implements OnDestroy {
29
+ readonly expandThreshold: number;
31
30
  readonly searchFilterCtrl: FormControl<string>;
32
31
  filteredChoices$: Observable<AjfChoice<any>[]>;
33
- private translatedChoices;
34
- constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService, searchThreshold: number, _ts: TranslocoService);
35
- ngOnInit(): void;
36
- private rebuildCache;
32
+ private readonly _choicesUpdate$;
33
+ private _instanceUpdateForChoicesSub;
34
+ constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService, searchThreshold: number);
35
+ protected _onInstanceChange(): void;
37
36
  ngOnDestroy(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<AjfSingleChoiceFieldComponent<any>, [null, null, null, { optional: true; }, null]>;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AjfSingleChoiceFieldComponent<any>, [null, null, null, { optional: true; }]>;
39
38
  static ɵcmp: i0.ɵɵComponentDeclaration<AjfSingleChoiceFieldComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
40
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ajf/material",
3
- "version": "18.1.3",
3
+ "version": "18.2.2",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,14 +13,16 @@
13
13
  },
14
14
  "homepage": "https://github.com/gnucoop/ajf#readme",
15
15
  "peerDependencies": {
16
- "@ajf/core": "18.1.3",
16
+ "@ajf/core": "18.2.2",
17
17
  "@angular/animations": "^18.2.13",
18
18
  "@angular/cdk": "^18.2.14",
19
19
  "@angular/common": "^18.2.13",
20
20
  "@angular/core": "^18.2.13",
21
21
  "@angular/forms": "^18.2.13",
22
22
  "@angular/material": "^18.2.13",
23
- "@angular/platform-browser": "^18.2.13"
23
+ "@angular/platform-browser": "^18.2.13",
24
+ "ngx-quill": "26.0.0",
25
+ "quill": "2.0.2"
24
26
  },
25
27
  "dependencies": {
26
28
  "tslib": "^2.3.0"