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

Bundled output for commit 18bdd48835

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

[skip ci]
This commit is contained in:
flarum-bot
2022-11-16 10:30:13 +00:00
parent 18bdd48835
commit c50c924242
68 changed files with 83 additions and 92 deletions

View File

@@ -68,7 +68,7 @@ declare const _default: {
'utils/setRouteWithForcedRefresh': typeof import("../common/utils/setRouteWithForcedRefresh").default;
'utils/patchMithril': typeof import("../common/utils/patchMithril").default;
'utils/proxifyCompat': typeof import("../common/utils/proxifyCompat").default;
'utils/classList': typeof import("clsx").clsx;
'utils/classList': (...classes: import("clsx").ClassValue[]) => string;
'utils/extractText': typeof import("../common/utils/extractText").default;
'utils/formatNumber': typeof import("../common/utils/formatNumber").default;
'utils/mapRoutes': typeof import("../common/utils/mapRoutes").default;

View File

@@ -1,6 +1,6 @@
import type Application from './Application';
declare const _default: Application;
/**
* The instance of Application within the common namespace.
*/
declare const _default: Application;
export default _default;

View File

@@ -114,7 +114,7 @@ declare const _default: {
'utils/setRouteWithForcedRefresh': typeof setRouteWithForcedRefresh;
'utils/patchMithril': typeof patchMithril;
'utils/proxifyCompat': typeof proxifyCompat;
'utils/classList': typeof import("clsx").clsx;
'utils/classList': (...classes: import("clsx").ClassValue[]) => string;
'utils/extractText': typeof extractText;
'utils/formatNumber': typeof formatNumber;
'utils/mapRoutes': typeof mapRoutes;

View File

@@ -1,4 +1,3 @@
import clsx from 'clsx';
/**
* This util exposes `clsx` to core and extensions as a re-usable utility.
*
@@ -6,5 +5,5 @@ import clsx from 'clsx';
*
* @see https://github.com/lukeed/clsx
*/
declare const classList: typeof clsx;
declare const classList: (...classes: import("clsx").ClassValue[]) => string;
export default classList;

View File

@@ -1,3 +1,4 @@
declare const _default: (key: string, cb: Function) => (this: Element) => void;
/**
* An event handler factory that makes it simpler to implement data binding
* for component event listeners.
@@ -9,5 +10,4 @@
* Replaces m.withAttr for Mithril 2.0.
* @see https://mithril.js.org/archive/v0.2.5/mithril.withAttr.html
*/
declare const _default: (key: string, cb: Function) => (this: Element) => void;
export default _default;

View File

@@ -104,7 +104,7 @@ declare const _default: {
'utils/setRouteWithForcedRefresh': typeof import("../common/utils/setRouteWithForcedRefresh").default;
'utils/patchMithril': typeof import("../common/utils/patchMithril").default;
'utils/proxifyCompat': typeof import("../common/utils/proxifyCompat").default;
'utils/classList': typeof import("clsx").clsx;
'utils/classList': (...classes: import("clsx").ClassValue[]) => string;
'utils/extractText': typeof import("../common/utils/extractText").default;
'utils/formatNumber': typeof import("../common/utils/formatNumber").default;
'utils/mapRoutes': typeof import("../common/utils/mapRoutes").default;

View File

@@ -15,7 +15,7 @@ export default class ComposerPostPreview extends Component<import("../../common/
constructor();
view(): JSX.Element;
oncreate(vnode: any): void;
updateInterval: NodeJS.Timeout | undefined;
updateInterval: NodeJS.Timer | undefined;
onremove(vnode: any): void;
}
import Component from "../../common/Component";

View File

@@ -18,7 +18,7 @@ export declare function makeRouteHelpers(app: ForumApplication): {
/**
* Generate a URL to a discussion.
*/
discussion: (discussion: Discussion, near?: number) => string;
discussion: (discussion: Discussion, near?: number | undefined) => string;
/**
* Generate a URL to a post.
*/

2
framework/core/js/dist/admin.js generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,3 @@
/*!
* quantize.js Copyright 2008 Nick Rabinowitz.
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
@@ -39,7 +34,7 @@
*/
/*!
* jQuery JavaScript Library v3.6.1
* jQuery JavaScript Library v3.6.0
* https://jquery.com/
*
* Includes Sizzle.js
@@ -49,17 +44,20 @@
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2022-08-26T17:52Z
* Date: 2021-03-02T17:08Z
*/
/*!
* focus-trap 6.9.4
* focus-trap 6.7.3
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/
/*!
* tabbable 5.3.3
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
* quantize.js Copyright 2008 Nick Rabinowitz.
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/*!
* tabbable 5.2.1
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/

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

View File

@@ -1,8 +1,3 @@
/*!
* quantize.js Copyright 2008 Nick Rabinowitz.
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
@@ -39,7 +34,7 @@
*/
/*!
* jQuery JavaScript Library v3.6.1
* jQuery JavaScript Library v3.6.0
* https://jquery.com/
*
* Includes Sizzle.js
@@ -49,17 +44,20 @@
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2022-08-26T17:52Z
* Date: 2021-03-02T17:08Z
*/
/*!
* focus-trap 6.9.4
* focus-trap 6.7.3
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/
/*!
* tabbable 5.3.3
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
* quantize.js Copyright 2008 Nick Rabinowitz.
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/*!
* tabbable 5.2.1
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/

File diff suppressed because one or more lines are too long