@anglr/select 11.0.0 → 11.0.2

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,338 +0,0 @@
1
- import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
2
- import { ChangeDetectorRef } from '@angular/core';
3
- import { ComponentType } from '@angular/cdk/portal';
4
- import { EditPopupComponent } from '@anglr/select';
5
- import { ElementRef } from '@angular/core';
6
- import { EventEmitter } from '@angular/core';
7
- import * as i0 from '@angular/core';
8
- import * as i3_2 from '@angular/cdk/scrolling';
9
- import * as i4 from '@angular/common';
10
- import * as i5 from '@angular/material/dialog';
11
- import { MatDialog } from '@angular/material/dialog';
12
- import { MatDialogRef } from '@angular/material/dialog';
13
- import { NgSelectComponent } from '@anglr/select';
14
- import { NgSelectPlugin } from '@anglr/select';
15
- import { NgSelectPluginInstances } from '@anglr/select';
16
- import { OnChanges } from '@angular/core';
17
- import { OnDestroy } from '@angular/core';
18
- import { OnInit } from '@angular/core';
19
- import { OptionsGatherer } from '@anglr/select';
20
- import { PluginBus } from '@anglr/select';
21
- import { Popup } from '@anglr/select';
22
- import { PopupOptions } from '@anglr/select';
23
- import { SimpleChanges } from '@angular/core';
24
- import { Subscription } from 'rxjs';
25
- import { VisualPluginOptions } from '@anglr/select';
26
- import { ɵNgSelectOption } from '@anglr/select';
27
-
28
- /**
29
- * Basic dialog popup
30
- */
31
- export declare class BasicDialogPopupComponent<TValue = any> implements DialogPopupContentComponent<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>, OnInit, OnDestroy {
32
- dialog: MatDialogRef<BasicDialogPopupComponent<TValue>>;
33
- protected _changeDetector: ChangeDetectorRef;
34
- data: DialogPopupComponentData<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>;
35
- /**
36
- * Subscription for available options change
37
- */
38
- protected _optionsChangeSubscription: Subscription;
39
- /**
40
- * Instance of options gatherer, that is used for obtaining available options
41
- */
42
- protected _optionsGatherer: OptionsGatherer<TValue>;
43
- /**
44
- * Options for NgSelect plugin
45
- */
46
- options: BasicDialogPopupOptions;
47
- /**
48
- * Array of provided options for select
49
- */
50
- selectOptions: ɵNgSelectOption<TValue>[];
51
- constructor(dialog: MatDialogRef<BasicDialogPopupComponent<TValue>>, _changeDetector: ChangeDetectorRef, data: DialogPopupComponentData<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>);
52
- /**
53
- * Initialize component
54
- */
55
- ngOnInit(): void;
56
- /**
57
- * Called when component is destroyed
58
- */
59
- ngOnDestroy(): void;
60
- /**
61
- * Explicitly runs invalidation of content (change detection)
62
- */
63
- invalidateVisuals(): void;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<BasicDialogPopupComponent<any>, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicDialogPopupComponent<any>, "ng-select-basic-dialog-popup", never, {}, {}, never, never>;
66
- }
67
-
68
- /**
69
- * Basic dialog popup options
70
- */
71
- export declare interface BasicDialogPopupOptions extends VisualPluginOptions<CssClassesBasicDialogPopup> {
72
- }
73
-
74
- /**
75
- * Css classes for basic dialog popup
76
- */
77
- export declare interface CssClassesBasicDialogPopup {
78
- /**
79
- * Css class applied to each option div
80
- */
81
- optionItemDiv?: string;
82
- /**
83
- * Css class applied to each option text div
84
- */
85
- optionItemTextDiv?: string;
86
- /**
87
- * Css class used as icons indicating that option is selected (only when multiple)
88
- */
89
- optionChecked?: string;
90
- }
91
-
92
- /**
93
- * Css classes for dialog popup
94
- */
95
- export declare interface CssClassesDialogPopup {
96
- /**
97
- * Css class applied directly to dialog
98
- */
99
- dialogDiv?: string;
100
- }
101
-
102
- /**
103
- * Css classes for virtual edit popup
104
- */
105
- export declare interface CssClassesVirtualEditPopup {
106
- }
107
-
108
- /**
109
- * Public API for 'DialogPopupComponent'
110
- */
111
- export declare interface DialogPopup extends Popup {
112
- }
113
-
114
- /**
115
- * Component used for rendering basic popup with options
116
- */
117
- export declare class DialogPopupComponent<TComponent extends DialogPopupContentComponent<TDialogOptions, TValue, TCssClasses> = any, TValue = any, TDialogOptions = any, TCssClasses = any> implements DialogPopup, NgSelectPlugin<DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>, TValue>, OnDestroy {
118
- ngSelectPlugins: NgSelectPluginInstances;
119
- pluginBus: PluginBus<TValue>;
120
- pluginElement: ElementRef;
121
- protected _dialog: MatDialog;
122
- protected _changeDetector: ChangeDetectorRef;
123
- /**
124
- * Options for NgSelect plugin
125
- */
126
- protected _options: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>;
127
- /**
128
- * Subscription for toggle popup event
129
- */
130
- protected _popupToggleSubscription: Subscription;
131
- /**
132
- * Subscription for popup visibility change request
133
- */
134
- protected _visibilityRequestSubscription: Subscription;
135
- /**
136
- * Component that is used for handling metadata selection itself
137
- */
138
- protected _dialogComponent?: ComponentType<TComponent>;
139
- /**
140
- * Popup dialog reference
141
- */
142
- protected _dialogRef?: MatDialogRef<TComponent>;
143
- /**
144
- * Options for NgSelect plugin
145
- */
146
- get options(): DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>;
147
- set options(options: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>);
148
- /**
149
- * Occurs when visibility of popup has changed
150
- */
151
- visibilityChange: EventEmitter<void>;
152
- /**
153
- * Html element that represents popup itself
154
- */
155
- get popupElement(): HTMLElement;
156
- /**
157
- * Array of select options available
158
- * @internal
159
- */
160
- selectOptions: ɵNgSelectOption[];
161
- constructor(ngSelectPlugins: NgSelectPluginInstances, pluginBus: PluginBus<TValue>, pluginElement: ElementRef, _dialog: MatDialog, _changeDetector: ChangeDetectorRef, options?: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>);
162
- /**
163
- * Called when component is destroyed
164
- */
165
- ngOnDestroy(): void;
166
- /**
167
- * Initialize plugin, to be ready to use, initialize communication with other plugins
168
- */
169
- initialize(): void;
170
- /**
171
- * Initialize plugin options, all operations required to be done with plugin options are handled here
172
- */
173
- initOptions(): void;
174
- /**
175
- * Explicitly runs invalidation of content (change detection)
176
- */
177
- invalidateVisuals(): void;
178
- /**
179
- * Toggles dialog visibility
180
- */
181
- protected toggleDialog(): void;
182
- /**
183
- * Handles dialog visibility change
184
- */
185
- protected _handleDialog: (visible: boolean) => void;
186
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogPopupComponent<any, any, any, any>, [{ optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
187
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogPopupComponent<any, any, any, any>, "div.ng-select-dialog-popup", never, {}, {}, never, never>;
188
- }
189
-
190
- /**
191
- * Data that are passed to component that displays popup
192
- */
193
- export declare interface DialogPopupComponentData<TOptions extends VisualPluginOptions<TCssClasses> = any, TValue = any, TCssClasses = any> {
194
- /**
195
- * NgSelect plugin instances available for this plugin
196
- */
197
- ngSelectPlugins: NgSelectPluginInstances;
198
- /**
199
- * Plugin bus used in select
200
- */
201
- pluginBus: PluginBus<TValue>;
202
- /**
203
- * Dialogs popup options
204
- */
205
- options: TOptions;
206
- }
207
-
208
- /**
209
- * Component that is rendered within dialog and represents popup
210
- */
211
- export declare interface DialogPopupContentComponent<TOptions = any, TValue = any, TCssClasses = any> {
212
- /**
213
- * Data that are used for communication with Popup
214
- */
215
- data: DialogPopupComponentData<TOptions, TValue, TCssClasses>;
216
- /**
217
- * Explicitly runs invalidation of content (change detection)
218
- */
219
- invalidateVisuals(): void;
220
- }
221
-
222
- /**
223
- * Directive that changes ng select popup to DialogPopup
224
- */
225
- export declare class DialogPopupDirective implements OnChanges {
226
- protected _select: NgSelectComponent;
227
- /**
228
- * Popup type that will be used
229
- */
230
- popupType: ComponentType<DialogPopupContentComponent>;
231
- /**
232
- * Dialog popup options
233
- */
234
- dialogPopupOptions: VisualPluginOptions;
235
- constructor(_select: NgSelectComponent);
236
- /**
237
- * Called when input value changes
238
- */
239
- ngOnChanges(changes: SimpleChanges): void;
240
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogPopupDirective, never>;
241
- static ɵdir: i0.ɵɵDirectiveDeclaration<DialogPopupDirective, "ng-select[dialogPopup]", never, { "popupType": "dialogPopup"; "dialogPopupOptions": "dialogPopupOptions"; }, {}, never>;
242
- }
243
-
244
- /**
245
- * Dialog popup options
246
- */
247
- export declare interface DialogPopupOptions<TComponent extends DialogPopupContentComponent<TOptions, TValue, TCssClasses> = any, TOptions = any, TValue = any, TCssClasses = any> extends PopupOptions<CssClassesDialogPopup> {
248
- /**
249
- * Component that is used to show popup content in dialog
250
- */
251
- dialogComponent?: ComponentType<TComponent>;
252
- /**
253
- * Options passed to dialog component
254
- */
255
- dialogOptions?: TOptions;
256
- }
257
-
258
- declare namespace i1 {
259
- export {
260
- DialogPopupComponent
261
- }
262
- }
263
-
264
- declare namespace i1_2 {
265
- export {
266
- VirtualEditPopupComponent
267
- }
268
- }
269
-
270
- declare namespace i2 {
271
- export {
272
- BasicDialogPopupComponent
273
- }
274
- }
275
-
276
- declare namespace i3 {
277
- export {
278
- DialogPopupDirective
279
- }
280
- }
281
-
282
- /**
283
- * Module allows using of angular material dialog for select popup
284
- */
285
- export declare class NgSelectDialogPopupModule {
286
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectDialogPopupModule, never>;
287
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectDialogPopupModule, [typeof i1.DialogPopupComponent, typeof i2.BasicDialogPopupComponent, typeof i3.DialogPopupDirective], [typeof i4.CommonModule, typeof i5.MatDialogModule], [typeof i1.DialogPopupComponent, typeof i2.BasicDialogPopupComponent, typeof i3.DialogPopupDirective]>;
288
- static ɵinj: i0.ɵɵInjectorDeclaration<NgSelectDialogPopupModule>;
289
- }
290
-
291
- /**
292
- * Public API for 'VirtualEditPopupComponent'
293
- */
294
- export declare interface VirtualEditPopup extends Popup {
295
- }
296
-
297
- /**
298
- * Component used for rendering virtual edit popup with options
299
- */
300
- export declare class VirtualEditPopupComponent extends EditPopupComponent implements VirtualEditPopup, NgSelectPlugin<VirtualEditPopupOptions> {
301
- /**
302
- * Currently stored max width of displayed popup
303
- */
304
- protected _maxWidth: number;
305
- /**
306
- * View port that is used for virtual scrolling
307
- */
308
- viewPort: CdkVirtualScrollViewport;
309
- /**
310
- * Gets currently available options
311
- */
312
- protected get availableOptions(): ɵNgSelectOption[];
313
- invalidateVisuals(): void;
314
- /**
315
- * Toggles popup visibility
316
- */
317
- protected togglePopup(): void;
318
- private _scrollToOption;
319
- static ɵfac: i0.ɵɵFactoryDeclaration<VirtualEditPopupComponent, never>;
320
- static ɵcmp: i0.ɵɵComponentDeclaration<VirtualEditPopupComponent, "div.ng-select-virtual-edit-popup", never, {}, {}, never, never>;
321
- }
322
-
323
- /**
324
- * Module for VirtualEditPopup components, can also by used for non edit version
325
- */
326
- export declare class VirtualEditPopupModule {
327
- static ɵfac: i0.ɵɵFactoryDeclaration<VirtualEditPopupModule, never>;
328
- static ɵmod: i0.ɵɵNgModuleDeclaration<VirtualEditPopupModule, [typeof i1_2.VirtualEditPopupComponent], [typeof i4.CommonModule, typeof i3_2.ScrollingModule], [typeof i1_2.VirtualEditPopupComponent]>;
329
- static ɵinj: i0.ɵɵInjectorDeclaration<VirtualEditPopupModule>;
330
- }
331
-
332
- /**
333
- * Virtual edit popup options
334
- */
335
- export declare interface VirtualEditPopupOptions extends PopupOptions<CssClassesVirtualEditPopup> {
336
- }
337
-
338
- export { }
@@ -1,199 +0,0 @@
1
- ## API Report File for "@anglr/select-material"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
8
- import { ChangeDetectorRef } from '@angular/core';
9
- import { ComponentType } from '@angular/cdk/portal';
10
- import { EditPopupComponent } from '@anglr/select';
11
- import { ElementRef } from '@angular/core';
12
- import { EventEmitter } from '@angular/core';
13
- import * as i0 from '@angular/core';
14
- import * as i3_2 from '@angular/cdk/scrolling';
15
- import * as i4 from '@angular/common';
16
- import * as i5 from '@angular/material/dialog';
17
- import { MatDialog } from '@angular/material/dialog';
18
- import { MatDialogRef } from '@angular/material/dialog';
19
- import { NgSelectComponent } from '@anglr/select';
20
- import { NgSelectPlugin } from '@anglr/select';
21
- import { NgSelectPluginInstances } from '@anglr/select';
22
- import { OnChanges } from '@angular/core';
23
- import { OnDestroy } from '@angular/core';
24
- import { OnInit } from '@angular/core';
25
- import { OptionsGatherer } from '@anglr/select';
26
- import { PluginBus } from '@anglr/select';
27
- import { Popup } from '@anglr/select';
28
- import { PopupOptions } from '@anglr/select';
29
- import { SimpleChanges } from '@angular/core';
30
- import { Subscription } from 'rxjs';
31
- import { VisualPluginOptions } from '@anglr/select';
32
- import { ɵNgSelectOption } from '@anglr/select';
33
-
34
- // @public
35
- export class BasicDialogPopupComponent<TValue = any> implements DialogPopupContentComponent<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>, OnInit, OnDestroy {
36
- constructor(dialog: MatDialogRef<BasicDialogPopupComponent<TValue>>, _changeDetector: ChangeDetectorRef, data: DialogPopupComponentData<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>);
37
- // (undocumented)
38
- protected _changeDetector: ChangeDetectorRef;
39
- // (undocumented)
40
- data: DialogPopupComponentData<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>;
41
- // (undocumented)
42
- dialog: MatDialogRef<BasicDialogPopupComponent<TValue>>;
43
- invalidateVisuals(): void;
44
- ngOnDestroy(): void;
45
- ngOnInit(): void;
46
- options: BasicDialogPopupOptions;
47
- protected _optionsChangeSubscription: Subscription;
48
- protected _optionsGatherer: OptionsGatherer<TValue>;
49
- selectOptions: ɵNgSelectOption<TValue>[];
50
- // (undocumented)
51
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicDialogPopupComponent<any>, "ng-select-basic-dialog-popup", never, {}, {}, never, never>;
52
- // (undocumented)
53
- static ɵfac: i0.ɵɵFactoryDeclaration<BasicDialogPopupComponent<any>, never>;
54
- }
55
-
56
- // @public
57
- export interface BasicDialogPopupOptions extends VisualPluginOptions<CssClassesBasicDialogPopup> {
58
- }
59
-
60
- // @public
61
- export interface CssClassesBasicDialogPopup {
62
- optionChecked?: string;
63
- optionItemDiv?: string;
64
- optionItemTextDiv?: string;
65
- }
66
-
67
- // @public
68
- export interface CssClassesDialogPopup {
69
- dialogDiv?: string;
70
- }
71
-
72
- // @public
73
- export interface CssClassesVirtualEditPopup {
74
- }
75
-
76
- // @public
77
- export interface DialogPopup extends Popup {
78
- }
79
-
80
- // @public
81
- export class DialogPopupComponent<TComponent extends DialogPopupContentComponent<TDialogOptions, TValue, TCssClasses> = any, TValue = any, TDialogOptions = any, TCssClasses = any> implements DialogPopup, NgSelectPlugin<DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>, TValue>, OnDestroy {
82
- constructor(ngSelectPlugins: NgSelectPluginInstances, pluginBus: PluginBus<TValue>, pluginElement: ElementRef, _dialog: MatDialog, _changeDetector: ChangeDetectorRef, options?: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>);
83
- // (undocumented)
84
- protected _changeDetector: ChangeDetectorRef;
85
- // (undocumented)
86
- protected _dialog: MatDialog;
87
- protected _dialogComponent?: ComponentType<TComponent>;
88
- protected _dialogRef?: MatDialogRef<TComponent>;
89
- protected _handleDialog: (visible: boolean) => void;
90
- initialize(): void;
91
- initOptions(): void;
92
- invalidateVisuals(): void;
93
- ngOnDestroy(): void;
94
- // (undocumented)
95
- ngSelectPlugins: NgSelectPluginInstances;
96
- get options(): DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>;
97
- set options(options: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>);
98
- protected _options: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>;
99
- // (undocumented)
100
- pluginBus: PluginBus<TValue>;
101
- // (undocumented)
102
- pluginElement: ElementRef;
103
- get popupElement(): HTMLElement;
104
- protected _popupToggleSubscription: Subscription;
105
- // @internal
106
- selectOptions: ɵNgSelectOption[];
107
- protected toggleDialog(): void;
108
- visibilityChange: EventEmitter<void>;
109
- protected _visibilityRequestSubscription: Subscription;
110
- // (undocumented)
111
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogPopupComponent<any, any, any, any>, "div.ng-select-dialog-popup", never, {}, {}, never, never>;
112
- // (undocumented)
113
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogPopupComponent<any, any, any, any>, [{ optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
114
- }
115
-
116
- // @public
117
- export interface DialogPopupComponentData<TOptions extends VisualPluginOptions<TCssClasses> = any, TValue = any, TCssClasses = any> {
118
- ngSelectPlugins: NgSelectPluginInstances;
119
- options: TOptions;
120
- pluginBus: PluginBus<TValue>;
121
- }
122
-
123
- // @public
124
- export interface DialogPopupContentComponent<TOptions = any, TValue = any, TCssClasses = any> {
125
- data: DialogPopupComponentData<TOptions, TValue, TCssClasses>;
126
- invalidateVisuals(): void;
127
- }
128
-
129
- // @public
130
- export class DialogPopupDirective implements OnChanges {
131
- constructor(_select: NgSelectComponent);
132
- dialogPopupOptions: VisualPluginOptions;
133
- ngOnChanges(changes: SimpleChanges): void;
134
- popupType: ComponentType<DialogPopupContentComponent>;
135
- // (undocumented)
136
- protected _select: NgSelectComponent;
137
- // (undocumented)
138
- static ɵdir: i0.ɵɵDirectiveDeclaration<DialogPopupDirective, "ng-select[dialogPopup]", never, { "popupType": "dialogPopup"; "dialogPopupOptions": "dialogPopupOptions"; }, {}, never>;
139
- // (undocumented)
140
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogPopupDirective, never>;
141
- }
142
-
143
- // @public
144
- export interface DialogPopupOptions<TComponent extends DialogPopupContentComponent<TOptions, TValue, TCssClasses> = any, TOptions = any, TValue = any, TCssClasses = any> extends PopupOptions<CssClassesDialogPopup> {
145
- dialogComponent?: ComponentType<TComponent>;
146
- dialogOptions?: TOptions;
147
- }
148
-
149
- // @public
150
- export class NgSelectDialogPopupModule {
151
- // (undocumented)
152
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectDialogPopupModule, never>;
153
- // (undocumented)
154
- static ɵinj: i0.ɵɵInjectorDeclaration<NgSelectDialogPopupModule>;
155
- // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
156
- // Warning: (ae-forgotten-export) The symbol "i2" needs to be exported by the entry point index.d.ts
157
- // Warning: (ae-forgotten-export) The symbol "i3" needs to be exported by the entry point index.d.ts
158
- //
159
- // (undocumented)
160
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectDialogPopupModule, [typeof i1.DialogPopupComponent, typeof i2.BasicDialogPopupComponent, typeof i3.DialogPopupDirective], [typeof i4.CommonModule, typeof i5.MatDialogModule], [typeof i1.DialogPopupComponent, typeof i2.BasicDialogPopupComponent, typeof i3.DialogPopupDirective]>;
161
- }
162
-
163
- // @public
164
- export interface VirtualEditPopup extends Popup {
165
- }
166
-
167
- // @public
168
- export class VirtualEditPopupComponent extends EditPopupComponent implements VirtualEditPopup, NgSelectPlugin<VirtualEditPopupOptions> {
169
- protected get availableOptions(): ɵNgSelectOption[];
170
- // (undocumented)
171
- invalidateVisuals(): void;
172
- protected _maxWidth: number;
173
- protected togglePopup(): void;
174
- viewPort: CdkVirtualScrollViewport;
175
- // (undocumented)
176
- static ɵcmp: i0.ɵɵComponentDeclaration<VirtualEditPopupComponent, "div.ng-select-virtual-edit-popup", never, {}, {}, never, never>;
177
- // (undocumented)
178
- static ɵfac: i0.ɵɵFactoryDeclaration<VirtualEditPopupComponent, never>;
179
- }
180
-
181
- // @public
182
- export class VirtualEditPopupModule {
183
- // (undocumented)
184
- static ɵfac: i0.ɵɵFactoryDeclaration<VirtualEditPopupModule, never>;
185
- // (undocumented)
186
- static ɵinj: i0.ɵɵInjectorDeclaration<VirtualEditPopupModule>;
187
- // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
188
- //
189
- // (undocumented)
190
- static ɵmod: i0.ɵɵNgModuleDeclaration<VirtualEditPopupModule, [typeof i1_2.VirtualEditPopupComponent], [typeof i4.CommonModule, typeof i3_2.ScrollingModule], [typeof i1_2.VirtualEditPopupComponent]>;
191
- }
192
-
193
- // @public
194
- export interface VirtualEditPopupOptions extends PopupOptions<CssClassesVirtualEditPopup> {
195
- }
196
-
197
- // (No @packageDocumentation comment for this package)
198
-
199
- ```
@@ -1,113 +0,0 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { ElementRef } from '@angular/core';
3
- import * as i0 from '@angular/core';
4
- import type { Instance } from '@popperjs/core';
5
- import { NgSelectPlugin } from '@anglr/select';
6
- import { NgSelectPluginInstances } from '@anglr/select';
7
- import { OnDestroy } from '@angular/core';
8
- import { OptionsGatherer } from '@anglr/select';
9
- import { PluginBus } from '@anglr/select';
10
- import { Popup } from '@anglr/select';
11
- import { Positioner } from '@anglr/select';
12
- import { Subscription } from 'rxjs';
13
-
14
- declare namespace i1 {
15
- export {
16
- PopperJsPositionerComponent
17
- }
18
- }
19
-
20
- /**
21
- * Public API for 'PopperJsPositionerComponent'
22
- */
23
- export declare interface PopperJsPositioner extends Positioner {
24
- }
25
-
26
- /**
27
- * Component used for positioning popup element, using popper js
28
- */
29
- export declare class PopperJsPositionerComponent implements PopperJsPositioner, NgSelectPlugin<PopperJsPositionerOptions>, OnDestroy {
30
- ngSelectPlugins: NgSelectPluginInstances;
31
- pluginBus: PluginBus;
32
- pluginElement: ElementRef;
33
- protected _changeDetector: ChangeDetectorRef;
34
- protected _document?: Document;
35
- protected _platformId?: Object;
36
- /**
37
- * Instance of previous options gatherer, that is used for obtaining available options
38
- */
39
- protected _optionsGatherer: OptionsGatherer;
40
- /**
41
- * Options for NgSelect plugin
42
- */
43
- protected _options: PopperJsPositionerOptions;
44
- /**
45
- * Subscription for visibility change of popup
46
- */
47
- protected _visibilitySubscription: Subscription;
48
- /**
49
- * Subscription for changes of options in options gatherer
50
- */
51
- protected _optionsChangeSubscription: Subscription;
52
- /**
53
- * Popup that is displayed
54
- */
55
- protected _popup: Popup;
56
- /**
57
- * Instance of popper js
58
- */
59
- protected _popperJsInstance: Instance;
60
- /**
61
- * Html element of popup plugin
62
- */
63
- protected _popupElement: HTMLElement;
64
- /**
65
- * Indication whether is code running in browser
66
- */
67
- protected _isBrowser: boolean;
68
- /**
69
- * Options for NgSelect plugin
70
- */
71
- get options(): PopperJsPositionerOptions;
72
- set options(options: PopperJsPositionerOptions);
73
- constructor(ngSelectPlugins: NgSelectPluginInstances, pluginBus: PluginBus, pluginElement: ElementRef, _changeDetector: ChangeDetectorRef, options?: PopperJsPositionerOptions, _document?: Document, _platformId?: Object);
74
- /**
75
- * Called when component is destroyed
76
- */
77
- ngOnDestroy(): void;
78
- /**
79
- * Initialize plugin, to be ready to use, initialize communication with other plugins
80
- */
81
- initialize(): void;
82
- /**
83
- * Initialize plugin options, all operations required to be done with plugin options are handled here
84
- */
85
- initOptions(): void;
86
- /**
87
- * Explicitly runs invalidation of content (change detection)
88
- */
89
- invalidateVisuals(): void;
90
- /**
91
- * Handles position of popup
92
- */
93
- protected _handlePosition(): void;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<PopperJsPositionerComponent, [{ optional: true; }, { optional: true; }, null, null, { optional: true; }, null, null]>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<PopperJsPositionerComponent, "ng-popperjs-positioner", never, {}, {}, never, never>;
96
- }
97
-
98
- /**
99
- * Module for popperjs positioner plugin
100
- */
101
- export declare class PopperJsPositionerModule {
102
- static ɵfac: i0.ɵɵFactoryDeclaration<PopperJsPositionerModule, never>;
103
- static ɵmod: i0.ɵɵNgModuleDeclaration<PopperJsPositionerModule, [typeof i1.PopperJsPositionerComponent], never, [typeof i1.PopperJsPositionerComponent]>;
104
- static ɵinj: i0.ɵɵInjectorDeclaration<PopperJsPositionerModule>;
105
- }
106
-
107
- /**
108
- * Popper js positioner options
109
- */
110
- export declare interface PopperJsPositionerOptions {
111
- }
112
-
113
- export { }