carriera-intern-components 1.1.195 → 1.1.197
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/copy/copy.component.d.ts +6 -3
- package/app/components/document-preview/document-preview.component.d.ts +3 -2
- 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 +6 -1
- package/app/components/input/input.component.d.ts +17 -2
- package/app/components/input/models/dropdown.model.d.ts +6 -0
- package/app/components/input/models/input.model.d.ts +10 -6
- package/app/components/input-address/input-address.component.d.ts +0 -2
- 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/index.d.ts +2 -0
- package/app/directives/infinite-scroll.directive.d.ts +16 -0
- package/app/directives/intersection-observer.directive.d.ts +15 -0
- package/app/utils/constants/input-character-sets.constants.d.ts +5 -5
- package/fesm2022/carriera-intern-components.mjs +253 -117
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/icons/cai-edit.svg +3 -3
- package/public/assets/icons/fuel-contact/cai-fuel-card.svg +3 -0
- package/public/assets/icons/integration/cai-efs.svg +4 -0
- package/public/assets/icons/interaction/cai-favorite.svg +3 -0
- package/public/assets/json/icons.json +12 -0
- package/public-api.d.ts +1 -0
- package/src/styles/tooltip.scss +3 -0
- package/src/styles.scss +1 -1
|
@@ -14,7 +14,7 @@ export declare class AvatarComponent {
|
|
|
14
14
|
* The size of the avatar in pixels.
|
|
15
15
|
* @type {Size}
|
|
16
16
|
*/
|
|
17
|
-
size: import("@angular/core").InputSignal<
|
|
17
|
+
size: import("@angular/core").InputSignal<22 | 160 | 18 | 32 | 74>;
|
|
18
18
|
/**
|
|
19
19
|
* Whether the avatar should be rounded or not.
|
|
20
20
|
* @type {boolean}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { eAlignment } from '../../enums';
|
|
2
2
|
import { eGeneralActions } from '../../enums/general-actions.enum';
|
|
3
|
-
import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
|
|
4
3
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class CopyComponent {
|
|
@@ -8,13 +7,17 @@ export declare class CopyComponent {
|
|
|
8
7
|
value: import("@angular/core").InputSignal<string | undefined>;
|
|
9
8
|
alignment: import("@angular/core").InputSignal<eAlignment>;
|
|
10
9
|
copyTooltip: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
copyArea: import("@angular/core").InputSignal<"icon" | "full">;
|
|
11
|
+
icon: import("@angular/core").InputSignal<string | null>;
|
|
12
|
+
iconSize: import("@angular/core").InputSignal<number>;
|
|
13
|
+
iconColor: import("@angular/core").InputSignal<string | null>;
|
|
14
|
+
tooltipClass: import("@angular/core").InputSignal<string | null>;
|
|
11
15
|
copied: import("@angular/core").WritableSignal<boolean>;
|
|
12
16
|
eGeneralActions: typeof eGeneralActions;
|
|
13
17
|
eAlignment: typeof eAlignment;
|
|
14
18
|
constructor(clipboard: Clipboard);
|
|
15
|
-
tooltip: NgbTooltip;
|
|
16
19
|
onCopy(event: MouseEvent): void;
|
|
17
20
|
resetCopied(): void;
|
|
18
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CopyComponent, "cai-copy", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "copyTooltip": { "alias": "copyTooltip"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CopyComponent, "cai-copy", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "copyTooltip": { "alias": "copyTooltip"; "required": false; "isSignal": true; }; "copyArea": { "alias": "copyArea"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
20
23
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AppFile } from '../../models/appFile.model';
|
|
3
3
|
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { DocumentTag } from './interfaces';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* This component displays a preview of a document, including its name, size,
|
|
@@ -78,7 +79,7 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
|
|
|
78
79
|
/**
|
|
79
80
|
* List of available tags for labeling the document. These are selectable within the tag popover.
|
|
80
81
|
*/
|
|
81
|
-
tags:
|
|
82
|
+
tags: import("@angular/core").InputSignal<DocumentTag[]>;
|
|
82
83
|
/**
|
|
83
84
|
* Emits when a tag is selected or removed for the file.
|
|
84
85
|
* Contains the file name and the selected tag.
|
|
@@ -102,5 +103,5 @@ export declare class DocumentPreviewComponent implements OnChanges, OnInit {
|
|
|
102
103
|
*/
|
|
103
104
|
handleShare(): void;
|
|
104
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPreviewComponent, never>;
|
|
105
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "noTagOption": { "alias": "noTagOption"; "required": false; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; }, { "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
|
|
106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPreviewComponent, "cai-document-preview", never, { "coverMinimalMode": { "alias": "coverMinimalMode"; "required": false; }; "noTagOption": { "alias": "noTagOption"; "required": false; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": true; "isSignal": true; }; "tags": { "alias": "tags"; "required": false; "isSignal": true; }; }, { "onDelete": "onDelete"; "onDownload": "onDownload"; "onTagChange": "onTagChange"; }, never, never, true, never>;
|
|
106
107
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './document-tag.interface';
|
|
@@ -5,6 +5,7 @@ import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
|
5
5
|
import { Driver } from '../avatar/models';
|
|
6
6
|
import { FileResponse } from './models/file.response';
|
|
7
7
|
import { FormGroup } from '@angular/forms';
|
|
8
|
+
import { DocumentTag } from '../document-preview/interfaces';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* A component that provides a user interface for file uploading via
|
|
@@ -44,6 +45,10 @@ export declare class DropZoneComponent {
|
|
|
44
45
|
|
|
45
46
|
*/
|
|
46
47
|
variant: import("@angular/core").InputSignal<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Input that holds an array of `DocumentTag` objects representing the tags for the documents.
|
|
50
|
+
*/
|
|
51
|
+
documentTags: import("@angular/core").InputSignal<DocumentTag[]>;
|
|
47
52
|
/**
|
|
48
53
|
* Injects the DocumentService for file processing tasks like
|
|
49
54
|
* thumbnail generation and PDF page counting.
|
|
@@ -182,5 +187,5 @@ export declare class DropZoneComponent {
|
|
|
182
187
|
setInvalid(): void;
|
|
183
188
|
clearInvalid(): void;
|
|
184
189
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropZoneComponent, never>;
|
|
185
|
-
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; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "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>;
|
|
190
|
+
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; }; "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>;
|
|
186
191
|
}
|
|
@@ -4,7 +4,7 @@ import { PasswordDirective } from './directives/password.directive';
|
|
|
4
4
|
import { NumberFormatDirective } from './directives/number-format.directive';
|
|
5
5
|
import { MaskDirective } from './directives/mask.directive';
|
|
6
6
|
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
7
|
-
import { Bank, Broker, CaiInputConfig, Contact, Dispatcher, DropdownOption, LabelColor, LabelOption, Shipper, Dispatch, DropdownArrays, DropdownOptions, TruckType, TrailerType, Hazardous, State, Owner, FuelCard, PMOption, MakeOption, ColorOption, TollOption, TollTransponderOption, FuelStopStore, Franchise, DropdownGroups } from './models';
|
|
7
|
+
import { Bank, Broker, CaiInputConfig, Contact, Dispatcher, DropdownOption, LabelColor, LabelOption, Shipper, Dispatch, DropdownArrays, DropdownOptions, TruckType, TrailerType, Hazardous, State, Owner, FuelCard, PMOption, MakeOption, ColorOption, TollOption, TollTransponderOption, FuelStopStore, Franchise, DropdownGroups, Provider } from './models';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* This component is a generic input component that can be used to create various types of inputs.
|
|
@@ -39,6 +39,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
39
39
|
makeRef: any;
|
|
40
40
|
tollRef: any;
|
|
41
41
|
fuelStopTransactionRef: any;
|
|
42
|
+
providerRef: any;
|
|
42
43
|
pmRef: any;
|
|
43
44
|
selectedPmRef: any;
|
|
44
45
|
selectedOwnerRef: any;
|
|
@@ -57,6 +58,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
57
58
|
selectedColorRef: any;
|
|
58
59
|
selectedMakeRef: any;
|
|
59
60
|
selectedTollRef: any;
|
|
61
|
+
selectedProviderRef: any;
|
|
60
62
|
/**
|
|
61
63
|
* Defines the unique identifier for the input element.
|
|
62
64
|
* It is provided by the parent component as an Angular `input()` signal.
|
|
@@ -108,6 +110,7 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
108
110
|
*/
|
|
109
111
|
options: import("@angular/core").InputSignal<DropdownArrays>;
|
|
110
112
|
preselectedOptions: import("@angular/core").InputSignal<DropdownArrays | null>;
|
|
113
|
+
isLoading: import("@angular/core").InputSignal<boolean>;
|
|
111
114
|
/**
|
|
112
115
|
* Input property to hold the label colors for the label picker.
|
|
113
116
|
*/
|
|
@@ -215,6 +218,12 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
215
218
|
* An output signal that emits when the user clicks on the "AUTOFILL" button.
|
|
216
219
|
*/
|
|
217
220
|
onAutofill: import("@angular/core").OutputEmitterRef<void>;
|
|
221
|
+
/**
|
|
222
|
+
* An output signal that emits when the dropdown is scrolled to the bottom for infinite scroll functionality.
|
|
223
|
+
*/
|
|
224
|
+
onScrolledToBottom: import("@angular/core").OutputEmitterRef<void>;
|
|
225
|
+
onScrolledToBottomGroup: import("@angular/core").OutputEmitterRef<void>;
|
|
226
|
+
onSearch: import("@angular/core").OutputEmitterRef<string>;
|
|
218
227
|
/**
|
|
219
228
|
* Constructor for the InputComponent.
|
|
220
229
|
* It injects NgControl to integrate with Angular's forms API.
|
|
@@ -374,6 +383,12 @@ export declare class InputComponent implements ControlValueAccessor, AfterViewIn
|
|
|
374
383
|
castAsTollTransponderOption(value: unknown): TollTransponderOption | null;
|
|
375
384
|
castAsFuelStopStore(value: unknown): FuelStopStore | null;
|
|
376
385
|
castAsFranchise(value: unknown): Franchise | null;
|
|
386
|
+
castAsProvider(value: unknown): Provider | null;
|
|
387
|
+
/**
|
|
388
|
+
* Handles infinite scroll event when dropdown is scrolled to bottom
|
|
389
|
+
* Emits an event that parent components can listen to for loading more data
|
|
390
|
+
*/
|
|
391
|
+
onDropdownScrolledToBottom(isGroup?: boolean): void;
|
|
377
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, [{ optional: true; self: true; }, null]>;
|
|
378
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cai-input", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "preselectedOptions": { "alias": "preselectedOptions"; "required": false; "isSignal": true; }; "labelColors": { "alias": "labelColors"; "required": false; "isSignal": true; }; "hideValidation": { "alias": "hideValidation"; "required": false; "isSignal": true; }; "showNoResults": { "alias": "showNoResults"; "required": false; "isSignal": true; }; "preselectedUnit": { "alias": "preselectedUnit"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocused": "onFocused"; "onValueChange": "onValueChange"; "onOptionAdded": "onOptionAdded"; "onAdd": "onAdd"; "onSelectionChange": "onSelectionChange"; "onSelectedObject": "onSelectedObject"; "onSelectedGroup": "onSelectedGroup"; "onClear": "onClear"; "onAutofill": "onAutofill"; }, never, never, true, never>;
|
|
393
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "cai-input", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "preselectedOptions": { "alias": "preselectedOptions"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "labelColors": { "alias": "labelColors"; "required": false; "isSignal": true; }; "hideValidation": { "alias": "hideValidation"; "required": false; "isSignal": true; }; "showNoResults": { "alias": "showNoResults"; "required": false; "isSignal": true; }; "preselectedUnit": { "alias": "preselectedUnit"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocused": "onFocused"; "onValueChange": "onValueChange"; "onOptionAdded": "onOptionAdded"; "onAdd": "onAdd"; "onSelectionChange": "onSelectionChange"; "onSelectedObject": "onSelectedObject"; "onSelectedGroup": "onSelectedGroup"; "onClear": "onClear"; "onAutofill": "onAutofill"; "onScrolledToBottom": "onScrolledToBottom"; "onScrolledToBottomGroup": "onScrolledToBottomGroup"; "onSearch": "onSearch"; }, never, never, true, never>;
|
|
379
394
|
}
|
|
@@ -60,6 +60,7 @@ export type TruckColor = {
|
|
|
60
60
|
export type TruckType = {
|
|
61
61
|
id: number;
|
|
62
62
|
companyId?: number | null;
|
|
63
|
+
truckNumber?: string | null;
|
|
63
64
|
name: string;
|
|
64
65
|
logoName: string;
|
|
65
66
|
};
|
|
@@ -178,6 +179,7 @@ export type Dispatcher = {
|
|
|
178
179
|
fullName: string;
|
|
179
180
|
avatarFile: AvatarFile | null;
|
|
180
181
|
departmentId: number | null;
|
|
182
|
+
colorFlag?: ColorFlag | null;
|
|
181
183
|
};
|
|
182
184
|
export type TruckOption = {
|
|
183
185
|
id: number;
|
|
@@ -264,3 +266,7 @@ export type FuelStopStore = {
|
|
|
264
266
|
address: Address;
|
|
265
267
|
[key: string]: any;
|
|
266
268
|
};
|
|
269
|
+
export type Provider = {
|
|
270
|
+
id: number;
|
|
271
|
+
name: string;
|
|
272
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bank, Broker, Contact, DepartmentContactsPair, Dispatch, DispatchBoard, Dispatcher, DropdownOption, LabelOption, Shipper, TrailerOption, TruckOption, Hazardous, State, Owner, FuelCard, PMOption, ColorOption, MakeOption, TollOption, TollTransponderOption, Franchise, FuelStopStore } from './dropdown.model';
|
|
1
|
+
import { Bank, Broker, Contact, DepartmentContactsPair, Dispatch, DispatchBoard, Dispatcher, DropdownOption, LabelOption, Shipper, TrailerOption, TruckOption, Hazardous, State, Owner, FuelCard, PMOption, ColorOption, MakeOption, TollOption, TollTransponderOption, Franchise, FuelStopStore, Provider } from './dropdown.model';
|
|
2
2
|
export interface CaiInputConfig {
|
|
3
3
|
type?: 'text' | 'password' | 'number' | 'account';
|
|
4
4
|
name?: string;
|
|
@@ -12,6 +12,7 @@ export interface CaiInputConfig {
|
|
|
12
12
|
dropdownAutocomplete?: boolean;
|
|
13
13
|
fullState?: boolean;
|
|
14
14
|
search?: boolean;
|
|
15
|
+
useOutsideSearch?: boolean;
|
|
15
16
|
add?: boolean;
|
|
16
17
|
subcontent?: string;
|
|
17
18
|
textTransform?: 'capitalize' | 'uppercase' | 'lowercase';
|
|
@@ -21,7 +22,7 @@ export interface CaiInputConfig {
|
|
|
21
22
|
isAddress?: boolean;
|
|
22
23
|
isEdit?: boolean;
|
|
23
24
|
placeholderBehavior?: 'dynamic' | 'fade' | 'static' | 'hidden';
|
|
24
|
-
errorBehavior?: 'dynamic' | 'static' | 'floating';
|
|
25
|
+
errorBehavior?: 'dynamic' | 'static' | 'floating' | 'hidden';
|
|
25
26
|
label?: string;
|
|
26
27
|
mask?: string;
|
|
27
28
|
min?: number;
|
|
@@ -37,10 +38,12 @@ export interface CaiInputConfig {
|
|
|
37
38
|
passwordRequirements?: boolean;
|
|
38
39
|
canOpenModal?: boolean;
|
|
39
40
|
noSeparator?: boolean;
|
|
41
|
+
squareAvatar?: boolean;
|
|
40
42
|
optionValue?: string;
|
|
41
43
|
optionLabel?: string;
|
|
42
44
|
removable?: boolean;
|
|
43
45
|
autofocus?: boolean;
|
|
46
|
+
size?: (typeof sizes)[number];
|
|
44
47
|
customErrors?: CustomError[];
|
|
45
48
|
disabledCharacters?: string[];
|
|
46
49
|
enabledCharacters?: string[];
|
|
@@ -50,9 +53,10 @@ export type CustomError = {
|
|
|
50
53
|
name: string;
|
|
51
54
|
message: string | null;
|
|
52
55
|
};
|
|
53
|
-
export declare const DropdownTypes: readonly ["multiple", "dispatch", "ftl-dispatch", "label", "broker", "contact", "shipper", "bank", "dispatcher", "truck", "trailer", "subcontent", "hazardous", "state", "owner", "fuelcard", "pm", "color", "make", "toll", "fuel-stop-transaction"];
|
|
56
|
+
export declare const DropdownTypes: readonly ["multiple", "dispatch", "ftl-dispatch", "label", "broker", "contact", "shipper", "bank", "dispatcher", "truck", "trailer", "subcontent", "hazardous", "state", "owner", "fuelcard", "pm", "color", "make", "toll", "fuel-stop-transaction", "provider"];
|
|
57
|
+
export declare const sizes: readonly [22, 26];
|
|
54
58
|
export type DropdownType = (typeof DropdownTypes)[number];
|
|
55
|
-
export type DropdownArrays = DropdownOption[] | LabelOption[] | Broker[] | DispatchBoard[] | DepartmentContactsPair[] | Shipper[] | Dispatch[] | Bank[] | Dispatcher[] | TruckOption[] | TrailerOption[] | Hazardous[] | State[] | Owner[] | FuelCard[] | PMOption[] | ColorOption[] | MakeOption[] | TollOption[] | Franchise[];
|
|
56
|
-
export type DropdownOptions = DropdownOption | LabelOption | Broker | Contact | Shipper | Dispatch | Bank | Dispatcher | TruckOption | TrailerOption | Hazardous | State | Owner | FuelCard | PMOption | ColorOption | MakeOption | TollTransponderOption | FuelStopStore;
|
|
57
|
-
export type DropdownKeys = DropdownOption[keyof DropdownOption] | LabelOption[keyof LabelOption] | Dispatch[keyof Dispatch] | Broker[keyof Broker] | Contact[keyof Contact] | Shipper[keyof Shipper] | Bank[keyof Bank] | Dispatcher[keyof Dispatcher] | TruckOption[keyof TruckOption] | TrailerOption[keyof TrailerOption] | Hazardous[keyof Hazardous] | State[keyof State] | Owner[keyof Owner] | FuelCard[keyof FuelCard] | PMOption[keyof PMOption] | ColorOption[keyof ColorOption] | MakeOption[keyof MakeOption] | TollTransponderOption[keyof TollTransponderOption] | FuelStopStore[keyof FuelStopStore];
|
|
59
|
+
export type DropdownArrays = DropdownOption[] | LabelOption[] | Broker[] | DispatchBoard[] | DepartmentContactsPair[] | Shipper[] | Dispatch[] | Bank[] | Dispatcher[] | TruckOption[] | TrailerOption[] | Hazardous[] | State[] | Owner[] | FuelCard[] | PMOption[] | ColorOption[] | MakeOption[] | TollOption[] | Franchise[] | Provider[];
|
|
60
|
+
export type DropdownOptions = DropdownOption | LabelOption | Broker | Contact | Shipper | Dispatch | Bank | Dispatcher | TruckOption | TrailerOption | Hazardous | State | Owner | FuelCard | PMOption | ColorOption | MakeOption | TollTransponderOption | FuelStopStore | Provider;
|
|
61
|
+
export type DropdownKeys = DropdownOption[keyof DropdownOption] | LabelOption[keyof LabelOption] | Dispatch[keyof Dispatch] | Broker[keyof Broker] | Contact[keyof Contact] | Shipper[keyof Shipper] | Bank[keyof Bank] | Dispatcher[keyof Dispatcher] | TruckOption[keyof TruckOption] | TrailerOption[keyof TrailerOption] | Hazardous[keyof Hazardous] | State[keyof State] | Owner[keyof Owner] | FuelCard[keyof FuelCard] | PMOption[keyof PMOption] | ColorOption[keyof ColorOption] | MakeOption[keyof MakeOption] | TollTransponderOption[keyof TollTransponderOption] | FuelStopStore[keyof FuelStopStore] | Provider[keyof Provider];
|
|
58
62
|
export type DropdownGroups = Franchise;
|
|
@@ -42,7 +42,6 @@ export declare class InputAddressComponent implements OnInit, ControlValueAccess
|
|
|
42
42
|
isParkingAddressSelected: boolean;
|
|
43
43
|
inputConfig: import("@angular/core").WritableSignal<CaiInputConfig>;
|
|
44
44
|
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
45
|
-
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
46
45
|
constructor(superControl: NgControl, ref: ChangeDetectorRef);
|
|
47
46
|
writeValue(_: any): void;
|
|
48
47
|
onChange: (_: any) => void;
|
|
@@ -62,7 +61,6 @@ export declare class InputAddressComponent implements OnInit, ControlValueAccess
|
|
|
62
61
|
onSelectDropdown(name: string | null): void;
|
|
63
62
|
onClearInputEvent(): void;
|
|
64
63
|
getAddressData(address: string): void;
|
|
65
|
-
toggleFocus(value: boolean): void;
|
|
66
64
|
ngOnDestroy(): void;
|
|
67
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputAddressComponent, [{ self: true; }, null]>;
|
|
68
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputAddressComponent, "cai-input-address", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "isInTable": { "alias": "isInTable"; "required": false; "isSignal": true; }; "isFormLoaded": { "alias": "isFormLoaded"; "required": false; "isSignal": true; }; "activeAddress": { "alias": "activeAddress"; "required": false; }; "receivedAddressData": { "alias": "receivedAddressData"; "required": false; }; "receivedAddressList": { "alias": "receivedAddressList"; "required": false; }; "parkingList": { "alias": "parkingList"; "required": false; }; }, { "selectedAddress": "selectedAddress"; "sentAddressData": "sentAddressData"; "sentAddressValue": "sentAddressValue"; }, never, never, true, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './selected-business-field.interface';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SelectedBusinessField } from './interfaces';
|
|
2
|
+
import { eAlignment, eGeneralActions } from '../../enums';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectedBusinessFieldComponent {
|
|
5
|
+
business: import("@angular/core").InputSignal<SelectedBusinessField>;
|
|
6
|
+
onAction: import("@angular/core").OutputEmitterRef<eGeneralActions>;
|
|
7
|
+
eGeneralActions: typeof eGeneralActions;
|
|
8
|
+
eAlignment: typeof eAlignment;
|
|
9
|
+
handleAction(action: eGeneralActions): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectedBusinessFieldComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectedBusinessFieldComponent, "cai-selected-business-field", never, { "business": { "alias": "business"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -7,11 +7,11 @@ export declare const INPUT_CHARACTER_SETS: {
|
|
|
7
7
|
readonly BRACKETS: readonly ["(", ")", "[", "]", "{", "}"];
|
|
8
8
|
readonly QUOTES: readonly ["\"", "'", "`"];
|
|
9
9
|
readonly WHITESPACE: readonly [" ", "\t"];
|
|
10
|
-
readonly ALPHANUMERIC: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "
|
|
10
|
+
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")[];
|
|
11
11
|
readonly ALPHANUMERIC_WITH_SPACES: string[];
|
|
12
12
|
readonly EMAIL_SPECIAL: readonly ["@", ".", "-", "_", "+"];
|
|
13
|
-
readonly EMAIL_CHARACTERS: ("0" | "
|
|
14
|
-
readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("
|
|
15
|
-
readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "
|
|
16
|
-
readonly SPECIAL: ("
|
|
13
|
+
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" | "@" | "+" | "-" | "_")[];
|
|
14
|
+
readonly SPECIAL_EXCEPT_NAME_FRIENDLY: ("*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
|
|
15
|
+
readonly NAME_CHARACTER_EXCLUSIONS: ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
|
|
16
|
+
readonly SPECIAL: ("*" | "." | "," | "!" | "?" | ";" | ":" | "@" | "#" | "$" | "%" | "&" | "+" | "-" | "=" | "_" | "|" | "~" | "`" | "^" | "<" | ">" | "/" | "\\" | "(" | ")" | "[" | "]" | "{" | "}" | "\"" | "'")[];
|
|
17
17
|
};
|