carriera-intern-components 1.1.14 → 1.1.21

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.
Files changed (124) hide show
  1. package/app/components/avatar/avatar.component.d.ts +2 -2
  2. package/app/components/avatar/models/avatar.model.d.ts +12 -5
  3. package/app/components/avatar/pipes/initials.pipe.d.ts +5 -1
  4. package/app/components/copy/copy.component.d.ts +23 -0
  5. package/app/components/document-preview/document-preview.component.d.ts +15 -6
  6. package/app/components/document-preview/interfaces/document-tag.interface.d.ts +4 -0
  7. package/app/components/document-preview/interfaces/index.d.ts +1 -0
  8. package/app/components/drop-zone/drop-zone.component.d.ts +58 -33
  9. package/app/components/drop-zone/models/file.response.d.ts +10 -0
  10. package/app/components/input/directives/helpers/index.d.ts +1 -0
  11. package/app/components/input/directives/helpers/mask.helper.d.ts +15 -0
  12. package/app/components/input/directives/mask.directive.d.ts +2 -16
  13. package/app/components/input/directives/number-format.directive.d.ts +6 -1
  14. package/app/components/input/directives/password.directive.d.ts +3 -1
  15. package/app/components/input/input.component.d.ts +59 -4
  16. package/app/components/input/models/dropdown.model.d.ts +44 -2
  17. package/app/components/input/models/input.model.d.ts +21 -7
  18. package/app/components/input/pipes/filter-by-search.pipe.d.ts +1 -1
  19. package/app/components/input-address/enums/input-address-layers-string.enum.d.ts +4 -0
  20. package/app/components/input-address/enums/input-address-type-string.enum.d.ts +5 -0
  21. package/app/components/input-address/input-address.component.d.ts +67 -0
  22. package/app/components/input-address/models/address-data.model.d.ts +19 -0
  23. package/app/components/input-address/models/address-list.model.d.ts +6 -0
  24. package/app/components/input-address/models/long-lat.model.d.ts +4 -0
  25. package/app/components/input-address/models/sent-address-data.model.d.ts +22 -0
  26. package/app/components/input-datetime-picker/cai-input-datetime-picker.component.d.ts +8 -4
  27. package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/cai-custom-datetime-pickers.component.d.ts +3 -3
  28. 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 +1 -1
  29. 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 +1 -1
  30. 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 +1 -1
  31. 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 +2 -2
  32. package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/cai-input.config.d.ts +1 -0
  33. package/app/components/input-datetime-picker/interfaces/index.d.ts +1 -0
  34. package/app/components/input-datetime-picker/interfaces/input-datetime.interface.d.ts +8 -0
  35. package/app/components/pm/pm.component.d.ts +29 -12
  36. package/app/components/selected-location-field/interfaces/index.d.ts +1 -0
  37. package/app/components/selected-location-field/interfaces/selected-business-field.interface.d.ts +11 -0
  38. package/app/components/selected-location-field/selected-business-field.component.d.ts +12 -0
  39. package/app/directives/infinite-scroll.directive.d.ts +16 -0
  40. package/app/directives/intersection-observer.directive.d.ts +15 -0
  41. package/app/enums/alignment.enum.d.ts +4 -0
  42. package/app/enums/index.d.ts +3 -0
  43. package/app/enums/string-placeholder.enum.d.ts +3 -0
  44. package/app/models/appFile.model.d.ts +3 -1
  45. package/app/utils/constants/index.d.ts +1 -0
  46. package/app/utils/constants/input-character-sets.constants.d.ts +18 -0
  47. package/app/utils/index.d.ts +1 -0
  48. package/fesm2022/carriera-intern-components.mjs +1955 -882
  49. package/fesm2022/carriera-intern-components.mjs.map +1 -1
  50. package/package.json +1 -1
  51. package/public/assets/icons/cai-color.svg +3 -0
  52. package/public/assets/icons/cai-edit.svg +3 -3
  53. package/public/assets/icons/cai-loader.svg +3 -0
  54. package/public/assets/icons/fuel-contact/cai-fuel-card.svg +3 -0
  55. package/public/assets/icons/fuel-contact/cai-user-2.svg +3 -0
  56. package/public/assets/icons/general/cai-date.svg +1 -1
  57. package/public/assets/icons/integration/cai-efs.svg +4 -0
  58. package/public/assets/icons/interaction/cai-copy.svg +3 -0
  59. package/public/assets/icons/interaction/cai-favorite.svg +3 -0
  60. package/public/assets/icons/interaction/cai_time.svg +1 -1
  61. package/public/assets/icons/makes/trailers/ic_trailer_atro.svg +6 -0
  62. package/public/assets/icons/makes/trailers/ic_trailer_beall.svg +7 -0
  63. package/public/assets/icons/makes/trailers/ic_trailer_bedard.svg +8 -0
  64. package/public/assets/icons/makes/trailers/ic_trailer_butler.svg +7 -0
  65. package/public/assets/icons/makes/trailers/ic_trailer_de_lucio.svg +17 -0
  66. package/public/assets/icons/makes/trailers/ic_trailer_dorsey.svg +3 -0
  67. package/public/assets/icons/makes/trailers/ic_trailer_east.svg +3 -0
  68. package/public/assets/icons/makes/trailers/ic_trailer_fontaine.svg +3 -0
  69. package/public/assets/icons/makes/trailers/ic_trailer_fruehauf.svg +3 -0
  70. package/public/assets/icons/makes/trailers/ic_trailer_gallegos.svg +3 -0
  71. package/public/assets/icons/makes/trailers/ic_trailer_great_dane.svg +3 -0
  72. package/public/assets/icons/makes/trailers/ic_trailer_heil.svg +6 -0
  73. package/public/assets/icons/makes/trailers/ic_trailer_hudson.svg +3 -0
  74. package/public/assets/icons/makes/trailers/ic_trailer_hyndai.svg +3 -0
  75. package/public/assets/icons/makes/trailers/ic_trailer_kaufman.svg +3 -0
  76. package/public/assets/icons/makes/trailers/ic_trailer_mac.svg +3 -0
  77. package/public/assets/icons/makes/trailers/ic_trailer_manac.svg +3 -0
  78. package/public/assets/icons/makes/trailers/ic_trailer_polar.svg +3 -0
  79. package/public/assets/icons/makes/trailers/ic_trailer_ravens.svg +3 -0
  80. package/public/assets/icons/makes/trailers/ic_trailer_reitnouer.svg +12 -0
  81. package/public/assets/icons/makes/trailers/ic_trailer_strick.svg +3 -0
  82. package/public/assets/icons/makes/trailers/ic_trailer_timpte.svg +8 -0
  83. package/public/assets/icons/makes/trailers/ic_trailer_trail_king.svg +7 -0
  84. package/public/assets/icons/makes/trailers/ic_trailer_transcraft.svg +12 -0
  85. package/public/assets/icons/makes/trailers/ic_trailer_tremcar.svg +10 -0
  86. package/public/assets/icons/makes/trailers/ic_trailer_tytal.svg +3 -0
  87. package/public/assets/icons/makes/trailers/ic_trailer_utility.svg +3 -0
  88. package/public/assets/icons/makes/trailers/ic_trailer_vanguard.svg +3 -0
  89. package/public/assets/icons/makes/trailers/ic_trailer_vantage.svg +3 -0
  90. package/public/assets/icons/makes/trailers/ic_trailer_wabash.svg +3 -0
  91. package/public/assets/icons/makes/trailers/ic_trailer_walinga.svg +8 -0
  92. package/public/assets/icons/makes/trailers/ic_trailer_wilson.svg +3 -0
  93. package/public/assets/icons/makes/trucks/ic_truck_chevrolet.svg +3 -0
  94. package/public/assets/icons/makes/trucks/ic_truck_ford.svg +3 -0
  95. package/public/assets/icons/makes/trucks/ic_truck_freightliner.svg +3 -0
  96. package/public/assets/icons/makes/trucks/ic_truck_gmc.svg +3 -0
  97. package/public/assets/icons/makes/trucks/ic_truck_hino.svg +3 -0
  98. package/public/assets/icons/makes/trucks/ic_truck_international.svg +3 -0
  99. package/public/assets/icons/makes/trucks/ic_truck_isuzu.svg +3 -0
  100. package/public/assets/icons/makes/trucks/ic_truck_kenworth.svg +3 -0
  101. package/public/assets/icons/makes/trucks/ic_truck_mack.svg +3 -0
  102. package/public/assets/icons/makes/trucks/ic_truck_peterbilt.svg +3 -0
  103. package/public/assets/icons/makes/trucks/ic_truck_volvo.svg +3 -0
  104. package/public/assets/icons/makes/trucks/ic_truck_western_star.svg +3 -0
  105. package/public/assets/json/icons.json +204 -0
  106. package/public/pdfjs/pdf.worker.min.mjs +30 -0
  107. package/public-api.d.ts +9 -3
  108. package/src/styles/README.md +57 -0
  109. package/src/styles/_variables.scss +288 -0
  110. package/src/styles/cropper.scss +33 -0
  111. package/src/styles/custompickers.scss +822 -0
  112. package/src/styles/popover.scss +18 -0
  113. package/src/styles/review_variables.scss +40 -0
  114. package/src/styles/tooltip.scss +85 -0
  115. package/src/styles/utility/colors.scss +265 -0
  116. package/src/styles/utility/utilities.scss +6 -0
  117. package/src/styles.scss +28 -0
  118. package/app/components/input-datetime-picker/pipes/input-clear-class.pipe.d.ts +0 -14
  119. package/app/components/input-datetime-picker/pipes/input-date-time-container-class.pipe.d.ts +0 -11
  120. package/app/components/input-datetime-picker/pipes/input-dropdown-arrow-class.pipe.d.ts +0 -11
  121. package/app/components/input-datetime-picker/pipes/input-placeholder-icon.class.pipe.d.ts +0 -11
  122. package/app/components/input-datetime-picker/pipes/show-clear.pipe.d.ts +0 -8
  123. package/app/directives/hover-svg-directives.d.ts +0 -15
  124. package/app/directives/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- import { Bank, Broker, Contact, DepartmentContactsPair, Dispatch, DispatchBoard, Dispatcher, DropdownOption, LabelOption, Shipper, TrailerOption, TruckOption, Hazardous, State, Owner, FuelCard, PMOption } 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;
@@ -9,19 +9,26 @@ export interface CaiInputConfig {
9
9
  icon?: string | null;
10
10
  iconColor?: string;
11
11
  dropdown?: boolean | DropdownType;
12
+ dropdownAutocomplete?: boolean;
13
+ fullState?: boolean;
12
14
  search?: boolean;
15
+ useOutsideSearch?: boolean;
13
16
  add?: boolean;
14
17
  subcontent?: string;
15
18
  textTransform?: 'capitalize' | 'uppercase' | 'lowercase';
19
+ textTransformExceptions?: string[];
16
20
  isNumberFormattingDisabled?: boolean;
17
21
  textColor?: 'positive';
18
- placeholderBehavior?: 'dynamic' | 'fade' | 'static';
19
- errorBehavior?: 'dynamic' | 'static' | 'floating';
22
+ isAddress?: boolean;
23
+ isEdit?: boolean;
24
+ placeholderBehavior?: 'dynamic' | 'fade' | 'static' | 'hidden';
25
+ errorBehavior?: 'dynamic' | 'static' | 'floating' | 'hidden';
20
26
  label?: string;
21
27
  mask?: string;
22
28
  min?: number;
23
29
  max?: number;
24
30
  step?: number | 'automatic';
31
+ disableDecimals?: boolean;
25
32
  prefix?: string;
26
33
  withButtons?: boolean;
27
34
  autocomplete?: string;
@@ -31,18 +38,25 @@ export interface CaiInputConfig {
31
38
  passwordRequirements?: boolean;
32
39
  canOpenModal?: boolean;
33
40
  noSeparator?: boolean;
41
+ squareAvatar?: boolean;
34
42
  optionValue?: string;
35
43
  optionLabel?: string;
36
44
  removable?: boolean;
37
45
  autofocus?: boolean;
46
+ size?: (typeof sizes)[number];
38
47
  customErrors?: CustomError[];
48
+ disabledCharacters?: string[];
49
+ enabledCharacters?: string[];
50
+ spacesAllowed?: number;
39
51
  }
40
52
  export type CustomError = {
41
53
  name: string;
42
54
  message: string | null;
43
55
  };
44
- export declare const DropdownTypes: readonly ["multiple", "dispatch", "ftl-dispatch", "label", "broker", "contact", "shipper", "bank", "dispatcher", "truck", "trailer", "subcontent", "hazardous", "state", "owner", "fuelcard", "pm"];
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];
45
58
  export type DropdownType = (typeof DropdownTypes)[number];
46
- export type DropdownArrays = DropdownOption[] | LabelOption[] | Broker[] | DispatchBoard[] | DepartmentContactsPair[] | Shipper[] | Dispatch[] | Bank[] | Dispatcher[] | TruckOption[] | TrailerOption[] | Hazardous[] | State[] | Owner[] | FuelCard[] | PMOption[];
47
- export type DropdownOptions = DropdownOption | LabelOption | Broker | Contact | Shipper | Dispatch | Bank | Dispatcher | TruckOption | TrailerOption | Hazardous | State | Owner | FuelCard | PMOption;
48
- 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];
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;
@@ -3,7 +3,7 @@ import { CaiInputConfig, DropdownArrays } from '../models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FilterBySearchPipe implements PipeTransform {
5
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): any[];
6
+ transform(options: DropdownArrays, value: string | undefined | null, type: CaiInputConfig['dropdown'], shouldSearch?: boolean, foldedBoards?: number[], label?: string, openGroup?: number | null): any[];
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterBySearchPipe, never>;
8
8
  static ɵpipe: i0.ɵɵPipeDeclaration<FilterBySearchPipe, "filterBySearch", true>;
9
9
  }
@@ -0,0 +1,4 @@
1
+ export declare enum InputAddressLayersStringEnum {
2
+ ADDRESS = "Address",
3
+ LOCALITY = "Locality"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum InputAddressTypeStringEnum {
2
+ LONG_ADDRESS = "longAddress",
3
+ SHORT_ADDRESS = "shortAddress",
4
+ ROUTING_ADDRESS = "RoutingAddress"
5
+ }
@@ -0,0 +1,67 @@
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
+ }
@@ -0,0 +1,19 @@
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
+ }
@@ -0,0 +1,6 @@
1
+ export interface AddressList {
2
+ id?: number;
3
+ name?: string;
4
+ address?: string;
5
+ parkingAddress?: any;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface LongLat {
2
+ latitude?: number;
3
+ longitude?: number;
4
+ }
@@ -0,0 +1,22 @@
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,15 +1,16 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
- import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
3
+ import { NgbPopover, NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
4
4
  import { eGeneralActions } from '../../enums/general-actions.enum';
5
5
  import { CalendarDateTimePickerService } from './components/cai-custom-datetime-pickers/services/calendar-datetime-picker.service';
6
- import { ICaInput } from './components/cai-custom-datetime-pickers/config';
6
+ import { CaiDateTimeConfig } from './interfaces/input-datetime.interface';
7
7
  import * as i0 from "@angular/core";
8
8
  export type InputChangeValue = string | number | Date;
9
9
  export declare class CaiInputDatetimePickerComponent implements AfterViewInit, ControlValueAccessor, OnDestroy {
10
10
  superControl: NgControl;
11
11
  private calendarService;
12
- inputConfig: ICaInput;
12
+ id: string;
13
+ inputConfig: CaiDateTimeConfig;
13
14
  formFormat?: string;
14
15
  clearInputEvent: EventEmitter<boolean>;
15
16
  blurInputEvent: EventEmitter<boolean>;
@@ -45,6 +46,7 @@ export declare class CaiInputDatetimePickerComponent implements AfterViewInit, C
45
46
  span2: ElementRef;
46
47
  span3: ElementRef;
47
48
  holder1: ElementRef;
49
+ closeTooltip: NgbTooltip;
48
50
  private destroy$;
49
51
  constructor(superControl: NgControl, calendarService: CalendarDateTimePickerService);
50
52
  ngOnInit(): void;
@@ -56,6 +58,7 @@ export declare class CaiInputDatetimePickerComponent implements AfterViewInit, C
56
58
  blurInput(): void;
57
59
  ngAfterViewInit(): void;
58
60
  get getSuperControl(): import("@angular/forms").AbstractControl<any, any> | null;
61
+ get isRequired(): boolean | undefined;
59
62
  onDatePaste(event: ClipboardEvent): void;
60
63
  changeSelection(e: any, noPreventDefault?: boolean): void;
61
64
  changeSelectionTwo(event: KeyboardEvent, noPreventDefault?: boolean): void;
@@ -97,7 +100,8 @@ export declare class CaiInputDatetimePickerComponent implements AfterViewInit, C
97
100
  onBlurInput(event: any): void;
98
101
  resetDateTimeInputs(): void;
99
102
  setTimePickerTime(): void;
103
+ handleCloseTooltip(): void;
100
104
  ngOnDestroy(): void;
101
105
  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>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaiInputDatetimePickerComponent, "cai-input-datetime-picker", never, { "id": { "alias": "id"; "required": false; }; "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
107
  }
@@ -46,9 +46,9 @@ export declare class CaCustomDatetimePickersComponent implements OnInit, OnDestr
46
46
  inputInFocus(): void;
47
47
  inputBlur(): void;
48
48
  changeOpened(): void;
49
- setTime(): void;
50
- setDefaultTime(): void;
51
- closePopup(): void;
49
+ setTime(event: Event): void;
50
+ setDefaultTime(event: Event): void;
51
+ closePopup(event: Event): void;
52
52
  createStringFromOutput(): string;
53
53
  onScroll(event: Event, type: keyof ScrollType, index?: number | null): void;
54
54
  checkForScrolledType(type: string): void;
@@ -30,7 +30,7 @@ export declare class CaCustomDateTimePickerCalendarDatesMainComponent implements
30
30
  onMonthChange(data: any): void;
31
31
  getMonth(index: number): string;
32
32
  mouseOverSetItem(): void;
33
- setCalendarListPreview(num: number, index: number): void;
33
+ setCalendarListPreview(num: number, index: number, event: Event): void;
34
34
  selectDay(data: {
35
35
  day: number;
36
36
  index: number;
@@ -19,7 +19,7 @@ export declare class CaCustomDateTimePickersCalendarDaysComponent implements OnI
19
19
  set month(month: Date);
20
20
  constructor();
21
21
  ngOnInit(): void;
22
- chooseDay(day: number | string): void;
22
+ chooseDay(day: number | string, event: Event): void;
23
23
  private setSelectedDate;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickersCalendarDaysComponent, never>;
25
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>;
@@ -22,7 +22,7 @@ export declare class CaCustomDateTimePickersCalendarLeftComponent implements OnI
22
22
  initScrollListeners(): void;
23
23
  findIndexInMonth(date: string): number;
24
24
  onScrollChanged(data: any): void;
25
- selectMonth(indx: number): void;
25
+ selectMonth(indx: number, event: Event): void;
26
26
  mouseOverSetItem(): void;
27
27
  ngOnDestroy(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickersCalendarLeftComponent, never>;
@@ -28,10 +28,10 @@ export declare class CaCustomDateTimePickersDateCalendarsComponent implements On
28
28
  initInitalState(): void;
29
29
  onMonthChange(month: number): void;
30
30
  getMonth(index: number): string;
31
- setListPreview(): void;
31
+ setListPreview(event: Event): void;
32
32
  setListPreviewToFull(num: number): void;
33
33
  setAutoIndex(num: number): void;
34
- selectCurrentDay(): void;
34
+ selectCurrentDay(event: Event): void;
35
35
  ngOnDestroy(): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<CaCustomDateTimePickersDateCalendarsComponent, never>;
37
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>;
@@ -165,4 +165,5 @@ export interface ICaInput {
165
165
  minutesGapFive?: boolean;
166
166
  updateAsTouchedOnEdit?: boolean;
167
167
  transparentInput?: boolean;
168
+ preventTyping?: boolean;
168
169
  }
@@ -0,0 +1 @@
1
+ export * from './input-datetime.interface';
@@ -0,0 +1,8 @@
1
+ import { CustomError } from '../../input/models';
2
+ import { ICaInput } from '../components/cai-custom-datetime-pickers/config';
3
+ export interface CaiDateTimeConfig extends ICaInput {
4
+ inTable?: boolean;
5
+ inverse?: boolean;
6
+ size?: number;
7
+ customErrors?: CustomError[];
8
+ }
@@ -1,28 +1,41 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
3
- import { IPmDropdownAction, PmItem } from '../../models/pm.model';
2
+ import { PmItem } from '../../models/pm.model';
3
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
4
4
  import * as i0 from "@angular/core";
5
- export declare class PmComponent {
5
+ export declare class PmComponent implements ControlValueAccessor {
6
+ ngControl: NgControl | null;
6
7
  /**
7
8
  * List of PM items passed from the parent component.
8
9
  * Used to render all available PM options.
9
10
  */
10
- items: PmItem[];
11
+ items: import("@angular/core").InputSignal<PmItem[]>;
11
12
  /**
12
13
  * Event emitted when the "Add new" button is clicked.
13
14
  * The parent component can listen to this and perform appropriate actions.
14
15
  */
15
- dropdownActions: EventEmitter<IPmDropdownAction>;
16
+ onAdd: import("@angular/core").OutputEmitterRef<void>;
17
+ onSelectionChange: import("@angular/core").OutputEmitterRef<PmItem | null>;
18
+ /**
19
+ * The currently selected PM item.
20
+ * Used to track and display the selected item's title and logo.
21
+ */
22
+ selectedPmItem: import("@angular/core").WritableSignal<PmItem | null>;
23
+ /**
24
+ * Disabled state for forms integration.
25
+ */
26
+ disabled: import("@angular/core").WritableSignal<boolean>;
27
+ /**
28
+ * Holder for incoming value from writeValue to resolve against items.
29
+ */
30
+ private _incomingValue;
31
+ onChange: (value: number | null) => void;
32
+ onTouched: () => void;
33
+ constructor(ngControl: NgControl | null);
16
34
  /**
17
35
  * Boolean signal indicating whether the PM popover is currently visible.
18
36
  * Used to apply conditional styling or behavior when the popover is shown or hidden.
19
37
  */
20
38
  showPmPopover: import("@angular/core").WritableSignal<boolean>;
21
- /**
22
- * The currently selected PM item.
23
- * Used to track and display the selected item's title and logo.
24
- */
25
- selectedPmItem: PmItem;
26
39
  /**
27
40
  * Called when the "Add new" button is clicked.
28
41
  * Emits the `onAdd` event to notify the parent component.
@@ -54,6 +67,10 @@ export declare class PmComponent {
54
67
  * Resets id, title and logoName.
55
68
  */
56
69
  onClear(): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<PmComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<PmComponent, "cai-pm", never, { "items": { "alias": "items"; "required": false; }; }, { "dropdownActions": "dropdownActions"; }, never, never, true, never>;
70
+ writeValue(value: number | string | null): void;
71
+ registerOnChange(fn: (value: number | null) => void): void;
72
+ registerOnTouched(fn: () => void): void;
73
+ setDisabledState(isDisabled: boolean): void;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<PmComponent, [{ optional: true; self: true; }]>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<PmComponent, "cai-pm", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "onAdd": "onAdd"; "onSelectionChange": "onSelectionChange"; }, never, never, true, never>;
59
76
  }
@@ -0,0 +1 @@
1
+ export * from './selected-business-field.interface';
@@ -0,0 +1,11 @@
1
+ export interface SelectedBusinessField {
2
+ label?: string;
3
+ id?: number;
4
+ name?: string;
5
+ address?: string;
6
+ phone?: string;
7
+ email?: string;
8
+ isFavorite?: boolean;
9
+ isRequired?: boolean;
10
+ isDisabled?: boolean;
11
+ }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum eAlignment {
2
+ LEFT = "left",
3
+ RIGHT = "right"
4
+ }
@@ -0,0 +1,3 @@
1
+ export * from './string-placeholder.enum';
2
+ export * from './general-actions.enum';
3
+ export * from './alignment.enum';
@@ -0,0 +1,3 @@
1
+ export declare enum eStringPlaceholder {
2
+ EMPTY = ""
3
+ }
@@ -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
- tag: string;
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
+ };
@@ -1 +1,2 @@
1
1
  export * from './autofill-validators';
2
+ export * from './constants';