@mdsfe/mds-ui 0.2.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/CHANGELOG.md +778 -0
- package/LICENSE +21 -0
- package/README.md +106 -0
- package/dist/_locale/index.js +18 -0
- package/dist/_locale/zh-CN.js +123 -0
- package/dist/_mixin/emitter.js +35 -0
- package/dist/_mixin/focus.js +13 -0
- package/dist/_mixin/locale.js +17 -0
- package/dist/_mixin/popper.js +192 -0
- package/dist/_mixin/tooltip.js +218 -0
- package/dist/_util/__test__/switchcase.test.js +43 -0
- package/dist/_util/autoprefixer.js +249 -0
- package/dist/_util/clickoutside.js +79 -0
- package/dist/_util/date.js +368 -0
- package/dist/_util/dateUtil.js +311 -0
- package/dist/_util/dom.js +240 -0
- package/dist/_util/getRequestAnimationFrame.js +50 -0
- package/dist/_util/getScroll.js +21 -0
- package/dist/_util/loaders/loaders.css.js +52 -0
- package/dist/_util/loaders/loading.js +53 -0
- package/dist/_util/merge.js +18 -0
- package/dist/_util/popper.js +1261 -0
- package/dist/_util/popup/index.js +232 -0
- package/dist/_util/popup/popup-manager.js +205 -0
- package/dist/_util/proptype.js +12 -0
- package/dist/_util/repeatClick.js +30 -0
- package/dist/_util/resize.js +61 -0
- package/dist/_util/resizeEvent.js +59 -0
- package/dist/_util/scrollIntoView.js +38 -0
- package/dist/_util/scrollbar-width.js +37 -0
- package/dist/_util/soda.js +54 -0
- package/dist/_util/switchcase.js +22 -0
- package/dist/_util/throttleByAnimationFrame.js +70 -0
- package/dist/_util/tree/node.js +412 -0
- package/dist/_util/tree/tree.js +410 -0
- package/dist/_util/util.js +166 -0
- package/dist/_util/vue-popper.js +213 -0
- package/dist/affix.js +509 -0
- package/dist/anchor.js +522 -0
- package/dist/avatar.js +437 -0
- package/dist/backtop.js +469 -0
- package/dist/badge.js +439 -0
- package/dist/bordershadow.js +310 -0
- package/dist/breadcrumb.js +434 -0
- package/dist/button.js +579 -0
- package/dist/card.js +514 -0
- package/dist/carousel.js +1326 -0
- package/dist/cascaderpanel.js +2320 -0
- package/dist/checkbox.js +681 -0
- package/dist/col.js +546 -0
- package/dist/collapse.js +671 -0
- package/dist/color.js +306 -0
- package/dist/datepicker.js +8089 -0
- package/dist/divider.js +346 -0
- package/dist/drawer.js +652 -0
- package/dist/dropdown.js +687 -0
- package/dist/empty.js +416 -0
- package/dist/font.js +306 -0
- package/dist/form.js +878 -0
- package/dist/icon.js +401 -0
- package/dist/index.js +1 -0
- package/dist/input.js +1251 -0
- package/dist/inputnumber.js +689 -0
- package/dist/layout.js +786 -0
- package/dist/list.js +789 -0
- package/dist/loading.js +430 -0
- package/dist/mds-ui.min.css +7 -0
- package/dist/mds-ui.min.js +64911 -0
- package/dist/menu.js +1131 -0
- package/dist/message.js +1016 -0
- package/dist/modal.js +895 -0
- package/dist/notification.js +818 -0
- package/dist/pagination.js +1213 -0
- package/dist/popconfirm.js +336 -0
- package/dist/popover.js +206 -0
- package/dist/progress.js +1023 -0
- package/dist/radio.js +760 -0
- package/dist/rate.js +765 -0
- package/dist/row.js +546 -0
- package/dist/select.js +4950 -0
- package/dist/slider.js +1411 -0
- package/dist/slottable.js +1414 -0
- package/dist/steps.js +546 -0
- package/dist/style/affix.css +5524 -0
- package/dist/style/anchor.css +5572 -0
- package/dist/style/avatar.css +5587 -0
- package/dist/style/backtop.css +34 -0
- package/dist/style/badge.css +5655 -0
- package/dist/style/bordershadow.css +5601 -0
- package/dist/style/breadcrumb.css +5551 -0
- package/dist/style/button.css +7679 -0
- package/dist/style/card.css +5670 -0
- package/dist/style/carousel.css +5731 -0
- package/dist/style/cascaderpanel.css +125 -0
- package/dist/style/checkbox.css +5700 -0
- package/dist/style/col.css +8121 -0
- package/dist/style/collapse.css +5593 -0
- package/dist/style/color.css +6136 -0
- package/dist/style/datepicker.css +5977 -0
- package/dist/style/divider.css +5558 -0
- package/dist/style/drawer.css +7979 -0
- package/dist/style/dropdown.css +7950 -0
- package/dist/style/empty.css +5563 -0
- package/dist/style/font.css +5559 -0
- package/dist/style/form.css +5662 -0
- package/dist/style/icon.css +5538 -0
- package/dist/style/input.css +6256 -0
- package/dist/style/inputnumber.css +5828 -0
- package/dist/style/layout.css +5572 -0
- package/dist/style/list.css +5655 -0
- package/dist/style/loading.css +5540 -0
- package/dist/style/menu.css +6183 -0
- package/dist/style/message.css +194 -0
- package/dist/style/modal.css +5637 -0
- package/dist/style/notification.css +5706 -0
- package/dist/style/pagination.css +6683 -0
- package/dist/style/popconfirm.css +7951 -0
- package/dist/style/popover.css +5727 -0
- package/dist/style/progress.css +5714 -0
- package/dist/style/radio.css +5769 -0
- package/dist/style/rate.css +5616 -0
- package/dist/style/row.css +8121 -0
- package/dist/style/select.css +5729 -0
- package/dist/style/slider.css +5594 -0
- package/dist/style/slottable.css +5831 -0
- package/dist/style/steps.css +6100 -0
- package/dist/style/switch.css +5624 -0
- package/dist/style/table.css +8392 -0
- package/dist/style/tabs.css +6047 -0
- package/dist/style/tag.css +5935 -0
- package/dist/style/text.css +5636 -0
- package/dist/style/timeline.css +5602 -0
- package/dist/style/timepicker.css +5904 -0
- package/dist/style/tooltip.css +5686 -0
- package/dist/style/transfer.css +101 -0
- package/dist/style/transition.css +1417 -0
- package/dist/style/tree.css +5598 -0
- package/dist/style/typography.css +5640 -0
- package/dist/style/upload.css +5834 -0
- package/dist/switch.js +448 -0
- package/dist/table.js +3809 -0
- package/dist/tabs.js +1273 -0
- package/dist/tag.js +478 -0
- package/dist/text.js +1100 -0
- package/dist/timeline.js +495 -0
- package/dist/timepicker.js +1567 -0
- package/dist/tooltip.js +179 -0
- package/dist/transfer.js +981 -0
- package/dist/transition.js +246 -0
- package/dist/tree.js +1866 -0
- package/dist/typography.js +469 -0
- package/dist/upload.js +1990 -0
- package/package.json +144 -0
package/package.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mdsfe/mds-ui",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "A set of enterprise-class Vue UI components.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "cross-env NODE_ENV=development webpack-dev-server --config ./build/webpack.dev.config.js --open --hot",
|
|
8
|
+
"site": "cross-env NODE_ENV=development webpack-dev-server --config ./build/webpack.site.config.js --open --hot",
|
|
9
|
+
"test": "jest ./components/",
|
|
10
|
+
"test:cov": "jest ./components/ --coverage",
|
|
11
|
+
"lint": "eslint components",
|
|
12
|
+
"clean": "rimraf dist",
|
|
13
|
+
"clean:site": "rimraf site/dist site/components site/docs site/router.js",
|
|
14
|
+
"create:site": "node scripts/generate.js -a",
|
|
15
|
+
"create:router": "node scripts/generate.js -r",
|
|
16
|
+
"build:site": "npm run clean:site && npm run create:site && npm run create:router && webpack --config ./build/webpack.dist.site.config.js",
|
|
17
|
+
"build:dev": "webpack --config ./build/webpack.dist.dev.config.js",
|
|
18
|
+
"build:utils": "cross-env BABEL_ENV=utils babel components/_util --out-dir dist/_util",
|
|
19
|
+
"build:mixin": "cross-env BABEL_ENV=utils babel components/_mixin --out-dir dist/_mixin",
|
|
20
|
+
"build:locale": "cross-env BABEL_ENV=utils babel components/_locale --out-dir dist/_locale",
|
|
21
|
+
"build:component": "webpack --config ./build/webpack.dist.component.config.js",
|
|
22
|
+
"build:c": "webpack --config ./build/webpack.dist.static.config.js",
|
|
23
|
+
"build": "npm run clean && webpack --config ./build/webpack.dist.prod.config.js",
|
|
24
|
+
"dist": "npm run build && npm run build:c && npm run build:component && npm run build:locale && npm run build:mixin && npm run build:utils",
|
|
25
|
+
"analyz": "NODE_ENV=production npm_config_report=true npm run dev",
|
|
26
|
+
"commit": "npx git-cz",
|
|
27
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "http://igit.58corp.com/matrix/mds-ui/"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "http://igit.58corp.com/matrix/mds-ui/issues"
|
|
38
|
+
},
|
|
39
|
+
"keywords": [
|
|
40
|
+
"vue",
|
|
41
|
+
"matrix",
|
|
42
|
+
"matrix-magic",
|
|
43
|
+
"mds",
|
|
44
|
+
"mds-ui",
|
|
45
|
+
"mds-tools"
|
|
46
|
+
],
|
|
47
|
+
"author": "pilot-fe",
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@babel/core": "^7.7.2",
|
|
51
|
+
"@vue/test-utils": "^1.0.0-beta.29",
|
|
52
|
+
"autoprefixer": "^7.1.3",
|
|
53
|
+
"babel-cli": "^6.26.0",
|
|
54
|
+
"babel-core": "^6.26.0",
|
|
55
|
+
"babel-eslint": "^8.2.6",
|
|
56
|
+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
57
|
+
"babel-jest": "^21.0.2",
|
|
58
|
+
"babel-loader": "^7.1.5",
|
|
59
|
+
"babel-plugin-dynamic-import-node": "^2.3.0",
|
|
60
|
+
"babel-plugin-module-resolver": "^3.2.0",
|
|
61
|
+
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
62
|
+
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
63
|
+
"babel-plugin-transform-runtime": "^6.23.0",
|
|
64
|
+
"babel-plugin-transform-vue-jsx": "^3.3.0",
|
|
65
|
+
"babel-preset-env": "^1.6.1",
|
|
66
|
+
"babel-preset-stage-2": "^6.24.1",
|
|
67
|
+
"babel-register": "^6.26.0",
|
|
68
|
+
"chalk": "^2.4.2",
|
|
69
|
+
"commitizen": "^4.2.3",
|
|
70
|
+
"copy-webpack-plugin": "^5.0.5",
|
|
71
|
+
"cross-env": "^5.2.1",
|
|
72
|
+
"css-loader": "^0.28.7",
|
|
73
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
74
|
+
"cz-conventional-emoji": "^1.0.2",
|
|
75
|
+
"eslint": "^4.6.1",
|
|
76
|
+
"eslint-config-standard": "^10.2.1",
|
|
77
|
+
"eslint-friendly-formatter": "^3.0.0",
|
|
78
|
+
"eslint-loader": "^2.1.2",
|
|
79
|
+
"eslint-plugin-html": "^3.2.1",
|
|
80
|
+
"eslint-plugin-import": "^2.16.0",
|
|
81
|
+
"eslint-plugin-node": "^5.1.1",
|
|
82
|
+
"eslint-plugin-promise": "^3.5.0",
|
|
83
|
+
"eslint-plugin-standard": "^3.0.1",
|
|
84
|
+
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
85
|
+
"file-loader": "^3.0.1",
|
|
86
|
+
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
87
|
+
"happypack": "^5.0.1",
|
|
88
|
+
"highlight.js": "^9.15.6",
|
|
89
|
+
"html-webpack-plugin": "^3.2.0",
|
|
90
|
+
"jest": "^21.2.1",
|
|
91
|
+
"jest-vue-preprocessor": "^1.5.0",
|
|
92
|
+
"json-templater": "^1.2.0",
|
|
93
|
+
"less": "^2.7.2",
|
|
94
|
+
"less-loader": "^4.1.0",
|
|
95
|
+
"lottie-web": "^5.5.7",
|
|
96
|
+
"marked": "^0.3.9",
|
|
97
|
+
"npm-check-updates": "^3.0.8",
|
|
98
|
+
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
99
|
+
"rimraf": "^3.0.0",
|
|
100
|
+
"single-line-log": "^1.1.2",
|
|
101
|
+
"style-loader": "^0.18.2",
|
|
102
|
+
"typescript": "^3.7.2",
|
|
103
|
+
"uppercamelcase": "^3.0.0",
|
|
104
|
+
"url-loader": "^0.5.9",
|
|
105
|
+
"vue-clipboard2": "^0.3.0",
|
|
106
|
+
"vue-jest": "^3.0.5",
|
|
107
|
+
"vue-loader": "^15.7.0",
|
|
108
|
+
"vue-lottie": "^0.2.1",
|
|
109
|
+
"vue-router": "^2.7.0",
|
|
110
|
+
"vue-server-renderer": "2.6.8",
|
|
111
|
+
"vue-style-loader": "^3.0.1",
|
|
112
|
+
"vue-template-compiler": "2.6.8",
|
|
113
|
+
"webpack": "^4.29.6",
|
|
114
|
+
"webpack-bundle-analyzer": "^3.1.0",
|
|
115
|
+
"webpack-cli": "^3.2.3",
|
|
116
|
+
"webpack-dev-server": "^3.2.1",
|
|
117
|
+
"webpack-manifest-plugin": "^2.2.0",
|
|
118
|
+
"webpack-merge": "^4.2.1",
|
|
119
|
+
"webpack-node-externals": "^1.7.2",
|
|
120
|
+
"webpack-parallel-uglify-plugin": "^1.1.0",
|
|
121
|
+
"webpack-progress-ora-plugin": "1.2.1"
|
|
122
|
+
},
|
|
123
|
+
"browserslist": [
|
|
124
|
+
"> 1%",
|
|
125
|
+
"last 2 versions",
|
|
126
|
+
"not ie <= 8"
|
|
127
|
+
],
|
|
128
|
+
"dependencies": {
|
|
129
|
+
"async-validator": "^4.0.2",
|
|
130
|
+
"axios": "^0.19.2",
|
|
131
|
+
"babel-runtime": "6.x",
|
|
132
|
+
"lodash.debounce": "^4.0.8",
|
|
133
|
+
"moment": "^2.24.0",
|
|
134
|
+
"popper.js": "^1.14.7",
|
|
135
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
136
|
+
"throttle-debounce": "^2.1.0",
|
|
137
|
+
"vue": "2.6.8"
|
|
138
|
+
},
|
|
139
|
+
"config": {
|
|
140
|
+
"commitizen": {
|
|
141
|
+
"path": "./node_modules/cz-conventional-emoji"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|