gyyg-components 0.1.13 → 0.1.14
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/README.md +24 -24
- package/babel.config.js +12 -12
- package/jsconfig.json +19 -19
- package/lib/demo.html +8 -8
- package/lib/gyyg-components.common.js +2044 -2044
- package/lib/gyyg-components.umd.js +2054 -2054
- package/lib/gyyg-components.umd.min.js +2054 -2054
- package/package.json +50 -50
- package/public/index.html +17 -17
- package/src/App.vue +46 -46
- package/src/components/GyygModal/GyygModal.vue +333 -332
- package/src/components/GyygTable/GyygTable.vue +82 -82
- package/src/main.js +17 -17
- package/vue.config.js +24 -24
package/package.json
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "gyyg-components",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"main": "lib/gyyg-components.umd.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"serve": "vue-cli-service serve",
|
|
8
|
-
"start": "vue-cli-service build --target lib --name gyyg-components --dest lib src/index.js --watch",
|
|
9
|
-
"build": "vue-cli-service build --target lib --name gyyg-components --dest lib src/index.js",
|
|
10
|
-
"lint": "vue-cli-service lint"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"babel-plugin-component": "^1.1.1",
|
|
14
|
-
"core-js": "^3.6.5",
|
|
15
|
-
"element-resize-detector": "^1.2.4",
|
|
16
|
-
"element-ui": "2.15.6",
|
|
17
|
-
"vue": "^2.6.11"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@vue/cli-plugin-babel": "~4.5.15",
|
|
21
|
-
"@vue/cli-plugin-eslint": "~4.5.15",
|
|
22
|
-
"@vue/cli-service": "~4.5.15",
|
|
23
|
-
"babel-eslint": "^10.1.0",
|
|
24
|
-
"eslint": "^6.7.2",
|
|
25
|
-
"eslint-plugin-vue": "^6.2.2",
|
|
26
|
-
"less": "^4.2.1",
|
|
27
|
-
"less-loader": "^7.3.0",
|
|
28
|
-
"svg-sprite-loader": "^4.1.3",
|
|
29
|
-
"vue-template-compiler": "^2.6.11"
|
|
30
|
-
},
|
|
31
|
-
"eslintConfig": {
|
|
32
|
-
"root": true,
|
|
33
|
-
"env": {
|
|
34
|
-
"node": true
|
|
35
|
-
},
|
|
36
|
-
"extends": [
|
|
37
|
-
"plugin:vue/essential",
|
|
38
|
-
"eslint:recommended"
|
|
39
|
-
],
|
|
40
|
-
"parserOptions": {
|
|
41
|
-
"parser": "babel-eslint"
|
|
42
|
-
},
|
|
43
|
-
"rules": {}
|
|
44
|
-
},
|
|
45
|
-
"browserslist": [
|
|
46
|
-
"> 1%",
|
|
47
|
-
"last 2 versions",
|
|
48
|
-
"not dead"
|
|
49
|
-
]
|
|
50
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "gyyg-components",
|
|
3
|
+
"version": "0.1.14",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "lib/gyyg-components.umd.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"serve": "vue-cli-service serve",
|
|
8
|
+
"start": "vue-cli-service build --target lib --name gyyg-components --dest lib src/index.js --watch",
|
|
9
|
+
"build": "vue-cli-service build --target lib --name gyyg-components --dest lib src/index.js",
|
|
10
|
+
"lint": "vue-cli-service lint"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"babel-plugin-component": "^1.1.1",
|
|
14
|
+
"core-js": "^3.6.5",
|
|
15
|
+
"element-resize-detector": "^1.2.4",
|
|
16
|
+
"element-ui": "2.15.6",
|
|
17
|
+
"vue": "^2.6.11"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@vue/cli-plugin-babel": "~4.5.15",
|
|
21
|
+
"@vue/cli-plugin-eslint": "~4.5.15",
|
|
22
|
+
"@vue/cli-service": "~4.5.15",
|
|
23
|
+
"babel-eslint": "^10.1.0",
|
|
24
|
+
"eslint": "^6.7.2",
|
|
25
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
26
|
+
"less": "^4.2.1",
|
|
27
|
+
"less-loader": "^7.3.0",
|
|
28
|
+
"svg-sprite-loader": "^4.1.3",
|
|
29
|
+
"vue-template-compiler": "^2.6.11"
|
|
30
|
+
},
|
|
31
|
+
"eslintConfig": {
|
|
32
|
+
"root": true,
|
|
33
|
+
"env": {
|
|
34
|
+
"node": true
|
|
35
|
+
},
|
|
36
|
+
"extends": [
|
|
37
|
+
"plugin:vue/essential",
|
|
38
|
+
"eslint:recommended"
|
|
39
|
+
],
|
|
40
|
+
"parserOptions": {
|
|
41
|
+
"parser": "babel-eslint"
|
|
42
|
+
},
|
|
43
|
+
"rules": {}
|
|
44
|
+
},
|
|
45
|
+
"browserslist": [
|
|
46
|
+
"> 1%",
|
|
47
|
+
"last 2 versions",
|
|
48
|
+
"not dead"
|
|
49
|
+
]
|
|
50
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
-
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<noscript>
|
|
12
|
-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
13
|
-
</noscript>
|
|
14
|
-
<div id="app"></div>
|
|
15
|
-
<!-- built files will be auto injected -->
|
|
16
|
-
</body>
|
|
17
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
+
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<noscript>
|
|
12
|
+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
13
|
+
</noscript>
|
|
14
|
+
<div id="app"></div>
|
|
15
|
+
<!-- built files will be auto injected -->
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
package/src/App.vue
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<!-- <gyyg-layout>
|
|
4
|
-
<template slot="table">
|
|
5
|
-
<gyyg-table :data='data' @selection-change="change" >
|
|
6
|
-
<template slot='content'>
|
|
7
|
-
<el-table-column type="selection" width="55"> </el-table-column>
|
|
8
|
-
<el-table-column prop='a'></el-table-column>
|
|
9
|
-
</template>
|
|
10
|
-
</gyyg-table>
|
|
11
|
-
</template>
|
|
12
|
-
</gyyg-layout> -->
|
|
13
|
-
</div>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<script>
|
|
17
|
-
export default {
|
|
18
|
-
name: 'App',
|
|
19
|
-
data(){
|
|
20
|
-
return{
|
|
21
|
-
// text:'',
|
|
22
|
-
// data:[
|
|
23
|
-
// {
|
|
24
|
-
// a:'1322'
|
|
25
|
-
// }
|
|
26
|
-
// ]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
methods:{
|
|
30
|
-
change(val){
|
|
31
|
-
console.log(val)
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
</script>
|
|
36
|
-
|
|
37
|
-
<style>
|
|
38
|
-
#app {
|
|
39
|
-
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
40
|
-
-webkit-font-smoothing: antialiased;
|
|
41
|
-
-moz-osx-font-smoothing: grayscale;
|
|
42
|
-
text-align: center;
|
|
43
|
-
color: #2c3e50;
|
|
44
|
-
margin-top: 60px;
|
|
45
|
-
}
|
|
46
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="app">
|
|
3
|
+
<!-- <gyyg-layout>
|
|
4
|
+
<template slot="table">
|
|
5
|
+
<gyyg-table :data='data' @selection-change="change" >
|
|
6
|
+
<template slot='content'>
|
|
7
|
+
<el-table-column type="selection" width="55"> </el-table-column>
|
|
8
|
+
<el-table-column prop='a'></el-table-column>
|
|
9
|
+
</template>
|
|
10
|
+
</gyyg-table>
|
|
11
|
+
</template>
|
|
12
|
+
</gyyg-layout> -->
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
export default {
|
|
18
|
+
name: 'App',
|
|
19
|
+
data(){
|
|
20
|
+
return{
|
|
21
|
+
// text:'',
|
|
22
|
+
// data:[
|
|
23
|
+
// {
|
|
24
|
+
// a:'1322'
|
|
25
|
+
// }
|
|
26
|
+
// ]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
methods:{
|
|
30
|
+
change(val){
|
|
31
|
+
console.log(val)
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
<style>
|
|
38
|
+
#app {
|
|
39
|
+
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
40
|
+
-webkit-font-smoothing: antialiased;
|
|
41
|
+
-moz-osx-font-smoothing: grayscale;
|
|
42
|
+
text-align: center;
|
|
43
|
+
color: #2c3e50;
|
|
44
|
+
margin-top: 60px;
|
|
45
|
+
}
|
|
46
|
+
</style>
|