-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split Templates into interface and implementation & resolve dependenc…
…y cycles.
- Loading branch information
Showing
33 changed files
with
202 additions
and
82 deletions.
There are no files selected for viewing
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
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 +1 @@ | ||
/*! choices.js v11.0.0 RC3 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ | ||
/*! choices.js v11.0.0RC3 | © 2024 Josh Johnson | https://github.com/jshjohnson/Choices#readme */ |
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 |
---|---|---|
|
@@ -5,12 +5,12 @@ import { Notice } from './interfaces/notice'; | |
import { Options } from './interfaces/options'; | ||
import { State } from './interfaces/state'; | ||
import Store from './store/store'; | ||
import templates from './templates'; | ||
import { ChoiceFull } from './interfaces/choice-full'; | ||
import { GroupFull } from './interfaces/group-full'; | ||
import { PassedElementType } from './interfaces'; | ||
import { Choices as ChoicesInterface } from './interfaces/choices'; | ||
import { EventChoice } from './interfaces/event-choice'; | ||
import { Templates } from './interfaces/templates'; | ||
/** | ||
* Choices | ||
* @author Josh Johnson<[email protected]> | ||
|
@@ -19,7 +19,7 @@ declare class Choices implements ChoicesInterface { | |
static get defaults(): { | ||
options: Partial<Options>; | ||
allOptions: Options; | ||
templates: typeof templates; | ||
templates: Templates; | ||
}; | ||
initialised: boolean; | ||
config: Options; | ||
|
@@ -38,7 +38,7 @@ declare class Choices implements ChoicesInterface { | |
_hasNonChoicePlaceholder: boolean; | ||
_canAddUserChoices: boolean; | ||
_store: Store; | ||
_templates: typeof templates; | ||
_templates: Templates; | ||
_initialState: State; | ||
_currentState: State; | ||
_prevState: State; | ||
|
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.
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
Oops, something went wrong.