carriera-intern-components 1.1.52 → 1.1.54
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 +6 -1
- package/app/components/avatar/pipes/avatar-classes.pipe.d.ts +2 -1
- package/app/components/dispatch-dropdown/dispatch-dropdown.component.d.ts +4 -1
- package/app/components/dispatch-dropdown/interfaces/dispatch-dropdown-option.interface.d.ts +1 -1
- package/app/components/dispatch-dropdown/pipes/dispatch-search-filter.pipe.d.ts +1 -1
- package/app/components/document-preview/document-preview.component.d.ts +2 -1
- package/app/components/drop-zone/drop-zone.component.d.ts +8 -1
- package/app/utils/constants/input-character-sets.constants.d.ts +5 -5
- package/fesm2022/carriera-intern-components.mjs +121 -30
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/invexample.png +0 -0
- package/public/assets/invoice.png +0 -0
- package/src/styles/popover.scss +8 -0
|
@@ -35,6 +35,11 @@ export declare class AvatarComponent {
|
|
|
35
35
|
* @type {number}
|
|
36
36
|
*/
|
|
37
37
|
customHoverSize: import("@angular/core").InputSignal<number | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the avatar should be hovered or not.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
*/
|
|
42
|
+
hover: import("@angular/core").InputSignal<boolean>;
|
|
38
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "cai-avatar", never, { "driver": { "alias": "driver"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "inverse": { "alias": "inverse"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "customHoverSize": { "alias": "customHoverSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "cai-avatar", never, { "driver": { "alias": "driver"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "inverse": { "alias": "inverse"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "customHoverSize": { "alias": "customHoverSize"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
40
45
|
}
|
|
@@ -8,11 +8,12 @@ interface AvatarClassesInput {
|
|
|
8
8
|
inverse: boolean;
|
|
9
9
|
rounded: boolean;
|
|
10
10
|
customHoverSize?: number;
|
|
11
|
+
hover: boolean;
|
|
11
12
|
}
|
|
12
13
|
export declare class AvatarClassesPipe implements PipeTransform {
|
|
13
14
|
private readonly colorMap;
|
|
14
15
|
private readonly sizeMap;
|
|
15
|
-
transform({ size, color, isOwner, inverse, rounded, customHoverSize, }: AvatarClassesInput): string;
|
|
16
|
+
transform({ size, color, isOwner, inverse, rounded, customHoverSize, hover, }: AvatarClassesInput): string;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarClassesPipe, never>;
|
|
17
18
|
static ɵpipe: i0.ɵɵPipeDeclaration<AvatarClassesPipe, "avatarClasses", true>;
|
|
18
19
|
}
|
|
@@ -8,6 +8,7 @@ export declare class DispatchDropdownComponent {
|
|
|
8
8
|
inputRef: ElementRef<HTMLInputElement>;
|
|
9
9
|
selectedOption: import("@angular/core").InputSignal<IDispatchDropdownOption | null>;
|
|
10
10
|
options: import("@angular/core").InputSignal<IDispatchDropdownOption[]>;
|
|
11
|
+
optionLabel: import("@angular/core").InputSignal<string>;
|
|
11
12
|
config: import("@angular/core").InputSignal<IDispatchDropdownConfig>;
|
|
12
13
|
data: import("@angular/core").InputSignal<unknown>;
|
|
13
14
|
isLocked: import("@angular/core").InputSignal<boolean>;
|
|
@@ -15,6 +16,8 @@ export declare class DispatchDropdownComponent {
|
|
|
15
16
|
isDisabled: import("@angular/core").InputSignal<boolean>;
|
|
16
17
|
disabledTooltip: import("@angular/core").InputSignal<string>;
|
|
17
18
|
contentTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
19
|
+
optionTemplateLeft: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
20
|
+
optionTemplateRight: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
18
21
|
onSelectionChange: import("@angular/core").OutputEmitterRef<IDispatchDropdownOption | null>;
|
|
19
22
|
onRemove: import("@angular/core").OutputEmitterRef<void>;
|
|
20
23
|
onAddNew: import("@angular/core").OutputEmitterRef<void>;
|
|
@@ -32,5 +35,5 @@ export declare class DispatchDropdownComponent {
|
|
|
32
35
|
handlePrimaryButtonClick(event: MouseEvent): void;
|
|
33
36
|
handleAddNew(): void;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<DispatchDropdownComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DispatchDropdownComponent, "cai-dispatch-dropdown", never, { "selectedOption": { "alias": "selectedOption"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; "hasNoRemoveButton": { "alias": "hasNoRemoveButton"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "disabledTooltip": { "alias": "disabledTooltip"; "required": false; "isSignal": true; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; "onRemove": "onRemove"; "onAddNew": "onAddNew"; }, never, never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DispatchDropdownComponent, "cai-dispatch-dropdown", never, { "selectedOption": { "alias": "selectedOption"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; "hasNoRemoveButton": { "alias": "hasNoRemoveButton"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "disabledTooltip": { "alias": "disabledTooltip"; "required": false; "isSignal": true; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; "isSignal": true; }; "optionTemplateLeft": { "alias": "optionTemplateLeft"; "required": false; "isSignal": true; }; "optionTemplateRight": { "alias": "optionTemplateRight"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; "onRemove": "onRemove"; "onAddNew": "onAddNew"; }, never, never, true, never>;
|
|
36
39
|
}
|
|
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import { IDispatchDropdownOption } from '../interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DispatchSearchFilterPipe implements PipeTransform {
|
|
5
|
-
transform(options: IDispatchDropdownOption[] | null | undefined, searchValue?: string, hasPagination?: boolean): IDispatchDropdownOption[];
|
|
5
|
+
transform(options: IDispatchDropdownOption[] | null | undefined, searchValue?: string, hasPagination?: boolean, optionLabel?: string): IDispatchDropdownOption[];
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DispatchSearchFilterPipe, never>;
|
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<DispatchSearchFilterPipe, "dispatchSearchFilter", true>;
|
|
8
8
|
}
|
|
@@ -11,6 +11,7 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
|
|
|
11
11
|
coverMinimalMode: boolean;
|
|
12
12
|
cdlDetailsMode: boolean;
|
|
13
13
|
noTagOption: boolean;
|
|
14
|
+
drawerMode: boolean;
|
|
14
15
|
tags: import("@angular/core").InputSignal<DocumentTag[]>;
|
|
15
16
|
onFileNameChange: EventEmitter<{
|
|
16
17
|
fileName: string;
|
|
@@ -97,5 +98,5 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
|
|
|
97
98
|
*/
|
|
98
99
|
handleShare(): void;
|
|
99
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPreviewComponent, never>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "cdlDetailsMode": { "alias": "cdlDetailsMode"; "required": false; }; "noTagOption": { "alias": "noTagOption"; "required": false; }; "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; }, { "onFileNameChange": "onFileNameChange"; "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "cdlDetailsMode": { "alias": "cdlDetailsMode"; "required": false; }; "noTagOption": { "alias": "noTagOption"; "required": false; }; "drawerMode": { "alias": "drawerMode"; "required": false; }; "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; }, { "onFileNameChange": "onFileNameChange"; "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
|
|
101
102
|
}
|
|
@@ -39,6 +39,7 @@ export declare class DropZoneComponent {
|
|
|
39
39
|
deletedFileIds: import("@angular/core").InputSignal<number[]>;
|
|
40
40
|
maxCountFiles: import("@angular/core").InputSignal<number>;
|
|
41
41
|
isDetailsSlider: import("@angular/core").InputSignal<boolean>;
|
|
42
|
+
isDrawerMode: import("@angular/core").InputSignal<boolean>;
|
|
42
43
|
dropZoneVariant: typeof DropZoneVariant;
|
|
43
44
|
/**
|
|
44
45
|
* A input that holds an FormGroup object that is used to update the form validity when the crop mode is closed.
|
|
@@ -130,6 +131,12 @@ export declare class DropZoneComponent {
|
|
|
130
131
|
* @param event The `DragEvent` object containing the dropped files.
|
|
131
132
|
*/
|
|
132
133
|
onDrop(event: DragEvent): void;
|
|
134
|
+
/**
|
|
135
|
+
* Checks if the drag event contains files (not text or other selectable content).
|
|
136
|
+
* @param event The DragEvent to check
|
|
137
|
+
* @returns true if files are being dragged, false otherwise
|
|
138
|
+
*/
|
|
139
|
+
private isFileDrag;
|
|
133
140
|
onDragOver(event: DragEvent): void;
|
|
134
141
|
onDragLeave(event: DragEvent): void;
|
|
135
142
|
onDragEnter(event: DragEvent): void;
|
|
@@ -210,5 +217,5 @@ export declare class DropZoneComponent {
|
|
|
210
217
|
setInvalid(): void;
|
|
211
218
|
clearInvalid(): void;
|
|
212
219
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropZoneComponent, never>;
|
|
213
|
-
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; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "deletedFileIds": { "alias": "deletedFileIds"; "required": false; "isSignal": true; }; "maxCountFiles": { "alias": "maxCountFiles"; "required": false; "isSignal": true; }; "isDetailsSlider": { "alias": "isDetailsSlider"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "documentTags": { "alias": "documentTags"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; }, { "onDeletedFileIds": "onDeletedFileIds"; "docsChange": "docsChange"; }, never, never, true, never>;
|
|
220
|
+
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; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "deletedFileIds": { "alias": "deletedFileIds"; "required": false; "isSignal": true; }; "maxCountFiles": { "alias": "maxCountFiles"; "required": false; "isSignal": true; }; "isDetailsSlider": { "alias": "isDetailsSlider"; "required": false; "isSignal": true; }; "isDrawerMode": { "alias": "isDrawerMode"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "documentTags": { "alias": "documentTags"; "required": false; "isSignal": true; }; "excludedFileTypes": { "alias": "excludedFileTypes"; "required": false; "isSignal": true; }; "fileTypes": { "alias": "fileTypes"; "required": false; "isSignal": true; }; }, { "onDeletedFileIds": "onDeletedFileIds"; "docsChange": "docsChange"; }, never, never, true, never>;
|
|
214
221
|
}
|
|
@@ -8,11 +8,11 @@ export declare const INPUT_CHARACTER_SETS: {
|
|
|
8
8
|
readonly QUOTES: readonly ["\"", "'", "`"];
|
|
9
9
|
readonly WHITESPACE: readonly [" ", "\t"];
|
|
10
10
|
readonly DBA_SPECIAL: readonly ["!", "#", "'", "$", "&", "%", "(", ")", "*", "+", ",", "-", ".", "/", ":", ";", "=", ">", "?", "[", "]", "\\", "^"];
|
|
11
|
-
readonly ALPHANUMERIC: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "
|
|
11
|
+
readonly ALPHANUMERIC: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "i" | "p" | "q" | "s" | "u" | "c" | "d" | "e" | "f" | "g" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "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" | "
|
|
15
|
-
readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "
|
|
16
|
-
readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "
|
|
17
|
-
readonly SPECIAL: ("." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "
|
|
14
|
+
readonly EMAIL_CHARACTERS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "." | "a" | "b" | "i" | "p" | "q" | "s" | "u" | "c" | "d" | "e" | "f" | "g" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "v" | "w" | "x" | "y" | "z" | "@" | "+" | "-" | "_")[];
|
|
15
|
+
readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
|
|
16
|
+
readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
|
|
17
|
+
readonly SPECIAL: ("*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
|
|
18
18
|
};
|