@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.
- package/changelog.md +14 -0
- package/es2015/src/index.js +3 -1
- package/es2015/src/index.js.map +1 -1
- package/es2020/src/index.js +3 -1
- package/es2020/src/index.js.map +1 -1
- package/package.json +11 -11
- package/src/index.d.ts +3 -1
- package/src/index.d.ts.map +1 -1
- 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,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
|
-
```
|