ca-components 2.0.59 → 2.0.60
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/background.scss +11 -0
- package/assets/scss/sizing.scss +3 -0
- package/fesm2022/ca-components.mjs +349 -176
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
- package/lib/components/ca-load-status/enums/load-status-background-colors.enum.d.ts +2 -1
- package/lib/components/ca-load-status/enums/load-status-icon-colors.enum.d.ts +2 -1
- package/lib/components/ca-load-status/enums/load-status-svg-colors.enum.d.ts +2 -1
- package/lib/components/ca-map/utils/helpers/map-marker-icon.helper.d.ts +1 -1
- package/lib/components/ca-toolbar-dropdown/interfaces/dropdown-item.interface.d.ts +1 -0
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.d.ts +29 -0
- package/lib/components/ca-toolbar-tab-switch/enums/index.d.ts +1 -0
- package/lib/components/ca-toolbar-tab-switch/enums/toolbar-variant.enum.d.ts +4 -0
- package/lib/components/ca-toolbar-tab-switch/interfaces/index.d.ts +1 -0
- package/lib/components/ca-toolbar-tab-switch/interfaces/toolbar-tabs.interface.d.ts +6 -0
- package/lib/components/ca-toolbar-tab-switch/pipes/toolbar-tabs-class-pipe.d.ts +14 -0
- package/lib/components/ca-toolbar-tab-switch/types/index.d.ts +1 -0
- package/lib/components/ca-toolbar-tab-switch/types/toolbar-variant.type.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -57,8 +57,8 @@ export declare class CaFilterComponent implements OnDestroy {
|
|
|
57
57
|
icon: string;
|
|
58
58
|
usaStates: ArrayStatus[];
|
|
59
59
|
canadaStates: ArrayStatus[];
|
|
60
|
-
setFilter: EventEmitter<
|
|
61
|
-
clearAll: EventEmitter<
|
|
60
|
+
setFilter: EventEmitter<filterOutputWithParams | filterOutput>;
|
|
61
|
+
clearAll: EventEmitter<filterOutputWithParams | filterOutput>;
|
|
62
62
|
private destroy$;
|
|
63
63
|
isSearchExpanded: boolean;
|
|
64
64
|
isFilterActive: boolean;
|
|
@@ -7,5 +7,6 @@ export declare enum eLoadStatusSvgColors {
|
|
|
7
7
|
GOLD_BOLD = "color-background-gold-bold",
|
|
8
8
|
RED_BOLD = "color-background-red-bold",
|
|
9
9
|
BROWN_BOLD = "color-background-brown-bold",
|
|
10
|
-
BLACK_200 = "color-background-black-200"
|
|
10
|
+
BLACK_200 = "color-background-black-200",
|
|
11
|
+
YELLOW_BOLD = "color-background-yellow-bold"
|
|
11
12
|
}
|
|
@@ -10,7 +10,7 @@ export declare class MapMarkerIconHelper {
|
|
|
10
10
|
static getMapMarker(isFavorite?: boolean, isClosed?: boolean): string;
|
|
11
11
|
static getClusterMarker(count: number, isSelected?: boolean, isFuelMarker?: boolean): string;
|
|
12
12
|
static getCurrentLocationMarkerSvg(motionStatus: eGpsMotionStatus): string;
|
|
13
|
-
static getGpsMarkerElement(motionStatus: eGpsMotionStatus, headingDirection: string, isIgnition?: boolean, index?: number): HTMLElement;
|
|
13
|
+
static getGpsMarkerElement(motionStatus: eGpsMotionStatus, headingDirection: string, isIgnition?: boolean, index?: number, labelName?: string, secondLabelName?: string): HTMLElement;
|
|
14
14
|
static getGpsMarkerSvg(motionStatus: eGpsMotionStatus, headingDirection: string, isIgnition?: boolean): string;
|
|
15
15
|
static getGpsMovingMarkerSvg(headingDirection: string): string;
|
|
16
16
|
static getGpsStopMarkerSvg(motionStatus: eGpsMotionStatus, isIgnition?: boolean): string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, AfterViewInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { eToolbarVariant } from './enums';
|
|
4
|
+
import { IToolbarTabs } from './interfaces';
|
|
5
|
+
import { ToolbarVariantType } from './types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CaToolbarTabSwitchComponent implements AfterViewInit {
|
|
8
|
+
private render;
|
|
9
|
+
private cdRef;
|
|
10
|
+
private elem;
|
|
11
|
+
set selectedTab(value: string | undefined);
|
|
12
|
+
data: IToolbarTabs[];
|
|
13
|
+
variant: ToolbarVariantType;
|
|
14
|
+
tabSelected: EventEmitter<string>;
|
|
15
|
+
private indexSwitch;
|
|
16
|
+
private selectedItem;
|
|
17
|
+
private isAnimating;
|
|
18
|
+
private _selectedTab?;
|
|
19
|
+
toolbarVariant: typeof eToolbarVariant;
|
|
20
|
+
constructor(render: Renderer2, cdRef: ChangeDetectorRef, elem: ElementRef);
|
|
21
|
+
get selectedTab(): string | undefined;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
private setSwitchActive;
|
|
24
|
+
private animateTabSwitch;
|
|
25
|
+
private finalizeTabSwitch;
|
|
26
|
+
onTabClick(event: MouseEvent, index: number, tabName: string): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaToolbarTabSwitchComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaToolbarTabSwitchComponent, "ca-toolbar-tab-switch", never, { "selectedTab": { "alias": "selectedTab"; "required": false; }; "data": { "alias": "data"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "tabSelected": "tabSelected"; }, never, never, true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toolbar-variant.enum';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toolbar-tabs.interface';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToolbarTabsClassPipe implements PipeTransform {
|
|
4
|
+
transform({ isLargeLayout, isLargeAndActive, isLargeAndInActive, isSmallActive, isSmallAndInActive, isDisabled, }: {
|
|
5
|
+
isLargeLayout: boolean;
|
|
6
|
+
isLargeAndActive: boolean;
|
|
7
|
+
isLargeAndInActive: boolean;
|
|
8
|
+
isSmallActive: boolean;
|
|
9
|
+
isSmallAndInActive: boolean;
|
|
10
|
+
isDisabled: boolean;
|
|
11
|
+
}): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarTabsClassPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToolbarTabsClassPipe, "toolbarTabsClassPipe", true>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toolbar-variant.type';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -131,3 +131,4 @@ export * from './lib/utils/constants';
|
|
|
131
131
|
export * from './lib/components/ca-modal-spinner/ca-modal-spinner.component';
|
|
132
132
|
export * from './lib/components/ca-progress-bar-v2/ca-progress-bar-v2.component';
|
|
133
133
|
export * from './lib/components/ca-new-filter/utils/helpers/time-filter.helper';
|
|
134
|
+
export * from './lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component';
|