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.
- package/esm2022/lib/components/ca-input/directives/command-visible.directive.mjs +4 -33
- package/esm2022/lib/components/ca-input/directives/restrict-input.directive.mjs +3 -1
- package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +9 -6
- package/esm2022/lib/components/ca-input/mixins/input-command.mixin.mjs +1 -4
- package/esm2022/lib/components/ca-input/mixins/restriction-pipe.mixin.mjs +4 -6
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +16 -15
- package/esm2022/lib/components/ca-input-dropdown/pipes/dropdown-options.pipe.mjs +5 -3
- package/esm2022/lib/components/ca-input-dropdown/pipes/index.mjs +2 -1
- package/esm2022/lib/components/ca-input-dropdown/pipes/input-dropdown-get-icon.pipe.mjs +19 -0
- package/fesm2022/ca-components.mjs +51 -60
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-input/directives/command-visible.directive.d.ts +1 -6
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +1 -0
- package/lib/components/ca-input-dropdown/pipes/index.d.ts +1 -0
- package/lib/components/ca-input-dropdown/pipes/input-dropdown-get-icon.pipe.d.ts +20 -0
- package/package.json +1 -1
|
@@ -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(
|
|
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
|
+
}
|