ca-components 1.3.37 → 1.3.39

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 (86) hide show
  1. package/assets/scss/mixins.scss +18 -0
  2. package/assets/scss/text-selection.scss +39 -201
  3. package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +3 -3
  4. package/esm2022/lib/components/ca-checkbox/ca-checkbox.component.mjs +2 -2
  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-address-dropdown/ca-input-address-dropdown.component.mjs +2 -2
  25. package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +2 -2
  26. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +2 -2
  27. package/esm2022/lib/components/ca-input-note/ca-input-note.component.mjs +2 -2
  28. package/esm2022/lib/components/ca-input-test/input-test.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-main-table/ca-main-table.component.mjs +3 -3
  31. package/esm2022/lib/components/ca-map-dropdown/ca-map-dropdown.component.mjs +2 -2
  32. package/esm2022/lib/components/ca-modal-button/ca-modal-button.component.mjs +3 -3
  33. package/esm2022/lib/components/ca-new-filter/ca-filter-dropdown.component.mjs +3 -3
  34. package/esm2022/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.mjs +3 -3
  35. package/esm2022/lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component.mjs +3 -3
  36. package/esm2022/lib/components/ca-ngx-slider/ca-ngx-slider.component.mjs +2 -2
  37. package/esm2022/lib/components/ca-note/ca-note.component.mjs +2 -2
  38. package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +2 -2
  39. package/esm2022/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.mjs +3 -3
  40. package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +3 -3
  41. package/esm2022/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.mjs +3 -3
  42. package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +10 -9
  43. package/esm2022/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.mjs +3 -3
  44. package/esm2022/lib/components/ca-period-content/enums/index.mjs +2 -1
  45. package/esm2022/lib/components/ca-period-content/enums/period-title-type.enum.mjs +9 -0
  46. package/esm2022/lib/components/ca-period-content/utils/constants/color-map.mjs +9 -8
  47. package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +3 -3
  48. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +3 -3
  49. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.mjs +3 -3
  50. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +3 -3
  51. package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +3 -3
  52. package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +2 -2
  53. package/esm2022/lib/components/ca-progress-expiration/ca-progress-expiration.component.mjs +2 -2
  54. package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +2 -2
  55. package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +2 -2
  56. package/esm2022/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.mjs +2 -2
  57. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.mjs +3 -3
  58. package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.mjs +3 -3
  59. 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
  60. package/esm2022/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.mjs +2 -2
  61. package/esm2022/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.mjs +2 -2
  62. package/esm2022/lib/components/ca-spinner/ca-spinner.component.mjs +2 -2
  63. package/esm2022/lib/components/ca-tab-switch/ca-tab-switch.component.mjs +3 -3
  64. package/esm2022/lib/components/ca-todo/ca-todo.component.mjs +3 -3
  65. package/esm2022/lib/components/ca-todo/components/ca-todo-card.component.mjs +3 -3
  66. package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +3 -3
  67. package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +2 -2
  68. package/esm2022/lib/components/ca-upload-files/ca-upload-files.component.mjs +3 -3
  69. package/esm2022/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.mjs +3 -3
  70. package/esm2022/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.mjs +2 -2
  71. package/esm2022/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.mjs +3 -3
  72. package/esm2022/lib/components/ca-vehicle-list/ca-vehicle-list.component.mjs +2 -2
  73. package/esm2022/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.mjs +1 -1
  74. package/fesm2022/ca-components.mjs +157 -162
  75. package/fesm2022/ca-components.mjs.map +1 -1
  76. package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
  77. package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.d.ts +3 -2
  78. package/lib/components/ca-period-content/enums/index.d.ts +1 -0
  79. package/lib/components/ca-period-content/enums/period-title-type.enum.d.ts +7 -0
  80. package/lib/components/ca-period-content/utils/constants/color-map.d.ts +2 -3
  81. package/lib/components/ca-vehicle-list/interfaces/vehicle-list-config.interface.d.ts +1 -1
  82. package/package.json +1 -1
  83. package/esm2022/lib/components/ca-period-content/utils/constants/index.mjs +0 -3
  84. package/esm2022/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.mjs +0 -15
  85. package/lib/components/ca-period-content/utils/constants/index.d.ts +0 -2
  86. package/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.d.ts +0 -10
@@ -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<filterOutputWithParams | filterOutput>;
64
- clearAll: EventEmitter<filterOutputWithParams | filterOutput>;
63
+ setFilter: EventEmitter<filterOutput | filterOutputWithParams>;
64
+ clearAll: EventEmitter<filterOutput | filterOutputWithParams>;
65
65
  private destroy$;
66
66
  isSearchExpanded: boolean;
67
67
  isFilterActive: boolean;
@@ -4,6 +4,7 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
4
4
  import { CaDropdownMenuComponent } from '../../../ca-dropdown-menu/ca-dropdown-menu.component';
5
5
  import { PayrollReportTableResponse } from '../../models/payroll-report-tables.type';
6
6
  import { IDropdownMenuItem, IDropdownMenuOptionEmit } from '../../../ca-dropdown-menu/interfaces';
7
+ import { ePeriodTitleType } from '../../enums';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class CaPeriodContentPaymentComponent implements OnInit {
9
10
  private cdr;
@@ -17,7 +18,7 @@ export declare class CaPeriodContentPaymentComponent implements OnInit {
17
18
  dropdownOptions: IDropdownMenuItem[];
18
19
  set isOpen(open: boolean);
19
20
  get isOpen(): boolean;
20
- title: string;
21
+ title: string | ePeriodTitleType;
21
22
  hideTotal: boolean;
22
23
  openAddNewModalEmiter: EventEmitter<string>;
23
24
  openEditEntryItem: EventEmitter<{
@@ -31,10 +32,10 @@ export declare class CaPeriodContentPaymentComponent implements OnInit {
31
32
  }>;
32
33
  dropdownHoverIndex: number;
33
34
  periodContentSvgRoutes: PeriodContentSvgRoutes;
35
+ titleColorClassMap: Map<string, string>;
34
36
  constructor(cdr: ChangeDetectorRef);
35
37
  ngOnInit(): void;
36
38
  handleDropdownMenuHover(hoverIndex?: number): void;
37
- getColor(title: string): string;
38
39
  onDrop(event: CdkDragDrop<PayrollReportTableResponse[]>): void;
39
40
  getSvgPath(propertyName: keyof typeof PeriodContentSvgRoutes): string;
40
41
  formatDate(date: string): string;
@@ -1 +1,2 @@
1
1
  export * from './payroll-type.enum';
2
+ export * from './period-title-type.enum';
@@ -0,0 +1,7 @@
1
+ export declare enum ePeriodTitleType {
2
+ FUEL = "fuel",
3
+ CREDIT = "credit",
4
+ DEDUCTION = "deduction",
5
+ PAYMENT = "payment",
6
+ BONUS = "bonus"
7
+ }
@@ -1,3 +1,2 @@
1
- export declare const titleColorMap: {
2
- [key: string]: string;
3
- };
1
+ import { ePeriodTitleType } from "../../enums";
2
+ export declare const titleColorClassMap: Map<ePeriodTitleType | string, string>;
@@ -1,5 +1,5 @@
1
1
  import { VehicleListType } from '../types';
2
- import { VehicleListResponse } from 'projects/ca-components/src/lib/components/ca-vehicle-list/models';
2
+ import { VehicleListResponse } from '../models';
3
3
  export interface IVehicleListConfig {
4
4
  type?: VehicleListType;
5
5
  list: VehicleListResponse[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.3.37",
3
+ "version": "1.3.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13",
@@ -1,3 +0,0 @@
1
- export * from './color-map';
2
- export * from './payroll-period-dropdown.constant';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1wZXJpb2QtY29udGVudC91dGlscy9jb25zdGFudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29sb3ItbWFwJztcbmV4cG9ydCAqIGZyb20gJy4vcGF5cm9sbC1wZXJpb2QtZHJvcGRvd24uY29uc3RhbnQnO1xuIl19
@@ -1,15 +0,0 @@
1
- export class PayrollPeriodDropdownConstant {
2
- static { this.payrollPeriodOpen = [
3
- { Icon: 'assets/ca-components/svg/popup/edit-hover.svg', text: 'Edit' },
4
- { Icon: 'assets/ca-components/svg/popup/ic_info.svg', text: 'View Details' },
5
- { Icon: 'assets/ca-components/svg/popup/share-icon.svg', text: 'Share' },
6
- { Icon: 'assets/ca-components/svg/popup/ic_print.svg', text: 'Print' },
7
- { Icon: 'assets/ca-components/svg/popup/Delete.svg', text: 'Delete' },
8
- ]; }
9
- static { this.payrollPeriodClosed = [
10
- { Icon: 'assets/ca-components/svg/popup/ic_info.svg', text: 'View Details' },
11
- { Icon: 'assets/ca-components/svg/popup/share-icon.svg', text: 'Share' },
12
- { Icon: 'assets/ca-components/svg/popup/ic_print.svg', text: 'Print' },
13
- ]; }
14
- }
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5cm9sbC1wZXJpb2QtZHJvcGRvd24uY29uc3RhbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1wZXJpb2QtY29udGVudC91dGlscy9jb25zdGFudHMvcGF5cm9sbC1wZXJpb2QtZHJvcGRvd24uY29uc3RhbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDZCQUE2QjthQUN0QixzQkFBaUIsR0FBRztRQUNoQyxFQUFFLElBQUksRUFBRSwrQ0FBK0MsRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFO1FBQ3ZFLEVBQUUsSUFBSSxFQUFFLDRDQUE0QyxFQUFFLElBQUksRUFBRSxjQUFjLEVBQ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mludCcgfSxcbiAgICAgICAgeyBJY29uOiAnYXNzZXRzL2NhLWNvbXBvbmVudHMvc3ZnL3BvcHVwL0RlbGV0ZS5zdmcnLCB0ZXh0OiAnRGVsZXRlJyB9LFxuICAgIF07XG5cbiAgICBzdGF0aWMgcmVhZG9ubHkgcGF5cm9sbFBlcmlvZENsb3NlZCA9IFtcbiAgICAgICAgeyBJY29uOiAnYXNzZXRzL2NhLWNvbXBvbmVudHMvc3ZnL3BvcHVwL2ljX2luZm8uc3ZnJywgdGV4dDogJ1ZpZXcgRGV0YWlscycgfSxcbiAgICAgICAgeyBJY29uOiAnYXNzZXRzL2NhLWNvbXBvbmVudHMvc3ZnL3BvcHVwL3NoYXJlLWljb24uc3ZnJywgdGV4dDogJ1NoYXJlJyB9LFxuICAgICAgICB7IEljb246ICdhc3NldHMvY2EtY29tcG9uZW50cy9zdmcvcG9wdXAvaWNfcHJpbnQuc3ZnJywgdGV4dDogJ1ByaW50JyB9LFxuICAgIF07XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './color-map';
2
- export * from './payroll-period-dropdown.constant';
@@ -1,10 +0,0 @@
1
- export declare class PayrollPeriodDropdownConstant {
2
- static readonly payrollPeriodOpen: {
3
- Icon: string;
4
- text: string;
5
- }[];
6
- static readonly payrollPeriodClosed: {
7
- Icon: string;
8
- text: string;
9
- }[];
10
- }