carriera-intern-components 1.1.163 → 1.1.165

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.
@@ -16,7 +16,7 @@ export declare class AvatarComponent {
16
16
  */
17
17
  size: import("@angular/core").InputSignal<18 | 22 | 32 | 74 | 160>;
18
18
  /**
19
- * Whether the avatar should be rounded or not at sizes of 74px and 160px.
19
+ * Whether the avatar should be rounded or not.
20
20
  * @type {boolean}
21
21
  */
22
22
  rounded: import("@angular/core").InputSignal<boolean>;
@@ -1,10 +1,13 @@
1
1
  export interface Driver {
2
2
  id: number;
3
- firstName: string;
4
- lastName: string;
3
+ firstName?: string | null;
4
+ lastName?: string | null;
5
+ fullName?: string | null;
5
6
  owner?: boolean | null;
6
7
  avatarFile?: AvatarFile | null;
7
- colorFlag?: AvatarColor | null;
8
+ colorFlag?: ColorFlag | null;
9
+ avatarUrl?: string | null;
10
+ avatarColor?: AvatarColor | null;
8
11
  [key: string]: any;
9
12
  }
10
13
  export type AvatarFile = {
@@ -14,8 +17,12 @@ export type AvatarFile = {
14
17
  fileSize: number;
15
18
  [key: string]: any;
16
19
  };
17
- declare const colors: readonly ["Blue", "Green", "Red", "Yellow", "Purple", "Gold", "Light Green", "Orange", "Light Blue", "Pink", "Brown", "Gray"];
20
+ export type ColorFlag = {
21
+ id: number;
22
+ name: AvatarColor;
23
+ };
24
+ declare const colors: readonly ["Blue", "Green", "Red", "Yellow", "Purple", "Gold", "Light Green", "Orange", "Light Blue", "Pink", "Brown", "Gray", "Lime", "Navy", "Azure", "Magenta"];
18
25
  export type AvatarColor = (typeof colors)[number];
19
26
  declare const sizes: readonly [18, 22, 32, 74, 160];
20
- export type Size = typeof sizes[number];
27
+ export type Size = (typeof sizes)[number];
21
28
  export {};
@@ -1,7 +1,11 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class InitialsPipe implements PipeTransform {
4
- transform(firstName: string | null | undefined, lastName: string | null | undefined): string;
4
+ transform({ firstName, lastName, fullName, }: {
5
+ firstName?: string | null;
6
+ lastName?: string | null;
7
+ fullName?: string | null;
8
+ }): string;
5
9
  static ɵfac: i0.ɵɵFactoryDeclaration<InitialsPipe, never>;
6
10
  static ɵpipe: i0.ɵɵPipeDeclaration<InitialsPipe, "initials", true>;
7
11
  }
@@ -166,5 +166,5 @@ export declare class DropZoneComponent {
166
166
  tag: string;
167
167
  }): void;
168
168
  static ɵfac: i0.ɵɵFactoryDeclaration<DropZoneComponent, never>;
169
- static ɵcmp: i0.ɵɵComponentDeclaration<DropZoneComponent, "app-drop-zone", never, { "crop": { "alias": "crop"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "docsChange": "docsChange"; }, never, never, true, never>;
169
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropZoneComponent, "cai-drop-zone", never, { "crop": { "alias": "crop"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "docsChange": "docsChange"; }, never, never, true, never>;
170
170
  }
@@ -167,6 +167,10 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
167
167
  * A computed signal that indicates whether the placeholder selected option should be shown.
168
168
  */
169
169
  hasText: import("@angular/core").Signal<boolean>;
170
+ /**
171
+ * A signal that holds the container width to prevent ExpressionChangedAfterItHasBeenCheckedError.
172
+ */
173
+ containerWidth: import("@angular/core").WritableSignal<number>;
170
174
  /**
171
175
  * A computed signal that dynamically calculates the step value for number inputs.
172
176
  */
@@ -220,6 +224,10 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
220
224
  * Sets up autofill detection by checking for Chrome's -webkit-autofill CSS pseudo-class
221
225
  */
222
226
  private setupAutofillDetection;
227
+ /**
228
+ * Updates the container width signal to prevent ExpressionChangedAfterItHasBeenCheckedError
229
+ */
230
+ private updateContainerWidth;
223
231
  /**
224
232
  * Handles the native 'input' event from the HTMLInputElement.
225
233
  * Updates the component's internal value and notifies Angular forms
@@ -1,4 +1,4 @@
1
- import { AvatarColor, AvatarFile } from '../../avatar/models';
1
+ import { AvatarFile, ColorFlag } from '../../avatar/models';
2
2
  export type DropdownOption = {
3
3
  id?: number;
4
4
  [key: string]: any;
@@ -31,7 +31,7 @@ export type Driver = {
31
31
  lastName: string;
32
32
  owner?: boolean | null;
33
33
  avatarFile?: AvatarFile | null;
34
- colorFlag?: AvatarColor | null;
34
+ colorFlag?: ColorFlag | null;
35
35
  status?: number;
36
36
  address: string | null;
37
37
  payType: {
@@ -1,6 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DocumentService {
3
- constructor();
4
3
  /**
5
4
  * Generates a data URL thumbnail for a given file.
6
5
  * Handles PDFs, videos, and images.