@idooel/components 0.0.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/dist/@idooel/components.umd.js +1813 -0
- package/package.json +41 -0
- package/packages/button/index.js +5 -0
- package/packages/button/src/index.vue +25 -0
- package/packages/composite-components/button-group/index.js +5 -0
- package/packages/composite-components/button-group/src/index.vue +47 -0
- package/packages/composite-components/search-area/index.js +5 -0
- package/packages/composite-components/search-area/src/index.vue +129 -0
- package/packages/composite-components/search-area/src/label.vue +36 -0
- package/packages/date/index.js +5 -0
- package/packages/date/src/index.vue +40 -0
- package/packages/index.js +50 -0
- package/packages/input/index.js +5 -0
- package/packages/input/src/index.vue +24 -0
- package/packages/select/index.js +5 -0
- package/packages/select/src/index.vue +35 -0
- package/packages/table/index.js +5 -0
- package/packages/table/src/action.vue +45 -0
- package/packages/table/src/index.vue +89 -0
- package/packages/tpl/index.js +5 -0
- package/packages/tpl/src/index.vue +39 -0
- package/packages/tree/index.js +5 -0
- package/packages/tree/src/TreeNode.vue +30 -0
- package/packages/tree/src/index.vue +97 -0
- package/packages/tree-table-model/README.md +0 -0
- package/packages/tree-table-model/index.js +5 -0
- package/packages/tree-table-model/src/index.vue +290 -0
- package/scripts/rollup.config.js +42 -0
- package/scripts/rollup.umd.config.js +15 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<a-tree-node :key="node.key" :title="node.title">
|
|
3
|
+
<a-icon slot="icon" type="carry-out" />
|
|
4
|
+
<template v-if="node.children">
|
|
5
|
+
<TreeNode
|
|
6
|
+
v-for="(children, idx) in node.children"
|
|
7
|
+
:key="idx"
|
|
8
|
+
:node="children">
|
|
9
|
+
</TreeNode>
|
|
10
|
+
</template>
|
|
11
|
+
<!-- <span slot="title" style="color: #1890ff">parent 1</span> -->
|
|
12
|
+
</a-tree-node>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
export default {
|
|
17
|
+
name: 'TreeNode',
|
|
18
|
+
isTreeNode: true,
|
|
19
|
+
props: {
|
|
20
|
+
node: {
|
|
21
|
+
type: Object,
|
|
22
|
+
required: true
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<style scoped>
|
|
29
|
+
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="g-tree__wrapper">
|
|
3
|
+
<a-tree
|
|
4
|
+
v-if="innerTreeData.length"
|
|
5
|
+
:tree-data="innerTreeData"
|
|
6
|
+
@select="selectTreeNode"
|
|
7
|
+
:replaceFields="replaceFields"
|
|
8
|
+
:default-expanded-keys="defaultExpandedKeys"
|
|
9
|
+
:default-selected-keys="defaultSelectedKeys"
|
|
10
|
+
blockNode
|
|
11
|
+
:show-icon="showIcon">
|
|
12
|
+
<template #title="{ title }">
|
|
13
|
+
<span :title="title" class="tree-node__title">
|
|
14
|
+
{{ title }}
|
|
15
|
+
</span>
|
|
16
|
+
</template>
|
|
17
|
+
<template slot="custom" slot-scope="{ scopedSlots }">
|
|
18
|
+
<a-icon :type="scopedSlots.iconName"></a-icon>
|
|
19
|
+
</template>
|
|
20
|
+
</a-tree>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script>
|
|
25
|
+
export default {
|
|
26
|
+
name: 'ele-tree',
|
|
27
|
+
props: {
|
|
28
|
+
treeData: {
|
|
29
|
+
type: Array,
|
|
30
|
+
default: () => []
|
|
31
|
+
},
|
|
32
|
+
replaceFields: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: () => ({
|
|
35
|
+
title: 'title',
|
|
36
|
+
key: 'id',
|
|
37
|
+
children: 'children'
|
|
38
|
+
})
|
|
39
|
+
},
|
|
40
|
+
defaultExpandedKeys: {
|
|
41
|
+
type: Array
|
|
42
|
+
},
|
|
43
|
+
defaultSelectedKeys: {
|
|
44
|
+
type: Array
|
|
45
|
+
},
|
|
46
|
+
showIcon: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: true
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
data () {
|
|
52
|
+
return {}
|
|
53
|
+
},
|
|
54
|
+
computed: {
|
|
55
|
+
innerTreeData () {
|
|
56
|
+
return this.treeData
|
|
57
|
+
// return [
|
|
58
|
+
// {
|
|
59
|
+
// title: 'parent 1',
|
|
60
|
+
// key: 1,
|
|
61
|
+
// scopedSlots: {
|
|
62
|
+
// icon: 'custom',
|
|
63
|
+
// iconName: 'smile-o'
|
|
64
|
+
// },
|
|
65
|
+
// children: [
|
|
66
|
+
// {
|
|
67
|
+
// title: '2',
|
|
68
|
+
// key: 2,
|
|
69
|
+
// scopedSlots: {
|
|
70
|
+
// icon: 'custom',
|
|
71
|
+
// iconName: 'frown-o'
|
|
72
|
+
// }
|
|
73
|
+
// }
|
|
74
|
+
// ]
|
|
75
|
+
// }
|
|
76
|
+
// ]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
methods: {
|
|
80
|
+
refreshTreeStatus (props = {}) {},
|
|
81
|
+
selectTreeNode (selectedKeys, e) {
|
|
82
|
+
this.$emit('select', selectedKeys, e)
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
</script>
|
|
87
|
+
|
|
88
|
+
<style lang="scss" scoped>
|
|
89
|
+
.g-tree__wrapper {
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
::v-deep .ant-tree-node-content-wrapper {
|
|
92
|
+
text-overflow: ellipsis;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
white-space: nowrap;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
</style>
|
|
File without changes
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<section class="model__tree-table">
|
|
3
|
+
<section :ref="modelTreeWrapper" class="model__tree--wrapper">
|
|
4
|
+
<ele-tree
|
|
5
|
+
:tree-data="treeData"
|
|
6
|
+
:defaultExpandedKeys="defaultExpandedKeys"
|
|
7
|
+
:defaultSelectedKeys="defaultSelectedKeys"
|
|
8
|
+
@select="selectTreeNode"
|
|
9
|
+
:replace-fields="treeMeta.replaceFields || replaceFields">
|
|
10
|
+
</ele-tree>
|
|
11
|
+
</section>
|
|
12
|
+
<section :ref="modelTableWrapper" class="model__table--wrapper">
|
|
13
|
+
<ele-search-area :ref="searchArea" @search="onSearch" :data-source="searchMeta.elements"></ele-search-area>
|
|
14
|
+
<ele-button-group :ref="buttonGroup" @click="handleClickButtonGroup" style="margin-top: 16px" :data-source="getButtonGroupElements"></ele-button-group>
|
|
15
|
+
<ele-table
|
|
16
|
+
v-on="$listeners"
|
|
17
|
+
:loading="loading"
|
|
18
|
+
:columns="columns"
|
|
19
|
+
:total="total"
|
|
20
|
+
:actions="actions"
|
|
21
|
+
:pageSize="pageSize"
|
|
22
|
+
:pageSizeOptions="pageSizeOptions"
|
|
23
|
+
:data-source="tableData"
|
|
24
|
+
@change-page="onChangePage"
|
|
25
|
+
style="margin-top: 8px;"
|
|
26
|
+
></ele-table>
|
|
27
|
+
</section>
|
|
28
|
+
</section>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
import EleTree from '../../tree/src/index.vue'
|
|
33
|
+
import EleTable from '../../table/src/index.vue'
|
|
34
|
+
import EleSearchArea from '../../composite-components/search-area/src/index.vue'
|
|
35
|
+
import EleButtonGroup from '../../composite-components/button-group/src/index.vue'
|
|
36
|
+
import { type, net } from '@idooel/shared'
|
|
37
|
+
import { v4 as uuidv4 } from 'uuid'
|
|
38
|
+
export default {
|
|
39
|
+
name: 'ele-tree-table-model',
|
|
40
|
+
components: {
|
|
41
|
+
EleTree,
|
|
42
|
+
EleTable,
|
|
43
|
+
EleSearchArea,
|
|
44
|
+
EleButtonGroup
|
|
45
|
+
},
|
|
46
|
+
props: {
|
|
47
|
+
treeMeta: {
|
|
48
|
+
type: Object,
|
|
49
|
+
default: () => ({})
|
|
50
|
+
},
|
|
51
|
+
searchMeta: {
|
|
52
|
+
type: Object,
|
|
53
|
+
default: () => ({})
|
|
54
|
+
},
|
|
55
|
+
buttonGroupMeta: {
|
|
56
|
+
typeof: Object,
|
|
57
|
+
default: () => ({})
|
|
58
|
+
},
|
|
59
|
+
tableMeta: {
|
|
60
|
+
type: Object,
|
|
61
|
+
default: () => ({})
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
data () {
|
|
65
|
+
return {
|
|
66
|
+
treeData: [],
|
|
67
|
+
tableData: [],
|
|
68
|
+
defaultExpandedKeys: [],
|
|
69
|
+
defaultSelectedKeys: [],
|
|
70
|
+
replaceFields: {
|
|
71
|
+
title: 'title',
|
|
72
|
+
children: 'children',
|
|
73
|
+
key: 'id'
|
|
74
|
+
},
|
|
75
|
+
loading: false,
|
|
76
|
+
total: 0,
|
|
77
|
+
tableQuerys: {},
|
|
78
|
+
resizeObserverModelTableWrapper: null,
|
|
79
|
+
modelTableWrapperHeight: 0,
|
|
80
|
+
currentTreeNodeData: {}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
computed: {
|
|
84
|
+
buttonGroup () {
|
|
85
|
+
return uuidv4()
|
|
86
|
+
},
|
|
87
|
+
searchArea () {
|
|
88
|
+
return uuidv4()
|
|
89
|
+
},
|
|
90
|
+
modelTreeWrapper () {
|
|
91
|
+
return uuidv4()
|
|
92
|
+
},
|
|
93
|
+
modelTableWrapper () {
|
|
94
|
+
return uuidv4()
|
|
95
|
+
},
|
|
96
|
+
actions () {
|
|
97
|
+
const { operations } = this.tableMeta
|
|
98
|
+
return operations.elements
|
|
99
|
+
},
|
|
100
|
+
pageSize () {
|
|
101
|
+
const { page = {} } = this.tableMeta
|
|
102
|
+
return page.pageSize || 10
|
|
103
|
+
},
|
|
104
|
+
pageSizeOptions () {
|
|
105
|
+
const { page = {} } = this.tableMeta
|
|
106
|
+
return page.pageSizeOptions || ['10', '20', '30', '40']
|
|
107
|
+
},
|
|
108
|
+
columns () {
|
|
109
|
+
const { columns, operations } = this.tableMeta
|
|
110
|
+
if (type.get(columns) === 'array') {
|
|
111
|
+
const columnsOptions = columns.map(item => {
|
|
112
|
+
if (item.render) {
|
|
113
|
+
return {
|
|
114
|
+
title: item.title,
|
|
115
|
+
dataIndex: item.dataIndex,
|
|
116
|
+
width: item.width,
|
|
117
|
+
align: item.align,
|
|
118
|
+
fixed: item.fixed,
|
|
119
|
+
customRender: (text, record, index) => {
|
|
120
|
+
const { $createElement } = this
|
|
121
|
+
return item.render.call(this, { h: $createElement, ctx: this }, typeof text == 'string' ? text : text[item.dataIndex], record, index)
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return {
|
|
126
|
+
title: item.title,
|
|
127
|
+
dataIndex: item.dataIndex,
|
|
128
|
+
width: item.width,
|
|
129
|
+
align: item.align,
|
|
130
|
+
fixed: item.fixed
|
|
131
|
+
}
|
|
132
|
+
})
|
|
133
|
+
if (operations) {
|
|
134
|
+
return [
|
|
135
|
+
...columnsOptions,
|
|
136
|
+
{
|
|
137
|
+
title: '操作',
|
|
138
|
+
width: operations.width,
|
|
139
|
+
key: 'action',
|
|
140
|
+
fixed: 'right',
|
|
141
|
+
scopedSlots: { customRender: 'action' }
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
return columnsOptions
|
|
146
|
+
} else {
|
|
147
|
+
console.error('Error: columns is invalid, please check it')
|
|
148
|
+
return []
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
getButtonGroupElements () {
|
|
152
|
+
const { elements } = this.buttonGroupMeta
|
|
153
|
+
if (type.get(elements) === 'function') {
|
|
154
|
+
return elements.call(this)
|
|
155
|
+
} else if (type.get(elements) === 'array') {
|
|
156
|
+
return elements
|
|
157
|
+
} else {
|
|
158
|
+
return []
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
async created () {
|
|
163
|
+
this.treeData = await this.requestTreeData()
|
|
164
|
+
const [defaultTreeNode = {}] = this.treeData
|
|
165
|
+
this.defaultExpandedKeys = [defaultTreeNode[this.replaceFields.key]]
|
|
166
|
+
this.defaultSelectedKeys = [defaultTreeNode[this.replaceFields.key]]
|
|
167
|
+
const { fieldMap } = this.tableMeta
|
|
168
|
+
this.currentTreeNodeData = defaultTreeNode
|
|
169
|
+
this.tableData = await this.requestTableData(this.execTableFieldMap(fieldMap, defaultTreeNode))
|
|
170
|
+
},
|
|
171
|
+
methods: {
|
|
172
|
+
handleClickButtonGroup (props) {
|
|
173
|
+
const { eventName } = props
|
|
174
|
+
this.$emit(eventName, { currentTreeNode: this.currentTreeNodeData })
|
|
175
|
+
},
|
|
176
|
+
watchViewPort () {
|
|
177
|
+
const modelTableWrapper = this.$refs[this.modelTableWrapper]
|
|
178
|
+
console.log(modelTableWrapper.getBoundingClientRect())
|
|
179
|
+
const { top } = modelTableWrapper.getBoundingClientRect()
|
|
180
|
+
this.$refs[this.modelTreeWrapper].style.height = `calc(100vh - ${top}px)`
|
|
181
|
+
},
|
|
182
|
+
async onSearch (props) {
|
|
183
|
+
this.tableQuerys = Object.assign(this.tableQuerys, props)
|
|
184
|
+
this.tableData = await this.requestTableData()
|
|
185
|
+
},
|
|
186
|
+
execTableFieldMap (fieldMap = {}, props) {
|
|
187
|
+
let ret = {}
|
|
188
|
+
const keys = Object.keys(fieldMap)
|
|
189
|
+
keys.forEach(key => {
|
|
190
|
+
const field = fieldMap[key]
|
|
191
|
+
ret[field] = props[key]
|
|
192
|
+
})
|
|
193
|
+
return ret
|
|
194
|
+
},
|
|
195
|
+
async selectTreeNode (selectedKeys, e) {
|
|
196
|
+
const { fieldMap } = this.tableMeta
|
|
197
|
+
this.currentTreeNodeData = e.node.$vnode.data.props.dataRef
|
|
198
|
+
const execFieldMapRet = this.execTableFieldMap(fieldMap, e.node.$vnode.data.props.dataRef)
|
|
199
|
+
this.tableData = await this.requestTableData(execFieldMapRet)
|
|
200
|
+
},
|
|
201
|
+
async requestTreeData () {
|
|
202
|
+
const { url, requestType } = this.treeMeta
|
|
203
|
+
const ret = await net.get(
|
|
204
|
+
url
|
|
205
|
+
).then(resp => {
|
|
206
|
+
const { data } = resp || {}
|
|
207
|
+
return data
|
|
208
|
+
})
|
|
209
|
+
return ret
|
|
210
|
+
},
|
|
211
|
+
async onChangePage (page, pageSize) {
|
|
212
|
+
this.tableData = await this.requestTableData({ currentPage: page, pageSize })
|
|
213
|
+
},
|
|
214
|
+
async requestTableData (props = {}) {
|
|
215
|
+
const { url, requestType, page = {} } = this.tableMeta
|
|
216
|
+
const { pageSize = 10 } = page
|
|
217
|
+
this.tableQuerys = Object.assign(this.tableQuerys, { currentPage: 1, pageSize }, props)
|
|
218
|
+
const ret = await net.get(
|
|
219
|
+
url,
|
|
220
|
+
this.tableQuerys
|
|
221
|
+
).then(resp => {
|
|
222
|
+
const { data = [], count } = resp || {}
|
|
223
|
+
this.total = count
|
|
224
|
+
return data.map(item => {
|
|
225
|
+
return {
|
|
226
|
+
key: uuidv4(),
|
|
227
|
+
...item
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
})
|
|
231
|
+
return ret
|
|
232
|
+
},
|
|
233
|
+
refreshTreeStatus (props = {}) {},
|
|
234
|
+
refreshTableStatus (props = {}) {},
|
|
235
|
+
getModelTableWrapperHeight () {},
|
|
236
|
+
setModelTreeWrapperHeight (height) {
|
|
237
|
+
this.$refs[this.modelTreeWrapper].style.height = height
|
|
238
|
+
},
|
|
239
|
+
setModelTableWrapperHeight () {
|
|
240
|
+
const { top } = this.$refs[this.modelTableWrapper].getBoundingClientRect()
|
|
241
|
+
const height = `calc(100vh - ${top}px)`
|
|
242
|
+
this.$refs[this.modelTableWrapper].style.height = height
|
|
243
|
+
this.setModelTreeWrapperHeight(height)
|
|
244
|
+
},
|
|
245
|
+
getSearchAreaHeight () {
|
|
246
|
+
return this.$refs[this.searchArea].$el.clientHeight
|
|
247
|
+
},
|
|
248
|
+
getButtonGroupHeight () {
|
|
249
|
+
return this.$refs[this.buttonGroup].$el.clientHeight
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
mounted () {
|
|
253
|
+
//TODO
|
|
254
|
+
// this.setModelTableWrapperHeight()
|
|
255
|
+
// this.resizeObserverModelTableWrapper = new ResizeObserver(entries => {
|
|
256
|
+
// for (let entry of entries) {
|
|
257
|
+
// this.modelTableWrapperHeight = entry.contentRect.height
|
|
258
|
+
// console.log('this.modelTableWrapperHeight:', this.modelTableWrapperHeight)
|
|
259
|
+
// console.log('getSearchAreaHeight', this.getSearchAreaHeight())
|
|
260
|
+
// console.log('getButtonGroupHeight', this.getButtonGroupHeight())
|
|
261
|
+
// const tableHeight = this.modelTableWrapperHeight - this.getSearchAreaHeight() - this.getButtonGroupHeight()
|
|
262
|
+
// console.log('tableHeight', tableHeight)
|
|
263
|
+
// }
|
|
264
|
+
// })
|
|
265
|
+
// this.resizeObserverModelTableWrapper.observe(this.$refs[this.modelTableWrapper])
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
</script>
|
|
269
|
+
|
|
270
|
+
<style lang="scss" scoped>
|
|
271
|
+
.model__tree-table {
|
|
272
|
+
background: transparent;
|
|
273
|
+
display: flex;
|
|
274
|
+
flex-direction: row;
|
|
275
|
+
width: 100%;
|
|
276
|
+
.model__tree--wrapper {
|
|
277
|
+
width: 240px;
|
|
278
|
+
background: #fff;
|
|
279
|
+
flex-shrink: 0;
|
|
280
|
+
padding: 16px;
|
|
281
|
+
box-sizing: border-box;
|
|
282
|
+
margin-right: 16px;
|
|
283
|
+
overflow-y: auto;
|
|
284
|
+
}
|
|
285
|
+
.model__table--wrapper {
|
|
286
|
+
min-width: 0;
|
|
287
|
+
background: #fff;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
</style>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
import { name } from '../package.json'
|
|
3
|
+
import { nodeResolve } from '@rollup/plugin-node-resolve'
|
|
4
|
+
// import { terser } from 'rollup-plugin-terser'
|
|
5
|
+
import strip from '@rollup/plugin-strip'
|
|
6
|
+
import vue from 'rollup-plugin-vue'
|
|
7
|
+
import postcss from 'rollup-plugin-postcss'
|
|
8
|
+
import postcssImport from 'postcss-import'
|
|
9
|
+
import babel from 'rollup-plugin-babel'
|
|
10
|
+
|
|
11
|
+
const generateFileName = (type) => `dist/${name}.${type}.js`
|
|
12
|
+
|
|
13
|
+
export { generateFileName }
|
|
14
|
+
/** @type { import('rollup').RollupOptions } */
|
|
15
|
+
export default {
|
|
16
|
+
input: 'packages/index.js',
|
|
17
|
+
output: {
|
|
18
|
+
name: name,
|
|
19
|
+
file: generateFileName('umd'),
|
|
20
|
+
format: 'umd'
|
|
21
|
+
},
|
|
22
|
+
plugins: [
|
|
23
|
+
nodeResolve(),
|
|
24
|
+
babel({
|
|
25
|
+
exclude: 'node_modules/**'
|
|
26
|
+
}),
|
|
27
|
+
vue({
|
|
28
|
+
css: true,
|
|
29
|
+
compileTemplate: true
|
|
30
|
+
}),
|
|
31
|
+
postcss({
|
|
32
|
+
extensions: ['.css'],
|
|
33
|
+
extract: true,
|
|
34
|
+
plugins: [postcssImport()]
|
|
35
|
+
}),
|
|
36
|
+
// terser(),
|
|
37
|
+
// strip({
|
|
38
|
+
// functions: ['console.log', 'assert.*', 'debug', 'alert'],
|
|
39
|
+
// sourceMap: true
|
|
40
|
+
// })
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import baseConfig, { generateFileName } from './rollup.config.js'
|
|
2
|
+
/** @type { import('rollup').RollupOptions } */
|
|
3
|
+
export default {
|
|
4
|
+
...baseConfig,
|
|
5
|
+
external: ['vue', '@idooel/shared'],
|
|
6
|
+
output: {
|
|
7
|
+
name: '__ele__components__',
|
|
8
|
+
file: generateFileName('umd'),
|
|
9
|
+
format: 'umd',
|
|
10
|
+
globals: {
|
|
11
|
+
vue: 'Vue'
|
|
12
|
+
},
|
|
13
|
+
exports: 'named'
|
|
14
|
+
}
|
|
15
|
+
}
|