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

Bundled output for commit 2831ce226c

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

[skip ci]
This commit is contained in:
flarum-bot
2021-08-19 09:13:22 +00:00
parent 2831ce226c
commit cc29cf3e10
26 changed files with 117 additions and 81 deletions

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
import User from '../models/User';
/**
* The `avatar` helper displays a user's avatar.

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
/**
* The `fullTime` helper displays a formatted time string wrapped in a <time>
* tag.

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
/**
* The `highlight` helper searches for a word phrase in a string, and wraps
* matches with the <mark> tag.

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
/**
* The `humanTime` helper displays a time in a human-friendly time-ago format
* (e.g. '12 days ago'), wrapped in a <time> tag with other information about

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
/**
* The `icon` helper displays an icon.
*

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
/**
* The `listItems` helper wraps a collection of components in <li> tags,
* stripping out any unnecessary `Separator` components.

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
import User from '../models/User';
/**
* The `useronline` helper displays a green circle if the user is online

View File

@@ -1,4 +1,4 @@
import * as Mithril from 'mithril';
import type Mithril from 'mithril';
import User from '../models/User';
/**
* The `username` helper displays a user's username in a <span class="username">