mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 18:05:08 +08:00
Bundled output for commit 36c296d787
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
parent
36c296d787
commit
4923253fbf
10
framework/core/js/dist-typings/common/Component.d.ts
generated
vendored
10
framework/core/js/dist-typings/common/Component.d.ts
generated
vendored
|
@ -32,13 +32,13 @@ export default abstract class Component<Attrs extends ComponentAttrs = Component
|
|||
/**
|
||||
* The root DOM element for the component.
|
||||
*/
|
||||
protected element: Element;
|
||||
element: Element;
|
||||
/**
|
||||
* The attributes passed into the component.
|
||||
*
|
||||
* @see https://mithril.js.org/components.html#passing-data-to-components
|
||||
*/
|
||||
protected attrs: Attrs;
|
||||
attrs: Attrs;
|
||||
/**
|
||||
* Class component state that is persisted between redraws.
|
||||
*
|
||||
|
@ -50,7 +50,7 @@ export default abstract class Component<Attrs extends ComponentAttrs = Component
|
|||
*
|
||||
* This is `undefined` by default.
|
||||
*/
|
||||
protected state: State;
|
||||
state: State;
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
|
@ -92,7 +92,7 @@ export default abstract class Component<Attrs extends ComponentAttrs = Component
|
|||
* @returns the jQuery object for the DOM node
|
||||
* @final
|
||||
*/
|
||||
protected $(selector?: string): JQuery;
|
||||
$(selector?: string): JQuery;
|
||||
/**
|
||||
* Convenience method to attach a component without JSX.
|
||||
* Has the same effect as calling `m(THIS_CLASS, attrs, children)`.
|
||||
|
@ -110,5 +110,5 @@ export default abstract class Component<Attrs extends ComponentAttrs = Component
|
|||
*
|
||||
* This can be used to assign default values for missing, optional attrs.
|
||||
*/
|
||||
protected static initAttrs<T>(attrs: T): void;
|
||||
static initAttrs<T>(attrs: T): void;
|
||||
}
|
||||
|
|
7
framework/core/js/dist-typings/common/Translator.d.ts
generated
vendored
7
framework/core/js/dist-typings/common/Translator.d.ts
generated
vendored
|
@ -12,7 +12,14 @@ export default class Translator {
|
|||
* The underlying ICU MessageFormatter util.
|
||||
*/
|
||||
protected formatter: RichMessageFormatter;
|
||||
/**
|
||||
* Sets the formatter's locale to the provided value.
|
||||
*/
|
||||
setLocale(locale: string): void;
|
||||
/**
|
||||
* Returns the formatter's current locale.
|
||||
*/
|
||||
getLocale(): string | null;
|
||||
addTranslations(translations: Translations): void;
|
||||
/**
|
||||
* An extensible entrypoint for extenders to register type handlers for translations.
|
||||
|
|
7
framework/core/js/dist-typings/forum/components/Search.d.ts
generated
vendored
7
framework/core/js/dist-typings/forum/components/Search.d.ts
generated
vendored
|
@ -1,4 +1,3 @@
|
|||
/// <reference types="node" />
|
||||
import Component, { ComponentAttrs } from '../../common/Component';
|
||||
import ItemList from '../../common/utils/ItemList';
|
||||
import KeyboardNavigatable from '../utils/KeyboardNavigatable';
|
||||
|
@ -56,8 +55,8 @@ export default class Search<T extends SearchAttrs = SearchAttrs> extends Compone
|
|||
*
|
||||
* @deprecated Replace with`this.searchState` instead.
|
||||
*/
|
||||
protected get state(): SearchState;
|
||||
protected set state(state: SearchState);
|
||||
get state(): SearchState;
|
||||
set state(state: SearchState);
|
||||
/**
|
||||
* Whether or not the search input has focus.
|
||||
*/
|
||||
|
@ -78,7 +77,7 @@ export default class Search<T extends SearchAttrs = SearchAttrs> extends Compone
|
|||
*/
|
||||
protected index: number;
|
||||
protected navigator: KeyboardNavigatable;
|
||||
protected searchTimeout?: NodeJS.Timeout;
|
||||
protected searchTimeout?: number;
|
||||
private updateMaxHeightHandler?;
|
||||
oninit(vnode: Mithril.Vnode<T, this>): void;
|
||||
view(): JSX.Element;
|
||||
|
|
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
Loading…
Reference in New Issue
Block a user