ng-select2-component 16.0.0 → 17.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.
- package/AUTHORS.md +8 -8
- package/CHANGELOG.md +242 -150
- package/README.md +68 -61
- package/fesm2022/ng-select2-component.mjs +594 -581
- package/fesm2022/ng-select2-component.mjs.map +1 -1
- package/lib/select2-hint.component.d.ts +1 -1
- package/lib/select2-hint.component.d.ts.map +1 -1
- package/lib/select2-interfaces.d.ts +10 -6
- package/lib/select2-interfaces.d.ts.map +1 -1
- package/lib/select2-label.component.d.ts +1 -1
- package/lib/select2-label.component.d.ts.map +1 -1
- package/lib/select2-utils.d.ts +12 -8
- package/lib/select2-utils.d.ts.map +1 -1
- package/lib/select2.component.d.ts +122 -121
- package/lib/select2.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +2 -4
- package/public_api.d.ts.map +1 -1
- package/lib/select2.module.d.ts +0 -14
- package/lib/select2.module.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class Select2Hint {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<Select2Hint, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Select2Hint, "select2-hint", never, {}, {}, never, never,
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Select2Hint, "select2-hint, ng-select2-hint", never, {}, {}, never, never, true, never>;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=select2-hint.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select2-hint.component.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-hint.component.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"select2-hint.component.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-hint.component.ts"],"names":[],"mappings":";AAEA,qBACa,WAAW;yCAAX,WAAW;2CAAX,WAAW;CAAG"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
1
2
|
import { Select2 } from './select2.component';
|
|
2
3
|
export interface Select2Group {
|
|
3
4
|
/** label of group */
|
|
@@ -31,16 +32,16 @@ export interface Select2Option {
|
|
|
31
32
|
/** hide this option */
|
|
32
33
|
hide?: boolean;
|
|
33
34
|
}
|
|
34
|
-
export type Select2Value = string | number | boolean | object;
|
|
35
|
-
export type Select2UpdateValue = Select2Value | Select2Value[];
|
|
35
|
+
export type Select2Value = string | number | boolean | object | null | undefined;
|
|
36
|
+
export type Select2UpdateValue = Select2Value | Select2Value[] | undefined | null;
|
|
36
37
|
export type Select2Data = (Select2Group | Select2Option)[];
|
|
37
38
|
export interface Select2UpdateEvent<U extends Select2UpdateValue = Select2Value> {
|
|
38
39
|
/** component */
|
|
39
40
|
readonly component: Select2;
|
|
40
41
|
/** current selected value */
|
|
41
|
-
readonly value: U;
|
|
42
|
+
readonly value: U | null;
|
|
42
43
|
/** selected option */
|
|
43
|
-
readonly options: Select2Option[];
|
|
44
|
+
readonly options: Select2Option[] | null;
|
|
44
45
|
}
|
|
45
46
|
export interface Select2AutoCreateEvent<U extends Select2UpdateValue = Select2Value> {
|
|
46
47
|
/** component */
|
|
@@ -48,13 +49,13 @@ export interface Select2AutoCreateEvent<U extends Select2UpdateValue = Select2Va
|
|
|
48
49
|
/** current selected value */
|
|
49
50
|
readonly value: U;
|
|
50
51
|
/** selected option */
|
|
51
|
-
readonly options: Select2Option[];
|
|
52
|
+
readonly options: Select2Option[] | null;
|
|
52
53
|
}
|
|
53
54
|
export interface Select2SearchEvent<U extends Select2UpdateValue = Select2Value> {
|
|
54
55
|
/** component */
|
|
55
56
|
readonly component: Select2;
|
|
56
57
|
/** current selected value */
|
|
57
|
-
readonly value: U;
|
|
58
|
+
readonly value: U | null;
|
|
58
59
|
/** search text */
|
|
59
60
|
readonly search: string;
|
|
60
61
|
/** current data source */
|
|
@@ -84,4 +85,7 @@ export type Select2SelectionOverride = string | ((params: {
|
|
|
84
85
|
size: number;
|
|
85
86
|
options: Select2Option[] | null;
|
|
86
87
|
}) => string);
|
|
88
|
+
export type Select2Template = TemplateRef<any> | {
|
|
89
|
+
[key: string]: TemplateRef<any>;
|
|
90
|
+
} | undefined;
|
|
87
91
|
//# sourceMappingURL=select2-interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select2-interfaces.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"select2-interfaces.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,MAAM,WAAW,YAAY;IACzB,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB;IACnB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qBAAqB;IACrB,IAAI,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC1B,aAAa;IACb,KAAK,EAAE,YAAY,CAAC;IACpB,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,UAAU,CAAC,EA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AC;IACxB,0BAA0B;IAC1B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,wCAAwC;IACxC,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CACtD;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,kBAAkB,GAAG,YAAY;IAC3E,gBAAgB;IAChB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,6BAA6B;IAC7B,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,aAAa;IACb,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;CACzC;AAED,MAAM,WAAW,kBAAkB;IAC/B,gBAAgB;IAChB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,iBAAiB;IACjB,QAAQ,CAAC,GAAG,EAAE,IAAI,GAAG,MAAM,CAAC;IAC5B,kBAAkB;IAClB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,mBAAmB;IACnB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;CAC9B;AAED,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,aAAa,EAAE,GAAG,IAAI,CAAA;CAAE,KAAK,MAAM,CAAC,CAAC;AAExH,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,GAAG,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC,CAAA;CAAE,GAAG,SAAS,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class Select2Label {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<Select2Label, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Select2Label, "select2-label", never, {}, {}, never, never,
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Select2Label, "select2-label, ng-select2-label", never, {}, {}, never, never, true, never>;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=select2-label.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select2-label.component.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-label.component.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"select2-label.component.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-label.component.ts"],"names":[],"mappings":";AAEA,qBACa,YAAY;yCAAZ,YAAY;2CAAZ,YAAY;CAAG"}
|
package/lib/select2-utils.d.ts
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import { Select2Data, Select2Option, Select2UpdateValue, Select2Value } from './select2-interfaces';
|
|
1
|
+
import { Select2Data, Select2Group, Select2Option, Select2UpdateValue, Select2Value } from './select2-interfaces';
|
|
2
2
|
export declare class Select2Utils {
|
|
3
|
-
static getOptionByValue(data: Select2Data, value: Select2Value | null
|
|
4
|
-
static getOptionsByValue(data: Select2Data, value: Select2UpdateValue | null | undefined, multiple: boolean | null | undefined): Select2Option | Select2Option[];
|
|
5
|
-
static getFirstAvailableOption(data: Select2Data):
|
|
6
|
-
static
|
|
7
|
-
static getPreviousOption(filteredData: Select2Data,
|
|
8
|
-
static getNextOption(filteredData: Select2Data,
|
|
3
|
+
static getOptionByValue(data: Select2Data, value: Select2Value): Select2Option | null;
|
|
4
|
+
static getOptionsByValue(data: Select2Data, value: Select2UpdateValue | null | undefined, multiple: boolean | null | undefined): Select2Option | Select2Option[] | null;
|
|
5
|
+
static getFirstAvailableOption(data: Select2Data): Select2Option | null;
|
|
6
|
+
static optionIsNotInFilteredData(filteredData: Select2Data, option: Select2Option | null): boolean;
|
|
7
|
+
static getPreviousOption(filteredData: Select2Data, hoveringOption: Select2Option | null): Select2Option | null;
|
|
8
|
+
static getNextOption(filteredData: Select2Data | null, hoveringOption: Select2Option | null): Select2Option | null;
|
|
9
|
+
static getFirstOption(filteredData: Select2Data): Select2Option | null;
|
|
10
|
+
static getLastOption(filteredData: Select2Data): Select2Option | null;
|
|
11
|
+
static isGroup(element: Select2Group | Select2Option): element is Select2Group;
|
|
12
|
+
static isOption(element: Select2Group | Select2Option): element is Select2Option;
|
|
9
13
|
static getReduceData(data: Select2Data, maxResults?: number): {
|
|
10
14
|
result: Select2Data;
|
|
11
15
|
reduce: boolean;
|
|
12
16
|
};
|
|
13
17
|
static getFilteredData(data: Select2Data, searchText: string | null, editPattern?: (str: string) => string): Select2Data;
|
|
14
18
|
static getFilteredSelectedData(data: Select2Data, selectedOptions: Select2Option | Select2Option[] | null): Select2Data;
|
|
15
|
-
static
|
|
19
|
+
static isSearchboxHidden(data: Select2Data, minCountForSearch?: number): boolean;
|
|
16
20
|
static isSelected(options: Select2Option | Select2Option[] | null, option: Select2Option, multiple: boolean | null | undefined): "true" | "false";
|
|
17
21
|
static removeSelection(options: Select2Option | Select2Option[] | null, option: Select2Option): void;
|
|
18
22
|
private static getOptionsCount;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select2-utils.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"select2-utils.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGlH,qBAAa,YAAY;IACrB,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,YAAY;IAkB9D,MAAM,CAAC,iBAAiB,CACpB,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,kBAAkB,GAAG,IAAI,GAAG,SA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AC,IAAI,EAAE,WAAW,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO;IAQhF,MAAM,CAAC,UAAU,CACb,OAAO,EAAE,aAAa,GAAG,aAAa,EAAE,GAAG,IAAI,EAC/C,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS;IAWxC,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,aAAa;IAS7F,OAAO,CAAC,MAAM,CAAC,eAAe;IAW9B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAIhC,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAYhC,OAAO,CAAC,MAAM,CAAC,cAAc;IAI7B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAOhC,OAAO,CAAC,MAAM,CAAC,aAAa;CAQ/B"}
|
|
@@ -1,154 +1,170 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
2
2
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
3
|
-
import {
|
|
3
|
+
import type { ElementRef, OnDestroy } from '@angular/core';
|
|
4
|
+
import { AfterViewInit, ChangeDetectorRef, DoCheck, OnInit, TemplateRef } from '@angular/core';
|
|
4
5
|
import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
5
|
-
import { Select2AutoCreateEvent, Select2Data, Select2Group, Select2Option, Select2RemoveEvent, Select2ScrollEvent, Select2SearchEvent, Select2SelectionOverride, Select2UpdateEvent, Select2UpdateValue } from './select2-interfaces';
|
|
6
|
+
import { Select2AutoCreateEvent, Select2Data, Select2Group, Select2Option, Select2RemoveEvent, Select2ScrollEvent, Select2SearchEvent, Select2SelectionOverride, Select2Template, Select2UpdateEvent, Select2UpdateValue } from './select2-interfaces';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class Select2 implements ControlValueAccessor, OnInit, DoCheck, AfterViewInit {
|
|
8
|
+
export declare class Select2 implements ControlValueAccessor, OnInit, DoCheck, AfterViewInit, OnDestroy {
|
|
8
9
|
protected _viewportRuler: ViewportRuler;
|
|
9
10
|
private _changeDetectorRef;
|
|
10
11
|
private _parentForm;
|
|
11
12
|
private _parentFormGroup;
|
|
12
13
|
_control: NgControl;
|
|
13
|
-
|
|
14
|
-
/** data of options &
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
placeholder
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
readonly _uid: string;
|
|
15
|
+
/** data of options & option groups */
|
|
16
|
+
readonly data: import("@angular/core").InputSignal<Select2Data>;
|
|
17
|
+
/** minimum characters to start filter search */
|
|
18
|
+
readonly minCharForSearch: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
19
|
+
/** text placeholder */
|
|
20
|
+
readonly displaySearchStatus: import("@angular/core").InputSignal<"default" | "hidden" | "always" | undefined>;
|
|
21
|
+
/** text placeholder */
|
|
22
|
+
readonly placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
/** in multiple: maximum selection element (0 = no limit) */
|
|
24
|
+
readonly limitSelection: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
25
|
+
/** dropdown position */
|
|
26
|
+
readonly listPosition: import("@angular/core").InputSignal<"above" | "below" | "auto">;
|
|
27
|
+
/** overlay with CDK Angular position */
|
|
28
|
+
readonly overlay: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
23
29
|
/** use the material style */
|
|
24
|
-
|
|
30
|
+
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
31
|
/** use the material style */
|
|
26
|
-
styleMode:
|
|
32
|
+
readonly styleMode: import("@angular/core").InputSignal<"default" | "material" | "noStyle" | "borderless">;
|
|
27
33
|
/** message when no result */
|
|
28
|
-
noResultMessage: string
|
|
34
|
+
readonly noResultMessage: import("@angular/core").InputSignal<string | undefined>;
|
|
29
35
|
/** maximum results limit (0 = no limit) */
|
|
30
|
-
maxResults: number
|
|
36
|
+
readonly maxResults: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
31
37
|
/** message when maximum results */
|
|
32
|
-
maxResultsMessage: string
|
|
38
|
+
readonly maxResultsMessage: import("@angular/core").InputSignal<string>;
|
|
33
39
|
/** infinite scroll distance */
|
|
34
|
-
infiniteScrollDistance: number
|
|
40
|
+
readonly infiniteScrollDistance: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
35
41
|
/** infinite scroll distance */
|
|
36
|
-
infiniteScrollThrottle: number
|
|
42
|
+
readonly infiniteScrollThrottle: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
37
43
|
/** infinite scroll activated */
|
|
38
|
-
infiniteScroll: boolean
|
|
44
|
+
readonly infiniteScroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
39
45
|
/** auto create if not exist */
|
|
40
|
-
autoCreate: boolean
|
|
46
|
+
readonly autoCreate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
41
47
|
/** no template for label selection */
|
|
42
|
-
noLabelTemplate: boolean
|
|
48
|
+
readonly noLabelTemplate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
43
49
|
/** use it for change the pattern of the filter search */
|
|
44
|
-
editPattern: (str: string) => string
|
|
50
|
+
readonly editPattern: import("@angular/core").InputSignal<((str: string) => string) | undefined>;
|
|
45
51
|
/** template(s) for formatting */
|
|
46
|
-
templates:
|
|
47
|
-
[key: string]: TemplateRef<any>;
|
|
48
|
-
};
|
|
52
|
+
readonly templates: import("@angular/core").InputSignal<Select2Template>;
|
|
49
53
|
/** template for formatting selected option */
|
|
50
|
-
templateSelection: TemplateRef<any>;
|
|
54
|
+
readonly templateSelection: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
51
55
|
/** the max height of the results container when opening the select */
|
|
52
|
-
resultMaxHeight: string
|
|
56
|
+
readonly resultMaxHeight: import("@angular/core").InputSignal<string>;
|
|
53
57
|
/** Active Search event */
|
|
54
|
-
customSearchEnabled: boolean
|
|
58
|
+
readonly customSearchEnabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
55
59
|
/** minimal data of show the search field */
|
|
56
|
-
|
|
57
|
-
set minCountForSearch(value: number);
|
|
60
|
+
readonly minCountForSearch: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
58
61
|
/** Unique id of the element. */
|
|
59
|
-
|
|
60
|
-
|
|
62
|
+
readonly id: import("@angular/core").InputSignal<string>;
|
|
63
|
+
/** Unique id of label element. */
|
|
64
|
+
readonly idLabel: import("@angular/core").Signal<string>;
|
|
65
|
+
/** Unique id of combo element. */
|
|
66
|
+
readonly idCombo: import("@angular/core").Signal<string>;
|
|
67
|
+
/** Unique id of options element. */
|
|
68
|
+
readonly idOptions: import("@angular/core").Signal<string>;
|
|
69
|
+
/** Unique id of overlay element. */
|
|
70
|
+
readonly idOverlay: import("@angular/core").Signal<string>;
|
|
61
71
|
/** Whether the element is required. */
|
|
62
|
-
required: boolean
|
|
72
|
+
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
63
73
|
/** Whether selected items should be hidden. */
|
|
64
|
-
|
|
65
|
-
set disabled(value: boolean);
|
|
74
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
66
75
|
/** Whether items are hidden when has. */
|
|
67
|
-
hideSelectedItems: boolean
|
|
76
|
+
readonly hideSelectedItems: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
68
77
|
/** Whether the element is readonly. */
|
|
69
|
-
readonly: boolean
|
|
78
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
70
79
|
/** The input element's value. */
|
|
71
|
-
|
|
72
|
-
set value(value: Select2UpdateValue);
|
|
80
|
+
readonly value: import("@angular/core").InputSignal<Select2UpdateValue>;
|
|
73
81
|
/** Tab index for the select2 element. */
|
|
74
|
-
|
|
75
|
-
set tabIndex(value: number);
|
|
82
|
+
readonly tabIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
76
83
|
/** reset with no selected value */
|
|
77
|
-
resettable: boolean
|
|
84
|
+
readonly resettable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
78
85
|
/** selected value when × is clicked */
|
|
79
|
-
resetSelectedValue: any
|
|
86
|
+
readonly resetSelectedValue: import("@angular/core").InputSignal<any>;
|
|
80
87
|
/** grid: item by line
|
|
81
88
|
* * 0 = no grid
|
|
82
89
|
* * number = item by line (4)
|
|
83
90
|
* * string = minimal size item (100px)
|
|
84
91
|
*/
|
|
85
|
-
grid: string
|
|
92
|
+
readonly grid: import("@angular/core").InputSignal<string>;
|
|
86
93
|
/**
|
|
87
94
|
* Replace selection by a text
|
|
88
95
|
* * if string: `%size%` = total selected options
|
|
89
96
|
* * if function: juste show the string
|
|
90
97
|
*/
|
|
91
|
-
selectionOverride: Select2SelectionOverride
|
|
98
|
+
readonly selectionOverride: import("@angular/core").InputSignal<Select2SelectionOverride | undefined>;
|
|
92
99
|
/** force selection on one line */
|
|
93
|
-
selectionNoWrap: boolean
|
|
100
|
+
readonly selectionNoWrap: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
94
101
|
/** Add an option to select or remove all (if all is selected) */
|
|
95
|
-
showSelectAll: boolean
|
|
102
|
+
readonly showSelectAll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
96
103
|
/** Text for remove all options */
|
|
97
|
-
removeAllText: string
|
|
104
|
+
readonly removeAllText: import("@angular/core").InputSignal<string>;
|
|
98
105
|
/** Text for select all options */
|
|
99
|
-
selectAllText: string
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
readonly selectAllText: import("@angular/core").InputSignal<string>;
|
|
107
|
+
/** title attribute applied to the input */
|
|
108
|
+
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
109
|
+
/** aria-labelledby attribute applied to the input, to specify en external label */
|
|
110
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
111
|
+
/** aria-describedby attribute applied to the input */
|
|
112
|
+
readonly ariaDescribedby: import("@angular/core").InputSignal<string | undefined>;
|
|
113
|
+
/** aria-invalid attribute applied to the input, to force error state */
|
|
114
|
+
readonly ariaInvalid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
115
|
+
/** description of the reset button when using 'resettable'. Default value : 'Reset' */
|
|
116
|
+
readonly ariaResetButtonDescription: import("@angular/core").InputSignal<string>;
|
|
117
|
+
readonly update: import("@angular/core").OutputEmitterRef<Select2UpdateEvent<Select2UpdateValue>>;
|
|
118
|
+
readonly autoCreateItem: import("@angular/core").OutputEmitterRef<Select2AutoCreateEvent<Select2UpdateValue>>;
|
|
119
|
+
readonly open: import("@angular/core").OutputEmitterRef<Select2>;
|
|
120
|
+
readonly close: import("@angular/core").OutputEmitterRef<Select2>;
|
|
121
|
+
readonly focus: import("@angular/core").OutputEmitterRef<Select2>;
|
|
122
|
+
readonly blur: import("@angular/core").OutputEmitterRef<Select2>;
|
|
123
|
+
readonly search: import("@angular/core").OutputEmitterRef<Select2SearchEvent<Select2UpdateValue>>;
|
|
124
|
+
readonly scroll: import("@angular/core").OutputEmitterRef<Select2ScrollEvent>;
|
|
125
|
+
readonly removeOption: import("@angular/core").OutputEmitterRef<Select2RemoveEvent<Select2UpdateValue>>;
|
|
126
|
+
readonly cdkConnectedOverlay: import("@angular/core").Signal<CdkConnectedOverlay>;
|
|
127
|
+
readonly selection: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
128
|
+
readonly resultContainer: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
129
|
+
readonly results: import("@angular/core").Signal<readonly ElementRef<any>[]>;
|
|
130
|
+
readonly searchInput: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
131
|
+
readonly dropdown: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
132
|
+
get classMaterial(): boolean;
|
|
133
|
+
get classNostyle(): boolean;
|
|
134
|
+
get classBorderless(): boolean;
|
|
135
|
+
get select2above(): boolean;
|
|
136
|
+
selectedOption: Select2Option | Select2Option[] | null;
|
|
110
137
|
isOpen: boolean;
|
|
111
|
-
searchStyle: string;
|
|
138
|
+
searchStyle: string | undefined;
|
|
112
139
|
/** Whether the element is focused or not. */
|
|
113
140
|
focused: boolean;
|
|
114
|
-
filteredData: import("@angular/core").WritableSignal<Select2Data>;
|
|
141
|
+
filteredData: import("@angular/core").WritableSignal<Select2Data | undefined>;
|
|
115
142
|
get select2Options(): Select2Option[];
|
|
116
|
-
get select2Option(): Select2Option;
|
|
143
|
+
get select2Option(): Select2Option | null;
|
|
117
144
|
get searchText(): string;
|
|
118
|
-
set searchText(text: string);
|
|
119
|
-
get
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
get _positions(): ConnectedPosition[];
|
|
129
|
-
maxResultsExceeded: boolean;
|
|
130
|
-
private _minCountForSearch?;
|
|
131
|
-
private cdkConnectedOverlay;
|
|
132
|
-
private selection;
|
|
133
|
-
private resultContainer;
|
|
134
|
-
private results;
|
|
135
|
-
private searchInput;
|
|
136
|
-
private dropdown;
|
|
137
|
-
private hoveringValue;
|
|
145
|
+
protected set searchText(text: string);
|
|
146
|
+
get disabledState(): boolean;
|
|
147
|
+
protected overlayWidth: number | string;
|
|
148
|
+
protected overlayHeight: number | string;
|
|
149
|
+
protected _triggerRect: DOMRect | undefined;
|
|
150
|
+
protected _dropdownRect: DOMRect | undefined;
|
|
151
|
+
protected get _positions(): any;
|
|
152
|
+
protected maxResultsExceeded: boolean | undefined;
|
|
153
|
+
private hoveringOption;
|
|
154
|
+
hoveringOptionId: import("@angular/core").Signal<string | null>;
|
|
138
155
|
private innerSearchText;
|
|
139
|
-
|
|
156
|
+
protected isSearchboxHidden: boolean | undefined;
|
|
140
157
|
private selectionElement;
|
|
141
158
|
private get resultsElement();
|
|
142
159
|
private _stateChanges;
|
|
143
160
|
/** Tab index for the element. */
|
|
144
|
-
|
|
161
|
+
protected get _tabIndex(): number;
|
|
162
|
+
private _data;
|
|
145
163
|
private _disabled;
|
|
146
|
-
|
|
147
|
-
private _id;
|
|
148
|
-
private _uid;
|
|
149
|
-
private _value;
|
|
164
|
+
protected _value: Select2UpdateValue | null;
|
|
150
165
|
private _previousNativeValue;
|
|
151
166
|
private _overlayPosition;
|
|
167
|
+
private toObservable;
|
|
152
168
|
constructor(_viewportRuler: ViewportRuler, _changeDetectorRef: ChangeDetectorRef, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _control: NgControl, tabIndex: string);
|
|
153
169
|
clickDetection(e: MouseEvent): void;
|
|
154
170
|
/** View -> model callback called when select has been touched */
|
|
@@ -158,8 +174,8 @@ export declare class Select2 implements ControlValueAccessor, OnInit, DoCheck, A
|
|
|
158
174
|
ngOnInit(): void;
|
|
159
175
|
ngAfterViewInit(): void;
|
|
160
176
|
ngDoCheck(): void;
|
|
177
|
+
ngOnDestroy(): void;
|
|
161
178
|
updateSearchBox(): void;
|
|
162
|
-
hideSearch(): boolean;
|
|
163
179
|
getOptionStyle(option: Select2Option): string;
|
|
164
180
|
mouseenter(option: Select2Option): void;
|
|
165
181
|
click(option: Select2Option): void;
|
|
@@ -177,6 +193,7 @@ export declare class Select2 implements ControlValueAccessor, OnInit, DoCheck, A
|
|
|
177
193
|
private testValueChange;
|
|
178
194
|
private updateFilteredData;
|
|
179
195
|
private clickExit;
|
|
196
|
+
private isInSelect;
|
|
180
197
|
private ifParentContainsClass;
|
|
181
198
|
private ifParentContainsId;
|
|
182
199
|
private getParentElementByClass;
|
|
@@ -184,17 +201,16 @@ export declare class Select2 implements ControlValueAccessor, OnInit, DoCheck, A
|
|
|
184
201
|
private containClasses;
|
|
185
202
|
private containAlmostOneClasses;
|
|
186
203
|
private clickOnSelect2Element;
|
|
187
|
-
focusin(): void;
|
|
188
|
-
focusout(): void;
|
|
204
|
+
focusin(options?: FocusOptions): void;
|
|
205
|
+
focusout(event: FocusEvent): void;
|
|
189
206
|
select(option: Select2Option | null, emit?: boolean): void;
|
|
190
207
|
private testDiffValue;
|
|
191
208
|
keyDown(event: KeyboardEvent, create?: boolean): void;
|
|
192
209
|
openKey(event: KeyboardEvent, create?: boolean): void;
|
|
193
210
|
searchUpdate(e: Event): void;
|
|
194
|
-
trackBy(_index: number, item: Select2Option): any;
|
|
195
211
|
isSelected(option: Select2Option): "true" | "false";
|
|
196
212
|
isDisabled(option: Select2Option): "true" | "false";
|
|
197
|
-
removeSelection(e: MouseEvent | KeyboardEvent, option: Select2Option): void;
|
|
213
|
+
removeSelection(e: MouseEvent | KeyboardEvent | Event, option: Select2Option): void;
|
|
198
214
|
/**
|
|
199
215
|
* Sets the model value. Implemented as part of ControlValueAccessor.
|
|
200
216
|
* @param value
|
|
@@ -224,17 +240,21 @@ export declare class Select2 implements ControlValueAccessor, OnInit, DoCheck, A
|
|
|
224
240
|
setDisabledState(isDisabled: boolean): void;
|
|
225
241
|
onScroll(way: 'up' | 'down'): void;
|
|
226
242
|
_isErrorState(): boolean;
|
|
227
|
-
_selectionOverrideLabel(): string;
|
|
243
|
+
_selectionOverrideLabel(): string | undefined;
|
|
244
|
+
getElementId(elt: Select2Group | Select2Option | null): string | null;
|
|
245
|
+
_getElementPath(elt: Select2Group | Select2Option): number[];
|
|
246
|
+
_toGroup(group: Select2Option | Select2Group): Select2Group;
|
|
247
|
+
_toOption(option: Select2Option | Select2Group): Select2Option;
|
|
228
248
|
private optionsSize;
|
|
229
249
|
private addItem;
|
|
230
250
|
private createAndAdd;
|
|
231
251
|
private moveUp;
|
|
232
252
|
private moveDown;
|
|
253
|
+
private moveStart;
|
|
254
|
+
private moveEnd;
|
|
233
255
|
private updateScrollFromOption;
|
|
234
256
|
private selectByEnter;
|
|
235
257
|
private _testKey;
|
|
236
|
-
private _getKey;
|
|
237
|
-
private _isKey;
|
|
238
258
|
/**
|
|
239
259
|
* Sets the selected option based on a value. If no option can be
|
|
240
260
|
* found with the designated value, the select trigger is cleared.
|
|
@@ -242,30 +262,11 @@ export declare class Select2 implements ControlValueAccessor, OnInit, DoCheck, A
|
|
|
242
262
|
private _setSelectionByValue;
|
|
243
263
|
/** Does some manual dirty checking on the native input `value` property. */
|
|
244
264
|
private _dirtyCheckNativeValue;
|
|
245
|
-
private
|
|
265
|
+
private _focusSearchbox;
|
|
246
266
|
private _focus;
|
|
247
267
|
private _isAbobeOverlay;
|
|
268
|
+
protected _updateFocusState(state: boolean): void;
|
|
248
269
|
static ɵfac: i0.ɵɵFactoryDeclaration<Select2, [null, null, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { attribute: "tabindex"; }]>;
|
|
249
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Select2, "select2", never, { "data": { "alias": "data"; "required": true; }; "minCharForSearch": { "alias": "minCharForSearch"; "required": false; }; "displaySearchStatus": { "alias": "displaySearchStatus"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "limitSelection": { "alias": "limitSelection"; "required": false; }; "listPosition": { "alias": "listPosition"; "required": false; }; "
|
|
250
|
-
static ngAcceptInputType_minCharForSearch: unknown;
|
|
251
|
-
static ngAcceptInputType_limitSelection: unknown;
|
|
252
|
-
static ngAcceptInputType_multiple: unknown;
|
|
253
|
-
static ngAcceptInputType_overlay: unknown;
|
|
254
|
-
static ngAcceptInputType_maxResults: unknown;
|
|
255
|
-
static ngAcceptInputType_infiniteScrollDistance: unknown;
|
|
256
|
-
static ngAcceptInputType_infiniteScrollThrottle: unknown;
|
|
257
|
-
static ngAcceptInputType_infiniteScroll: unknown;
|
|
258
|
-
static ngAcceptInputType_autoCreate: unknown;
|
|
259
|
-
static ngAcceptInputType_noLabelTemplate: unknown;
|
|
260
|
-
static ngAcceptInputType_customSearchEnabled: unknown;
|
|
261
|
-
static ngAcceptInputType_minCountForSearch: unknown;
|
|
262
|
-
static ngAcceptInputType_required: unknown;
|
|
263
|
-
static ngAcceptInputType_disabled: unknown;
|
|
264
|
-
static ngAcceptInputType_hideSelectedItems: unknown;
|
|
265
|
-
static ngAcceptInputType_readonly: unknown;
|
|
266
|
-
static ngAcceptInputType_tabIndex: unknown;
|
|
267
|
-
static ngAcceptInputType_resettable: unknown;
|
|
268
|
-
static ngAcceptInputType_selectionNoWrap: unknown;
|
|
269
|
-
static ngAcceptInputType_showSelectAll: unknown;
|
|
270
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Select2, "select2, ng-select2", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "minCharForSearch": { "alias": "minCharForSearch"; "required": false; "isSignal": true; }; "displaySearchStatus": { "alias": "displaySearchStatus"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "limitSelection": { "alias": "limitSelection"; "required": false; "isSignal": true; }; "listPosition": { "alias": "listPosition"; "required": false; "isSignal": true; }; "overlay": { "alias": "overlay"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "styleMode": { "alias": "styleMode"; "required": false; "isSignal": true; }; "noResultMessage": { "alias": "noResultMessage"; "required": false; "isSignal": true; }; "maxResults": { "alias": "maxResults"; "required": false; "isSignal": true; }; "maxResultsMessage": { "alias": "maxResultsMessage"; "required": false; "isSignal": true; }; "infiniteScrollDistance": { "alias": "infiniteScrollDistance"; "required": false; "isSignal": true; }; "infiniteScrollThrottle": { "alias": "infiniteScrollThrottle"; "required": false; "isSignal": true; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; "isSignal": true; }; "autoCreate": { "alias": "autoCreate"; "required": false; "isSignal": true; }; "noLabelTemplate": { "alias": "noLabelTemplate"; "required": false; "isSignal": true; }; "editPattern": { "alias": "editPattern"; "required": false; "isSignal": true; }; "templates": { "alias": "templates"; "required": false; "isSignal": true; }; "templateSelection": { "alias": "templateSelection"; "required": false; "isSignal": true; }; "resultMaxHeight": { "alias": "resultMaxHeight"; "required": false; "isSignal": true; }; "customSearchEnabled": { "alias": "customSearchEnabled"; "required": false; "isSignal": true; }; "minCountForSearch": { "alias": "minCountForSearch"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hideSelectedItems": { "alias": "hideSelectedItems"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "resettable": { "alias": "resettable"; "required": false; "isSignal": true; }; "resetSelectedValue": { "alias": "resetSelectedValue"; "required": false; "isSignal": true; }; "grid": { "alias": "grid"; "required": false; "isSignal": true; }; "selectionOverride": { "alias": "selectionOverride"; "required": false; "isSignal": true; }; "selectionNoWrap": { "alias": "selectionNoWrap"; "required": false; "isSignal": true; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; "isSignal": true; }; "removeAllText": { "alias": "removeAllText"; "required": false; "isSignal": true; }; "selectAllText": { "alias": "selectAllText"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "ariaInvalid": { "alias": "ariaInvalid"; "required": false; "isSignal": true; }; "ariaResetButtonDescription": { "alias": "ariaResetButtonDescription"; "required": false; "isSignal": true; }; }, { "update": "update"; "autoCreateItem": "autoCreateItem"; "open": "open"; "close": "close"; "focus": "focus"; "blur": "blur"; "search": "search"; "scroll": "scroll"; "removeOption": "removeOption"; }, never, ["select2-label, ng-select2-label", "select2-hint, ng-select2-hint"], true, never>;
|
|
270
271
|
}
|
|
271
272
|
//# 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,
|
|
1
|
+
{"version":3,"file":"select2.component.d.ts","sourceRoot":"","sources":["../../../projects/ng-select2-component/src/lib/select2.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EAKtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EACH,aAAa,EAGb,iBAAiB,EAEjB,OAAO,EAGP,MAAM,EAGN,WAAW,EASd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAK7F,OAAO,EACH,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,EAErB,MAAM,sBAAsB,CAAC;;AAc9B,qBAWa,OAAQ,YAAW,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS;IAwSvF,SAAS,CAAC,cAAc,EAAE,aAAa;IACvC,OAAO,CAAC,kBAAkB;IACd,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,gBAAgB;IACT,QAAQ,EAAE,SAAS;IA3SlD,QAAQ,CAAC,IAAI,SAA+B;IAG5C,sCAAsC;IACtC,QAAQ,CAAC,IAAI,mDAAiC;IAE9C,gDAAgD;IAChD,QAAQ,CAAC,gBAAgB,oEAA4C;IAErE,uBAAuB;IACv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AAI;IAIvC;;;;OAIG;IACH,gBAAgB,CAAC,UAAU,EAAE,OAAO;IAIpC,QAAQ,CAAC,GAAG,EAAE,IAAI,GAAG,MAAM;IAS3B,aAAa,IAAI,OAAO;IAOxB,uBAAuB;IAiBvB,YAAY,CAAC,GAAG,EAAE,YAAY,GAAG,aAAa,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI;IAUrE,eAAe,CAAC,GAAG,EAAE,YAAY,GAAG,aAAa,GAAG,MAAM,EAAE;IAiB5D,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,YAAY,GACxB,YAAY;IAGhC,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,YAAY,GACzB,aAAa;IAGlC,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,OAAO;IAYf,OAAO,CAAC,YAAY;IAsBpB,OAAO,CAAC,MAAM;IAMd,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,sBAAsB;IAa9B,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,QAAQ;IAWhB;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IA2D5B,4EAA4E;IAC5E,OAAO,CAAC,sBAAsB;IAS9B,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,MAAM;IAmBd,OAAO,CAAC,eAAe;IAOvB,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,OAAO;yCA3wCjC,OAAO;2CAAP,OAAO;CAoxCnB"}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export * from './lib/select2-interfaces';
|
|
2
1
|
export * from './lib/select2-const';
|
|
3
|
-
export * from './lib/select2.component';
|
|
4
|
-
export * from './lib/select2.component';
|
|
5
2
|
export * from './lib/select2-hint.component';
|
|
3
|
+
export * from './lib/select2-interfaces';
|
|
6
4
|
export * from './lib/select2-label.component';
|
|
7
5
|
export * from './lib/select2-utils';
|
|
8
|
-
export * from './lib/select2.
|
|
6
|
+
export * from './lib/select2.component';
|
|
9
7
|
//# sourceMappingURL=public_api.d.ts.map
|
package/public_api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../projects/ng-select2-component/src/public_api.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../projects/ng-select2-component/src/public_api.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC"}
|