ca-components 1.0.25 → 1.0.27

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 (161) hide show
  1. package/esm2022/lib/ca-components.module.mjs +24 -6
  2. package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +3 -3
  3. package/esm2022/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.mjs +3 -3
  4. package/esm2022/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.mjs +2 -2
  5. package/esm2022/lib/components/ca-input/ca-input.component.mjs +3 -3
  6. package/esm2022/lib/components/ca-input/pipes/input-clear-class.pipe.mjs +4 -3
  7. package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +2 -2
  8. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +3 -3
  9. package/esm2022/lib/components/ca-logo-change/ca-logo-change.component.mjs +1 -1
  10. package/esm2022/lib/components/ca-map/ca-map.component.mjs +8 -2
  11. package/esm2022/lib/components/ca-map/enums/index.mjs +4 -0
  12. package/esm2022/lib/components/ca-map/enums/map-marker-string.enum.mjs +9 -0
  13. package/esm2022/lib/components/ca-map/models/map.model.mjs +1 -1
  14. package/esm2022/lib/components/ca-map/utils/constants/map-options.constants.mjs +24 -1
  15. package/esm2022/lib/components/ca-map/utils/helpers/index.mjs +3 -0
  16. package/esm2022/lib/components/ca-map/utils/helpers/map-marker-icon.helper.mjs +51 -0
  17. package/esm2022/lib/components/ca-map/utils/svg-routes/index.mjs +2 -0
  18. package/esm2022/lib/components/ca-map/utils/svg-routes/map-svg-routes.mjs +8 -0
  19. package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +7 -6
  20. package/esm2022/lib/components/ca-progress-bar/utils/constants/progress-bar.constants.mjs +1 -11
  21. package/esm2022/lib/components/ca-progress-bar/utils/helpers/index.mjs +1 -2
  22. package/esm2022/lib/components/ca-progress-bar/utils/svg-routes/progress-bar-svg-routes.mjs +1 -4
  23. package/esm2022/lib/components/ca-progress-range/ca-progress-range.component.mjs +64 -0
  24. package/esm2022/lib/components/ca-progress-range/enums/index.mjs +3 -0
  25. package/esm2022/lib/components/ca-progress-range/enums/progress-range-price.enum.mjs +11 -0
  26. package/esm2022/lib/components/ca-progress-range/enums/progress-range-unit.enum.mjs +5 -0
  27. package/esm2022/lib/components/ca-progress-range/models/index.mjs +2 -0
  28. package/esm2022/lib/components/ca-progress-range/models/progress-range-last-price-item.model.mjs +2 -0
  29. package/esm2022/lib/components/ca-progress-range/utils/constants/ca-progress-range.constants.mjs +43 -0
  30. package/esm2022/lib/components/ca-progress-range/utils/constants/index.mjs +2 -0
  31. package/esm2022/lib/components/ca-progress-range/utils/svg-routes/ca-progress-range-svg-routes.mjs +5 -0
  32. package/esm2022/lib/components/ca-progress-range/utils/svg-routes/index.mjs +2 -0
  33. package/esm2022/lib/components/ca-right-side-panel/ca-right-side-panel.component.mjs +16 -6
  34. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.mjs +137 -0
  35. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.mjs +3 -3
  36. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.mjs +34 -4
  37. package/esm2022/lib/components/ca-right-side-panel/enums/company/bank-account-status.enum.mjs +8 -0
  38. package/esm2022/lib/components/ca-right-side-panel/enums/company/bank-card-types-string.enum.mjs +8 -0
  39. package/esm2022/lib/components/ca-right-side-panel/enums/company/fleet-type.enum.mjs +7 -0
  40. package/esm2022/lib/components/ca-right-side-panel/enums/company/preferred-load-type.enum.mjs +6 -0
  41. package/esm2022/lib/components/ca-right-side-panel/enums/company-font-size.enum.mjs +7 -0
  42. package/esm2022/lib/components/ca-right-side-panel/enums/company-info-title.enum.mjs +18 -0
  43. package/esm2022/lib/components/ca-right-side-panel/enums/index.mjs +7 -1
  44. package/esm2022/lib/components/ca-right-side-panel/models/company/bank-account.model.mjs +2 -0
  45. package/esm2022/lib/components/ca-right-side-panel/models/company/bank-card.model.mjs +2 -0
  46. package/esm2022/lib/components/ca-right-side-panel/models/company/bank.model.mjs +2 -0
  47. package/esm2022/lib/components/ca-right-side-panel/models/company/company-additional-info.model.mjs +2 -0
  48. package/esm2022/lib/components/ca-right-side-panel/models/company/company-address.model.mjs +2 -0
  49. package/esm2022/lib/components/ca-right-side-panel/models/company/company-enum-value.model.mjs +2 -0
  50. package/esm2022/lib/components/ca-right-side-panel/models/company/company-navigation-data.model.mjs +1 -1
  51. package/esm2022/lib/components/ca-right-side-panel/models/company/company-payroll.model.mjs +2 -0
  52. package/esm2022/lib/components/ca-right-side-panel/models/company/company-short.model.mjs +2 -0
  53. package/esm2022/lib/components/ca-right-side-panel/models/company/company-user-short.model.mjs +2 -0
  54. package/esm2022/lib/components/ca-right-side-panel/models/company/company.model.mjs +2 -0
  55. package/esm2022/lib/components/ca-right-side-panel/models/company/department-contact.model.mjs +2 -0
  56. package/esm2022/lib/components/ca-right-side-panel/models/company/department.model.mjs +2 -0
  57. package/esm2022/lib/components/ca-right-side-panel/models/company/factoring-company.model.mjs +2 -0
  58. package/esm2022/lib/components/ca-right-side-panel/models/company/file-response.model.mjs +2 -0
  59. package/esm2022/lib/components/ca-right-side-panel/models/company/insurance-policy-addon.model.mjs +2 -0
  60. package/esm2022/lib/components/ca-right-side-panel/models/company/insurance-policy.model.mjs +2 -0
  61. package/esm2022/lib/components/ca-right-side-panel/models/company/per-mile.model.mjs +2 -0
  62. package/esm2022/lib/components/ca-right-side-panel/models/index.mjs +18 -1
  63. package/esm2022/lib/components/ca-right-side-panel/utils/pipes/bank-card-types.pipe.mjs +20 -0
  64. package/esm2022/lib/components/ca-right-side-panel/utils/pipes/hide-account.pipe.mjs +62 -0
  65. package/esm2022/lib/components/ca-right-side-panel/utils/pipes/index.mjs +3 -0
  66. package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +35 -0
  67. package/esm2022/lib/components/ca-tooltip-list/models/index.mjs +3 -0
  68. package/esm2022/lib/components/ca-tooltip-list/models/tooltip-list-item.model.mjs +2 -0
  69. package/esm2022/lib/components/ca-tooltip-list/models/tooltip-list.model.mjs +2 -0
  70. package/esm2022/lib/components/ca-tooltip-list/utils/constants/ca-tooltip-list.constants.mjs +4 -0
  71. package/esm2022/lib/components/ca-tooltip-list/utils/constants/index.mjs +2 -0
  72. package/esm2022/lib/pipes/format-currency.pipe.mjs +29 -9
  73. package/esm2022/lib/pipes/truncate-string.pipe.mjs +19 -0
  74. package/esm2022/public-api.mjs +5 -1
  75. package/fesm2022/ca-components.mjs +605 -87
  76. package/fesm2022/ca-components.mjs.map +1 -1
  77. package/lib/ca-components.module.d.ts +5 -2
  78. package/lib/components/ca-activity-log-list/ca-activity-log-list.component.d.ts +1 -1
  79. package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
  80. package/lib/components/ca-map/enums/index.d.ts +3 -0
  81. package/lib/components/ca-map/enums/map-marker-string.enum.d.ts +6 -0
  82. package/lib/components/ca-map/models/map.model.d.ts +14 -1
  83. package/lib/components/ca-map/utils/constants/map-options.constants.d.ts +26 -0
  84. package/lib/components/ca-map/utils/helpers/index.d.ts +2 -0
  85. package/lib/components/ca-map/utils/helpers/map-marker-icon.helper.d.ts +4 -0
  86. package/lib/components/ca-map/utils/svg-routes/index.d.ts +1 -0
  87. package/lib/components/ca-map/utils/svg-routes/map-svg-routes.d.ts +7 -0
  88. package/lib/components/ca-progress-bar/ca-progress-bar.component.d.ts +0 -10
  89. package/lib/components/ca-progress-bar/utils/constants/progress-bar.constants.d.ts +0 -10
  90. package/lib/components/ca-progress-bar/utils/helpers/index.d.ts +0 -1
  91. package/lib/components/ca-progress-bar/utils/svg-routes/progress-bar-svg-routes.d.ts +0 -3
  92. package/lib/components/ca-progress-range/ca-progress-range.component.d.ts +19 -0
  93. package/lib/components/ca-progress-range/enums/index.d.ts +2 -0
  94. package/lib/components/ca-progress-range/enums/progress-range-price.enum.d.ts +9 -0
  95. package/lib/components/ca-progress-range/enums/progress-range-unit.enum.d.ts +3 -0
  96. package/lib/components/ca-progress-range/models/index.d.ts +1 -0
  97. package/lib/components/ca-progress-range/models/progress-range-last-price-item.model.d.ts +6 -0
  98. package/lib/components/ca-progress-range/utils/constants/ca-progress-range.constants.d.ts +15 -0
  99. package/lib/components/ca-progress-range/utils/constants/index.d.ts +1 -0
  100. package/lib/components/ca-progress-range/utils/svg-routes/ca-progress-range-svg-routes.d.ts +4 -0
  101. package/lib/components/ca-progress-range/utils/svg-routes/index.d.ts +1 -0
  102. package/lib/components/ca-right-side-panel/ca-right-side-panel.component.d.ts +6 -3
  103. package/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.d.ts +51 -0
  104. package/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.d.ts +1 -1
  105. package/lib/components/ca-right-side-panel/components/ca-right-side-panel-top-bar/ca-right-side-panel-top-bar.component.d.ts +12 -2
  106. package/lib/components/ca-right-side-panel/enums/company/bank-account-status.enum.d.ts +6 -0
  107. package/lib/components/ca-right-side-panel/enums/company/bank-card-types-string.enum.d.ts +6 -0
  108. package/lib/components/ca-right-side-panel/enums/company/fleet-type.enum.d.ts +5 -0
  109. package/lib/components/ca-right-side-panel/enums/company/preferred-load-type.enum.d.ts +4 -0
  110. package/lib/components/ca-right-side-panel/enums/company-font-size.enum.d.ts +5 -0
  111. package/lib/components/ca-right-side-panel/enums/company-info-title.enum.d.ts +16 -0
  112. package/lib/components/ca-right-side-panel/enums/index.d.ts +6 -0
  113. package/lib/components/ca-right-side-panel/models/company/bank-account.model.d.ts +11 -0
  114. package/lib/components/ca-right-side-panel/models/company/bank-card.model.d.ts +10 -0
  115. package/lib/components/ca-right-side-panel/models/company/bank.model.d.ts +7 -0
  116. package/lib/components/ca-right-side-panel/models/company/company-additional-info.model.d.ts +15 -0
  117. package/lib/components/ca-right-side-panel/models/company/company-address.model.d.ts +12 -0
  118. package/lib/components/ca-right-side-panel/models/company/company-enum-value.model.d.ts +4 -0
  119. package/lib/components/ca-right-side-panel/models/company/company-payroll.model.d.ts +21 -0
  120. package/lib/components/ca-right-side-panel/models/company/company-short.model.d.ts +9 -0
  121. package/lib/components/ca-right-side-panel/models/company/company-user-short.model.d.ts +8 -0
  122. package/lib/components/ca-right-side-panel/models/company/company.model.d.ts +38 -0
  123. package/lib/components/ca-right-side-panel/models/company/department-contact.model.d.ts +10 -0
  124. package/lib/components/ca-right-side-panel/models/company/department.model.d.ts +7 -0
  125. package/lib/components/ca-right-side-panel/models/company/factoring-company.model.d.ts +9 -0
  126. package/lib/components/ca-right-side-panel/models/company/file-response.model.d.ts +9 -0
  127. package/lib/components/ca-right-side-panel/models/company/insurance-policy-addon.model.d.ts +25 -0
  128. package/lib/components/ca-right-side-panel/models/company/insurance-policy.model.d.ts +13 -0
  129. package/lib/components/ca-right-side-panel/models/company/per-mile.model.d.ts +5 -0
  130. package/lib/components/ca-right-side-panel/models/index.d.ts +17 -0
  131. package/lib/components/ca-right-side-panel/utils/pipes/bank-card-types.pipe.d.ts +9 -0
  132. package/lib/components/ca-right-side-panel/utils/pipes/hide-account.pipe.d.ts +7 -0
  133. package/lib/components/ca-right-side-panel/utils/pipes/index.d.ts +2 -0
  134. package/lib/components/ca-tooltip-list/ca-tooltip-list.component.d.ts +13 -0
  135. package/lib/components/ca-tooltip-list/models/index.d.ts +2 -0
  136. package/lib/components/ca-tooltip-list/models/tooltip-list-item.model.d.ts +8 -0
  137. package/lib/components/ca-tooltip-list/models/tooltip-list.model.d.ts +9 -0
  138. package/lib/components/ca-tooltip-list/utils/constants/ca-tooltip-list.constants.d.ts +3 -0
  139. package/lib/components/ca-tooltip-list/utils/constants/index.d.ts +1 -0
  140. package/lib/pipes/format-currency.pipe.d.ts +3 -2
  141. package/lib/pipes/truncate-string.pipe.d.ts +7 -0
  142. package/package.json +1 -1
  143. package/public-api.d.ts +4 -0
  144. package/src/assets/ca-components/svg/common/ic_department.svg +5 -0
  145. package/src/assets/ca-components/svg/progress-range/progress-range-last-price-bar.svg +7 -0
  146. package/src/assets/ca-components/svg/progress-range/progress-range-last-price-cursor.svg +4 -0
  147. package/src/assets/ca-components/svg/right-side-panel/ic_address.svg +3 -0
  148. package/src/assets/ca-components/svg/right-side-panel/ic_amex.svg +6 -0
  149. package/src/assets/ca-components/svg/right-side-panel/ic_bank_account.svg +7 -0
  150. package/src/assets/ca-components/svg/right-side-panel/ic_copy.svg +3 -0
  151. package/src/assets/ca-components/svg/right-side-panel/ic_discover.svg +5 -0
  152. package/src/assets/ca-components/svg/right-side-panel/ic_edit.svg +4 -0
  153. package/src/assets/ca-components/svg/right-side-panel/ic_fax.svg +5 -0
  154. package/src/assets/ca-components/svg/right-side-panel/ic_fuel_card.svg +3 -0
  155. package/src/assets/ca-components/svg/right-side-panel/ic_mastercard.svg +3 -0
  156. package/src/assets/ca-components/svg/right-side-panel/ic_visa.svg +4 -0
  157. package/src/assets/ca-components/svg/right-side-panel/ic_website.svg +3 -0
  158. package/esm2022/lib/components/ca-map/utils/map-svg-routes/map-svg-routes.mjs +0 -5
  159. package/esm2022/lib/components/ca-progress-bar/utils/helpers/progress-map-marker.helper.mjs +0 -51
  160. package/lib/components/ca-map/utils/map-svg-routes/map-svg-routes.d.ts +0 -4
  161. package/lib/components/ca-progress-bar/utils/helpers/progress-map-marker.helper.d.ts +0 -4
@@ -32,9 +32,12 @@ import * as i30 from "./components/ca-right-side-panel/ca-right-side-panel.compo
32
32
  import * as i31 from "./components/ca-chart/ca-chart.component";
33
33
  import * as i32 from "./components/ca-dots-menu/ca-dots-menu.component";
34
34
  import * as i33 from "./components/ca-upload-files/ca-upload-files.component";
35
- import * as i34 from "./components/ca-burger-menu/ca-burger-menu.component";
35
+ import * as i34 from "./components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component";
36
+ import * as i35 from "./components/ca-burger-menu/ca-burger-menu.component";
37
+ import * as i36 from "./components/ca-progress-range/ca-progress-range.component";
38
+ import * as i37 from "./components/ca-tooltip-list/ca-tooltip-list.component";
36
39
  export declare class CaComponentsLibModule {
37
40
  static ɵfac: i0.ɵɵFactoryDeclaration<CaComponentsLibModule, never>;
38
- static ɵmod: i0.ɵɵNgModuleDeclaration<CaComponentsLibModule, never, [typeof i1.CommonModule, typeof i2.CaProfileImageComponent, typeof i3.CaRatingReviewComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i6.CaDropdownComponent, typeof i7.CaFilterComponent, typeof i8.CaInputComponent, typeof i9.CaInputRadiobuttonsComponent, typeof i10.CaInputDropdownComponent, typeof i11.CaMapComponent, typeof i12.CaMapDropdownComponent, typeof i13.CaNoteComponent, typeof i14.CaNoteContainerComponent, typeof i15.CaPayrollListSummaryOverviewComponent, typeof i16.CaPayrollListSummaryOverviewTableComponent, typeof i17.PickupDeliveryBlockComponent, typeof i18.ProgressBarComponent, typeof i19.CaSearchMultipleStatesComponent, typeof i20.CaSpinnerComponent, typeof i21.CaTodoComponent, typeof i22.CaTruckTrailerProgresBarComponent, typeof i23.CaPeriodContentComponent, typeof i24.CaInputNoteComponent, typeof i25.CaInputAddressDropdownComponent, typeof i26.CaMainTableComponent, typeof i27.CaActivityLogListComponent, typeof i28.CaRightSidePanelMenuComponent, typeof i29.CaRightSidePanelTopBarComponent, typeof i30.CaRightSidePanelComponent, typeof i31.CaChartComponent, typeof i32.CaDotsMenuComponent, typeof i33.CaUploadFilesComponent, typeof i34.CaBurgerMenuComponent], [typeof i2.CaProfileImageComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i3.CaRatingReviewComponent, typeof i6.CaDropdownComponent, typeof i7.CaFilterComponent, typeof i8.CaInputComponent, typeof i9.CaInputRadiobuttonsComponent, typeof i10.CaInputDropdownComponent, typeof i11.CaMapComponent, typeof i12.CaMapDropdownComponent, typeof i13.CaNoteComponent, typeof i14.CaNoteContainerComponent, typeof i15.CaPayrollListSummaryOverviewComponent, typeof i16.CaPayrollListSummaryOverviewTableComponent, typeof i17.PickupDeliveryBlockComponent, typeof i18.ProgressBarComponent, typeof i19.CaSearchMultipleStatesComponent, typeof i20.CaSpinnerComponent, typeof i22.CaTruckTrailerProgresBarComponent, typeof i23.CaPeriodContentComponent, typeof i24.CaInputNoteComponent, typeof i26.CaMainTableComponent, typeof i27.CaActivityLogListComponent, typeof i28.CaRightSidePanelMenuComponent, typeof i29.CaRightSidePanelTopBarComponent, typeof i30.CaRightSidePanelComponent, typeof i31.CaChartComponent, typeof i32.CaDotsMenuComponent, typeof i33.CaUploadFilesComponent, typeof i34.CaBurgerMenuComponent]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CaComponentsLibModule, never, [typeof i1.CommonModule, typeof i2.CaProfileImageComponent, typeof i3.CaRatingReviewComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i6.CaDropdownComponent, typeof i7.CaFilterComponent, typeof i8.CaInputComponent, typeof i9.CaInputRadiobuttonsComponent, typeof i10.CaInputDropdownComponent, typeof i11.CaMapComponent, typeof i12.CaMapDropdownComponent, typeof i13.CaNoteComponent, typeof i14.CaNoteContainerComponent, typeof i15.CaPayrollListSummaryOverviewComponent, typeof i16.CaPayrollListSummaryOverviewTableComponent, typeof i17.PickupDeliveryBlockComponent, typeof i18.ProgressBarComponent, typeof i19.CaSearchMultipleStatesComponent, typeof i20.CaSpinnerComponent, typeof i21.CaTodoComponent, typeof i22.CaTruckTrailerProgresBarComponent, typeof i23.CaPeriodContentComponent, typeof i24.CaInputNoteComponent, typeof i25.CaInputAddressDropdownComponent, typeof i26.CaMainTableComponent, typeof i27.CaActivityLogListComponent, typeof i28.CaRightSidePanelMenuComponent, typeof i29.CaRightSidePanelTopBarComponent, typeof i30.CaRightSidePanelComponent, typeof i31.CaChartComponent, typeof i32.CaDotsMenuComponent, typeof i33.CaUploadFilesComponent, typeof i34.CaRightSidePanelCompanyComponent, typeof i35.CaBurgerMenuComponent, typeof i36.CaProgressRangeComponent, typeof i37.CaTooltipListComponent], [typeof i2.CaProfileImageComponent, typeof i4.CaAppTooltipV2Component, typeof i5.CaDetailsDropdownComponent, typeof i3.CaRatingReviewComponent, typeof i6.CaDropdownComponent, typeof i7.CaFilterComponent, typeof i8.CaInputComponent, typeof i9.CaInputRadiobuttonsComponent, typeof i10.CaInputDropdownComponent, typeof i11.CaMapComponent, typeof i12.CaMapDropdownComponent, typeof i13.CaNoteComponent, typeof i14.CaNoteContainerComponent, typeof i15.CaPayrollListSummaryOverviewComponent, typeof i16.CaPayrollListSummaryOverviewTableComponent, typeof i17.PickupDeliveryBlockComponent, typeof i18.ProgressBarComponent, typeof i19.CaSearchMultipleStatesComponent, typeof i20.CaSpinnerComponent, typeof i22.CaTruckTrailerProgresBarComponent, typeof i23.CaPeriodContentComponent, typeof i24.CaInputNoteComponent, typeof i26.CaMainTableComponent, typeof i27.CaActivityLogListComponent, typeof i28.CaRightSidePanelMenuComponent, typeof i29.CaRightSidePanelTopBarComponent, typeof i30.CaRightSidePanelComponent, typeof i31.CaChartComponent, typeof i32.CaDotsMenuComponent, typeof i33.CaUploadFilesComponent, typeof i34.CaRightSidePanelCompanyComponent, typeof i35.CaBurgerMenuComponent, typeof i36.CaProgressRangeComponent, typeof i37.CaTooltipListComponent]>;
39
42
  static ɵinj: i0.ɵɵInjectorDeclaration<CaComponentsLibModule>;
40
43
  }
@@ -37,5 +37,5 @@ export declare class CaActivityLogListComponent implements OnInit, OnDestroy {
37
37
  private watchSearchFormValueChanges;
38
38
  resetFiltersClick(): void;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<CaActivityLogListComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<CaActivityLogListComponent, "ca-activity-log-list", never, { "activityLogList": { "alias": "activityLogList"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; }, { "searchText": "searchText"; "resetFilters": "resetFilters"; }, never, never, true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaActivityLogListComponent, "app-ca-activity-log-list", never, { "activityLogList": { "alias": "activityLogList"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; }, { "searchText": "searchText"; "resetFilters": "resetFilters"; }, never, never, true, never>;
41
41
  }
@@ -57,8 +57,8 @@ export declare class CaFilterComponent implements OnDestroy {
57
57
  addressList: AddressList[];
58
58
  usaStates: ArrayStatus[];
59
59
  canadaStates: ArrayStatus[];
60
- setFilter: EventEmitter<filterOutput | filterOutputWithParams>;
61
- clearAll: EventEmitter<filterOutput | filterOutputWithParams>;
60
+ setFilter: EventEmitter<filterOutputWithParams | filterOutput>;
61
+ clearAll: EventEmitter<filterOutputWithParams | filterOutput>;
62
62
  private destroy$;
63
63
  isSearchExpanded: boolean;
64
64
  isFilterActive: boolean;
@@ -0,0 +1,3 @@
1
+ export * from './google-map.enum';
2
+ export * from './map-marker-string.enum';
3
+ export * from './toolbar-filter-string.enum';
@@ -0,0 +1,6 @@
1
+ export declare enum MapMarkerStringEnum {
2
+ PICKUP = "pickup",
3
+ DELIVERY = "delivery",
4
+ DEADHEAD = "deadhead",
5
+ CURRENT_LOCATION = "Current Location"
6
+ }
@@ -58,7 +58,7 @@ export interface IMapMarkers {
58
58
  position: IRoutePath;
59
59
  icon: IMapMarkersIcon;
60
60
  infoWindowContent?: MapDropdownContent;
61
- label?: IMarkerLabel;
61
+ label?: IMarkerLabel | null;
62
62
  labelOrigin?: {
63
63
  x: number;
64
64
  y: number;
@@ -86,6 +86,8 @@ export interface IMapRoutePath {
86
86
  strokeColor: string;
87
87
  strokeOpacity?: number;
88
88
  strokeWeight?: number;
89
+ isDashed?: boolean;
90
+ dashedLineStyle?: IMapDashedRouteStyle[];
89
91
  }
90
92
  export interface IMapBoundsZoom {
91
93
  bounds: google.maps.LatLngBounds;
@@ -94,3 +96,14 @@ export interface IMapBoundsZoom {
94
96
  export interface IMapSelectedMarkerData extends IMapMarkers {
95
97
  isClusterMarker?: boolean;
96
98
  }
99
+ export interface IMapDashedRouteStyle {
100
+ icon: IMapDashedRouteIcon;
101
+ offset: string;
102
+ repeat: string;
103
+ }
104
+ export interface IMapDashedRouteIcon {
105
+ path: string;
106
+ strokeOpacity: number;
107
+ strokeColor: string;
108
+ scale: number;
109
+ }
@@ -21,4 +21,30 @@ export declare class MapOptionsConstants {
21
21
  };
22
22
  radius: number;
23
23
  };
24
+ static routingMarkerColors: {
25
+ pickup: string;
26
+ delivery: string;
27
+ deadhead: string;
28
+ };
29
+ static routingPathColors: {
30
+ currentLocation: string;
31
+ deadhead: string;
32
+ default: string;
33
+ };
34
+ static routingDashedLinePath: {
35
+ path: string;
36
+ strokeOpacity: number;
37
+ strokeColor: string;
38
+ scale: number;
39
+ };
40
+ static routingDashedLineIcon: {
41
+ icon: {
42
+ path: string;
43
+ strokeOpacity: number;
44
+ strokeColor: string;
45
+ scale: number;
46
+ };
47
+ offset: string;
48
+ repeat: string;
49
+ }[];
24
50
  }
@@ -0,0 +1,2 @@
1
+ export * from './map-marker-icon.helper';
2
+ export * from './map.helper';
@@ -0,0 +1,4 @@
1
+ export declare class MapMarkerIconHelper {
2
+ static getRoutingMarkerIcon: (stopNumber: number, stopType: string, isStopChecked?: boolean) => string;
3
+ static getRoutingMarkerSvg: (stopNumber: number, stopType: string) => string;
4
+ }
@@ -0,0 +1 @@
1
+ export * from './map-svg-routes';
@@ -0,0 +1,7 @@
1
+ export declare class MapSvgRoutes {
2
+ static markerSvgRoute: string;
3
+ static phone: string;
4
+ static routingCheckedPickupMarker: string;
5
+ static routingCheckedDeliveryMarker: string;
6
+ static routingCheckedDeadheadMarker: string;
7
+ }
@@ -33,16 +33,6 @@ export declare class ProgressBarComponent {
33
33
  zero: number;
34
34
  percentage: string;
35
35
  miles: string;
36
- markerColors: {
37
- pickup: string;
38
- delivery: string;
39
- deadhead: string;
40
- };
41
- mapPathColors: {
42
- currentLocation: string;
43
- deadhead: string;
44
- default: string;
45
- };
46
36
  };
47
37
  hoveredGpsTitle: string | null;
48
38
  hoveredMileageInfo: string | null;
@@ -5,14 +5,4 @@ export declare const ProgressBarConstants: {
5
5
  zero: number;
6
6
  percentage: string;
7
7
  miles: string;
8
- markerColors: {
9
- pickup: string;
10
- delivery: string;
11
- deadhead: string;
12
- };
13
- mapPathColors: {
14
- currentLocation: string;
15
- deadhead: string;
16
- default: string;
17
- };
18
8
  };
@@ -1,2 +1 @@
1
1
  export * from './convert-minutes-to-hours.helper';
2
- export * from './progress-map-marker.helper';
@@ -1,6 +1,3 @@
1
1
  export declare class ProgressBarSvgRoutes {
2
2
  static checkRoute: string;
3
- static checkedPickupMarker: string;
4
- static checkedDeliveryMarker: string;
5
- static checkedDeadheadMarker: string;
6
3
  }
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { eProgressRangeUnit } from './enums';
3
+ import { CaProgressRangeSvgRoutes } from './utils/svg-routes';
4
+ import { IProgressRangeLastPriceItem } from './models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CaProgressRangeComponent implements OnInit {
7
+ startRange: number;
8
+ endRange: number;
9
+ value: number | null;
10
+ unit: eProgressRangeUnit;
11
+ lastUsed: string;
12
+ svgRoutes: typeof CaProgressRangeSvgRoutes;
13
+ priceRangeItem: IProgressRangeLastPriceItem;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ private calculatePriceRange;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaProgressRangeComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaProgressRangeComponent, "app-ca-progress-range", never, { "startRange": { "alias": "startRange"; "required": false; }; "endRange": { "alias": "endRange"; "required": false; }; "value": { "alias": "value"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "lastUsed": { "alias": "lastUsed"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,2 @@
1
+ export * from './progress-range-price.enum';
2
+ export * from './progress-range-unit.enum';
@@ -0,0 +1,9 @@
1
+ export declare enum eProgressRangePrice {
2
+ Expired = 0,
3
+ Cheapest = 1,
4
+ Low = 2,
5
+ Moderate = 3,
6
+ High = 4,
7
+ MostExpensive = 5,
8
+ Inactive = 6
9
+ }
@@ -0,0 +1,3 @@
1
+ export declare enum eProgressRangeUnit {
2
+ Dollar = "$"
3
+ }
@@ -0,0 +1 @@
1
+ export * from './progress-range-last-price-item.model';
@@ -0,0 +1,6 @@
1
+ import { eProgressRangePrice } from "../enums";
2
+ export interface IProgressRangeLastPriceItem {
3
+ id: eProgressRangePrice;
4
+ circleClassName: string;
5
+ arrowClassName?: string;
6
+ }
@@ -0,0 +1,15 @@
1
+ import { IProgressRangeLastPriceItem } from "../../models";
2
+ export declare class CaProgressRangeConstants {
3
+ static CLASS_ARROW_CHEAPEST: string;
4
+ static CLASS_ARROW_LOW: string;
5
+ static CLASS_ARROW_MODERATE: string;
6
+ static CLASS_ARROW_HIGH: string;
7
+ static CLASS_ARROW_MOST_EXPENSIVE: string;
8
+ static CLASS_CIRCLE_CHEAPEST: string;
9
+ static CLASS_CIRCLE_LOW: string;
10
+ static CLASS_CIRCLE_MODERATE: string;
11
+ static CLASS_CIRCLE_HIGH: string;
12
+ static CLASS_CIRCLE_MOST_EXPENSIVE: string;
13
+ static CLASS_CIRCLE_EXPIRED_NO_VALUE: string;
14
+ static PROGRESS_RANGE_LAST_PRICE_ITEMS: IProgressRangeLastPriceItem[];
15
+ }
@@ -0,0 +1 @@
1
+ export * from './ca-progress-range.constants';
@@ -0,0 +1,4 @@
1
+ export declare class CaProgressRangeSvgRoutes {
2
+ static ICON_LAST_PRICE_BAR: string;
3
+ static ICON_LAST_PRICE_CURSOR: string;
4
+ }
@@ -0,0 +1 @@
1
+ export * from './ca-progress-range-svg-routes';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { ActivityLogItem } from '../ca-activity-log-list/models';
3
- import { ActionFilterInputData, ActivityLogFilterParams, CompanyNavigationData, ModuleFilterInputData, UserFilterInputData } from './models';
3
+ import { ActionFilterInputData, ActivityLogFilterParams, Company, CompanyNavigationData, ModuleFilterInputData, UserFilterInputData } from './models';
4
4
  import { RightSidePanelCurrentTab, SelectedModule } from './enums';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CaRightSidePanelComponent {
@@ -10,7 +10,8 @@ export declare class CaRightSidePanelComponent {
10
10
  SelectedModule: typeof SelectedModule;
11
11
  resetFilters: boolean;
12
12
  companiesData: CompanyNavigationData[];
13
- data: ActivityLogItem[];
13
+ activityLogData: ActivityLogItem[];
14
+ mainCompanyData: Company;
14
15
  usersFilter: UserFilterInputData[];
15
16
  modulesFilter: ModuleFilterInputData[];
16
17
  actionsFilter: ActionFilterInputData[];
@@ -18,13 +19,15 @@ export declare class CaRightSidePanelComponent {
18
19
  selectedNavModule: EventEmitter<SelectedModule>;
19
20
  isSidePanelPinned: EventEmitter<boolean>;
20
21
  isNavOpen: EventEmitter<boolean>;
22
+ selectedCompanyId: EventEmitter<number>;
21
23
  selectedNavEvent(selectedNav: SelectedModule): void;
22
24
  selectedTabEvent(selectedTab: RightSidePanelCurrentTab): void;
25
+ selectedTabCompanyIdEvent(companyId: number): void;
23
26
  pinSidebarEvent(isPinned: boolean): void;
24
27
  setActivityLogFilterParams(activityLogFilterParams: ActivityLogFilterParams): void;
25
28
  searchEvent(searchText: string): void;
26
29
  resetFiltersEvent(resetFilters: boolean): void;
27
30
  openNavEvent(isNavOpen: boolean): void;
28
31
  static ɵfac: i0.ɵɵFactoryDeclaration<CaRightSidePanelComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<CaRightSidePanelComponent, "ca-right-side-panel", never, { "companiesData": { "alias": "companiesData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "usersFilter": { "alias": "usersFilter"; "required": false; }; "modulesFilter": { "alias": "modulesFilter"; "required": false; }; "actionsFilter": { "alias": "actionsFilter"; "required": false; }; }, { "activityLogFilterParams": "activityLogFilterParams"; "selectedNavModule": "selectedNavModule"; "isSidePanelPinned": "isSidePanelPinned"; "isNavOpen": "isNavOpen"; }, never, never, true, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaRightSidePanelComponent, "app-ca-right-side-panel", never, { "companiesData": { "alias": "companiesData"; "required": false; }; "activityLogData": { "alias": "activityLogData"; "required": false; }; "mainCompanyData": { "alias": "mainCompanyData"; "required": false; }; "usersFilter": { "alias": "usersFilter"; "required": false; }; "modulesFilter": { "alias": "modulesFilter"; "required": false; }; "actionsFilter": { "alias": "actionsFilter"; "required": false; }; }, { "activityLogFilterParams": "activityLogFilterParams"; "selectedNavModule": "selectedNavModule"; "isSidePanelPinned": "isSidePanelPinned"; "isNavOpen": "isNavOpen"; "selectedCompanyId": "selectedCompanyId"; }, never, never, true, never>;
30
33
  }
@@ -0,0 +1,51 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Clipboard } from '@angular/cdk/clipboard';
3
+ import { Company } from '../../models';
4
+ import { CompanyInfoTitle } from '../../enums';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CaRightSidePanelCompanyComponent implements OnInit {
7
+ private clipboar;
8
+ company: Company;
9
+ fontSizeLogo: string;
10
+ CompanyInfoTitle: typeof CompanyInfoTitle;
11
+ firstPartAddress: string;
12
+ secondPartAddress: string;
13
+ isAdditionalInfoOpen: boolean;
14
+ isDepartmentContactOpen: boolean;
15
+ isPhoneShown: boolean;
16
+ isBankAccountOpen: boolean;
17
+ isRoutingShown: boolean;
18
+ accountVisibility: {
19
+ [key: string]: boolean;
20
+ };
21
+ isBankCardOpen: boolean;
22
+ isCardShown: boolean;
23
+ cardVisibility: {
24
+ [key: string]: boolean;
25
+ };
26
+ cvcVisibility: {
27
+ [key: string]: boolean;
28
+ };
29
+ textCopied: string;
30
+ constructor(clipboar: Clipboard);
31
+ ngOnInit(): void;
32
+ private changeFontSizeLogo;
33
+ private splitAddress;
34
+ toggleAdditionalInfo(): void;
35
+ toggleDepartmentContact(): void;
36
+ toggleDepartmentContactView(): void;
37
+ toggleBankAccount(): void;
38
+ toggleBankAccountView(): void;
39
+ toggleAccountVisibility(account: string): void;
40
+ isAccountVisible(account: string): boolean;
41
+ toggleBankCard(): void;
42
+ toggleBankCardView(): void;
43
+ toggleCardVisibility(card: string): void;
44
+ isCardVisible(card: string): boolean;
45
+ toggleCvcVisibility(cvc: string): void;
46
+ isCvcVisible(cvc: string): boolean;
47
+ copyText(event: Event, val: string): void;
48
+ trackByIdentity(index: number): number;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaRightSidePanelCompanyComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaRightSidePanelCompanyComponent, "app-ca-right-side-panel-company", never, { "company": { "alias": "company"; "required": false; }; }, {}, never, never, true, never>;
51
+ }
@@ -27,5 +27,5 @@ export declare class CaRightSidePanelMenuComponent {
27
27
  trackByIdentity(index: number): number;
28
28
  private setSettings;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<CaRightSidePanelMenuComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<CaRightSidePanelMenuComponent, "ca-right-side-panel-menu", never, { "companyList": { "alias": "companyList"; "required": false; }; }, { "selectedNav": "selectedNav"; "isPinned": "isPinned"; "isNavOpen": "isNavOpen"; }, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaRightSidePanelMenuComponent, "app-ca-right-side-panel-menu", never, { "companyList": { "alias": "companyList"; "required": false; }; }, { "selectedNav": "selectedNav"; "isPinned": "isPinned"; "isNavOpen": "isNavOpen"; }, never, never, true, never>;
31
31
  }
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { ActivityLogSortType, RightSidePanelCurrentTab, SelectedModule } from '../../enums';
3
- import { ActionFilterInputData, ActivityLogFilter, ActivityLogFilterParams, ModuleFilterInputData, TimeFilterEvent, UserFilterInputData } from '../../models';
3
+ import { ActionFilterInputData, ActivityLogFilter, ActivityLogFilterParams, CompanyNavigationData, ModuleFilterInputData, TimeFilterEvent, UserFilterInputData } from '../../models';
4
4
  import { UserGroup } from '../../../ca-filters/components/ca-user-filter/models';
5
5
  import { ArrayStatus } from '../../../../../lib/models/array-status.model';
6
6
  import { filterOutputWithParams } from '../../../../../lib/models/filter-output-params.model';
@@ -12,9 +12,12 @@ export declare class CaRightSidePanelTopBarComponent {
12
12
  currentTab: RightSidePanelCurrentTab;
13
13
  hoveredTab: RightSidePanelCurrentTab | null;
14
14
  RightSidePanelCurrentTab: typeof RightSidePanelCurrentTab;
15
+ currentTabCompany: number;
16
+ hoveredCompanyId: number;
15
17
  _usersFilter: UserGroup[];
16
18
  _modulesFilter: UserGroup[];
17
19
  _actionsFilter: ArrayStatus[];
20
+ _companyList?: CompanyNavigationData[];
18
21
  SelectedModule: typeof SelectedModule;
19
22
  activitySortOrderAsc: boolean;
20
23
  RightSidePanelTopBarSvgRoutes: typeof RightSidePanelTopBarSvgRoutes;
@@ -25,10 +28,13 @@ export declare class CaRightSidePanelTopBarComponent {
25
28
  set modulesFilter(value: ModuleFilterInputData[]);
26
29
  set actionsFilter(value: ActionFilterInputData[]);
27
30
  set resetFilters(value: boolean);
31
+ set companyList(value: CompanyNavigationData[]);
28
32
  selectedTab: EventEmitter<RightSidePanelCurrentTab>;
29
33
  activityLogFilterParams: EventEmitter<ActivityLogFilterParams>;
34
+ selectedTabCompanyId: EventEmitter<number>;
30
35
  constructor(cdr: ChangeDetectorRef);
31
36
  switchTab(tab: RightSidePanelCurrentTab): void;
37
+ switchTabCompany(companyId: number): void;
32
38
  private transformUsersFilter;
33
39
  private transformModulesFilter;
34
40
  private transformActionsFilter;
@@ -39,8 +45,12 @@ export declare class CaRightSidePanelTopBarComponent {
39
45
  sortDate(): void;
40
46
  onHoverTab(hoveredTab: RightSidePanelCurrentTab): void;
41
47
  onHoverLeave(): void;
48
+ onHoverTabCompany(companyId: number): void;
49
+ onHoverLeaveCompany(): void;
42
50
  reloadActivities(): void;
43
51
  private resetActivityLogFilters;
52
+ private setCompanyList;
53
+ trackByIdentity(index: number): number;
44
54
  static ɵfac: i0.ɵɵFactoryDeclaration<CaRightSidePanelTopBarComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<CaRightSidePanelTopBarComponent, "ca-right-side-panel-top-bar", never, { "selectedModule": { "alias": "selectedModule"; "required": false; }; "usersFilter": { "alias": "usersFilter"; "required": false; }; "modulesFilter": { "alias": "modulesFilter"; "required": false; }; "actionsFilter": { "alias": "actionsFilter"; "required": false; }; "resetFilters": { "alias": "resetFilters"; "required": false; }; }, { "selectedTab": "selectedTab"; "activityLogFilterParams": "activityLogFilterParams"; }, never, never, true, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaRightSidePanelTopBarComponent, "app-ca-right-side-panel-top-bar", never, { "selectedModule": { "alias": "selectedModule"; "required": false; }; "usersFilter": { "alias": "usersFilter"; "required": false; }; "modulesFilter": { "alias": "modulesFilter"; "required": false; }; "actionsFilter": { "alias": "actionsFilter"; "required": false; }; "resetFilters": { "alias": "resetFilters"; "required": false; }; "companyList": { "alias": "companyList"; "required": false; }; }, { "selectedTab": "selectedTab"; "activityLogFilterParams": "activityLogFilterParams"; "selectedTabCompanyId": "selectedTabCompanyId"; }, never, never, true, never>;
46
56
  }
@@ -0,0 +1,6 @@
1
+ export declare enum BankAccountStatus {
2
+ UNVERIVIED = "Unverivied",
3
+ VERIFIED = "Verified",
4
+ PENDING = "Pending",
5
+ DECLINED = "Declined"
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum BankCardTypesStringEnum {
2
+ VISA = "visa",
3
+ AMERICAN = "amex",
4
+ MASTERCARD = "mastercard",
5
+ DISCOVER = "discover"
6
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum FleetType {
2
+ SOLO = "Solo",
3
+ TEAM = "Team",
4
+ COMBINED = "Combined"
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PreferredLoadType {
2
+ FTL = "FTL",
3
+ LTL = "LTL"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum CompanyFontSize {
2
+ FOURTY_TWO = "fourty-two",
3
+ THIRTY_TWO = "thirty-two",
4
+ EIGHTEEN = "eighteen"
5
+ }
@@ -0,0 +1,16 @@
1
+ export declare enum CompanyInfoTitle {
2
+ PHONE = "Phone",
3
+ FAX = "Fax",
4
+ EMAIL = "Email",
5
+ WEBSITE = "Website",
6
+ ADDRESS = "Address",
7
+ USDOT = "USDOT",
8
+ EIN = "EIN",
9
+ MC = "MC",
10
+ IRP = "IRP",
11
+ IFTA = "IFTA",
12
+ TOLL = "Toll",
13
+ SCAC = "SCAC",
14
+ TIME_ZONE = "Time Zone",
15
+ CURRENCY = "Currency"
16
+ }
@@ -4,3 +4,9 @@ export * from './filter-type.enum';
4
4
  export * from './activity-log-sort-type.enum';
5
5
  export * from './time-filter-type.enum';
6
6
  export * from './modules-filter-item-label.enum';
7
+ export * from './company-font-size.enum';
8
+ export * from './company-info-title.enum';
9
+ export * from './company/preferred-load-type.enum';
10
+ export * from './company/fleet-type.enum';
11
+ export * from './company/bank-account-status.enum';
12
+ export * from './company/bank-card-types-string.enum';
@@ -0,0 +1,11 @@
1
+ import { Bank } from '../';
2
+ import { BankAccountStatus } from '../../enums';
3
+ export interface BankAccount {
4
+ id: number;
5
+ bank: Bank;
6
+ routing: string;
7
+ account: string;
8
+ status: BankAccountStatus;
9
+ createdAt: string;
10
+ updatedAt: string;
11
+ }
@@ -0,0 +1,10 @@
1
+ export interface BankCard {
2
+ id: number;
3
+ nickname: string;
4
+ cardType: string;
5
+ card: string;
6
+ cvc: string;
7
+ expireDate: string;
8
+ createdAt: string;
9
+ updatedAt: string;
10
+ }
@@ -0,0 +1,7 @@
1
+ export interface Bank {
2
+ id: number;
3
+ name: string;
4
+ logoName: string;
5
+ createdAt: string;
6
+ updatedAt: string;
7
+ }
@@ -0,0 +1,15 @@
1
+ import { FleetType, PreferredLoadType } from '../../enums';
2
+ export interface CompanyAdditionalInfo {
3
+ prefix: string;
4
+ starting: number;
5
+ sufix: string;
6
+ autoInvoicing: boolean;
7
+ preferredLoadType: PreferredLoadType;
8
+ fleetType: FleetType;
9
+ factorByDefault: boolean;
10
+ payTerm: number;
11
+ customerCredit: string;
12
+ mvrMonths: number;
13
+ truckInspectionMonths: number;
14
+ trailerInspectionMonths: number;
15
+ }
@@ -0,0 +1,12 @@
1
+ export interface CompanyAddress {
2
+ city: string;
3
+ state: string;
4
+ county: string;
5
+ address: string;
6
+ street: string;
7
+ streetNumber: string;
8
+ country: string;
9
+ zipCode: string;
10
+ stateShortName: string;
11
+ addressUnit: string;
12
+ }
@@ -0,0 +1,4 @@
1
+ export interface CompanyEnumValue {
2
+ name: string;
3
+ id: number;
4
+ }
@@ -0,0 +1,21 @@
1
+ import { CompanyEnumValue, Department, PerMileEntity } from '../';
2
+ export interface CompanyPayroll {
3
+ id: number;
4
+ department: Department;
5
+ payPeriod: CompanyEnumValue;
6
+ endingIn: CompanyEnumValue;
7
+ defaultBase: number;
8
+ defaultCommission: number;
9
+ solo: PerMileEntity;
10
+ team: PerMileEntity;
11
+ soloPerLoad: number;
12
+ teamPerLoad: number;
13
+ perMileSolo: number;
14
+ perMileTeam: number;
15
+ loadedAndEmptySameRate: boolean;
16
+ defaultSoloDriverCommission: number;
17
+ defaultTeamDriverCommission: number;
18
+ defaultOwnerCommission: number;
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ }
@@ -0,0 +1,9 @@
1
+ import { FileResponse } from '../';
2
+ export interface CompanyShort {
3
+ id: number;
4
+ companyName: string;
5
+ isDivision: boolean;
6
+ isActive: boolean;
7
+ lastLogin: string;
8
+ logoFile: FileResponse;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { FileResponse } from '../';
2
+ export interface CompanyUserShort {
3
+ id: number;
4
+ userId: number;
5
+ fullName: string;
6
+ avatarFile: FileResponse;
7
+ departmentId: number;
8
+ }