ca-components 2.0.30 → 2.0.32

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.
@@ -1,21 +1,26 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
3
- import { eColor, ePosition, eStringPlaceholder } from '../../enums';
3
+ import { eColor, ePosition, eStringPlaceholder, eUnit } from '../../enums';
4
4
  import { IItemsDropdownConfig, IItemsDropdownList } from './interfaces';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CaItemsDropdownComponent<T extends IItemsDropdownList> {
7
7
  set itemsDropdownConfig(value: IItemsDropdownConfig | null);
8
8
  itemsDropdownList: T[];
9
9
  itemsSpecialStylesIndexArray?: number[];
10
+ minimisedVariationDropdownTemplate: TemplateRef<{
11
+ data: T[];
12
+ }>;
10
13
  columnWidth: number;
14
+ tooltipText: string;
11
15
  itemsDropdownAction: EventEmitter<boolean>;
12
16
  _itemsDropdownConfig: IItemsDropdownConfig | null;
13
17
  dropdownItemsToDisplay: string | number[][];
14
18
  ePosition: typeof ePosition;
15
19
  eColor: typeof eColor;
16
20
  eStringPlaceholder: typeof eStringPlaceholder;
21
+ eUnit: typeof eUnit;
17
22
  private updateDropdownItemsToDisplay;
18
23
  handleDropdownOpenCloseClick(dropdownPopover: NgbPopover): void;
19
24
  static ɵfac: i0.ɵɵFactoryDeclaration<CaItemsDropdownComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CaItemsDropdownComponent<any>, "ca-items-dropdown", never, { "itemsDropdownConfig": { "alias": "itemsDropdownConfig"; "required": false; }; "itemsDropdownList": { "alias": "itemsDropdownList"; "required": false; }; "itemsSpecialStylesIndexArray": { "alias": "itemsSpecialStylesIndexArray"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; }, { "itemsDropdownAction": "itemsDropdownAction"; }, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaItemsDropdownComponent<any>, "ca-items-dropdown", never, { "itemsDropdownConfig": { "alias": "itemsDropdownConfig"; "required": false; }; "itemsDropdownList": { "alias": "itemsDropdownList"; "required": false; }; "itemsSpecialStylesIndexArray": { "alias": "itemsSpecialStylesIndexArray"; "required": false; }; "minimisedVariationDropdownTemplate": { "alias": "minimisedVariationDropdownTemplate"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; }, { "itemsDropdownAction": "itemsDropdownAction"; }, never, never, true, never>;
21
26
  }
@@ -1,6 +1,6 @@
1
1
  export interface IItemsDropdownConfig {
2
2
  gridItems: (string | number)[] | null;
3
- gridValues: string[] | null;
4
- gridResponsePropertiesToDisplay: string[] | null;
3
+ gridValues: string | null;
4
+ gridResponsePropertiesToDisplay?: string[] | null;
5
5
  hasTotal?: boolean;
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "2.0.30",
3
+ "version": "2.0.32",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",
package/public-api.d.ts CHANGED
@@ -103,6 +103,7 @@ export * from './lib/components/ca-status-change-dropdown/ca-status-change-dropd
103
103
  export * from './lib/components/ca-sorting-card-dropdown/ca-sorting-card-dropdown.component';
104
104
  export * from './lib/components/ca-files-count/ca-files-count.component';
105
105
  export * from './lib/components/ca-items-dropdown/ca-items-dropdown.component';
106
+ export * from './lib/components/ca-items-dropdown/pipes';
106
107
  export * from './lib/components/ca-modal-items/ca-modal-items.component';
107
108
  export * from './lib/components/ca-modal-items/enums';
108
109
  export * from './lib/components/ca-confirmation-modals/components/ca-delete-modal/ca-delete-modal.component';