-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97aebe7
commit 6e77aac
Showing
875 changed files
with
13,611 additions
and
3,237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import { Editor, Column, MultipleSelectOption, SelectOption } from './../models/index'; | ||
/** | ||
* Slickgrid editor class for multiple select lists | ||
*/ | ||
export declare class MultipleSelectEditor implements Editor { | ||
private args; | ||
/** | ||
* The JQuery DOM element | ||
*/ | ||
$editorElm: any; | ||
/** | ||
* The slick grid column being edited | ||
*/ | ||
columnDef: Column; | ||
/** | ||
* The multiple-select options for a multiple select list | ||
*/ | ||
defaultOptions: MultipleSelectOption; | ||
/** | ||
* The default item values that are set | ||
*/ | ||
defaultValue: any[]; | ||
/** | ||
* The options label/value object to use in the select list | ||
*/ | ||
collection: SelectOption[]; | ||
/** | ||
* The property name for values in the collection | ||
*/ | ||
valueName: string; | ||
/** | ||
* The property name for labels in the collection | ||
*/ | ||
labelName: string; | ||
/** | ||
* The i18n aurelia library | ||
*/ | ||
private _i18n; | ||
constructor(args: any); | ||
/** | ||
* The current selected values from the collection | ||
*/ | ||
readonly currentValues: (string | number)[]; | ||
init(): void; | ||
applyValue(item: any, state: any): void; | ||
destroy(): void; | ||
loadValue(item: any): void; | ||
serializeValue(): any; | ||
focus(): void; | ||
isValueChanged(): boolean; | ||
validate(): any; | ||
private buildTemplateHtmlString(); | ||
private createDomElement(editorTemplate); | ||
private refresh(); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.