tianheng-ui 0.0.59 → 0.0.62
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/lib/index.js +41 -3
- package/lib/theme-chalk/styles/upload.scss +744 -598
- package/lib/tianheng-ui.js +23 -38
- package/package.json +1 -2
- package/packages/Button/index.vue +4 -4
- package/packages/CodeEditor/index.vue +1 -1
- package/packages/FormMaking/GenerateForm.vue +69 -35
- package/packages/FormMaking/WidgetForm.vue +12 -5
- package/packages/FormMaking/custom/items/button.vue +2 -2
- package/packages/FormMaking/custom/items/input.vue +0 -3
- package/packages/{upload → Upload}/ajax.js +0 -0
- package/packages/{upload → Upload}/index.js +0 -0
- package/packages/{upload → Upload}/index.vue +1 -1
- package/packages/{upload → Upload}/upload-dragger.vue +1 -1
- package/packages/{upload → Upload}/upload-list.vue +12 -14
- package/packages/{upload → Upload}/upload.vue +18 -36
- package/packages/Workflow/penal/listeners/utilSelf.js +3 -1
- package/packages/upload/locale.js +0 -9
package/lib/index.js
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* Cell : 单元格
|
3
|
+
* Icons : 图标选择器
|
4
|
+
* Table : 表格
|
5
|
+
* TableAction : 表格行操作
|
6
|
+
* TableSearch :表格搜索
|
7
|
+
* TableTools :表格公共操作
|
8
|
+
* Empty : 空状态
|
9
|
+
* Dialog : 对话框
|
10
|
+
* Card : 卡片
|
11
|
+
* CodeEditor : 编辑器
|
12
|
+
* Button : 按钮
|
13
|
+
* Image : 图片
|
14
|
+
* ImagePreview : 大图预览
|
15
|
+
* Row : loyout行
|
16
|
+
* Col : loyout列
|
17
|
+
* Upload : 上传
|
18
|
+
* MakingForm : 表单设计器
|
19
|
+
* GenerateForm : 表单渲染器
|
20
|
+
* Workflow : 工作流设计
|
21
|
+
*/
|
22
|
+
|
1
23
|
import Cell from "../packages/cell/index.js";
|
2
24
|
import Icons from "../packages/icons/index.js";
|
3
25
|
import Table from "../packages/table/index.js";
|
@@ -6,8 +28,16 @@ import TableSearch from "../packages/table/search.js";
|
|
6
28
|
import TableTools from "../packages/table/tools.js";
|
7
29
|
import Empty from "../packages/empty/index.js";
|
8
30
|
import Dialog from "../packages/dialog/index.js";
|
31
|
+
import Card from "../packages/card/index.js";
|
32
|
+
import CodeEditor from "../packages/CodeEditor/index.js";
|
33
|
+
import Button from "../packages/Button/index.js";
|
34
|
+
import Image from "../packages/Image/index.js";
|
35
|
+
import ImagePreview from "../packages/ImagePreview/index.js";
|
36
|
+
import Row from "../packages/Row/index.js";
|
37
|
+
import Col from "../packages/Col/index.js";
|
38
|
+
import Upload from "../packages/Upload/index.js";
|
9
39
|
import { MakingForm, GenerateForm } from "../packages/formMaking/index.js";
|
10
|
-
import Workflow from "../packages/workflow/index.js";
|
40
|
+
// import Workflow from "../packages/workflow/index.js";
|
11
41
|
|
12
42
|
const components = [
|
13
43
|
Cell,
|
@@ -18,9 +48,17 @@ const components = [
|
|
18
48
|
TableTools,
|
19
49
|
Empty,
|
20
50
|
Dialog,
|
51
|
+
Card,
|
52
|
+
CodeEditor,
|
53
|
+
Button,
|
54
|
+
Image,
|
55
|
+
ImagePreview,
|
56
|
+
Row,
|
57
|
+
Col,
|
58
|
+
Upload,
|
21
59
|
MakingForm,
|
22
60
|
GenerateForm,
|
23
|
-
Workflow
|
61
|
+
// Workflow
|
24
62
|
];
|
25
63
|
|
26
64
|
const install = function(Vue) {
|
@@ -34,7 +72,7 @@ if (typeof window !== "undefined" && window.Vue) {
|
|
34
72
|
}
|
35
73
|
|
36
74
|
export default {
|
37
|
-
version: "0.0.
|
75
|
+
version: "0.0.62",
|
38
76
|
install,
|
39
77
|
...components
|
40
78
|
};
|