@elxjs/ui 0.0.197 → 0.0.198

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,5 +1,6 @@
1
1
  import { EventEmitter, Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
+ import { DropdownService } from './dropdown.service';
3
4
  import * as i0 from "@angular/core";
4
5
  export interface DropdownOption {
5
6
  value: any;
@@ -7,6 +8,7 @@ export interface DropdownOption {
7
8
  }
8
9
  export declare class EluxDropdown implements OnInit, OnChanges, ControlValueAccessor {
9
10
  private readonly injector;
11
+ private dropdownService;
10
12
  placeholder: string;
11
13
  options: DropdownOption[];
12
14
  selectedOption: any;
@@ -20,7 +22,7 @@ export declare class EluxDropdown implements OnInit, OnChanges, ControlValueAcce
20
22
  private onChange;
21
23
  private onTouched;
22
24
  private parentFormControl;
23
- constructor(injector: Injector);
25
+ constructor(injector: Injector, dropdownService: DropdownService);
24
26
  ngOnInit(): void;
25
27
  ngOnChanges(changes: SimpleChanges): void;
26
28
  injectParentFormControl(): void;
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DropdownService {
3
+ private closeAllSubject;
4
+ closeAll$: import("rxjs").Observable<string>;
5
+ requestClose(exceptId: string): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<DropdownService>;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elxjs/ui",
3
- "version": "0.0.197",
3
+ "version": "0.0.198",
4
4
  "license": "UNLICENSED",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.2.13",