select2-component
Advanced tools
Comparing version 5.2.2 to 5.3.0
@@ -13,3 +13,3 @@ export declare type Select2Group = { | ||
}; | ||
export declare type Select2Value = string | number; | ||
export declare type Select2Value = string | number | boolean; | ||
export declare type Select2UpdateValue = Select2Value | Select2Value[]; | ||
@@ -20,6 +20,6 @@ export declare type Select2Data = (Select2Group | Select2Option)[]; | ||
export declare function getOptionsByValue(data: Select2Data, value: Select2UpdateValue | null | undefined, multiple: boolean | null | undefined): Select2Option | Select2Option[] | null; | ||
export declare function getFirstAvailableOption(data: Select2Data): string | number | null; | ||
export declare function getFirstAvailableOption(data: Select2Data): string | number | boolean | null; | ||
export declare function valueIsNotInFilteredData(filteredData: Select2Data, value: Select2Value | null | undefined): boolean; | ||
export declare function getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | null | undefined; | ||
export declare function getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | null | undefined; | ||
export declare function getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | boolean | null | undefined; | ||
export declare function getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): string | number | boolean | null | undefined; | ||
export declare function getLastScrollTopIndex(hoveringValue: Select2Value | null | undefined, results: HTMLElement, filteredData: Select2Data, lastScrollTopIndex: number): number | null; | ||
@@ -26,0 +26,0 @@ export declare function getFilteredData(data: Select2Data, searchText: string | null, editPattern?: (str: string) => string): (Select2Option | Select2Group)[]; |
{ | ||
"name": "select2-component", | ||
"version": "5.2.2", | ||
"version": "5.3.0", | ||
"description": "A vuejs, reactjs and angular select component core.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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
60109