carriera-intern-components 1.1.0 → 1.1.2
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 +2 -2
- 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/copy/copy.component.d.ts +23 -0
- package/app/components/document-preview/document-preview.component.d.ts +19 -9
- package/app/components/document-preview/interfaces/document-tag.interface.d.ts +4 -0
- package/app/components/document-preview/interfaces/index.d.ts +1 -0
- package/app/components/drop-zone/drop-zone.component.d.ts +58 -33
- package/app/components/drop-zone/models/file.response.d.ts +10 -0
- package/app/components/input/directives/helpers/index.d.ts +1 -0
- package/app/components/input/directives/helpers/mask.helper.d.ts +15 -0
- package/app/components/input/directives/mask.directive.d.ts +2 -16
- package/app/components/input/directives/number-format.directive.d.ts +6 -1
- package/app/components/input/directives/password.directive.d.ts +3 -1
- package/app/components/input/input.component.d.ts +86 -9
- package/app/components/input/models/dropdown.model.d.ts +50 -2
- package/app/components/input/models/input.model.d.ts +22 -7
- package/app/components/input/pipes/filter-by-search.pipe.d.ts +1 -1
- package/app/components/input/pipes/remap-pm-icons.pipe.d.ts +7 -0
- package/app/components/input-address/enums/input-address-layers-string.enum.d.ts +4 -0
- package/app/components/input-address/enums/input-address-type-string.enum.d.ts +5 -0
- package/app/components/input-address/input-address.component.d.ts +67 -0
- package/app/components/input-address/models/address-data.model.d.ts +19 -0
- package/app/components/input-address/models/address-list.model.d.ts +6 -0
- package/app/components/input-address/models/long-lat.model.d.ts +4 -0
- package/app/components/input-address/models/sent-address-data.model.d.ts +22 -0
- package/app/components/input-datetime-picker/cai-input-datetime-picker.component.d.ts +106 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/cai-custom-datetime-pickers.component.d.ts +58 -0
- 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 +41 -0
- 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 +26 -0
- 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 +30 -0
- 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 +38 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/cai-input.config.d.ts +169 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/index.d.ts +1 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-left-string.enum.d.ts +5 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-list-preview-string.enum.d.ts +4 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-main-string.enum.d.ts +5 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-scroll-type-string.enum.d.ts +4 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-string.enum.d.ts +6 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/calendar-type-string.enum.d.ts +3 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/enums/config.enum.d.ts +7 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/models/scroll-change.model.d.ts +6 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/models/scroll-type.model.d.ts +8 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/pipes/calendar-months.pipe.d.ts +9 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/services/calendar-datetime-picker.service.d.ts +19 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/strategy/calendar-strategy.d.ts +30 -0
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/utils/constants/custom-datetime-pickers.constants.d.ts +19 -0
- package/app/components/input-datetime-picker/enums/input-config-name-string.enum.d.ts +7 -0
- package/app/components/input-datetime-picker/interfaces/input-datetime.interface.d.ts +8 -0
- package/app/components/pm/pm.component.d.ts +76 -0
- package/app/components/selected-location-field/interfaces/index.d.ts +1 -0
- package/app/components/selected-location-field/interfaces/selected-business-field.interface.d.ts +11 -0
- package/app/components/selected-location-field/selected-business-field.component.d.ts +12 -0
- package/app/directives/infinite-scroll.directive.d.ts +16 -0
- package/app/directives/intersection-observer.directive.d.ts +15 -0
- package/app/enums/alignment.enum.d.ts +4 -0
- package/app/enums/general-actions.enum.d.ts +58 -0
- package/app/enums/index.d.ts +3 -0
- package/app/enums/string-placeholder.enum.d.ts +3 -0
- package/app/models/appFile.model.d.ts +3 -1
- package/app/models/pm.model.d.ts +10 -0
- package/app/utils/constants/index.d.ts +1 -0
- package/app/utils/constants/input-character-sets.constants.d.ts +18 -0
- package/app/utils/index.d.ts +1 -0
- package/fesm2022/carriera-intern-components.mjs +4053 -321
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/icons/cai-color.svg +3 -0
- package/public/assets/icons/cai-edit.svg +3 -3
- package/public/assets/icons/cai-loader.svg +3 -0
- package/public/assets/icons/fuel-contact/cai-fuel-card.svg +3 -0
- package/public/assets/icons/fuel-contact/cai-user-2.svg +3 -0
- package/public/assets/icons/general/cai-date.svg +1 -1
- package/public/assets/icons/general/cai-fax.svg +5 -0
- package/public/assets/icons/general/cai-website.svg +3 -0
- package/public/assets/icons/integration/cai-efs.svg +4 -0
- package/public/assets/icons/interaction/cai-copy.svg +3 -0
- package/public/assets/icons/interaction/cai-favorite.svg +3 -0
- package/public/assets/icons/interaction/cai_time.svg +3 -0
- package/public/assets/icons/interaction/cai_x.svg +4 -0
- package/public/assets/icons/makes/trailers/ic_trailer_atro.svg +6 -0
- package/public/assets/icons/makes/trailers/ic_trailer_beall.svg +7 -0
- package/public/assets/icons/makes/trailers/ic_trailer_bedard.svg +8 -0
- package/public/assets/icons/makes/trailers/ic_trailer_butler.svg +7 -0
- package/public/assets/icons/makes/trailers/ic_trailer_de_lucio.svg +17 -0
- package/public/assets/icons/makes/trailers/ic_trailer_dorsey.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_east.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_fontaine.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_fruehauf.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_gallegos.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_great_dane.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_heil.svg +6 -0
- package/public/assets/icons/makes/trailers/ic_trailer_hudson.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_hyndai.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_kaufman.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_mac.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_manac.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_polar.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_ravens.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_reitnouer.svg +12 -0
- package/public/assets/icons/makes/trailers/ic_trailer_strick.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_timpte.svg +8 -0
- package/public/assets/icons/makes/trailers/ic_trailer_trail_king.svg +7 -0
- package/public/assets/icons/makes/trailers/ic_trailer_transcraft.svg +12 -0
- package/public/assets/icons/makes/trailers/ic_trailer_tremcar.svg +10 -0
- package/public/assets/icons/makes/trailers/ic_trailer_tytal.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_utility.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_vanguard.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_vantage.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_wabash.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_walinga.svg +8 -0
- package/public/assets/icons/makes/trailers/ic_trailer_wilson.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_chevrolet.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_ford.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_freightliner.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_gmc.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_hino.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_international.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_isuzu.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_kenworth.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_mack.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_peterbilt.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_volvo.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_western_star.svg +3 -0
- package/public/assets/json/icons.json +223 -3
- package/public/pdfjs/pdf.worker.min.mjs +30 -0
- package/public-api.d.ts +9 -2
- package/src/styles/README.md +57 -0
- package/src/styles/_variables.scss +288 -0
- package/src/styles/cropper.scss +33 -0
- package/src/styles/custompickers.scss +822 -0
- package/src/styles/popover.scss +18 -0
- package/src/styles/review_variables.scss +40 -0
- package/src/styles/tooltip.scss +85 -0
- package/src/styles/utility/colors.scss +265 -0
- package/src/styles/utility/utilities.scss +6 -0
- package/src/styles.scss +28 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InfiniteScrollDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
scrollThreshold: number;
|
|
6
|
+
debounceTime: number;
|
|
7
|
+
scrolledToBottom: EventEmitter<void>;
|
|
8
|
+
private debounceTimer;
|
|
9
|
+
private isLoading;
|
|
10
|
+
constructor(elementRef: ElementRef);
|
|
11
|
+
onScroll(event: Event): void;
|
|
12
|
+
private checkScrollPosition;
|
|
13
|
+
resetLoadingState(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InfiniteScrollDirective, "[caiInfiniteScroll]", never, { "scrollThreshold": { "alias": "scrollThreshold"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, { "scrolledToBottom": "scrolledToBottom"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IntersectionObserverDirective implements OnInit, OnDestroy {
|
|
4
|
+
private elementRef;
|
|
5
|
+
threshold: number;
|
|
6
|
+
rootMargin: string;
|
|
7
|
+
inView: EventEmitter<boolean>;
|
|
8
|
+
private observer;
|
|
9
|
+
constructor(elementRef: ElementRef);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
private createObserver;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionObserverDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IntersectionObserverDirective, "[caiIntersectionObserver]", never, { "threshold": { "alias": "threshold"; "required": false; }; "rootMargin": { "alias": "rootMargin"; "required": false; }; }, { "inView": "inView"; }, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare enum eGeneralActions {
|
|
2
|
+
ADD = "Add",
|
|
3
|
+
ADD_LOWERCASE = "add",
|
|
4
|
+
ADD_NEW_ITEM = "Add New Item",
|
|
5
|
+
UPDATE = "Update",
|
|
6
|
+
UPDATE_LOWERCASE = "update",
|
|
7
|
+
DELETE = "Delete",
|
|
8
|
+
DELETE_LOWERCASE = "delete",
|
|
9
|
+
EDIT = "Edit",
|
|
10
|
+
EDIT_LOWERCASE = "edit",
|
|
11
|
+
EDIT_UPPERCASE = "EDIT",
|
|
12
|
+
SAVE = "Save",
|
|
13
|
+
SAVE_LOWERCASE = "save",
|
|
14
|
+
CANCEL = "Cancel",
|
|
15
|
+
CANCEL_LOWERCASE = "cancel",
|
|
16
|
+
ENTER = "Enter",
|
|
17
|
+
ESCAPE = "Escape",
|
|
18
|
+
CONFIRM = "Confirm",
|
|
19
|
+
CONFIRM_LOWERCASE = "confirm",
|
|
20
|
+
SET = "Set",
|
|
21
|
+
SET_LOWERCASE = "set",
|
|
22
|
+
REMOVE = "Remove",
|
|
23
|
+
REMOVE_LOWERCASE = "remove",
|
|
24
|
+
SELECT = "Select",
|
|
25
|
+
SELECT_LOWERCASE = "select",
|
|
26
|
+
SEARCH = "Search",
|
|
27
|
+
SEARCH_LOWERCASE = "search",
|
|
28
|
+
SELECT_ALL = "Select All",
|
|
29
|
+
SELECT_REMAINING = "Select Remaining",
|
|
30
|
+
CLEAR_SELECTED = "Clear Selected",
|
|
31
|
+
ACTIVATE = "Activate",
|
|
32
|
+
ACTIVATE_LOWERCASE = "activate",
|
|
33
|
+
DEACTIVATE = "deactivate",
|
|
34
|
+
DEACTIVATE_LOWERCASE = "deactivate",
|
|
35
|
+
CLOSE = "Close",
|
|
36
|
+
CLOSE_LOWERCASE = "close",
|
|
37
|
+
CLOSE_UPPERCASE = "CLOSE",
|
|
38
|
+
OPEN = "Open",
|
|
39
|
+
OPEN_LOWERCASE = "open",
|
|
40
|
+
NEXT = "Next",
|
|
41
|
+
NEXT_LOWERCASE = "next",
|
|
42
|
+
PREVIOUS = "Previous",
|
|
43
|
+
PREVIOUS_LOWERCASE = "previous",
|
|
44
|
+
CLEAR = "Clear",
|
|
45
|
+
CLEAR_LOWERCASE = "clear",
|
|
46
|
+
CLEAR_ALL = "Clear All",
|
|
47
|
+
SHOW_MORE = "show more",
|
|
48
|
+
OPEN_MODAL = "open-modal",
|
|
49
|
+
EXPAND = "Expand",
|
|
50
|
+
EXPAND_LOWERCASE = "expand",
|
|
51
|
+
EXPAND_UPPERCASE = "EXPAND",
|
|
52
|
+
COLLAPSE = "Collapse",
|
|
53
|
+
COLLAPSE_LOWERCASE = "collapse",
|
|
54
|
+
COLLAPSE_UPPERCASE = "COLLAPSE",
|
|
55
|
+
SORT_BY = "Sort By",
|
|
56
|
+
COPY = "Copy",
|
|
57
|
+
COPIED = "Copied"
|
|
58
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const supportedFileTypes: readonly ["mp4", "mov", "avi", "pdf", "jpg", "jpeg", "png", "gif"];
|
|
2
2
|
export type FileExtension = (typeof supportedFileTypes)[number];
|
|
3
3
|
export interface AppFile {
|
|
4
|
+
fileId?: number;
|
|
4
5
|
fileName: string;
|
|
5
6
|
baseName: string;
|
|
6
7
|
type: FileExtension;
|
|
@@ -8,6 +9,7 @@ export interface AppFile {
|
|
|
8
9
|
imagePreviewUrl?: string;
|
|
9
10
|
pageCount?: number;
|
|
10
11
|
file: File | null;
|
|
11
|
-
|
|
12
|
+
tags: number[];
|
|
13
|
+
tagChanged: boolean;
|
|
12
14
|
}
|
|
13
15
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-character-sets.constants';
|
|
@@ -0,0 +1,18 @@
|
|
|
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" | "a" | "b" | "i" | "p" | "q" | "s" | "u" | "v" | "g" | "8" | "9" | "c" | "d" | "e" | "f" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "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" | "." | "a" | "b" | "i" | "p" | "q" | "s" | "u" | "v" | "g" | "8" | "9" | "c" | "d" | "e" | "f" | "h" | "j" | "k" | "l" | "m" | "n" | "o" | "r" | "t" | "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
CHANGED