@bhsd/codemirror-mediawiki 2.17.3 → 2.17.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bidi.d.ts +0 -0
- package/dist/codemirror.d.ts +4 -0
- package/dist/config.d.ts +0 -0
- package/dist/escape.d.ts +0 -0
- package/dist/fold.d.ts +0 -0
- package/dist/linter.d.ts +0 -0
- package/dist/main.min.js +13 -13
- package/dist/matchTag.d.ts +0 -0
- package/dist/mediawiki.d.ts +0 -0
- package/dist/mw.min.js +17 -17
- package/dist/plugins.d.ts +1 -1
- package/dist/ref.d.ts +2 -1
- package/dist/static.d.ts +4 -0
- package/dist/token.d.ts +0 -0
- package/dist/wiki.min.js +53 -0
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/package.json +6 -9
- package/dist/util.d.ts +0 -11
package/dist/plugins.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Extension } from '@codemirror/state';
|
|
2
2
|
export { json as jsonLR } from '@codemirror/lang-json';
|
|
3
3
|
export { css } from '@codemirror/legacy-modes/mode/css';
|
|
4
|
-
export { javascript } from '@codemirror/legacy-modes/mode/javascript';
|
|
4
|
+
export { javascript, json } from '@codemirror/legacy-modes/mode/javascript';
|
|
5
5
|
export { lua } from '@codemirror/legacy-modes/mode/lua';
|
|
6
6
|
export declare const javascriptLR: () => Extension;
|
|
7
7
|
export declare const cssLR: () => Extension;
|
package/dist/ref.d.ts
CHANGED
|
@@ -11,7 +11,8 @@ export declare const trees: WeakMap<EditorView | editor.ITextModel, Tree>;
|
|
|
11
11
|
* @param view
|
|
12
12
|
* @param target 目标名称
|
|
13
13
|
* @param all 是否查找所有
|
|
14
|
+
* @param group 是否group属性
|
|
14
15
|
*/
|
|
15
|
-
export declare const findRef: (view: EditorView | editor.ITextModel, target: string, all?: boolean) => Promise<Ranges>;
|
|
16
|
+
export declare const findRef: (view: EditorView | editor.ITextModel, target: string, all?: boolean, group?: boolean) => Promise<Ranges>;
|
|
16
17
|
export declare const refHover: import("@codemirror/state").Extension[];
|
|
17
18
|
export {};
|
package/dist/static.d.ts
CHANGED
|
@@ -19,5 +19,9 @@ export declare const tagModes: {
|
|
|
19
19
|
combobox: string;
|
|
20
20
|
combooption: string;
|
|
21
21
|
inputbox: string;
|
|
22
|
+
templatedata: string;
|
|
23
|
+
mapframe: string;
|
|
24
|
+
maplink: string;
|
|
25
|
+
graph: string;
|
|
22
26
|
};
|
|
23
27
|
export declare const getStaticMwConfig: ({ parserFunction, protocol, nsid, variants, redirection, ext, doubleUnderscore, img }: Config) => MwConfig;
|
package/dist/token.d.ts
CHANGED
|
File without changes
|