@king-design/vue 3.7.0 → 3.8.0-beta.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/__tests__/__snapshots__/Vue Next Demos.md +399 -0
- package/components/bubble/bubble.d.ts +61 -0
- package/components/bubble/bubble.js +81 -0
- package/components/bubble/bubble.vdt.js +85 -0
- package/components/bubble/index.d.ts +1 -0
- package/components/bubble/index.js +1 -0
- package/components/bubble/index.spec.d.ts +1 -0
- package/components/bubble/index.spec.js +771 -0
- package/components/bubble/styles.d.ts +5 -0
- package/components/bubble/styles.js +53 -0
- package/components/bubble/useBubbleDisplay.d.ts +18 -0
- package/components/bubble/useBubbleDisplay.js +300 -0
- package/components/bubbleList/bubbleList.d.ts +87 -0
- package/components/bubbleList/bubbleList.js +75 -0
- package/components/bubbleList/bubbleList.vdt.js +143 -0
- package/components/bubbleList/index.d.ts +1 -0
- package/components/bubbleList/index.js +1 -0
- package/components/bubbleList/index.spec.d.ts +1 -0
- package/components/bubbleList/index.spec.js +1268 -0
- package/components/bubbleList/item.d.ts +16 -0
- package/components/bubbleList/item.js +27 -0
- package/components/bubbleList/item.vdt.js +36 -0
- package/components/bubbleList/styles.d.ts +5 -0
- package/components/bubbleList/styles.js +33 -0
- package/components/bubbleList/useBubbleList.d.ts +28 -0
- package/components/bubbleList/useBubbleList.js +455 -0
- package/components/checkbox/index.d.ts +3 -3
- package/components/fileCard/fileCard.d.ts +65 -0
- package/components/fileCard/fileCard.js +72 -0
- package/components/fileCard/fileCard.vdt.js +161 -0
- package/components/fileCard/fileCardAssets.d.ts +1 -0
- package/components/fileCard/fileCardAssets.js +54 -0
- package/components/fileCard/fileCardUtils.d.ts +14 -0
- package/components/fileCard/fileCardUtils.js +94 -0
- package/components/fileCard/index.d.ts +2 -0
- package/components/fileCard/index.js +2 -0
- package/components/fileCard/index.spec.d.ts +1 -0
- package/components/fileCard/index.spec.js +1096 -0
- package/components/fileCard/list.d.ts +29 -0
- package/components/fileCard/list.js +46 -0
- package/components/fileCard/list.vdt.js +71 -0
- package/components/fileCard/styles.d.ts +5 -0
- package/components/fileCard/styles.js +83 -0
- package/components/fileCard/useFileCard.d.ts +45 -0
- package/components/fileCard/useFileCard.js +330 -0
- package/components/fileCard/useFileCardList.d.ts +14 -0
- package/components/fileCard/useFileCardList.js +49 -0
- package/components/form/form.js +2 -1
- package/components/media/context.d.ts +6 -0
- package/components/media/context.js +2 -0
- package/components/media/group.d.ts +12 -0
- package/components/media/group.js +32 -0
- package/components/media/group.vdt.js +50 -0
- package/components/media/index.d.ts +2 -0
- package/components/media/index.js +2 -0
- package/components/media/index.spec.d.ts +1 -0
- package/components/media/index.spec.js +1691 -0
- package/components/media/media.d.ts +37 -0
- package/components/media/media.js +67 -0
- package/components/media/media.vdt.js +202 -0
- package/components/media/mediaAssets.d.ts +4 -0
- package/components/media/mediaAssets.js +9 -0
- package/components/media/mediaUtils.d.ts +6 -0
- package/components/media/mediaUtils.js +66 -0
- package/components/media/styles.d.ts +13 -0
- package/components/media/styles.js +52 -0
- package/components/media/types.d.ts +37 -0
- package/components/media/types.js +1 -0
- package/components/media/useMedia.d.ts +70 -0
- package/components/media/useMedia.js +471 -0
- package/components/media/useMediaGroup.d.ts +15 -0
- package/components/media/useMediaGroup.js +136 -0
- package/components/media/useMediaViewer.d.ts +14 -0
- package/components/media/useMediaViewer.js +129 -0
- package/components/media/viewer.d.ts +24 -0
- package/components/media/viewer.js +54 -0
- package/components/media/viewer.vdt.js +100 -0
- package/components/radio/index.d.ts +3 -3
- package/components/sender/icons.d.ts +3 -0
- package/components/sender/icons.js +17 -0
- package/components/sender/index.d.ts +1 -0
- package/components/sender/index.js +1 -0
- package/components/sender/index.spec.d.ts +1 -0
- package/components/sender/index.spec.js +1597 -0
- package/components/sender/sender.d.ts +104 -0
- package/components/sender/sender.js +111 -0
- package/components/sender/sender.vdt.js +230 -0
- package/components/sender/styles.d.ts +5 -0
- package/components/sender/styles.js +56 -0
- package/components/sender/useAutoResize.d.ts +4 -0
- package/components/sender/useAutoResize.js +99 -0
- package/components/sender/useSenderDrag.d.ts +6 -0
- package/components/sender/useSenderDrag.js +320 -0
- package/components/sender/useSenderInput.d.ts +16 -0
- package/components/sender/useSenderInput.js +101 -0
- package/components/sender/useSenderPaste.d.ts +5 -0
- package/components/sender/useSenderPaste.js +36 -0
- package/components/sender/useSenderUpload.d.ts +11 -0
- package/components/sender/useSenderUpload.js +395 -0
- package/components/skeleton/skeleton.d.ts +2 -1
- package/components/skeleton/skeleton.js +1 -1
- package/components/think/index.d.ts +1 -0
- package/components/think/index.js +1 -0
- package/components/think/index.spec.d.ts +1 -0
- package/components/think/index.spec.js +345 -0
- package/components/think/index.vdt.js +82 -0
- package/components/think/styles.d.ts +5 -0
- package/components/think/styles.js +25 -0
- package/components/think/think.d.ts +28 -0
- package/components/think/think.js +48 -0
- package/components/think/useThinkExpand.d.ts +10 -0
- package/components/think/useThinkExpand.js +56 -0
- package/components/types.d.ts +4 -2
- package/components/upload/ajaxUploader.d.ts +1 -0
- package/components/upload/ajaxUploader.js +6 -0
- package/components/xmarkdown/index.d.ts +2 -0
- package/components/xmarkdown/index.js +1 -0
- package/components/xmarkdown/index.spec.d.ts +1 -0
- package/components/xmarkdown/index.spec.js +1666 -0
- package/components/xmarkdown/markdown/codeBlockRenderer.d.ts +8 -0
- package/components/xmarkdown/markdown/codeBlockRenderer.js +52 -0
- package/components/xmarkdown/markdown/codeblock.d.ts +8 -0
- package/components/xmarkdown/markdown/codeblock.js +74 -0
- package/components/xmarkdown/markdown/highlight.d.ts +17 -0
- package/components/xmarkdown/markdown/highlight.js +83 -0
- package/components/xmarkdown/markdown/index.d.ts +14 -0
- package/components/xmarkdown/markdown/index.js +14 -0
- package/components/xmarkdown/markdown/mermaid.d.ts +8 -0
- package/components/xmarkdown/markdown/mermaid.js +104 -0
- package/components/xmarkdown/markdown/renderTree.d.ts +54 -0
- package/components/xmarkdown/markdown/renderTree.js +386 -0
- package/components/xmarkdown/markdown/renderer.d.ts +18 -0
- package/components/xmarkdown/markdown/renderer.js +461 -0
- package/components/xmarkdown/markdown/streaming.d.ts +24 -0
- package/components/xmarkdown/markdown/streaming.js +513 -0
- package/components/xmarkdown/markdown/types.d.ts +124 -0
- package/components/xmarkdown/markdown/types.js +6 -0
- package/components/xmarkdown/markdown/utils.d.ts +7 -0
- package/components/xmarkdown/markdown/utils.js +9 -0
- package/components/xmarkdown/markdown.d.ts +1 -0
- package/components/xmarkdown/markdown.js +1 -0
- package/components/xmarkdown/styles.d.ts +5 -0
- package/components/xmarkdown/styles.js +50 -0
- package/components/xmarkdown/useMermaid.d.ts +27 -0
- package/components/xmarkdown/useMermaid.js +745 -0
- package/components/xmarkdown/useXMarkdownContent.d.ts +14 -0
- package/components/xmarkdown/useXMarkdownContent.js +218 -0
- package/components/xmarkdown/useXMarkdownDisplay.d.ts +26 -0
- package/components/xmarkdown/useXMarkdownDisplay.js +569 -0
- package/components/xmarkdown/xmarkdown.d.ts +61 -0
- package/components/xmarkdown/xmarkdown.js +109 -0
- package/components/xmarkdown/xmarkdown.vdt.js +43 -0
- package/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- package/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- package/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- package/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/i18n/en-US.js +29 -1
- package/dist/i18n/en-US.js.map +1 -1
- package/dist/i18n/en-US.min.js +1 -1
- package/dist/index.js +100506 -37457
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1569 -1
- package/dist/kpc.css +4 -0
- package/dist/ksyun.css +4 -0
- package/i18n/en-US.d.ts +27 -0
- package/i18n/en-US.js +29 -1
- package/index.d.ts +9 -2
- package/index.js +9 -2
- package/package.json +8 -2
- package/styles/global.js +12 -6
- package/yarn-error.log +0 -1012
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
3
|
+
import { Component } from 'intact-vue-next';
|
|
4
|
+
import template from './xmarkdown.vdt';
|
|
5
|
+
import { useConfigContext } from '../config';
|
|
6
|
+
import { useXMarkdownDisplay } from './useXMarkdownDisplay';
|
|
7
|
+
import { useXMarkdownContent } from './useXMarkdownContent';
|
|
8
|
+
var typeDefs = {
|
|
9
|
+
content: [String, Number],
|
|
10
|
+
loading: Boolean,
|
|
11
|
+
typing: [Boolean, Object],
|
|
12
|
+
streaming: Boolean,
|
|
13
|
+
allowHtml: Boolean,
|
|
14
|
+
showCodeHeader: Boolean,
|
|
15
|
+
enableMermaid: Boolean,
|
|
16
|
+
mermaidConfig: Object,
|
|
17
|
+
enableFormula: Boolean,
|
|
18
|
+
formulaDelimiters: [String, Array],
|
|
19
|
+
formulaMacros: Object,
|
|
20
|
+
sanitizeOptions: Object,
|
|
21
|
+
plugins: Array,
|
|
22
|
+
tagAttrs: Object,
|
|
23
|
+
tagRenderers: Object,
|
|
24
|
+
codeBlockRenderers: Object
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* 组件默认属性
|
|
28
|
+
*/
|
|
29
|
+
var defaults = function defaults() {
|
|
30
|
+
return {
|
|
31
|
+
content: undefined,
|
|
32
|
+
loading: false,
|
|
33
|
+
typing: false,
|
|
34
|
+
streaming: false,
|
|
35
|
+
allowHtml: false,
|
|
36
|
+
showCodeHeader: true,
|
|
37
|
+
enableMermaid: true,
|
|
38
|
+
mermaidConfig: undefined,
|
|
39
|
+
enableFormula: true,
|
|
40
|
+
formulaDelimiters: ['dollars', 'beg_end'],
|
|
41
|
+
formulaMacros: undefined,
|
|
42
|
+
sanitizeOptions: undefined,
|
|
43
|
+
plugins: undefined,
|
|
44
|
+
tagAttrs: undefined,
|
|
45
|
+
tagRenderers: undefined,
|
|
46
|
+
codeBlockRenderers: undefined
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* 组件事件声明
|
|
51
|
+
*/
|
|
52
|
+
var events = {
|
|
53
|
+
typing: true,
|
|
54
|
+
typingComplete: true,
|
|
55
|
+
codeCopy: true,
|
|
56
|
+
mermaidError: true
|
|
57
|
+
};
|
|
58
|
+
export var XMarkdown = /*#__PURE__*/function (_Component) {
|
|
59
|
+
_inheritsLoose(XMarkdown, _Component);
|
|
60
|
+
function XMarkdown() {
|
|
61
|
+
var _context;
|
|
62
|
+
var _this;
|
|
63
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
64
|
+
args[_key] = arguments[_key];
|
|
65
|
+
}
|
|
66
|
+
_this = _Component.call.apply(_Component, _concatInstanceProperty(_context = [this]).call(_context, args)) || this;
|
|
67
|
+
_this.config = useConfigContext();
|
|
68
|
+
_this.display = useXMarkdownDisplay(function () {
|
|
69
|
+
return _this.getPrefixCls();
|
|
70
|
+
});
|
|
71
|
+
_this.contentModel = useXMarkdownContent(_this.display.getRenderedBlockData, function () {
|
|
72
|
+
return _this.getPrefixCls();
|
|
73
|
+
});
|
|
74
|
+
return _this;
|
|
75
|
+
}
|
|
76
|
+
var _proto = XMarkdown.prototype;
|
|
77
|
+
/**
|
|
78
|
+
* 挂载后同步展示与交互状态
|
|
79
|
+
*/
|
|
80
|
+
_proto.mounted = function mounted() {
|
|
81
|
+
this.display.onMounted();
|
|
82
|
+
this.contentModel.onMounted();
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 更新后同步交互内容
|
|
86
|
+
*/;
|
|
87
|
+
_proto.updated = function updated() {
|
|
88
|
+
this.contentModel.onUpdated();
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 卸载前清理资源
|
|
92
|
+
*/;
|
|
93
|
+
_proto.beforeUnmount = function beforeUnmount() {
|
|
94
|
+
this.contentModel.onBeforeUnmount();
|
|
95
|
+
this.display.onBeforeUnmount();
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* 获取组件前缀类名
|
|
99
|
+
*/;
|
|
100
|
+
_proto.getPrefixCls = function getPrefixCls() {
|
|
101
|
+
var _this$config;
|
|
102
|
+
return ((_this$config = this.config) == null ? void 0 : _this$config.k) || 'k';
|
|
103
|
+
};
|
|
104
|
+
return XMarkdown;
|
|
105
|
+
}(Component);
|
|
106
|
+
XMarkdown.template = template;
|
|
107
|
+
XMarkdown.typeDefs = typeDefs;
|
|
108
|
+
XMarkdown.defaults = defaults;
|
|
109
|
+
XMarkdown.events = events;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
2
|
+
import { createVNode as _$cv, className as _$cn, createElementVNode as _$ce } from 'intact-vue-next';
|
|
3
|
+
import { isInvalid, noop } from 'intact-shared';
|
|
4
|
+
import { getRestProps, isEmptyString } from '../utils';
|
|
5
|
+
import { makeStyles } from './styles';
|
|
6
|
+
export default function ($props, $blocks, $__proto__) {
|
|
7
|
+
var _classNameObj;
|
|
8
|
+
$blocks || ($blocks = {});
|
|
9
|
+
$props || ($props = {});
|
|
10
|
+
var $this = this;
|
|
11
|
+
var _this$get = this.get(),
|
|
12
|
+
className = _this$get.className;
|
|
13
|
+
var k = this.config.k;
|
|
14
|
+
var _this$contentModel = this.contentModel,
|
|
15
|
+
rootRef = _this$contentModel.rootRef,
|
|
16
|
+
contentRef = _this$contentModel.contentRef;
|
|
17
|
+
var _this$display = this.display,
|
|
18
|
+
shouldShowLoadingShell = _this$display.shouldShowLoadingShell,
|
|
19
|
+
shouldShowEmpty = _this$display.shouldShowEmpty;
|
|
20
|
+
var stableNodes = this.display.getRenderedStableNodes();
|
|
21
|
+
var tailNodes = this.display.getRenderedTailNodes();
|
|
22
|
+
var showLoadingShell = shouldShowLoadingShell();
|
|
23
|
+
var showEmpty = shouldShowEmpty();
|
|
24
|
+
var isEmptySlot = function isEmptySlot(value) {
|
|
25
|
+
if (isInvalid(value) || isEmptyString(value)) return true;
|
|
26
|
+
if (Array.isArray(value)) return value.every(function (item) {
|
|
27
|
+
return isEmptySlot(item);
|
|
28
|
+
});
|
|
29
|
+
if (value && value.type === 1) return isEmptySlot(value.children);
|
|
30
|
+
return false;
|
|
31
|
+
};
|
|
32
|
+
var loadingSlot = showLoadingShell && $blocks.loading ? $blocks.loading(noop) : undefined;
|
|
33
|
+
var emptySlot = showEmpty && $blocks.empty ? $blocks.empty(noop) : undefined;
|
|
34
|
+
var hasLoadingSlot = !isEmptySlot(loadingSlot);
|
|
35
|
+
var hasEmptySlot = !isEmptySlot(emptySlot);
|
|
36
|
+
var classNameObj = (_classNameObj = {}, _classNameObj[k + "-xmarkdown"] = true, _classNameObj[className] = className, _classNameObj[makeStyles(k)] = true, _classNameObj);
|
|
37
|
+
return _$cv('div', _extends({
|
|
38
|
+
'className': _$cn(classNameObj)
|
|
39
|
+
}, getRestProps(this), {
|
|
40
|
+
'ref': rootRef
|
|
41
|
+
}), showLoadingShell ? hasLoadingSlot ? loadingSlot : _$ce(2, 'div', _$ce(2, 'div', [_$ce(2, 'div', null, 1, _$cn(k + "-xmarkdown-loading-dot")), _$ce(2, 'div', null, 1, _$cn(k + "-xmarkdown-loading-dot")), _$ce(2, 'div', null, 1, _$cn(k + "-xmarkdown-loading-dot"))], 4, _$cn(k + "-xmarkdown-loading-dots")), 2, _$cn(k + "-xmarkdown-loading")) : showEmpty ? hasEmptySlot ? _$ce(2, 'div', emptySlot, 0, _$cn(k + "-xmarkdown-empty")) : undefined : _$ce(2, 'div', [_$ce(2, 'div', stableNodes, 0, _$cn(k + "-xmarkdown-stable")), _$ce(2, 'div', tailNodes, 0, _$cn(k + "-xmarkdown-tail"))], 4, _$cn(k + "-xmarkdown-content"), null, null, contentRef));
|
|
42
|
+
}
|
|
43
|
+
;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/i18n/en-US.js
CHANGED
|
@@ -1383,16 +1383,44 @@ var i18n = {
|
|
|
1383
1383
|
'点击上传': 'Click to Upload',
|
|
1384
1384
|
'将文件拖到此处,或<a>点击上传</a>': 'Drag file to this area or <a>click to upload</a>',
|
|
1385
1385
|
'查看图片': 'View Image',
|
|
1386
|
+
'查看视频': 'View Video',
|
|
1387
|
+
'查看音频': 'View Audio',
|
|
1388
|
+
'查看文件夹': 'View Folder',
|
|
1389
|
+
'查看文件': 'View File',
|
|
1386
1390
|
'上传图片': 'Upload Image',
|
|
1391
|
+
'上传文件夹': 'Upload Folder',
|
|
1387
1392
|
'超出文件数量最大限制:{limit}': 'Exceed the maximum limit of the number of files: {limit}',
|
|
1388
1393
|
'"{name}" 超出文件最大限制:{maxSize}kb': '"{name}" exceeds the maximum size of file: {maxSize}kb',
|
|
1389
1394
|
'"{name}" 文件类型不合法': '"{name}" invalid file type',
|
|
1395
|
+
'查看': 'Preview',
|
|
1396
|
+
'下载': 'Download',
|
|
1397
|
+
'删除': 'Delete',
|
|
1398
|
+
'上传中': 'Uploading',
|
|
1399
|
+
'处理中': 'Processing',
|
|
1400
|
+
'生成中': 'Generating',
|
|
1401
|
+
'上传失败': 'Upload failed',
|
|
1402
|
+
'已完成': 'Completed',
|
|
1403
|
+
'在新窗口中打开': 'Open in a new window',
|
|
1404
|
+
'未命名文件': 'Untitled file',
|
|
1390
1405
|
// search
|
|
1391
1406
|
'请输入关键字': 'Please enter keywords',
|
|
1407
|
+
// sender
|
|
1408
|
+
'请输入...': 'Please enter...',
|
|
1409
|
+
'输入对话内容(Enter发送, Shift + Enter 换行)': 'Enter your message (Enter to send, Shift + Enter for newline)',
|
|
1410
|
+
'发送': 'Send',
|
|
1411
|
+
'停止生成': 'Stop generating',
|
|
1412
|
+
'释放文件以上传': 'Release files to upload',
|
|
1413
|
+
'文件拖动到此处即可上传': 'Drag files here to upload',
|
|
1414
|
+
'上传附件': 'Upload attachments',
|
|
1392
1415
|
// copy
|
|
1393
1416
|
'复制成功': 'Copy successfully!',
|
|
1394
1417
|
'复制失败': 'Copy failed!',
|
|
1395
|
-
'复制': 'Copy'
|
|
1418
|
+
'复制': 'Copy',
|
|
1419
|
+
'刷新': 'Refresh',
|
|
1420
|
+
'重试': 'Retry',
|
|
1421
|
+
'加载中': 'Loading',
|
|
1422
|
+
'加载失败': 'Load failed',
|
|
1423
|
+
'思考中': 'Thinking'
|
|
1396
1424
|
};
|
|
1397
1425
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (i18n);
|
|
1398
1426
|
|