@panpanzhao/component-ui 1.24.1119 → 1.24.1218

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.
@@ -1 +1 @@
1
- .upload-process .file-desc span{padding-left:5px}.upload-process .file-desc span b{padding:0 2px}.upload-process .file-list{list-style:none;margin:0;padding:0}.upload-process .file-list__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-transition:all .5s cubic-bezier(.55,0,.1,1);transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#606266;line-height:1.8;margin-top:10px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;width:100%;padding:2px}.upload-process .file-list__item-name{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#606266;display:block;margin-right:5px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;-webkit-transition:color .3s;transition:color .3s;white-space:nowrap}.upload-process .file-list__item-state{white-space:nowrap}.upload-process .file-list__item-tool{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:18px;background-color:rgba(0,0,0,.3);-webkit-transition:opacity .3s;transition:opacity .3s;border-radius:4px;padding:5px 2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.upload-process .file-list__item-tool:hover{opacity:1}
1
+ .upload-process.upload-process__readonly .el-upload{display:none}.upload-process .file-desc span{padding-left:5px}.upload-process .file-desc span b{padding:0 2px}.upload-process .file-list{list-style:none;margin:0;padding:0}.upload-process .file-list__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-transition:all .5s cubic-bezier(.55,0,.1,1);transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#606266;line-height:1.8;margin-top:10px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;width:100%;padding:2px}.upload-process .file-list__item-name{-webkit-box-flex:1;-ms-flex:1;flex:1;color:#606266;display:block;margin-right:5px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;-webkit-transition:color .3s;transition:color .3s;white-space:nowrap}.upload-process .file-list__item-state{white-space:nowrap}.upload-process .file-list__item-tool{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:18px;background-color:rgba(0,0,0,.3);-webkit-transition:opacity .3s;transition:opacity .3s;border-radius:4px;padding:5px 2px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.upload-process .file-list__item-tool:hover{opacity:1}
package/package.json CHANGED
@@ -1,71 +1,74 @@
1
- {
2
- "name": "@panpanzhao/component-ui",
3
- "version": "1.24.1119",
4
- "description": "A Component Library for Vue.js.",
5
- "main": "src/index.js",
6
- "unpkg": "lib/index.js",
7
- "style": "lib/styles/component-ui.css",
8
- "files": [
9
- "lib"
10
- ],
11
- "scripts": {
12
- "demo:dev": "npm run -C demos demo:dev",
13
- "build:component": "webpack --config build/webpack.component.js",
14
- "build:theme": "gulp build --gulpfile build/gulpfile.js",
15
- "build:utils": "cross-env BABEL_ENV=utils babel src/utils --out-dir lib/utils --ignore src/index.js",
16
- "build:common": "npm run build:component && webpack --config build/webpack.common.js",
17
- "build:index": "webpack --config build/webpack.conf.js",
18
- "dist": "npm run clean && npm run build:common && npm run build:index && npm run build:utils && npm run build:theme",
19
- "clean": "rimraf lib",
20
- "test": "echo \"Error: no test specified\" && exit 1"
21
- },
22
- "publishConfig": {
23
- "access": "public",
24
- "registry": "https://registry.npmjs.org"
25
- },
26
- "repository": {
27
- "type": "git",
28
- "url": "git@gitlab.wabestway.com:front/design/component-ui.git"
29
- },
30
- "author": "ppzhao",
31
- "license": "ISC",
32
- "peerDependencies": {
33
- "element-ui": "^2.15.14",
34
- "vue": "^2.6.14"
35
- },
36
- "devDependencies": {
37
- "@babel/cli": "^7.21.0",
38
- "@babel/core": "^7.21.0",
39
- "@babel/preset-env": "^7.18.10",
40
- "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
41
- "@vue/babel-preset-jsx": "^1.2.4",
42
- "babel-loader": "^8.2.5",
43
- "babel-plugin-module-resolver": "^5.0.0",
44
- "cross-env": "^7.0.3",
45
- "css-loader": "^2.1.0",
46
- "file-loader": "^1.1.11",
47
- "gulp": "^4.0.2",
48
- "gulp-autoprefixer": "^8.0.0",
49
- "gulp-cssmin": "^0.2.0",
50
- "gulp-sass": "^5.1.0",
51
- "node-sass": "^7.0.1",
52
- "progress-bar-webpack-plugin": "^1.11.0",
53
- "rimraf": "^5.0.5",
54
- "style-loader": "^0.23.1",
55
- "vue": "^2.6.14",
56
- "vue-loader": "^15.7.0",
57
- "vue-template-compiler": "^2.6.14",
58
- "webpack": "^4.14.0",
59
- "webpack-cli": "^3.0.8",
60
- "webpack-dev-server": "^3.1.11",
61
- "webpack-node-externals": "^1.7.2"
62
- },
63
- "dependencies": {
64
- "@panpanzhao/component-ui": "file:",
65
- "async-validator": "^4.2.5",
66
- "codemirror": "^5.63.0",
67
- "dayjs": "^1.11.7",
68
- "element-ui": "^2.15.14",
69
- "lodash": "^4.17.21"
70
- }
1
+ {
2
+ "name": "@panpanzhao/component-ui",
3
+ "version": "1.24.1218",
4
+ "description": "A Component Library for Vue.js.",
5
+ "main": "lib/component-ui.common.js",
6
+ "unpkg": "lib/index.js",
7
+ "style": "lib/styles/component-ui.css",
8
+ "files": [
9
+ "lib"
10
+ ],
11
+ "scripts": {
12
+ "demo:dev": "npm run -C demos demo:dev",
13
+ "build:component": "webpack --config build/webpack.component.js",
14
+ "build:theme": "gulp build --gulpfile build/gulpfile.js",
15
+ "build:utils": "cross-env BABEL_ENV=utils babel src/utils --out-dir lib/utils --ignore src/index.js",
16
+ "build:common": "npm run build:component && webpack --config build/webpack.common.js",
17
+ "build:index": "webpack --config build/webpack.conf.js",
18
+ "dist": "npm run clean && npm run build:common && npm run build:index && npm run build:utils && npm run build:theme",
19
+ "clean": "rimraf lib",
20
+ "test": "echo \"Error: no test specified\" && exit 1"
21
+ },
22
+ "publishConfig": {
23
+ "access": "public",
24
+ "registry": "https://registry.npmjs.org"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git@gitlab.wabestway.com:front/design/component-ui.git"
29
+ },
30
+ "author": "ppzhao",
31
+ "license": "ISC",
32
+ "peerDependencies": {
33
+ "element-ui": "^2.15.14",
34
+ "vue": "^2.6.14"
35
+ },
36
+ "devDependencies": {
37
+ "@babel/cli": "^7.21.0",
38
+ "@babel/core": "^7.21.0",
39
+ "@babel/preset-env": "^7.18.10",
40
+ "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
41
+ "@vue/babel-preset-jsx": "^1.2.4",
42
+ "babel-loader": "^8.2.5",
43
+ "babel-plugin-module-resolver": "^5.0.0",
44
+ "cross-env": "^7.0.3",
45
+ "css-loader": "^2.1.0",
46
+ "file-loader": "^1.1.11",
47
+ "gulp": "^4.0.2",
48
+ "gulp-autoprefixer": "^8.0.0",
49
+ "gulp-cssmin": "^0.2.0",
50
+ "gulp-sass": "^5.1.0",
51
+ "node-sass": "^7.0.1",
52
+ "progress-bar-webpack-plugin": "^1.11.0",
53
+ "rimraf": "^5.0.5",
54
+ "style-loader": "^0.23.1",
55
+ "vue": "^2.6.14",
56
+ "vue-loader": "^15.7.0",
57
+ "vue-template-compiler": "^2.6.14",
58
+ "webpack": "^4.14.0",
59
+ "webpack-cli": "^3.0.8",
60
+ "webpack-dev-server": "^3.1.11",
61
+ "webpack-node-externals": "^1.7.2",
62
+ "worker-loader": "^3.0.8",
63
+ "worker-plugin": "^5.0.1"
64
+ },
65
+ "dependencies": {
66
+ "@panpanzhao/component-ui": "file:",
67
+ "async-validator": "^4.2.5",
68
+ "codemirror": "^5.63.0",
69
+ "dayjs": "^1.11.7",
70
+ "element-ui": "^2.15.14",
71
+ "js-md5": "^0.8.3",
72
+ "lodash": "^4.17.21"
73
+ }
71
74
  }
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
- };