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.
- package/app/components/avatar/avatar.component.d.ts +1 -1
- package/app/components/avatar/models/avatar.model.d.ts +12 -5
- package/app/components/avatar/pipes/initials.pipe.d.ts +5 -1
- package/app/components/drop-zone/drop-zone.component.d.ts +1 -1
- package/app/components/input/input.component.d.ts +8 -0
- package/app/components/input/models/dropdown.model.d.ts +2 -2
- package/app/services/document.service.d.ts +0 -1
- package/fesm2022/carriera-intern-components.mjs +52 -49
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/pdfjs/pdf.worker.min.mjs +7 -6
- package/public-api.d.ts +1 -0
- package/src/styles/tooltip.scss +5 -1
|
@@ -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
|
|
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
|
|
4
|
-
lastName
|
|
3
|
+
firstName?: string | null;
|
|
4
|
+
lastName?: string | null;
|
|
5
|
+
fullName?: string | null;
|
|
5
6
|
owner?: boolean | null;
|
|
6
7
|
avatarFile?: AvatarFile | null;
|
|
7
|
-
colorFlag?:
|
|
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
|
-
|
|
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
|
|
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, "
|
|
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 {
|
|
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?:
|
|
34
|
+
colorFlag?: ColorFlag | null;
|
|
35
35
|
status?: number;
|
|
36
36
|
address: string | null;
|
|
37
37
|
payType: {
|