ca-components 1.1.4 → 1.1.5

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.
@@ -7,13 +7,8 @@ export declare class CommandVisibleDirective {
7
7
  restrictInput: ICaInput;
8
8
  constructor(el: ElementRef);
9
9
  onKeyDown(event: KeyboardEvent): void;
10
- onWindowBlur(event: FocusEvent): void;
10
+ onWindowBlur(): void;
11
11
  onFocus(): void;
12
- onClick(event: Event): void;
13
- /**
14
- * ✅ Recursively checks if an element has a specific parent tag
15
- */
16
- private isInsideElement;
17
12
  private emitCommandVisible;
18
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CommandVisibleDirective, never>;
19
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<CommandVisibleDirective, "[commandVisible]", never, { "restrictInput": { "alias": "restrictInput"; "required": false; }; }, { "commandVisible": "commandVisible"; }, never, never, true, never>;
@@ -96,6 +96,7 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
96
96
  toggleNestedList(option: OptionModel): void;
97
97
  onBlurInput(event: boolean): void;
98
98
  onClearInputEvent(event: boolean): void;
99
+ dropDownIsOpen: boolean;
99
100
  handleHiddenDropdown(): void;
100
101
  handleOpenDropdown(): void;
101
102
  showHideDropdown(action: boolean): void;
@@ -6,3 +6,4 @@ export * from './input-dropdown-multiselect-class.pipe';
6
6
  export * from './input-dropdown-default-template-class.pipe';
7
7
  export * from './input-dropdown-label-class.pipe';
8
8
  export * from './input-dropdown-fuel-franchise-class.pipe';
9
+ export * from './input-dropdown-get-icon.pipe';
@@ -0,0 +1,20 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { OptionModel } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InputDropdownGetIconsPipe implements PipeTransform {
5
+ transform(option: {
6
+ withText: boolean;
7
+ svg: boolean;
8
+ image: boolean;
9
+ iconsPath: string;
10
+ activeItemIconKey: string;
11
+ url: string;
12
+ nameInitialsInsteadUrl?: string;
13
+ template?: string;
14
+ color?: string;
15
+ class?: string;
16
+ remove?: boolean;
17
+ }, activeItem: OptionModel | null): string;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDropdownGetIconsPipe, never>;
19
+ static ɵpipe: i0.ɵɵPipeDeclaration<InputDropdownGetIconsPipe, "inputDropdownGetIcons", true>;
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13",