ng-select2-component 11.0.0 → 12.0.0

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,225 +1,236 @@
1
- import { ConnectedPosition } from '@angular/cdk/overlay';
2
- import { ViewportRuler } from '@angular/cdk/scrolling';
3
- import { AfterViewInit, ChangeDetectorRef, DoCheck, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
4
- import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
5
- import { Select2Data, Select2Group, Select2Option, Select2RemoveEvent, Select2ScrollEvent, Select2SearchEvent, Select2UpdateEvent, Select2UpdateValue } from './select2-interfaces';
6
- import * as i0 from "@angular/core";
7
- export declare class Select2 implements ControlValueAccessor, OnInit, OnDestroy, DoCheck, AfterViewInit {
8
- protected _viewportRuler: ViewportRuler;
9
- private _changeDetectorRef;
10
- private _parentForm;
11
- private _parentFormGroup;
12
- _control: NgControl;
13
- _data: Select2Data;
14
- /** data of options & optiongrps */
15
- set data(data: Select2Data);
16
- minCharForSearch: number;
17
- displaySearchStatus: 'default' | 'hidden' | 'always';
18
- placeholder: string;
19
- customSearchEnabled: boolean;
20
- limitSelection: number;
21
- listPosition: 'above' | 'below' | 'auto';
22
- get multiple(): any;
23
- set multiple(value: any);
24
- /** use the material style */
25
- get overlay(): any;
26
- set overlay(value: any);
27
- /** use the material style */
28
- styleMode: 'material' | 'noStyle' | 'default';
29
- /** message when no result */
30
- noResultMessage: string;
31
- /** maximum results limit (0 = no limit) */
32
- maxResults: number;
33
- /** message when maximum results */
34
- maxResultsMessage: string;
35
- /** infinite scroll distance */
36
- infiniteScrollDistance: number;
37
- /** infinite scroll distance */
38
- infiniteScrollThrottle: number;
39
- /** infinite scroll activated */
40
- get infiniteScroll(): any;
41
- set infiniteScroll(value: any);
42
- /** use it for change the pattern of the filter search */
43
- editPattern: (str: string) => string;
44
- /** template for formating */
45
- templates: TemplateRef<any> | {
46
- [key: string]: TemplateRef<any>;
47
- };
48
- /** the max height of the results container when opening the select */
49
- resultMaxHeight: string;
50
- update: EventEmitter<Select2UpdateEvent<Select2UpdateValue>>;
51
- open: EventEmitter<Select2>;
52
- close: EventEmitter<Select2>;
53
- focus: EventEmitter<Select2>;
54
- blur: EventEmitter<Select2>;
55
- search: EventEmitter<Select2SearchEvent<Select2UpdateValue>>;
56
- scroll: EventEmitter<Select2ScrollEvent>;
57
- removeOption: EventEmitter<Select2RemoveEvent<Select2UpdateValue>>;
58
- option: Select2Option | Select2Option[] | null;
59
- isOpen: boolean;
60
- searchStyle: string;
61
- /** Whether the element is focused or not. */
62
- focused: boolean;
63
- filteredData: Select2Data;
64
- get select2Options(): Select2Option[];
65
- get select2Option(): Select2Option;
66
- get searchText(): string;
67
- set searchText(text: string);
68
- /** minimal data of show the search field */
69
- get minCountForSearch(): number | string;
70
- set minCountForSearch(value: number | string);
71
- /** Unique id of the element. */
72
- get id(): string;
73
- set id(value: string);
74
- /** Whether the element is required. */
75
- get required(): any;
76
- set required(value: any);
77
- /** Whether selected items should be hidden. */
78
- get disabled(): any;
79
- set disabled(value: any);
80
- /** Whether items are hidden when has. */
81
- get hideSelectedItems(): any;
82
- set hideSelectedItems(value: any);
83
- /** Whether the element is readonly. */
84
- get readonly(): any;
85
- set readonly(value: any);
86
- /** The input element's value. */
87
- get value(): Select2UpdateValue;
88
- set value(value: Select2UpdateValue);
89
- /** Tab index for the select2 element. */
90
- get tabIndex(): number;
91
- set tabIndex(value: number);
92
- /** reset with no selected value */
93
- get resettable(): any;
94
- set resettable(value: any);
95
- get ariaInvalid(): boolean;
96
- get classMaterial(): boolean;
97
- get classNostyle(): boolean;
98
- get select2above(): boolean;
99
- overlayWidth: number;
100
- overlayHeight: number;
101
- _triggerRect: DOMRect;
102
- _dropdownRect: DOMRect;
103
- get _positions(): ConnectedPosition[];
104
- maxResultsExceeded: boolean;
105
- private _minCountForSearch?;
106
- private cdkConnectedOverlay;
107
- private selection;
108
- private resultContainer;
109
- private results;
110
- private searchInput;
111
- private dropdown;
112
- private hoveringValue;
113
- private innerSearchText;
114
- private isSearchboxHidden;
115
- private selectionElement;
116
- private get resultsElement();
117
- private _stateChanges;
118
- /** Tab index for the element. */
119
- private _tabIndex;
120
- private _disabled;
121
- private _required;
122
- private _readonly;
123
- private _multiple;
124
- private _overlay;
125
- private _resettable;
126
- private _hideSelectedItems;
127
- private _clickDetection;
128
- private _clickDetectionFc;
129
- private _id;
130
- private _uid;
131
- private _value;
132
- private _previousNativeValue;
133
- private _infiniteScroll;
134
- private _overlayPosition;
135
- constructor(_viewportRuler: ViewportRuler, _changeDetectorRef: ChangeDetectorRef, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _control: NgControl, tabIndex: string);
136
- /** View -> model callback called when select has been touched */
137
- private _onTouched;
138
- /** View -> model callback called when value changes */
139
- private _onChange;
140
- ngOnInit(): void;
141
- ngAfterViewInit(): void;
142
- ngDoCheck(): void;
143
- ngOnDestroy(): void;
144
- updateSearchBox(): void;
145
- hideSearch(): boolean;
146
- getOptionStyle(option: Select2Option): string;
147
- mouseenter(option: Select2Option): void;
148
- click(option: Select2Option): void;
149
- reset(e: MouseEvent): void;
150
- prevChange(event: Event): void;
151
- toggleOpenAndClose(): void;
152
- hasTemplate(option: Select2Option | Select2Group, defaut: string): boolean;
153
- getTemplate(option: Select2Option | Select2Group, defaut: string): any;
154
- triggerRect(): void;
155
- private testSelection;
156
- private testValueChange;
157
- private updateFilteredData;
158
- private clickDetection;
159
- private clickExit;
160
- private ifParentContainsClass;
161
- private ifParentContainsId;
162
- private getParentElementByClass;
163
- private getParentElementById;
164
- private containClasses;
165
- focusin(): void;
166
- focusout(): void;
167
- select(option: Select2Option | null): void;
168
- keyDown(e: KeyboardEvent): void;
169
- openKey(e: KeyboardEvent): void;
170
- trackBy(_index: number, item: Select2Option): any;
171
- searchUpdate(e: Event): void;
172
- isSelected(option: Select2Option): "true" | "false";
173
- isDisabled(option: Select2Option): "true" | "false";
174
- removeSelection(e: MouseEvent | KeyboardEvent, option: Select2Option): void;
175
- /**
176
- * Sets the model value. Implemented as part of ControlValueAccessor.
177
- * @param value
178
- */
179
- writeValue(value: any): void;
180
- /**
181
- * Saves a callback function to be invoked when the select's value
182
- * changes from user input. Part of the ControlValueAccessor interface
183
- * required to integrate with Angular's core forms API.
184
- *
185
- * @param fn Callback to be triggered when the value changes.
186
- */
187
- registerOnChange(fn: (value: any) => void): void;
188
- /**
189
- * Saves a callback function to be invoked when the select is blurred
190
- * by the user. Part of the ControlValueAccessor interface required
191
- * to integrate with Angular's core forms API.
192
- *
193
- * @param fn Callback to be triggered when the component has been touched.
194
- */
195
- registerOnTouched(fn: () => {}): void;
196
- /**
197
- * Sets whether the component should be disabled.
198
- * Implemented as part of ControlValueAccessor.
199
- * @param isDisabled
200
- */
201
- setDisabledState(isDisabled: boolean): void;
202
- onScroll(way: 'up' | 'down'): void;
203
- _isErrorState(): boolean;
204
- private moveUp;
205
- private moveDown;
206
- private updateScrollFromOption;
207
- private selectByEnter;
208
- private _testKey;
209
- private _getKey;
210
- private _isKey;
211
- /**
212
- * Sets the selected option based on a value. If no option can be
213
- * found with the designated value, the select trigger is cleared.
214
- */
215
- private _setSelectionByValue;
216
- /** Does some manual dirty checking on the native input `value` property. */
217
- private _dirtyCheckNativeValue;
218
- private _coerceBooleanProperty;
219
- private _focusSearchboxOrResultsElement;
220
- private _focus;
221
- private _isAbobeOverlay;
222
- static ɵfac: i0.ɵɵFactoryDeclaration<Select2, [null, null, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { attribute: "tabindex"; }]>;
223
- static ɵcmp: i0.ɵɵComponentDeclaration<Select2, "select2", never, { "data": "data"; "minCharForSearch": "minCharForSearch"; "displaySearchStatus": "displaySearchStatus"; "placeholder": "placeholder"; "customSearchEnabled": "customSearchEnabled"; "limitSelection": "limitSelection"; "listPosition": "listPosition"; "multiple": "multiple"; "overlay": "overlay"; "styleMode": "styleMode"; "noResultMessage": "noResultMessage"; "maxResults": "maxResults"; "maxResultsMessage": "maxResultsMessage"; "infiniteScrollDistance": "infiniteScrollDistance"; "infiniteScrollThrottle": "infiniteScrollThrottle"; "infiniteScroll": "infiniteScroll"; "editPattern": "editPattern"; "templates": "templates"; "resultMaxHeight": "resultMaxHeight"; "minCountForSearch": "minCountForSearch"; "id": "id"; "required": "required"; "disabled": "disabled"; "hideSelectedItems": "hideSelectedItems"; "readonly": "readonly"; "value": "value"; "tabIndex": "tabIndex"; "resettable": "resettable"; }, { "update": "update"; "open": "open"; "close": "close"; "focus": "focus"; "blur": "blur"; "search": "search"; "scroll": "scroll"; "removeOption": "removeOption"; }, never, ["select2-label", "select2-hint"], false, never>;
224
- }
1
+ import { ConnectedPosition } from '@angular/cdk/overlay';
2
+ import { ViewportRuler } from '@angular/cdk/scrolling';
3
+ import { AfterViewInit, ChangeDetectorRef, DoCheck, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
4
+ import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
5
+ import { Select2Data, Select2Group, Select2Option, Select2RemoveEvent, Select2ScrollEvent, Select2SearchEvent, Select2UpdateEvent, Select2UpdateValue } from './select2-interfaces';
6
+ import * as i0 from "@angular/core";
7
+ export declare class Select2 implements ControlValueAccessor, OnInit, OnDestroy, DoCheck, AfterViewInit {
8
+ protected _viewportRuler: ViewportRuler;
9
+ private _changeDetectorRef;
10
+ private _parentForm;
11
+ private _parentFormGroup;
12
+ _control: NgControl;
13
+ _data: Select2Data;
14
+ /** data of options & optiongrps */
15
+ set data(data: Select2Data);
16
+ minCharForSearch: number;
17
+ displaySearchStatus: 'default' | 'hidden' | 'always';
18
+ placeholder: string;
19
+ customSearchEnabled: boolean;
20
+ limitSelection: number;
21
+ listPosition: 'above' | 'below' | 'auto';
22
+ get multiple(): any;
23
+ set multiple(value: any);
24
+ /** use the material style */
25
+ get overlay(): any;
26
+ set overlay(value: any);
27
+ /** use the material style */
28
+ styleMode: 'material' | 'noStyle' | 'default';
29
+ /** message when no result */
30
+ noResultMessage: string;
31
+ /** maximum results limit (0 = no limit) */
32
+ maxResults: number;
33
+ /** message when maximum results */
34
+ maxResultsMessage: string;
35
+ /** infinite scroll distance */
36
+ infiniteScrollDistance: number;
37
+ /** infinite scroll distance */
38
+ infiniteScrollThrottle: number;
39
+ /** infinite scroll activated */
40
+ get infiniteScroll(): any;
41
+ set infiniteScroll(value: any);
42
+ /** auto create if not existe */
43
+ get autoCreate(): any;
44
+ set autoCreate(value: any);
45
+ /** no template for label selection */
46
+ get noLabelTemplate(): any;
47
+ set noLabelTemplate(value: any);
48
+ /** use it for change the pattern of the filter search */
49
+ editPattern: (str: string) => string;
50
+ /** template for formating */
51
+ templates: TemplateRef<any> | {
52
+ [key: string]: TemplateRef<any>;
53
+ };
54
+ /** the max height of the results container when opening the select */
55
+ resultMaxHeight: string;
56
+ update: EventEmitter<Select2UpdateEvent<Select2UpdateValue>>;
57
+ open: EventEmitter<Select2>;
58
+ close: EventEmitter<Select2>;
59
+ focus: EventEmitter<Select2>;
60
+ blur: EventEmitter<Select2>;
61
+ search: EventEmitter<Select2SearchEvent<Select2UpdateValue>>;
62
+ scroll: EventEmitter<Select2ScrollEvent>;
63
+ removeOption: EventEmitter<Select2RemoveEvent<Select2UpdateValue>>;
64
+ option: Select2Option | Select2Option[] | null;
65
+ isOpen: boolean;
66
+ searchStyle: string;
67
+ /** Whether the element is focused or not. */
68
+ focused: boolean;
69
+ filteredData: Select2Data;
70
+ get select2Options(): Select2Option[];
71
+ get select2Option(): Select2Option;
72
+ get searchText(): string;
73
+ set searchText(text: string);
74
+ /** minimal data of show the search field */
75
+ get minCountForSearch(): number | string;
76
+ set minCountForSearch(value: number | string);
77
+ /** Unique id of the element. */
78
+ get id(): string;
79
+ set id(value: string);
80
+ /** Whether the element is required. */
81
+ get required(): any;
82
+ set required(value: any);
83
+ /** Whether selected items should be hidden. */
84
+ get disabled(): any;
85
+ set disabled(value: any);
86
+ /** Whether items are hidden when has. */
87
+ get hideSelectedItems(): any;
88
+ set hideSelectedItems(value: any);
89
+ /** Whether the element is readonly. */
90
+ get readonly(): any;
91
+ set readonly(value: any);
92
+ /** The input element's value. */
93
+ get value(): Select2UpdateValue;
94
+ set value(value: Select2UpdateValue);
95
+ /** Tab index for the select2 element. */
96
+ get tabIndex(): number;
97
+ set tabIndex(value: number);
98
+ /** reset with no selected value */
99
+ get resettable(): any;
100
+ set resettable(value: any);
101
+ get ariaInvalid(): boolean;
102
+ get classMaterial(): boolean;
103
+ get classNostyle(): boolean;
104
+ get select2above(): boolean;
105
+ overlayWidth: number;
106
+ overlayHeight: number;
107
+ _triggerRect: DOMRect;
108
+ _dropdownRect: DOMRect;
109
+ get _positions(): ConnectedPosition[];
110
+ maxResultsExceeded: boolean;
111
+ private _minCountForSearch?;
112
+ private cdkConnectedOverlay;
113
+ private selection;
114
+ private resultContainer;
115
+ private results;
116
+ private searchInput;
117
+ private dropdown;
118
+ private hoveringValue;
119
+ private innerSearchText;
120
+ private isSearchboxHidden;
121
+ private selectionElement;
122
+ private get resultsElement();
123
+ private _stateChanges;
124
+ /** Tab index for the element. */
125
+ private _tabIndex;
126
+ private _disabled;
127
+ private _required;
128
+ private _readonly;
129
+ private _multiple;
130
+ private _overlay;
131
+ private _resettable;
132
+ private _hideSelectedItems;
133
+ private _clickDetection;
134
+ private _clickDetectionFc;
135
+ private _id;
136
+ private _uid;
137
+ private _value;
138
+ private _previousNativeValue;
139
+ private _infiniteScroll;
140
+ private _autoCreate;
141
+ private _noLabelTemplate;
142
+ private _overlayPosition;
143
+ constructor(_viewportRuler: ViewportRuler, _changeDetectorRef: ChangeDetectorRef, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _control: NgControl, tabIndex: string);
144
+ /** View -> model callback called when select has been touched */
145
+ private _onTouched;
146
+ /** View -> model callback called when value changes */
147
+ private _onChange;
148
+ ngOnInit(): void;
149
+ ngAfterViewInit(): void;
150
+ ngDoCheck(): void;
151
+ ngOnDestroy(): void;
152
+ updateSearchBox(): void;
153
+ hideSearch(): boolean;
154
+ getOptionStyle(option: Select2Option): string;
155
+ mouseenter(option: Select2Option): void;
156
+ click(option: Select2Option): void;
157
+ reset(event: MouseEvent): void;
158
+ prevChange(event: Event): void;
159
+ stopEvent(event: Event): void;
160
+ toggleOpenAndClose(focus?: boolean, open?: boolean): void;
161
+ hasTemplate(option: Select2Option | Select2Group, defaut: string): boolean;
162
+ getTemplate(option: Select2Option | Select2Group, defaut: string): any;
163
+ triggerRect(): void;
164
+ private testSelection;
165
+ private testValueChange;
166
+ private updateFilteredData;
167
+ private clickDetection;
168
+ private clickExit;
169
+ private ifParentContainsClass;
170
+ private ifParentContainsId;
171
+ private getParentElementByClass;
172
+ private getParentElementById;
173
+ private containClasses;
174
+ focusin(): void;
175
+ focusout(): void;
176
+ select(option: Select2Option | null): void;
177
+ keyDown(e: KeyboardEvent, create?: boolean): void;
178
+ openKey(e: KeyboardEvent, create?: boolean): void;
179
+ searchUpdate(e: Event): void;
180
+ trackBy(_index: number, item: Select2Option): any;
181
+ isSelected(option: Select2Option): "true" | "false";
182
+ isDisabled(option: Select2Option): "true" | "false";
183
+ removeSelection(e: MouseEvent | KeyboardEvent, option: Select2Option): void;
184
+ /**
185
+ * Sets the model value. Implemented as part of ControlValueAccessor.
186
+ * @param value
187
+ */
188
+ writeValue(value: any): void;
189
+ /**
190
+ * Saves a callback function to be invoked when the select's value
191
+ * changes from user input. Part of the ControlValueAccessor interface
192
+ * required to integrate with Angular's core forms API.
193
+ *
194
+ * @param fn Callback to be triggered when the value changes.
195
+ */
196
+ registerOnChange(fn: (value: any) => void): void;
197
+ /**
198
+ * Saves a callback function to be invoked when the select is blurred
199
+ * by the user. Part of the ControlValueAccessor interface required
200
+ * to integrate with Angular's core forms API.
201
+ *
202
+ * @param fn Callback to be triggered when the component has been touched.
203
+ */
204
+ registerOnTouched(fn: () => {}): void;
205
+ /**
206
+ * Sets whether the component should be disabled.
207
+ * Implemented as part of ControlValueAccessor.
208
+ * @param isDisabled
209
+ */
210
+ setDisabledState(isDisabled: boolean): void;
211
+ onScroll(way: 'up' | 'down'): void;
212
+ _isErrorState(): boolean;
213
+ private addItem;
214
+ private createAndAdd;
215
+ private moveUp;
216
+ private moveDown;
217
+ private updateScrollFromOption;
218
+ private selectByEnter;
219
+ private _testKey;
220
+ private _getKey;
221
+ private _isKey;
222
+ /**
223
+ * Sets the selected option based on a value. If no option can be
224
+ * found with the designated value, the select trigger is cleared.
225
+ */
226
+ private _setSelectionByValue;
227
+ /** Does some manual dirty checking on the native input `value` property. */
228
+ private _dirtyCheckNativeValue;
229
+ private _coerceBooleanProperty;
230
+ private _focusSearchboxOrResultsElement;
231
+ private _focus;
232
+ private _isAbobeOverlay;
233
+ static ɵfac: i0.ɵɵFactoryDeclaration<Select2, [null, null, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { attribute: "tabindex"; }]>;
234
+ static ɵcmp: i0.ɵɵComponentDeclaration<Select2, "select2", never, { "data": { "alias": "data"; "required": false; }; "minCharForSearch": { "alias": "minCharForSearch"; "required": false; }; "displaySearchStatus": { "alias": "displaySearchStatus"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "customSearchEnabled": { "alias": "customSearchEnabled"; "required": false; }; "limitSelection": { "alias": "limitSelection"; "required": false; }; "listPosition": { "alias": "listPosition"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "styleMode": { "alias": "styleMode"; "required": false; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; }; "maxResults": { "alias": "maxResults"; "required": false; }; "maxResultsMessage": { "alias": "maxResultsMessage"; "required": false; }; "infiniteScrollDistance": { "alias": "infiniteScrollDistance"; "required": false; }; "infiniteScrollThrottle": { "alias": "infiniteScrollThrottle"; "required": false; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; }; "autoCreate": { "alias": "autoCreate"; "required": false; }; "noLabelTemplate": { "alias": "noLabelTemplate"; "required": false; }; "editPattern": { "alias": "editPattern"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; "resultMaxHeight": { "alias": "resultMaxHeight"; "required": false; }; "minCountForSearch": { "alias": "minCountForSearch"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideSelectedItems": { "alias": "hideSelectedItems"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "resettable": { "alias": "resettable"; "required": false; }; }, { "update": "update"; "open": "open"; "close": "close"; "focus": "focus"; "blur": "blur"; "search": "search"; "scroll": "scroll"; "removeOption": "removeOption"; }, never, ["select2-label", "select2-hint"], false, never>;
235
+ }
225
236
  //# sourceMappingURL=select2.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select2.component.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,iBAAiB,EAEpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EACH,aAAa,EAEb,iBAAiB,EAEjB,OAAO,EACP,YAAY,EAGZ,SAAS,EACT,MAAM,EAIN,WAAW,EAGd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAK7F,OAAO,EACH,WAAW,EACX,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAErB,MAAM,sBAAsB,CAAC;;AAO9B,qBAKa,OAAQ,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa;IAiRvF,SAAS,CAAC,cAAc,EAAE,aAAa;IACvC,OAAO,CAAC,kBAAk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a,EAAE,MAAM,EAAE,aAAa;IAkCpE;;;OAGG;IACH,UAAU,CAAC,KAAK,EAAE,GAAG;IAIrB;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI;IAIhD;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI;IAIrC;;;;OAIG;IACH,gBAAgB,CAAC,UAAU,EAAE,OAAO;IAIpC,QAAQ,CAAC,GAAG,EAAE,IAAI,GAAG,MAAM;IAQ3B,aAAa,IAAI,OAAO;IAOxB,OAAO,CAAC,OAAO;IAYf,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,sBAAsB;IAa9B,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,OAAO;IAgBf,OAAO,CAAC,MAAM;IAId;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAwB5B,4EAA4E;IAC5E,OAAO,CAAC,sBAAsB;IAS9B,OAAO,CAAC,sBAAsB;IAI9B,OAAO,CAAC,+BAA+B;IAYvC,OAAO,CAAC,MAAM;IAUd,OAAO,CAAC,eAAe;yCA16Bd,OAAO;2CAAP,OAAO;CA+6BnB"}
@@ -1,14 +1,14 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select2-hint.component";
3
- import * as i2 from "./select2-label.component";
4
- import * as i3 from "./select2.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "@angular/cdk/overlay";
8
- import * as i7 from "ngx-infinite-scroll";
9
- export declare class Select2Module {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<Select2Module, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<Select2Module, [typeof i1.Select2Hint, typeof i2.Select2Label, typeof i3.Select2], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.OverlayModule, typeof i5.ReactiveFormsModule, typeof i7.InfiniteScrollModule], [typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i1.Select2Hint, typeof i2.Select2Label, typeof i3.Select2]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<Select2Module>;
13
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./select2-hint.component";
3
+ import * as i2 from "./select2-label.component";
4
+ import * as i3 from "./select2.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/cdk/overlay";
8
+ import * as i7 from "ngx-infinite-scroll";
9
+ export declare class Select2Module {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<Select2Module, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<Select2Module, [typeof i1.Select2Hint, typeof i2.Select2Label, typeof i3.Select2], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.OverlayModule, typeof i5.ReactiveFormsModule, typeof i7.InfiniteScrollModule], [typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i1.Select2Hint, typeof i2.Select2Label, typeof i3.Select2]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<Select2Module>;
13
+ }
14
14
  //# sourceMappingURL=select2.module.d.ts.map
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "ng-select2-component",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "An Angular select2 component.",
5
5
  "author": "York Yao, Célian Veyssière",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
- "ngx-infinite-scroll": "^15.0.0",
8
+ "ngx-infinite-scroll": ">=16.0.0",
9
9
  "tslib": "^2.3.0"
10
10
  },
11
11
  "peerDependencies": {
12
- "@angular/cdk": ">=15.0.0",
13
- "@angular/common": ">=15.0.0",
14
- "@angular/core": ">=15.0.0"
12
+ "@angular/cdk": ">=16.0.0",
13
+ "@angular/common": ">=16.0.0",
14
+ "@angular/core": ">=16.0.0"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
@@ -29,11 +29,7 @@
29
29
  "angular",
30
30
  "select2"
31
31
  ],
32
- "module": "fesm2015/ng-select2-component.mjs",
33
- "es2020": "fesm2020/ng-select2-component.mjs",
34
- "esm2020": "esm2020/ng-select2-component.mjs",
35
- "fesm2020": "fesm2020/ng-select2-component.mjs",
36
- "fesm2015": "fesm2015/ng-select2-component.mjs",
32
+ "module": "fesm2022/ng-select2-component.mjs",
37
33
  "typings": "index.d.ts",
38
34
  "exports": {
39
35
  "./package.json": {
@@ -41,11 +37,9 @@
41
37
  },
42
38
  ".": {
43
39
  "types": "./index.d.ts",
44
- "esm2020": "./esm2020/ng-select2-component.mjs",
45
- "es2020": "./fesm2020/ng-select2-component.mjs",
46
- "es2015": "./fesm2015/ng-select2-component.mjs",
47
- "node": "./fesm2015/ng-select2-component.mjs",
48
- "default": "./fesm2020/ng-select2-component.mjs"
40
+ "esm2022": "./esm2022/ng-select2-component.mjs",
41
+ "esm": "./esm2022/ng-select2-component.mjs",
42
+ "default": "./fesm2022/ng-select2-component.mjs"
49
43
  }
50
44
  },
51
45
  "sideEffects": false
package/public_api.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- export * from './lib/select2-interfaces';
2
- export * from './lib/select2-const';
3
- export * from './lib/select2.component';
4
- export * from './lib/select2.component';
5
- export * from './lib/select2-hint.component';
6
- export * from './lib/select2-label.component';
7
- export * from './lib/select2-utils';
8
- export * from './lib/select2.module';
1
+ export * from './lib/select2-interfaces';
2
+ export * from './lib/select2-const';
3
+ export * from './lib/select2.component';
4
+ export * from './lib/select2.component';
5
+ export * from './lib/select2-hint.component';
6
+ export * from './lib/select2-label.component';
7
+ export * from './lib/select2-utils';
8
+ export * from './lib/select2.module';
9
9
  //# sourceMappingURL=public_api.d.ts.map