ca-components 2.0.94 → 2.0.95
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/styles.scss +1 -4
- package/fesm2022/ca-components.mjs +119 -136
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/animations/index.d.ts +0 -1
- package/lib/components/ca-checkbox/ca-checkbox.component.d.ts +1 -1
- package/lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component.d.ts +3 -2
- package/lib/components/ca-pickup-delivery-block/ca-pickup-delivery-block.component.d.ts +3 -2
- package/lib/components/ca-table-card-view/ca-table-card-view.component.d.ts +5 -2
- package/lib/components/ca-toolbar-tab-switch/ca-toolbar-tab-switch.component.d.ts +11 -11
- package/lib/pipes/table-highlight-search-text.pipe.d.ts +2 -1
- package/package.json +1 -1
- package/lib/animations/details-page-enter-leave.animation.d.ts +0 -1
|
@@ -46,7 +46,7 @@ export declare class CaCheckboxComponent implements ControlValueAccessor {
|
|
|
46
46
|
registerOnTouched(fn: any): void;
|
|
47
47
|
setDisabledState?(isDisabled: boolean): void;
|
|
48
48
|
onChange(event: Event): void;
|
|
49
|
-
|
|
49
|
+
onHandleClick(event?: MouseEvent, fromCheckboxArea?: boolean): void;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaCheckboxComponent, [null, { optional: true; self: true; }, null]>;
|
|
51
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaCheckboxComponent, "app-ca-checkbox", never, { "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disabledStillCheckMark": { "alias": "disabledStillCheckMark"; "required": false; }; "svg": { "alias": "svg"; "required": false; }; "name": { "alias": "name"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "svgCustomClass": { "alias": "svgCustomClass"; "required": false; }; "moveIconDown": { "alias": "moveIconDown"; "required": false; }; "isUseCarrieraACHCheckBox": { "alias": "isUseCarrieraACHCheckBox"; "required": false; }; "isDisabledBlue": { "alias": "isDisabledBlue"; "required": false; }; "isDisabledRegularCheck": { "alias": "isDisabledRegularCheck"; "required": false; }; "isLabelDisabled": { "alias": "isLabelDisabled"; "required": false; }; "isRegularCheckbox": { "alias": "isRegularCheckbox"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "isGroupPartialyChecked": { "alias": "isGroupPartialyChecked"; "required": false; }; "isBlackLabelCheckbox": { "alias": "isBlackLabelCheckbox"; "required": false; }; "isModalCheckbox": { "alias": "isModalCheckbox"; "required": false; }; "isMarginTopReset": { "alias": "isMarginTopReset"; "required": false; }; "groupIndex": { "alias": "groupIndex"; "required": false; }; "itemIndex": { "alias": "itemIndex"; "required": false; }; "isDarkBackgroundCheckbox": { "alias": "isDarkBackgroundCheckbox"; "required": false; }; }, { "formArrayAction": "formArrayAction"; "columnCheckAction": "columnCheckAction"; }, never, never, true, never>;
|
|
52
52
|
}
|
|
@@ -34,12 +34,13 @@ export declare class CaFactoringDropdownComponent implements OnInit {
|
|
|
34
34
|
constructor(formBuilder: UntypedFormBuilder);
|
|
35
35
|
ngOnInit(): void;
|
|
36
36
|
private createForm;
|
|
37
|
-
onFactoringDropdownOpenCloseClick(factoringDropdownPopover: NgbPopover): void;
|
|
37
|
+
onFactoringDropdownOpenCloseClick(factoringDropdownPopover: NgbPopover, event?: MouseEvent): void;
|
|
38
38
|
onCLoseDropdown(): void;
|
|
39
39
|
onCheckboxRowClick(name: string): void;
|
|
40
40
|
onRadioPdfFormatClick(value: eFactoringPdfFormat, event: MouseEvent): void;
|
|
41
41
|
onRadioOrganizePdfClick(value: eFactoringPdfOrganize, event: MouseEvent): void;
|
|
42
|
-
|
|
42
|
+
onExportClick(event?: MouseEvent): void;
|
|
43
|
+
onExportBatch(isUpload: boolean, event?: MouseEvent): void;
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaFactoringDropdownComponent, never>;
|
|
44
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaFactoringDropdownComponent, "app-ca-factoring-dropdown", never, { "itemsCount": { "alias": "itemsCount"; "required": false; }; "isExportFinished": { "alias": "isExportFinished"; "required": false; }; }, { "onFactoringExport": "onFactoringExport"; "onFactoringUploadToRts": "onFactoringUploadToRts"; }, never, never, true, never>;
|
|
45
46
|
}
|
|
@@ -3,16 +3,17 @@ 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 { IDropdownMenuOptionEmit } from '../ca-dropdown-menu/interfaces';
|
|
6
|
+
import { ISearchQueryItem } from '../ca-search-multiple-states-2/interfaces';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class PickupDeliveryBlockComponent implements OnInit {
|
|
8
9
|
set columnWidth(value: number);
|
|
9
|
-
set searchStrings(value:
|
|
10
|
+
set searchStrings(value: ISearchQueryItem[]);
|
|
10
11
|
loads: DispatchGroupedLoadsResponse | null;
|
|
11
12
|
dispatchResponse: DispatchResponse | null;
|
|
12
13
|
isHoveringRow: boolean;
|
|
13
14
|
isDisabled: boolean;
|
|
14
15
|
dropdownMenuAction: EventEmitter<IDropdownMenuOptionEmit>;
|
|
15
|
-
_searchStrings:
|
|
16
|
+
_searchStrings: ISearchQueryItem[];
|
|
16
17
|
_columnWidth: number;
|
|
17
18
|
loadType: StatusTypeEnum;
|
|
18
19
|
constructor();
|
|
@@ -2,6 +2,7 @@ import { EventEmitter, QueryList, ElementRef, AfterViewInit, OnDestroy, Renderer
|
|
|
2
2
|
import { CardDetails } from '../../models/card-models/card-table-data.model';
|
|
3
3
|
import { IDropdownMenuItem, IDropdownMenuOptionEmit } from '../ca-dropdown-menu/interfaces';
|
|
4
4
|
import { TableCardBodyActions } from '../../interfaces';
|
|
5
|
+
import { ISearchQueryItem } from '../ca-search-multiple-states-2/interfaces';
|
|
5
6
|
import { TableCardViewSvgRoutes } from './utils/svg-routes';
|
|
6
7
|
import { eTableCardTypes, eTableCardGeneral } from './enums';
|
|
7
8
|
import { ePosition, eColor, eStringPlaceholder } from '../../enums';
|
|
@@ -29,7 +30,7 @@ export declare class CaTableCardViewComponent<T> implements OnInit, AfterViewIni
|
|
|
29
30
|
set viewData(value: T[]);
|
|
30
31
|
set cardTitle(value: string);
|
|
31
32
|
set isLoading(value: boolean);
|
|
32
|
-
set searchStrings(value:
|
|
33
|
+
set searchStrings(value: ISearchQueryItem[]);
|
|
33
34
|
totalDataCount: number;
|
|
34
35
|
cardsFlipType: string;
|
|
35
36
|
isDropdownMenuHidden: boolean;
|
|
@@ -44,7 +45,7 @@ export declare class CaTableCardViewComponent<T> implements OnInit, AfterViewIni
|
|
|
44
45
|
cardTitleClick: EventEmitter<number>;
|
|
45
46
|
finishOrder: EventEmitter<number>;
|
|
46
47
|
dropdownOptionEmitter: EventEmitter<TableCardBodyActions<CardDetails>>;
|
|
47
|
-
_searchStrings:
|
|
48
|
+
_searchStrings: ISearchQueryItem[];
|
|
48
49
|
_cardTitle: string;
|
|
49
50
|
_isLoading: boolean;
|
|
50
51
|
_viewData: T[];
|
|
@@ -68,9 +69,11 @@ export declare class CaTableCardViewComponent<T> implements OnInit, AfterViewIni
|
|
|
68
69
|
eColor: typeof eColor;
|
|
69
70
|
eTableCardGeneral: typeof eTableCardGeneral;
|
|
70
71
|
eStringPlaceholder: typeof eStringPlaceholder;
|
|
72
|
+
private copyHandler;
|
|
71
73
|
constructor(renderer: Renderer2);
|
|
72
74
|
ngOnInit(): void;
|
|
73
75
|
ngAfterViewInit(): void;
|
|
76
|
+
private handleCopyEvent;
|
|
74
77
|
private adjustShowMoreWidth;
|
|
75
78
|
private waitForCardsContainerAndCalculate;
|
|
76
79
|
private disconnectDeferObserver;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Renderer2, QueryList, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
3
|
import { eToolbarVariant } from './enums';
|
|
4
4
|
import { IToolbarTabs } from './interfaces';
|
|
@@ -6,22 +6,22 @@ import { ToolbarVariantType } from './types';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class CaToolbarTabSwitchComponent implements AfterViewInit {
|
|
8
8
|
private renderer;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
indicator: ElementRef<HTMLDivElement>;
|
|
10
|
+
tabItems: QueryList<ElementRef<HTMLDivElement>>;
|
|
11
11
|
set selectedTab(value: string | undefined);
|
|
12
|
-
data: IToolbarTabs[];
|
|
12
|
+
set data(value: IToolbarTabs[] | undefined);
|
|
13
13
|
variant: ToolbarVariantType;
|
|
14
14
|
tabSelected: EventEmitter<string>;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
get data(): IToolbarTabs[] | undefined;
|
|
16
|
+
get selectedTab(): string | undefined;
|
|
17
17
|
private _selectedTab?;
|
|
18
|
+
private _data?;
|
|
19
|
+
isAnimating: boolean;
|
|
18
20
|
toolbarVariant: typeof eToolbarVariant;
|
|
19
|
-
constructor(renderer: Renderer2
|
|
20
|
-
get selectedTab(): string | undefined;
|
|
21
|
+
constructor(renderer: Renderer2);
|
|
21
22
|
ngAfterViewInit(): void;
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
private finalizeTabSwitch;
|
|
23
|
+
private updateIndicatorPosition;
|
|
24
|
+
private animateIndicatorTransition;
|
|
25
25
|
onTabClick(event: MouseEvent, tabName: string): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaToolbarTabSwitchComponent, never>;
|
|
27
27
|
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>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import { ISearchQueryItem } from '../components/ca-search-multiple-states-2/interfaces';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TableHighlightSearchTextPipe implements PipeTransform {
|
|
5
6
|
private sanitizer;
|
|
6
7
|
constructor(sanitizer: DomSanitizer);
|
|
7
|
-
transform(text: string | number | null | undefined, chips:
|
|
8
|
+
transform(text: string | number | null | undefined, chips: ISearchQueryItem[]): SafeHtml;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHighlightSearchTextPipe, never>;
|
|
9
10
|
static ɵpipe: i0.ɵɵPipeDeclaration<TableHighlightSearchTextPipe, "tableHighlightSearchText", true>;
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const detailsPageEnterLeaveAnimation: import("@angular/animations").AnimationTriggerMetadata;
|