ca-components 1.9.91 → 1.9.92

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.
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Clipboard } from '@angular/cdk/clipboard';
3
+ import { SharedSvgRoutes } from '../../utils/svg-routes';
4
+ import { eColor, eGeneralActions, ePosition, eStringPlaceholder } from '../../enums';
5
+ import { IContactDepartment } from './interfaces';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CaContactsCardComponent {
8
+ private clipboard;
9
+ departmentContacts: IContactDepartment[];
10
+ onEditClick: EventEmitter<number>;
11
+ onDeleteClick: EventEmitter<number>;
12
+ hoveredContactId: number | null;
13
+ hoveredTextIndex: number;
14
+ copiedIndex: number;
15
+ eGeneralActions: typeof eGeneralActions;
16
+ eColor: typeof eColor;
17
+ ePosition: typeof ePosition;
18
+ eStringPlaceholder: typeof eStringPlaceholder;
19
+ svgRoutes: typeof SharedSvgRoutes;
20
+ constructor(clipboard: Clipboard);
21
+ copyToClipboard(text: string, index: number): void;
22
+ onHoverContact(contactId?: number): void;
23
+ onHoverText(index?: number): void;
24
+ onEditEvent(contactId: number): void;
25
+ onDeleteEvent(contactId: number): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaContactsCardComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaContactsCardComponent, "app-ca-contacts-card", never, { "departmentContacts": { "alias": "departmentContacts"; "required": false; }; }, { "onEditClick": "onEditClick"; "onDeleteClick": "onDeleteClick"; }, never, never, true, never>;
28
+ }
@@ -0,0 +1,6 @@
1
+ import { IContact } from "./contact.interface";
2
+ export interface IContactDepartment {
3
+ id?: number;
4
+ name: string;
5
+ contacts: IContact[];
6
+ }
@@ -0,0 +1,7 @@
1
+ export interface IContact {
2
+ id?: number;
3
+ fullName?: string | null;
4
+ phone?: string | null;
5
+ phoneExt?: string | null;
6
+ email?: string | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './contact-department.interface';
2
+ export * from './contact.interface';
@@ -69,8 +69,8 @@ export declare class CaFilterComponent implements OnDestroy {
69
69
  canadaStates: ArrayStatus[];
70
70
  sentAddressValue: EventEmitter<string>;
71
71
  sentAddressData: EventEmitter<SentAddressData>;
72
- setFilter: EventEmitter<filterOutput | filterOutputWithParams>;
73
- clearAll: EventEmitter<filterOutput | filterOutputWithParams>;
72
+ setFilter: EventEmitter<filterOutputWithParams | filterOutput>;
73
+ clearAll: EventEmitter<filterOutputWithParams | filterOutput>;
74
74
  private destroy$;
75
75
  isSearchExpanded: boolean;
76
76
  isFilterActive: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.9.91",
3
+ "version": "1.9.92",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",
package/public-api.d.ts CHANGED
@@ -111,3 +111,4 @@ export * from './lib/components/ca-fleet-filter/ca-fleet-filter.component';
111
111
  export * from './lib/components/ca-fleet-filter/interfaces';
112
112
  export * from './lib/components/ca-factoring-dropdown/ca-factoring-dropdown.component';
113
113
  export * from './lib/components/ca-factoring-dropdown/interfaces';
114
+ export * from './lib/components/ca-contacts-card/ca-contacts-card.component';