ca-components 2.1.1431 → 2.1.1531

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -2643,6 +2643,22 @@ interface PayrollDeductionResponse {
2643
2643
  updatedAt?: string;
2644
2644
  }
2645
2645
 
2646
+ interface PayrollDeductionMinimalResponse {
2647
+ id?: number;
2648
+ description?: string | null;
2649
+ subtotal?: number;
2650
+ date?: string;
2651
+ recurring?: boolean;
2652
+ currentRecurrance?: number | null;
2653
+ }
2654
+
2655
+ interface PayrollCreditMinimalResponse {
2656
+ id?: number;
2657
+ description?: string | null;
2658
+ subtotal?: number;
2659
+ date?: string;
2660
+ }
2661
+
2646
2662
  interface PayrollLoadStopMinimalResponse {
2647
2663
  id?: number;
2648
2664
  loadStopName?: string | null;
@@ -2667,6 +2683,22 @@ interface PayrollLoadMinimalResponse {
2667
2683
  rate?: number | null;
2668
2684
  }
2669
2685
 
2686
+ interface PayrollMapLocation {
2687
+ loadNumber?: string | null;
2688
+ latitude?: number | null;
2689
+ longitude?: number | null;
2690
+ type?: EnumValue$1;
2691
+ orderInLoad?: number | null;
2692
+ }
2693
+
2694
+ interface PayrollCommissionTotalSum {
2695
+ totalEmptyMiles?: number | null;
2696
+ totalLoadedMiles?: number | null;
2697
+ totalMiles?: number | null;
2698
+ totalRevenue?: number | null;
2699
+ totalSubtotal?: number | null;
2700
+ }
2701
+
2670
2702
  interface BrokerShortResponse {
2671
2703
  id?: number;
2672
2704
  businessName?: string | null;
@@ -2715,6 +2747,132 @@ interface LoadShortResponse {
2715
2747
  fraudCheck?: boolean;
2716
2748
  }
2717
2749
 
2750
+ interface BankResponse {
2751
+ id?: number;
2752
+ name?: string | null;
2753
+ logoName?: string | null;
2754
+ createdAt?: string;
2755
+ updatedAt?: string;
2756
+ }
2757
+
2758
+ interface OwnerResponse {
2759
+ id?: number;
2760
+ name?: string | null;
2761
+ ownerType?: EnumValue$1;
2762
+ trailerCount?: number;
2763
+ truckCount?: number;
2764
+ ssnEin?: string | null;
2765
+ phone?: string | null;
2766
+ email?: string | null;
2767
+ note?: string | null;
2768
+ bank?: BankResponse;
2769
+ accountNumber?: string | null;
2770
+ routingNumber?: string | null;
2771
+ address?: AddressModel;
2772
+ files?: Array<FileResponse$1> | null;
2773
+ fileCount?: number | null;
2774
+ createdAt?: string;
2775
+ updatedAt?: string;
2776
+ }
2777
+
2778
+ interface PerMileModel {
2779
+ emptyMile?: number | null;
2780
+ loadedMile?: number | null;
2781
+ perStop?: number | null;
2782
+ }
2783
+
2784
+ interface NotificationModel {
2785
+ mailNotification?: boolean;
2786
+ pushNotification?: boolean;
2787
+ smsNotification?: boolean;
2788
+ }
2789
+
2790
+ interface StateResponse {
2791
+ id?: number;
2792
+ countryType?: EnumValue$1;
2793
+ stateShortName?: string | null;
2794
+ stateName?: string | null;
2795
+ }
2796
+
2797
+ interface CdlRestrictionResponse {
2798
+ id?: number;
2799
+ code?: string | null;
2800
+ description?: string | null;
2801
+ }
2802
+ interface CdlEndorsementResponse {
2803
+ id?: number;
2804
+ code?: string | null;
2805
+ description?: string | null;
2806
+ }
2807
+
2808
+ interface CdlResponse {
2809
+ id?: number;
2810
+ state?: StateResponse;
2811
+ cdlNumber?: string | null;
2812
+ issueDate?: string;
2813
+ expDate?: string;
2814
+ status?: number;
2815
+ dateDeactivated?: string | null;
2816
+ classType?: EnumValue$1;
2817
+ cdlRestrictions?: Array<CdlRestrictionResponse> | null;
2818
+ cdlEndorsements?: Array<CdlEndorsementResponse> | null;
2819
+ note?: string | null;
2820
+ createdAt?: string;
2821
+ updatedAt?: string;
2822
+ files?: Array<FileResponse$1> | null;
2823
+ expirationDays?: number | null;
2824
+ percentage?: number | null;
2825
+ }
2826
+
2827
+ interface DriverShortResponse {
2828
+ id?: number;
2829
+ owner?: OwnerResponse;
2830
+ fullName?: string | null;
2831
+ phone?: string | null;
2832
+ email?: string | null;
2833
+ ssn?: string | null;
2834
+ status?: number;
2835
+ note?: string | null;
2836
+ avatarFile?: FileResponse$1;
2837
+ address?: AddressModel;
2838
+ dateOfBirth?: string | null;
2839
+ bank?: BankResponse;
2840
+ account?: string | null;
2841
+ routing?: string | null;
2842
+ useTruckAssistAch?: boolean;
2843
+ payType?: EnumValue$1;
2844
+ solo?: PerMileModel;
2845
+ team?: PerMileModel;
2846
+ perMileSolo?: number | null;
2847
+ perMileTeam?: number | null;
2848
+ commissionSolo?: number | null;
2849
+ commissionTeam?: number | null;
2850
+ soloFlatRate?: number | null;
2851
+ teamFlatRate?: number | null;
2852
+ twic?: boolean;
2853
+ twicExpirationDays?: number | null;
2854
+ fuelCard?: string | null;
2855
+ emergencyContactName?: string | null;
2856
+ emergencyContactPhone?: string | null;
2857
+ emergencyContactRelationship?: string | null;
2858
+ general?: NotificationModel;
2859
+ payroll?: NotificationModel;
2860
+ cdls?: Array<CdlResponse> | null;
2861
+ cdlNumber?: string | null;
2862
+ licenseStateShortName?: string | null;
2863
+ hired?: string | null;
2864
+ mvrExpirationDays?: number | null;
2865
+ mvrExpirationHours?: number | null;
2866
+ cdlExpirationHours?: number | null;
2867
+ medicalExpirationHours?: number | null;
2868
+ cdlExpirationDays?: number | null;
2869
+ medicalExpirationDays?: number | null;
2870
+ mvrPercentage?: number | null;
2871
+ cdlPercentage?: number | null;
2872
+ medicalPercentage?: number | null;
2873
+ fileCount?: number | null;
2874
+ }
2875
+
2718
2876
  interface PayrollPaymentResponse {
2719
2877
  id?: number;
2720
2878
  type?: EnumValue$1;
@@ -2724,6 +2882,172 @@ interface PayrollPaymentResponse {
2724
2882
  updatedAt?: string;
2725
2883
  }
2726
2884
 
2885
+ interface PayrollDriverCommissionByIdResponse {
2886
+ id?: number;
2887
+ driverId?: number;
2888
+ driverName?: string | null;
2889
+ driverAvatar?: FileResponse$1;
2890
+ payrollNumber?: string | null;
2891
+ period?: string;
2892
+ daysUntilPayment?: number;
2893
+ status?: EnumValue$1;
2894
+ total?: number | null;
2895
+ commission?: number;
2896
+ salary?: number | null;
2897
+ includedDeductions?: Array<PayrollDeductionMinimalResponse> | null;
2898
+ excludedDeductions?: Array<PayrollDeductionMinimalResponse> | null;
2899
+ totalDeduction?: number;
2900
+ includedCredits?: Array<PayrollCreditMinimalResponse> | null;
2901
+ excludedCredits?: Array<PayrollCreditMinimalResponse> | null;
2902
+ totalCredits?: number;
2903
+ includedLoads?: Array<PayrollLoadMinimalResponse> | null;
2904
+ excludedLoads?: Array<PayrollLoadMinimalResponse> | null;
2905
+ mapLocations?: Array<PayrollMapLocation> | null;
2906
+ sums?: PayrollCommissionTotalSum;
2907
+ }
2908
+ interface PayrollDriverCommissionResponse {
2909
+ id?: number;
2910
+ driver?: DriverShortResponse;
2911
+ payrollNumber?: string | null;
2912
+ period?: string;
2913
+ closedDate?: string | null;
2914
+ paidDate?: string | null;
2915
+ daysUntilPayment?: number;
2916
+ status?: EnumValue$1;
2917
+ mileageAmount?: number;
2918
+ salaryAmount?: number;
2919
+ creditAmount?: number;
2920
+ deductionAmount?: number;
2921
+ revenueAmount?: number;
2922
+ totalAmount?: number;
2923
+ loadsCount?: number;
2924
+ additionalDays?: number | null;
2925
+ previousLoad?: LoadShortResponse;
2926
+ lastLoad?: LoadShortResponse;
2927
+ stops?: Array<LoadShortResponse> | null;
2928
+ credits?: Array<PayrollCreditResponse> | null;
2929
+ deductions?: Array<PayrollDeductionResponse> | null;
2930
+ payments?: Array<PayrollPaymentResponse> | null;
2931
+ createdAt?: string;
2932
+ updatedAt?: string;
2933
+ }
2934
+
2935
+ interface PayrollBonusMinimalResponse {
2936
+ id?: number;
2937
+ description?: string | null;
2938
+ subtotal?: number;
2939
+ date?: string;
2940
+ }
2941
+
2942
+ interface PayrollPaymentsMinimalResponse {
2943
+ id?: number;
2944
+ description?: string | null;
2945
+ subtotal?: number;
2946
+ date?: string;
2947
+ }
2948
+
2949
+ interface PayrollFlatRateTotalSum {
2950
+ totalEmptyMiles?: number | null;
2951
+ totalLoadedMiles?: number | null;
2952
+ totalMiles?: number | null;
2953
+ totalRevenue?: number | null;
2954
+ totalSubtotal?: number | null;
2955
+ }
2956
+
2957
+ interface PayrollDriverFlatRateClosedByIdResponse {
2958
+ id?: number;
2959
+ driverId?: number;
2960
+ driverName?: string | null;
2961
+ driverAvatar?: FileResponse$1;
2962
+ payrollNumber?: string | null;
2963
+ period?: string;
2964
+ status?: EnumValue$1;
2965
+ total?: number | null;
2966
+ salary?: number | null;
2967
+ rate?: string | null;
2968
+ flatPay?: number | null;
2969
+ deductions?: Array<PayrollDeductionMinimalResponse> | null;
2970
+ totalDeduction?: number;
2971
+ credits?: Array<PayrollCreditMinimalResponse> | null;
2972
+ totalCredits?: number;
2973
+ bonuses?: Array<PayrollBonusMinimalResponse> | null;
2974
+ totalBonuses?: number;
2975
+ loads?: Array<PayrollLoadMinimalResponse> | null;
2976
+ mapLocations?: Array<PayrollMapLocation> | null;
2977
+ sums?: PayrollFlatRateTotalSum;
2978
+ totalPayments?: number;
2979
+ payments?: Array<PayrollPaymentsMinimalResponse> | null;
2980
+ }
2981
+
2982
+ type PayrollDeadlinePeriod = 'Pending' | 'Ready' | 'Past';
2983
+ declare const PayrollDeadlinePeriod: {
2984
+ Pending: PayrollDeadlinePeriod;
2985
+ Ready: PayrollDeadlinePeriod;
2986
+ Past: PayrollDeadlinePeriod;
2987
+ };
2988
+
2989
+ interface PayrollDeadlineShortResponse {
2990
+ numberOfDays?: number;
2991
+ period?: PayrollDeadlinePeriod;
2992
+ }
2993
+
2994
+ interface MilesStopPayrollResponse {
2995
+ id?: number;
2996
+ order?: number;
2997
+ type?: EnumValue$1;
2998
+ location?: AddressModel;
2999
+ legMiles?: number;
3000
+ emptyMiles?: number;
3001
+ loadedMiles?: number;
3002
+ totalMiles?: number;
3003
+ travelHours?: number;
3004
+ travelMinutes?: number;
3005
+ payrollId?: number | null;
3006
+ loadId?: number | null;
3007
+ dateTimeFrom?: string;
3008
+ dateTimeTo?: string | null;
3009
+ duration?: {
3010
+ [key: string]: number;
3011
+ } | null;
3012
+ subtotal?: number;
3013
+ createdAt?: string;
3014
+ updatedAt?: string;
3015
+ }
3016
+
3017
+ interface PayrollDriverMileageResponse {
3018
+ id?: number;
3019
+ driver?: DriverShortResponse;
3020
+ payrollNumber?: string | null;
3021
+ period?: string;
3022
+ closedDate?: string | null;
3023
+ paidDate?: string | null;
3024
+ status?: EnumValue$1;
3025
+ mileageAmount?: number;
3026
+ mileageEmpty?: number;
3027
+ mileageLoaded?: number;
3028
+ emptyMilesPay?: number;
3029
+ loadedMilesPay?: number;
3030
+ milesPay?: number;
3031
+ bonusAmount?: number;
3032
+ salaryAmount?: number;
3033
+ creditAmount?: number;
3034
+ deductionAmount?: number;
3035
+ totalAmount?: number;
3036
+ stopsCount?: number;
3037
+ loadsCount?: number;
3038
+ additionalDays?: number | null;
3039
+ payDeadline?: PayrollDeadlineShortResponse;
3040
+ previousMilesStop?: MilesStopPayrollResponse;
3041
+ lastMilesStop?: MilesStopPayrollResponse;
3042
+ stops?: Array<MilesStopPayrollResponse> | null;
3043
+ bonuses?: Array<PayrollBonusResponse> | null;
3044
+ credits?: Array<PayrollCreditResponse> | null;
3045
+ deductions?: Array<PayrollDeductionResponse> | null;
3046
+ payments?: Array<PayrollPaymentResponse> | null;
3047
+ createdAt?: string;
3048
+ updatedAt?: string;
3049
+ }
3050
+
2727
3051
  interface PayrollFuelMinimalResponse {
2728
3052
  id?: number;
2729
3053
  description?: string | null;
@@ -2733,6 +3057,63 @@ interface PayrollFuelMinimalResponse {
2733
3057
  date?: string;
2734
3058
  }
2735
3059
 
3060
+ interface PayrollOwnerClosedResponse {
3061
+ id?: number;
3062
+ previousLoadId?: number | null;
3063
+ owner?: string | null;
3064
+ truckNumber?: string | null;
3065
+ truckType?: string | null;
3066
+ payrollNumber?: string | null;
3067
+ period?: string;
3068
+ closedDate?: string | null;
3069
+ status?: EnumValue$1;
3070
+ commission?: number | null;
3071
+ salary?: number | null;
3072
+ earnings?: number | null;
3073
+ debt?: number | null;
3074
+ deductions?: Array<PayrollDeductionMinimalResponse> | null;
3075
+ totalDeduction?: number | null;
3076
+ credits?: Array<PayrollCreditMinimalResponse> | null;
3077
+ totalCredits?: number | null;
3078
+ loads?: Array<PayrollLoadMinimalResponse> | null;
3079
+ totalFuels?: number | null;
3080
+ fuels?: Array<PayrollFuelMinimalResponse> | null;
3081
+ totalTransactions?: number | null;
3082
+ transactions?: Array<PayrollPaymentsMinimalResponse> | null;
3083
+ mapLocations?: Array<PayrollMapLocation> | null;
3084
+ sums?: PayrollCommissionTotalSum;
3085
+ }
3086
+
3087
+ interface PayrollOwnerResponse {
3088
+ id?: number;
3089
+ previousLoadId?: number | null;
3090
+ owner?: string | null;
3091
+ truckNumber?: string | null;
3092
+ truckType?: string | null;
3093
+ payrollNumber?: string | null;
3094
+ period?: string;
3095
+ status?: number;
3096
+ total?: number | null;
3097
+ commission?: number | null;
3098
+ salary?: number | null;
3099
+ includedDeductions?: Array<PayrollDeductionMinimalResponse> | null;
3100
+ excludedDeductions?: Array<PayrollDeductionMinimalResponse> | null;
3101
+ totalDeduction?: number;
3102
+ includedCredits?: Array<PayrollCreditMinimalResponse> | null;
3103
+ excludedCredits?: Array<PayrollCreditMinimalResponse> | null;
3104
+ totalCredits?: number;
3105
+ includedLoads?: Array<PayrollLoadMinimalResponse> | null;
3106
+ excludedLoads?: Array<PayrollLoadMinimalResponse> | null;
3107
+ totalFuels?: number;
3108
+ includedFuels?: Array<PayrollFuelMinimalResponse> | null;
3109
+ excludedFuels?: Array<PayrollFuelMinimalResponse> | null;
3110
+ mapLocations?: Array<PayrollMapLocation> | null;
3111
+ sums?: PayrollCommissionTotalSum;
3112
+ }
3113
+
3114
+ type ComponentData = PayrollDriverMileageResponse | PayrollDriverCommissionResponse | PayrollOwnerResponse | PayrollDriverCommissionByIdResponse | PayrollDriverFlatRateClosedByIdResponse | PayrollOwnerClosedResponse;
3115
+ type PaymentComponentData = PayrollBonusResponse[] | PayrollDeductionResponse[] | PayrollCreditResponse[] | PayrollFuelMinimalResponse[];
3116
+
2736
3117
  interface DriverInfo {
2737
3118
  fullName: string;
2738
3119
  driverAvatar?: string;
@@ -2762,6 +3143,112 @@ interface ExtraPayments {
2762
3143
  };
2763
3144
  }
2764
3145
 
3146
+ type formattedComponentData = {
3147
+ amount: number;
3148
+ description: string;
3149
+ date: string;
3150
+ galons?: number;
3151
+ id?: number;
3152
+ };
3153
+
3154
+ interface PaymentSum {
3155
+ sum: number;
3156
+ type: string;
3157
+ }
3158
+
3159
+ interface PayrollPeriodDriverResponse {
3160
+ id?: number;
3161
+ driverId?: number;
3162
+ driverName?: string | null;
3163
+ driverAvatar?: FileResponse$1 | null;
3164
+ periodStart?: string;
3165
+ periodEnd?: string;
3166
+ payrollNumber?: string | null;
3167
+ daysUntilPayment: number;
3168
+ mileagePay?: number;
3169
+ totalEarnings?: number;
3170
+ salary?: number | null;
3171
+ extraStopPay?: number;
3172
+ extraStopCount?: number;
3173
+ loadCount?: number;
3174
+ perMilesEntity?: {
3175
+ emptyMile: number;
3176
+ loadedMile: number;
3177
+ perStop: number;
3178
+ };
3179
+ includedDeductions?: Array<PayrollDeductionMinimalResponse> | null;
3180
+ excludedDeductions?: Array<PayrollDeductionMinimalResponse> | null;
3181
+ totalDeduction?: number;
3182
+ includedCredits?: Array<PayrollCreditMinimalResponse> | null;
3183
+ excludedCredits?: Array<PayrollCreditMinimalResponse> | null;
3184
+ totalCredits?: number;
3185
+ includedBonuses?: Array<PayrollBonusMinimalResponse> | null;
3186
+ excludedBonuses?: Array<PayrollBonusMinimalResponse> | null;
3187
+ totalBonus?: number;
3188
+ includedLoads?: Array<PayrollLoadMinimalResponse> | null;
3189
+ excludedLoads?: Array<PayrollLoadMinimalResponse> | null;
3190
+ mapLocations?: Array<any> | null;
3191
+ sums?: any | null;
3192
+ }
3193
+
3194
+ interface PayrollReportTableResponse {
3195
+ id?: number;
3196
+ description?: string | null;
3197
+ subtotal?: number;
3198
+ date?: string;
3199
+ recurring?: boolean;
3200
+ currentRecurrance?: number | null;
3201
+ reorderItem?: boolean;
3202
+ }
3203
+
3204
+ interface PayrollReport {
3205
+ id?: number;
3206
+ fullName: string;
3207
+ userId: number;
3208
+ avatar: string | null;
3209
+ periodStart?: string;
3210
+ periodEnd?: string;
3211
+ payrollNumber?: string | null;
3212
+ daysUntilPayment: number;
3213
+ mileagePay?: number;
3214
+ earnings?: number;
3215
+ flatPay?: number;
3216
+ salary?: number | null;
3217
+ extraStopPay?: number;
3218
+ extraStopCount?: number;
3219
+ loadCount?: number;
3220
+ payrollDeadLine: {
3221
+ numberOfDays: number;
3222
+ period: string;
3223
+ };
3224
+ perMilesEntity?: {
3225
+ emptyMile: number;
3226
+ loadedMile: number;
3227
+ perStop: number;
3228
+ };
3229
+ includedDeductions?: Array<PayrollReportTableResponse> | null;
3230
+ excludedDeductions?: Array<PayrollReportTableResponse> | null;
3231
+ totalDeduction?: number;
3232
+ includedCredits?: Array<PayrollReportTableResponse> | null;
3233
+ excludedCredits?: Array<PayrollReportTableResponse> | null;
3234
+ totalCredits?: number;
3235
+ includedBonuses?: Array<PayrollReportTableResponse> | null;
3236
+ excludedBonuses?: Array<PayrollReportTableResponse> | null;
3237
+ totalBonus?: number;
3238
+ includedLoads?: Array<PayrollLoadMinimalResponse> | null;
3239
+ excludedLoads?: Array<PayrollLoadMinimalResponse> | null;
3240
+ includedFuels?: Array<PayrollReportTableResponse> | null;
3241
+ excludedFuels?: Array<PayrollReportTableResponse> | null;
3242
+ mapLocations?: Array<any> | null;
3243
+ sums?: any | null;
3244
+ payments?: Array<PayrollReportTableResponse> | null;
3245
+ status: {
3246
+ name: string;
3247
+ id: number;
3248
+ };
3249
+ debt: number;
3250
+ }
3251
+
2765
3252
  interface OptionModel {
2766
3253
  id?: number;
2767
3254
  number?: number;
@@ -4187,6 +4674,7 @@ declare class PickupDeliveryBlockComponent implements OnInit {
4187
4674
  dispatchResponse: DispatchResponse | null;
4188
4675
  isHoveringRow: boolean;
4189
4676
  isDisabled: boolean;
4677
+ isAllDispatchBoardsSelected: boolean;
4190
4678
  dropdownMenuAction: EventEmitter<IDropdownMenuOptionEmit>;
4191
4679
  _searchStrings: ISearchQueryItem[];
4192
4680
  _columnWidth: number;
@@ -4198,7 +4686,7 @@ declare class PickupDeliveryBlockComponent implements OnInit {
4198
4686
  closePopover(t2: NgbPopover): void;
4199
4687
  onDropdownMenuAction(action: IDropdownMenuOptionEmit): void;
4200
4688
  static ɵfac: i0.ɵɵFactoryDeclaration<PickupDeliveryBlockComponent, never>;
4201
- static ɵcmp: i0.ɵɵComponentDeclaration<PickupDeliveryBlockComponent, "app-ca-pickup-delivery-block", never, { "columnWidth": { "alias": "columnWidth"; "required": false; }; "searchStrings": { "alias": "searchStrings"; "required": false; }; "loads": { "alias": "loads"; "required": false; }; "dispatchResponse": { "alias": "dispatchResponse"; "required": false; }; "isHoveringRow": { "alias": "isHoveringRow"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "dropdownMenuAction": "dropdownMenuAction"; }, never, never, true, never>;
4689
+ static ɵcmp: i0.ɵɵComponentDeclaration<PickupDeliveryBlockComponent, "app-ca-pickup-delivery-block", never, { "columnWidth": { "alias": "columnWidth"; "required": false; }; "searchStrings": { "alias": "searchStrings"; "required": false; }; "loads": { "alias": "loads"; "required": false; }; "dispatchResponse": { "alias": "dispatchResponse"; "required": false; }; "isHoveringRow": { "alias": "isHoveringRow"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isAllDispatchBoardsSelected": { "alias": "isAllDispatchBoardsSelected"; "required": false; }; }, { "dropdownMenuAction": "dropdownMenuAction"; }, never, never, true, never>;
4202
4690
  }
4203
4691
 
4204
4692
  interface LongLat$1 {
@@ -5815,64 +6303,6 @@ declare enum ePeriodTitleType {
5815
6303
  BONUS = "Bonus"
5816
6304
  }
5817
6305
 
5818
- interface PayrollReportTableResponse {
5819
- id?: number;
5820
- description?: string | null;
5821
- subtotal?: number;
5822
- date?: string;
5823
- recurring?: boolean;
5824
- currentRecurrance?: number | null;
5825
- reorderItem?: boolean;
5826
- }
5827
-
5828
- interface PayrollReport {
5829
- id?: number;
5830
- fullName: string;
5831
- userId: number;
5832
- avatar: string | null;
5833
- periodStart?: string;
5834
- periodEnd?: string;
5835
- payrollNumber?: string | null;
5836
- daysUntilPayment: number;
5837
- mileagePay?: number;
5838
- earnings?: number;
5839
- flatPay?: number;
5840
- salary?: number | null;
5841
- extraStopPay?: number;
5842
- extraStopCount?: number;
5843
- loadCount?: number;
5844
- payrollDeadLine: {
5845
- numberOfDays: number;
5846
- period: string;
5847
- };
5848
- perMilesEntity?: {
5849
- emptyMile: number;
5850
- loadedMile: number;
5851
- perStop: number;
5852
- };
5853
- includedDeductions?: Array<PayrollReportTableResponse> | null;
5854
- excludedDeductions?: Array<PayrollReportTableResponse> | null;
5855
- totalDeduction?: number;
5856
- includedCredits?: Array<PayrollReportTableResponse> | null;
5857
- excludedCredits?: Array<PayrollReportTableResponse> | null;
5858
- totalCredits?: number;
5859
- includedBonuses?: Array<PayrollReportTableResponse> | null;
5860
- excludedBonuses?: Array<PayrollReportTableResponse> | null;
5861
- totalBonus?: number;
5862
- includedLoads?: Array<PayrollLoadMinimalResponse> | null;
5863
- excludedLoads?: Array<PayrollLoadMinimalResponse> | null;
5864
- includedFuels?: Array<PayrollReportTableResponse> | null;
5865
- excludedFuels?: Array<PayrollReportTableResponse> | null;
5866
- mapLocations?: Array<any> | null;
5867
- sums?: any | null;
5868
- payments?: Array<PayrollReportTableResponse> | null;
5869
- status: {
5870
- name: string;
5871
- id: number;
5872
- };
5873
- debt: number;
5874
- }
5875
-
5876
6306
  declare class CaPeriodContentComponent {
5877
6307
  isOpen: boolean;
5878
6308
  type: PayrollTypeEnum;
@@ -9432,12 +9862,12 @@ declare class CaContactsCardComponent {
9432
9862
 
9433
9863
  declare class DropdownMenuContentHelper {
9434
9864
  static getPayrollDropdownContent(isOpenPayroll: boolean): IDropdownMenuItem[];
9435
- static getPickupDeliveryDropdownContent(loadStatus: string): IDropdownMenuItem[];
9865
+ static getPickupDeliveryDropdownContent(loadStatus: string, isAllDispatchBoardsSelected: boolean): IDropdownMenuItem[];
9436
9866
  }
9437
9867
 
9438
9868
  declare class DropdownMenuContentConditionalItemsHelper {
9439
9869
  static getConditionalItems(requestedItemTitles: string[], isSharedConditionalItems: boolean, modifiers?: Partial<IDropdownMenuItem>[]): IDropdownMenuItem[];
9440
- static getPickupDeliveryModifierItems(loadStatus: string): Partial<IDropdownMenuItem>[];
9870
+ static getPickupDeliveryModifierItems(loadStatus: string, isAllDispatchBoardsSelected: boolean): Partial<IDropdownMenuItem>[];
9441
9871
  }
9442
9872
 
9443
9873
  declare class MethodsCalculationsHelper {
@@ -9557,5 +9987,5 @@ declare class CaToolbarTabSwitchComponent implements AfterViewInit {
9557
9987
  static ɵcmp: i0.ɵɵComponentDeclaration<CaToolbarTabSwitchComponent, "ca-toolbar-tab-switch", never, { "selectedTab": { "alias": "selectedTab"; "required": false; }; "data": { "alias": "data"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "tabSelected": "tabSelected"; }, never, never, true, never>;
9558
9988
  }
9559
9989
 
9560
- export { CaActivateModalComponent, CaActivityLogListComponent, CaAppTooltipV2Component, CaChartComponent, CaChartManagerComponent, CaCheckboxComponent, CaCheckboxSelectedCountComponent, CaCommentsComponent, CaComponentsLibModule, CaContactsCardComponent, CaCustomCardComponent, CaCustomScrollbarComponent, CaDeactivateModalComponent, CaDeleteModalComponent, CaDetailsDropdownComponent, CaDetailsTitleCardComponent, CaDropdownMenuComponent, CaFactoringDropdownComponent, CaFilesCountComponent, CaFilterComponent, CaFilterDropdownComponent, CaFilterListDropdownComponent, CaFilterStateDropdownComponent, CaFleetFilterComponent, CaFuelPricesRangeComponent, CaHeatmapUsaComponent, CaIconDropdownComponent, CaInputAddressDropdownComponent, CaInputComponent, CaInputDatetimePickerComponent, CaInputDropdownComponent, CaInputDropdownTestComponent, CaInputNoteComponent, CaInputRadiobuttonsComponent, CaItemsDropdownComponent, CaLastFuelPriceProgressComponent, CaLoadPickupDeliveryComponent, CaLoadStatusComponent, CaLoadStatusLogComponent, CaMainTableComponent, CaMapComponent, CaMapDropdownComponent, CaMapListCardComponent, CaMapListComponent, CaModalButtonComponent, CaModalComponent, CaModalItemsComponent, CaModalSpinnerComponent, CaMoveModalComponent, CaNoteComponent, CaNoteContainerComponent, CaPayrollListSummaryOverviewComponent, CaPayrollListSummaryOverviewTableComponent, CaPeriodContentComponent, CaProfileImageComponent, CaProgressBarV2Component, CaProgressExpirationComponent, CaRangeSliderComponent, CaRatingReviewComponent, CaResetTableModalComponent, CaRightSidePanelCompanyComponent, CaRightSidePanelComponent, CaRightSidePanelMenuComponent, CaRightSidePanelTopBarComponent, CaSearchMultipleStates2Component, CaSearchMultipleStatesComponent, CaSearchMultipleStatesService, CaShowMoreComponent, CaSortDropdownComponent, CaSortingCardDropdownComponent, CaSpinnerComponent, CaStatusChangeDropdownComponent, CaSvgPipe, CaTabSwitchComponent, CaTableCardViewComponent, CaToastMessagesComponent, CaTodoComponent, CaToolbarDropdownComponent, CaToolbarTabSwitchComponent, CaTooltipListComponent, CaTruckTrailerProgresBarComponent, CaUploadFilesComponent, CaVehicleListComponent, CaVoidModalComponent, ChartColorsStringEnum, ChartEventTypesStringEnum, ChartFontPropertiesStringEnum, ChartImagesStringEnum, ChartPluginIdsStringEnum, ConfirmationModalButtonConstants, CubicInterpolationStringEnum, DateFormatPipe, DateFromStringPipe, DateTimeHelper, DateWaitTimePipe, DispatchStatusColorPipe, DropdownLoadStatusColorPipe, DropdownMenuContentConditionalItemsHelper, DropdownMenuContentConstants, DropdownMenuContentHelper, DropdownWidthPipe, EChartAnnotation, EChartAnnotationType, EChartEventProperties, FilterBySearchTermPipe, FormatCityStatePipe, FormatCurrencyPipe, FormatDurationPipe, FuelPricesRangeConstants, FuelPricesRangePipe, GoogleMapEnum, GpsLocationConstants, GpsLocationHelper, GpsType, HighlightSearchPipe, InputTestComponent, LastFuelPriceProgressHelper, LoadStatusBackgroundColorPipe, LoadStatusColorPipe, LoadStatusColorsPipe, MapConstants, MapDropdownSvgRoutes, MapHelper, MapInfoWindowOptionsConstants, MapMarkerIconHelper, MapMarkerIconService, MapMarkerIconsConstants, MapOptionsConstants, MethodsCalculationsHelper, NFormatterPipe, NameInitialsPipe, PayrollTypeEnum, PickupDeliveryBlockComponent, PmItemPipe, ProgressBarComponent, ProgressBarLinePipe, SafeHtmlPipe, SearchMultipleStatesConstant, SelectedItemPipe, SortDropdownEnum, SortOrder, TableHighlightSearchTextPipe, ThousandFormatterPipe, ThousandSeparatorPipe, ThousandToShortFormatPipe, TimeFilterHelper, ToLowerCasePipe, ToolbarFilterStringEnum, TruckTrailerColorFinderPipe, TruncatePipe, UnitPositionPipe, UserHelper, UserNameInitialsPipe, eAnimationState, eChartTypesString, eColor, eCommonElement, eDateTimeFormats, eDispatchStatus, eDropZoneFileType, eDropdownMenu$1 as eDropdownMenu, eFileAction, eFileDropZoneAction, eFileSize, eFileType, eFileUploadPage, eFilterColor, eFilterDropdownEnum, eFilterSortingKey, eFilterTime, eFleetFilterItemType, eGeneralActions, eGpsHeadingDirection, eGpsMotionStatus, eLoadFilter, eLoadStatus, eMapMarkerStopType, eMapMarkerString, eModalButtonClassType, eModalButtonSize, eModalItems, ePeriodTitleType, ePlacement, ePosition, eReviewState, eSharedString, eStringPlaceholder, eStyleProperty, eStyling, eTemplateType, eThousandSeparatorFormat, eToastType, eTrailerName, eTruckNameString, eUnit, eVehicleList, emptyValueValidator, userInfoEnum, uuidv4 };
9561
- export type { AddressData, AddressList, ColumnConfig, CommandProperties, CommandsHandler, IBaseDataset, ICaInput, ICaInputDateTimePicker, ICaInputWithDropdown, ICaMapProps, IChartAnnotation, IChartBoundaries, IChartCenterLabel, IChartConfiguration, IChartData, IChartDatasetHover, IChartLegendConfig, IChartLegendProperty, IColumnCheckAction, IComment, ICompanyUser, IConfirmationModalButtons, IContact, IContactDepartment, ICountry, IDocumentReviewInputEvent, IDropBackgroundEvent, IDropZoneConfig, IDropZoneOptionConfig, IDropZoneSettings, IDropdownItem, IDropdownMenuItem, IDropdownMenuOptionEmit, IFactoringCheckboxItem, IFactoringExportItem, IFileConfig, IFileEvent, IFileOptionConfig, IFilterAction, IFilterDropdownConfiguration, IFilterDropdownList, IFleetFilterData, IFleetFilterItemEmit, IFleetFilterTrailer, IFleetFilterTrailerType, IFleetFilterTruck, IFleetFilterTruckType, IGpsCurrentLocation, IGpsHeadingInfo, IGpsProgress, IIconDropdownConfig, IIconDropdownItem, IItemsDropdownConfig, IItemsDropdownList, IItemsRowTemplate, ILineDataset, IMapAreaFilter, IMapBounds, IMapBoundsZoom, IMapColor, IMapDashedRouteIcon, IMapDashedRouteStyle, IMapList, IMapMarkers, IMapMarkersIcon, IMapOptions, IMapPagination, IMapRoutePath, IMapSelectedMarkerData, IMapStyles, IMarkerLabel, IModalData, IModalItemsConfig, IMultipleInput, IProgressBarColorConfig, IProgressBarData, IRangeSliderConfig, IReviewFileConfig, IRouteLocation, IRoutePath, ISearchQueryItem, ISlider, ISortDropdownAction, ISortEmit, IState, ITableColumn, ITimeOptions, IUSerAvatarFile, IUploadFilesConfig, IUser, IVehicleListActionsEmit, IVehicleListConfig, InputAddressCommandsString, LiveTrackingBaseResponse, LoadDelivery, LoadListLoadStopResponse, LoadPickup, LoadStatusHistoryResponse, LoadStopLoadListResponse, LoadType, LongLat$1 as LongLat, MapDropdownClusterItem, MapDropdownContent, MapDropdownContentItem, MovementResponse, PayrollListSummaryOverview, RepairUnitType, SentAddressData, SortColumn, TableCardBodyActions, Tabs, VehicleListResponse };
9990
+ export { CaActivateModalComponent, CaActivityLogListComponent, CaAppTooltipV2Component, CaChartComponent, CaChartManagerComponent, CaCheckboxComponent, CaCheckboxSelectedCountComponent, CaCommentsComponent, CaComponentsLibModule, CaContactsCardComponent, CaCustomCardComponent, CaCustomScrollbarComponent, CaDeactivateModalComponent, CaDeleteModalComponent, CaDetailsDropdownComponent, CaDetailsTitleCardComponent, CaDropdownMenuComponent, CaFactoringDropdownComponent, CaFilesCountComponent, CaFilterComponent, CaFilterDropdownComponent, CaFilterListDropdownComponent, CaFilterStateDropdownComponent, CaFleetFilterComponent, CaFuelPricesRangeComponent, CaHeatmapUsaComponent, CaIconDropdownComponent, CaInputAddressDropdownComponent, CaInputComponent, CaInputDatetimePickerComponent, CaInputDropdownComponent, CaInputDropdownTestComponent, CaInputNoteComponent, CaInputRadiobuttonsComponent, CaItemsDropdownComponent, CaLastFuelPriceProgressComponent, CaLoadPickupDeliveryComponent, CaLoadStatusComponent, CaLoadStatusLogComponent, CaMainTableComponent, CaMapComponent, CaMapDropdownComponent, CaMapListCardComponent, CaMapListComponent, CaModalButtonComponent, CaModalComponent, CaModalItemsComponent, CaModalSpinnerComponent, CaMoveModalComponent, CaNoteComponent, CaNoteContainerComponent, CaPayrollListSummaryOverviewComponent, CaPayrollListSummaryOverviewTableComponent, CaPeriodContentComponent, CaProfileImageComponent, CaProgressBarV2Component, CaProgressExpirationComponent, CaRangeSliderComponent, CaRatingReviewComponent, CaResetTableModalComponent, CaRightSidePanelCompanyComponent, CaRightSidePanelComponent, CaRightSidePanelMenuComponent, CaRightSidePanelTopBarComponent, CaSearchMultipleStates2Component, CaSearchMultipleStatesComponent, CaSearchMultipleStatesService, CaShowMoreComponent, CaSortDropdownComponent, CaSortingCardDropdownComponent, CaSpinnerComponent, CaStatusChangeDropdownComponent, CaSvgPipe, CaTabSwitchComponent, CaTableCardViewComponent, CaToastMessagesComponent, CaTodoComponent, CaToolbarDropdownComponent, CaToolbarTabSwitchComponent, CaTooltipListComponent, CaTruckTrailerProgresBarComponent, CaUploadFilesComponent, CaVehicleListComponent, CaVoidModalComponent, ChartColorsStringEnum, ChartEventTypesStringEnum, ChartFontPropertiesStringEnum, ChartImagesStringEnum, ChartPluginIdsStringEnum, ConfirmationModalButtonConstants, CubicInterpolationStringEnum, DateFormatPipe, DateFromStringPipe, DateTimeHelper, DateWaitTimePipe, DispatchStatusColorPipe, DropdownLoadStatusColorPipe, DropdownMenuContentConditionalItemsHelper, DropdownMenuContentConstants, DropdownMenuContentHelper, DropdownWidthPipe, EChartAnnotation, EChartAnnotationType, EChartEventProperties, FilterBySearchTermPipe, FormatCityStatePipe, FormatCurrencyPipe, FormatDurationPipe, FuelPricesRangeConstants, FuelPricesRangePipe, GoogleMapEnum, GpsLocationConstants, GpsLocationHelper, GpsType, HighlightSearchPipe, InputTestComponent, LastFuelPriceProgressHelper, LoadStatusBackgroundColorPipe, LoadStatusColorPipe, LoadStatusColorsPipe, MapConstants, MapDropdownSvgRoutes, MapHelper, MapInfoWindowOptionsConstants, MapMarkerIconHelper, MapMarkerIconService, MapMarkerIconsConstants, MapOptionsConstants, MethodsCalculationsHelper, NFormatterPipe, NameInitialsPipe, PayrollDeadlinePeriod, PayrollTypeEnum, PickupDeliveryBlockComponent, PmItemPipe, ProgressBarComponent, ProgressBarLinePipe, SafeHtmlPipe, SearchMultipleStatesConstant, SelectedItemPipe, SortDropdownEnum, SortOrder, TableHighlightSearchTextPipe, ThousandFormatterPipe, ThousandSeparatorPipe, ThousandToShortFormatPipe, TimeFilterHelper, ToLowerCasePipe, ToolbarFilterStringEnum, TruckTrailerColorFinderPipe, TruncatePipe, UnitPositionPipe, UserHelper, UserNameInitialsPipe, eAnimationState, eChartTypesString, eColor, eCommonElement, eDateTimeFormats, eDispatchStatus, eDropZoneFileType, eDropdownMenu$1 as eDropdownMenu, eFileAction, eFileDropZoneAction, eFileSize, eFileType, eFileUploadPage, eFilterColor, eFilterDropdownEnum, eFilterSortingKey, eFilterTime, eFleetFilterItemType, eGeneralActions, eGpsHeadingDirection, eGpsMotionStatus, eLoadFilter, eLoadStatus, eMapMarkerStopType, eMapMarkerString, eModalButtonClassType, eModalButtonSize, eModalItems, ePeriodTitleType, ePlacement, ePosition, eReviewState, eSharedString, eStringPlaceholder, eStyleProperty, eStyling, eTemplateType, eThousandSeparatorFormat, eToastType, eTrailerName, eTruckNameString, eUnit, eVehicleList, emptyValueValidator, userInfoEnum, uuidv4 };
9991
+ export type { AddressData, AddressList, ColumnConfig, CommandProperties, CommandsHandler, ComponentData, DriverInfo, DriverMinimalResponse, DriverShortResponse, ExtraPayments, IBaseDataset, ICaInput, ICaInputDateTimePicker, ICaInputWithDropdown, ICaMapProps, IChartAnnotation, IChartBoundaries, IChartCenterLabel, IChartConfiguration, IChartData, IChartDatasetHover, IChartLegendConfig, IChartLegendProperty, IColumnCheckAction, IComment, ICompanyUser, IConfirmationModalButtons, IContact, IContactDepartment, ICountry, IDocumentReviewInputEvent, IDropBackgroundEvent, IDropZoneConfig, IDropZoneOptionConfig, IDropZoneSettings, IDropdownItem, IDropdownMenuItem, IDropdownMenuOptionEmit, IFactoringCheckboxItem, IFactoringExportItem, IFileConfig, IFileEvent, IFileOptionConfig, IFilterAction, IFilterDropdownConfiguration, IFilterDropdownList, IFleetFilterData, IFleetFilterItemEmit, IFleetFilterTrailer, IFleetFilterTrailerType, IFleetFilterTruck, IFleetFilterTruckType, IGpsCurrentLocation, IGpsHeadingInfo, IGpsProgress, IIconDropdownConfig, IIconDropdownItem, IItemsDropdownConfig, IItemsDropdownList, IItemsRowTemplate, ILineDataset, IMapAreaFilter, IMapBounds, IMapBoundsZoom, IMapColor, IMapDashedRouteIcon, IMapDashedRouteStyle, IMapList, IMapMarkers, IMapMarkersIcon, IMapOptions, IMapPagination, IMapRoutePath, IMapSelectedMarkerData, IMapStyles, IMarkerLabel, IModalData, IModalItemsConfig, IMultipleInput, IProgressBarColorConfig, IProgressBarData, IRangeSliderConfig, IReviewFileConfig, IRouteLocation, IRoutePath, ISearchQueryItem, ISlider, ISortDropdownAction, ISortEmit, IState, ITableColumn, ITimeOptions, IUSerAvatarFile, IUploadFilesConfig, IUser, IVehicleListActionsEmit, IVehicleListConfig, InputAddressCommandsString, LiveTrackingBaseResponse, LoadDelivery, LoadListLoadStopResponse, LoadPickup, LoadStatusHistoryResponse, LoadStopLoadListResponse, LoadType, LongLat$1 as LongLat, MapDropdownClusterItem, MapDropdownContent, MapDropdownContentItem, MilesStopPayrollResponse, MovementResponse, NotificationModel, PaymentComponentData, PaymentSum, PayrollBonusMinimalResponse, PayrollBonusResponse, PayrollCommissionTotalSum, PayrollCreditMinimalResponse, PayrollCreditResponse, PayrollDeadlineShortResponse, PayrollDeductionMinimalResponse, PayrollDeductionResponse, PayrollDriverCommissionByIdResponse, PayrollDriverCommissionResponse, PayrollDriverFlatRateClosedByIdResponse, PayrollDriverMileageResponse, PayrollFlatRateTotalSum, PayrollFuelMinimalResponse, PayrollListSummaryOverview, PayrollLoadMinimalResponse, PayrollLoadStopMinimalResponse, PayrollMapLocation, PayrollOwnerClosedResponse, PayrollOwnerResponse, PayrollPaymentResponse, PayrollPaymentsMinimalResponse, PayrollPeriodDriverResponse, PayrollReport, PayrollReportTableResponse, PerMileModel, RepairUnitType, SentAddressData, SortColumn, TableCardBodyActions, Tabs, VehicleListResponse, formattedComponentData };
@@ -10,7 +10,7 @@ import {
10
10
  EventEmitter,
11
11
  } from '@angular/core';
12
12
  import { CommonModule } from '@angular/common';
13
- import { AnyObject } from 'chart.js/dist/types/basic';
13
+ import { AnyObject } from 'node_modules/chart.js/dist/types/basic';
14
14
  import { AngularSvgIconModule } from 'angular-svg-icon';
15
15
  import { Subject, takeUntil } from 'rxjs';
16
16
 
@@ -54,7 +54,7 @@ import {
54
54
  IChartCenterLabel,
55
55
  IChartLegendConfig,
56
56
  } from './models';
57
- import { ActiveElement } from 'chart.js/dist/plugins/plugin.tooltip';
57
+ import { ActiveElement } from 'node_modules/chart.js/dist/plugins/plugin.tooltip';
58
58
 
59
59
  //Services
60
60
  import { ChartManagerService } from '../ca-chart-manager/services';
@@ -64,7 +64,7 @@ import { ChartConstants } from './utils/constants';
64
64
  import {
65
65
  _DeepPartialArray,
66
66
  _DeepPartialObject,
67
- } from 'chart.js/dist/types/utils';
67
+ } from 'node_modules/chart.js/dist/types/utils';
68
68
 
69
69
  // Pipes
70
70
  import { ThousandSeparatorPipe, UnitPositionPipe } from '../../pipes';