ca-components 1.1.7 → 1.1.8

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 (104) hide show
  1. package/assets/scss/icons.scss +12 -0
  2. package/assets/scss/styles.scss +4 -0
  3. package/assets/scss/text-selection.scss +42 -0
  4. package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +3 -3
  5. package/esm2022/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.mjs +2 -2
  6. package/esm2022/lib/components/ca-comment/ca-comment.component.mjs +2 -2
  7. package/esm2022/lib/components/ca-comment/modals/comment-modal/comment-modal.component.mjs +3 -3
  8. package/esm2022/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.mjs +3 -3
  9. package/esm2022/lib/components/ca-details-dropdown/ca-details-dropdown.component.mjs +2 -2
  10. package/esm2022/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.mjs +2 -2
  11. package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +2 -2
  12. package/esm2022/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.mjs +2 -2
  13. package/esm2022/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.mjs +2 -2
  14. package/esm2022/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.mjs +2 -2
  15. package/esm2022/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.mjs +2 -2
  16. package/esm2022/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.mjs +2 -2
  17. package/esm2022/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.mjs +2 -2
  18. package/esm2022/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.mjs +3 -3
  19. package/esm2022/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.mjs +2 -2
  20. package/esm2022/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.mjs +2 -2
  21. package/esm2022/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.mjs +2 -2
  22. package/esm2022/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.mjs +2 -2
  23. package/esm2022/lib/components/ca-input/ca-input.component.mjs +2 -2
  24. package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +2 -2
  25. package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +2 -2
  26. package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +2 -2
  27. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +3 -4
  28. package/esm2022/lib/components/ca-input-note/ca-input-note.component.mjs +2 -2
  29. package/esm2022/lib/components/ca-logo-change/ca-logo-change.component.mjs +3 -3
  30. package/esm2022/lib/components/ca-map/ca-map.component.mjs +47 -60
  31. package/esm2022/lib/components/ca-map/models/index.mjs +2 -0
  32. package/esm2022/lib/components/ca-map/models/map.model.mjs +1 -1
  33. package/esm2022/lib/components/ca-map/utils/constants/index.mjs +2 -1
  34. package/esm2022/lib/components/ca-map/utils/constants/map-options.constants.mjs +2 -2
  35. package/esm2022/lib/components/ca-map/utils/constants/map.constants.mjs +436 -0
  36. package/esm2022/lib/components/ca-map/utils/helpers/map.helper.mjs +1 -1
  37. package/esm2022/lib/components/ca-map/utils/services/map-marker-icon.service.mjs +1 -1
  38. package/esm2022/lib/components/ca-map-dropdown/ca-map-dropdown.component.mjs +5 -5
  39. package/esm2022/lib/components/ca-map-dropdown/enums/map-dropdown-string.enum.mjs +17 -17
  40. package/esm2022/lib/components/ca-modal-button/ca-modal-button.component.mjs +5 -5
  41. package/esm2022/lib/components/ca-modal-button/enums/modal-button-class-type.enum.mjs +12 -10
  42. package/esm2022/lib/components/ca-modal-button/enums/modal-button-size.enum.mjs +6 -6
  43. package/esm2022/lib/components/ca-modal-button/pipes/modal-button-class.pipe.mjs +1 -1
  44. package/esm2022/lib/components/ca-ngx-slider/ca-ngx-slider.component.mjs +2 -2
  45. package/esm2022/lib/components/ca-note/ca-note.component.mjs +2 -2
  46. package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +2 -2
  47. package/esm2022/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.mjs +2 -2
  48. package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +2 -2
  49. package/esm2022/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.mjs +3 -3
  50. package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +2 -2
  51. package/esm2022/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.mjs +3 -3
  52. package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +3 -3
  53. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +3 -3
  54. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.mjs +3 -3
  55. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +3 -3
  56. package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +3 -3
  57. package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +40 -75
  58. package/esm2022/lib/components/ca-progress-bar/models/gps-progress.model.mjs +1 -1
  59. package/esm2022/lib/components/ca-progress-expiration/ca-progress-expiration.component.mjs +2 -2
  60. package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +2 -2
  61. package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +2 -2
  62. package/esm2022/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.mjs +2 -2
  63. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.mjs +3 -3
  64. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.mjs +3 -3
  65. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.mjs +3 -3
  66. package/esm2022/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.mjs +2 -2
  67. package/esm2022/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.mjs +2 -2
  68. package/esm2022/lib/components/ca-spinner/ca-spinner.component.mjs +2 -2
  69. package/esm2022/lib/components/ca-tab-switch/ca-tab-switch.component.mjs +3 -3
  70. package/esm2022/lib/components/ca-todo/ca-todo.component.mjs +3 -3
  71. package/esm2022/lib/components/ca-todo/components/ca-todo-card.component.mjs +3 -3
  72. package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +3 -3
  73. package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +2 -2
  74. package/esm2022/lib/components/ca-upload-files/ca-upload-files.component.mjs +3 -3
  75. package/esm2022/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.mjs +3 -3
  76. package/esm2022/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.mjs +2 -2
  77. package/esm2022/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.mjs +3 -3
  78. package/esm2022/lib/models/index.mjs +2 -2
  79. package/esm2022/lib/models/long-lat.model.mjs +2 -0
  80. package/esm2022/public-api.mjs +3 -2
  81. package/fesm2022/ca-components.mjs +239 -285
  82. package/fesm2022/ca-components.mjs.map +1 -1
  83. package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
  84. package/lib/components/ca-map/ca-map.component.d.ts +9 -9
  85. package/lib/components/ca-map/models/index.d.ts +1 -0
  86. package/lib/components/ca-map/models/map.model.d.ts +5 -0
  87. package/lib/components/ca-map/utils/constants/index.d.ts +1 -0
  88. package/lib/components/ca-map/utils/constants/map-options.constants.d.ts +1 -1
  89. package/lib/components/ca-map/utils/helpers/map.helper.d.ts +1 -1
  90. package/lib/components/ca-map/utils/services/map-marker-icon.service.d.ts +1 -1
  91. package/lib/components/ca-map-dropdown/ca-map-dropdown.component.d.ts +2 -2
  92. package/lib/components/ca-map-dropdown/enums/map-dropdown-string.enum.d.ts +1 -1
  93. package/lib/components/ca-modal-button/ca-modal-button.component.d.ts +3 -3
  94. package/lib/components/ca-modal-button/enums/modal-button-class-type.enum.d.ts +4 -2
  95. package/lib/components/ca-modal-button/enums/modal-button-size.enum.d.ts +1 -1
  96. package/lib/components/ca-modal-button/pipes/modal-button-class.pipe.d.ts +2 -2
  97. package/lib/components/ca-progress-bar/ca-progress-bar.component.d.ts +18 -24
  98. package/lib/components/ca-progress-bar/models/gps-progress.model.d.ts +2 -0
  99. package/lib/models/index.d.ts +1 -0
  100. package/lib/models/long-lat.model.d.ts +4 -0
  101. package/package.json +1 -1
  102. package/public-api.d.ts +2 -1
  103. package/esm2022/lib/constants/map.constant.mjs +0 -436
  104. /package/lib/{constants/map.constant.d.ts → components/ca-map/utils/constants/map.constants.d.ts} +0 -0
@@ -60,8 +60,8 @@ export declare class CaFilterComponent implements OnDestroy {
60
60
  addressList: AddressList[];
61
61
  usaStates: ArrayStatus[];
62
62
  canadaStates: ArrayStatus[];
63
- setFilter: EventEmitter<filterOutput | filterOutputWithParams>;
64
- clearAll: EventEmitter<filterOutput | filterOutputWithParams>;
63
+ setFilter: EventEmitter<filterOutputWithParams | filterOutput>;
64
+ clearAll: EventEmitter<filterOutputWithParams | filterOutput>;
65
65
  private destroy$;
66
66
  isSearchExpanded: boolean;
67
67
  isFilterActive: boolean;
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
2
  import { GoogleMap } from '@angular/google-maps';
3
- import { IMapMarkers, ICaMapProps, IMapOptions, IRoutePath, IMapBoundsZoom, IMapSelectedMarkerData } from '../ca-map/models/map.model';
3
+ import { IMapMarkers, ICaMapProps, IMapOptions, IRoutePath, IMapBoundsZoom, IMapSelectedMarkerData } from '../ca-map/models';
4
4
  import { MapMarkerIconService } from './utils/services';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CaMapComponent {
@@ -9,6 +9,9 @@ export declare class CaMapComponent {
9
9
  private renderer;
10
10
  private markerIconService;
11
11
  constructor(cd: ChangeDetectorRef, el: ElementRef, renderer: Renderer2, markerIconService: MapMarkerIconService);
12
+ maps: GoogleMap;
13
+ markerDropdown: ElementRef;
14
+ clusterDropdown: ElementRef;
12
15
  set data(values: ICaMapProps);
13
16
  resetSelectedMarkerItem: EventEmitter<boolean>;
14
17
  clusterMarkerClick: EventEmitter<IMapMarkers>;
@@ -16,18 +19,13 @@ export declare class CaMapComponent {
16
19
  getInfoWindowData: EventEmitter<number>;
17
20
  boundsChanged: EventEmitter<IMapBoundsZoom>;
18
21
  openInMapEvent: EventEmitter<any>;
19
- maps: GoogleMap;
20
- markerDropdown: ElementRef;
21
- clusterDropdown: ElementRef;
22
22
  private destroy$;
23
- isCurrentlyOpenWindow: boolean;
24
- private directionService;
25
23
  directionsRenderers: google.maps.DirectionsRenderer[];
26
24
  mapOptions: IMapOptions;
27
25
  mapZoom: number;
28
26
  mapCenter: IRoutePath;
29
27
  map: google.maps.Map | null;
30
- isMapCenterSet: boolean;
28
+ mapStyleId: string;
31
29
  mapData: ICaMapProps;
32
30
  openedInfoWindowData: IMapMarkers | null;
33
31
  areaFilterData: {
@@ -45,13 +43,15 @@ export declare class CaMapComponent {
45
43
  };
46
44
  radius: number;
47
45
  };
48
- isAreaFilterActive: boolean;
49
46
  clusterMarkerIds: IMapMarkers[];
50
47
  routingMarkerIds: IMapMarkers[];
48
+ routePolylines: google.maps.PolylineOptions[];
51
49
  isMarkerDropdownOpen: boolean;
52
50
  isClusterDropdownOpen: boolean;
51
+ isCurrentlyOpenWindow: boolean;
52
+ isMapCenterSet: boolean;
53
+ isAreaFilterActive: boolean;
53
54
  openDropdownTimeout: NodeJS.Timeout | number;
54
- mapStyleId: string;
55
55
  ngOnInit(): void;
56
56
  ngAfterViewInit(): void;
57
57
  onClusterMarkerClick(markerItem: IMapMarkers): void;
@@ -0,0 +1 @@
1
+ export * from './map.model';
@@ -3,6 +3,10 @@ export interface IRoutePath {
3
3
  lat: number;
4
4
  lng: number;
5
5
  }
6
+ export interface IRouteLocation {
7
+ latitude?: number | null;
8
+ longitude?: number | null;
9
+ }
6
10
  export interface ICaMapProps {
7
11
  clusterMarkers?: IMapMarkers[];
8
12
  routingMarkers?: IMapMarkers[];
@@ -87,6 +91,7 @@ export interface IMarkerLabel {
87
91
  }
88
92
  export interface IMapRoutePath {
89
93
  path: IRoutePath[];
94
+ decodedShape?: IRouteLocation[];
90
95
  strokeColor: string;
91
96
  strokeOpacity?: number;
92
97
  strokeWeight?: number;
@@ -1,3 +1,4 @@
1
1
  export * from './map-info-window-options.constants';
2
2
  export * from './map-options.constants';
3
3
  export * from './map-marker-icons.constants';
4
+ export * from './map.constants';
@@ -1,4 +1,4 @@
1
- import { ICaMapProps, IMapOptions, IRoutePath } from '../../models/map.model';
1
+ import { ICaMapProps, IMapOptions, IRoutePath } from '../../models';
2
2
  export declare class MapOptionsConstants {
3
3
  static defaultMapOptions: IMapOptions;
4
4
  static defaultMapConfig: ICaMapProps;
@@ -1,4 +1,4 @@
1
- import { IMapMarkers, IRoutePath } from '../../models/map.model';
1
+ import { IMapMarkers, IRoutePath } from '../../models';
2
2
  export declare class MapHelper {
3
3
  static getIconForUnitViewStops: (color: string, id: number | string) => string;
4
4
  static getIconForDriveMiles: (color: string, id: number | string) => string;
@@ -1,6 +1,6 @@
1
1
  import { RendererFactory2 } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
- import { IMapMarkers } from '../../models/map.model';
3
+ import { IMapMarkers } from '../../models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class MapMarkerIconService {
6
6
  private renderer;
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { MapDropdownSvgRoutes } from '../ca-map-dropdown/utils/svg-routes';
3
3
  import { DropDownData, IDropDownActions } from '../ca-details-dropdown/models/detail-dropdown.model';
4
4
  import { MapDropdownClusterItem, MapDropdownContent } from './models';
5
- import { EMapDropdownStringEnum } from './enums';
5
+ import { eMapDropdownString } from './enums';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class CaMapDropdownComponent<T> {
8
8
  infoWindowContent?: MapDropdownContent | null;
@@ -16,7 +16,7 @@ export declare class CaMapDropdownComponent<T> {
16
16
  data: DropDownData[];
17
17
  _markerData: T | null;
18
18
  mapDropdownSvgRoutes: typeof MapDropdownSvgRoutes;
19
- eMapDropdownStringEnum: typeof EMapDropdownStringEnum;
19
+ eMapDropdownString: typeof eMapDropdownString;
20
20
  showHiddenData(event: Event): void;
21
21
  callBodyAction(action: IDropDownActions): void;
22
22
  clusterItemClick(item: MapDropdownClusterItem): void;
@@ -1,4 +1,4 @@
1
- export declare enum EMapDropdownStringEnum {
1
+ export declare enum eMapDropdownString {
2
2
  HEADER_TITLE = "header-title",
3
3
  RATING_REVIEW = "rating-review",
4
4
  DIVIDER = "divider",
@@ -1,8 +1,8 @@
1
- import { ModalButtonClassType, ModalButtonSize } from './enums';
1
+ import { eModalButtonClassType, eModalButtonSize } from './enums';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class CaModalButtonComponent {
4
- type: ModalButtonClassType;
5
- size: ModalButtonSize;
4
+ type: eModalButtonClassType;
5
+ size: eModalButtonSize;
6
6
  text: string;
7
7
  isValid: boolean;
8
8
  isSpinnerShown: boolean;
@@ -1,8 +1,10 @@
1
- export declare enum ModalButtonClassType {
1
+ export declare enum eModalButtonClassType {
2
2
  PRIMARY_POSITIVE = "primary-positive",
3
3
  PRIMARY_NEUTRAL = "primary-neutral",
4
4
  PRIMARY_NEGATIVE = "primary-negative",
5
+ PRIMARY_WHITE = "primary-white",
5
6
  SECONDARY_POSITIVE = "secondary-positive",
6
7
  SECONDARY_NEUTRAL = "secondary-neutral",
7
- SECONDARY_NEGATIVE = "secondary-negative"
8
+ SECONDARY_NEGATIVE = "secondary-negative",
9
+ PLAIN_TEXT = "plain-text"
8
10
  }
@@ -1,4 +1,4 @@
1
- export declare enum ModalButtonSize {
1
+ export declare enum eModalButtonSize {
2
2
  SMALL = "modal-small",
3
3
  NORMAL = "modal-normal"
4
4
  }
@@ -1,8 +1,8 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { ModalButtonClassType, ModalButtonSize } from '../enums';
2
+ import { eModalButtonClassType, eModalButtonSize } from '../enums';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ModalButtonClassPipe implements PipeTransform {
5
- transform(type: ModalButtonClassType, size: ModalButtonSize, isValid: boolean): {
5
+ transform(type: eModalButtonClassType, size: eModalButtonSize, isValid: boolean): {
6
6
  [key: string]: boolean;
7
7
  };
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ModalButtonClassPipe, never>;
@@ -1,15 +1,17 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
2
3
  import { IGpsProgress } from './models';
3
- import { ICaMapProps } from '../ca-map/models/map.model';
4
+ import { ICaMapProps } from '../ca-map/models';
4
5
  import { ProgressBarSvgRoutes } from './utils/svg-routes';
5
6
  import { MapMarkerIconService } from '../ca-map/utils/services';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ProgressBarComponent {
8
9
  private markerIconService;
9
- isDropdown: boolean;
10
+ set gpsProgress(values: IGpsProgress[]);
11
+ currentStop: IGpsProgress;
10
12
  currentPosition: number;
13
+ totalMiles: number;
11
14
  mileageInfo: string;
12
- currentStop: IGpsProgress;
13
15
  gpsTitle: string;
14
16
  gpsIcon: string;
15
17
  gpsInfo: {
@@ -18,16 +20,15 @@ export declare class ProgressBarComponent {
18
20
  gpsheadingColor?: string;
19
21
  };
20
22
  mileagesPercent: string;
21
- totalMiles: number;
22
- set gpsProgress(values: IGpsProgress[]);
23
23
  gpsLocationIcon: string;
24
24
  dispatchStatus: string;
25
+ isDropdown: boolean;
26
+ onOpenMap: EventEmitter<any>;
27
+ _gpsProgress: IGpsProgress[];
28
+ gpsIconTopPosition: number;
25
29
  hoveredGpsIcon: boolean;
26
- hoveredGpsCurrentPosition: boolean;
27
- showDropdown: boolean;
28
- focusedIcon: number;
29
- isIcon: boolean;
30
- tooltip: string;
30
+ hoveredGpsTitle: string | null;
31
+ hoveredMileageInfo: string | null;
31
32
  staticConstant: {
32
33
  completed: string;
33
34
  completed_text: string;
@@ -36,22 +37,15 @@ export declare class ProgressBarComponent {
36
37
  percentage: string;
37
38
  miles: string;
38
39
  };
39
- hoveredGpsTitle: string | null;
40
- hoveredMileageInfo: string | null;
41
- hoveredStop: IGpsProgress | null;
42
- _gpsProgress: IGpsProgress[];
43
- gpsIconTopPosition: number;
44
- Mapdata: ICaMapProps;
40
+ progressBarSvgRoutes: typeof ProgressBarSvgRoutes;
41
+ mapData: ICaMapProps;
45
42
  constructor(markerIconService: MapMarkerIconService);
46
- hoverStop(stop: IGpsProgress, i: number, isIcon?: boolean): void;
43
+ hoverStop(stop: IGpsProgress, i: number): void;
47
44
  leaveStop(): void;
48
- getLeftStyle(): string;
49
- getToolTip(): string;
50
- identity(index: number): number;
51
45
  showDropdownMap(t2: NgbPopover): void;
52
- getSvgPath(propertyName: keyof typeof ProgressBarSvgRoutes): string;
53
- setMapMarkers(): void;
54
- calculateGpsIconPosition(): void;
46
+ private setGpsProgress;
47
+ private setMapMarkers;
48
+ private calculateGpsIconPosition;
55
49
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "app-ca-progress-bar", never, { "isDropdown": { "alias": "isDropdown"; "required": false; }; "currentPosition": { "alias": "currentPosition"; "required": false; }; "mileageInfo": { "alias": "mileageInfo"; "required": false; }; "currentStop": { "alias": "currentStop"; "required": false; }; "gpsTitle": { "alias": "gpsTitle"; "required": false; }; "gpsIcon": { "alias": "gpsIcon"; "required": false; }; "gpsInfo": { "alias": "gpsInfo"; "required": false; }; "mileagesPercent": { "alias": "mileagesPercent"; "required": false; }; "totalMiles": { "alias": "totalMiles"; "required": false; }; "gpsProgress": { "alias": "gpsProgress"; "required": false; }; "gpsLocationIcon": { "alias": "gpsLocationIcon"; "required": false; }; "dispatchStatus": { "alias": "dispatchStatus"; "required": false; }; }, {}, never, never, true, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "app-ca-progress-bar", never, { "gpsProgress": { "alias": "gpsProgress"; "required": false; }; "currentStop": { "alias": "currentStop"; "required": false; }; "currentPosition": { "alias": "currentPosition"; "required": false; }; "totalMiles": { "alias": "totalMiles"; "required": false; }; "mileageInfo": { "alias": "mileageInfo"; "required": false; }; "gpsTitle": { "alias": "gpsTitle"; "required": false; }; "gpsIcon": { "alias": "gpsIcon"; "required": false; }; "gpsInfo": { "alias": "gpsInfo"; "required": false; }; "mileagesPercent": { "alias": "mileagesPercent"; "required": false; }; "gpsLocationIcon": { "alias": "gpsLocationIcon"; "required": false; }; "dispatchStatus": { "alias": "dispatchStatus"; "required": false; }; "isDropdown": { "alias": "isDropdown"; "required": false; }; }, { "onOpenMap": "onOpenMap"; }, never, never, true, never>;
57
51
  }
@@ -1,3 +1,4 @@
1
+ import { LongLat } from "../../../models";
1
2
  export interface IGpsProgress {
2
3
  type: string;
3
4
  heading: string;
@@ -16,4 +17,5 @@ export interface IGpsProgress {
16
17
  [key: string]: number;
17
18
  };
18
19
  isVisited?: boolean;
20
+ routeShape?: LongLat[];
19
21
  }
@@ -1 +1,2 @@
1
1
  export { PayrollListSummaryOverview } from './payroll-list-summary.model';
2
+ export * from './long-lat.model';
@@ -0,0 +1,4 @@
1
+ export interface LongLat {
2
+ longitude?: number | null;
3
+ latitude?: number | null;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13",
package/public-api.d.ts CHANGED
@@ -22,7 +22,7 @@ export * from './lib/components/ca-period-content/ca-period-content.component';
22
22
  export * from './lib/components/ca-input-note/ca-input-note.component';
23
23
  export * from './lib/components/ca-search-multiple-states/utils/services/search-multiple-states.service';
24
24
  export * from './lib/components/ca-rating-review/ca-rating-review.component';
25
- export * from './lib/components/ca-map/models/map.model';
25
+ export * from './lib/components/ca-map/models';
26
26
  export * from './lib/components/ca-main-table/ca-main-table.component';
27
27
  export * from './lib/components/ca-main-table/models/main-table.model';
28
28
  export * from './lib/components/ca-upload-files/ca-upload-files.component';
@@ -38,6 +38,7 @@ export * from './lib/components/ca-chart/ca-chart.component';
38
38
  export * from './lib/components/ca-modal/ca-modal.component';
39
39
  export * from './lib/components/ca-dropdown-menu/ca-dropdown-menu.component';
40
40
  export * from './lib/components/ca-chart/enums';
41
+ export * from './lib/components/ca-chart/models';
41
42
  export * from './lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component';
42
43
  export * from './lib/components/ca-map/utils/helpers';
43
44
  export * from './lib/components/ca-progress-range/ca-progress-range.component';