carriera-intern-components 1.1.199 → 1.1.721
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/fesm2022/carriera-intern-components.mjs +9119 -5402
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/index.d.ts +2550 -3
- package/package.json +1 -1
- package/public/assets/animations/animation-document-update.json +1 -0
- package/public/assets/animations/animation-image.json +1 -0
- package/public/assets/animations/animation-logo.json +1 -0
- package/public/assets/animations/animation-media.json +1 -0
- package/public/assets/cdl.png +0 -0
- package/public/assets/icons/Thumb-active.svg +3 -0
- package/public/assets/icons/cai-drop-zone-focus.svg +48 -0
- package/public/assets/icons/fuel-contact/cai-contact.svg +3 -0
- package/public/assets/icons/general/cai-date.svg +1 -1
- package/public/assets/icons/general/cai-sort-descending.svg +4 -0
- package/public/assets/icons/interaction/cai-dislike.svg +2 -2
- package/public/assets/icons/interaction/cai-drag.svg +3 -0
- package/public/assets/icons/interaction/cai-like.svg +2 -2
- package/public/assets/icons/interaction/cai_time.svg +1 -1
- package/public/assets/icons/load/cai-parking.svg +3 -0
- package/public/assets/invexample.png +0 -0
- package/public/assets/invoice.png +0 -0
- package/public/assets/json/icons.json +20 -0
- package/src/styles/README.md +7 -5
- package/src/styles/_variables.scss +27 -14
- package/src/styles/cropper.scss +14 -8
- package/src/styles/custompickers.scss +704 -693
- package/src/styles/popover.scss +210 -4
- package/src/styles/review_variables.scss +5 -0
- package/src/styles/tooltip.scss +37 -3
- package/src/styles.scss +18 -6
- package/app/components/avatar/avatar.component.d.ts +0 -30
- package/app/components/avatar/models/avatar.model.d.ts +0 -28
- package/app/components/avatar/models/index.d.ts +0 -1
- package/app/components/avatar/pipes/initials.pipe.d.ts +0 -11
- package/app/components/copy/copy.component.d.ts +0 -23
- package/app/components/document-preview/document-preview.component.d.ts +0 -107
- package/app/components/document-preview/interfaces/document-tag.interface.d.ts +0 -4
- package/app/components/document-preview/interfaces/index.d.ts +0 -1
- package/app/components/drop-zone/drop-zone.component.d.ts +0 -192
- package/app/components/drop-zone/models/file.response.d.ts +0 -10
- package/app/components/input/directives/helpers/index.d.ts +0 -1
- package/app/components/input/directives/helpers/mask.helper.d.ts +0 -15
- package/app/components/input/directives/mask.directive.d.ts +0 -67
- package/app/components/input/directives/number-format.directive.d.ts +0 -120
- package/app/components/input/directives/password.directive.d.ts +0 -100
- package/app/components/input/input.component.d.ts +0 -394
- package/app/components/input/models/dropdown.model.d.ts +0 -272
- package/app/components/input/models/index.d.ts +0 -2
- package/app/components/input/models/input.model.d.ts +0 -62
- package/app/components/input/pipes/error-message.pipe.d.ts +0 -11
- package/app/components/input/pipes/filter-by-search.pipe.d.ts +0 -9
- package/app/components/input/pipes/highlight-search.d.ts +0 -13
- package/app/components/input/pipes/remap-pm-icons.pipe.d.ts +0 -7
- package/app/components/input-address/enums/input-address-layers-string.enum.d.ts +0 -4
- package/app/components/input-address/enums/input-address-type-string.enum.d.ts +0 -5
- package/app/components/input-address/input-address.component.d.ts +0 -67
- package/app/components/input-address/models/address-data.model.d.ts +0 -19
- package/app/components/input-address/models/address-list.model.d.ts +0 -6
- package/app/components/input-address/models/long-lat.model.d.ts +0 -4
- package/app/components/input-address/models/sent-address-data.model.d.ts +0 -22
- package/app/components/input-datetime-picker/cai-input-datetime-picker.component.d.ts +0 -103
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/cai-custom-datetime-pickers.component.d.ts +0 -58
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-dates-main/cai-custom-datetime-pickers-calendar-dates-main.component.d.ts +0 -41
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-days/cai-custom-datetime-pickers-calendar-days.component.d.ts +0 -26
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-left/cai-custom-datetime-pickers-calendar-left.component.d.ts +0 -30
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-date-calendars/cai-custom-datetime-pickers-date-calendars.component.d.ts +0 -38
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/cai-input.config.d.ts +0 -169
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/index.d.ts +0 -1
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-left-string.enum.d.ts +0 -5
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-list-preview-string.enum.d.ts +0 -4
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-main-string.enum.d.ts +0 -5
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-scroll-type-string.enum.d.ts +0 -4
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-string.enum.d.ts +0 -6
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-type-string.enum.d.ts +0 -3
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/config.enum.d.ts +0 -7
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/models/scroll-change.model.d.ts +0 -6
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/models/scroll-type.model.d.ts +0 -8
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/pipes/calendar-months.pipe.d.ts +0 -9
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/services/calendar-datetime-picker.service.d.ts +0 -19
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/strategy/calendar-strategy.d.ts +0 -30
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/utils/constants/custom-datetime-pickers.constants.d.ts +0 -19
- package/app/components/input-datetime-picker/enums/input-config-name-string.enum.d.ts +0 -7
- package/app/components/input-datetime-picker/pipes/input-clear-class.pipe.d.ts +0 -14
- package/app/components/input-datetime-picker/pipes/input-date-time-container-class.pipe.d.ts +0 -11
- package/app/components/input-datetime-picker/pipes/input-dropdown-arrow-class.pipe.d.ts +0 -11
- package/app/components/input-datetime-picker/pipes/input-placeholder-icon.class.pipe.d.ts +0 -11
- package/app/components/input-datetime-picker/pipes/show-clear.pipe.d.ts +0 -8
- package/app/components/pm/pm.component.d.ts +0 -76
- package/app/components/selected-location-field/interfaces/index.d.ts +0 -1
- package/app/components/selected-location-field/interfaces/selected-business-field.interface.d.ts +0 -11
- package/app/components/selected-location-field/selected-business-field.component.d.ts +0 -12
- package/app/directives/hover-svg-directives.d.ts +0 -15
- package/app/directives/index.d.ts +0 -3
- package/app/directives/infinite-scroll.directive.d.ts +0 -16
- package/app/directives/intersection-observer.directive.d.ts +0 -15
- package/app/enums/alignment.enum.d.ts +0 -4
- package/app/enums/general-actions.enum.d.ts +0 -58
- package/app/enums/index.d.ts +0 -3
- package/app/enums/string-placeholder.enum.d.ts +0 -3
- package/app/models/appFile.model.d.ts +0 -14
- package/app/models/pm.model.d.ts +0 -10
- package/app/pipes/bytes-to-human-readable.pipe.d.ts +0 -7
- package/app/pipes/currency.pipe.d.ts +0 -28
- package/app/pipes/number-format.pipe.d.ts +0 -7
- package/app/services/document.service.d.ts +0 -22
- package/app/utils/autofill-validators.d.ts +0 -10
- package/app/utils/constants/index.d.ts +0 -1
- package/app/utils/constants/input-character-sets.constants.d.ts +0 -18
- package/app/utils/index.d.ts +0 -2
- package/public/pdfjs/pdf.worker.min.mjs +0 -30
- package/public-api.d.ts +0 -11
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BytesToHumanReadablePipe implements PipeTransform {
|
|
4
|
-
transform(bytes: number | null | undefined, precision?: number): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BytesToHumanReadablePipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BytesToHumanReadablePipe, "bytesToHumanReadable", true>;
|
|
7
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @ngdoc pipe
|
|
5
|
-
* @name currencyPipe
|
|
6
|
-
* @description
|
|
7
|
-
* Formats a given dollar amount into a compact string (e.g., $35.21K, $1.23M).
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* {{ value | currency }}
|
|
11
|
-
*
|
|
12
|
-
* Example:
|
|
13
|
-
* {{ 35210 | currency }} // outputs: $35.21K
|
|
14
|
-
* {{ 1234567 | currency }} // outputs: $1.23M
|
|
15
|
-
* {{ 999 | currency }} // outputs: $999
|
|
16
|
-
* {{ 1234567890 | currency }} // outputs: $1.23B
|
|
17
|
-
*/
|
|
18
|
-
export declare class CurrencyPipe implements PipeTransform {
|
|
19
|
-
/**
|
|
20
|
-
* Transforms a numeric value into a formatted currency string.
|
|
21
|
-
*
|
|
22
|
-
* @param {number | string} value The dollar amount to format. Can be a number or a string that can be parsed to a number.
|
|
23
|
-
* @returns {string} The formatted currency string, or '$0.00' if the input is invalid.
|
|
24
|
-
*/
|
|
25
|
-
transform(value: number | string): string;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyPipe, never>;
|
|
27
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CurrencyPipe, "currency", true>;
|
|
28
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NumberFormatPipe implements PipeTransform {
|
|
4
|
-
transform(value: string): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFormatPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NumberFormatPipe, "numberFormat", true>;
|
|
7
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DocumentService {
|
|
3
|
-
/**
|
|
4
|
-
* Generates a data URL thumbnail for a given file.
|
|
5
|
-
* Handles PDFs, videos, and images.
|
|
6
|
-
* @param file The file to generate a thumbnail for.
|
|
7
|
-
* @returns A promise that resolves to a data URL string for the thumbnail.
|
|
8
|
-
*/
|
|
9
|
-
generateThumbnail(file: File): Promise<string>;
|
|
10
|
-
private generatePdfThumbnail;
|
|
11
|
-
private generateVideoThumbnail;
|
|
12
|
-
/**
|
|
13
|
-
* Reads a PDF file and returns the total number of pages.
|
|
14
|
-
*
|
|
15
|
-
* @param file The PDF Blob or File.
|
|
16
|
-
* @returns A promise that resolves to the page count (number).
|
|
17
|
-
* @throws If the file is not a valid PDF or an error occurs during processing.
|
|
18
|
-
*/
|
|
19
|
-
getPdfPageCount(file: Blob): Promise<number>;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentService>;
|
|
22
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ValidatorFn, ValidationErrors } from '@angular/forms';
|
|
2
|
-
type FlexibleValidatorFn = (control: any) => ValidationErrors | null;
|
|
3
|
-
/**
|
|
4
|
-
* Creates a validator that ignores validation rules when the control is autofilled.
|
|
5
|
-
* This can be used by components to create form controls with autofill support.
|
|
6
|
-
* @param validators - Array of validators to apply when not autofilled
|
|
7
|
-
* @returns A validator function that bypasses validation for autofilled controls
|
|
8
|
-
*/
|
|
9
|
-
export declare function ignoreWhenAutofilled(...validators: FlexibleValidatorFn[]): ValidatorFn;
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-character-sets.constants';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const INPUT_CHARACTER_SETS: {
|
|
2
|
-
readonly DIGITS: readonly ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
3
|
-
readonly FRENCH_LETTERS: readonly ["ç", "é", "â", "ê", "î", "ô", "û", "à", "è", "ì", "ò", "ù", "ë", "ï", "ü", "æ", "œ", "ÿ"];
|
|
4
|
-
readonly LETTERS: readonly ["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"];
|
|
5
|
-
readonly BASIC_PUNCTUATION: readonly [".", ",", "!", "?", ";", ":"];
|
|
6
|
-
readonly COMMON_SYMBOLS: readonly ["@", "#", "$", "%", "&", "*", "+", "-", "=", "_", "|", "~", "`", "^", "<", ">", "/", "|", "~", "`", "^", "<", ">", "\\"];
|
|
7
|
-
readonly BRACKETS: readonly ["(", ")", "[", "]", "{", "}"];
|
|
8
|
-
readonly QUOTES: readonly ["\"", "'", "`"];
|
|
9
|
-
readonly WHITESPACE: readonly [" ", "\t"];
|
|
10
|
-
readonly DBA_SPECIAL: readonly ["!", "#", "'", "$", "&", "%", "(", ")", "*", "+", ",", "-", ".", "/", ":", ";", "=", ">", "?", "[", "]", "\\", "^"];
|
|
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
|
-
readonly ALPHANUMERIC_WITH_SPACES: string[];
|
|
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" | "." | "@" | "+" | "-" | "_")[];
|
|
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
|
-
};
|
package/app/utils/index.d.ts
DELETED