@litigiovirtual/ius-design-components 1.0.184 → 1.0.186

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,28 +1,26 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class DropdownComponent {
3
+ export interface DropdownOption {
4
+ id: number;
5
+ label: string;
6
+ disabled: boolean;
7
+ checked?: boolean;
8
+ }
9
+ export declare class DropdownComponent implements OnChanges {
4
10
  private elementRef;
5
11
  isActive: boolean;
6
12
  iconName: string;
7
13
  disabled: boolean;
8
- options: {
9
- label: string;
10
- disabled: boolean;
11
- }[];
14
+ options: DropdownOption[];
12
15
  buttonClicked: EventEmitter<void>;
13
- optionSelected: EventEmitter<{
14
- label: string;
15
- disabled: boolean;
16
- }>;
16
+ optionSelected: EventEmitter<DropdownOption>;
17
17
  isOpen: boolean;
18
18
  selectedIndex: number | null;
19
19
  constructor(elementRef: ElementRef);
20
+ ngOnChanges(changes: SimpleChanges): void;
20
21
  onDocumentClick(event: Event): void;
21
22
  onClick(): void;
22
- onSelectOption(index: number, option: {
23
- label: string;
24
- disabled: boolean;
25
- }): void;
23
+ onSelectOption(index: number, option: DropdownOption): void;
26
24
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
27
25
  static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ius-dropdown", never, { "isActive": { "alias": "isActive"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "optionSelected": "optionSelected"; }, never, ["*"], true, never>;
28
26
  }
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
4
4
  interface Objeto {
5
5
  logoLt: string;
6
6
  nombreUsuario: string;
7
- avatarUsuario: string;
8
- logoCompany: string;
7
+ avatarUsuario?: string;
8
+ logoCompany?: string;
9
9
  nombreCompany: string;
10
10
  cuentaID: string;
11
11
  rol: string;
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
3
3
  interface Objeto {
4
4
  logoLt: string;
5
5
  nombreUsuario: string;
6
- avatarUsuario: string;
7
- logoCompany: string;
6
+ avatarUsuario?: string;
7
+ logoCompany?: string;
8
8
  nombreCompany: string;
9
9
  cuentaID: string;
10
10
  rol: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litigiovirtual/ius-design-components",
3
- "version": "1.0.184",
3
+ "version": "1.0.186",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0 <20.0.0",
6
6
  "@angular/core": ">=17.0.0 <20.0.0",