@colijnit/corecomponents_v12 12.1.7 → 12.1.9

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,13 +1,15 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { CoreComponentsIcon } from '../../core/enum/core-components-icon.enum';
3
3
  import { FilterItemViewmodel } from './filter-item-viewmodel';
4
4
  import { IconCacheService } from '../icon/icon-cache.service';
5
5
  import { FilterItemMode } from '../../core/enum/filterItem-mode.enum';
6
6
  export declare class FilterItemComponent implements OnInit {
7
7
  iconService: IconCacheService;
8
+ private _changeDetector;
8
9
  icons: typeof CoreComponentsIcon;
9
10
  modes: typeof FilterItemMode;
10
- mode: FilterItemMode;
11
+ set mode(value: FilterItemMode);
12
+ get mode(): FilterItemMode;
11
13
  set collection(value: FilterItemViewmodel[]);
12
14
  get collection(): FilterItemViewmodel[];
13
15
  placeholder: string;
@@ -24,10 +26,10 @@ export declare class FilterItemComponent implements OnInit {
24
26
  noResultsLabel: string;
25
27
  sliderDefaultMin: number;
26
28
  sliderDefaultMax: number;
27
- set model(filterString: any);
29
+ set model(newModel: any);
28
30
  get model(): any;
29
31
  modelChange: EventEmitter<any>;
30
- collectionChange: EventEmitter<any>;
32
+ collectionChange: EventEmitter<FilterItemViewmodel[]>;
31
33
  filterButtonClicked: EventEmitter<void>;
32
34
  filteredCollection: FilterItemViewmodel[];
33
35
  limitTo: number;
@@ -39,36 +41,38 @@ export declare class FilterItemComponent implements OnInit {
39
41
  dateRangeEnd: Date;
40
42
  checkBoxToTextModel: boolean;
41
43
  private _collection;
44
+ private _mode;
42
45
  private _model;
43
- constructor(iconService: IconCacheService);
46
+ constructor(iconService: IconCacheService, _changeDetector: ChangeDetectorRef);
44
47
  ngOnInit(): void;
45
48
  setToInitialLimit(): void;
46
49
  increaseLimit(): void;
47
50
  moreToShow(): boolean;
48
51
  lessToShow(): boolean;
49
52
  handleModelChange(model: any): void;
50
- private uncheckForSingleSelect;
51
- private createModelForFilterList;
52
- private createModelForStringCollectionList;
53
- private createModelForSingleSelectList;
54
- private createModelForSelectListWithNumberOutput;
55
- createModelForSliderMode(): void;
56
- private createModelForCheckboxToText;
57
- private createModelForCheckboxToSimpleText;
58
- private createModelForCheckboxToBinary;
59
- private createModelForDateRange;
60
- private _formatDateToString;
61
- readModelForFilterList(filterModel: string): void;
62
- readModelForSingleSelectList(singleSelectModel: string): void;
63
- readModelForStringCollectionList(collectionModel: string[]): void;
64
- readModelForSelectListWithNumberOutput(numberModel: number): void;
65
- uncheckAll(): void;
66
- readModelForSliderMode(sliderModel: string): void;
67
- readModelForCheckboxToText(checkboxToTextModel: string): void;
68
- readModelForCheckboxToBinary(checkboxToBinary: number): void;
69
- readModelForDateField(dateFieldModel: string): void;
70
- readModelForDateRangeField(dateRangeFieldModel: string): void;
71
53
  valueSelected(): boolean;
72
54
  applyFilter(text: string): Promise<[]>;
73
55
  onButtonClicked(): void;
56
+ private uncheckForSingleSelect;
57
+ private readModelForMode;
58
+ private _createModelForFilterList;
59
+ private _createModelForStringCollectionList;
60
+ private _createModelForSingleSelectList;
61
+ private _createModelForSelectListWithNumberOutput;
62
+ private _createModelForSliderMode;
63
+ private _createModelForCheckboxToText;
64
+ private _createModelForCheckboxToSimpleText;
65
+ private _createModelForCheckboxToBinary;
66
+ private _createModelForDateRange;
67
+ private _formatDateToString;
68
+ private _readModelForFilterList;
69
+ private _readModelForSingleSelectList;
70
+ private _readModelForStringCollectionList;
71
+ private _readModelForSelectListWithNumberOutput;
72
+ private _uncheckAll;
73
+ private _readModelForSliderMode;
74
+ private _readModelForCheckboxToText;
75
+ private _readModelForCheckboxToBinary;
76
+ private _readModelForDateField;
77
+ private _readModelForDateRangeField;
74
78
  }
@@ -1,5 +1,5 @@
1
1
  export declare enum FilterItemMode {
2
- FilterList = "filterList",
2
+ Filterlist = "filterlist",
3
3
  SingleSelectList = "singleSelectList",
4
4
  SelectListWithStringCollectionOutput = "selectListWithStringCollectionOutput",
5
5
  SelectListWithNumberOutput = "selectListWithNumberOutput",
@@ -3,6 +3,11 @@ import { OverlayParentDirective } from './overlay-parent.directive';
3
3
  export declare class OverlayDirective implements OnDestroy, OnInit {
4
4
  set parent(value: OverlayParentDirective | ElementRef);
5
5
  view: HTMLElement;
6
+ /**
7
+ * true; Element is added to the parent template
8
+ * false; Element is added to the bottom of the DOM
9
+ */
10
+ inline: boolean;
6
11
  keepInView: boolean;
7
12
  inheritWidth: boolean;
8
13
  rightAlign: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "12.1.7",
3
+ "version": "12.1.9",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {