ca-components 0.0.50 → 0.0.52
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/area-left-side.animation.mjs +30 -0
- package/esm2022/lib/animations/area-right-side.animation.mjs +29 -0
- package/esm2022/lib/ca-components.module.mjs +13 -3
- package/esm2022/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.mjs +11 -4
- package/esm2022/lib/components/ca-custom-datetime-pickers/utils/constants/custom-datetime-pickers.constants.mjs +15 -1
- package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +44 -4
- package/esm2022/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.mjs +282 -0
- package/esm2022/lib/components/ca-filters/components/ca-location-filter/config/ca-location-filter.config.mjs +52 -0
- package/esm2022/lib/components/ca-filters/components/ca-location-filter/models/area-box-tab.model.mjs +2 -0
- package/esm2022/lib/components/ca-filters/components/ca-location-filter/utils/constants/location-filter.constants.mjs +14 -0
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.mjs +112 -496
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/config/ca-miles-filter.config.mjs +21 -0
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/config/ca-money-filter.config.mjs +3 -3
- package/esm2022/lib/components/ca-filters/components/ca-money-filter/enums/money-filter-string.enum.mjs +3 -1
- package/esm2022/lib/components/ca-filters/components/ca-state-filter/ca-state-filter.component.mjs +1 -1
- package/esm2022/lib/components/ca-filters/components/ca-status-filter/ca-status-filter.component.mjs +1 -1
- package/esm2022/lib/components/ca-filters/components/ca-time-filter/ca-time-filter.component.mjs +1 -1
- package/esm2022/lib/components/ca-filters/components/ca-trailer-type-filter/ca-trailer-type-filter.component.mjs +1 -1
- package/esm2022/lib/components/ca-filters/components/ca-truck-type-filter/ca-truck-type-filter.component.mjs +1 -1
- package/esm2022/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.mjs +135 -0
- package/esm2022/lib/components/ca-filters/pipes/filter-conditions-clear.pipe.mjs +17 -3
- package/esm2022/lib/components/ca-filters/pipes/filter-conditions-set.pipe.mjs +27 -8
- package/esm2022/lib/components/ca-filters/pipes/filter-popover-conditions.pipe.mjs +11 -3
- package/esm2022/lib/components/ca-filters/utils/constants/filter-config.constants.mjs +40 -0
- package/esm2022/lib/components/ca-filters/utils/helpers/filter.helper.mjs +7 -1
- package/esm2022/lib/components/ca-filters/utils/helpers/index.mjs +2 -0
- package/esm2022/lib/components/ca-filters/validators/range.validator.mjs +13 -0
- package/esm2022/lib/components/ca-input/ca-input.component.mjs +3 -3
- package/esm2022/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.mjs +1 -1
- package/esm2022/lib/components/ca-input/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +3 -3
- 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/config/ca-input.config.mjs +1 -1
- package/esm2022/lib/components/ca-input/pipes/input-placeholder-icon.class.pipe.mjs +1 -1
- package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +373 -0
- package/esm2022/lib/components/ca-input-address-dropdown/enums/input-address-commands-string.enum.mjs +8 -0
- package/esm2022/lib/components/ca-input-address-dropdown/enums/input-address-layers-string.enum.mjs +6 -0
- package/esm2022/lib/components/ca-input-address-dropdown/enums/input-address-stop-types-string.enum.mjs +6 -0
- package/esm2022/lib/components/ca-input-address-dropdown/enums/input-address-type-string.enum.mjs +6 -0
- package/esm2022/lib/components/ca-input-address-dropdown/models/address-data.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-address-dropdown/models/address-list.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-address-dropdown/models/command-properties.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-address-dropdown/models/commands-handler.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-address-dropdown/models/input-address-commands-string.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-address-dropdown/models/long-lat.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-address-dropdown/models/sent-address-data.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-address-dropdown/validators/ca-input-address.regex-validations.mjs +11 -0
- package/esm2022/lib/components/ca-input-dropdown/animations/index.mjs +2 -0
- package/esm2022/lib/components/ca-input-dropdown/animations/input-dropdown.animation.mjs +11 -0
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +877 -0
- package/esm2022/lib/components/ca-input-dropdown/models/input-dropdown-option.model.mjs +2 -0
- package/esm2022/lib/components/ca-input-dropdown/pipes/dropdown-count.pipe.mjs +29 -0
- package/esm2022/lib/components/ca-input-dropdown/pipes/index.mjs +2 -0
- package/esm2022/lib/components/ca-map/enums/toolbar-filter-string.enum.mjs +12 -1
- package/esm2022/lib/components/ca-ngx-slider/ca-ngx-slider.component.mjs +87 -0
- package/esm2022/lib/components/ca-ngx-slider/enums/slider-template.enum.mjs +8 -0
- package/esm2022/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.mjs +9 -8
- package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.mjs +15 -9
- package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +2 -2
- package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +183 -0
- package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +151 -0
- package/esm2022/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.mjs +108 -0
- package/esm2022/lib/components/ca-rating-review/enums/rating-reviews-type.enums.mjs +17 -0
- package/esm2022/lib/components/ca-rating-review/models/rating-review.model.mjs +2 -0
- package/esm2022/lib/components/ca-rating-review/utils/config/rating-review-search.config.mjs +15 -0
- package/esm2022/lib/components/ca-rating-review/utils/helpers/sort-data.helper.mjs +11 -0
- package/esm2022/lib/components/ca-rating-review/utils/pipe/filter-title.pipe.mjs +20 -0
- package/esm2022/lib/components/ca-rating-review/utils/svg-routes/ratings-reviews.routes.mjs +14 -0
- package/esm2022/lib/components/ca-tab-switch/ca-tab-switch.component.mjs +104 -0
- package/esm2022/lib/components/ca-tab-switch/models/hover-style.model.mjs +2 -0
- package/esm2022/lib/components/ca-tab-switch/utils/constants/tab-switch.constants.mjs +7 -0
- package/esm2022/lib/models/address-entity.model.mjs +2 -0
- package/esm2022/lib/models/address-list-response.model.mjs +2 -0
- package/esm2022/lib/models/autocomplete-search-layer.model.mjs +17 -0
- package/esm2022/lib/models/dashboard/custom-period-range.model.mjs +2 -0
- package/esm2022/lib/models/dashboard/dropdown-list-item.model.mjs +2 -0
- package/esm2022/lib/models/highlight-text.model.mjs +2 -0
- package/esm2022/lib/models/tabs.model.mjs +2 -0
- package/esm2022/lib/pipes/date.pipe.mjs +36 -0
- package/esm2022/lib/pipes/highlight-search.pipe.mjs +47 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ca-components.mjs +2846 -612
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/animations/area-left-side.animation.d.ts +1 -0
- package/lib/animations/area-right-side.animation.d.ts +1 -0
- package/lib/ca-components.module.d.ts +22 -20
- package/lib/components/ca-custom-datetime-pickers/ca-custom-datetime-pickers.component.d.ts +3 -3
- package/lib/components/ca-custom-datetime-pickers/utils/constants/custom-datetime-pickers.constants.d.ts +1 -0
- package/lib/components/ca-filters/ca-filter.component.d.ts +6 -1
- package/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.d.ts +75 -0
- package/lib/components/ca-filters/components/ca-location-filter/config/ca-location-filter.config.d.ts +6 -0
- package/lib/components/ca-filters/components/ca-location-filter/models/area-box-tab.model.d.ts +5 -0
- package/lib/components/ca-filters/components/ca-location-filter/utils/constants/location-filter.constants.d.ts +11 -0
- package/lib/components/ca-filters/components/ca-money-filter/ca-money-filter.component.d.ts +23 -17
- package/lib/components/ca-filters/components/ca-money-filter/config/ca-miles-filter.config.d.ts +5 -0
- package/lib/components/ca-filters/components/ca-money-filter/enums/money-filter-string.enum.d.ts +2 -0
- package/lib/components/ca-filters/components/ca-violation-filter/ca-violation-filter.component.d.ts +39 -0
- package/lib/components/ca-filters/pipes/filter-conditions-clear.pipe.d.ts +3 -1
- package/lib/components/ca-filters/pipes/filter-conditions-set.pipe.d.ts +3 -1
- package/lib/components/ca-filters/utils/constants/filter-config.constants.d.ts +7 -0
- package/lib/components/ca-filters/utils/helpers/filter.helper.d.ts +2 -0
- package/lib/components/ca-filters/utils/helpers/index.d.ts +1 -0
- package/lib/components/ca-filters/validators/range.validator.d.ts +2 -0
- package/lib/components/ca-input/ca-input.component.d.ts +1 -1
- package/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.d.ts +1 -1
- package/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.d.ts +1 -1
- package/lib/components/ca-input/config/ca-input.config.d.ts +1 -0
- package/lib/components/ca-input/pipes/input-placeholder-icon.class.pipe.d.ts +1 -1
- package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.d.ts +68 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-commands-string.enum.d.ts +6 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-layers-string.enum.d.ts +4 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-stop-types-string.enum.d.ts +4 -0
- package/lib/components/ca-input-address-dropdown/enums/input-address-type-string.enum.d.ts +4 -0
- package/lib/components/ca-input-address-dropdown/models/address-data.model.d.ts +10 -0
- package/lib/components/ca-input-address-dropdown/models/address-list.model.d.ts +5 -0
- package/lib/components/ca-input-address-dropdown/models/command-properties.model.d.ts +7 -0
- package/lib/components/ca-input-address-dropdown/models/commands-handler.model.d.ts +7 -0
- package/lib/components/ca-input-address-dropdown/models/input-address-commands-string.model.d.ts +1 -0
- package/lib/components/ca-input-address-dropdown/models/long-lat.model.d.ts +4 -0
- package/lib/components/ca-input-address-dropdown/models/sent-address-data.model.d.ts +6 -0
- package/lib/components/ca-input-address-dropdown/validators/ca-input-address.regex-validations.d.ts +2 -0
- package/lib/components/ca-input-dropdown/animations/index.d.ts +1 -0
- package/lib/components/ca-input-dropdown/animations/input-dropdown.animation.d.ts +1 -0
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +89 -0
- package/lib/components/ca-input-dropdown/models/input-dropdown-option.model.d.ts +28 -0
- package/lib/components/ca-input-dropdown/pipes/dropdown-count.pipe.d.ts +7 -0
- package/lib/components/ca-input-dropdown/pipes/index.d.ts +1 -0
- package/lib/components/ca-map/enums/toolbar-filter-string.enum.d.ts +10 -0
- package/lib/components/ca-ngx-slider/ca-ngx-slider.component.d.ts +24 -0
- package/lib/components/ca-ngx-slider/enums/slider-template.enum.d.ts +6 -0
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.d.ts +4 -5
- package/lib/components/ca-pickup-delivery-block/components/ca-load/ca-load.component.d.ts +2 -4
- package/lib/components/ca-rating-review/ca-rating-review.component.d.ts +49 -0
- package/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.d.ts +37 -0
- package/lib/components/ca-rating-review/components/ca-ratings-reviews-popup/ca-ratings-reviews-popup.component.d.ts +32 -0
- package/lib/components/ca-rating-review/enums/rating-reviews-type.enums.d.ts +14 -0
- package/lib/components/ca-rating-review/models/rating-review.model.d.ts +12 -0
- package/lib/components/ca-rating-review/utils/config/rating-review-search.config.d.ts +4 -0
- package/lib/components/ca-rating-review/utils/helpers/sort-data.helper.d.ts +4 -0
- package/lib/components/ca-rating-review/utils/pipe/filter-title.pipe.d.ts +8 -0
- package/lib/components/ca-rating-review/utils/svg-routes/ratings-reviews.routes.d.ts +13 -0
- package/lib/components/ca-tab-switch/ca-tab-switch.component.d.ts +37 -0
- package/lib/components/ca-tab-switch/models/hover-style.model.d.ts +4 -0
- package/lib/components/ca-tab-switch/utils/constants/tab-switch.constants.d.ts +6 -0
- package/lib/models/address-entity.model.d.ts +12 -0
- package/lib/models/address-list-response.model.d.ts +3 -0
- package/lib/models/autocomplete-search-layer.model.d.ts +17 -0
- package/lib/models/dashboard/custom-period-range.model.d.ts +5 -0
- package/lib/models/dashboard/dropdown-list-item.model.d.ts +4 -0
- package/lib/models/highlight-text.model.d.ts +4 -0
- package/lib/models/tabs.model.d.ts +6 -0
- package/lib/pipes/date.pipe.d.ts +7 -0
- package/lib/pipes/highlight-search.pipe.d.ts +11 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/assets/ca-components/svg/common/ic_address.svg +6 -0
- package/src/assets/ca-components/svg/input/ic_address.svg +6 -0
- package/src/assets/ca-components/svg/input/ic_miles.svg +3 -0
- package/src/assets/ca-components/svg/rating-reviews/colaps-button.svg +3 -0
- package/src/assets/ca-components/svg/rating-reviews/dislikes.svg +3 -0
- package/src/assets/ca-components/svg/rating-reviews/likes.svg +3 -0
- package/src/assets/ca-components/svg/rating-reviews/pen.svg +4 -0
- package/src/assets/ca-components/svg/rating-reviews/reviews.svg +3 -0
- package/src/assets/ca-components/svg/rating-reviews/sort_icon.svg +3 -0
- package/src/assets/ca-components/svg/rating-reviews/trash.svg +4 -0
- package/src/assets/ca-components/svg/search-multiple-states/new-search-icon.svg +1 -0
package/lib/components/ca-input-address-dropdown/models/input-address-commands-string.model.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InputAddressCommandsString = 'confirm' | 'cancel' | 'Enter' | 'Escape';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-dropdown.animation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const inputDropdownAnimation: (type: string) => import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ChangeDetectorRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
4
|
+
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import { ICaInput } from '../ca-input/config';
|
|
6
|
+
import { CaInputComponent } from '../ca-input/ca-input.component';
|
|
7
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
8
|
+
import { CommandsEvent } from '../ca-input/models';
|
|
9
|
+
import { OptionModel } from './models/input-dropdown-option.model';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class CaInputDropdownComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy, ControlValueAccessor {
|
|
12
|
+
superControl: NgControl;
|
|
13
|
+
private cdRef;
|
|
14
|
+
private renderer;
|
|
15
|
+
inputRef: CaInputComponent;
|
|
16
|
+
popoverRef: NgbPopover;
|
|
17
|
+
_template: string;
|
|
18
|
+
_canAddNew: boolean;
|
|
19
|
+
set template(value: string);
|
|
20
|
+
multiselectTemplate: string;
|
|
21
|
+
inputConfig: ICaInput;
|
|
22
|
+
set canAddNew(value: boolean);
|
|
23
|
+
canOpenModal: boolean;
|
|
24
|
+
_sort: string;
|
|
25
|
+
set sort(value: string);
|
|
26
|
+
_activeItem: OptionModel | null;
|
|
27
|
+
set activeItem(value: OptionModel | null);
|
|
28
|
+
activeItemColor: OptionModel | null;
|
|
29
|
+
labelMode: 'Label' | 'Color';
|
|
30
|
+
_options: OptionModel[];
|
|
31
|
+
set options(values: OptionModel[]);
|
|
32
|
+
isDetailsPages: boolean;
|
|
33
|
+
isIncorrectValue: boolean;
|
|
34
|
+
selectedItem: EventEmitter<OptionModel | null>;
|
|
35
|
+
selectedItems: EventEmitter<OptionModel[]>;
|
|
36
|
+
selectedItemColor: EventEmitter<OptionModel | null>;
|
|
37
|
+
selectedLabelMode: EventEmitter<string>;
|
|
38
|
+
closeDropdown: EventEmitter<boolean>;
|
|
39
|
+
saveItem: EventEmitter<{
|
|
40
|
+
data: OptionModel | null;
|
|
41
|
+
action: string;
|
|
42
|
+
}>;
|
|
43
|
+
incorrectEvent: EventEmitter<boolean>;
|
|
44
|
+
placeholderIconEvent: EventEmitter<boolean>;
|
|
45
|
+
paginationEvent: EventEmitter<number>;
|
|
46
|
+
activeGroupEvent: EventEmitter<number>;
|
|
47
|
+
clearInputEvent: EventEmitter<boolean>;
|
|
48
|
+
originalOptions: OptionModel[];
|
|
49
|
+
paginationNumber: number;
|
|
50
|
+
isInAddMode: boolean;
|
|
51
|
+
hoveredOption: number;
|
|
52
|
+
private dropdownPosition;
|
|
53
|
+
clearTimeoutDropdown: string | number | NodeJS.Timeout | undefined;
|
|
54
|
+
private destroy$;
|
|
55
|
+
constructor(superControl: NgControl, cdRef: ChangeDetectorRef, renderer: Renderer2);
|
|
56
|
+
get getSuperControl(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
57
|
+
writeValue(_: any): void;
|
|
58
|
+
registerOnChange(_: any): void;
|
|
59
|
+
registerOnTouched(_: any): void;
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
62
|
+
ngAfterViewInit(): void;
|
|
63
|
+
onScrollDropdown(event: EventTarget | null): void;
|
|
64
|
+
onActiveItem(option: OptionModel, group?: any): void;
|
|
65
|
+
onClearSearch(): void;
|
|
66
|
+
clearDropdownLabel(): void;
|
|
67
|
+
commandEvent(event: CommandsEvent): void;
|
|
68
|
+
addNewItem(): void;
|
|
69
|
+
updateItem(): void;
|
|
70
|
+
addNewConfig(): void;
|
|
71
|
+
onIncorrectInput(event: boolean): void;
|
|
72
|
+
identity(index: number, item: OptionModel): number | undefined;
|
|
73
|
+
onBlurInput(event: boolean): void;
|
|
74
|
+
onClearInputEvent(event: boolean): void;
|
|
75
|
+
showHideDropdown(action?: boolean): void;
|
|
76
|
+
dropDownKeyNavigation({ keyCode, data, }: {
|
|
77
|
+
keyCode: number;
|
|
78
|
+
data: any;
|
|
79
|
+
}): void;
|
|
80
|
+
private pickupElementWithKeyboard;
|
|
81
|
+
private search;
|
|
82
|
+
/**
|
|
83
|
+
* Navigate through dropdown with keyboard arrows
|
|
84
|
+
*/
|
|
85
|
+
private dropdownNavigation;
|
|
86
|
+
ngOnDestroy(): void;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownComponent, [{ self: true; }, null, null]>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownComponent, "app-ca-input-dropdown", never, { "template": { "alias": "template"; "required": false; }; "multiselectTemplate": { "alias": "multiselectTemplate"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; "canOpenModal": { "alias": "canOpenModal"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "activeItemColor": { "alias": "activeItemColor"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "options": { "alias": "options"; "required": false; }; "isDetailsPages": { "alias": "isDetailsPages"; "required": false; }; "isIncorrectValue": { "alias": "isIncorrectValue"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "selectedItemColor": "selectedItemColor"; "selectedLabelMode": "selectedLabelMode"; "closeDropdown": "closeDropdown"; "saveItem": "saveItem"; "incorrectEvent": "incorrectEvent"; "placeholderIconEvent": "placeholderIconEvent"; "paginationEvent": "pagination"; "activeGroupEvent": "activeGroup"; "clearInputEvent": "clearInputEvent"; }, never, never, true, never>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ArrayStatus } from '../../../models/array-status.model';
|
|
2
|
+
import { DriverMinimalResponse } from '../../ca-period-content/models';
|
|
3
|
+
export interface OptionModel {
|
|
4
|
+
id?: number;
|
|
5
|
+
number?: number;
|
|
6
|
+
name?: string;
|
|
7
|
+
companyName?: string;
|
|
8
|
+
colorId?: number;
|
|
9
|
+
color?: string;
|
|
10
|
+
code?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
businessName?: string;
|
|
13
|
+
address?: string;
|
|
14
|
+
longLat?: number;
|
|
15
|
+
logoName?: string;
|
|
16
|
+
dropLabel?: string;
|
|
17
|
+
trailer?: ArrayStatus;
|
|
18
|
+
truck?: ArrayStatus;
|
|
19
|
+
driver?: DriverMinimalResponse;
|
|
20
|
+
isFranchise?: boolean;
|
|
21
|
+
dnu?: boolean;
|
|
22
|
+
ban?: boolean;
|
|
23
|
+
status?: number;
|
|
24
|
+
active?: boolean;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
duplicateId?: boolean;
|
|
27
|
+
canOpenModal?: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropdownCountPipe implements PipeTransform {
|
|
4
|
+
transform(options: any, template: string): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownCountPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DropdownCountPipe, "caDropdownCount", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dropdown-count.pipe';
|
|
@@ -30,6 +30,7 @@ export declare enum ToolbarFilterStringEnum {
|
|
|
30
30
|
TAG_FILTER = "tagFilter",
|
|
31
31
|
ACTION_FILTER = "actionFilter",
|
|
32
32
|
MONEY_FILTER_2 = "Money Filter",
|
|
33
|
+
MILES_FILTER_2 = "Miles Filter",
|
|
33
34
|
STATUS_FILTER_2 = "Status Filter",
|
|
34
35
|
TIME_FILTER_2 = "Time Filter",
|
|
35
36
|
DISPATCHER_FILTER_2 = "Dispatcher Filter",
|
|
@@ -41,6 +42,8 @@ export declare enum ToolbarFilterStringEnum {
|
|
|
41
42
|
STATE_FILTER_2 = "State / Province Filter",
|
|
42
43
|
TRUCK_TYPE_FILTER_2 = "Truck Type Filter",
|
|
43
44
|
TRAILER_TYPE_FILTER_2 = "Trailer Type Filter",
|
|
45
|
+
TRUCK_UNIT_FILTER_2 = "Truck Unit Filter",
|
|
46
|
+
TRAILER_UNIT_FILTER_2 = "Trailer Unit Filter",
|
|
44
47
|
PM_FILTER_2 = "PM Filter",
|
|
45
48
|
SERVICE_FILTER_2 = "Service Filter",
|
|
46
49
|
FUEL_ITEM_FILTER_2 = "Fuel Item Filter",
|
|
@@ -49,6 +52,10 @@ export declare enum ToolbarFilterStringEnum {
|
|
|
49
52
|
TAG_FILTER_2 = "Tag Filter",
|
|
50
53
|
ACTION_FILTER_2 = "Action Filter",
|
|
51
54
|
LABEL_FILTER_2 = "Label Filter",
|
|
55
|
+
AREA_FILTER = "Area Filter",
|
|
56
|
+
VIOLATION_FILTER_2 = "Violation Filter",
|
|
57
|
+
LOCATION = "Location",
|
|
58
|
+
IC_ADDRESS = "ic_address",
|
|
52
59
|
PAST = "past",
|
|
53
60
|
FUTURE = "future",
|
|
54
61
|
SHORT = "short",
|
|
@@ -63,6 +70,7 @@ export declare enum ToolbarFilterStringEnum {
|
|
|
63
70
|
IC_KEY_REPAIR = "ic_key-repair",
|
|
64
71
|
FUEL = "fuel",
|
|
65
72
|
LABEL = "label",
|
|
73
|
+
MILES = "miles",
|
|
66
74
|
MAIN_TOOLTIP = "mainTooltip",
|
|
67
75
|
CLOSE_FILTER = "Close Filter",
|
|
68
76
|
REMOVE_FILTER = "Remove Filter",
|
|
@@ -79,6 +87,8 @@ export declare enum ToolbarFilterStringEnum {
|
|
|
79
87
|
ALL = "all",
|
|
80
88
|
MIN_VALUE = "0",
|
|
81
89
|
MAX_VALUE = "5,000",
|
|
90
|
+
MONEY_MAX_VALUE = "20,000",
|
|
91
|
+
VIOLATION_MAX_VALUE = "5",
|
|
82
92
|
REPAIR_CATEGORY_UPDATE = "repair-category-update",
|
|
83
93
|
PM_TRAILER_DATA_UPDATE = "pm-trailer-data-update"
|
|
84
94
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ChangeContext, Options } from '@angular-slider/ngx-slider';
|
|
2
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CaNgxSliderComponent implements AfterViewInit {
|
|
5
|
+
sliderTemplate: string;
|
|
6
|
+
sliderName: string;
|
|
7
|
+
sliderOptions: Options;
|
|
8
|
+
startedValue: number;
|
|
9
|
+
customClass: string;
|
|
10
|
+
minValue: number;
|
|
11
|
+
maxValue: number;
|
|
12
|
+
isDisabled: boolean;
|
|
13
|
+
onUserValueChange: EventEmitter<ChangeContext | number>;
|
|
14
|
+
onUserHighValueChange: EventEmitter<ChangeContext | number>;
|
|
15
|
+
slider: any;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
userChangeEnd(changes: ChangeContext): void;
|
|
18
|
+
valueChange(event: number): void;
|
|
19
|
+
minValueChange(event: number): void;
|
|
20
|
+
highValueChange(event: number): void;
|
|
21
|
+
refreshSlider(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaNgxSliderComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaNgxSliderComponent, "app-ca-ngx-slider", never, { "sliderTemplate": { "alias": "sliderTemplate"; "required": false; }; "sliderName": { "alias": "sliderName"; "required": false; }; "sliderOptions": { "alias": "sliderOptions"; "required": false; }; "startedValue": { "alias": "startedValue"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "onUserValueChange": "onUserValueChange"; "onUserHighValueChange": "onUserHighValueChange"; }, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { DispatchGroupedLoadsResponse, DispatchResponse } from './models';
|
|
3
3
|
import { StatusTypeEnum } from '../ca-pickup-delivery-block/models/status-types.enum';
|
|
4
4
|
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PickupDeliveryBlockComponent implements OnInit {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
dispatchResponse: DispatchResponse;
|
|
7
|
+
loads: DispatchGroupedLoadsResponse | null;
|
|
8
|
+
dispatchResponse: DispatchResponse | null;
|
|
10
9
|
loadType: StatusTypeEnum;
|
|
11
10
|
isPopoverOpen: boolean;
|
|
12
|
-
constructor(
|
|
11
|
+
constructor();
|
|
13
12
|
ngOnInit(): void;
|
|
14
13
|
private initializeLoadType;
|
|
15
14
|
openPopover(t2: NgbPopover): void;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { DispatchGroupedLoadsResponse, LoadShortResponse } from '../../models';
|
|
3
2
|
import { AnimationObject } from '../../../ca-pickup-delivery-block/models/animation-model';
|
|
4
3
|
import { StatusTypeEnum } from '../../../ca-pickup-delivery-block/models/status-types.enum';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class LoadComponent {
|
|
7
|
-
private cdr;
|
|
8
6
|
focusedTab: StatusTypeEnum;
|
|
9
|
-
loads: DispatchGroupedLoadsResponse;
|
|
7
|
+
loads: DispatchGroupedLoadsResponse | null;
|
|
10
8
|
tabs: StatusTypeEnum[];
|
|
11
9
|
activeLoad: Array<LoadShortResponse>;
|
|
12
10
|
pendingLoads: Array<LoadShortResponse>;
|
|
@@ -19,7 +17,7 @@ export declare class LoadComponent {
|
|
|
19
17
|
private defaultIcon;
|
|
20
18
|
private hoverIcon;
|
|
21
19
|
currentIcon: string;
|
|
22
|
-
constructor(
|
|
20
|
+
constructor();
|
|
23
21
|
ngOnInit(): void;
|
|
24
22
|
ngOnChanges(): void;
|
|
25
23
|
private getConstantData;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { RatingReviewsRoutes } from './utils/svg-routes/ratings-reviews.routes';
|
|
4
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
5
|
+
import { RatingReviewsTypeEnum } from './enums/rating-reviews-type.enums';
|
|
6
|
+
import { ICaInput } from '../ca-input/config/ca-input.config';
|
|
7
|
+
import { RatingReviewModel } from './models/rating-review.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CaRatingReviewComponent implements OnInit {
|
|
10
|
+
private formBuilder;
|
|
11
|
+
ratingReviewList: RatingReviewModel[];
|
|
12
|
+
companyUser: RatingReviewModel;
|
|
13
|
+
isFilter: boolean;
|
|
14
|
+
isSeaarch: boolean;
|
|
15
|
+
isNewReview: boolean;
|
|
16
|
+
ratingReviewData: EventEmitter<{
|
|
17
|
+
data: RatingReviewModel;
|
|
18
|
+
action: string;
|
|
19
|
+
}>;
|
|
20
|
+
likes: number;
|
|
21
|
+
disLikes: number;
|
|
22
|
+
reviews: number;
|
|
23
|
+
filterList: RatingReviewModel[];
|
|
24
|
+
isPopoverOpen: boolean;
|
|
25
|
+
RatingReviewsType: RatingReviewsTypeEnum;
|
|
26
|
+
isLikeClicked: boolean;
|
|
27
|
+
isDisLikesClicked: boolean;
|
|
28
|
+
isReviewsClicked: boolean;
|
|
29
|
+
isSortedByDate: boolean;
|
|
30
|
+
searchForm: UntypedFormGroup;
|
|
31
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
createForm(): void;
|
|
34
|
+
getListDate(): void;
|
|
35
|
+
getSvgPath(propertyName: keyof typeof RatingReviewsRoutes): string;
|
|
36
|
+
get ratingReviewSearch(): ICaInput;
|
|
37
|
+
data(event: {
|
|
38
|
+
data: RatingReviewModel;
|
|
39
|
+
action: string;
|
|
40
|
+
}): void;
|
|
41
|
+
checkLikesReviewNumner(): void;
|
|
42
|
+
sortByDate(): void;
|
|
43
|
+
openPopover(t2: NgbPopover): void;
|
|
44
|
+
closePopover(t2: NgbPopover): void;
|
|
45
|
+
removeFilters(): void;
|
|
46
|
+
showFilters(filter: string): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaRatingReviewComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaRatingReviewComponent, "lib-ca-rating-review", never, { "ratingReviewList": { "alias": "ratingReviewList"; "required": false; }; "companyUser": { "alias": "companyUser"; "required": false; }; "isFilter": { "alias": "isFilter"; "required": false; }; "isSeaarch": { "alias": "isSeaarch"; "required": false; }; "isNewReview": { "alias": "isNewReview"; "required": false; }; }, { "ratingReviewData": "ratingReviewData"; }, never, never, true, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, QueryList, OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup, FormBuilder, FormControl } from '@angular/forms';
|
|
3
|
+
import { RatingReviewsRoutes } from '../../utils/svg-routes/ratings-reviews.routes';
|
|
4
|
+
import { RatingReviewModel } from '../../models/rating-review.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CaRatingReviewUserComponent implements OnInit {
|
|
7
|
+
private cdr;
|
|
8
|
+
private fb;
|
|
9
|
+
reviewMessageRef: QueryList<ElementRef>;
|
|
10
|
+
contentElement: ElementRef;
|
|
11
|
+
isRating?: boolean;
|
|
12
|
+
isNewReview?: boolean;
|
|
13
|
+
isFilter?: boolean;
|
|
14
|
+
data: RatingReviewModel;
|
|
15
|
+
ratingReviewData: EventEmitter<any>;
|
|
16
|
+
reviewForm: FormGroup;
|
|
17
|
+
isEdit: boolean;
|
|
18
|
+
isExpanded: boolean;
|
|
19
|
+
isOverflowing: boolean;
|
|
20
|
+
constructor(cdr: ChangeDetectorRef, fb: FormBuilder);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
createForm(): void;
|
|
24
|
+
getSvgPath(propertyName: keyof typeof RatingReviewsRoutes): string;
|
|
25
|
+
get reviewMessageControl(): FormControl;
|
|
26
|
+
get reactionControl(): FormControl;
|
|
27
|
+
checkOverflow(): void;
|
|
28
|
+
toggleExpand(): void;
|
|
29
|
+
toggleReaction(reactionValue: number): void;
|
|
30
|
+
editData(): void;
|
|
31
|
+
saveReview(): void;
|
|
32
|
+
deleteReview(): void;
|
|
33
|
+
cancelReview(): void;
|
|
34
|
+
saveComment(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaRatingReviewUserComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaRatingReviewUserComponent, "app-ca-rating-review-user", never, { "isRating": { "alias": "isRating"; "required": false; }; "isNewReview": { "alias": "isNewReview"; "required": false; }; "isFilter": { "alias": "isFilter"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "ratingReviewData": "ratingReviewData"; }, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
2
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { RatingReviewsTypeEnum } from '../../enums/rating-reviews-type.enums';
|
|
4
|
+
import { ICaInput } from '../../../ca-input/config/ca-input.config';
|
|
5
|
+
import { RatingReviewModel } from '../../models/rating-review.model';
|
|
6
|
+
import { RatingReviewsRoutes } from '../../utils/svg-routes/ratings-reviews.routes';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaRatingsReviewsPopupComponent implements OnInit {
|
|
9
|
+
private formBuilder;
|
|
10
|
+
ratingsReviews: RatingReviewModel[];
|
|
11
|
+
newReviewRating: RatingReviewModel;
|
|
12
|
+
focusedTab: RatingReviewsTypeEnum;
|
|
13
|
+
emitData: EventEmitter<any>;
|
|
14
|
+
tabs: RatingReviewsTypeEnum[];
|
|
15
|
+
likesDislikesData: any;
|
|
16
|
+
searchForm: UntypedFormGroup;
|
|
17
|
+
isSortedByDate: boolean;
|
|
18
|
+
isNewReview: boolean;
|
|
19
|
+
isCurentUserLeaveReview: boolean;
|
|
20
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
createForm(): void;
|
|
23
|
+
getSvgPath(propertyName: keyof typeof RatingReviewsRoutes): string;
|
|
24
|
+
get ratingReviewSearch(): ICaInput;
|
|
25
|
+
setFocusedTab(tab: RatingReviewsTypeEnum): void;
|
|
26
|
+
newReview(): void;
|
|
27
|
+
addNewReview(newReviewData: RatingReviewModel): void;
|
|
28
|
+
sortByDate(): void;
|
|
29
|
+
ratingData(event: any): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaRatingsReviewsPopupComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaRatingsReviewsPopupComponent, "app-ca-ratings-reviews-popup", never, { "ratingsReviews": { "alias": "ratingsReviews"; "required": false; }; "newReviewRating": { "alias": "newReviewRating"; "required": false; }; "focusedTab": { "alias": "focusedTab"; "required": false; }; }, { "emitData": "emitData"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum RatingReviewsTypeEnum {
|
|
2
|
+
All = "All",
|
|
3
|
+
RATING = "RATING",
|
|
4
|
+
REVIEW = "REVIEW"
|
|
5
|
+
}
|
|
6
|
+
export declare enum RatingReviewsEnum {
|
|
7
|
+
REVIEW_MESSAGE = "reviewMessage",
|
|
8
|
+
REACTION = "reaction",
|
|
9
|
+
SAVE = "save",
|
|
10
|
+
DELETE = "delete",
|
|
11
|
+
LIKES = "likes",
|
|
12
|
+
DISLIKES = "dislikes",
|
|
13
|
+
REVIEWS = "reviews"
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { RatingReviewModel } from '../../models/rating-review.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FilterByTitlePipe implements PipeTransform {
|
|
5
|
+
transform(items: RatingReviewModel[], filterTitle: string): any[];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterByTitlePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterByTitlePipe, "filterByTitle", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class RatingReviewsRoutes {
|
|
2
|
+
static likesButton: string;
|
|
3
|
+
static dislikeButton: string;
|
|
4
|
+
static reviewButton: string;
|
|
5
|
+
static trash: string;
|
|
6
|
+
static pen: string;
|
|
7
|
+
static colaps: string;
|
|
8
|
+
static removeSelectedValue: string;
|
|
9
|
+
static add: string;
|
|
10
|
+
static sortIcon: string;
|
|
11
|
+
static confirm: string;
|
|
12
|
+
static cancel: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter, ElementRef, OnChanges, ChangeDetectorRef, AfterViewChecked } from '@angular/core';
|
|
2
|
+
import { Tabs } from '../../models/tabs.model';
|
|
3
|
+
import { CustomPeriodRange } from '../../models/dashboard/custom-period-range.model';
|
|
4
|
+
import { DropdownListItem } from '../../models/dashboard/dropdown-list-item.model';
|
|
5
|
+
import { HoverStyle } from './models/hover-style.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CaTabSwitchComponent implements AfterViewChecked, OnChanges {
|
|
8
|
+
elem: ElementRef;
|
|
9
|
+
det: ChangeDetectorRef;
|
|
10
|
+
tabs: Tabs[];
|
|
11
|
+
type: string;
|
|
12
|
+
hasDashboardHeight?: boolean;
|
|
13
|
+
subPeriodDropdownList?: DropdownListItem[];
|
|
14
|
+
selectedSubPeriod?: DropdownListItem;
|
|
15
|
+
isClearCustomPeriodRangeValue?: boolean;
|
|
16
|
+
isDisabled?: boolean;
|
|
17
|
+
isBold: boolean;
|
|
18
|
+
switchClicked: EventEmitter<any>;
|
|
19
|
+
customPeriodRangeEmitter: EventEmitter<CustomPeriodRange>;
|
|
20
|
+
customPeriodRangeSubperiodEmitter: EventEmitter<number>;
|
|
21
|
+
popoverClosedEmitter: EventEmitter<any>;
|
|
22
|
+
hoverStyle: HoverStyle;
|
|
23
|
+
indexSwitch: number;
|
|
24
|
+
constructor(elem: ElementRef, det: ChangeDetectorRef);
|
|
25
|
+
ngOnChanges(): void;
|
|
26
|
+
ngAfterViewChecked(): void;
|
|
27
|
+
setSwitchActive(tabs: Tabs[]): void;
|
|
28
|
+
switchTab(e: Event, indx: number, item: {
|
|
29
|
+
id: number;
|
|
30
|
+
}): void;
|
|
31
|
+
private getElementOffset;
|
|
32
|
+
handleSetCustomPeriodRangeClick(customPeriodRange: CustomPeriodRange): void;
|
|
33
|
+
handleCustomPeriodRangeSubperiodEmit(selectedDaysRange: number): void;
|
|
34
|
+
handlePopoverClose(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaTabSwitchComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaTabSwitchComponent, "app-ca-tab-switch", never, { "tabs": { "alias": "tabs"; "required": false; }; "type": { "alias": "type"; "required": false; }; "hasDashboardHeight": { "alias": "hasDashboardHeight"; "required": false; }; "subPeriodDropdownList": { "alias": "subPeriodDropdownList"; "required": false; }; "selectedSubPeriod": { "alias": "selectedSubPeriod"; "required": false; }; "isClearCustomPeriodRangeValue": { "alias": "isClearCustomPeriodRangeValue"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isBold": { "alias": "isBold"; "required": false; }; }, { "switchClicked": "switchClicked"; "customPeriodRangeEmitter": "customPeriodRangeEmitter"; "customPeriodRangeSubperiodEmitter": "customPeriodRangeSubperiodEmitter"; "popoverClosedEmitter": "popoverClosedEmitter"; }, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AddressEntity {
|
|
2
|
+
city?: string | null;
|
|
3
|
+
state?: string | null;
|
|
4
|
+
county?: string | null;
|
|
5
|
+
address?: string | null;
|
|
6
|
+
street?: string | null;
|
|
7
|
+
streetNumber?: string | null;
|
|
8
|
+
country?: string | null;
|
|
9
|
+
zipCode?: string | null;
|
|
10
|
+
stateShortName?: string | null;
|
|
11
|
+
addressUnit?: string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type AutocompleteSearchLayer = 'Venue' | 'Address' | 'Street' | 'Neighbourhood' | 'Borough' | 'LocalAdmin' | 'Locality' | 'County' | 'MacroCounty' | 'Region' | 'MacroRegion' | 'Country' | 'Coarse' | 'PostalCode';
|
|
2
|
+
export declare const AutocompleteSearchLayer: {
|
|
3
|
+
Venue: AutocompleteSearchLayer;
|
|
4
|
+
Address: AutocompleteSearchLayer;
|
|
5
|
+
Street: AutocompleteSearchLayer;
|
|
6
|
+
Neighbourhood: AutocompleteSearchLayer;
|
|
7
|
+
Borough: AutocompleteSearchLayer;
|
|
8
|
+
LocalAdmin: AutocompleteSearchLayer;
|
|
9
|
+
Locality: AutocompleteSearchLayer;
|
|
10
|
+
County: AutocompleteSearchLayer;
|
|
11
|
+
MacroCounty: AutocompleteSearchLayer;
|
|
12
|
+
Region: AutocompleteSearchLayer;
|
|
13
|
+
MacroRegion: AutocompleteSearchLayer;
|
|
14
|
+
Country: AutocompleteSearchLayer;
|
|
15
|
+
Coarse: AutocompleteSearchLayer;
|
|
16
|
+
PostalCode: AutocompleteSearchLayer;
|
|
17
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateFormatPipe implements PipeTransform {
|
|
4
|
+
transform(value: Date | null): string | null | undefined;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "dateFormat", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import { HighlightText } from '../models/highlight-text.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class HighlightSearchPipe implements PipeTransform {
|
|
6
|
+
private sanitizer;
|
|
7
|
+
constructor(sanitizer: DomSanitizer);
|
|
8
|
+
transform(text: any, chips: HighlightText[]): SafeHtml;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightSearchPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightSearchPipe, "caHighlight", true>;
|
|
11
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export * from './lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-p
|
|
|
21
21
|
export * from './lib/components/ca-period-content/ca-period-content.component';
|
|
22
22
|
export * from './lib/components/ca-input-note/ca-input-note.component';
|
|
23
23
|
export * from './lib/components/ca-search-multiple-states/utils/services/search-multiple-states.service';
|
|
24
|
+
export * from './lib/components/ca-rating-review/ca-rating-review.component';
|