@lx-frontend/wrap-element-ui 0.4.0-beta.3 → 0.4.1

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,52 +1,52 @@
1
- .audit-steps {
2
- width: 612px;
3
-
4
- .el-step__head {
5
- display: none;
6
- }
7
-
8
- &__step-item {
9
- min-height: 43px;
10
- max-height: 43px;
11
- margin-bottom: 35px;
12
-
13
- .el-select {
14
- width: 400px;
15
- }
16
-
17
- .el-icon-delete {
18
- margin-left: 10px;
19
- font-size: 16px;
20
- cursor: pointer;
21
- }
22
- }
23
-
24
- &__step-order {
25
- cursor: default;
26
- margin-right: 8px;
27
- position: relative;
28
- display: inline-block;
29
- text-align: center;
30
- width: 20px;
31
- height: 20px;
32
- border-radius: 50%;
33
- border: 1px solid #aaa;
34
- background: #aaa;
35
- color: #fff;
36
-
37
- &:not(.first):before{
38
- position: absolute;
39
- content: '';
40
- display: block;
41
- width: 1px;
42
- height: 60px;
43
- background: #aaa;
44
- top: -60px;
45
- left: 50%;
46
- }
47
- }
48
-
49
- &__add {
50
- margin-top: -10px;
51
- }
52
- }
1
+ .audit-steps {
2
+ width: 612px;
3
+
4
+ .el-step__head {
5
+ display: none;
6
+ }
7
+
8
+ &__step-item {
9
+ min-height: 43px;
10
+ max-height: 43px;
11
+ margin-bottom: 35px;
12
+
13
+ .el-select {
14
+ width: 400px;
15
+ }
16
+
17
+ .el-icon-delete {
18
+ margin-left: 10px;
19
+ font-size: 16px;
20
+ cursor: pointer;
21
+ }
22
+ }
23
+
24
+ &__step-order {
25
+ cursor: default;
26
+ margin-right: 8px;
27
+ position: relative;
28
+ display: inline-block;
29
+ text-align: center;
30
+ width: 20px;
31
+ height: 20px;
32
+ border-radius: 50%;
33
+ border: 1px solid #aaa;
34
+ background: #aaa;
35
+ color: #fff;
36
+
37
+ &:not(.first):before{
38
+ position: absolute;
39
+ content: '';
40
+ display: block;
41
+ width: 1px;
42
+ height: 60px;
43
+ background: #aaa;
44
+ top: -60px;
45
+ left: 50%;
46
+ }
47
+ }
48
+
49
+ &__add {
50
+ margin-top: -10px;
51
+ }
52
+ }
@@ -1,9 +1,9 @@
1
- $--test: 30px;
2
-
3
- .demo-component {
4
-
5
- &__input {
6
- width: $--test;
7
- border-color: red;
8
- }
9
- }
1
+ $--test: 30px;
2
+
3
+ .demo-component {
4
+
5
+ &__input {
6
+ width: $--test;
7
+ border-color: red;
8
+ }
9
+ }
@@ -1,11 +1,11 @@
1
- @import "button.css";
2
- @import "row.css";
3
- @import "col.css";
4
- @import "icon.css";
5
- @import "tag.css";
6
- @import "transiton.css";
7
- @import "show-more.css";
8
- @import "limit-textarea.css";
9
- @import "alert.css";
10
- @import "loading-bar.css";
11
- @import "skeleton.css";
1
+ @import "button.css";
2
+ @import "row.css";
3
+ @import "col.css";
4
+ @import "icon.css";
5
+ @import "tag.css";
6
+ @import "transiton.css";
7
+ @import "show-more.css";
8
+ @import "limit-textarea.css";
9
+ @import "alert.css";
10
+ @import "loading-bar.css";
11
+ @import "skeleton.css";
@@ -1,2 +1,2 @@
1
- @import "./DemoComponent.scss";
2
- @import "./AuditSteps.scss";
1
+ @import "./DemoComponent.scss";
2
+ @import "./AuditSteps.scss";
package/plugins/wrap.js CHANGED
@@ -1,22 +1,22 @@
1
- import Vue from 'vue'
2
-
3
- export default {
4
- install: function (Vue, options) {
5
- /* 数字转千分位(支持添加前缀,如"$") */
6
- Vue.filter('toThousands', (num = 0, prefix = '¥') => {
7
- num = num.toString()
8
- let result = ''
9
- while (num.length > 3) {
10
- result = ',' + num.slice(-3) + result
11
- num = num.slice(0, num.length - 3)
12
- }
13
- if (num) { result = num + result; }
14
- return prefix + result
15
- })
16
-
17
- Vue.filter('fenToYuan', (val) => {
18
- return val ? (val / 100).toFixed(2) : '--'
19
- })
20
- }
21
- }
22
-
1
+ import Vue from 'vue'
2
+
3
+ export default {
4
+ install: function (Vue, options) {
5
+ /* 数字转千分位(支持添加前缀,如"$") */
6
+ Vue.filter('toThousands', (num = 0, prefix = '¥') => {
7
+ num = num.toString()
8
+ let result = ''
9
+ while (num.length > 3) {
10
+ result = ',' + num.slice(-3) + result
11
+ num = num.slice(0, num.length - 3)
12
+ }
13
+ if (num) { result = num + result; }
14
+ return prefix + result
15
+ })
16
+
17
+ Vue.filter('fenToYuan', (val) => {
18
+ return val ? (val / 100).toFixed(2) : '--'
19
+ })
20
+ }
21
+ }
22
+
package/postcss.config.js CHANGED
@@ -1,5 +1,5 @@
1
- module.exports = {
2
- plugins: {
3
- autoprefixer: {}
4
- }
5
- }
1
+ module.exports = {
2
+ plugins: {
3
+ autoprefixer: {}
4
+ }
5
+ }
package/tsconfig.json CHANGED
@@ -1,41 +1,41 @@
1
- {
2
- "compilerOptions": {
3
- "target": "esnext",
4
- "module": "esnext",
5
- "strict": true,
6
- "jsx": "preserve",
7
- "importHelpers": true,
8
- "moduleResolution": "node",
9
- "esModuleInterop": true,
10
- "allowSyntheticDefaultImports": true,
11
- "allowJs": true,
12
- "sourceMap": true,
13
- "baseUrl": ".",
14
- "types": [
15
- "webpack-env",
16
- "jest"
17
- ],
18
- "paths": {
19
- "@/*": [
20
- "src/*"
21
- ]
22
- },
23
- "lib": [
24
- "esnext",
25
- "dom",
26
- "dom.iterable",
27
- "scripthost"
28
- ]
29
- },
30
- "include": [
31
- "src/**/*.ts",
32
- "src/**/*.js",
33
- "src/**/*.tsx",
34
- "src/**/*.vue",
35
- "tests/**/*.ts",
36
- "tests/**/*.tsx"
37
- ],
38
- "exclude": [
39
- "node_modules"
40
- ]
41
- }
1
+ {
2
+ "compilerOptions": {
3
+ "target": "esnext",
4
+ "module": "esnext",
5
+ "strict": true,
6
+ "jsx": "preserve",
7
+ "importHelpers": true,
8
+ "moduleResolution": "node",
9
+ "esModuleInterop": true,
10
+ "allowSyntheticDefaultImports": true,
11
+ "allowJs": true,
12
+ "sourceMap": true,
13
+ "baseUrl": ".",
14
+ "types": [
15
+ "webpack-env",
16
+ "jest"
17
+ ],
18
+ "paths": {
19
+ "@/*": [
20
+ "src/*"
21
+ ]
22
+ },
23
+ "lib": [
24
+ "esnext",
25
+ "dom",
26
+ "dom.iterable",
27
+ "scripthost"
28
+ ]
29
+ },
30
+ "include": [
31
+ "src/**/*.ts",
32
+ "src/**/*.js",
33
+ "src/**/*.tsx",
34
+ "src/**/*.vue",
35
+ "tests/**/*.ts",
36
+ "tests/**/*.tsx"
37
+ ],
38
+ "exclude": [
39
+ "node_modules"
40
+ ]
41
+ }