carriera-intern-components 1.1.27 → 1.1.29

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<22 | 18 | 32 | 74 | 160>;
17
+ size: import("@angular/core").InputSignal<18 | 22 | 32 | 74 | 160>;
18
18
  /**
19
19
  * Whether the avatar should be rounded or not.
20
20
  * @type {boolean}
@@ -390,6 +390,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
390
390
  */
391
391
  onDropdownScrolledToBottom(isGroup?: boolean): void;
392
392
  onDropdownBackgroundClick(event: MouseEvent): void;
393
+ onDropdownIconClick(event: MouseEvent): void;
393
394
  static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, [{ optional: true; self: true; }, null]>;
394
395
  static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cai-input", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "preselectedOptions": { "alias": "preselectedOptions"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "labelColors": { "alias": "labelColors"; "required": false; "isSignal": true; }; "hideValidation": { "alias": "hideValidation"; "required": false; "isSignal": true; }; "showNoResults": { "alias": "showNoResults"; "required": false; "isSignal": true; }; "preselectedUnit": { "alias": "preselectedUnit"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocused": "onFocused"; "onValueChange": "onValueChange"; "onOptionAdded": "onOptionAdded"; "onAdd": "onAdd"; "onSelectionChange": "onSelectionChange"; "onSelectedObject": "onSelectedObject"; "onSelectedGroup": "onSelectedGroup"; "onClear": "onClear"; "onAutofill": "onAutofill"; "onScrolledToBottom": "onScrolledToBottom"; "onScrolledToBottomGroup": "onScrolledToBottomGroup"; "onSearch": "onSearch"; }, never, never, true, never>;
395
396
  }
@@ -1,14 +1,9 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { UntypedFormGroup } from '@angular/forms';
3
- import { NgbDropdown } from '@ng-bootstrap/ng-bootstrap';
2
+ import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
4
3
  import { Contact } from './models/contact.interface';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class ListContactDropdownComponent {
7
- private elementRef;
8
- dropdown: NgbDropdown;
9
- dropdownMenu: ElementRef<HTMLDivElement>;
10
- constructor(elementRef: ElementRef);
11
- onDocumentClick(event: Event): void;
6
+ dropdown: NgbPopover;
12
7
  id: import("@angular/core").InputSignal<string>;
13
8
  contacts: import("@angular/core").InputSignal<Contact[]>;
14
9
  onAdd: import("@angular/core").OutputEmitterRef<void>;
@@ -28,12 +23,14 @@ export declare class ListContactDropdownComponent {
28
23
  openDropdown(): void;
29
24
  isDepartmentOpen(departmentId: number | null | undefined): boolean;
30
25
  isContactOpen(contactId: number | null | undefined): boolean;
31
- handleOpenDropdown(event: Event): void;
26
+ handleOpenDropdown(): void;
27
+ handleCloseDropdown(): void;
32
28
  emitOnAdd(event: Event): void;
33
29
  emitOnEdit(event: Event): void;
34
30
  emitOnDelete(event: Event): void;
35
- handleContactClick(event: Event, contactId: number): void;
36
- handleDepartmentClick(event: Event, departmentId: number): void;
31
+ handleContactClick(contactId: number): void;
32
+ handleDepartmentClick(departmentId: number): void;
33
+ handleClick(): void;
37
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ListContactDropdownComponent, never>;
38
35
  static ɵcmp: i0.ɵɵComponentDeclaration<ListContactDropdownComponent, "cai-list-contact-dropdown", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "contacts": { "alias": "contacts"; "required": false; "isSignal": true; }; }, { "onAdd": "onAdd"; "onDelete": "onDelete"; "onEdit": "onEdit"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, never, true, never>;
39
36
  }
@@ -5,9 +5,8 @@ export declare class RatingReviewComponent {
5
5
  ngOnInit(): void;
6
6
  ngOnChanges(changes: SimpleChanges): void;
7
7
  ratingReviews: IReview[];
8
+ inCard: boolean;
8
9
  modaltype: string;
9
- presentReviews: IReview[];
10
- currentType: string;
11
10
  countLikes: number;
12
11
  countDislikes: number;
13
12
  countReviews: number;
@@ -35,7 +34,8 @@ export declare class RatingReviewComponent {
35
34
  */
36
35
  private calculateReviewCounts;
37
36
  show: import("@angular/core").WritableSignal<boolean>;
38
- onToggleShow(): void;
37
+ handleOpen(): void;
38
+ handleClose(): void;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<RatingReviewComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<RatingReviewComponent, "cai-rating-review", never, { "ratingReviews": { "alias": "ratingReviews"; "required": true; }; "modaltype": { "alias": "modaltype"; "required": true; }; }, {}, never, never, true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<RatingReviewComponent, "cai-rating-review", never, { "ratingReviews": { "alias": "ratingReviews"; "required": true; }; "inCard": { "alias": "inCard"; "required": false; }; "modaltype": { "alias": "modaltype"; "required": true; }; }, {}, never, never, true, never>;
41
41
  }
@@ -8,18 +8,18 @@ export declare class ReviewModalComponent implements OnInit, OnChanges {
8
8
  ngOnChanges(changes: SimpleChanges): void;
9
9
  ratingReviews: IReview[];
10
10
  modaltype: string;
11
+ activeLikes: import("@angular/core").WritableSignal<boolean>;
12
+ activeDislikes: import("@angular/core").WritableSignal<boolean>;
13
+ activeReviews: import("@angular/core").WritableSignal<boolean>;
14
+ disabled: import("@angular/core").WritableSignal<boolean>;
15
+ addingReview: import("@angular/core").WritableSignal<boolean>;
11
16
  presentReviews: IReview[];
12
17
  testReview: IReview;
13
- currentType: string;
14
18
  countLikes: number;
15
19
  countDislikes: number;
16
20
  countReviews: number;
21
+ hasPersonalReview: boolean;
17
22
  onReturnMost(): string;
18
- activeLikes: import("@angular/core").WritableSignal<boolean>;
19
- activeDislikes: import("@angular/core").WritableSignal<boolean>;
20
- activeReviews: import("@angular/core").WritableSignal<boolean>;
21
- disabled: import("@angular/core").WritableSignal<boolean>;
22
- addingReview: import("@angular/core").WritableSignal<boolean>;
23
23
  /**
24
24
  * Emits an event when a review is successfully deleted.
25
25
  * This event carries no data.
@@ -37,6 +37,8 @@ export declare class ReviewModalComponent implements OnInit, OnChanges {
37
37
  onGetReview(ev: {
38
38
  review: IReview;
39
39
  }): void;
40
+ handleSearch(event: string | number | null): void;
41
+ handleClear(event: void): void;
40
42
  /**
41
43
  * Initializes review data when the component is initialized or when the `reviews` input changes.
42
44
  * It copies the original reviews array, resets counters, calculates new counts, and
@@ -81,18 +83,7 @@ export declare class ReviewModalComponent implements OnInit, OnChanges {
81
83
  * @param id The ID of the review to be deleted.
82
84
  */
83
85
  onDeleteReview(id: number): void;
84
- activeFilter: string;
85
- /**
86
- * Switches active state of an filter button.
87
- * Initial state is all which selects all present reviews.
88
- * @param value The value of selected filter.
89
- */
90
- setActiveFilter(value: string): void;
91
- personalReviewSet: boolean;
92
- activeInput: boolean;
93
- toggleActiveInput(): void;
94
- hasPersonalReview: boolean;
95
86
  onCheckPersonal(): void;
96
87
  static ɵfac: i0.ɵɵFactoryDeclaration<ReviewModalComponent, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<ReviewModalComponent, "cai-review-modal", never, { "ratingReviews": { "alias": "ratingReviews"; "required": true; }; "modaltype": { "alias": "modaltype"; "required": true; }; }, { "reviewDeleted": "reviewDeleted"; }, never, never, true, never>;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReviewModalComponent, "cai-review-modal", never, { "ratingReviews": { "alias": "ratingReviews"; "required": false; }; "modaltype": { "alias": "modaltype"; "required": false; }; }, { "reviewDeleted": "reviewDeleted"; }, never, never, true, never>;
98
89
  }
@@ -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
  };