byt-ui 0.0.7 → 0.0.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "byt-ui",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "private": false,
5
5
  "description": "byt组件库",
6
6
  "author": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "main": "lib/byt-ui.umd.min.js",
18
18
  "dependencies": {
19
- "byt-ui": "^0.0.5",
19
+ "byt-ui": "^0.0.7",
20
20
  "core-js": "^3.8.3",
21
21
  "element-ui": "^2.15.10",
22
22
  "moment": "^2.29.4",
@@ -30,6 +30,7 @@
30
30
  "@vue/cli-plugin-babel": "~5.0.0",
31
31
  "@vue/cli-plugin-eslint": "~5.0.0",
32
32
  "@vue/cli-service": "~5.0.0",
33
+ "babel-plugin-component": "^1.1.1",
33
34
  "eslint": "^7.32.0",
34
35
  "eslint-plugin-vue": "^8.0.3",
35
36
  "node-sass": "4.14.1",
@@ -2,7 +2,7 @@
2
2
  * @Description:
3
3
  * @Author: 王国火
4
4
  * @Date: 2022-09-19 10:17:14
5
- * @LastEditTime: 2022-10-08 10:50:57
5
+ * @LastEditTime: 2022-10-08 13:53:07
6
6
  * @LastEditors: 王国火
7
7
  */
8
8
  // 动态引入
@@ -13,7 +13,4 @@ requireContext.keys().map(key => {
13
13
  const k=key.match(reg)[0]
14
14
  conmmon[k]=requireContext(key).default||requireContext(key)
15
15
  })
16
-
17
- console.log(conmmon)
18
-
19
16
  export default conmmon
@@ -2,7 +2,7 @@
2
2
  * @Description:
3
3
  * @Author: 王国火
4
4
  * @Date: 2022-07-12 17:47:20
5
- * @LastEditTime: 2022-09-19 10:23:41
5
+ * @LastEditTime: 2022-10-08 15:57:54
6
6
  * @LastEditors: 王国火
7
7
  -->
8
8
 
@@ -126,7 +126,7 @@ import FormView from '../form-view/index.vue'
126
126
  * @see {@link https://element.eleme.cn/#/zh-CN/component/installation}
127
127
  */
128
128
  export default {
129
- name: 'BaseView',
129
+ name: 'BytBaseView',
130
130
  props: {
131
131
  /** 搜索行内表单配置*/
132
132
  searchList: {
@@ -2,7 +2,7 @@
2
2
  * @Description:
3
3
  * @Author: 王国火
4
4
  * @Date: 2022-07-13 08:46:34
5
- * @LastEditTime: 2022-09-15 10:08:10
5
+ * @LastEditTime: 2022-10-08 15:58:01
6
6
  * @LastEditors: 王国火
7
7
  -->
8
8
  <!-- -->
@@ -76,7 +76,7 @@ import moment from 'moment'
76
76
  * @displayName FormView
77
77
  */
78
78
  export default {
79
- name: 'FormView',
79
+ name: 'BytFormView',
80
80
  props: {
81
81
  inline: {
82
82
  type: Boolean,
package/packages/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * @Description:
3
3
  * @Author: 王国火
4
4
  * @Date: 2022-09-15 17:02:55
5
- * @LastEditTime: 2022-10-08 10:52:11
5
+ * @LastEditTime: 2022-10-08 16:15:39
6
6
  * @LastEditors: 王国火
7
7
  */
8
8
  import Vue from 'vue'
@@ -23,6 +23,11 @@ Vue.use(ElementUI, {
23
23
  menuType: 'text'
24
24
  })
25
25
 
26
+ const Cmps={}
27
+ components.map(component => {
28
+ Cmps[component.name]=component
29
+ })
30
+
26
31
 
27
32
  // install组件api
28
33
  const install = function (Vue) {
@@ -34,7 +39,9 @@ const install = function (Vue) {
34
39
 
35
40
 
36
41
  export default{
37
- install
42
+ install,
43
+ ...Cmps,
44
+ ...Common
38
45
  }
39
46
 
40
47
  export const store=Common.store