@ieeesa-npm/presentation 0.8.9 → 0.9.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.
@@ -25,6 +25,7 @@ export declare class AutocompleteComponent implements OnInit, FormField, OnDestr
25
25
  get autoCompleteOptions(): AutoCompleteOption[];
26
26
  isSelectedOptionsVisible: boolean;
27
27
  autoCompleteSearchValue: EventEmitter<string>;
28
+ autoCompleteClearSearchValue: EventEmitter<string>;
28
29
  autoCompleteOptionSelected: EventEmitter<AutoCompleteOption>;
29
30
  autoComplete: ElementRef;
30
31
  destroy$: Subject<boolean>;
@@ -73,5 +74,5 @@ export declare class AutocompleteComponent implements OnInit, FormField, OnDestr
73
74
  */
74
75
  ngOnDestroy(): void;
75
76
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ieeesa-autocomplete", never, { "autoCompleteOptions": { "alias": "autoCompleteOptions"; "required": false; }; "isSelectedOptionsVisible": { "alias": "isSelectedOptionsVisible"; "required": false; }; }, { "autoCompleteSearchValue": "autoCompleteSearchValue"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; }, never, never, true, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ieeesa-autocomplete", never, { "autoCompleteOptions": { "alias": "autoCompleteOptions"; "required": false; }; "isSelectedOptionsVisible": { "alias": "isSelectedOptionsVisible"; "required": false; }; }, { "autoCompleteSearchValue": "autoCompleteSearchValue"; "autoCompleteClearSearchValue": "autoCompleteClearSearchValue"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; }, never, never, true, never>;
77
78
  }
@@ -26,7 +26,7 @@ export declare class CheckboxComponent implements OnInit, FormField, OnDestroy {
26
26
  */
27
27
  set checkboxes(value: CheckboxOption[]);
28
28
  get checkboxes(): CheckboxOption[];
29
- set isRecreateCheckboxControls(value: CheckboxOption[]);
29
+ set recreateCheckboxOptionsControl(value: CheckboxOption[]);
30
30
  selectedCheckboxesInfo: SelectionModel<CheckboxOption>;
31
31
  checkboxSelection: EventEmitter<CheckboxOption>;
32
32
  checkboxOptionsAndSelection: EventEmitter<CheckboxOption[]>;
@@ -43,7 +43,7 @@ export declare class CheckboxComponent implements OnInit, FormField, OnDestroy {
43
43
  * Recreate form controls whenever the new set of checkboxes are loaded when component is already initialized
44
44
  * @memberof CheckboxComponent
45
45
  */
46
- recreateFormControl(checkboxes: CheckboxOption[]): void;
46
+ recreateFormControl(): void;
47
47
  /**
48
48
  * Creates form group and initializes components properties from config.
49
49
  * @memberof CheckboxComponent
@@ -69,5 +69,5 @@ export declare class CheckboxComponent implements OnInit, FormField, OnDestroy {
69
69
  */
70
70
  ngOnDestroy(): void;
71
71
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ieeesa-checkbox", never, { "checkboxes": { "alias": "checkboxes"; "required": false; }; "isRecreateCheckboxControls": { "alias": "isRecreateCheckboxControls"; "required": false; }; }, { "checkboxSelection": "checkboxSelection"; "checkboxOptionsAndSelection": "checkboxOptionsAndSelection"; "selectedCheckboxes": "selectedCheckboxes"; }, never, never, true, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ieeesa-checkbox", never, { "checkboxes": { "alias": "checkboxes"; "required": false; }; "recreateCheckboxOptionsControl": { "alias": "recreateCheckboxOptionsControl"; "required": false; }; }, { "checkboxSelection": "checkboxSelection"; "checkboxOptionsAndSelection": "checkboxOptionsAndSelection"; "selectedCheckboxes": "selectedCheckboxes"; }, never, never, true, never>;
73
73
  }
@@ -62,6 +62,7 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
62
62
  }>;
63
63
  formControlChange: EventEmitter<Event>;
64
64
  formAutoCompleteSearch: EventEmitter<string>;
65
+ formAutoCompleteClearSearchValue: EventEmitter<string>;
65
66
  autoCompleteOptionSelected: EventEmitter<FormGroup<any>[]>;
66
67
  formAfterContentInit: EventEmitter<FormGroup<any>[]>;
67
68
  formSelectedDateRange: EventEmitter<{
@@ -184,10 +185,16 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
184
185
  }): void;
185
186
  /**
186
187
  * Handles form field auto complete search event
187
- * @param {Event} event
188
+ * @param {string} event
188
189
  * @memberof DynamicFormComponent
189
190
  */
190
191
  onAutoCompleteSearch(event: string): void;
192
+ /**
193
+ * Handles form field auto complete search clear event
194
+ * @param {string} event
195
+ * @memberof DynamicFormComponent
196
+ */
197
+ onAutoCompleteClearSearchValue(event: string): void;
191
198
  /**
192
199
  * Handles form field checkbox selection event
193
200
  * @param {CheckboxOption} option
@@ -207,5 +214,5 @@ export declare class DynamicFormComponent implements OnInit, AfterContentInit {
207
214
  */
208
215
  getRowClassName(className: string): string;
209
216
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
210
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "ieeesa-dynamic-form", ["dynamicForm"], { "formGroups": { "alias": "formGroups"; "required": false; }; "submitResponse": { "alias": "submitResponse"; "required": false; }; "searchResponse": { "alias": "searchResponse"; "required": false; }; "colWidth": { "alias": "colWidth"; "required": false; }; "isLegendVisible": { "alias": "isLegendVisible"; "required": false; }; "rightButtonLabel": { "alias": "rightButtonLabel"; "required": false; }; "leftButtonLabel": { "alias": "leftButtonLabel"; "required": false; }; "isSubmitButtonDisabled": { "alias": "isSubmitButtonDisabled"; "required": false; }; "isLeftButtonDisabled": { "alias": "isLeftButtonDisabled"; "required": false; }; "isLeftButtonNeeded": { "alias": "isLeftButtonNeeded"; "required": false; }; "actionButtonAlign": { "alias": "actionButtonAlign"; "required": false; }; }, { "formSubmit": "formSubmit"; "formChange": "formChange"; "formInput": "formInput"; "formLeftButtonClicked": "formLeftButtonClicked"; "formSearchApply": "formSearchApply"; "formGroupsReference": "formGroupsReference"; "dropdownChange": "dropdownChange"; "formCheckboxSelection": "formCheckboxSelection"; "formDateSelected": "formDateSelected"; "formSelectSearch": "formSelectSearch"; "formControlChange": "formControlChange"; "formAutoCompleteSearch": "formAutoCompleteSearch"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; "formAfterContentInit": "formAfterContentInit"; "formSelectedDateRange": "formSelectedDateRange"; }, never, never, true, never>;
217
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "ieeesa-dynamic-form", ["dynamicForm"], { "formGroups": { "alias": "formGroups"; "required": false; }; "submitResponse": { "alias": "submitResponse"; "required": false; }; "searchResponse": { "alias": "searchResponse"; "required": false; }; "colWidth": { "alias": "colWidth"; "required": false; }; "isLegendVisible": { "alias": "isLegendVisible"; "required": false; }; "rightButtonLabel": { "alias": "rightButtonLabel"; "required": false; }; "leftButtonLabel": { "alias": "leftButtonLabel"; "required": false; }; "isSubmitButtonDisabled": { "alias": "isSubmitButtonDisabled"; "required": false; }; "isLeftButtonDisabled": { "alias": "isLeftButtonDisabled"; "required": false; }; "isLeftButtonNeeded": { "alias": "isLeftButtonNeeded"; "required": false; }; "actionButtonAlign": { "alias": "actionButtonAlign"; "required": false; }; }, { "formSubmit": "formSubmit"; "formChange": "formChange"; "formInput": "formInput"; "formLeftButtonClicked": "formLeftButtonClicked"; "formSearchApply": "formSearchApply"; "formGroupsReference": "formGroupsReference"; "dropdownChange": "dropdownChange"; "formCheckboxSelection": "formCheckboxSelection"; "formDateSelected": "formDateSelected"; "formSelectSearch": "formSelectSearch"; "formControlChange": "formControlChange"; "formAutoCompleteSearch": "formAutoCompleteSearch"; "formAutoCompleteClearSearchValue": "formAutoCompleteClearSearchValue"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; "formAfterContentInit": "formAfterContentInit"; "formSelectedDateRange": "formSelectedDateRange"; }, never, never, true, never>;
211
218
  }
@@ -26,9 +26,7 @@ export declare class FilterComponent implements OnDestroy {
26
26
  isApplyButtonDisabled: boolean;
27
27
  filtersAndOptions: Map<string | number, CheckboxOption[]>;
28
28
  destroy$: Subject<boolean>;
29
- isRecreateCheckboxControls: CheckboxOption[];
30
- prevFilterId: number | string;
31
- currFilterId: number | string;
29
+ recreateCheckboxOptionsControl: CheckboxOption[];
32
30
  private filteredTypeOptionsInfo;
33
31
  set appliedFilterOptions(options: ChipOption[]);
34
32
  get appliedFilterOptions(): ChipOption[];
@@ -36,7 +34,7 @@ export declare class FilterComponent implements OnDestroy {
36
34
  filters: ChipOption[];
37
35
  private selectedFilterOptionsList;
38
36
  selectedFilterId: string | number;
39
- selectedFilterChecked: boolean;
37
+ prevSelectedFilterOptionsList: CheckboxOption[];
40
38
  set selectedFilterOptions(options: CheckboxOption[]);
41
39
  get selectedFilterOptions(): CheckboxOption[];
42
40
  selectedFilter: EventEmitter<ChipOption>;
@@ -56,6 +56,7 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
56
56
  controlName: string;
57
57
  }>;
58
58
  formAutoCompleteSearch: EventEmitter<string>;
59
+ autoCompleteClearSearchValue: EventEmitter<string>;
59
60
  autoCompleteOptionSelected: EventEmitter<Event>;
60
61
  formCheckboxSelection: EventEmitter<CheckboxOption>;
61
62
  component: ComponentRef<any>;
@@ -76,5 +77,5 @@ export declare class DynamicFormFieldDirective implements FormField, OnInit, OnD
76
77
  */
77
78
  ngOnDestroy(): void;
78
79
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormFieldDirective, never>;
79
- static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicFormFieldDirective, "[ieeesaDynamicFormField]", never, { "config": { "alias": "config"; "required": false; }; "group": { "alias": "group"; "required": false; }; "submitResponse": { "alias": "submitResponse"; "required": false; }; "searchResponse": { "alias": "searchResponse"; "required": false; }; }, { "formSearchApply": "formSearchApply"; "formDropdownSelected": "formDropdownSelected"; "formDateSelected": "formDateSelected"; "formSelectedDateRange": "formSelectedDateRange"; "formSelectSearch": "formSelectSearch"; "formAutoCompleteSearch": "formAutoCompleteSearch"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; "formCheckboxSelection": "formCheckboxSelection"; }, never, never, true, never>;
80
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicFormFieldDirective, "[ieeesaDynamicFormField]", never, { "config": { "alias": "config"; "required": false; }; "group": { "alias": "group"; "required": false; }; "submitResponse": { "alias": "submitResponse"; "required": false; }; "searchResponse": { "alias": "searchResponse"; "required": false; }; }, { "formSearchApply": "formSearchApply"; "formDropdownSelected": "formDropdownSelected"; "formDateSelected": "formDateSelected"; "formSelectedDateRange": "formSelectedDateRange"; "formSelectSearch": "formSelectSearch"; "formAutoCompleteSearch": "formAutoCompleteSearch"; "autoCompleteClearSearchValue": "autoCompleteClearSearchValue"; "autoCompleteOptionSelected": "autoCompleteOptionSelected"; "formCheckboxSelection": "formCheckboxSelection"; }, never, never, true, never>;
80
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.8.9",
3
+ "version": "0.9.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -19,7 +19,7 @@
19
19
  "rxjs": "~7.8.0",
20
20
  "zone.js": "~0.13.0",
21
21
  "@ieeesa-npm/shared-styles": "^0.2.1",
22
- "@ieeesa-npm/feature": "^0.7.1"
22
+ "@ieeesa-npm/feature": "^0.7.3"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.3.0"