@panpanzhao/component-ui 1.25.106 → 1.25.107
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/package.json +2 -2
- package/src/index.js +0 -89
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panpanzhao/component-ui",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.0107",
|
|
4
4
|
"description": "A Component Library for Vue.js.",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "lib/component-ui.common.js",
|
|
6
6
|
"unpkg": "lib/index.js",
|
|
7
7
|
"style": "lib/styles/component-ui.css",
|
|
8
8
|
"files": [
|
package/src/index.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import Form from "./components/form/index.js"
|
|
2
|
-
import FormInput from "./components/form-input/index.js"
|
|
3
|
-
import FormItem from "./components/form-item/index.js"
|
|
4
|
-
import FormQuery from "./components/form-query/index.js"
|
|
5
|
-
import FormGroup from "./components/form-group/index.js"
|
|
6
|
-
import FormDialog from "./components/form-dialog/index.js"
|
|
7
|
-
import FormDrawer from "./components/form-drawer/index.js"
|
|
8
|
-
import FormView from "./components/form-view/index.js"
|
|
9
|
-
import FormViewGroup from "./components/form-view-group/index.js"
|
|
10
|
-
import FormViewDialog from "./components/form-view-dialog/index.js"
|
|
11
|
-
import Table from "./components/table/index.js"
|
|
12
|
-
import TableColumn from "./components/table-column/index.js"
|
|
13
|
-
import TableSearch from "./components/table-search/index.js"
|
|
14
|
-
import TableEditable from "./components/table-editable/index.js"
|
|
15
|
-
import TableOperate from "./components/table-operate/index.js"
|
|
16
|
-
import Crud from "./components/crud/index.js"
|
|
17
|
-
import Formula from "./components/formula/index.js"
|
|
18
|
-
import Dialog from "./components/dialog/index.js"
|
|
19
|
-
import Drawer from "./components/drawer/index.js"
|
|
20
|
-
import TreeLine from "./components/tree-line/index.js"
|
|
21
|
-
import Timeline from "./components/timeline/index.js"
|
|
22
|
-
import * as utils from "component-ui/src/utils/index"
|
|
23
|
-
export const API = utils
|
|
24
|
-
const components = [
|
|
25
|
-
Form,
|
|
26
|
-
FormInput,
|
|
27
|
-
FormItem,
|
|
28
|
-
FormQuery,
|
|
29
|
-
FormGroup,
|
|
30
|
-
FormDialog,
|
|
31
|
-
FormDrawer,
|
|
32
|
-
FormView,
|
|
33
|
-
FormViewGroup,
|
|
34
|
-
FormViewDialog,
|
|
35
|
-
Table,
|
|
36
|
-
TableColumn,
|
|
37
|
-
TableSearch,
|
|
38
|
-
TableEditable,
|
|
39
|
-
TableOperate,
|
|
40
|
-
Crud,
|
|
41
|
-
Formula,
|
|
42
|
-
Dialog,
|
|
43
|
-
Drawer,
|
|
44
|
-
TreeLine,
|
|
45
|
-
Timeline
|
|
46
|
-
];
|
|
47
|
-
|
|
48
|
-
const install = function(Vue, opts = {}) {
|
|
49
|
-
components.forEach(component => {
|
|
50
|
-
Vue.component(component.name, component);
|
|
51
|
-
});
|
|
52
|
-
Vue.prototype.$COMPONENT = opts
|
|
53
|
-
Vue.prototype.$API = API
|
|
54
|
-
Vue.prototype.$ELEMENT = {
|
|
55
|
-
size: opts.size || 'small'
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
/* istanbul ignore if */
|
|
60
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
|
61
|
-
install(window.Vue);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export default {
|
|
65
|
-
version: '0.0.1',
|
|
66
|
-
install,
|
|
67
|
-
API,
|
|
68
|
-
Form,
|
|
69
|
-
FormInput,
|
|
70
|
-
FormItem,
|
|
71
|
-
FormQuery,
|
|
72
|
-
FormGroup,
|
|
73
|
-
FormDialog,
|
|
74
|
-
FormDrawer,
|
|
75
|
-
FormView,
|
|
76
|
-
FormViewGroup,
|
|
77
|
-
FormViewDialog,
|
|
78
|
-
Table,
|
|
79
|
-
TableColumn,
|
|
80
|
-
TableSearch,
|
|
81
|
-
TableEditable,
|
|
82
|
-
TableOperate,
|
|
83
|
-
Crud,
|
|
84
|
-
Formula,
|
|
85
|
-
Dialog,
|
|
86
|
-
Drawer,
|
|
87
|
-
TreeLine,
|
|
88
|
-
Timeline
|
|
89
|
-
};
|