ca-components 1.2.14 → 1.2.16

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.
Files changed (16) hide show
  1. package/assets/scss/input-dropdown.scss +27 -3
  2. package/esm2022/lib/components/ca-input/ca-input.component.mjs +3 -3
  3. package/esm2022/lib/components/ca-input/config/ca-input.config.mjs +1 -1
  4. package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +11 -9
  5. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +24 -11
  6. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.mjs +37 -0
  7. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.mjs +8 -5
  8. package/esm2022/lib/components/ca-input-dropdown/models/input-dropdown-option.model.mjs +1 -1
  9. package/esm2022/lib/components/ca-input-dropdown/pipes/dropdown-options.pipe.mjs +28 -27
  10. package/fesm2022/ca-components.mjs +99 -49
  11. package/fesm2022/ca-components.mjs.map +1 -1
  12. package/lib/components/ca-input/config/ca-input.config.d.ts +1 -0
  13. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact-item/ca-input-dropdown-load-broker-contact-item.component.d.ts +11 -0
  14. package/lib/components/ca-input-dropdown/models/input-dropdown-option.model.d.ts +1 -0
  15. package/lib/components/ca-input-dropdown/pipes/dropdown-options.pipe.d.ts +2 -1
  16. package/package.json +1 -1
@@ -135,6 +135,7 @@ export interface ICaInput {
135
135
  defaultValue?: string;
136
136
  isDropdown?: boolean;
137
137
  isAddress?: boolean;
138
+ searchinGroupIndex?: string;
138
139
  dropdownWidthClass?: string;
139
140
  dropdownImageInput?: ICaInputWithDropdown | null;
140
141
  isInvalidSearchInDropdown?: boolean;
@@ -0,0 +1,11 @@
1
+ import { OptionModel } from '../../../models';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CaInputDropdownLoadBrokerContactItemComponent {
4
+ item: OptionModel;
5
+ activeItem: OptionModel | null;
6
+ searchText: string;
7
+ showNoresult: boolean;
8
+ inOption: boolean;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerContactItemComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerContactItemComponent, "ca-input-dropdown-load-broker-contact-item", never, { "item": { "alias": "item"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "showNoresult": { "alias": "showNoresult"; "required": false; }; "inOption": { "alias": "inOption"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -11,6 +11,7 @@ export interface OptionModel {
11
11
  colorD?: string;
12
12
  code?: string;
13
13
  class?: string;
14
+ phone?: string;
14
15
  count?: number;
15
16
  description?: string;
16
17
  businessName?: string;
@@ -1,8 +1,9 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import { OptionModel } from '../models';
3
+ import { ICaInput } from '../../ca-input/config';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class DropdownOptionsPipe implements PipeTransform {
5
- transform(searchText: string, options: OptionModel[], canAddNew: boolean, label: string, sort: string): any;
6
+ transform(searchText: string, options: OptionModel[], inputConfig: ICaInput, canAddNew: boolean, label: string, sort: string): any;
6
7
  getSortedOptions(sort: string, options: OptionModel[]): OptionModel[];
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownOptionsPipe, never>;
8
9
  static ɵpipe: i0.ɵɵPipeDeclaration<DropdownOptionsPipe, "caDropdownOptionsPipe", true>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13",