ca-components 1.0.39 → 1.0.40

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.
@@ -5,8 +5,10 @@ export interface MapDropdownContent {
5
5
  selectedClusterItemData?: any;
6
6
  }
7
7
  export interface MapDropdownContentItem {
8
- template: 'header-title' | 'rating-review' | 'divider' | 'repair-shop-services' | 'icon-text' | 'title' | 'title-count' | 'subtitle' | 'text' | 'money-text' | 'open-hours' | 'side-by-side';
8
+ template: 'header-title' | 'rating-review' | 'divider' | 'repair-shop-services' | 'icon-text' | 'title' | 'title-count' | 'subtitle' | 'text' | 'money-text' | 'open-hours' | 'small-subtitle' | 'text-count' | 'side-by-side';
9
9
  field: string;
10
+ secondField?: string;
11
+ thirdField?: string;
10
12
  url?: string;
11
13
  count?: number;
12
14
  title?: string;
@@ -1,2 +1,3 @@
1
1
  export * from './map-dropdown-content-type.pipe';
2
2
  export * from './map-dropdown-cluster-content-type.pipe';
3
+ export * from './map-dropdown-value.pipe';
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { MapDropdownContentItem } from '../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MapDropdownValuePipe implements PipeTransform {
5
+ transform(value: any, itemRow: MapDropdownContentItem): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapDropdownValuePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<MapDropdownValuePipe, "mapDropdownValue", true>;
8
+ }
@@ -1,19 +1,18 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { eProgressRangeUnit } from './enums';
3
2
  import { CaProgressRangeSvgRoutes } from './utils/svg-routes';
4
- import { IProgressRangeLastPriceItem } from './models';
3
+ import { IProgressRangeData, IProgressRangeLastPriceItem } from './models';
5
4
  import * as i0 from "@angular/core";
6
- export declare class CaProgressRangeComponent implements OnInit {
5
+ export declare class CaProgressRangeComponent {
6
+ set data(param: IProgressRangeData);
7
+ svgRoutes: typeof CaProgressRangeSvgRoutes;
8
+ priceRangeItem: IProgressRangeLastPriceItem;
7
9
  startRange: number;
8
10
  endRange: number;
9
11
  value: number | null;
10
12
  unit: eProgressRangeUnit;
11
- lastUsed: string;
12
- svgRoutes: typeof CaProgressRangeSvgRoutes;
13
- priceRangeItem: IProgressRangeLastPriceItem;
13
+ private lastUsed;
14
14
  constructor();
15
- ngOnInit(): void;
16
15
  private calculatePriceRange;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CaProgressRangeComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<CaProgressRangeComponent, "app-ca-progress-range", never, { "startRange": { "alias": "startRange"; "required": false; }; "endRange": { "alias": "endRange"; "required": false; }; "value": { "alias": "value"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "lastUsed": { "alias": "lastUsed"; "required": false; }; }, {}, never, never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaProgressRangeComponent, "app-ca-progress-range", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
19
18
  }
@@ -1 +1,2 @@
1
1
  export * from './progress-range-last-price-item.model';
2
+ export * from './progress-range-data.model';
@@ -0,0 +1,8 @@
1
+ import { eProgressRangeUnit } from "../enums";
2
+ export interface IProgressRangeData {
3
+ startRange: number;
4
+ endRange: number;
5
+ value: number | null;
6
+ unit: eProgressRangeUnit;
7
+ lastUsed: string;
8
+ }
@@ -11,5 +11,6 @@ export declare class CaProgressRangeConstants {
11
11
  static CLASS_CIRCLE_HIGH: string;
12
12
  static CLASS_CIRCLE_MOST_EXPENSIVE: string;
13
13
  static CLASS_CIRCLE_EXPIRED_NO_VALUE: string;
14
+ static DAYS_WEEK: number;
14
15
  static PROGRESS_RANGE_LAST_PRICE_ITEMS: IProgressRangeLastPriceItem[];
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0",