carriera-intern-components 1.1.31 → 1.1.32

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.
@@ -14,7 +14,7 @@ export declare class AvatarComponent {
14
14
  * The size of the avatar in pixels.
15
15
  * @type {Size}
16
16
  */
17
- size: import("@angular/core").InputSignal<18 | 22 | 32 | 74 | 160>;
17
+ size: import("@angular/core").InputSignal<22 | 18 | 32 | 74 | 160>;
18
18
  /**
19
19
  * Whether the avatar should be rounded or not.
20
20
  * @type {boolean}
@@ -84,7 +84,7 @@ export declare class ReviewModalComponent implements OnInit, OnChanges {
84
84
  onDeleteReview(id: number): void;
85
85
  onCheckPersonal(): void;
86
86
  onSelectFilter(type: FilterType): void;
87
- onCancelFilter(event: any, type: FilterType): void;
87
+ onCancelFilter(event: MouseEvent, type: FilterType): void;
88
88
  static ɵfac: i0.ɵɵFactoryDeclaration<ReviewModalComponent, never>;
89
89
  static ɵcmp: i0.ɵɵComponentDeclaration<ReviewModalComponent, "cai-review-modal", never, { "ratingReviews": { "alias": "ratingReviews"; "required": false; }; "modaltype": { "alias": "modaltype"; "required": false; }; "titleInput": { "alias": "titleInput"; "required": false; }; }, { "reviewDeleted": "reviewDeleted"; }, never, never, true, never>;
90
90
  }
@@ -0,0 +1 @@
1
+ export * from './interval-dropdown-option.interface';
@@ -0,0 +1,8 @@
1
+ export interface IIntervalDropdownOption {
2
+ id: number;
3
+ name: string;
4
+ value: string;
5
+ custom?: boolean;
6
+ startDate?: string;
7
+ endDate?: string;
8
+ }
@@ -0,0 +1,31 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
3
+ import { IIntervalDropdownOption } from './interfaces';
4
+ import { UntypedFormGroup } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ export declare class IntervalDropdownComponent implements AfterViewInit {
7
+ dropdown: NgbPopover;
8
+ containerRef: ElementRef<HTMLDivElement>;
9
+ containerWidth: import("@angular/core").WritableSignal<number>;
10
+ selectedOption: import("@angular/core").InputSignal<IIntervalDropdownOption | null>;
11
+ options: import("@angular/core").InputSignal<IIntervalDropdownOption[]>;
12
+ companyDays: import("@angular/core").InputSignal<number | null>;
13
+ custom: import("@angular/core").WritableSignal<boolean>;
14
+ open: import("@angular/core").WritableSignal<boolean>;
15
+ onClose: import("@angular/core").OutputEmitterRef<void>;
16
+ onOpen: import("@angular/core").OutputEmitterRef<void>;
17
+ onSelectionChange: import("@angular/core").OutputEmitterRef<IIntervalDropdownOption>;
18
+ form: UntypedFormGroup;
19
+ private updateContainerWidth;
20
+ ngAfterViewInit(): void;
21
+ handleOpenDropdown(): void;
22
+ handleCloseDropdown(): void;
23
+ handleClick(): void;
24
+ closeDropdown(): void;
25
+ openDropdown(): void;
26
+ handleOption(event: MouseEvent, option: IIntervalDropdownOption): void;
27
+ handleClearAll(event: MouseEvent): void;
28
+ handleSet(event: MouseEvent): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<IntervalDropdownComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<IntervalDropdownComponent, "cai-interval-dropdown", never, { "selectedOption": { "alias": "selectedOption"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "companyDays": { "alias": "companyDays"; "required": false; "isSignal": true; }; }, { "onClose": "onClose"; "onOpen": "onOpen"; "onSelectionChange": "onSelectionChange"; }, never, never, true, never>;
31
+ }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { CaiDateTimeConfig } from '../../input-datetime-picker/interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DropdownFilterInputConfigPipe implements PipeTransform {
5
+ transform({ configType }: {
6
+ configType: string;
7
+ }): CaiDateTimeConfig;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFilterInputConfigPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<DropdownFilterInputConfigPipe, "dropdownFilterInputConfig", true>;
10
+ }
@@ -0,0 +1,26 @@
1
+ import { UntypedFormGroup } from '@angular/forms';
2
+ export declare class IntervalDropdownHelper {
3
+ private static notInFutureValidator;
4
+ private static companyStartValidators;
5
+ static createFormGroup(companyDays: number | null): UntypedFormGroup;
6
+ /**
7
+ * Cleanup method to prevent memory leaks
8
+ * Call this when the form group is no longer needed
9
+ */
10
+ static destroyFormGroup(formGroup: UntypedFormGroup): void;
11
+ /**
12
+ * Get or create cached not-in-future validator
13
+ */
14
+ private static getOrCreateNotInFutureValidator;
15
+ /**
16
+ * Get or create cached company start validator
17
+ */
18
+ private static getOrCreateNotBeforeCompanyStartValidator;
19
+ /**
20
+ * Clear validator cache (useful for testing or memory management)
21
+ */
22
+ static clearValidatorCache(): void;
23
+ private static createNotBeforeCompanyStartValidator;
24
+ private static createNotInFutureValidator;
25
+ private static createToNotBeforeFromValidator;
26
+ }
@@ -11,8 +11,8 @@ export declare const INPUT_CHARACTER_SETS: {
11
11
  readonly ALPHANUMERIC: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z")[];
12
12
  readonly ALPHANUMERIC_WITH_SPACES: string[];
13
13
  readonly EMAIL_SPECIAL: readonly ["@", ".", "-", "_", "+"];
14
- readonly EMAIL_CHARACTERS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "." | "@" | "+" | "-" | "_")[];
14
+ readonly EMAIL_CHARACTERS: ("0" | "1" | "2" | "3" | "4" | "." | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "@" | "+" | "-" | "_")[];
15
15
  readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
16
- readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "1" | "2" | "3" | "*" | "4" | "5" | "6" | "7" | "8" | "9" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
16
+ readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "1" | "2" | "3" | "4" | "*" | "." | "5" | "6" | "7" | "8" | "9" | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
17
17
  readonly SPECIAL: ("*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
18
18
  };