1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 23:17:43 +02:00

Bundled output for commit 2e76a8ecb5

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

[skip ci]
This commit is contained in:
flarum-bot
2023-04-16 20:54:45 +00:00
parent 2e76a8ecb5
commit 176b5540d8
10 changed files with 37 additions and 9 deletions

View File

@@ -1,8 +1,9 @@
/// <reference path="../../@types/translator-icu-rich.d.ts" />
import Modal, { IInternalModalAttrs } from '../../common/components/Modal';
import Stream from '../../common/utils/Stream';
import Mithril from 'mithril';
import type Mithril from 'mithril';
import RequestError from '../../common/utils/RequestError';
import ItemList from '../../common/utils/ItemList';
/**
* The `ChangeEmailModal` component shows a modal dialog which allows the user
* to change their email address.
@@ -24,6 +25,10 @@ export default class ChangeEmailModal<CustomAttrs extends IInternalModalAttrs =
className(): string;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
content(): JSX.Element;
fields(): ItemList<Mithril.Children>;
onsubmit(e: SubmitEvent): void;
requestAttributes(): {
email: string;
};
onerror(error: RequestError): void;
}

View File

@@ -1,6 +1,7 @@
/// <reference path="../../@types/translator-icu-rich.d.ts" />
/// <reference types="mithril" />
import Modal, { IInternalModalAttrs } from '../../common/components/Modal';
import Mithril from 'mithril';
import ItemList from '../../common/utils/ItemList';
/**
* The `ChangePasswordModal` component shows a modal dialog which allows the
* user to send themself a password reset email.
@@ -9,5 +10,9 @@ export default class ChangePasswordModal<CustomAttrs extends IInternalModalAttrs
className(): string;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
content(): JSX.Element;
fields(): ItemList<Mithril.Children>;
onsubmit(e: SubmitEvent): void;
requestBody(): {
email: string | undefined;
};
}

View File

@@ -24,6 +24,13 @@ export default class DiscussionListItem<CustomAttrs extends IDiscussionListItemA
className: string;
};
view(): JSX.Element;
controlsView(controls: Mithril.ChildArray): Mithril.Children;
slidableUnderneathView(): Mithril.Children;
contentView(): Mithril.Children;
authorAvatarView(): Mithril.Children;
badgesView(): Mithril.Children;
mainView(): Mithril.Children;
getJumpTo(): number;
oncreate(vnode: Mithril.VnodeDOM<CustomAttrs, this>): void;
onbeforeupdate(vnode: Mithril.VnodeDOM<CustomAttrs, this>): boolean;
/**

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