mirror of
https://github.com/flarum/framework.git
synced 2025-01-24 01:13:16 +08:00
Bundled output for commit 8f80cde5b7
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
parent
8f80cde5b7
commit
a129999132
11
framework/core/js/dist-typings/common/utils/string.d.ts
generated
vendored
11
framework/core/js/dist-typings/common/utils/string.d.ts
generated
vendored
|
@ -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
2
framework/core/js/dist/admin.js
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/admin.js.map
generated
vendored
2
framework/core/js/dist/admin.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/forum.js
generated
vendored
2
framework/core/js/dist/forum.js
generated
vendored
File diff suppressed because one or more lines are too long
2
framework/core/js/dist/forum.js.map
generated
vendored
2
framework/core/js/dist/forum.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user