@gravity-ui/markdown-editor 13.2.0 → 13.3.0
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/build/cjs/bundle/Editor.d.ts +2 -0
- package/build/cjs/bundle/Editor.js +5 -2
- package/build/cjs/bundle/wysiwyg-preset.js +2 -0
- package/build/cjs/markup/codemirror/create.d.ts +2 -1
- package/build/cjs/markup/codemirror/create.js +5 -1
- package/build/cjs/version.js +1 -1
- package/build/esm/bundle/Editor.d.ts +2 -0
- package/build/esm/bundle/Editor.js +5 -2
- package/build/esm/bundle/wysiwyg-preset.js +2 -0
- package/build/esm/markup/codemirror/create.d.ts +2 -1
- package/build/esm/markup/codemirror/create.js +6 -2
- package/build/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Extension as CodemirrorExtension } from '@codemirror/state';
|
|
2
3
|
import { CommonEditor, MarkupString } from '../common';
|
|
3
4
|
import { WysiwygEditorOptions } from '../core';
|
|
4
5
|
import { ReactRenderStorage } from '../extensions';
|
|
@@ -67,5 +68,6 @@ export declare type EditorOptions = Pick<WysiwygEditorOptions, 'allowHTML' | 'li
|
|
|
67
68
|
splitMode?: SplitMode;
|
|
68
69
|
renderPreview?: RenderPreview;
|
|
69
70
|
preset: EditorPreset;
|
|
71
|
+
extraMarkupExtensions?: CodemirrorExtension[];
|
|
70
72
|
};
|
|
71
73
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var _EditorImpl_markup, _EditorImpl_editorMode, _EditorImpl_toolbarVisible, _EditorImpl_splitModeEnabled, _EditorImpl_splitMode, _EditorImpl_renderPreview, _EditorImpl_wysiwygEditor, _EditorImpl_markupEditor, _EditorImpl_preset, _EditorImpl_allowHTML, _EditorImpl_linkify, _EditorImpl_linkifyTlds, _EditorImpl_extensions, _EditorImpl_renderStorage, _EditorImpl_fileUploadHandler, _EditorImpl_needToSetDimensionsForUploadedImages, _EditorImpl_prepareRawMarkup;
|
|
2
|
+
var _EditorImpl_markup, _EditorImpl_editorMode, _EditorImpl_toolbarVisible, _EditorImpl_splitModeEnabled, _EditorImpl_splitMode, _EditorImpl_renderPreview, _EditorImpl_wysiwygEditor, _EditorImpl_markupEditor, _EditorImpl_extraMarkupExtensions, _EditorImpl_preset, _EditorImpl_allowHTML, _EditorImpl_linkify, _EditorImpl_linkifyTlds, _EditorImpl_extensions, _EditorImpl_renderStorage, _EditorImpl_fileUploadHandler, _EditorImpl_needToSetDimensionsForUploadedImages, _EditorImpl_prepareRawMarkup;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.EditorImpl = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
@@ -23,6 +23,7 @@ class EditorImpl extends event_emitter_1.SafeEventEmitter {
|
|
|
23
23
|
_EditorImpl_renderPreview.set(this, void 0);
|
|
24
24
|
_EditorImpl_wysiwygEditor.set(this, void 0);
|
|
25
25
|
_EditorImpl_markupEditor.set(this, void 0);
|
|
26
|
+
_EditorImpl_extraMarkupExtensions.set(this, void 0);
|
|
26
27
|
_EditorImpl_preset.set(this, void 0);
|
|
27
28
|
_EditorImpl_allowHTML.set(this, void 0);
|
|
28
29
|
_EditorImpl_linkify.set(this, void 0);
|
|
@@ -44,6 +45,7 @@ class EditorImpl extends event_emitter_1.SafeEventEmitter {
|
|
|
44
45
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_linkifyTlds, opts.linkifyTlds, "f");
|
|
45
46
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_allowHTML, opts.allowHTML, "f");
|
|
46
47
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_extensions, opts.extensions, "f");
|
|
48
|
+
tslib_1.__classPrivateFieldSet(this, _EditorImpl_extraMarkupExtensions, opts.extraMarkupExtensions, "f");
|
|
47
49
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_renderStorage, opts.renderStorage, "f");
|
|
48
50
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_fileUploadHandler, opts.fileUploadHandler, "f");
|
|
49
51
|
tslib_1.__classPrivateFieldSet(this, _EditorImpl_needToSetDimensionsForUploadedImages, Boolean(opts.needToSetDimensionsForUploadedImages), "f");
|
|
@@ -152,6 +154,7 @@ class EditorImpl extends event_emitter_1.SafeEventEmitter {
|
|
|
152
154
|
reactRenderer: tslib_1.__classPrivateFieldGet(this, _EditorImpl_renderStorage, "f"),
|
|
153
155
|
uploadHandler: this.fileUploadHandler,
|
|
154
156
|
needImgDimms: this.needToSetDimensionsForUploadedImages,
|
|
157
|
+
extraMarkupExtensions: tslib_1.__classPrivateFieldGet(this, _EditorImpl_extraMarkupExtensions, "f"),
|
|
155
158
|
})), "f");
|
|
156
159
|
}
|
|
157
160
|
return tslib_1.__classPrivateFieldGet(this, _EditorImpl_markupEditor, "f");
|
|
@@ -268,4 +271,4 @@ class EditorImpl extends event_emitter_1.SafeEventEmitter {
|
|
|
268
271
|
}
|
|
269
272
|
}
|
|
270
273
|
exports.EditorImpl = EditorImpl;
|
|
271
|
-
_EditorImpl_markup = new WeakMap(), _EditorImpl_editorMode = new WeakMap(), _EditorImpl_toolbarVisible = new WeakMap(), _EditorImpl_splitModeEnabled = new WeakMap(), _EditorImpl_splitMode = new WeakMap(), _EditorImpl_renderPreview = new WeakMap(), _EditorImpl_wysiwygEditor = new WeakMap(), _EditorImpl_markupEditor = new WeakMap(), _EditorImpl_preset = new WeakMap(), _EditorImpl_allowHTML = new WeakMap(), _EditorImpl_linkify = new WeakMap(), _EditorImpl_linkifyTlds = new WeakMap(), _EditorImpl_extensions = new WeakMap(), _EditorImpl_renderStorage = new WeakMap(), _EditorImpl_fileUploadHandler = new WeakMap(), _EditorImpl_needToSetDimensionsForUploadedImages = new WeakMap(), _EditorImpl_prepareRawMarkup = new WeakMap();
|
|
274
|
+
_EditorImpl_markup = new WeakMap(), _EditorImpl_editorMode = new WeakMap(), _EditorImpl_toolbarVisible = new WeakMap(), _EditorImpl_splitModeEnabled = new WeakMap(), _EditorImpl_splitMode = new WeakMap(), _EditorImpl_renderPreview = new WeakMap(), _EditorImpl_wysiwygEditor = new WeakMap(), _EditorImpl_markupEditor = new WeakMap(), _EditorImpl_extraMarkupExtensions = new WeakMap(), _EditorImpl_preset = new WeakMap(), _EditorImpl_allowHTML = new WeakMap(), _EditorImpl_linkify = new WeakMap(), _EditorImpl_linkifyTlds = new WeakMap(), _EditorImpl_extensions = new WeakMap(), _EditorImpl_renderStorage = new WeakMap(), _EditorImpl_fileUploadHandler = new WeakMap(), _EditorImpl_needToSetDimensionsForUploadedImages = new WeakMap(), _EditorImpl_prepareRawMarkup = new WeakMap();
|
|
@@ -13,6 +13,7 @@ const zero_1 = require("../presets/zero");
|
|
|
13
13
|
const shortcuts_1 = require("../shortcuts");
|
|
14
14
|
const wysiwyg_1 = require("./config/wysiwyg");
|
|
15
15
|
const emoji_1 = require("./emoji");
|
|
16
|
+
const DEFAULT_IGNORED_KEYS = ['Tab', 'Shift-Tab'];
|
|
16
17
|
const BundlePreset = (builder, opts) => {
|
|
17
18
|
var _a, _b;
|
|
18
19
|
const dropCursor = {
|
|
@@ -66,6 +67,7 @@ const BundlePreset = (builder, opts) => {
|
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
const ignoreKeysList = (_b = (_a = opts.ignoreKeysList) === null || _a === void 0 ? void 0 : _a.slice()) !== null && _b !== void 0 ? _b : [];
|
|
70
|
+
ignoreKeysList.push(...DEFAULT_IGNORED_KEYS);
|
|
69
71
|
for (const action of ignoreActions) {
|
|
70
72
|
const key = shortcuts_1.formatter.toPM(action);
|
|
71
73
|
if (key)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StateCommand } from '@codemirror/state';
|
|
1
|
+
import type { Extension, StateCommand } from '@codemirror/state';
|
|
2
2
|
import { EditorView, EditorViewConfig } from '@codemirror/view';
|
|
3
3
|
import { ReactRenderStorage } from '../../extensions';
|
|
4
4
|
import { FileUploadHandler } from './files-upload-facet';
|
|
@@ -13,6 +13,7 @@ export declare type CreateCodemirrorParams = {
|
|
|
13
13
|
reactRenderer: ReactRenderStorage;
|
|
14
14
|
uploadHandler?: FileUploadHandler;
|
|
15
15
|
needImgDimms?: boolean;
|
|
16
|
+
extraMarkupExtensions?: Extension[];
|
|
16
17
|
};
|
|
17
18
|
export declare function createCodemirror(params: CreateCodemirrorParams): EditorView;
|
|
18
19
|
export declare function withLogger(action: string, command: StateCommand): StateCommand;
|
|
@@ -15,7 +15,7 @@ const pairing_chars_1 = require("./pairing-chars");
|
|
|
15
15
|
const react_facet_1 = require("./react-facet");
|
|
16
16
|
const yfm_1 = require("./yfm");
|
|
17
17
|
function createCodemirror(params) {
|
|
18
|
-
const { doc, placeholderText, reactRenderer, onCancel, onScroll, onSubmit, onChange, onDocChange, } = params;
|
|
18
|
+
const { doc, placeholderText, reactRenderer, onCancel, onScroll, onSubmit, onChange, onDocChange, extraMarkupExtensions, } = params;
|
|
19
19
|
const extensions = [
|
|
20
20
|
gravity_1.gravityTheme,
|
|
21
21
|
(0, view_1.placeholder)(placeholderText),
|
|
@@ -53,6 +53,7 @@ function createCodemirror(params) {
|
|
|
53
53
|
return true;
|
|
54
54
|
},
|
|
55
55
|
},
|
|
56
|
+
{ key: 'Tab', preventDefault: true, run: commands_1.insertTab },
|
|
56
57
|
commands_1.indentWithTab,
|
|
57
58
|
...commands_1.defaultKeymap,
|
|
58
59
|
...commands_1.historyKeymap,
|
|
@@ -75,6 +76,9 @@ function createCodemirror(params) {
|
|
|
75
76
|
imgWithDimms: params.needImgDimms,
|
|
76
77
|
}));
|
|
77
78
|
}
|
|
79
|
+
if (extraMarkupExtensions) {
|
|
80
|
+
extensions.push(...extraMarkupExtensions);
|
|
81
|
+
}
|
|
78
82
|
return new view_1.EditorView({
|
|
79
83
|
doc,
|
|
80
84
|
extensions,
|
package/build/cjs/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
/** During build process, the current version will be injected here */
|
|
5
|
-
exports.VERSION = typeof '13.
|
|
5
|
+
exports.VERSION = typeof '13.3.0' !== 'undefined' ? '13.3.0' : 'unknown';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Extension as CodemirrorExtension } from '@codemirror/state';
|
|
2
3
|
import { CommonEditor, MarkupString } from '../common';
|
|
3
4
|
import { WysiwygEditorOptions } from '../core';
|
|
4
5
|
import { ReactRenderStorage } from '../extensions';
|
|
@@ -67,5 +68,6 @@ export declare type EditorOptions = Pick<WysiwygEditorOptions, 'allowHTML' | 'li
|
|
|
67
68
|
splitMode?: SplitMode;
|
|
68
69
|
renderPreview?: RenderPreview;
|
|
69
70
|
preset: EditorPreset;
|
|
71
|
+
extraMarkupExtensions?: CodemirrorExtension[];
|
|
70
72
|
};
|
|
71
73
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _EditorImpl_markup, _EditorImpl_editorMode, _EditorImpl_toolbarVisible, _EditorImpl_splitModeEnabled, _EditorImpl_splitMode, _EditorImpl_renderPreview, _EditorImpl_wysiwygEditor, _EditorImpl_markupEditor, _EditorImpl_preset, _EditorImpl_allowHTML, _EditorImpl_linkify, _EditorImpl_linkifyTlds, _EditorImpl_extensions, _EditorImpl_renderStorage, _EditorImpl_fileUploadHandler, _EditorImpl_needToSetDimensionsForUploadedImages, _EditorImpl_prepareRawMarkup;
|
|
1
|
+
var _EditorImpl_markup, _EditorImpl_editorMode, _EditorImpl_toolbarVisible, _EditorImpl_splitModeEnabled, _EditorImpl_splitMode, _EditorImpl_renderPreview, _EditorImpl_wysiwygEditor, _EditorImpl_markupEditor, _EditorImpl_extraMarkupExtensions, _EditorImpl_preset, _EditorImpl_allowHTML, _EditorImpl_linkify, _EditorImpl_linkifyTlds, _EditorImpl_extensions, _EditorImpl_renderStorage, _EditorImpl_fileUploadHandler, _EditorImpl_needToSetDimensionsForUploadedImages, _EditorImpl_prepareRawMarkup;
|
|
2
2
|
import { __classPrivateFieldGet, __classPrivateFieldSet } from "tslib";
|
|
3
3
|
import { TextSelection } from 'prosemirror-state';
|
|
4
4
|
import { WysiwygEditor } from '../core';
|
|
@@ -20,6 +20,7 @@ export class EditorImpl extends SafeEventEmitter {
|
|
|
20
20
|
_EditorImpl_renderPreview.set(this, void 0);
|
|
21
21
|
_EditorImpl_wysiwygEditor.set(this, void 0);
|
|
22
22
|
_EditorImpl_markupEditor.set(this, void 0);
|
|
23
|
+
_EditorImpl_extraMarkupExtensions.set(this, void 0);
|
|
23
24
|
_EditorImpl_preset.set(this, void 0);
|
|
24
25
|
_EditorImpl_allowHTML.set(this, void 0);
|
|
25
26
|
_EditorImpl_linkify.set(this, void 0);
|
|
@@ -41,6 +42,7 @@ export class EditorImpl extends SafeEventEmitter {
|
|
|
41
42
|
__classPrivateFieldSet(this, _EditorImpl_linkifyTlds, opts.linkifyTlds, "f");
|
|
42
43
|
__classPrivateFieldSet(this, _EditorImpl_allowHTML, opts.allowHTML, "f");
|
|
43
44
|
__classPrivateFieldSet(this, _EditorImpl_extensions, opts.extensions, "f");
|
|
45
|
+
__classPrivateFieldSet(this, _EditorImpl_extraMarkupExtensions, opts.extraMarkupExtensions, "f");
|
|
44
46
|
__classPrivateFieldSet(this, _EditorImpl_renderStorage, opts.renderStorage, "f");
|
|
45
47
|
__classPrivateFieldSet(this, _EditorImpl_fileUploadHandler, opts.fileUploadHandler, "f");
|
|
46
48
|
__classPrivateFieldSet(this, _EditorImpl_needToSetDimensionsForUploadedImages, Boolean(opts.needToSetDimensionsForUploadedImages), "f");
|
|
@@ -149,6 +151,7 @@ export class EditorImpl extends SafeEventEmitter {
|
|
|
149
151
|
reactRenderer: __classPrivateFieldGet(this, _EditorImpl_renderStorage, "f"),
|
|
150
152
|
uploadHandler: this.fileUploadHandler,
|
|
151
153
|
needImgDimms: this.needToSetDimensionsForUploadedImages,
|
|
154
|
+
extraMarkupExtensions: __classPrivateFieldGet(this, _EditorImpl_extraMarkupExtensions, "f"),
|
|
152
155
|
})), "f");
|
|
153
156
|
}
|
|
154
157
|
return __classPrivateFieldGet(this, _EditorImpl_markupEditor, "f");
|
|
@@ -264,4 +267,4 @@ export class EditorImpl extends SafeEventEmitter {
|
|
|
264
267
|
return (serializedEditorMarkup === null || serializedEditorMarkup === void 0 ? void 0 : serializedEditorMarkup.trim()) !== wysiwygValue.trim();
|
|
265
268
|
}
|
|
266
269
|
}
|
|
267
|
-
_EditorImpl_markup = new WeakMap(), _EditorImpl_editorMode = new WeakMap(), _EditorImpl_toolbarVisible = new WeakMap(), _EditorImpl_splitModeEnabled = new WeakMap(), _EditorImpl_splitMode = new WeakMap(), _EditorImpl_renderPreview = new WeakMap(), _EditorImpl_wysiwygEditor = new WeakMap(), _EditorImpl_markupEditor = new WeakMap(), _EditorImpl_preset = new WeakMap(), _EditorImpl_allowHTML = new WeakMap(), _EditorImpl_linkify = new WeakMap(), _EditorImpl_linkifyTlds = new WeakMap(), _EditorImpl_extensions = new WeakMap(), _EditorImpl_renderStorage = new WeakMap(), _EditorImpl_fileUploadHandler = new WeakMap(), _EditorImpl_needToSetDimensionsForUploadedImages = new WeakMap(), _EditorImpl_prepareRawMarkup = new WeakMap();
|
|
270
|
+
_EditorImpl_markup = new WeakMap(), _EditorImpl_editorMode = new WeakMap(), _EditorImpl_toolbarVisible = new WeakMap(), _EditorImpl_splitModeEnabled = new WeakMap(), _EditorImpl_splitMode = new WeakMap(), _EditorImpl_renderPreview = new WeakMap(), _EditorImpl_wysiwygEditor = new WeakMap(), _EditorImpl_markupEditor = new WeakMap(), _EditorImpl_extraMarkupExtensions = new WeakMap(), _EditorImpl_preset = new WeakMap(), _EditorImpl_allowHTML = new WeakMap(), _EditorImpl_linkify = new WeakMap(), _EditorImpl_linkifyTlds = new WeakMap(), _EditorImpl_extensions = new WeakMap(), _EditorImpl_renderStorage = new WeakMap(), _EditorImpl_fileUploadHandler = new WeakMap(), _EditorImpl_needToSetDimensionsForUploadedImages = new WeakMap(), _EditorImpl_prepareRawMarkup = new WeakMap();
|
|
@@ -10,6 +10,7 @@ import { ZeroPreset } from '../presets/zero';
|
|
|
10
10
|
import { Action as A, formatter as f } from '../shortcuts';
|
|
11
11
|
import { wCommandMenuConfigByPreset, wSelectionMenuConfigByPreset } from './config/wysiwyg';
|
|
12
12
|
import { emojiDefs } from './emoji';
|
|
13
|
+
const DEFAULT_IGNORED_KEYS = ['Tab', 'Shift-Tab'];
|
|
13
14
|
export const BundlePreset = (builder, opts) => {
|
|
14
15
|
var _a, _b;
|
|
15
16
|
const dropCursor = {
|
|
@@ -63,6 +64,7 @@ export const BundlePreset = (builder, opts) => {
|
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
const ignoreKeysList = (_b = (_a = opts.ignoreKeysList) === null || _a === void 0 ? void 0 : _a.slice()) !== null && _b !== void 0 ? _b : [];
|
|
67
|
+
ignoreKeysList.push(...DEFAULT_IGNORED_KEYS);
|
|
66
68
|
for (const action of ignoreActions) {
|
|
67
69
|
const key = f.toPM(action);
|
|
68
70
|
if (key)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StateCommand } from '@codemirror/state';
|
|
1
|
+
import type { Extension, StateCommand } from '@codemirror/state';
|
|
2
2
|
import { EditorView, EditorViewConfig } from '@codemirror/view';
|
|
3
3
|
import { ReactRenderStorage } from '../../extensions';
|
|
4
4
|
import { FileUploadHandler } from './files-upload-facet';
|
|
@@ -13,6 +13,7 @@ export declare type CreateCodemirrorParams = {
|
|
|
13
13
|
reactRenderer: ReactRenderStorage;
|
|
14
14
|
uploadHandler?: FileUploadHandler;
|
|
15
15
|
needImgDimms?: boolean;
|
|
16
|
+
extraMarkupExtensions?: Extension[];
|
|
16
17
|
};
|
|
17
18
|
export declare function createCodemirror(params: CreateCodemirrorParams): EditorView;
|
|
18
19
|
export declare function withLogger(action: string, command: StateCommand): StateCommand;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { autocompletion } from '@codemirror/autocomplete';
|
|
2
|
-
import { defaultKeymap, history, historyKeymap, indentWithTab } from '@codemirror/commands';
|
|
2
|
+
import { defaultKeymap, history, historyKeymap, indentWithTab, insertTab, } from '@codemirror/commands';
|
|
3
3
|
import { syntaxHighlighting } from '@codemirror/language';
|
|
4
4
|
import { EditorView, keymap, placeholder } from '@codemirror/view';
|
|
5
5
|
import { ActionName } from '../../bundle/config/action-names';
|
|
@@ -12,7 +12,7 @@ import { PairingCharactersExtension } from './pairing-chars';
|
|
|
12
12
|
import { ReactRendererFacet } from './react-facet';
|
|
13
13
|
import { yfmLang } from './yfm';
|
|
14
14
|
export function createCodemirror(params) {
|
|
15
|
-
const { doc, placeholderText, reactRenderer, onCancel, onScroll, onSubmit, onChange, onDocChange, } = params;
|
|
15
|
+
const { doc, placeholderText, reactRenderer, onCancel, onScroll, onSubmit, onChange, onDocChange, extraMarkupExtensions, } = params;
|
|
16
16
|
const extensions = [
|
|
17
17
|
gravityTheme,
|
|
18
18
|
placeholder(placeholderText),
|
|
@@ -50,6 +50,7 @@ export function createCodemirror(params) {
|
|
|
50
50
|
return true;
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
+
{ key: 'Tab', preventDefault: true, run: insertTab },
|
|
53
54
|
indentWithTab,
|
|
54
55
|
...defaultKeymap,
|
|
55
56
|
...historyKeymap,
|
|
@@ -72,6 +73,9 @@ export function createCodemirror(params) {
|
|
|
72
73
|
imgWithDimms: params.needImgDimms,
|
|
73
74
|
}));
|
|
74
75
|
}
|
|
76
|
+
if (extraMarkupExtensions) {
|
|
77
|
+
extensions.push(...extraMarkupExtensions);
|
|
78
|
+
}
|
|
75
79
|
return new EditorView({
|
|
76
80
|
doc,
|
|
77
81
|
extensions,
|
package/build/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** During build process, the current version will be injected here */
|
|
2
|
-
export const VERSION = typeof '13.
|
|
2
|
+
export const VERSION = typeof '13.3.0' !== 'undefined' ? '13.3.0' : 'unknown';
|