mirror of
https://github.com/flarum/core.git
synced 2025-08-10 10:24:46 +02:00
Bundled output for commit cab2e797eb
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
@@ -26,7 +26,7 @@ export default class AvatarEditor extends Component<import("../../common/Compone
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
controlItems(): ItemList;
|
||||
controlItems(): ItemList<any>;
|
||||
/**
|
||||
* Enable dragover style
|
||||
*
|
||||
|
@@ -34,7 +34,7 @@ export default class CommentPost extends Post {
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
headerItems(): ItemList;
|
||||
headerItems(): ItemList<any>;
|
||||
}
|
||||
import Post from "./Post";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
@@ -85,7 +85,7 @@ export default class Composer extends Component<import("../../common/Component")
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
controlItems(): ItemList;
|
||||
controlItems(): ItemList<any>;
|
||||
/**
|
||||
* Initialize default Composer height.
|
||||
*/
|
||||
|
@@ -35,7 +35,7 @@ export default class ComposerBody extends Component<import("../../common/Compone
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
headerItems(): ItemList;
|
||||
headerItems(): ItemList<any>;
|
||||
/**
|
||||
* Handle the submit event of the text editor.
|
||||
*
|
||||
|
@@ -12,7 +12,7 @@ export default class DiscussionHero extends Component<import("../../common/Compo
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
items(): ItemList;
|
||||
items(): ItemList<any>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
@@ -51,7 +51,7 @@ export default class DiscussionListItem extends Component<import("../../common/C
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
infoItems(): ItemList;
|
||||
infoItems(): ItemList<any>;
|
||||
replyCountItem(): JSX.Element;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
|
@@ -33,7 +33,7 @@ export default class DiscussionPage<CustomAttrs extends IDiscussionPageAttrs = I
|
||||
*
|
||||
* @returns {ItemList}
|
||||
*/
|
||||
loadingItems(): ItemList;
|
||||
loadingItems(): ItemList<unknown>;
|
||||
/**
|
||||
* Function that renders the `sidebarItems` ItemList.
|
||||
*
|
||||
@@ -51,13 +51,13 @@ export default class DiscussionPage<CustomAttrs extends IDiscussionPageAttrs = I
|
||||
*
|
||||
* @returns {ItemList}
|
||||
*/
|
||||
pageContent(): ItemList;
|
||||
pageContent(): ItemList<unknown>;
|
||||
/**
|
||||
* List of items rendered inside the main page content container.
|
||||
*
|
||||
* @returns {ItemList}
|
||||
*/
|
||||
mainContent(): ItemList;
|
||||
mainContent(): ItemList<unknown>;
|
||||
/**
|
||||
* Load the discussion from the API or use the preloaded one.
|
||||
*/
|
||||
@@ -83,7 +83,7 @@ export default class DiscussionPage<CustomAttrs extends IDiscussionPageAttrs = I
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
sidebarItems(): ItemList;
|
||||
sidebarItems(): ItemList<unknown>;
|
||||
/**
|
||||
* When the posts that are visible in the post stream change (i.e. the user
|
||||
* scrolls up or down), then we update the URL and mark the posts as read.
|
||||
|
@@ -9,7 +9,7 @@ export default class HeaderPrimary extends Component<import("../../common/Compon
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
items(): ItemList;
|
||||
items(): ItemList<any>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
@@ -10,7 +10,7 @@ export default class HeaderSecondary extends Component<import("../../common/Comp
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
items(): ItemList;
|
||||
items(): ItemList<any>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
@@ -20,14 +20,14 @@ export default class IndexPage extends Page<import("../../common/components/Page
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
sidebarItems(): ItemList;
|
||||
sidebarItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the navigation in the sidebar of the index page. By
|
||||
* default this is just the 'All Discussions' link.
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
navItems(): ItemList;
|
||||
navItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the part of the toolbar which is concerned with how
|
||||
* the results are displayed. By default this is just a select box to change
|
||||
@@ -35,14 +35,14 @@ export default class IndexPage extends Page<import("../../common/components/Page
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
viewItems(): ItemList;
|
||||
viewItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the part of the toolbar which is about taking action
|
||||
* on the results. By default this is just a "mark all as read" button.
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
actionItems(): ItemList;
|
||||
actionItems(): ItemList<any>;
|
||||
/**
|
||||
* Open the composer for a new discussion or prompt the user to login.
|
||||
*
|
||||
|
@@ -9,7 +9,7 @@ export default class LogInButtons extends Component<import("../../common/Compone
|
||||
* @return {ItemList}
|
||||
* @public
|
||||
*/
|
||||
public items(): ItemList;
|
||||
public items(): ItemList<any>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
@@ -27,7 +27,7 @@ export default class LogInModal extends Modal<any> {
|
||||
*/
|
||||
remember: Function | undefined;
|
||||
body(): JSX.Element[];
|
||||
fields(): ItemList;
|
||||
fields(): ItemList<any>;
|
||||
footer(): (string | JSX.Element)[];
|
||||
/**
|
||||
* Open the forgot password modal, prefilling it with an email if the user has
|
||||
|
@@ -65,7 +65,7 @@ export default class NotificationGrid extends Component<import("../../common/Com
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
notificationMethods(): ItemList;
|
||||
notificationMethods(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the notification types to display in the grid.
|
||||
*
|
||||
@@ -77,7 +77,7 @@ export default class NotificationGrid extends Component<import("../../common/Com
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
notificationTypes(): ItemList;
|
||||
notificationTypes(): ItemList<any>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
4
js/dist-typings/forum/components/Post.d.ts
vendored
4
js/dist-typings/forum/components/Post.d.ts
vendored
@@ -46,13 +46,13 @@ export default class Post extends Component<import("../../common/Component").Com
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
actionItems(): ItemList;
|
||||
actionItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the post's footer.
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
footerItems(): ItemList;
|
||||
footerItems(): ItemList<any>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import SubtreeRetainer from "../../common/utils/SubtreeRetainer";
|
||||
|
@@ -8,7 +8,7 @@ export default class SessionDropdown extends Dropdown {
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
items(): ItemList;
|
||||
items(): ItemList<any>;
|
||||
}
|
||||
import Dropdown from "../../common/components/Dropdown";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
@@ -8,25 +8,25 @@ export default class SettingsPage extends UserPage {
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
settingsItems(): ItemList;
|
||||
settingsItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the user's account settings.
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
accountItems(): ItemList;
|
||||
accountItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the user's notification settings.
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
notificationsItems(): ItemList;
|
||||
notificationsItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the user's privacy settings.
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
privacyItems(): ItemList;
|
||||
privacyItems(): ItemList<any>;
|
||||
discloseOnlineLoading: boolean | undefined;
|
||||
}
|
||||
import UserPage from "./UserPage";
|
||||
|
@@ -30,7 +30,7 @@ export default class SignUpModal extends Modal<any> {
|
||||
password: Function | undefined;
|
||||
isProvided(field: any): any;
|
||||
body(): (string | JSX.Element)[];
|
||||
fields(): ItemList;
|
||||
fields(): ItemList<any>;
|
||||
footer(): JSX.Element[];
|
||||
/**
|
||||
* Open the log in modal, prefilling it with an email/username/password if
|
||||
|
@@ -17,7 +17,7 @@ export default class UserCard extends Component<import("../../common/Component")
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
infoItems(): ItemList;
|
||||
infoItems(): ItemList<any>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
@@ -39,13 +39,13 @@ export default class UserPage extends Page<import("../../common/components/Page"
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
sidebarItems(): ItemList;
|
||||
sidebarItems(): ItemList<any>;
|
||||
/**
|
||||
* Build an item list for the navigation in the sidebar.
|
||||
*
|
||||
* @return {ItemList}
|
||||
*/
|
||||
navItems(): ItemList;
|
||||
navItems(): ItemList<any>;
|
||||
}
|
||||
import Page from "../../common/components/Page";
|
||||
import ItemList from "../../common/utils/ItemList";
|
||||
|
Reference in New Issue
Block a user