1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +02:00

Bundled output for commit e63e161be6

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

[skip ci]
This commit is contained in:
flarum-bot
2023-05-07 16:49:15 +00:00
parent e63e161be6
commit c766881e1f
47 changed files with 51 additions and 52 deletions

View File

@@ -132,7 +132,7 @@ export default abstract class AdminPage<CustomAttrs extends IPageAttrs = IPageAt
* return (
* <div className={attrs.className}>
* <label>{attrs.label}</label>
* {attrs.help && <p class="helpText">{attrs.help}</p>}
* {attrs.help && <p className="helpText">{attrs.help}</p>}
*
* My setting component!
* </div>

View File

@@ -9,7 +9,7 @@ export default class AppearancePage extends AdminPage {
title: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
description: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
};
content(): JSX.Element[];
content(): JSX.Element;
colorItems(): ItemList<Mithril.Children>;
onsaved(): void;
}

View File

@@ -1,4 +1,3 @@
/// <reference path="../../@types/translator-icu-rich.d.ts" />
import Modal, { IInternalModalAttrs } from '../../common/components/Modal';
import Group from '../../common/models/Group';
import ItemList from '../../common/utils/ItemList';
@@ -20,9 +19,9 @@ export default class EditGroupModal<CustomAttrs extends IEditGroupModalAttrs = I
isHidden: Stream<boolean>;
oninit(vnode: Mithril.Vnode<CustomAttrs, this>): void;
className(): string;
title(): (Mithril.Vnode<{}, {}> | import("@askvortsov/rich-icu-message-formatter").NestedStringArray)[];
title(): JSX.Element;
content(): JSX.Element;
fields(): ItemList<unknown>;
fields(): ItemList<Mithril.Children>;
submitData(): {
nameSingular: string;
namePlural: string;

View File

@@ -9,6 +9,6 @@ export default class LoadingModal<ModalAttrs extends ILoadingModalAttrs = ILoadi
static readonly isDismissible: boolean;
className(): string;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
content(): string;
content(): null;
onsubmit(e: Event): void;
}

View File

@@ -8,5 +8,5 @@ export default class PermissionsPage extends AdminPage {
title: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
description: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
};
content(): JSX.Element[];
content(): JSX.Element;
}

View File

@@ -23,9 +23,9 @@ export default class EditUserModal<CustomAttrs extends IEditUserModalAttrs = IEd
activate(): void;
data(): SaveAttributes;
onsubmit(e: SubmitEvent): void;
nonAdminEditingAdmin(): boolean | null;
nonAdminEditingAdmin(): boolean;
/**
* @internal
*/
protected userIsAdmin(user: User | null): boolean | null;
protected userIsAdmin(user: User | null): boolean;
}

View File

@@ -1,7 +1,7 @@
import type Mithril from 'mithril';
import User from '../models/User';
/**
* The `username` helper displays a user's username in a <span class="username">
* The `username` helper displays a user's username in a <span className="username">
* tag. If the user doesn't exist, the username will be displayed as [deleted].
*/
export default function username(user: User | null | undefined | false): Mithril.Vnode;

View File

@@ -20,7 +20,7 @@ export default class IndexPage<CustomAttrs extends IIndexPageAttrs = IIndexPageA
/**
* Get the component to display as the hero.
*/
hero(): Mithril.Vnode<{}, {}>;
hero(): JSX.Element;
/**
* Build an item list for the sidebar of the index page. By default this is a
* "New Discussion" button, and then a DropdownSelect component containing a

View File

@@ -29,7 +29,7 @@ export default class LogInModal<CustomAttrs extends ILoginModalAttrs = ILoginMod
content(): JSX.Element[];
body(): JSX.Element[];
fields(): ItemList<unknown>;
footer(): (string | JSX.Element)[];
footer(): JSX.Element;
/**
* Open the forgot password modal, prefilling it with an email if the user has
* entered one.

2
framework/core/js/dist/admin.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

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