@anglr/select 11.0.0 → 11.0.1-beta.20220222062944
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.
- package/changelog.md +6 -0
- package/package.json +11 -11
- package/version.bak +1 -1
- package/elements/select-elements.d.ts +0 -149
- package/elements/select-elements.internal.d.ts +0 -149
- package/elements/temp/select-elements.api.md +0 -81
- package/extensions/select-extensions.d.ts +0 -31
- package/extensions/select-extensions.internal.d.ts +0 -31
- package/extensions/temp/select-extensions.api.md +0 -33
- package/material/select-material.d.ts +0 -334
- package/material/select-material.internal.d.ts +0 -338
- package/material/temp/select-material.api.md +0 -199
- package/popperJs/select-popperJs.d.ts +0 -113
- package/popperJs/select-popperJs.internal.d.ts +0 -113
- package/popperJs/temp/select-popperJs.api.md +0 -78
- package/select.d.ts +0 -2802
- package/select.internal.d.ts +0 -2947
|
@@ -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 { }
|
|
@@ -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 { }
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
## API Report File for "@anglr/select-popperJs"
|
|
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 { ChangeDetectorRef } from '@angular/core';
|
|
8
|
-
import { ElementRef } from '@angular/core';
|
|
9
|
-
import * as i0 from '@angular/core';
|
|
10
|
-
import type { Instance } from '@popperjs/core';
|
|
11
|
-
import { NgSelectPlugin } from '@anglr/select';
|
|
12
|
-
import { NgSelectPluginInstances } from '@anglr/select';
|
|
13
|
-
import { OnDestroy } from '@angular/core';
|
|
14
|
-
import { OptionsGatherer } from '@anglr/select';
|
|
15
|
-
import { PluginBus } from '@anglr/select';
|
|
16
|
-
import { Popup } from '@anglr/select';
|
|
17
|
-
import { Positioner } from '@anglr/select';
|
|
18
|
-
import { Subscription } from 'rxjs';
|
|
19
|
-
|
|
20
|
-
// @public
|
|
21
|
-
export interface PopperJsPositioner extends Positioner {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// @public
|
|
25
|
-
export class PopperJsPositionerComponent implements PopperJsPositioner, NgSelectPlugin<PopperJsPositionerOptions>, OnDestroy {
|
|
26
|
-
constructor(ngSelectPlugins: NgSelectPluginInstances, pluginBus: PluginBus, pluginElement: ElementRef, _changeDetector: ChangeDetectorRef, options?: PopperJsPositionerOptions, _document?: Document, _platformId?: Object);
|
|
27
|
-
// (undocumented)
|
|
28
|
-
protected _changeDetector: ChangeDetectorRef;
|
|
29
|
-
// (undocumented)
|
|
30
|
-
protected _document?: Document;
|
|
31
|
-
protected _handlePosition(): void;
|
|
32
|
-
initialize(): void;
|
|
33
|
-
initOptions(): void;
|
|
34
|
-
invalidateVisuals(): void;
|
|
35
|
-
protected _isBrowser: boolean;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
// (undocumented)
|
|
38
|
-
ngSelectPlugins: NgSelectPluginInstances;
|
|
39
|
-
get options(): PopperJsPositionerOptions;
|
|
40
|
-
set options(options: PopperJsPositionerOptions);
|
|
41
|
-
protected _options: PopperJsPositionerOptions;
|
|
42
|
-
protected _optionsChangeSubscription: Subscription;
|
|
43
|
-
protected _optionsGatherer: OptionsGatherer;
|
|
44
|
-
// (undocumented)
|
|
45
|
-
protected _platformId?: Object;
|
|
46
|
-
// (undocumented)
|
|
47
|
-
pluginBus: PluginBus;
|
|
48
|
-
// (undocumented)
|
|
49
|
-
pluginElement: ElementRef;
|
|
50
|
-
protected _popperJsInstance: Instance;
|
|
51
|
-
protected _popup: Popup;
|
|
52
|
-
protected _popupElement: HTMLElement;
|
|
53
|
-
protected _visibilitySubscription: Subscription;
|
|
54
|
-
// (undocumented)
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PopperJsPositionerComponent, "ng-popperjs-positioner", never, {}, {}, never, never>;
|
|
56
|
-
// (undocumented)
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopperJsPositionerComponent, [{ optional: true; }, { optional: true; }, null, null, { optional: true; }, null, null]>;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// @public
|
|
61
|
-
export class PopperJsPositionerModule {
|
|
62
|
-
// (undocumented)
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PopperJsPositionerModule, never>;
|
|
64
|
-
// (undocumented)
|
|
65
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PopperJsPositionerModule>;
|
|
66
|
-
// Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
|
|
67
|
-
//
|
|
68
|
-
// (undocumented)
|
|
69
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PopperJsPositionerModule, [typeof i1.PopperJsPositionerComponent], never, [typeof i1.PopperJsPositionerComponent]>;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// @public
|
|
73
|
-
export interface PopperJsPositionerOptions {
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// (No @packageDocumentation comment for this package)
|
|
77
|
-
|
|
78
|
-
```
|