ca-components 1.3.38 → 1.3.40
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/assets/scss/mixins.scss +18 -0
- package/assets/scss/text-selection.scss +39 -201
- package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +3 -3
- package/esm2022/lib/components/ca-checkbox/ca-checkbox.component.mjs +2 -2
- package/esm2022/lib/components/ca-collapsible-filter/ca-collapsible-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-comment/ca-comment.component.mjs +2 -2
- package/esm2022/lib/components/ca-comment/modals/comment-modal/comment-modal.component.mjs +3 -3
- package/esm2022/lib/components/ca-custom-scrollbar/ca-custom-scrollbar.component.mjs +3 -3
- package/esm2022/lib/components/ca-details-dropdown/ca-details-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-pm-filter/ca-pm-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.mjs +3 -3
- package/esm2022/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.mjs +2 -2
- package/esm2022/lib/components/ca-input/ca-input.component.mjs +2 -2
- package/esm2022/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +3 -3
- package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-note/ca-input-note.component.mjs +2 -2
- package/esm2022/lib/components/ca-input-test/input-test.component.mjs +2 -2
- package/esm2022/lib/components/ca-logo-change/ca-logo-change.component.mjs +3 -3
- package/esm2022/lib/components/ca-main-table/ca-main-table.component.mjs +3 -3
- package/esm2022/lib/components/ca-map-dropdown/ca-map-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-modal-button/ca-modal-button.component.mjs +3 -3
- package/esm2022/lib/components/ca-new-filter/ca-filter-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/ca-new-filter/components/ca-filter-state-dropdown/ca-filter-state-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/ca-new-filter/components/ca-filter-time-dropdown/ca-filter-time-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/ca-ngx-slider/ca-ngx-slider.component.mjs +2 -2
- package/esm2022/lib/components/ca-note/ca-note.component.mjs +2 -2
- package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +2 -2
- package/esm2022/lib/components/ca-payroll-list-summary-overview/ca-payroll-list-summary-overview.component.mjs +3 -3
- package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +3 -3
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-extra-info/ca-period-content-extra-info.component.mjs +3 -3
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +10 -9
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.mjs +3 -3
- package/esm2022/lib/components/ca-period-content/enums/index.mjs +2 -1
- package/esm2022/lib/components/ca-period-content/enums/period-title-type.enum.mjs +9 -0
- package/esm2022/lib/components/ca-period-content/utils/constants/color-map.mjs +9 -8
- package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +3 -3
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +3 -3
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-list/ca-load-list.component.mjs +3 -3
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +3 -3
- package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +3 -3
- package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +2 -2
- package/esm2022/lib/components/ca-progress-expiration/ca-progress-expiration.component.mjs +2 -2
- package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +2 -2
- package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +2 -2
- package/esm2022/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.mjs +2 -2
- package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-company/ca-right-side-panel-company.component.mjs +3 -3
- package/esm2022/lib/components/ca-right-side-panel/components/ca-right-side-panel-menu/ca-right-side-panel-menu.component.mjs +3 -3
- 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
- package/esm2022/lib/components/ca-search-multiple-states/ca-search-multiple-states.component.mjs +2 -2
- package/esm2022/lib/components/ca-sort-dropdown/ca-sort-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/ca-spinner/ca-spinner.component.mjs +2 -2
- package/esm2022/lib/components/ca-tab-switch/ca-tab-switch.component.mjs +3 -3
- package/esm2022/lib/components/ca-todo/ca-todo.component.mjs +3 -3
- package/esm2022/lib/components/ca-todo/components/ca-todo-card.component.mjs +3 -3
- package/esm2022/lib/components/ca-tooltip-list/ca-tooltip-list.component.mjs +3 -3
- package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +2 -2
- package/esm2022/lib/components/ca-upload-files/ca-upload-files.component.mjs +3 -3
- package/esm2022/lib/components/ca-upload-files/components/ca-upload-dropzone/ca-upload-dropzone.component.mjs +3 -3
- package/esm2022/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.mjs +2 -2
- package/esm2022/lib/components/ca-upload-files/components/ca-upload-files-carousel/ca-upload-files-carousel.component.mjs +3 -3
- package/esm2022/lib/components/ca-vehicle-list/ca-vehicle-list.component.mjs +2 -2
- package/fesm2022/ca-components.mjs +159 -164
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.d.ts +3 -2
- package/lib/components/ca-period-content/enums/index.d.ts +1 -0
- package/lib/components/ca-period-content/enums/period-title-type.enum.d.ts +7 -0
- package/lib/components/ca-period-content/utils/constants/color-map.d.ts +2 -3
- package/package.json +1 -1
- package/esm2022/lib/components/ca-period-content/utils/constants/index.mjs +0 -3
- package/esm2022/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.mjs +0 -15
- package/lib/components/ca-period-content/utils/constants/index.d.ts +0 -2
- package/lib/components/ca-period-content/utils/constants/payroll-period-dropdown.constant.d.ts +0 -10
|
@@ -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,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import { ePeriodTitleType } from "../../enums";
|
|
2
|
+
export declare const titleColorClassMap: Map<ePeriodTitleType | string, string>;
|
package/package.json
CHANGED
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5cm9sbC1wZXJpb2QtZHJvcGRvd24uY29uc3RhbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uL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