ca-components 0.0.72 → 0.0.75
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/esm2022/lib/animations/card-component.animation.mjs +64 -0
- package/esm2022/lib/ca-components.module.mjs +5 -5
- package/esm2022/lib/components/ca-activity-log-list/ca-activity-log-list.component.mjs +82 -29
- package/esm2022/lib/components/ca-activity-log-list/enums/action-log-type-title-text.enum.mjs +7 -0
- package/esm2022/lib/components/ca-activity-log-list/enums/action-log-type.enum.mjs +9 -0
- package/esm2022/lib/components/ca-activity-log-list/enums/activity-entity-type.enum.mjs +6 -0
- package/esm2022/lib/components/ca-activity-log-list/enums/index.mjs +4 -0
- package/esm2022/lib/components/ca-activity-log-list/models/action-log.model.mjs +2 -0
- package/esm2022/lib/components/ca-activity-log-list/models/activity-log-item-description.model.mjs +2 -0
- package/esm2022/lib/components/ca-activity-log-list/models/activity-log-item.model.mjs +1 -1
- package/esm2022/lib/components/ca-activity-log-list/models/activity-log-list-data.model.mjs +2 -0
- package/esm2022/lib/components/ca-activity-log-list/models/company-user.model.mjs +2 -0
- package/esm2022/lib/components/ca-activity-log-list/models/entity-type-activity.model.mjs +2 -0
- package/esm2022/lib/components/ca-activity-log-list/models/index.mjs +7 -0
- package/esm2022/lib/components/ca-activity-log-list/utils/pipes/action-log-name-transform.pipe.mjs +2 -5
- package/esm2022/lib/components/ca-activity-log-list/utils/pipes/activity-log-date-transform.pipe.mjs +17 -0
- package/esm2022/lib/components/ca-activity-log-list/utils/pipes/index.mjs +3 -0
- package/esm2022/lib/components/ca-comment/ca-comment.component.mjs +122 -0
- package/esm2022/lib/components/ca-comment/directives/auto-resize.directive.mjs +43 -0
- package/esm2022/lib/components/ca-comment/directives/index.mjs +2 -0
- package/esm2022/lib/components/ca-comment/enums/index.mjs +2 -0
- package/esm2022/lib/components/ca-comment/enums/svg-icon.enum.mjs +8 -0
- package/esm2022/lib/components/ca-comment/modals/comment-modal/comment-modal.component.mjs +39 -0
- package/esm2022/lib/components/ca-comment/modals/comment-modal/svg-routes/index.mjs +2 -0
- package/esm2022/lib/components/ca-comment/modals/comment-modal/svg-routes/modal.routes.mjs +5 -0
- package/esm2022/lib/components/ca-comment/models/ca-comment-config.model.mjs +2 -0
- package/esm2022/lib/components/ca-comment/models/ca-delete-comment.model.mjs +3 -0
- package/esm2022/lib/components/ca-comment/models/ca-save-comment.model.mjs +2 -0
- package/esm2022/lib/components/ca-comment/models/ca-update-comment.model.mjs +2 -0
- package/esm2022/lib/components/ca-comment/models/index.mjs +5 -0
- package/esm2022/lib/components/ca-comment/pipes/icon.pipe.mjs +22 -0
- package/esm2022/lib/components/ca-comment/pipes/index.mjs +2 -0
- package/esm2022/lib/components/ca-comment/services/index.mjs +2 -0
- package/esm2022/lib/components/ca-comment/services/modal.service.mjs +31 -0
- package/esm2022/lib/components/ca-comment/utils/constants/comment.constant.mjs +10 -0
- package/esm2022/lib/components/ca-comment/utils/constants/index.mjs +2 -0
- package/esm2022/lib/components/ca-comment/utils/index.mjs +2 -0
- package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +7 -34
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +9 -26
- package/esm2022/lib/components/ca-progress-expiration/ca-progress-expiration.component.mjs +169 -0
- package/esm2022/lib/components/ca-progress-expiration/enums/index.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/enums/time-units.enum.mjs +8 -0
- package/esm2022/lib/components/ca-progress-expiration/helpers/hex-to-rgba.helper.mjs +17 -0
- package/esm2022/lib/components/ca-progress-expiration/models/index.mjs +8 -0
- package/esm2022/lib/components/ca-progress-expiration/models/progress-expiration-color-type.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/models/progress-expiration-color.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/models/progress-expiration-template.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/models/progress-expiration-theme.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/models/progress-expiration-title.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/models/progress-expiration-type.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/models/progress-expiration.model.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-abs.pipe.mjs +18 -0
- package/esm2022/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-width.pipe.mjs +57 -0
- package/esm2022/lib/components/ca-progress-expiration/pipes/index.mjs +3 -0
- package/esm2022/lib/components/ca-progress-expiration/utils/constants/index.mjs +2 -0
- package/esm2022/lib/components/ca-progress-expiration/utils/constants/progress-expiration.constant.mjs +41 -0
- package/esm2022/lib/components/ca-progress-expiration/utils/index.mjs +2 -0
- package/esm2022/lib/components/ca-todo/ca-todo.component.mjs +134 -0
- package/esm2022/lib/components/ca-todo/models/index.mjs +2 -0
- package/esm2022/lib/components/ca-todo/models/todo-config.model.mjs +2 -0
- package/esm2022/lib/components/ca-todo/utils/index.mjs +2 -0
- package/esm2022/lib/components/ca-todo/utils/svg-routes/index.mjs +2 -0
- package/esm2022/lib/components/ca-todo/utils/svg-routes/todo.routes.mjs +9 -0
- package/esm2022/lib/components/ca-upload-files/ca-upload-files.component.mjs +5 -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/public-api.mjs +2 -1
- package/fesm2022/ca-components.mjs +2493 -1784
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/animations/card-component.animation.d.ts +1 -0
- package/lib/ca-components.module.d.ts +7 -7
- package/lib/components/ca-activity-log-list/ca-activity-log-list.component.d.ts +9 -8
- package/lib/components/ca-activity-log-list/enums/action-log-type-title-text.enum.d.ts +5 -0
- package/lib/components/ca-activity-log-list/enums/action-log-type.enum.d.ts +7 -0
- package/lib/components/ca-activity-log-list/enums/activity-entity-type.enum.d.ts +4 -0
- package/lib/components/ca-activity-log-list/enums/index.d.ts +3 -0
- package/lib/components/ca-activity-log-list/models/action-log.model.d.ts +5 -0
- package/lib/components/ca-activity-log-list/models/activity-log-item-description.model.d.ts +5 -0
- package/lib/components/ca-activity-log-list/models/activity-log-item.model.d.ts +1 -21
- package/lib/components/ca-activity-log-list/models/activity-log-list-data.model.d.ts +5 -0
- package/lib/components/ca-activity-log-list/models/company-user.model.d.ts +7 -0
- package/lib/components/ca-activity-log-list/models/entity-type-activity.model.d.ts +4 -0
- package/lib/components/ca-activity-log-list/models/index.d.ts +6 -0
- package/lib/components/ca-activity-log-list/utils/pipes/activity-log-date-transform.pipe.d.ts +8 -0
- package/lib/components/ca-activity-log-list/utils/pipes/index.d.ts +2 -0
- package/lib/components/ca-comment/ca-comment.component.d.ts +21 -0
- package/lib/components/ca-comment/directives/auto-resize.directive.d.ts +11 -0
- package/lib/components/ca-comment/directives/index.d.ts +1 -0
- package/lib/components/ca-comment/enums/index.d.ts +1 -0
- package/lib/components/ca-comment/enums/svg-icon.enum.d.ts +6 -0
- package/lib/components/ca-comment/modals/comment-modal/comment-modal.component.d.ts +17 -0
- package/lib/components/ca-comment/modals/comment-modal/svg-routes/index.d.ts +1 -0
- package/lib/components/ca-comment/modals/comment-modal/svg-routes/modal.routes.d.ts +4 -0
- package/lib/components/ca-comment/models/ca-comment-config.model.d.ts +11 -0
- package/lib/components/ca-comment/models/ca-delete-comment.model.d.ts +3 -0
- package/lib/components/ca-comment/models/ca-save-comment.model.d.ts +3 -0
- package/lib/components/ca-comment/models/ca-update-comment.model.d.ts +4 -0
- package/lib/components/ca-comment/models/index.d.ts +4 -0
- package/lib/components/ca-comment/pipes/icon.pipe.d.ts +8 -0
- package/lib/components/ca-comment/pipes/index.d.ts +1 -0
- package/lib/components/ca-comment/services/index.d.ts +1 -0
- package/lib/components/ca-comment/services/modal.service.d.ts +12 -0
- package/lib/components/ca-comment/utils/constants/comment.constant.d.ts +4 -0
- package/lib/components/ca-comment/utils/constants/index.d.ts +1 -0
- package/lib/components/ca-comment/utils/index.d.ts +1 -0
- package/lib/components/ca-period-content/ca-period-content.component.d.ts +10 -13
- package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.d.ts +5 -10
- package/lib/components/ca-progress-expiration/ca-progress-expiration.component.d.ts +23 -0
- package/lib/components/ca-progress-expiration/enums/index.d.ts +1 -0
- package/lib/components/ca-progress-expiration/enums/time-units.enum.d.ts +6 -0
- package/lib/components/ca-progress-expiration/helpers/hex-to-rgba.helper.d.ts +1 -0
- package/lib/components/ca-progress-expiration/models/index.d.ts +7 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-color-type.model.d.ts +1 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-color.model.d.ts +4 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-template.model.d.ts +1 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-theme.model.d.ts +1 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-title.model.d.ts +5 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration-type.model.d.ts +1 -0
- package/lib/components/ca-progress-expiration/models/progress-expiration.model.d.ts +12 -0
- package/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-abs.pipe.d.ts +7 -0
- package/lib/components/ca-progress-expiration/pipes/ca-progress-expiration-width.pipe.d.ts +7 -0
- package/lib/components/ca-progress-expiration/pipes/index.d.ts +2 -0
- package/lib/components/ca-progress-expiration/utils/constants/index.d.ts +1 -0
- package/lib/components/ca-progress-expiration/utils/constants/progress-expiration.constant.d.ts +11 -0
- package/lib/components/ca-progress-expiration/utils/index.d.ts +1 -0
- package/lib/components/ca-todo/ca-todo.component.d.ts +54 -0
- package/lib/components/ca-todo/models/index.d.ts +1 -0
- package/lib/components/ca-todo/models/todo-config.model.d.ts +15 -0
- package/lib/components/ca-todo/utils/index.d.ts +1 -0
- package/lib/components/ca-todo/utils/svg-routes/index.d.ts +1 -0
- package/lib/components/ca-todo/utils/svg-routes/todo.routes.d.ts +8 -0
- package/lib/components/ca-upload-files/ca-upload-files.component.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/assets/ca-components/svg/todo/attachment.svg +3 -0
- package/src/assets/ca-components/svg/todo/comments.svg +4 -0
- package/src/assets/ca-components/svg/todo/dropdown.svg +3 -0
- package/src/assets/ca-components/svg/todo/plus.svg +3 -0
- package/src/assets/ca-components/svg/todo/upload.svg +3 -0
- package/src/assets/ca-components/svg/todo/web.svg +3 -0
- package/esm2022/lib/components/ca-activity-log-list/components/ca-activity-log-item/ca-activity-log-item.component.mjs +0 -42
- package/esm2022/lib/components/ca-activity-log-list/enums/activity-log-list-type.enums.mjs +0 -18
- package/esm2022/lib/components/ca-activity-log-list/utils/svg-routes/activity-log-list.routes.mjs +0 -5
- package/lib/components/ca-activity-log-list/components/ca-activity-log-item/ca-activity-log-item.component.d.ts +0 -13
- package/lib/components/ca-activity-log-list/enums/activity-log-list-type.enums.d.ts +0 -14
- package/lib/components/ca-activity-log-list/utils/svg-routes/activity-log-list.routes.d.ts +0 -4
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export var ActivityEntityType;
|
|
2
|
-
(function (ActivityEntityType) {
|
|
3
|
-
ActivityEntityType["TRUCK"] = "Truck";
|
|
4
|
-
ActivityEntityType["DRIVER"] = "Driver";
|
|
5
|
-
})(ActivityEntityType || (ActivityEntityType = {}));
|
|
6
|
-
export var ActionLogType;
|
|
7
|
-
(function (ActionLogType) {
|
|
8
|
-
ActionLogType["CREATED"] = "Created";
|
|
9
|
-
ActionLogType["EDITED"] = "Edited";
|
|
10
|
-
ActionLogType["ACTIVATED"] = "Activated";
|
|
11
|
-
})(ActionLogType || (ActionLogType = {}));
|
|
12
|
-
export var ActionLogTypeTitleText;
|
|
13
|
-
(function (ActionLogTypeTitleText) {
|
|
14
|
-
ActionLogTypeTitleText["CREATED"] = "Added";
|
|
15
|
-
ActionLogTypeTitleText["EDITED"] = "Edited";
|
|
16
|
-
ActionLogTypeTitleText["ACTIVATED"] = "Activated";
|
|
17
|
-
})(ActionLogTypeTitleText || (ActionLogTypeTitleText = {}));
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZpdHktbG9nLWxpc3QtdHlwZS5lbnVtcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2NhLWFjdGl2aXR5LWxvZy1saXN0L2VudW1zL2FjdGl2aXR5LWxvZy1saXN0LXR5cGUuZW51bXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksa0JBR1g7QUFIRCxXQUFZLGtCQUFrQjtJQUMxQixxQ0FBZSxDQUFBO0lBQ2YsdUNBQWlCLENBQUE7QUFDckIsQ0FBQyxFQUhXLGtCQUFrQixLQUFsQixrQkFBa0IsUUFHN0I7QUFFRCxNQUFNLENBQU4sSUFBWSxhQUlYO0FBSkQsV0FBWSxhQUFhO0lBQ3JCLG9DQUFtQixDQUFBO0lBQ25CLGtDQUFpQixDQUFBO0lBQ2pCLHdDQUF1QixDQUFBO0FBQzNCLENBQUMsRUFKVyxhQUFhLEtBQWIsYUFBYSxRQUl4QjtBQUVELE1BQU0sQ0FBTixJQUFZLHNCQUlYO0FBSkQsV0FBWSxzQkFBc0I7SUFDOUIsMkNBQWlCLENBQUE7SUFDakIsMkNBQWlCLENBQUE7SUFDakIsaURBQXVCLENBQUE7QUFDM0IsQ0FBQyxFQUpXLHNCQUFzQixLQUF0QixzQkFBc0IsUUFJakMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBBY3Rpdml0eUVudGl0eVR5cGUge1xuICAgIFRSVUNLID0gJ1RydWNrJyxcbiAgICBEUklWRVIgPSAnRHJpdmVyJ1xufVxuXG5leHBvcnQgZW51bSBBY3Rpb25Mb2dUeXBlIHtcbiAgICBDUkVBVEVEID0gJ0NyZWF0ZWQnLFxuICAgIEVESVRFRCA9ICdFZGl0ZWQnLFxuICAgIEFDVElWQVRFRCA9ICdBY3RpdmF0ZWQnXG59XG5cbmV4cG9ydCBlbnVtIEFjdGlvbkxvZ1R5cGVUaXRsZVRleHQge1xuICAgIENSRUFURUQgPSAnQWRkZWQnLFxuICAgIEVESVRFRCA9ICdFZGl0ZWQnLFxuICAgIEFDVElWQVRFRCA9ICdBY3RpdmF0ZWQnXG59Il19
|
package/esm2022/lib/components/ca-activity-log-list/utils/svg-routes/activity-log-list.routes.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export class ActivityLogListRoutes {
|
|
2
|
-
static { this.truck = 'assets/ca-components/svg/common/ic_truck.svg'; }
|
|
3
|
-
static { this.driver = 'assets/ca-components/svg/common/ic_driver.svg'; }
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZpdHktbG9nLWxpc3Qucm91dGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2EtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvY2EtYWN0aXZpdHktbG9nLWxpc3QvdXRpbHMvc3ZnLXJvdXRlcy9hY3Rpdml0eS1sb2ctbGlzdC5yb3V0ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLHFCQUFxQjthQUN2QixVQUFLLEdBQVcsOENBQThDLENBQUM7YUFDL0QsV0FBTSxHQUFXLCtDQUErQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEFjdGl2aXR5TG9nTGlzdFJvdXRlcyB7XG4gICAgc3RhdGljIHRydWNrOiBzdHJpbmcgPSAnYXNzZXRzL2NhLWNvbXBvbmVudHMvc3ZnL2NvbW1vbi9pY190cnVjay5zdmcnO1xuICAgIHN0YXRpYyBkcml2ZXI6IHN0cmluZyA9ICdhc3NldHMvY2EtY29tcG9uZW50cy9zdmcvY29tbW9uL2ljX2RyaXZlci5zdmcnO1xufSJdfQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ActivityLogItem, ActivityLogItemDescription } from '../../models/activity-log-item.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CaActivityLogItemComponent implements OnInit {
|
|
5
|
-
activityLogItem: ActivityLogItem;
|
|
6
|
-
activityLogItemDescription: ActivityLogItemDescription;
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
getSvgPath(propertyName: string): string;
|
|
9
|
-
formatDateToTime(date: Date | null | undefined): string | null;
|
|
10
|
-
getActivityLogDate(item: ActivityLogItem): Date | null | undefined;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaActivityLogItemComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaActivityLogItemComponent, "ca-activity-log-item", never, { "activityLogItem": { "alias": "activityLogItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum ActivityEntityType {
|
|
2
|
-
TRUCK = "Truck",
|
|
3
|
-
DRIVER = "Driver"
|
|
4
|
-
}
|
|
5
|
-
export declare enum ActionLogType {
|
|
6
|
-
CREATED = "Created",
|
|
7
|
-
EDITED = "Edited",
|
|
8
|
-
ACTIVATED = "Activated"
|
|
9
|
-
}
|
|
10
|
-
export declare enum ActionLogTypeTitleText {
|
|
11
|
-
CREATED = "Added",
|
|
12
|
-
EDITED = "Edited",
|
|
13
|
-
ACTIVATED = "Activated"
|
|
14
|
-
}
|