mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Bundled output for commit e9de3f3c61
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
@@ -10,3 +10,17 @@
|
|||||||
* can fix.
|
* can fix.
|
||||||
*/
|
*/
|
||||||
export default function fireDebugWarning(...args: Parameters<typeof console.warn>): void;
|
export default function fireDebugWarning(...args: Parameters<typeof console.warn>): void;
|
||||||
|
/**
|
||||||
|
* Fire a Flarum deprecation warning which is shown in the JS console.
|
||||||
|
*
|
||||||
|
* These warnings are only shown when the forum is in debug mode, and the function exists to
|
||||||
|
* reduce bundle size caused by multiple warnings across our JavaScript.
|
||||||
|
*
|
||||||
|
* @param message The message to display. (Short, but sweet, please!)
|
||||||
|
* @param githubId The PR or Issue ID with more info in relation to this change.
|
||||||
|
* @param [removedFrom] The version in which this feature will be completely removed. (default: 2.0)
|
||||||
|
* @param [repo] The repo which the issue or PR is located in. (default: flarum/core)
|
||||||
|
*
|
||||||
|
* @see {@link fireDebugWarning}
|
||||||
|
*/
|
||||||
|
export declare function fireDeprecationWarning(message: string, githubId: string, removedFrom?: string, repo?: string): void;
|
||||||
|
@@ -42,12 +42,22 @@ export interface SearchAttrs extends ComponentAttrs {
|
|||||||
*
|
*
|
||||||
* - state: SearchState instance.
|
* - state: SearchState instance.
|
||||||
*/
|
*/
|
||||||
export default class Search<T extends SearchAttrs = SearchAttrs> extends Component<T> {
|
export default class Search<T extends SearchAttrs = SearchAttrs> extends Component<T, SearchState> {
|
||||||
/**
|
/**
|
||||||
* The minimum query length before sources are searched.
|
* The minimum query length before sources are searched.
|
||||||
*/
|
*/
|
||||||
protected static MIN_SEARCH_LEN: number;
|
protected static MIN_SEARCH_LEN: number;
|
||||||
|
/**
|
||||||
|
* The instance of `SearchState` for this component.
|
||||||
|
*/
|
||||||
protected searchState: SearchState;
|
protected searchState: SearchState;
|
||||||
|
/**
|
||||||
|
* The instance of `SearchState` for this component.
|
||||||
|
*
|
||||||
|
* @deprecated Replace with`this.searchState` instead.
|
||||||
|
*/
|
||||||
|
protected get state(): SearchState;
|
||||||
|
protected set state(state: SearchState);
|
||||||
/**
|
/**
|
||||||
* Whether or not the search input has focus.
|
* Whether or not the search input has focus.
|
||||||
*/
|
*/
|
||||||
|
2
framework/core/js/dist/admin.js
generated
vendored
2
framework/core/js/dist/admin.js
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/admin.js.map
generated
vendored
2
framework/core/js/dist/admin.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/forum.js
generated
vendored
2
framework/core/js/dist/forum.js
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/forum.js.map
generated
vendored
2
framework/core/js/dist/forum.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user