1
0
mirror of https://github.com/flarum/core.git synced 2025-08-20 07:11:31 +02:00

Bundled output for commit d4fe5f5a7a

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2024-10-02 06:54:38 +00:00
parent d4fe5f5a7a
commit 4d75da36b8
6 changed files with 9 additions and 5 deletions

2
extensions/flags/js/dist/forum.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -25,6 +25,8 @@ export default class CommentPost extends Post<import("./Post").IPostAttrs> {
*/ */
cardVisible: boolean | undefined; cardVisible: boolean | undefined;
content(): any; content(): any;
contentItems(): ItemList<any>;
bodyItems(): ItemList<any>;
refreshContent(): void; refreshContent(): void;
contentHtml: any; contentHtml: any;
oncreate(vnode: any): void; oncreate(vnode: any): void;

View File

@@ -1,5 +1,6 @@
import Component, { ComponentAttrs } from '../../common/Component'; import Component, { ComponentAttrs } from '../../common/Component';
import SubtreeRetainer from '../../common/utils/SubtreeRetainer'; import SubtreeRetainer from '../../common/utils/SubtreeRetainer';
import { ModdedChildrenWithItemName } from '../../common/helpers/listItems';
import ItemList from '../../common/utils/ItemList'; import ItemList from '../../common/utils/ItemList';
import type PostModel from '../../common/models/Post'; import type PostModel from '../../common/models/Post';
import type Mithril from 'mithril'; import type Mithril from 'mithril';
@@ -23,6 +24,7 @@ export default abstract class Post<CustomAttrs extends IPostAttrs = IPostAttrs>
subtree: SubtreeRetainer; subtree: SubtreeRetainer;
oninit(vnode: Mithril.Vnode<CustomAttrs, this>): void; oninit(vnode: Mithril.Vnode<CustomAttrs, this>): void;
view(vnode: Mithril.Vnode<CustomAttrs, this>): JSX.Element; view(vnode: Mithril.Vnode<CustomAttrs, this>): JSX.Element;
viewItems(controls: Mithril.Children[], footerItems: ModdedChildrenWithItemName[]): ItemList<Mithril.Children>;
onbeforeupdate(vnode: Mithril.VnodeDOM<CustomAttrs, this>): boolean; onbeforeupdate(vnode: Mithril.VnodeDOM<CustomAttrs, this>): boolean;
onupdate(vnode: Mithril.VnodeDOM<CustomAttrs, this>): void; onupdate(vnode: Mithril.VnodeDOM<CustomAttrs, this>): void;
/** /**
@@ -44,5 +46,5 @@ export default abstract class Post<CustomAttrs extends IPostAttrs = IPostAttrs>
/** /**
* Build an item list for the post's footer. * Build an item list for the post's footer.
*/ */
footerItems(): ItemList<Mithril.Children>; footerItems(): ItemList<ModdedChildrenWithItemName>;
} }

2
framework/core/js/dist/forum.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long