Bundled output for commit 3b66925a66

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

[skip ci]
This commit is contained in:
flarum-bot 2024-10-24 17:49:43 +00:00
parent 3b66925a66
commit 4d8e6abff6
6 changed files with 7 additions and 13 deletions

View File

@ -1,11 +1,10 @@
/// <reference types="flarum/@types/translator-icu-rich" />
export default class FlagPostModal extends FormModal<import("flarum/common/components/FormModal").IFormModalAttrs, undefined> {
constructor();
oninit(vnode: any): void;
success: boolean | undefined;
reason: Stream<string> | undefined;
reasonDetail: Stream<string> | undefined;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
title(): string | any[];
content(): JSX.Element;
flagReasons(): ItemList<any>;
onsubmit(e: any): void;

View File

@ -1,4 +1,3 @@
/// <reference types="flarum/@types/translator-icu-rich" />
import Modal, { type IInternalModalAttrs } from 'flarum/common/components/Modal';
import type Dialog from '../../common/models/Dialog';
import ItemList from 'flarum/common/utils/ItemList';
@ -8,7 +7,7 @@ export interface IDetailsModalAttrs extends IInternalModalAttrs {
}
export default class DetailsModal<CustomAttrs extends IDetailsModalAttrs = IDetailsModalAttrs> extends Modal<CustomAttrs> {
className(): string;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
title(): string | any[];
content(): JSX.Element;
infoItems(): ItemList<Mithril.Children>;
}

View File

@ -1,5 +1,4 @@
/// <reference types="mithril" />
/// <reference types="flarum/@types/translator-icu-rich" />
import Modal, { IInternalModalAttrs } from 'flarum/common/components/Modal';
import Task from '../models/Task';
interface TaskOutputModalAttrs extends IInternalModalAttrs {
@ -7,7 +6,7 @@ interface TaskOutputModalAttrs extends IInternalModalAttrs {
}
export default class TaskOutputModal<CustomAttrs extends TaskOutputModalAttrs = TaskOutputModalAttrs> extends Modal<CustomAttrs> {
className(): string;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
title(): string | any[];
content(): JSX.Element;
}
export {};

View File

@ -1,4 +1,3 @@
/// <reference types="flarum/@types/translator-icu-rich" />
import type Mithril from 'mithril';
import Modal, { IInternalModalAttrs } from 'flarum/common/components/Modal';
export interface WhyNotModalAttrs extends IInternalModalAttrs {
@ -8,7 +7,7 @@ export default class WhyNotModal<CustomAttrs extends WhyNotModalAttrs = WhyNotMo
loading: boolean;
whyNot: string | null;
className(): string;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
title(): string | any[];
oncreate(vnode: Mithril.VnodeDOM<CustomAttrs, this>): void;
content(): JSX.Element;
requestWhyNot(): void;

View File

@ -1,4 +1,3 @@
/// <reference types="flarum/@types/translator-icu-rich" />
import FormModal, { IFormModalAttrs } from 'flarum/common/components/FormModal';
import ItemList from 'flarum/common/utils/ItemList';
import Stream from 'flarum/common/utils/Stream';
@ -23,7 +22,7 @@ export default class EditTagModal extends FormModal<EditTagModalAttrs> {
isPrimary: Stream<boolean>;
oninit(vnode: Mithril.Vnode<EditTagModalAttrs, this>): void;
className(): string;
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray | Mithril.Vnode<import("flarum/common/Component").ComponentAttrs, any>;
title(): string | any[] | Mithril.Vnode<import("flarum/common/Component").ComponentAttrs, any>;
content(): JSX.Element;
fields(): ItemList<unknown>;
submitData(): {

View File

@ -1,10 +1,9 @@
/// <reference types="flarum/@types/translator-icu-rich" />
export default class DiscussionTaggedPost extends EventPost {
static initAttrs(attrs: any): void;
descriptionKey(): "flarum-tags.forum.post_stream.added_and_removed_tags_text" | "flarum-tags.forum.post_stream.added_tags_text" | "flarum-tags.forum.post_stream.removed_tags_text";
descriptionData(): {
tagsAdded: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
tagsRemoved: import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
tagsAdded: any[];
tagsRemoved: any[];
};
}
import EventPost from "flarum/forum/components/EventPost";