Bundled output for commit 8f80cde5b7

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

[skip ci]
This commit is contained in:
flarum-bot 2022-12-03 21:19:51 +00:00
parent 8f80cde5b7
commit a129999132
5 changed files with 12 additions and 7 deletions

View File

@ -3,14 +3,18 @@
*/ */
export declare function truncate(string: string, length: number, start?: number): string; export declare function truncate(string: string, length: number, start?: number): string;
/** /**
* Create a slug out of the given string. Non-alphanumeric characters are * Create a slug out of the given string depending on the selected mode.
* converted to hyphens. * Invalid characters are converted to hyphens.
* *
* NOTE: This method does not use the comparably sophisticated transliteration * NOTE: This method does not use the comparably sophisticated transliteration
* mechanism that is employed in the backend. Therefore, it should only be used * mechanism that is employed in the backend. Therefore, it should only be used
* to *suggest* slugs that can be overridden by the user. * to *suggest* slugs that can be overridden by the user.
*/ */
export declare function slug(string: string): string; export declare function slug(string: string, mode?: SluggingMode): string;
declare enum SluggingMode {
ALPHANUMERIC = "alphanum",
UTF8 = "utf8"
}
/** /**
* Strip HTML tags and quotes out of the given string, replacing them with * Strip HTML tags and quotes out of the given string, replacing them with
* meaningful punctuation. * meaningful punctuation.
@ -23,3 +27,4 @@ export declare namespace getPlainContent {
* Make a string's first character uppercase. * Make a string's first character uppercase.
*/ */
export declare function ucfirst(string: string): string; export declare function ucfirst(string: string): string;
export {};

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