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,62 +0,0 @@
|
|
|
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
|
-
export interface CaiInputConfig {
|
|
3
|
-
type?: 'text' | 'password' | 'number' | 'account';
|
|
4
|
-
name?: string;
|
|
5
|
-
required?: boolean;
|
|
6
|
-
alignment?: 'left' | 'right';
|
|
7
|
-
inverse?: boolean;
|
|
8
|
-
reveal?: number;
|
|
9
|
-
icon?: string | null;
|
|
10
|
-
iconColor?: string;
|
|
11
|
-
dropdown?: boolean | DropdownType;
|
|
12
|
-
dropdownAutocomplete?: boolean;
|
|
13
|
-
fullState?: boolean;
|
|
14
|
-
search?: boolean;
|
|
15
|
-
useOutsideSearch?: boolean;
|
|
16
|
-
add?: boolean;
|
|
17
|
-
subcontent?: string;
|
|
18
|
-
textTransform?: 'capitalize' | 'uppercase' | 'lowercase';
|
|
19
|
-
textTransformExceptions?: string[];
|
|
20
|
-
isNumberFormattingDisabled?: boolean;
|
|
21
|
-
textColor?: 'positive';
|
|
22
|
-
isAddress?: boolean;
|
|
23
|
-
isEdit?: boolean;
|
|
24
|
-
placeholderBehavior?: 'dynamic' | 'fade' | 'static' | 'hidden';
|
|
25
|
-
errorBehavior?: 'dynamic' | 'static' | 'floating' | 'hidden';
|
|
26
|
-
label?: string;
|
|
27
|
-
mask?: string;
|
|
28
|
-
min?: number;
|
|
29
|
-
max?: number;
|
|
30
|
-
step?: number | 'automatic';
|
|
31
|
-
disableDecimals?: boolean;
|
|
32
|
-
prefix?: string;
|
|
33
|
-
withButtons?: boolean;
|
|
34
|
-
autocomplete?: string;
|
|
35
|
-
list?: boolean;
|
|
36
|
-
inTable?: boolean;
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
passwordRequirements?: boolean;
|
|
39
|
-
canOpenModal?: boolean;
|
|
40
|
-
noSeparator?: boolean;
|
|
41
|
-
squareAvatar?: boolean;
|
|
42
|
-
optionValue?: string;
|
|
43
|
-
optionLabel?: string;
|
|
44
|
-
removable?: boolean;
|
|
45
|
-
autofocus?: boolean;
|
|
46
|
-
size?: (typeof sizes)[number];
|
|
47
|
-
customErrors?: CustomError[];
|
|
48
|
-
disabledCharacters?: string[];
|
|
49
|
-
enabledCharacters?: string[];
|
|
50
|
-
spacesAllowed?: number;
|
|
51
|
-
}
|
|
52
|
-
export type CustomError = {
|
|
53
|
-
name: string;
|
|
54
|
-
message: string | null;
|
|
55
|
-
};
|
|
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];
|
|
58
|
-
export type DropdownType = (typeof DropdownTypes)[number];
|
|
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];
|
|
62
|
-
export type DropdownGroups = Franchise;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { NumberFormatPipe } from '../../../pipes/number-format.pipe';
|
|
4
|
-
import { CustomError } from '../models/input.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ErrorMessagePipe implements PipeTransform {
|
|
7
|
-
numberFormatPipe: NumberFormatPipe;
|
|
8
|
-
transform(errors: ValidationErrors | null | undefined, customErrors?: CustomError[]): string[];
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessagePipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ErrorMessagePipe, "errorMessage", true>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { CaiInputConfig, DropdownArrays } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FilterBySearchPipe implements PipeTransform {
|
|
5
|
-
hasProperty<T extends object>(obj: T, prop: PropertyKey): prop is keyof T;
|
|
6
|
-
transform(options: DropdownArrays, value: string | undefined | null, type: CaiInputConfig['dropdown'], shouldSearch?: boolean, foldedBoards?: number[], label?: string, openGroup?: number | null): any[];
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterBySearchPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FilterBySearchPipe, "filterBySearch", true>;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class HighlightSearchPipe implements PipeTransform {
|
|
4
|
-
/**
|
|
5
|
-
* Formats an option for the dropdown by highlighting the search value if it exists in the option.
|
|
6
|
-
* @param option - The option to format.
|
|
7
|
-
* @param searchValue - The value to search and highlight within the option.
|
|
8
|
-
* @returns The formatted option.
|
|
9
|
-
*/
|
|
10
|
-
transform(option: string, searchValue: string | undefined | null): string;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightSearchPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightSearchPipe, "highlightSearch", true>;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RemapPmIconsPipe implements PipeTransform {
|
|
4
|
-
transform(pm: string | null | undefined): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RemapPmIconsPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RemapPmIconsPipe, "remapPmIcons", true>;
|
|
7
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, SimpleChanges, OnChanges } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
3
|
-
import { CaiInputConfig } from '../input/models';
|
|
4
|
-
import { InputComponent } from '../input/input.component';
|
|
5
|
-
import { AddressData } from './models/address-data.model';
|
|
6
|
-
import { AddressList } from './models/address-list.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class InputAddressComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges {
|
|
9
|
-
superControl: NgControl;
|
|
10
|
-
private ref;
|
|
11
|
-
inputComponent: InputComponent;
|
|
12
|
-
private destroy$;
|
|
13
|
-
private controlSubscription$;
|
|
14
|
-
private baseConfig;
|
|
15
|
-
id: import("@angular/core").InputSignal<string>;
|
|
16
|
-
config: import("@angular/core").InputSignal<CaiInputConfig>;
|
|
17
|
-
type: import("@angular/core").InputSignal<string>;
|
|
18
|
-
required: import("@angular/core").InputSignal<boolean>;
|
|
19
|
-
isInTable: import("@angular/core").InputSignal<boolean>;
|
|
20
|
-
isFormLoaded: import("@angular/core").InputSignal<boolean>;
|
|
21
|
-
set activeAddress(value: AddressList | null);
|
|
22
|
-
set receivedAddressData(value: AddressData | null);
|
|
23
|
-
set receivedAddressList(value: {
|
|
24
|
-
addresses: string[];
|
|
25
|
-
} | null);
|
|
26
|
-
set parkingList(value: any[]);
|
|
27
|
-
selectedAddress: import("@angular/core").OutputEmitterRef<any>;
|
|
28
|
-
sentAddressData: import("@angular/core").OutputEmitterRef<any>;
|
|
29
|
-
sentAddressValue: import("@angular/core").OutputEmitterRef<any>;
|
|
30
|
-
_receivedAddressList: {
|
|
31
|
-
addresses: string[];
|
|
32
|
-
} | null;
|
|
33
|
-
_activeAddress: AddressList | null;
|
|
34
|
-
private searchLayers;
|
|
35
|
-
currentAddressData: AddressData | null;
|
|
36
|
-
addressList: AddressList[];
|
|
37
|
-
allowValidation: boolean;
|
|
38
|
-
requestSent: boolean;
|
|
39
|
-
closedBorder: boolean;
|
|
40
|
-
chosenFromDropdown: boolean;
|
|
41
|
-
_parkingList: any[];
|
|
42
|
-
isParkingAddressSelected: boolean;
|
|
43
|
-
inputConfig: import("@angular/core").WritableSignal<CaiInputConfig>;
|
|
44
|
-
isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
45
|
-
constructor(superControl: NgControl, ref: ChangeDetectorRef);
|
|
46
|
-
writeValue(_: any): void;
|
|
47
|
-
onChange: (_: any) => void;
|
|
48
|
-
onTouched: () => void;
|
|
49
|
-
registerOnChange(fn: any): void;
|
|
50
|
-
registerOnTouched(fn: any): void;
|
|
51
|
-
get getSuperControl(): FormControl;
|
|
52
|
-
ngOnInit(): void;
|
|
53
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
-
private initializeAddressInput;
|
|
55
|
-
private checkSearchLayers;
|
|
56
|
-
private filterParkingByCity;
|
|
57
|
-
private checkAddressValidation;
|
|
58
|
-
onBlur(): void;
|
|
59
|
-
hideValidation(): any;
|
|
60
|
-
initChangesListener(): void;
|
|
61
|
-
onSelectDropdown(name: string | null): void;
|
|
62
|
-
onClearInputEvent(): void;
|
|
63
|
-
getAddressData(address: string): void;
|
|
64
|
-
ngOnDestroy(): void;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputAddressComponent, [{ self: true; }, null]>;
|
|
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>;
|
|
67
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { LongLat } from './long-lat.model';
|
|
2
|
-
export interface AddressEntity {
|
|
3
|
-
city?: string | null;
|
|
4
|
-
state?: string | null;
|
|
5
|
-
county?: string | null;
|
|
6
|
-
address?: string | null;
|
|
7
|
-
street?: string | null;
|
|
8
|
-
streetNumber?: string | null;
|
|
9
|
-
country?: string | null;
|
|
10
|
-
zipCode?: string | null;
|
|
11
|
-
stateShortName?: string | null;
|
|
12
|
-
addressUnit?: string | null;
|
|
13
|
-
}
|
|
14
|
-
export interface AddressData {
|
|
15
|
-
address: AddressEntity;
|
|
16
|
-
longLat?: LongLat;
|
|
17
|
-
valid: boolean;
|
|
18
|
-
isParking?: boolean;
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const AutocompleteSearchLayer: {
|
|
2
|
-
readonly Venue: "Venue";
|
|
3
|
-
readonly Address: "Address";
|
|
4
|
-
readonly Street: "Street";
|
|
5
|
-
readonly Neighbourhood: "Neighbourhood";
|
|
6
|
-
readonly Borough: "Borough";
|
|
7
|
-
readonly LocalAdmin: "LocalAdmin";
|
|
8
|
-
readonly Locality: "Locality";
|
|
9
|
-
readonly County: "County";
|
|
10
|
-
readonly MacroCounty: "MacroCounty";
|
|
11
|
-
readonly Region: "Region";
|
|
12
|
-
readonly MacroRegion: "MacroRegion";
|
|
13
|
-
readonly Country: "Country";
|
|
14
|
-
readonly Coarse: "Coarse";
|
|
15
|
-
readonly PostalCode: "PostalCode";
|
|
16
|
-
};
|
|
17
|
-
export type AutocompleteSearchLayer = (typeof AutocompleteSearchLayer)[keyof typeof AutocompleteSearchLayer];
|
|
18
|
-
export interface SentAddressData {
|
|
19
|
-
query: string;
|
|
20
|
-
searchLayers: AutocompleteSearchLayer[];
|
|
21
|
-
closedBorder: boolean;
|
|
22
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { eGeneralActions } from '../../enums/general-actions.enum';
|
|
5
|
-
import { CalendarDateTimePickerService } from './components/cai-custom-datetime-pickers/services/calendar-datetime-picker.service';
|
|
6
|
-
import { ICaInput } from './components/cai-custom-datetime-pickers/config';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export type InputChangeValue = string | number | Date;
|
|
9
|
-
export declare class CaiInputDatetimePickerComponent implements AfterViewInit, ControlValueAccessor, OnDestroy {
|
|
10
|
-
superControl: NgControl;
|
|
11
|
-
private calendarService;
|
|
12
|
-
inputConfig: ICaInput;
|
|
13
|
-
formFormat?: string;
|
|
14
|
-
clearInputEvent: EventEmitter<boolean>;
|
|
15
|
-
blurInputEvent: EventEmitter<boolean>;
|
|
16
|
-
dateTimePopover: NgbPopover;
|
|
17
|
-
t2: NgbPopover;
|
|
18
|
-
showDateInput: boolean;
|
|
19
|
-
dateTimeInputDate: Date;
|
|
20
|
-
dateTimeIntDate: Date;
|
|
21
|
-
selectionInput: number;
|
|
22
|
-
private dateTimeMainTimer;
|
|
23
|
-
private focusBlur;
|
|
24
|
-
private timeoutCleaner;
|
|
25
|
-
eGeneralActions: typeof eGeneralActions;
|
|
26
|
-
isTouchedInput: boolean;
|
|
27
|
-
isFocusInput: boolean;
|
|
28
|
-
preventBlur: boolean;
|
|
29
|
-
valueAfterWriteValue: string;
|
|
30
|
-
newInputChanged: boolean;
|
|
31
|
-
selectLastOneForSelectionEmitter: EventEmitter<boolean>;
|
|
32
|
-
selectLastOneAfterMouseUpEmitter: EventEmitter<boolean>;
|
|
33
|
-
onDatePasteEmitter: EventEmitter<ClipboardEvent>;
|
|
34
|
-
onFocusEmitter: EventEmitter<FocusEvent>;
|
|
35
|
-
changeSelectionEmmiter: EventEmitter<{
|
|
36
|
-
e: KeyboardEvent;
|
|
37
|
-
noPreventDefault: boolean;
|
|
38
|
-
}>;
|
|
39
|
-
setSelectionEmmiter: EventEmitter<{
|
|
40
|
-
preventDefault: () => void;
|
|
41
|
-
stopPropagation: () => void;
|
|
42
|
-
target: any;
|
|
43
|
-
}>;
|
|
44
|
-
span1: ElementRef;
|
|
45
|
-
span2: ElementRef;
|
|
46
|
-
span3: ElementRef;
|
|
47
|
-
holder1: ElementRef;
|
|
48
|
-
private destroy$;
|
|
49
|
-
constructor(superControl: NgControl, calendarService: CalendarDateTimePickerService);
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
registerOnChange(fn: any): void;
|
|
52
|
-
onChange(_: InputChangeValue): void;
|
|
53
|
-
onTouched: () => void;
|
|
54
|
-
writeValue(obj: InputChangeValue): void;
|
|
55
|
-
registerOnTouched(fn: () => void): void;
|
|
56
|
-
blurInput(): void;
|
|
57
|
-
ngAfterViewInit(): void;
|
|
58
|
-
get getSuperControl(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
59
|
-
onDatePaste(event: ClipboardEvent): void;
|
|
60
|
-
changeSelection(e: any, noPreventDefault?: boolean): void;
|
|
61
|
-
changeSelectionTwo(event: KeyboardEvent, noPreventDefault?: boolean): void;
|
|
62
|
-
private isNumber;
|
|
63
|
-
private isNavigationKey;
|
|
64
|
-
onFocus(event?: FocusEvent): void;
|
|
65
|
-
closePopover(date: Date): void;
|
|
66
|
-
handleFocusInput(e: Event): void;
|
|
67
|
-
setSpanSelection(element: Node): void;
|
|
68
|
-
setSelection(event: {
|
|
69
|
-
preventDefault: () => void;
|
|
70
|
-
stopPropagation: () => void;
|
|
71
|
-
target: any;
|
|
72
|
-
}): void;
|
|
73
|
-
blurOnDateTime(): void;
|
|
74
|
-
onPopoverShown(): void;
|
|
75
|
-
onPopoverHidden(): void;
|
|
76
|
-
setTimeDateInput(date: InputChangeValue, hasValue?: boolean): void;
|
|
77
|
-
private markAsTouched;
|
|
78
|
-
handleKeyboardInputs(e: KeyboardEvent, isRestart?: boolean): void;
|
|
79
|
-
selectSpanByTabIndex(indx: number, changeTab?: boolean): void;
|
|
80
|
-
private handleNavigationKey;
|
|
81
|
-
private handleDatePickerInput;
|
|
82
|
-
private setDateTimeModel;
|
|
83
|
-
private moveSelectionRightOrTab;
|
|
84
|
-
private focusPreviousInput;
|
|
85
|
-
private focusNextInput;
|
|
86
|
-
setIsFocusInput(value: boolean): void;
|
|
87
|
-
private moveSelectionLeft;
|
|
88
|
-
private updateMonth;
|
|
89
|
-
private updateDate;
|
|
90
|
-
private updateYear;
|
|
91
|
-
private padValue;
|
|
92
|
-
private handleTimePickerInput;
|
|
93
|
-
private updateHours;
|
|
94
|
-
private updateMinutes;
|
|
95
|
-
private toggleAMPM;
|
|
96
|
-
clearInput(event: Event): void;
|
|
97
|
-
onBlurInput(event: any): void;
|
|
98
|
-
resetDateTimeInputs(): void;
|
|
99
|
-
setTimePickerTime(): void;
|
|
100
|
-
ngOnDestroy(): void;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaiInputDatetimePickerComponent, [{ self: true; }, null]>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaiInputDatetimePickerComponent, "cai-input-datetime-picker", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formFormat": { "alias": "formFormat"; "required": false; }; }, { "clearInputEvent": "clear"; "blurInputEvent": "blurInput"; "selectLastOneForSelectionEmitter": "selectLastOneForSelectionEmitter"; "selectLastOneAfterMouseUpEmitter": "selectLastOneAfterMouseUpEmitter"; "onDatePasteEmitter": "onDatePasteEmitter"; "onFocusEmitter": "onFocusEmitter"; "changeSelectionEmmiter": "changeSelectionEmmiter"; "setSelectionEmmiter": "setSelectionEmmiter"; }, never, never, true, never>;
|
|
103
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit, ViewContainerRef, OnDestroy, AfterViewInit } from '@angular/core';
|
|
2
|
-
import { CalendarDateTimePickerService } from './services/calendar-datetime-picker.service';
|
|
3
|
-
import { CaCustomDateTimePickersDateCalendarsComponent } from './components/cai-custom-datetime-pickers-date-calendars/cai-custom-datetime-pickers-date-calendars.component';
|
|
4
|
-
import { ScrollType } from './models/scroll-type.model';
|
|
5
|
-
import { ICaInput } from './config';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class CaCustomDatetimePickersComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
8
|
-
private calendarService;
|
|
9
|
-
dateTime: Date;
|
|
10
|
-
ref: ViewContainerRef;
|
|
11
|
-
_inputConfig: ICaInput;
|
|
12
|
-
set inputConfig(config: ICaInput);
|
|
13
|
-
closePopover: EventEmitter<Date>;
|
|
14
|
-
dateCalendar: CaCustomDateTimePickersDateCalendarsComponent;
|
|
15
|
-
pmAmScroll: ElementRef;
|
|
16
|
-
minutesScroll: ElementRef;
|
|
17
|
-
hourScroll: ElementRef;
|
|
18
|
-
selectedDateTime: string;
|
|
19
|
-
calendarMainType: string;
|
|
20
|
-
outputType: (string | number)[];
|
|
21
|
-
currentYear: number;
|
|
22
|
-
currentMonth: number;
|
|
23
|
-
currentDay: number;
|
|
24
|
-
listPreview: string;
|
|
25
|
-
timeMinutes: string[];
|
|
26
|
-
monthArray: number[];
|
|
27
|
-
monthDayList: number[];
|
|
28
|
-
yearsList: (string | number)[];
|
|
29
|
-
scrollTimer: ReturnType<typeof setTimeout> | number;
|
|
30
|
-
hoveredItem: string | null;
|
|
31
|
-
isInputFocus: boolean;
|
|
32
|
-
monthNames: string[];
|
|
33
|
-
hourTimes: number[];
|
|
34
|
-
scrollTypes: ScrollType;
|
|
35
|
-
selectedTime: string;
|
|
36
|
-
timeOfDay: string[];
|
|
37
|
-
previousRangeSide: boolean;
|
|
38
|
-
constructor(calendarService: CalendarDateTimePickerService);
|
|
39
|
-
set calendarType(calendarType: string);
|
|
40
|
-
set placeholder(placeholder: string);
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
ngAfterViewInit(): void;
|
|
43
|
-
initDateChangedListener(): void;
|
|
44
|
-
setTimeValue(): void;
|
|
45
|
-
setListPreview(value: string): void;
|
|
46
|
-
inputInFocus(): void;
|
|
47
|
-
inputBlur(): void;
|
|
48
|
-
changeOpened(): void;
|
|
49
|
-
setTime(): void;
|
|
50
|
-
setDefaultTime(): void;
|
|
51
|
-
closePopup(): void;
|
|
52
|
-
createStringFromOutput(): string;
|
|
53
|
-
onScroll(event: Event, type: keyof ScrollType, index?: number | null): void;
|
|
54
|
-
checkForScrolledType(type: string): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDatetimePickersComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDatetimePickersComponent, "cai-custom-datetime-pickers", never, { "dateTime": { "alias": "dateTime"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "closePopover": "closePopover"; }, never, never, true, never>;
|
|
58
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CalendarDateTimePickerService } from '../../services/calendar-datetime-picker.service';
|
|
3
|
-
import { CalendarStrategy } from '../../strategy/calendar-strategy';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CaCustomDateTimePickerCalendarDatesMainComponent implements OnInit, OnDestroy {
|
|
6
|
-
private calendarService;
|
|
7
|
-
months: Date[];
|
|
8
|
-
dateTime: Date;
|
|
9
|
-
currentIndex: number;
|
|
10
|
-
currentYearIndex: number;
|
|
11
|
-
activeIndex: number;
|
|
12
|
-
monthYearsIndx: string[];
|
|
13
|
-
_listPreview: string;
|
|
14
|
-
set listPreview(value: string);
|
|
15
|
-
isMonthAndYearOnly: boolean;
|
|
16
|
-
setListPreviewToFull: EventEmitter<number>;
|
|
17
|
-
setAutoIndex: EventEmitter<number>;
|
|
18
|
-
scrollStrategy: CalendarStrategy;
|
|
19
|
-
private destroy$;
|
|
20
|
-
monthNames: string[];
|
|
21
|
-
selectedYear: number;
|
|
22
|
-
selectedYearFromInput: number;
|
|
23
|
-
selMonth: number;
|
|
24
|
-
selectedMonth: string;
|
|
25
|
-
private activeMonth;
|
|
26
|
-
constructor(calendarService: CalendarDateTimePickerService);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
initScrollListeners(): void;
|
|
29
|
-
findIndexInMonth(date: string): number;
|
|
30
|
-
onMonthChange(data: any): void;
|
|
31
|
-
getMonth(index: number): string;
|
|
32
|
-
mouseOverSetItem(): void;
|
|
33
|
-
setCalendarListPreview(num: number, index: number): void;
|
|
34
|
-
selectDay(data: {
|
|
35
|
-
day: number;
|
|
36
|
-
index: number;
|
|
37
|
-
}): void;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickerCalendarDatesMainComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDateTimePickerCalendarDatesMainComponent, "cai-custom-datetime-pickers--calendar-dates-main", never, { "months": { "alias": "months"; "required": false; }; "dateTime": { "alias": "dateTime"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; "currentYearIndex": { "alias": "currentYearIndex"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "monthYearsIndx": { "alias": "monthYearsIndx"; "required": false; }; "listPreview": { "alias": "listPreview"; "required": false; }; "isMonthAndYearOnly": { "alias": "isMonthAndYearOnly"; "required": false; }; }, { "setListPreviewToFull": "setListPreviewToFull"; "setAutoIndex": "setAutoIndex"; }, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CaCustomDateTimePickersCalendarDaysComponent implements OnInit {
|
|
4
|
-
dateTime: Date;
|
|
5
|
-
year: number;
|
|
6
|
-
selectedMonth: string;
|
|
7
|
-
index: number;
|
|
8
|
-
activeMonth: boolean;
|
|
9
|
-
selectDay: EventEmitter<any>;
|
|
10
|
-
currentYear: number;
|
|
11
|
-
currentMonth: number;
|
|
12
|
-
currentDay: number;
|
|
13
|
-
selectedMonthFromInput: number;
|
|
14
|
-
selectedYearFromInput: number;
|
|
15
|
-
days: ReadonlyArray<string | number>;
|
|
16
|
-
selectedDay: number;
|
|
17
|
-
selMonth: number;
|
|
18
|
-
selectedYear: number;
|
|
19
|
-
set month(month: Date);
|
|
20
|
-
constructor();
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
chooseDay(day: number | string): void;
|
|
23
|
-
private setSelectedDate;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickersCalendarDaysComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDateTimePickersCalendarDaysComponent, "cai-custom-datetime-picker-calendar-days", never, { "dateTime": { "alias": "dateTime"; "required": false; }; "year": { "alias": "year"; "required": false; }; "selectedMonth": { "alias": "selectedMonth"; "required": false; }; "index": { "alias": "index"; "required": false; }; "activeMonth": { "alias": "activeMonth"; "required": false; }; "month": { "alias": "month"; "required": false; }; }, { "selectDay": "selectDay"; }, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CalendarDateTimePickerService } from '../../services/calendar-datetime-picker.service';
|
|
3
|
-
import { CalendarStrategy } from '../../strategy/calendar-strategy';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CaCustomDateTimePickersCalendarLeftComponent implements OnInit, OnDestroy {
|
|
6
|
-
private calendarService;
|
|
7
|
-
months: Date[];
|
|
8
|
-
currentIndex: number;
|
|
9
|
-
isMonthAndYearOnly: boolean;
|
|
10
|
-
_listPreview: string;
|
|
11
|
-
set listPreview(value: string);
|
|
12
|
-
_currentYearIndex: number;
|
|
13
|
-
set currentYearIndex(value: number);
|
|
14
|
-
_activeIndex: number;
|
|
15
|
-
set activeIndex(value: number);
|
|
16
|
-
isHovered: boolean;
|
|
17
|
-
private isFirstCall;
|
|
18
|
-
private destroy$;
|
|
19
|
-
constructor(calendarService: CalendarDateTimePickerService);
|
|
20
|
-
scrollStrategy: CalendarStrategy;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
initScrollListeners(): void;
|
|
23
|
-
findIndexInMonth(date: string): number;
|
|
24
|
-
onScrollChanged(data: any): void;
|
|
25
|
-
selectMonth(indx: number): void;
|
|
26
|
-
mouseOverSetItem(): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickersCalendarLeftComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDateTimePickersCalendarLeftComponent, "cai-custom-datetime-pickers-calendar-left", never, { "months": { "alias": "months"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; "isMonthAndYearOnly": { "alias": "isMonthAndYearOnly"; "required": false; }; "listPreview": { "alias": "listPreview"; "required": false; }; "currentYearIndex": { "alias": "currentYearIndex"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CalendarDateTimePickerService } from '../../services/calendar-datetime-picker.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CaCustomDateTimePickersDateCalendarsComponent implements OnInit, OnDestroy {
|
|
5
|
-
private calendarService;
|
|
6
|
-
listPreview: string;
|
|
7
|
-
dateTime: Date;
|
|
8
|
-
isMonthAndYearOnly: boolean;
|
|
9
|
-
setListPreviewValue: EventEmitter<any>;
|
|
10
|
-
private currentYear;
|
|
11
|
-
private currentMonth;
|
|
12
|
-
private activeMonth;
|
|
13
|
-
private subscription?;
|
|
14
|
-
private destroy$;
|
|
15
|
-
private monthNames;
|
|
16
|
-
dayOfWeekLetters: string[];
|
|
17
|
-
activeIndex: number;
|
|
18
|
-
currentIndex: number;
|
|
19
|
-
currentYearIndex: number;
|
|
20
|
-
monthYearsIndx: string[];
|
|
21
|
-
months: Date[];
|
|
22
|
-
justYears: Date[];
|
|
23
|
-
selectedYear: number;
|
|
24
|
-
selectedMonth: string;
|
|
25
|
-
constructor(calendarService: CalendarDateTimePickerService);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
initScrollListener(): void;
|
|
28
|
-
initInitalState(): void;
|
|
29
|
-
onMonthChange(month: number): void;
|
|
30
|
-
getMonth(index: number): string;
|
|
31
|
-
setListPreview(): void;
|
|
32
|
-
setListPreviewToFull(num: number): void;
|
|
33
|
-
setAutoIndex(num: number): void;
|
|
34
|
-
selectCurrentDay(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickersDateCalendarsComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaCustomDateTimePickersDateCalendarsComponent, "cai-custom-datetime-pickers-date-calendars", never, { "listPreview": { "alias": "listPreview"; "required": false; }; "dateTime": { "alias": "dateTime"; "required": false; }; "isMonthAndYearOnly": { "alias": "isMonthAndYearOnly"; "required": false; }; }, { "setListPreviewValue": "setListPreviewValue"; }, never, never, true, never>;
|
|
38
|
-
}
|