tianheng-ui 0.0.63 → 0.0.64
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/tianheng-ui.js +22 -22
- package/package.json +5 -7
- package/packages/FormMaking/Container.vue +2 -2
- package/packages/FormMaking/GenerateFormItem.vue +4 -4
- package/packages/FormMaking/GenerateFormItemH5.vue +2 -5
- package/packages/FormMaking/WidgetConfig.vue +2 -2
- package/packages/FormMaking/WidgetForm.vue +1 -1
- package/packages/FormMaking/custom/config.js +1 -0
- package/packages/FormMaking/custom/configs/button.vue +1 -1
- package/packages/FormMaking/custom/configs/cascader.vue +1 -1
- package/packages/FormMaking/custom/configs/cell.vue +1 -1
- package/packages/FormMaking/custom/configs/image.vue +1 -1
- package/packages/FormMaking/custom/configs/table.vue +1 -1
- package/packages/FormMaking/custom/configs/table_h5.vue +1 -1
- package/packages/FormMaking/custom/configs/text.vue +1 -1
- package/packages/FormMaking/custom/configs/upload.vue +5 -20
- package/packages/FormMaking/custom/items/cell.vue +1 -1
- package/packages/FormMaking/custom/items/grid.vue +2 -2
- package/packages/FormMaking/custom/items/image.vue +1 -1
- package/packages/FormMaking/custom/items/upload.vue +1 -1
- package/packages/Image/index.vue +1 -1
- package/packages/index.js +31 -13
package/package.json
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "tianheng-ui",
|
3
3
|
"description": "A Vue.js project",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.64",
|
5
5
|
"author": "shu lang <403732931@qq.com>",
|
6
6
|
"license": "MIT",
|
7
7
|
"private": false,
|
8
8
|
"main": "./lib/tianheng-ui.js",
|
9
|
+
"style": "lib/theme-chalk/index.css",
|
9
10
|
"scripts": {
|
10
11
|
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
11
|
-
"build": "cross-env NODE_ENV=preview webpack --progress --hide-modules
|
12
|
-
"build:npm": "cross-env NODE_ENV=production webpack --progress --hide-modules
|
12
|
+
"build": "cross-env NODE_ENV=preview webpack --progress --hide-modules",
|
13
|
+
"build:npm": "cross-env NODE_ENV=production webpack --progress --hide-modules"
|
13
14
|
},
|
14
15
|
"dependencies": {
|
15
16
|
"ace-builds": "^1.4.13",
|
@@ -51,7 +52,6 @@
|
|
51
52
|
"@types/ace": "0.0.42",
|
52
53
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
|
53
54
|
"@vue/babel-preset-jsx": "^1.4.0",
|
54
|
-
"autoprefixer": "^10.4.13",
|
55
55
|
"babel-loader": "^8.2.5",
|
56
56
|
"babel-plugin-import": "^1.13.5",
|
57
57
|
"bpmn-js": "^8.8.3",
|
@@ -63,7 +63,6 @@
|
|
63
63
|
"html-webpack-plugin": "^4.5.0",
|
64
64
|
"less": "^3.9.0",
|
65
65
|
"less-loader": "^4.1.0",
|
66
|
-
"postcss-loader": "^4.3.0",
|
67
66
|
"sass": "^1.55.0",
|
68
67
|
"sass-loader": "^7.3.1",
|
69
68
|
"style-loader": "^2.0.0",
|
@@ -82,6 +81,5 @@
|
|
82
81
|
"keywords": [
|
83
82
|
"tianheng",
|
84
83
|
"tianheng-ui"
|
85
|
-
]
|
86
|
-
"style": "lib/theme-chalk/index.css"
|
84
|
+
]
|
87
85
|
}
|
@@ -359,8 +359,8 @@ import WidgetConfig from "./WidgetConfig";
|
|
359
359
|
import FormConfig from "./FormConfig";
|
360
360
|
import WidgetForm from "./WidgetForm";
|
361
361
|
import GenerateForm from "./GenerateForm";
|
362
|
-
import ThDialog from "ui/
|
363
|
-
import ThCodeEditor from "ui/
|
362
|
+
import ThDialog from "ui/Dialog/index.vue";
|
363
|
+
import ThCodeEditor from "ui/CodeEditor/index.vue";
|
364
364
|
import {
|
365
365
|
basicComponents,
|
366
366
|
advanceComponents,
|
@@ -675,10 +675,10 @@
|
|
675
675
|
<script>
|
676
676
|
import FmUpload from "./Upload";
|
677
677
|
import { VueEditor } from "vue2-editor";
|
678
|
-
import ThCell from "ui/
|
679
|
-
import ThImage from "ui/
|
680
|
-
import ThRow from "ui/
|
681
|
-
import ThCol from "ui/
|
678
|
+
import ThCell from "ui/Cell/index.vue";
|
679
|
+
import ThImage from "ui/Image/index.vue";
|
680
|
+
import ThRow from "ui/Row/index.vue";
|
681
|
+
import ThCol from "ui/Col/index.vue";
|
682
682
|
|
683
683
|
export default {
|
684
684
|
name: "genetate-form-item",
|
@@ -636,11 +636,8 @@
|
|
636
636
|
<script>
|
637
637
|
import FmUpload from "./Upload";
|
638
638
|
import { VueEditor } from "vue2-editor";
|
639
|
-
import ThCell from "ui/
|
640
|
-
import ThImage from "ui/
|
641
|
-
import Vue from "vue";
|
642
|
-
import { Field } from "vant";
|
643
|
-
Vue.use(Field);
|
639
|
+
import ThCell from "ui/Cell/index.vue";
|
640
|
+
import ThImage from "ui/Image/index.vue";
|
644
641
|
|
645
642
|
export default {
|
646
643
|
name: "genetate-form-item-h5",
|
@@ -103,8 +103,8 @@
|
|
103
103
|
|
104
104
|
<script>
|
105
105
|
import compsData from "./custom/register";
|
106
|
-
import ThDialog from "ui/
|
107
|
-
import ThCodeEditor from "ui/
|
106
|
+
import ThDialog from "ui/Dialog/index.vue";
|
107
|
+
import ThCodeEditor from "ui/CodeEditor/index.vue";
|
108
108
|
export default {
|
109
109
|
components: { ThDialog, ThCodeEditor },
|
110
110
|
props: {
|
@@ -50,7 +50,7 @@
|
|
50
50
|
<script>
|
51
51
|
import Draggable from "vuedraggable";
|
52
52
|
import WidgetFormItem from "./WidgetFormItem";
|
53
|
-
import ThEmpty from "ui/
|
53
|
+
import ThEmpty from "ui/Empty/index.vue";
|
54
54
|
|
55
55
|
export default {
|
56
56
|
components: { Draggable, WidgetFormItem, ThEmpty },
|
@@ -166,7 +166,7 @@
|
|
166
166
|
<script>
|
167
167
|
import Draggable from "vuedraggable";
|
168
168
|
import { configComponent } from "../mixins";
|
169
|
-
import CodeEditor from "ui/
|
169
|
+
import CodeEditor from "ui/CodeEditor/index.vue";
|
170
170
|
export default {
|
171
171
|
components: {
|
172
172
|
Draggable,
|
@@ -120,7 +120,7 @@
|
|
120
120
|
<script>
|
121
121
|
import Draggable from "vuedraggable";
|
122
122
|
import { configComponent } from "../mixins";
|
123
|
-
import CodeEditor from "ui/
|
123
|
+
import CodeEditor from "ui/CodeEditor/index.vue";
|
124
124
|
export default {
|
125
125
|
components: {
|
126
126
|
Draggable,
|
@@ -64,26 +64,11 @@
|
|
64
64
|
></el-input>
|
65
65
|
</el-form-item>
|
66
66
|
|
67
|
-
<el-form-item label="
|
68
|
-
<el-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
>
|
73
|
-
<el-option-group
|
74
|
-
v-for="group in remoteApis"
|
75
|
-
:key="group.label"
|
76
|
-
:label="group.label"
|
77
|
-
>
|
78
|
-
<el-option
|
79
|
-
v-for="item in group.options"
|
80
|
-
:key="item.value"
|
81
|
-
:label="item.label"
|
82
|
-
:value="item.value"
|
83
|
-
>
|
84
|
-
</el-option>
|
85
|
-
</el-option-group>
|
86
|
-
</el-select>
|
67
|
+
<el-form-item label="上传地址" :required="true">
|
68
|
+
<el-input
|
69
|
+
v-model.number="widget.options.action"
|
70
|
+
placeholder="请输入上传地址"
|
71
|
+
></el-input>
|
87
72
|
</el-form-item>
|
88
73
|
|
89
74
|
<el-form-item label="操作属性">
|
@@ -44,8 +44,8 @@
|
|
44
44
|
import { itemsComponent } from "../mixins/index";
|
45
45
|
import Draggable from "vuedraggable";
|
46
46
|
import WidgetFormItem from "../../WidgetFormItem.vue";
|
47
|
-
import ThRow from "ui/
|
48
|
-
import ThCol from "ui/
|
47
|
+
import ThRow from "ui/Row/index.vue";
|
48
|
+
import ThCol from "ui/Col/index.vue";
|
49
49
|
export default {
|
50
50
|
components: { Draggable, WidgetFormItem, ThRow, ThCol },
|
51
51
|
mixins: [itemsComponent],
|
package/packages/Image/index.vue
CHANGED
package/packages/index.js
CHANGED
@@ -20,15 +20,15 @@
|
|
20
20
|
* Workflow : 工作流设计
|
21
21
|
*/
|
22
22
|
|
23
|
-
import Cell from "./
|
24
|
-
import Icons from "./
|
25
|
-
import Table from "./
|
26
|
-
import TableAction from "./
|
27
|
-
import TableSearch from "./
|
28
|
-
import TableTools from "./
|
29
|
-
import Empty from "./
|
30
|
-
import Dialog from "./
|
31
|
-
import Card from "./
|
23
|
+
import Cell from "./Cell/index.js";
|
24
|
+
import Icons from "./Icons/index.js";
|
25
|
+
import Table from "./Table/index.js";
|
26
|
+
import TableAction from "./Table/action.js";
|
27
|
+
import TableSearch from "./Table/search.js";
|
28
|
+
import TableTools from "./Table/tools.js";
|
29
|
+
import Empty from "./Empty/index.js";
|
30
|
+
import Dialog from "./Dialog/index.js";
|
31
|
+
import Card from "./Card/index.js";
|
32
32
|
import CodeEditor from "./CodeEditor/index.js";
|
33
33
|
import Button from "./Button/index.js";
|
34
34
|
import Image from "./Image/index.js";
|
@@ -36,8 +36,8 @@ import ImagePreview from "./ImagePreview/index.js";
|
|
36
36
|
import Row from "./Row/index.js";
|
37
37
|
import Col from "./Col/index.js";
|
38
38
|
import Upload from "./Upload/index.js";
|
39
|
-
import { MakingForm, GenerateForm } from "./
|
40
|
-
// import Workflow from "../
|
39
|
+
import { MakingForm, GenerateForm } from "./FormMaking/index.js";
|
40
|
+
// import Workflow from "../packages/Workflow/index.js";
|
41
41
|
|
42
42
|
const components = [
|
43
43
|
Cell,
|
@@ -67,7 +67,7 @@ const install = function(Vue, opts = {}) {
|
|
67
67
|
});
|
68
68
|
|
69
69
|
Vue.prototype.$TIANHENG = {
|
70
|
-
size: opts.size ||
|
70
|
+
size: opts.size || "",
|
71
71
|
zIndex: opts.zIndex || 2000
|
72
72
|
};
|
73
73
|
};
|
@@ -77,7 +77,25 @@ if (typeof window !== "undefined" && window.Vue) {
|
|
77
77
|
}
|
78
78
|
|
79
79
|
export default {
|
80
|
-
version: "0.0.
|
80
|
+
version: "0.0.64",
|
81
81
|
install,
|
82
82
|
...components
|
83
|
+
// Cell,
|
84
|
+
// Icons,
|
85
|
+
// Table,
|
86
|
+
// TableAction,
|
87
|
+
// TableSearch,
|
88
|
+
// TableTools,
|
89
|
+
// Empty,
|
90
|
+
// Dialog,
|
91
|
+
// Card,
|
92
|
+
// CodeEditor,
|
93
|
+
// Button,
|
94
|
+
// Image,
|
95
|
+
// ImagePreview,
|
96
|
+
// Row,
|
97
|
+
// Col,
|
98
|
+
// Upload,
|
99
|
+
// MakingForm,
|
100
|
+
// GenerateForm
|
83
101
|
};
|