Bundled output for commit a8777c6198

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

[skip ci]
This commit is contained in:
flarum-bot 2024-06-21 08:39:52 +00:00
parent a8777c6198
commit d73cd0ecdd
18 changed files with 23 additions and 21 deletions

View File

@ -1,6 +1,7 @@
import type Mithril from 'mithril';
import Component, { type ComponentAttrs } from 'flarum/common/Component';
import { CommonSettingsItemOptions, type SettingsComponentOptions } from '@flarum/core/src/admin/components/AdminPage';
import { type SettingsComponentOptions } from '@flarum/core/src/admin/components/AdminPage';
import { type CommonFieldOptions } from 'flarum/common/components/FormGroup';
import type ItemList from 'flarum/common/utils/ItemList';
import Stream from 'flarum/common/utils/Stream';
export interface IConfigureJson extends ComponentAttrs {
@ -17,7 +18,7 @@ export default abstract class ConfigureJson<CustomAttrs extends IConfigureJson =
className(): string;
view(): Mithril.Children;
submitButton(): Mithril.Children[];
customSettingComponents(): ItemList<(attributes: CommonSettingsItemOptions) => Mithril.Children>;
customSettingComponents(): ItemList<(attributes: CommonFieldOptions) => Mithril.Children>;
setting(key: string): Stream<any>;
submit(readOnly: boolean): void;
isDirty(): boolean;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -20,7 +20,7 @@ export default class EditTagModal extends FormModal<EditTagModalAttrs> {
color: Stream<string>;
icon: Stream<string>;
isHidden: Stream<boolean>;
primary: Stream<boolean>;
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>;
@ -33,7 +33,7 @@ export default class EditTagModal extends FormModal<EditTagModalAttrs> {
color: string;
icon: string;
isHidden: boolean;
primary: boolean;
isPrimary: boolean;
};
onsubmit(e: SubmitEvent): void;
delete(): void;

View File

@ -1,10 +1,10 @@
/// <reference types="mithril" />
import Component from 'flarum/common/Component';
import type { CommonSettingsItemOptions } from 'flarum/admin/components/AdminPage';
import type { CommonFieldOptions } from 'flarum/common/components/FormGroup';
import type Stream from 'flarum/common/utils/Stream';
import type { ITagSelectionModalAttrs } from '../../common/components/TagSelectionModal';
import type Tag from '../../common/models/Tag';
export interface SelectTagsSettingComponentOptions extends CommonSettingsItemOptions {
export interface SelectTagsSettingComponentOptions extends CommonFieldOptions {
type: 'flarum-tags.select-tags';
options?: ITagSelectionModalAttrs;
}

View File

@ -14,11 +14,12 @@ export default class Tag extends Model {
defaultSort(): string | null;
isChild(): boolean;
isHidden(): boolean;
isPrimary(): boolean;
discussionCount(): number;
lastPostedAt(): Date | null | undefined;
lastPostedDiscussion(): false | Discussion | null;
isRestricted(): boolean;
canStartDiscussion(): boolean;
canAddToDiscussion(): boolean;
isPrimary(): boolean;
isPrimaryParent(): boolean;
}

2
extensions/tags/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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
extensions/tags/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

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/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