ca-components 2.0.33 → 2.0.35
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/fesm2022/ca-components.mjs +40 -16
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-fleet-filter/ca-fleet-filter.component.d.ts +7 -3
- package/lib/components/ca-fleet-filter/enums/fleet-filter-item-type.enum.d.ts +4 -0
- package/lib/components/ca-fleet-filter/enums/index.d.ts +1 -0
- package/lib/components/ca-fleet-filter/interfaces/fleet-filter-item-emit.interface.d.ts +5 -0
- package/lib/components/ca-fleet-filter/interfaces/index.d.ts +1 -0
- package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.d.ts +3 -1
- package/lib/components/ca-search-multiple-states-2/util/routes/multiple-search-state-svg.route.d.ts +1 -0
- package/lib/utils/svg-routes/shared-svg.routes.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
4
4
|
import { SortColumn } from '../ca-sort-dropdown/models';
|
|
5
5
|
import { eSharedString } from '../../enums';
|
|
6
|
-
import {
|
|
6
|
+
import { eFleetFilterItemType } from './enums';
|
|
7
|
+
import { IFleetFilterData, IFleetFilterItemEmit, IFleetFilterTrailer, IFleetFilterTruck } from './interfaces';
|
|
7
8
|
import { ICaInput } from '../ca-input/config';
|
|
8
9
|
import { FleetFilterSvgRoutes } from './utils/svg-routes';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class CaFleetFilterComponent implements OnInit, OnDestroy {
|
|
11
12
|
private formBuilder;
|
|
12
13
|
set fleetFilterData(value: IFleetFilterData);
|
|
14
|
+
onItemClick: EventEmitter<IFleetFilterItemEmit>;
|
|
13
15
|
private destroy$;
|
|
14
16
|
private activeSortName;
|
|
15
17
|
private activeSortDirection;
|
|
@@ -27,6 +29,7 @@ export declare class CaFleetFilterComponent implements OnInit, OnDestroy {
|
|
|
27
29
|
sortColumns: SortColumn[];
|
|
28
30
|
dropdownMenuSvgRoutes: typeof FleetFilterSvgRoutes;
|
|
29
31
|
eSharedString: typeof eSharedString;
|
|
32
|
+
eFleetFilterItemType: typeof eFleetFilterItemType;
|
|
30
33
|
searchInputConfig: ICaInput;
|
|
31
34
|
constructor(formBuilder: UntypedFormBuilder);
|
|
32
35
|
ngOnInit(): void;
|
|
@@ -40,7 +43,8 @@ export declare class CaFleetFilterComponent implements OnInit, OnDestroy {
|
|
|
40
43
|
direction: string;
|
|
41
44
|
}): void;
|
|
42
45
|
onOpenCard(isOpen: boolean, type: eSharedString): void;
|
|
46
|
+
onItemClickEmit(itemId: number | undefined, type: eFleetFilterItemType): void;
|
|
43
47
|
ngOnDestroy(): void;
|
|
44
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaFleetFilterComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaFleetFilterComponent, "app-ca-fleet-filter", never, { "fleetFilterData": { "alias": "fleetFilterData"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaFleetFilterComponent, "app-ca-fleet-filter", never, { "fleetFilterData": { "alias": "fleetFilterData"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, never, true, never>;
|
|
46
50
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './fleet-filter-item-type.enum';
|
package/lib/components/ca-search-multiple-states-2/ca-search-multiple-states-2.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { eSearchMultipleStateAction } from './enums';
|
|
4
|
-
import { eStringPlaceholder, ePosition, eGeneralActions } from '../../enums';
|
|
4
|
+
import { eStringPlaceholder, ePosition, eGeneralActions, eColor } from '../../enums';
|
|
5
5
|
import { MultipleSearchStateSvg } from './util';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class CaSearchMultipleStates2Component implements OnInit {
|
|
@@ -21,6 +21,7 @@ export declare class CaSearchMultipleStates2Component implements OnInit {
|
|
|
21
21
|
eSearchMultipleStateAction: typeof eSearchMultipleStateAction;
|
|
22
22
|
eCommonAction: typeof eGeneralActions;
|
|
23
23
|
ePosition: typeof ePosition;
|
|
24
|
+
eColor: typeof eColor;
|
|
24
25
|
multipleSearchStateSvg: typeof MultipleSearchStateSvg;
|
|
25
26
|
constructor(cdr: ChangeDetectorRef);
|
|
26
27
|
ngOnInit(): void;
|
|
@@ -31,6 +32,7 @@ export declare class CaSearchMultipleStates2Component implements OnInit {
|
|
|
31
32
|
toggleSearch(): void;
|
|
32
33
|
clearSearch(): void;
|
|
33
34
|
resetComponentState(): void;
|
|
35
|
+
resetSearchControl(): void;
|
|
34
36
|
propagateData(): void;
|
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaSearchMultipleStates2Component, never>;
|
|
36
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaSearchMultipleStates2Component, "ca-search-multiple-states-2", never, { "selectedTab": { "alias": "selectedTab"; "required": false; }; "isDetailsPageSearch": { "alias": "isDetailsPageSearch"; "required": false; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "onSearchQueryChange": "onSearchQueryChange"; }, never, never, true, never>;
|
|
@@ -23,6 +23,7 @@ export declare class SharedSvgRoutes {
|
|
|
23
23
|
static CONFIRMATION_MODAL_TABEL_RESET_ICON: string;
|
|
24
24
|
static CONFIRMATION_MODAL_MOVE_ICON: string;
|
|
25
25
|
static CONFIRMATION_MODAL_REMOVE_ICON: string;
|
|
26
|
+
static MODAL_INFO_ICON: string;
|
|
26
27
|
static FILES_ICON: string;
|
|
27
28
|
static CHECKMARK_ICON: string;
|
|
28
29
|
static CANCEL_ICON: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ export * from './lib/components/ca-toast-messages/ca-toast-messages.component';
|
|
|
118
118
|
export * from './lib/components/ca-toast-messages/enums';
|
|
119
119
|
export * from './lib/components/ca-fleet-filter/ca-fleet-filter.component';
|
|
120
120
|
export * from './lib/components/ca-fleet-filter/interfaces';
|
|
121
|
+
export * from './lib/components/ca-fleet-filter/enums';
|
|
121
122
|
export * from './lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component';
|
|
122
123
|
export * from './lib/components/ca-factoring-dropdown/interfaces';
|
|
123
124
|
export * from './lib/components/ca-contacts-card/ca-contacts-card.component';
|