@ng-select/ng-select
Advanced tools
Comparing version 13.8.0 to 13.8.1
import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef } from '@angular/core'; | ||
import { NgDropdownPanelService } from './ng-dropdown-panel.service'; | ||
import { DropdownPosition } from './ng-select.types'; | ||
import { NgOption } from './ng-select.types'; | ||
import { DropdownPosition, NgOption } from './ng-select.types'; | ||
import * as i0 from "@angular/core"; | ||
@@ -6,0 +5,0 @@ export declare class NgDropdownPanelComponent implements OnInit, OnChanges, OnDestroy { |
@@ -1,2 +0,2 @@ | ||
import { OnChanges, OnDestroy, OnInit, AfterViewInit, ChangeDetectorRef, EventEmitter, TemplateRef, ElementRef, SimpleChanges, QueryList, InjectionToken } from '@angular/core'; | ||
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core'; | ||
import { ControlValueAccessor } from '@angular/forms'; | ||
@@ -6,3 +6,3 @@ import { Subject } from 'rxjs'; | ||
import { ItemsList } from './items-list'; | ||
import { NgOption, DropdownPosition } from './ng-select.types'; | ||
import { DropdownPosition, NgOption } from './ng-select.types'; | ||
import { NgDropdownPanelComponent } from './ng-dropdown-panel.component'; | ||
@@ -61,3 +61,2 @@ import { NgOptionComponent } from './ng-option.component'; | ||
editableSearchTerm: boolean; | ||
keyDownFn: (_: KeyboardEvent) => boolean; | ||
ngClass: any; | ||
@@ -70,10 +69,2 @@ typeahead: Subject<string>; | ||
isOpen?: boolean; | ||
get items(): readonly any[] | null | undefined; | ||
set items(value: readonly any[] | null | undefined); | ||
get compareWith(): CompareWithFn; | ||
set compareWith(fn: CompareWithFn); | ||
get clearSearchOnAdd(): boolean; | ||
set clearSearchOnAdd(value: boolean); | ||
get deselectOnClick(): boolean; | ||
set deselectOnClick(value: boolean); | ||
blurEvent: EventEmitter<any>; | ||
@@ -113,5 +104,2 @@ focusEvent: EventEmitter<any>; | ||
useDefaultClass: boolean; | ||
get disabled(): boolean; | ||
get filtered(): boolean; | ||
get single(): boolean; | ||
itemsList: ItemsList; | ||
@@ -124,3 +112,2 @@ viewPortItems: NgOption[]; | ||
escapeHTML: boolean; | ||
private _items; | ||
private _itemsAreUsed; | ||
@@ -130,15 +117,23 @@ private _defaultLabel; | ||
private _manualOpen; | ||
private _disabled; | ||
private _pressedKeys; | ||
private _compareWith; | ||
private _clearSearchOnAdd; | ||
private _deselectOnClick; | ||
private _isComposing; | ||
private get _editableSearchTerm(); | ||
private readonly _destroy$; | ||
private readonly _keyPress$; | ||
private _onChange; | ||
private _onTouched; | ||
clearItem: (item: any) => void; | ||
constructor(classes: string, autoFocus: any, config: NgSelectConfig, newSelectionModel: SelectionModelFactory | undefined, _elementRef: ElementRef<HTMLElement>, _cd: ChangeDetectorRef, _console: ConsoleService); | ||
get filtered(): boolean; | ||
get single(): boolean; | ||
private _items; | ||
get items(): readonly any[] | null | undefined; | ||
set items(value: readonly any[] | null | undefined); | ||
private _disabled; | ||
get disabled(): boolean; | ||
private _compareWith; | ||
get compareWith(): CompareWithFn; | ||
set compareWith(fn: CompareWithFn); | ||
private _clearSearchOnAdd; | ||
get clearSearchOnAdd(): boolean; | ||
set clearSearchOnAdd(value: boolean); | ||
private _deselectOnClick; | ||
get deselectOnClick(): boolean; | ||
set deselectOnClick(value: boolean); | ||
get selectedItems(): NgOption[]; | ||
@@ -148,2 +143,8 @@ get selectedValues(): any[]; | ||
get currentPanelPosition(): DropdownPosition; | ||
get showAddTag(): boolean; | ||
private get _editableSearchTerm(); | ||
private get _isTypeahead(); | ||
private get _validTerm(); | ||
keyDownFn: (_: KeyboardEvent) => boolean; | ||
clearItem: (item: any) => void; | ||
ngOnInit(): void; | ||
@@ -177,3 +178,2 @@ ngOnChanges(changes: SimpleChanges): void; | ||
trackByOption: (_: number, item: NgOption) => any; | ||
get showAddTag(): boolean; | ||
showNoItemsFound(): boolean; | ||
@@ -188,2 +188,4 @@ showTypeToSearch(): boolean; | ||
detectChanges(): void; | ||
private _onChange; | ||
private _onTouched; | ||
private _setSearchTermFromItems; | ||
@@ -209,7 +211,5 @@ private _setItems; | ||
private _handleBackspace; | ||
private get _isTypeahead(); | ||
private get _validTerm(); | ||
private _mergeGlobalConfig; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectComponent, [{ attribute: "class"; }, { attribute: "autofocus"; }, null, { optional: true; }, null, null, null]>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<NgSelectComponent, "ng-select", never, { "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "markFirst": { "alias": "markFirst"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "fixedPlaceholder": { "alias": "fixedPlaceholder"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "typeToSearchText": { "alias": "typeToSearchText"; "required": false; }; "preventToggleOnRightClick": { "alias": "preventToggleOnRightClick"; "required": false; }; "addTagText": { "alias": "addTagText"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "openOnEnter": { "alias": "openOnEnter"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "groupValue": { "alias": "groupValue"; "required": false; }; "bufferAmount": { "alias": "bufferAmount"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "clearOnBackspace": { "alias": "clearOnBackspace"; "required": false; }; "labelForId": { "alias": "labelForId"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "searchWhileComposing": { "alias": "searchWhileComposing"; "required": false; }; "minTermLength": { "alias": "minTermLength"; "required": false; }; "editableSearchTerm": { "alias": "editableSearchTerm"; "required": false; }; "keyDownFn": { "alias": "keyDownFn"; "required": false; }; "ngClass": { "alias": "ngClass"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "items": { "alias": "items"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "deselectOnClick": { "alias": "deselectOnClick"; "required": false; }; }, { "blurEvent": "blur"; "focusEvent": "focus"; "changeEvent": "change"; "openEvent": "open"; "closeEvent": "close"; "searchEvent": "search"; "clearEvent": "clear"; "addEvent": "add"; "removeEvent": "remove"; "scroll": "scroll"; "scrollToEnd": "scrollToEnd"; }, ["optionTemplate", "optgroupTemplate", "labelTemplate", "multiLabelTemplate", "headerTemplate", "footerTemplate", "notFoundTemplate", "placeholderTemplate", "typeToSearchTemplate", "loadingTextTemplate", "tagTemplate", "loadingSpinnerTemplate", "ngOptions"], never, true, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<NgSelectComponent, "ng-select", never, { "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "markFirst": { "alias": "markFirst"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "fixedPlaceholder": { "alias": "fixedPlaceholder"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "typeToSearchText": { "alias": "typeToSearchText"; "required": false; }; "preventToggleOnRightClick": { "alias": "preventToggleOnRightClick"; "required": false; }; "addTagText": { "alias": "addTagText"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "openOnEnter": { "alias": "openOnEnter"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "groupValue": { "alias": "groupValue"; "required": false; }; "bufferAmount": { "alias": "bufferAmount"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "clearOnBackspace": { "alias": "clearOnBackspace"; "required": false; }; "labelForId": { "alias": "labelForId"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "searchWhileComposing": { "alias": "searchWhileComposing"; "required": false; }; "minTermLength": { "alias": "minTermLength"; "required": false; }; "editableSearchTerm": { "alias": "editableSearchTerm"; "required": false; }; "ngClass": { "alias": "ngClass"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "items": { "alias": "items"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "deselectOnClick": { "alias": "deselectOnClick"; "required": false; }; "keyDownFn": { "alias": "keyDownFn"; "required": false; }; }, { "blurEvent": "blur"; "focusEvent": "focus"; "changeEvent": "change"; "openEvent": "open"; "closeEvent": "close"; "searchEvent": "search"; "clearEvent": "clear"; "addEvent": "add"; "removeEvent": "remove"; "scroll": "scroll"; "scrollToEnd": "scrollToEnd"; }, ["optionTemplate", "optgroupTemplate", "labelTemplate", "multiLabelTemplate", "headerTemplate", "footerTemplate", "notFoundTemplate", "placeholderTemplate", "typeToSearchTemplate", "loadingTextTemplate", "tagTemplate", "loadingSpinnerTemplate", "ngOptions"], never, true, never>; | ||
static ngAcceptInputType_markFirst: unknown; | ||
@@ -216,0 +216,0 @@ static ngAcceptInputType_loading: unknown; |
export declare function escapeHTML(value: string): string; | ||
export declare function isDefined(value: any): boolean; | ||
export declare function isObject(value: any): boolean; | ||
export declare function isPromise(value: any): boolean; | ||
export declare function isPromise(value: any): value is Promise<any>; | ||
export declare function isFunction(value: any): boolean; |
{ | ||
"name": "@ng-select/ng-select", | ||
"version": "13.8.0", | ||
"version": "13.8.1", | ||
"description": "Angular ng-select - All in One UI Select, Multiselect and Autocomplete", | ||
@@ -5,0 +5,0 @@ "author": "@ng-select/ng-select", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
857293
47
7402