-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #241 from GSA/hierarchicalEnhancement
Hierarchical enhancement X Character count
- Loading branch information
Showing
5 changed files
with
117 additions
and
66 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
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
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
92 changes: 48 additions & 44 deletions
92
src/ui-kit/experimental/hierarchical/models/SamHierarchicalAutocompleteConfiguration.ts
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 |
---|---|---|
@@ -1,47 +1,51 @@ | ||
export class SamHierarchicalAutocompleteConfiguration { | ||
|
||
/** | ||
* sets the default debounce time to 250 milliseconds | ||
*/ | ||
constructor() { | ||
this.debounceTime = 250; | ||
} | ||
|
||
/** | ||
* Used to describe the drop down (Text should match the label that will be supplied) | ||
*/ | ||
public labelText: string; | ||
|
||
/** | ||
* Used for the Id of the control | ||
*/ | ||
public id: string; | ||
|
||
/** | ||
* This is the primary field used to identify each object in the results | ||
*/ | ||
public primaryKeyField: string; | ||
|
||
/** | ||
* Property from supplied model used for the top part of the basic template | ||
*/ | ||
public primaryTextField: string; | ||
|
||
/** | ||
* Property from supplied model used for the bottom part of the basic template | ||
*/ | ||
public secondaryTextField: string; | ||
|
||
/** | ||
* Sets the time waited for addional key actions Default is 250 milliseconds | ||
*/ | ||
public debounceTime: number; | ||
|
||
/** | ||
* Place holder text for autocomplete input | ||
*/ | ||
public autocompletePlaceHolderText: string; | ||
|
||
|
||
/** | ||
* sets the default debounce time to 250 milliseconds | ||
*/ | ||
constructor() { | ||
this.debounceTime = 250; | ||
this.minimumCharacterCountSearch = 0; | ||
} | ||
|
||
|
||
/** | ||
* Used to describe the drop down (Text should match the label that will be supplied) | ||
*/ | ||
public labelText: string; | ||
|
||
/** | ||
* Used for the Id of the control | ||
*/ | ||
public id: string; | ||
|
||
/** | ||
* This is the primary field used to identify each object in the results | ||
*/ | ||
public primaryKeyField: string; | ||
|
||
/** | ||
* Property from supplied model used for the top part of the basic template | ||
*/ | ||
public primaryTextField: string; | ||
|
||
/** | ||
* Property from supplied model used for the bottom part of the basic template | ||
*/ | ||
public secondaryTextField: string; | ||
|
||
/** | ||
* Sets the time waited for addional key actions Default is 250 milliseconds | ||
*/ | ||
public debounceTime: number; | ||
|
||
/** | ||
* Place holder text for autocomplete input | ||
*/ | ||
public autocompletePlaceHolderText: string; | ||
|
||
/** | ||
* Mininumn Characters for search | ||
*/ | ||
public minimumCharacterCountSearch: number; | ||
|
||
} |
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