ca-components 1.1.94 → 1.1.96
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/input-dropdown.scss +182 -80
- package/esm2022/lib/components/ca-chart/ca-chart.component.mjs +141 -146
- package/esm2022/lib/components/ca-chart/models/chart-line-dataset.model.mjs +1 -1
- package/esm2022/lib/components/ca-chart/utils/helpers/chart.helper.mjs +10 -2
- package/esm2022/lib/components/ca-input/config/ca-input.config.mjs +1 -1
- package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +12 -4
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.mjs +37 -0
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +5 -8
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.mjs +44 -0
- package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.mjs +6 -9
- package/esm2022/lib/components/ca-input-dropdown/pipes/dropdown-options.pipe.mjs +1 -1
- package/esm2022/lib/components/ca-input-dropdown/utils/svg-routes/index.mjs +2 -0
- package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +3 -3
- package/fesm2022/ca-components.mjs +230 -163
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-chart/ca-chart.component.d.ts +1 -0
- package/lib/components/ca-chart/models/chart-line-dataset.model.d.ts +3 -0
- package/lib/components/ca-chart/utils/helpers/chart.helper.d.ts +3 -0
- package/lib/components/ca-input/config/ca-input.config.d.ts +1 -0
- package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +1 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.d.ts +10 -0
- package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.d.ts +14 -0
- package/lib/components/ca-input-dropdown/utils/svg-routes/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export declare class CaChartComponent implements AfterViewInit {
|
|
|
18
18
|
private plugins?;
|
|
19
19
|
private areAnimationsCompleated;
|
|
20
20
|
private _hoveredIndex;
|
|
21
|
+
private lastHoveredIndex;
|
|
21
22
|
_chartConfig: IChartConfiguration;
|
|
22
23
|
isChartDataAvailable: boolean;
|
|
23
24
|
constructor(changeDetector: ChangeDetectorRef, chartManagerService?: ChartManagerService | undefined);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { IBaseDataset } from './chart-base-dataset.model';
|
|
2
2
|
export interface ILineDataset extends IBaseDataset {
|
|
3
|
+
pointHoverBorderWidth?: number;
|
|
4
|
+
pointHoverBorderColor?: string | string[] | CanvasGradient;
|
|
5
|
+
pointHoverBackgroundColor?: string | string[] | CanvasGradient;
|
|
3
6
|
tension?: number;
|
|
4
7
|
cubicInterpolationMode?: string;
|
|
5
8
|
pointRadius?: number;
|
|
@@ -18,4 +18,7 @@ export declare class ChartHelper {
|
|
|
18
18
|
static highlightPoint(ctx: CanvasRenderingContext2D, chart: Chart, index: number, chartData: IChartData<IBaseDataset>): void;
|
|
19
19
|
private static getSegmentPosition;
|
|
20
20
|
static convertRgbToRgba(colorValue: string, alpha?: number): string;
|
|
21
|
+
static calculateDatasetMaxValue(datasets: {
|
|
22
|
+
data: number[];
|
|
23
|
+
}[]): number;
|
|
21
24
|
}
|
|
@@ -36,6 +36,7 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
|
|
|
36
36
|
get sort(): string;
|
|
37
37
|
_activeItem: OptionModel | null;
|
|
38
38
|
set activeItem(value: OptionModel | null);
|
|
39
|
+
get activeItem(): OptionModel | null;
|
|
39
40
|
activeItemColor: OptionModel | null;
|
|
40
41
|
labelMode: 'Label' | 'Color';
|
|
41
42
|
_options: OptionModel[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OptionModel } from '../../../models';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CaInputDropdownLoadBrokerComponentItem {
|
|
5
|
+
option: OptionModel;
|
|
6
|
+
getSuperControl: AbstractControl<any, any> | null;
|
|
7
|
+
inOption: boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerComponentItem, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerComponentItem, "app-ca-input-dropdown-load-broker-item", never, { "option": { "alias": "option"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; "inOption": { "alias": "inOption"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OptionModel } from '../../../models';
|
|
2
|
+
import { InputDropdownSvgRoutes } from '../../../utils/svg-routes';
|
|
3
|
+
import { AbstractControl } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CaInputDropdownLoadDispatchesTtdComponentItem {
|
|
6
|
+
showNoResulst: boolean;
|
|
7
|
+
option: OptionModel;
|
|
8
|
+
index: number;
|
|
9
|
+
activeItem: OptionModel | null;
|
|
10
|
+
getSuperControl: AbstractControl<any, any> | null;
|
|
11
|
+
inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadDispatchesTtdComponentItem, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadDispatchesTtdComponentItem, "app-ca-input-dropdown-load-dispatches-ttd-item", never, { "showNoResulst": { "alias": "showNoResulst"; "required": false; }; "option": { "alias": "option"; "required": false; }; "index": { "alias": "index"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-dropdown-svg-routes';
|