ca-components 1.2.26 → 1.3.1

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 (96) hide show
  1. package/assets/scss/input-dropdown.scss +1528 -1579
  2. package/esm2022/lib/components/ca-chart/ca-chart.component.mjs +17 -22
  3. package/esm2022/lib/components/ca-chart/enums/e-chart-types.enum.mjs +2 -0
  4. package/esm2022/lib/components/ca-chart/enums/index.mjs +2 -2
  5. package/esm2022/lib/components/ca-chart/utils/guards/chart-type.guard.mjs +2 -2
  6. package/esm2022/lib/components/ca-filters/components/ca-location-filter/ca-location-filter.component.mjs +4 -4
  7. package/esm2022/lib/components/ca-input/ca-input.component.mjs +3 -3
  8. package/esm2022/lib/components/ca-input/config/ca-input.config.mjs +1 -1
  9. package/esm2022/lib/components/ca-input/input-test/input-test.component.mjs +6 -13
  10. package/esm2022/lib/components/ca-input/pipes/input-class.pipe.mjs +7 -1
  11. package/esm2022/lib/components/ca-input/pipes/input-error.pipe.mjs +7 -1
  12. package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +98 -65
  13. package/esm2022/lib/components/ca-input-datetime-picker/ca-input-datetime-picker.component.mjs +3 -3
  14. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +683 -185
  15. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.mjs +9 -26
  16. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.mjs +8 -25
  17. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.mjs +9 -26
  18. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.mjs +8 -25
  19. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.mjs +8 -25
  20. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.mjs +8 -25
  21. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.mjs +8 -25
  22. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +14 -28
  23. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.mjs +10 -31
  24. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.mjs +11 -30
  25. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.mjs +18 -31
  26. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.mjs +13 -27
  27. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.mjs +8 -25
  28. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.mjs +8 -25
  29. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.mjs +10 -31
  30. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.mjs +15 -30
  31. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.mjs +19 -32
  32. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.mjs +9 -26
  33. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.mjs +8 -25
  34. package/esm2022/lib/components/ca-input-dropdown/models/input-dropdown-option.model.mjs +1 -1
  35. package/esm2022/lib/components/ca-input-dropdown/pipes/index.mjs +1 -2
  36. package/esm2022/lib/components/ca-input-dropdown/pipes/input-dropdown-default-template-class.pipe.mjs +2 -4
  37. package/esm2022/lib/components/ca-input-dropdown/pipes/input-dropdown-label-class.pipe.mjs +1 -1
  38. package/esm2022/lib/components/ca-input-dropdown/pipes/input-dropdown-multiselect-class.pipe.mjs +1 -1
  39. package/esm2022/lib/components/ca-input-dropdown/pipes/input-dropdown-svgtext-template-icon.pipe.mjs +1 -1
  40. package/esm2022/lib/components/ca-map/ca-map.component.mjs +3 -3
  41. package/esm2022/lib/services/image-base64.service.mjs +23 -0
  42. package/fesm2022/ca-components.mjs +3021 -3085
  43. package/fesm2022/ca-components.mjs.map +1 -1
  44. package/lib/components/ca-chart/enums/{chart-types.enum.d.ts → e-chart-types.enum.d.ts} +1 -1
  45. package/lib/components/ca-chart/enums/index.d.ts +1 -1
  46. package/lib/components/ca-input/config/ca-input.config.d.ts +1 -3
  47. package/lib/components/ca-input/input-test/input-test.component.d.ts +3 -4
  48. package/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.d.ts +6 -10
  49. package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +16 -33
  50. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-default-template/ca-input-dropdown-default-template.component.d.ts +5 -8
  51. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-details-template/ca-input-dropdown-details-template.component.d.ts +5 -8
  52. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-dispatch/ca-input-dropdown-dispatch.component.d.ts +5 -8
  53. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-double-text-template/ca-input-dropdown-double-text-template.component.d.ts +5 -8
  54. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-fuel-franchise/ca-input-dropdown-fuel-franchise.component.d.ts +5 -8
  55. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-groups/ca-input-dropdown-groups.component.d.ts +5 -8
  56. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-labels/ca-input-dropdown-labels.component.d.ts +5 -8
  57. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.d.ts +5 -8
  58. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-contact/ca-input-dropdown-load-broker-contact.component.d.ts +5 -8
  59. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper.component.d.ts +5 -8
  60. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.d.ts +5 -10
  61. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.d.ts +5 -8
  62. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-multiselect/ca-input-dropdown-multiselect.component.d.ts +5 -8
  63. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-payroll-trucks/ca-input-dropdown-payroll-trucks.component.d.ts +5 -8
  64. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svg-template/ca-input-dropdown-svg-template.component.d.ts +5 -10
  65. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.d.ts +8 -9
  66. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.d.ts +8 -9
  67. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-text-counter/ca-input-dropdown-text-counter.component.d.ts +5 -8
  68. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-triple-text-template/ca-input-dropdown-triple-text-template.component.d.ts +5 -8
  69. package/lib/components/ca-input-dropdown/models/input-dropdown-option.model.d.ts +0 -1
  70. package/lib/components/ca-input-dropdown/pipes/index.d.ts +0 -1
  71. package/lib/services/image-base64.service.d.ts +10 -0
  72. package/package.json +1 -1
  73. package/esm2022/lib/components/ca-chart/enums/chart-types.enum.mjs +0 -2
  74. package/esm2022/lib/components/ca-input-address-dropdown/enums/input-address-basic-string.enum.mjs +0 -6
  75. package/esm2022/lib/components/ca-input-address-dropdown/validators/ca-input-address-value.validations.mjs +0 -11
  76. 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 +0 -41
  77. 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 +0 -38
  78. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.mjs +0 -37
  79. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.mjs +0 -49
  80. 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 +0 -49
  81. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.mjs +0 -56
  82. package/esm2022/lib/components/ca-input-dropdown/pipes/dropdown-options.pipe.mjs +0 -73
  83. package/esm2022/lib/components/ca-input-dropdown/pipes/input-dropdown-get-icon.pipe.mjs +0 -18
  84. package/esm2022/lib/components/ca-input-dropdown/utils/svg-routes/index.mjs +0 -2
  85. package/lib/components/ca-input-address-dropdown/enums/input-address-basic-string.enum.d.ts +0 -4
  86. package/lib/components/ca-input-address-dropdown/validators/ca-input-address-value.validations.d.ts +0 -2
  87. 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 +0 -10
  88. 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 +0 -11
  89. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker-shipper/ca-input-dropdown-load-broker-shipper-item/ca-input-dropdown-load-broker-shipper-item.component.d.ts +0 -11
  90. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher-item/ca-input-dropdown-load-dispatcher-item.component.d.ts +0 -14
  91. 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 +0 -14
  92. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template-item/ca-input-dropdown-svgtext-template-item.component.d.ts +0 -15
  93. package/lib/components/ca-input-dropdown/pipes/dropdown-options.pipe.d.ts +0 -10
  94. package/lib/components/ca-input-dropdown/pipes/input-dropdown-get-icon.pipe.d.ts +0 -9
  95. package/lib/components/ca-input-dropdown/utils/svg-routes/index.d.ts +0 -1
  96. /package/src/assets/ca-components/svg/common/trailermake/{ic_trailer_de_lucio.svg → ic_trailer_de_lucio.svg.svg} +0 -0
@@ -1,4 +1,4 @@
1
- export declare const enum ChartTypesStringEnum {
1
+ export declare const enum eChartTypesString {
2
2
  LINE = "line",
3
3
  BAR = "bar",
4
4
  DOUGHNUT = "doughnut"
@@ -1,4 +1,4 @@
1
- export * from './chart-types.enum';
1
+ export * from './e-chart-types.enum';
2
2
  export * from './cubic-interpolation-mode.enum';
3
3
  export * from './chart-colors.enum';
4
4
  export * from './chart-plugin-ids.enum';
@@ -35,7 +35,7 @@ export interface ICaInputWithDropdown {
35
35
  remove?: boolean;
36
36
  }
37
37
  export interface ICaInput {
38
- id?: number | string;
38
+ id?: number;
39
39
  name: string;
40
40
  type: string;
41
41
  label?: string;
@@ -134,8 +134,6 @@ export interface ICaInput {
134
134
  };
135
135
  defaultValue?: string;
136
136
  isDropdown?: boolean;
137
- isAddress?: boolean;
138
- searchinGroupIndex?: string;
139
137
  dropdownWidthClass?: string;
140
138
  dropdownImageInput?: ICaInputWithDropdown | null;
141
139
  isInvalidSearchInDropdown?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
- import { AbstractControl, ControlValueAccessor, NgControl } from '@angular/forms';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { ICaInput } from '../config';
4
4
  import { InputChangeValue, InputSvgRoutes } from '../utils';
5
5
  import { CommandsEvent, LabelColor } from '../models';
@@ -81,7 +81,6 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
81
81
  _inputConfig: ICaInput;
82
82
  inputSvgRoutes: typeof InputSvgRoutes;
83
83
  inputElement: ElementRef;
84
- parentControl: AbstractControl<any, any> | null;
85
84
  selectedDropdownLabelColor: LabelColor | null;
86
85
  template: string;
87
86
  incorrectValue: boolean;
@@ -108,7 +107,7 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
108
107
  get inputConfig(): ICaInput;
109
108
  constructor(ngControl: NgControl, chdet: ChangeDetectorRef, maskApplier: NgxMaskService, thousandSeparatorPipe: ThousandSeparatorPipe);
110
109
  ngAfterViewInit(): void;
111
- get control(): AbstractControl<any, any> | null;
110
+ get control(): import("@angular/forms").AbstractControl<any, any> | null;
112
111
  registerOnChange(fn: any): void;
113
112
  registerOnTouched(fn: () => void): void;
114
113
  writeValue(obj: InputChangeValue): void;
@@ -125,6 +124,6 @@ export declare class InputTestComponent extends InputTestComponent_base implemen
125
124
  identify(index: number): number;
126
125
  handleKeyDown(event: KeyboardEvent): void;
127
126
  static ɵfac: i0.ɵɵFactoryDeclaration<InputTestComponent, [{ optional: true; self: true; }, null, null, null]>;
128
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "parentControl": { "alias": "parentControl"; "required": false; }; "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
127
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; }, { "handleToggleDropdownOptions": "handleToggleDropdownOptions"; "incorrectInput": "incorrectEvent"; "blurInput": "blurInput"; "focusInputEvent": "focusInput"; "changeInput": "change"; "commandEvent": "commandEvent"; "clearInputEvent": "clear"; "showHideDropdownEvent": "showHideDropdown"; "dropDownKeyNavigationEvent": "dropDownKeyNavigation"; }, never, never, true, never>;
129
128
  }
130
129
  export {};
@@ -1,6 +1,5 @@
1
1
  import { FormControl } from '@angular/forms';
2
- import { EventEmitter, OnDestroy, OnInit, ChangeDetectorRef, AfterContentInit } from '@angular/core';
3
- import { Observable } from 'rxjs';
2
+ import { EventEmitter, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
4
3
  import { UntypedFormGroup, NgControl, ControlValueAccessor } from '@angular/forms';
5
4
  import { ICaInput } from '../ca-input/config/ca-input.config';
6
5
  import { CaInputDropdownComponent } from '../ca-input-dropdown/ca-input-dropdown.component';
@@ -11,11 +10,12 @@ import { InputAddressCommandsString } from './models/input-address-commands-stri
11
10
  import { SentAddressData } from './models/sent-address-data.model';
12
11
  import { AddressListResponse } from '../../models/address-list-response.model';
13
12
  import * as i0 from "@angular/core";
14
- export declare class CaInputAddressDropdownComponent implements OnInit, ControlValueAccessor, OnDestroy, AfterContentInit {
13
+ export declare class CaInputAddressDropdownComponent implements OnInit, ControlValueAccessor, OnDestroy {
15
14
  superControl: NgControl;
16
15
  private ref;
17
16
  inputDropdown: CaInputDropdownComponent;
18
17
  set placeholderType(value: string);
18
+ set activeAddress(value: AddressList | null);
19
19
  set receivedAddressData(value: AddressData | null);
20
20
  set receivedAddressList(value: AddressListResponse | null);
21
21
  sentAddressValue: EventEmitter<string>;
@@ -41,19 +41,15 @@ export declare class CaInputAddressDropdownComponent implements OnInit, ControlV
41
41
  stopType: string;
42
42
  private requestSent;
43
43
  _receivedAddressList: AddressListResponse | null;
44
+ _activeAddress: AddressList | null;
44
45
  private destroy$;
45
46
  addressForm: UntypedFormGroup;
46
47
  constructor(superControl: NgControl, ref: ChangeDetectorRef);
47
- ngAfterContentInit(): void;
48
- writeValue(address: any): void;
48
+ writeValue(_: any): void;
49
49
  registerOnChange(fn: any): void;
50
50
  onChange(_: any): void;
51
51
  registerOnTouched(_: any): void;
52
52
  ngOnInit(): void;
53
- attachAddressStreetValidation(): void;
54
- private observableInputSearch;
55
- observableInputSearch$: Observable<string>;
56
- handleSearchInput(text: string): void;
57
53
  initChangesListener(): void;
58
54
  get getSuperControl(): FormControl;
59
55
  onCloseDropdown(event: boolean): void;
@@ -70,5 +66,5 @@ export declare class CaInputAddressDropdownComponent implements OnInit, ControlV
70
66
  private checkAddressValidation;
71
67
  ngOnDestroy(): void;
72
68
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputAddressDropdownComponent, [{ self: true; }, null]>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputAddressDropdownComponent, "app-ca-input-address-dropdown", never, { "placeholderType": { "alias": "placeholderType"; "required": false; }; "receivedAddressData": { "alias": "receivedAddressData"; "required": false; }; "receivedAddressList": { "alias": "receivedAddressList"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "commandHandler": { "alias": "commandHandler"; "required": false; }; "isRouting": { "alias": "isRouting"; "required": false; }; "closedBorder": { "alias": "closedBorder"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "hideEmptyLoaded": { "alias": "hideEmptyLoaded"; "required": false; }; }, { "sentAddressValue": "sentAddressValue"; "selectedAddress": "selectedAddress"; "sentAddressData": "sentAddressData"; "closeDropdown": "closeDropdown"; "commandEvent": "commandEvent"; "changeFlag": "changeFlag"; "incorrectEvent": "incorrectEvent"; }, never, never, true, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputAddressDropdownComponent, "app-ca-input-address-dropdown", never, { "placeholderType": { "alias": "placeholderType"; "required": false; }; "activeAddress": { "alias": "activeAddress"; "required": false; }; "receivedAddressData": { "alias": "receivedAddressData"; "required": false; }; "receivedAddressList": { "alias": "receivedAddressList"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "commandHandler": { "alias": "commandHandler"; "required": false; }; "isRouting": { "alias": "isRouting"; "required": false; }; "closedBorder": { "alias": "closedBorder"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "hideEmptyLoaded": { "alias": "hideEmptyLoaded"; "required": false; }; "addresList": { "alias": "addresList"; "required": false; }; }, { "sentAddressValue": "sentAddressValue"; "selectedAddress": "selectedAddress"; "sentAddressData": "sentAddressData"; "closeDropdown": "closeDropdown"; "commandEvent": "commandEvent"; "changeFlag": "changeFlag"; "incorrectEvent": "incorrectEvent"; }, never, never, true, never>;
74
70
  }
@@ -1,40 +1,33 @@
1
1
  import { ChangeDetectorRef, Renderer2 } from '@angular/core';
2
- import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
3
3
  import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
4
4
  import { ICaInput } from '../ca-input/config';
5
- import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
5
+ import { CaInputComponent } from '../ca-input/ca-input.component';
6
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
6
7
  import { CommandsEvent } from '../ca-input/models';
7
8
  import { OptionModel } from './models/input-dropdown-option.model';
9
+ import { ImageBase64Service } from '../../services/image-base64.service';
8
10
  import { InputDropdownSvgRoutes } from './utils/svg-routes/input-dropdown-svg-routes';
9
11
  import { DropdownTemplateTypeEnum } from './enums';
10
- import { EventInputManager } from '../ca-input/base-classes/ca-input-event-manager';
11
- import { InputTestComponent } from '../ca-input/input-test/input-test.component';
12
12
  import * as i0 from "@angular/core";
13
- export declare class CaInputDropdownComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, AfterViewInit {
13
+ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy, ControlValueAccessor {
14
14
  superControl: NgControl;
15
+ imageBase64Service: ImageBase64Service;
15
16
  private cdRef;
16
17
  private renderer;
17
- inputRef: InputTestComponent;
18
+ inputRef: CaInputComponent;
18
19
  popoverRef: NgbPopover;
19
- dropdownComponentRef: any;
20
- label: keyof OptionModel;
21
- optionValue: string;
22
- inputHoveredItem: number;
23
- dropDownIsOpen: boolean;
24
20
  _template: string;
25
21
  _canAddNew: boolean;
26
22
  set template(value: string);
27
23
  multiselectTemplate: string;
28
24
  inputConfig: ICaInput;
29
25
  set canAddNew(value: boolean);
30
- get canAddNew(): boolean;
31
26
  canOpenModal: boolean;
32
27
  _sort: string;
33
28
  set sort(value: string);
34
- get sort(): string;
35
29
  _activeItem: OptionModel | null;
36
30
  set activeItem(value: OptionModel | null);
37
- get activeItem(): OptionModel | null;
38
31
  activeItemColor: OptionModel | null;
39
32
  labelMode: 'Label' | 'Color';
40
33
  _options: OptionModel[];
@@ -42,7 +35,6 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
42
35
  set preloadMultiselectItems(values: OptionModel[]);
43
36
  isDetailsPages: boolean;
44
37
  isIncorrectValue: boolean;
45
- isAddressDropdown: boolean;
46
38
  selectedItem: EventEmitter<OptionModel | null>;
47
39
  selectedItems: EventEmitter<OptionModel[] | null>;
48
40
  selectedItemColor: EventEmitter<OptionModel | null>;
@@ -57,8 +49,6 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
57
49
  paginationEvent: EventEmitter<number>;
58
50
  activeGroupEvent: EventEmitter<OptionModel>;
59
51
  clearInputEvent: EventEmitter<boolean>;
60
- searchInputEvent: EventEmitter<string>;
61
- searchInputText: EventInputManager<string>;
62
52
  originalOptions: OptionModel[];
63
53
  paginationNumber: number;
64
54
  multiselectItems: OptionModel[];
@@ -72,16 +62,13 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
72
62
  inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
73
63
  dropdownTemplateTypeEnum: typeof DropdownTemplateTypeEnum;
74
64
  private destroy$;
75
- constructor(superControl: NgControl, cdRef: ChangeDetectorRef, renderer: Renderer2);
65
+ constructor(superControl: NgControl, imageBase64Service: ImageBase64Service, cdRef: ChangeDetectorRef, renderer: Renderer2);
76
66
  get getSuperControl(): import("@angular/forms").AbstractControl<any, any> | null;
77
- inputFormControl: FormControl;
78
- lastValidOption: OptionModel;
79
- writeValue(value: any): void;
80
- onTouched: () => void;
81
- onChange(_: any): void;
82
- registerOnChange(fn: any): void;
83
- registerOnTouched(fn: () => void): void;
67
+ writeValue(_: any): void;
68
+ registerOnChange(_: any): void;
69
+ registerOnTouched(_: any): void;
84
70
  ngOnInit(): void;
71
+ ngOnChanges(changes: SimpleChanges): void;
85
72
  ngAfterViewInit(): void;
86
73
  onScrollDropdown(event: EventTarget | null): void;
87
74
  onActiveItem(option: OptionModel, group?: any): void;
@@ -100,26 +87,22 @@ export declare class CaInputDropdownComponent implements OnInit, AfterViewInit,
100
87
  toggleNestedList(option: OptionModel): void;
101
88
  onBlurInput(event: boolean): void;
102
89
  onClearInputEvent(event: boolean): void;
103
- handleHiddenDropdown(): void;
104
- handleOpenDropdown(): void;
105
90
  showHideDropdown(action: boolean): void;
106
- getMainGroup(): OptionModel[];
107
91
  dropDownKeyNavigation({ keyCode, data, }: {
108
92
  keyCode: number;
109
93
  data: any;
110
94
  }): void;
111
- setDropdownValue(option: OptionModel, optionValue?: string, label?: string): void;
112
95
  onMultiselectSelect(option: OptionModel): void;
113
96
  removeMultiSelectItem(index: number): void;
114
97
  deleteAllMultiSelectItems(currentLabel?: string): void;
115
98
  toggleMultiselectDropdown(): void;
116
- dropdownValue: string | undefined;
117
- setControlValue(value?: string, dropdownInputValue?: string): void;
99
+ private pickupElementWithKeyboard;
100
+ private search;
118
101
  /**
119
102
  * Navigate through dropdown with keyboard arrows
120
103
  */
121
104
  private dropdownNavigation;
122
105
  ngOnDestroy(): void;
123
- static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownComponent, [{ self: true; }, null, null]>;
124
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownComponent, "app-ca-input-dropdown", never, { "label": { "alias": "label"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "template": { "alias": "template"; "required": false; }; "multiselectTemplate": { "alias": "multiselectTemplate"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; "canOpenModal": { "alias": "canOpenModal"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "activeItemColor": { "alias": "activeItemColor"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "options": { "alias": "options"; "required": false; }; "preloadMultiselectItems": { "alias": "preloadMultiselectItems"; "required": false; }; "isDetailsPages": { "alias": "isDetailsPages"; "required": false; }; "isIncorrectValue": { "alias": "isIncorrectValue"; "required": false; }; "isAddressDropdown": { "alias": "isAddressDropdown"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "selectedItemColor": "selectedItemColor"; "selectedLabelMode": "selectedLabelMode"; "closeDropdown": "closeDropdown"; "saveItem": "saveItem"; "incorrectEvent": "incorrectEvent"; "placeholderIconEvent": "placeholderIconEvent"; "paginationEvent": "pagination"; "activeGroupEvent": "activeGroup"; "clearInputEvent": "clearInputEvent"; "searchInputEvent": "searchInputEvent"; }, never, never, true, never>;
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownComponent, [{ self: true; }, null, null, null]>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownComponent, "app-ca-input-dropdown", never, { "template": { "alias": "template"; "required": false; }; "multiselectTemplate": { "alias": "multiselectTemplate"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; "canOpenModal": { "alias": "canOpenModal"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "activeItemColor": { "alias": "activeItemColor"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "options": { "alias": "options"; "required": false; }; "preloadMultiselectItems": { "alias": "preloadMultiselectItems"; "required": false; }; "isDetailsPages": { "alias": "isDetailsPages"; "required": false; }; "isIncorrectValue": { "alias": "isIncorrectValue"; "required": false; }; }, { "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; "selectedItemColor": "selectedItemColor"; "selectedLabelMode": "selectedLabelMode"; "closeDropdown": "closeDropdown"; "saveItem": "saveItem"; "incorrectEvent": "incorrectEvent"; "placeholderIconEvent": "placeholderIconEvent"; "paginationEvent": "pagination"; "activeGroupEvent": "activeGroup"; "clearInputEvent": "clearInputEvent"; }, never, never, true, never>;
125
108
  }
@@ -1,20 +1,17 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { ICaInput } from '../../../ca-input/config';
3
4
  import { OptionModel } from '../../models/input-dropdown-option.model';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CaInputDropdownDefaultTemplateComponent {
6
- dropdownOption: QueryList<ElementRef>;
7
7
  options: OptionModel[];
8
8
  activeItem: OptionModel | null;
9
- searchText: string;
9
+ getSuperControl: AbstractControl<any, any> | null;
10
10
  inputConfig: ICaInput;
11
- label: keyof OptionModel;
12
- set inputHoveredItem(val: number);
13
- _inputHoveredItem: number;
14
- get inputHoveredItem(): number;
15
11
  onActiveItem: EventEmitter<OptionModel>;
16
12
  constructor();
13
+ identity(index: number, item: OptionModel): number | undefined;
17
14
  onActiveItemEmit(option: OptionModel): void;
18
15
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownDefaultTemplateComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDefaultTemplateComponent, "app-ca-input-dropdown-default-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDefaultTemplateComponent, "app-ca-input-dropdown-default-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
20
17
  }
@@ -1,22 +1,19 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import { InputDropdownSvgRoutes } from '../../utils/svg-routes/input-dropdown-svg-routes';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CaInputDropdownDetailsTemplateComponent {
6
7
  options: OptionModel[];
7
8
  activeItem: OptionModel | null;
8
- searchText: string;
9
+ getSuperControl: AbstractControl<any, any> | null;
9
10
  sort: string;
10
- label: keyof OptionModel;
11
11
  onActiveItem: EventEmitter<OptionModel>;
12
- dropdownOption: QueryList<ElementRef>;
13
- set inputHoveredItem(val: number);
14
- _inputHoveredItem: number;
15
- get inputHoveredItem(): number;
16
12
  hoveringIndex: number;
17
13
  inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
18
14
  constructor();
15
+ identity(index: number, item: OptionModel): number | undefined;
19
16
  onActiveItemEmit(option: OptionModel): void;
20
17
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownDetailsTemplateComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDetailsTemplateComponent, "app-ca-input-dropdown-details-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDetailsTemplateComponent, "app-ca-input-dropdown-details-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
22
19
  }
@@ -1,19 +1,16 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CaInputDropdownDispatchComponent {
5
6
  options: OptionModel[];
6
7
  activeItem: OptionModel | null;
7
- searchText: string;
8
- label: keyof OptionModel;
9
- dropdownOption: QueryList<ElementRef>;
10
- set inputHoveredItem(val: number);
11
- _inputHoveredItem: number;
12
- get inputHoveredItem(): number;
8
+ getSuperControl: AbstractControl<any, any> | null;
13
9
  onActiveItem: EventEmitter<OptionModel>;
14
10
  hoveredOption: number;
15
11
  constructor();
12
+ identity(index: number, item: OptionModel): number | undefined;
16
13
  onActiveItemEmit(option: OptionModel): void;
17
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownDispatchComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDispatchComponent, "app-ca-input-dropdown-dispatch", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDispatchComponent, "app-ca-input-dropdown-dispatch", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
19
16
  }
@@ -1,20 +1,17 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import { InputDropdownSvgRoutes } from '../../utils/svg-routes/input-dropdown-svg-routes';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CaInputDropdownDoubleTextTemplateComponent {
6
7
  options: OptionModel[];
7
8
  activeItem: OptionModel | null;
8
- searchText: string;
9
- label: keyof OptionModel;
10
- dropdownOption: QueryList<ElementRef>;
11
- set inputHoveredItem(val: number);
12
- _inputHoveredItem: number;
13
- get inputHoveredItem(): number;
9
+ getSuperControl: AbstractControl<any, any> | null;
14
10
  onActiveItem: EventEmitter<OptionModel>;
15
11
  inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
16
12
  constructor();
13
+ identity(index: number, item: OptionModel): number | undefined;
17
14
  onActiveItemEmit(option: OptionModel): void;
18
15
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownDoubleTextTemplateComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDoubleTextTemplateComponent, "app-ca-input-dropdown-double-text-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownDoubleTextTemplateComponent, "app-ca-input-dropdown-double-text-template", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
20
17
  }
@@ -1,16 +1,12 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import { InputDropdownSvgRoutes } from '../../utils/svg-routes/input-dropdown-svg-routes';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CaInputDropdownFuelFranchiseComponent {
6
7
  options: OptionModel[];
7
8
  activeItem: OptionModel | null;
8
- searchText: string;
9
- label: keyof OptionModel;
10
- dropdownOption: QueryList<ElementRef>;
11
- set inputHoveredItem(val: number);
12
- _inputHoveredItem: number;
13
- get inputHoveredItem(): number;
9
+ getSuperControl: AbstractControl<any, any> | null;
14
10
  toggleNestedList: EventEmitter<OptionModel>;
15
11
  onActiveItem: EventEmitter<OptionModel>;
16
12
  onActiveItemGroup: EventEmitter<{
@@ -19,9 +15,10 @@ export declare class CaInputDropdownFuelFranchiseComponent {
19
15
  }>;
20
16
  inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
21
17
  constructor();
18
+ identity(index: number, item: OptionModel): number | undefined;
22
19
  onActiveItemGroupEmit(option: OptionModel, store: any): void;
23
20
  onActiveItemEmit(option: OptionModel): void;
24
21
  toggleNestedListEmit(option: OptionModel): void;
25
22
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownFuelFranchiseComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownFuelFranchiseComponent, "app-ca-input-dropdown-fuel-franchise", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "toggleNestedList": "toggleNestedList"; "onActiveItem": "onActiveItem"; "onActiveItemGroup": "onActiveItemGroup"; }, never, never, true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownFuelFranchiseComponent, "app-ca-input-dropdown-fuel-franchise", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "toggleNestedList": "toggleNestedList"; "onActiveItem": "onActiveItem"; "onActiveItemGroup": "onActiveItemGroup"; }, never, never, true, never>;
27
24
  }
@@ -1,18 +1,15 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CaInputDropdownGroupsComponent {
5
6
  options: OptionModel[];
6
7
  activeItem: OptionModel | null;
7
- searchText: string;
8
- label: keyof OptionModel;
9
- dropdownOption: QueryList<ElementRef>;
10
- set inputHoveredItem(val: number);
11
- _inputHoveredItem: number;
12
- get inputHoveredItem(): number;
8
+ getSuperControl: AbstractControl<any, any> | null;
13
9
  onActiveItem: EventEmitter<OptionModel>;
14
10
  constructor();
11
+ identity(index: number, item: OptionModel): number | undefined;
15
12
  onActiveItemEmit(option: OptionModel): void;
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownGroupsComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownGroupsComponent, "app-ca-input-dropdown-groups", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownGroupsComponent, "app-ca-input-dropdown-groups", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
18
15
  }
@@ -1,4 +1,5 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import { ICaInput } from '../../../ca-input/config';
4
5
  import { InputDropdownSvgRoutes } from '../../utils/svg-routes/input-dropdown-svg-routes';
@@ -6,19 +7,15 @@ import * as i0 from "@angular/core";
6
7
  export declare class CaInputDropdownLabelsComponent {
7
8
  options: OptionModel[];
8
9
  activeItem: OptionModel | null;
9
- searchText: string;
10
+ getSuperControl: AbstractControl<any, any> | null;
10
11
  inputConfig: ICaInput;
11
12
  labelMode: 'Label' | 'Color';
12
13
  canAddNew: boolean;
13
- label: keyof OptionModel;
14
14
  onActiveItem: EventEmitter<OptionModel>;
15
- dropdownOption: QueryList<ElementRef>;
16
- set inputHoveredItem(val: number);
17
- _inputHoveredItem: number;
18
- get inputHoveredItem(): number;
19
15
  inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
20
16
  constructor();
17
+ identity(index: number, item: OptionModel): number | undefined;
21
18
  onActiveItemEmit(option: OptionModel): void;
22
19
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLabelsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLabelsComponent, "app-ca-input-dropdown-labels", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLabelsComponent, "app-ca-input-dropdown-labels", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "labelMode": { "alias": "labelMode"; "required": false; }; "canAddNew": { "alias": "canAddNew"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
24
21
  }
@@ -1,18 +1,15 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CaInputDropdownLoadBrokerComponent {
5
6
  options: OptionModel[];
6
7
  activeItem: OptionModel | null;
7
- searchText: string;
8
- label: keyof OptionModel;
9
- dropdownOption: QueryList<ElementRef>;
10
- set inputHoveredItem(val: number);
11
- _inputHoveredItem: number;
12
- get inputHoveredItem(): number;
8
+ getSuperControl: AbstractControl<any, any> | null;
13
9
  onActiveItem: EventEmitter<OptionModel>;
14
10
  constructor();
11
+ identity(index: number, item: OptionModel): number | undefined;
15
12
  onActiveItemEmit(option: OptionModel): void;
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerComponent, "app-ca-input-dropdown-load-broker", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerComponent, "app-ca-input-dropdown-load-broker", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
18
15
  }
@@ -1,18 +1,15 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CaInputDropdownLoadBrokerContactComponent {
5
6
  options: OptionModel[];
6
7
  activeItem: OptionModel | null;
7
- searchText: string;
8
- label: keyof OptionModel;
9
- dropdownOption: QueryList<ElementRef>;
10
- set inputHoveredItem(val: number);
11
- _inputHoveredItem: number;
12
- get inputHoveredItem(): number;
8
+ getSuperControl: AbstractControl<any, any> | null;
13
9
  onActiveItem: EventEmitter<OptionModel>;
14
10
  constructor();
11
+ identity(index: number, item: OptionModel): number | undefined;
15
12
  onActiveItemEmit(option: OptionModel): void;
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerContactComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerContactComponent, "app-ca-input-dropdown-load-broker-contact", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerContactComponent, "app-ca-input-dropdown-load-broker-contact", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
18
15
  }
@@ -1,18 +1,15 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class CaInputDropdownLoadBrokerShipperComponent {
5
6
  options: OptionModel[];
6
7
  activeItem: OptionModel | null;
7
- searchText: string;
8
- label: keyof OptionModel;
9
- dropdownOption: QueryList<ElementRef>;
10
- set inputHoveredItem(val: number);
11
- _inputHoveredItem: number;
12
- get inputHoveredItem(): number;
8
+ getSuperControl: AbstractControl<any, any> | null;
13
9
  onActiveItem: EventEmitter<OptionModel>;
14
10
  constructor();
11
+ identity(index: number, item: OptionModel): number | undefined;
15
12
  onActiveItemEmit(option: OptionModel): void;
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadBrokerShipperComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerShipperComponent, "app-ca-input-dropdown-load-shipper", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadBrokerShipperComponent, "app-ca-input-dropdown-load-shipper", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
18
15
  }
@@ -1,20 +1,15 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
- import { ICaInput } from '../../../ca-input/config';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CaInputDropdownLoadDispatcherComponent {
6
- inputConfig: ICaInput;
7
6
  options: OptionModel[];
8
7
  activeItem: OptionModel | null;
9
- searchText: string;
10
- label: keyof OptionModel;
11
- dropdownOption: QueryList<ElementRef>;
12
- set inputHoveredItem(val: number);
13
- _inputHoveredItem: number;
14
- get inputHoveredItem(): number;
8
+ getSuperControl: AbstractControl<any, any> | null;
15
9
  onActiveItem: EventEmitter<OptionModel>;
16
10
  constructor();
11
+ identity(index: number, item: OptionModel): number | undefined;
17
12
  onActiveItemEmit(option: OptionModel): void;
18
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadDispatcherComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadDispatcherComponent, "app-ca-input-dropdown-load-dispatcher", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadDispatcherComponent, "app-ca-input-dropdown-load-dispatcher", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
20
15
  }
@@ -1,20 +1,17 @@
1
- import { ElementRef, EventEmitter, QueryList } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
2
3
  import { OptionModel } from '../../models/input-dropdown-option.model';
3
4
  import { InputDropdownSvgRoutes } from '../../utils/svg-routes/input-dropdown-svg-routes';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CaInputDropdownLoadDispatchesTtdComponent {
6
7
  options: OptionModel[];
7
8
  activeItem: OptionModel | null;
8
- searchText: string;
9
- label: keyof OptionModel;
10
- dropdownOption: QueryList<ElementRef>;
11
- set inputHoveredItem(val: number);
12
- _inputHoveredItem: number;
13
- get inputHoveredItem(): number;
9
+ getSuperControl: AbstractControl<any, any> | null;
14
10
  onActiveItem: EventEmitter<OptionModel>;
15
11
  inputDropdownSvgRoutes: typeof InputDropdownSvgRoutes;
16
12
  constructor();
13
+ identity(index: number, item: OptionModel): number | undefined;
17
14
  onActiveItemEmit(option: OptionModel): void;
18
15
  static ɵfac: i0.ɵɵFactoryDeclaration<CaInputDropdownLoadDispatchesTtdComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadDispatchesTtdComponent, "app-ca-input-dropdown-load-dispatches-ttd", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputHoveredItem": { "alias": "inputHoveredItem"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaInputDropdownLoadDispatchesTtdComponent, "app-ca-input-dropdown-load-dispatches-ttd", never, { "options": { "alias": "options"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "getSuperControl": { "alias": "getSuperControl"; "required": false; }; }, { "onActiveItem": "onActiveItem"; }, never, never, true, never>;
20
17
  }