ca-components 2.0.40 → 2.0.42
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/spacing.scss +1 -1
- package/fesm2022/ca-components.mjs +196 -183
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
- package/lib/components/ca-new-filter/interface/filter-action.interface.d.ts +3 -3
- package/lib/components/ca-toolbar-dropdown/ca-toolbar-dropdown.component.d.ts +1 -0
- package/package.json +1 -1
- package/src/assets/ca-components/svg/common/ic_sort_arrow_desc.svg +4 -0
|
@@ -70,8 +70,8 @@ export declare class CaFilterComponent implements OnDestroy {
|
|
|
70
70
|
canadaStates: ArrayStatus[];
|
|
71
71
|
sentAddressValue: EventEmitter<string>;
|
|
72
72
|
sentAddressData: EventEmitter<SentAddressData>;
|
|
73
|
-
setFilter: EventEmitter<
|
|
74
|
-
clearAll: EventEmitter<
|
|
73
|
+
setFilter: EventEmitter<filterOutput | filterOutputWithParams>;
|
|
74
|
+
clearAll: EventEmitter<filterOutput | filterOutputWithParams>;
|
|
75
75
|
private destroy$;
|
|
76
76
|
isSearchExpanded: boolean;
|
|
77
77
|
isFilterActive: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { eFilterDropdownEnum } from
|
|
1
|
+
import { eFilterDropdownEnum } from '../enums';
|
|
2
2
|
export interface IFilterAction {
|
|
3
3
|
action?: string;
|
|
4
|
-
filterType: eFilterDropdownEnum | 'moneyFilter' | 'locationFilter';
|
|
5
|
-
type?: string;
|
|
4
|
+
filterType: eFilterDropdownEnum | 'moneyFilter' | 'locationFilter' | 'statusType';
|
|
5
|
+
type?: string | number;
|
|
6
6
|
queryParams?: {
|
|
7
7
|
fromDate?: string | null;
|
|
8
8
|
toDate?: string | null;
|
|
@@ -35,6 +35,7 @@ export declare class CaToolbarDropdownComponent implements OnInit, AfterViewInit
|
|
|
35
35
|
private getParentElementDimensions;
|
|
36
36
|
resizeInput(inputEl?: HTMLInputElement): void;
|
|
37
37
|
private createForm;
|
|
38
|
+
onDocumentClick(event: Event): void;
|
|
38
39
|
toggleOptionsVisibility(): void;
|
|
39
40
|
onSelectDropdownItem(selectedItem: IDropdownItem): void;
|
|
40
41
|
clearSearch(): void;
|
package/package.json
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.13127 7.6989C3.93724 7.69856 3.74727 7.64071 3.58601 7.53336C3.42494 7.42603 3.29929 7.27381 3.22501 7.09565C3.15067 6.91735 3.13107 6.72106 3.16861 6.53167C3.20614 6.34238 3.29888 6.16814 3.43559 6.0313L8.30345 1.18842C8.39429 1.097 8.50294 1.02475 8.62215 0.975172C8.74149 0.925591 8.8698 0.899414 8.99913 0.899414C9.12845 0.899418 9.25677 0.925595 9.37611 0.975172C9.4953 1.02475 9.60398 1.09701 9.6948 1.18842L14.5645 6.0313C14.7015 6.16837 14.7941 6.34295 14.8315 6.53261C14.8689 6.7224 14.8491 6.91904 14.7742 7.09752C14.6993 7.27595 14.5732 7.42822 14.4113 7.53523C14.2495 7.64221 14.0594 7.69935 13.8651 7.69891L4.13127 7.6989ZM13.8783 6.73744C13.8815 6.7353 13.8842 6.73257 13.8858 6.72902C13.8873 6.72533 13.8884 6.72078 13.8877 6.71686C13.8869 6.71313 13.8847 6.70933 13.882 6.70657L9.00947 1.86182C9.00947 1.86182 9.00655 1.85882 9.00477 1.85808L8.99913 1.85714L8.99349 1.85808L8.98879 1.86182L4.11811 6.70657C4.11555 6.70928 4.11419 6.71322 4.11341 6.71686C4.11263 6.72077 4.11281 6.72533 4.11435 6.72902C4.1159 6.73256 4.11864 6.73528 4.12187 6.73744C4.12515 6.73962 4.12923 6.74113 4.13315 6.74118L13.867 6.74118C13.871 6.74119 13.8749 6.73962 13.8783 6.73744Z" fill="#6692F1"/>
|
|
3
|
+
<path d="M9.001 17.0994C8.87193 17.0994 8.7441 17.074 8.62496 17.0246C8.50565 16.975 8.39718 16.9019 8.30627 16.8104L3.44029 11.9694C3.30357 11.8325 3.21083 11.6583 3.1733 11.469C3.13586 11.2798 3.15549 11.0841 3.22971 10.906C3.30405 10.7277 3.42945 10.5747 3.59071 10.4673C3.75182 10.3601 3.94121 10.3032 4.13503 10.3027L13.8689 10.3027C14.0629 10.3031 14.2529 10.36 14.4141 10.4673C14.5754 10.5747 14.7008 10.7277 14.7751 10.906C14.8493 11.0841 14.869 11.2799 14.8315 11.469C14.794 11.6583 14.7012 11.8326 14.5645 11.9694L9.69668 16.8104C9.60576 16.9019 9.49733 16.975 9.37799 17.0246C9.25866 17.0742 9.13031 17.0994 9.001 17.0994Z" fill="#6692F1"/>
|
|
4
|
+
</svg>
|