@wizishop/angular-components 14.3.2 → 14.3.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,9 +1,10 @@
1
- import { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
2
  import { OptionSelectionHandler } from './option-selection-handler.interface';
3
3
  import * as i0 from "@angular/core";
4
- export declare class OptionComponent implements OnInit, OptionSelectionHandler {
4
+ export declare class OptionComponent implements OptionSelectionHandler {
5
5
  private renderer;
6
6
  private elementRef;
7
+ private changeDetectorRef;
7
8
  contentRef: ElementRef;
8
9
  disabled: boolean;
9
10
  value: any;
@@ -11,8 +12,7 @@ export declare class OptionComponent implements OnInit, OptionSelectionHandler {
11
12
  get selected(): boolean;
12
13
  _selected: boolean;
13
14
  selectedChange: EventEmitter<any>;
14
- constructor(renderer: Renderer2, elementRef: ElementRef);
15
- ngOnInit(): void;
15
+ constructor(renderer: Renderer2, elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef);
16
16
  onSelectOption(): void;
17
17
  getValue(): any;
18
18
  setValue(value: any): void;
@@ -9,7 +9,6 @@ export declare class SelectOptionDirective implements OptionSelectionHandler {
9
9
  selected: boolean;
10
10
  selectedChange: EventEmitter<any>;
11
11
  constructor(contentRef: ElementRef);
12
- ngOnInit(): void;
13
12
  onSelectOption(): void;
14
13
  getValue(): any;
15
14
  setValue(value: any): void;
@@ -17,5 +16,5 @@ export declare class SelectOptionDirective implements OptionSelectionHandler {
17
16
  setSelected(selected: boolean): void;
18
17
  getContentRef(): ElementRef<any>;
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionDirective, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOptionDirective, "[selectOption]", never, { "disabled": "disabled"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, never, never, false>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOptionDirective, "[wacSelectOption]", never, { "disabled": "disabled"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, never, never, false>;
21
20
  }
@@ -1,8 +1,9 @@
1
- import { OnDestroy, QueryList } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { OptionComponent } from '../option/option.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ValueChangeService implements OnDestroy {
6
+ private changeDetectorRef;
6
7
  valueChange$: Subject<any>;
7
8
  set value(value: any);
8
9
  get value(): any;
@@ -11,12 +12,13 @@ export declare class ValueChangeService implements OnDestroy {
11
12
  selectedOptionContent: any;
12
13
  indexSelectedOption: number;
13
14
  resetListeners$: Subject<void>;
14
- constructor();
15
+ constructor(changeDetectorRef: ChangeDetectorRef);
15
16
  handleSelectOptionsChange(optionChildren: QueryList<OptionComponent>, value: any): void;
16
17
  assignValue(value: any): void;
17
18
  handleValueChange(): void;
18
19
  selectNextOption(): void;
19
20
  selectPreviousOption(): void;
21
+ searchOptionByFirstLetter(letter: string): void;
20
22
  private handleInitialSelectedOption;
21
23
  private findInitialSelectedOption;
22
24
  private handleSelectedOptionsEvent;
package/package.json CHANGED
@@ -1,23 +1,33 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "14.3.2",
3
+ "version": "14.3.3",
4
4
  "peerDependencies": {
5
- "@angular/common": "^11.2.12",
6
- "@angular/core": "^11.2.12",
7
- "@ngx-translate/core": "^13.0.0",
8
- "@ngx-translate/http-loader": "^6.0.0",
9
- "@wizishop/ng-wizi-bulma": "^11.0.0",
10
- "rxjs": "~6.5.4",
11
- "ng2-animate-on-scroll": "^2.0.0",
12
- "ngx-chips": "^2.1.0",
13
- "@angular/cdk": "^11.2.11",
14
- "bourbon": "^6.0.0",
15
- "bulma": "^0.8.0",
5
+ "@angular/animations": "~14.0.6",
6
+ "@angular/cdk": "^14.0.5",
7
+ "@angular/common": "~14.0.6",
8
+ "@angular/compiler": "~14.0.6",
9
+ "@angular/core": "~14.0.6",
10
+ "@angular/forms": "~14.0.6",
11
+ "@angular/platform-browser": "~14.0.6",
12
+ "@angular/platform-browser-dynamic": "~14.0.6",
13
+ "@angular/router": "~14.0.6",
14
+ "@ngx-translate/core": "^14.0.0",
15
+ "@ngx-translate/http-loader": "^7.0.0",
16
+ "@wizishop/ng-wizi-bulma": "^14.0.0",
17
+ "bourbon": "^7.2.0",
18
+ "bulma": "^0.9.4",
16
19
  "bulma-calendar": "git+https://github.com/WiziShop/bulma-calendar.git",
17
20
  "bulma-extensions": "^6.2.7",
18
- "sass-flex-mixin": "^1.0.3",
19
21
  "include-media": "^1.4.9",
20
- "ngx-perfect-scrollbar": "^10.1.1"
22
+ "ng2-animate-on-scroll": "^2.2.1",
23
+ "ngx-autosize": "^2.0.2",
24
+ "ngx-chips": "^3.0.0",
25
+ "ngx-perfect-scrollbar": "^10.1.1",
26
+ "ngx-scrollbar": "^10.0.1",
27
+ "rxjs": "^7.5.6",
28
+ "sass-flex-mixin": "^1.0.3",
29
+ "typescript": "^4.7.4",
30
+ "zone.js": "~0.11.4"
21
31
  },
22
32
  "dependencies": {
23
33
  "tslib": "^2.0.0"