@tripup-company/element-ui-extended 0.0.48 → 0.0.51
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/dist/element-ui-extended.common.js +310 -11
- package/dist/element-ui-extended.common.js.map +1 -1
- package/dist/element-ui-extended.umd.js +310 -11
- package/dist/element-ui-extended.umd.js.map +1 -1
- package/dist/element-ui-extended.umd.min.js +2 -2
- package/dist/element-ui-extended.umd.min.js.map +1 -1
- package/dist/src/components/GenericFilters/filter-factory.d.ts +4 -0
- package/dist/src/components/GenericFilters/filter-factory.d.ts.map +1 -1
- package/dist/src/components/GenericFilters/filters/in-array.d.ts +7 -0
- package/dist/src/components/GenericFilters/filters/in-array.d.ts.map +1 -0
- package/dist/src/components/GenericFilters/filters/in-filter.d.ts.map +1 -1
- package/dist/src/components/GenericFilters/filters/in-object.d.ts +7 -0
- package/dist/src/components/GenericFilters/filters/in-object.d.ts.map +1 -0
- package/package.json +2 -3
- package/src/components/GenericFilters/FilterRow.vue +6 -1
- package/src/styles/editable-field-component.scss +0 -74
- package/src/styles/index.scss +0 -218
- package/src/styles/spacing.scss +0 -39
|
@@ -11,6 +11,8 @@ import { ContainsMultipleFileldsFilter } from "./filters/contains-multiple-filel
|
|
|
11
11
|
import { IsNotNullFilter } from "./filters/is-not-null-filter";
|
|
12
12
|
import { BetweenFilter } from "./filters/between-filter";
|
|
13
13
|
import { InFilter } from "./filters/in-filter";
|
|
14
|
+
import { InObject } from "./filters/in-object";
|
|
15
|
+
import { InArray } from "./filters/in-array";
|
|
14
16
|
import { WeekDayFilter } from "./filters/week-day-filter";
|
|
15
17
|
import { YoungerWeekFilter } from "./filters/younger-week-filter";
|
|
16
18
|
import { GroupByFilter } from "./filters/group-by-filter";
|
|
@@ -30,6 +32,8 @@ export default class FilterFactory {
|
|
|
30
32
|
weekDay: (field: string, value: string) => WeekDayFilter;
|
|
31
33
|
younger_weeks: (field: string, value: string) => YoungerWeekFilter;
|
|
32
34
|
group_by_fields: (field: string, value: string) => GroupByFilter;
|
|
35
|
+
in_object: (field: string, value: string) => InObject;
|
|
36
|
+
in_array: (field: string, value: string) => InArray;
|
|
33
37
|
};
|
|
34
38
|
createFilter(field: any, condition: Condition): BaseFilter;
|
|
35
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-factory.d.ts","sourceRoot":"","sources":["../../../../src/components/GenericFilters/filter-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,MAAM,CAAC,OAAO,OAAO,aAAa;WAClB,oBAAoB;uBAEf,GAAG,SAAS,GAAG;2BACX,GAAG,SAAS,GAAG;0BAChB,GAAG,SAAS,GAAG;8BACX,GAAG,SAAS,GAAG;yBAEpB,GAAG,SAAS,GAAG;6BACX,GAAG,SAAS,GAAG;4BAEhB,GAAG,SAAS,GAAG;0BACjB,GAAG,SAAS,GAAG;6BACZ,GAAG,SAAS,GAAG;yBAEnB,MAAM,SAAS,MAAM;oBAE3B,MAAM,SAAQ,MAAM;yBACf,MAAM,SAAQ,MAAM;+BACd,MAAM,SAAQ,MAAM;iCAClB,MAAM,SAAQ,MAAM;;
|
|
1
|
+
{"version":3,"file":"filter-factory.d.ts","sourceRoot":"","sources":["../../../../src/components/GenericFilters/filter-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,MAAM,CAAC,OAAO,OAAO,aAAa;WAClB,oBAAoB;uBAEf,GAAG,SAAS,GAAG;2BACX,GAAG,SAAS,GAAG;0BAChB,GAAG,SAAS,GAAG;8BACX,GAAG,SAAS,GAAG;yBAEpB,GAAG,SAAS,GAAG;6BACX,GAAG,SAAS,GAAG;4BAEhB,GAAG,SAAS,GAAG;0BACjB,GAAG,SAAS,GAAG;6BACZ,GAAG,SAAS,GAAG;yBAEnB,MAAM,SAAS,MAAM;oBAE3B,MAAM,SAAQ,MAAM;yBACf,MAAM,SAAQ,MAAM;+BACd,MAAM,SAAQ,MAAM;iCAClB,MAAM,SAAQ,MAAM;2BAC1B,MAAM,SAAQ,MAAM;0BACrB,MAAM,SAAQ,MAAM;;IAGlC,YAAY,CAAC,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,GAAG,UAAU;CAQlE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseFilter } from "./base-filter";
|
|
2
|
+
import { FilterResponse } from "./interfaces/filter-response";
|
|
3
|
+
export declare class InArray extends BaseFilter {
|
|
4
|
+
protected operator: string;
|
|
5
|
+
applyFilter(): FilterResponse;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=in-array.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"in-array.d.ts","sourceRoot":"","sources":["../../../../../src/components/GenericFilters/filters/in-array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAE5D,qBAAa,OAAQ,SAAQ,UAAU;IACrC,SAAS,CAAC,QAAQ,SAAc;IACzB,WAAW,IAAI,cAAc;CAMrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"in-filter.d.ts","sourceRoot":"","sources":["../../../../../src/components/GenericFilters/filters/in-filter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"in-filter.d.ts","sourceRoot":"","sources":["../../../../../src/components/GenericFilters/filters/in-filter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAE5D,qBAAa,QAAS,SAAQ,UAAU;IACtC,SAAS,CAAC,QAAQ,SAAQ;IACnB,WAAW,IAAI,cAAc;CAMrC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseFilter } from "./base-filter";
|
|
2
|
+
import { FilterResponse } from "./interfaces/filter-response";
|
|
3
|
+
export declare class InObject extends BaseFilter {
|
|
4
|
+
protected operator: string;
|
|
5
|
+
applyFilter(): FilterResponse;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=in-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"in-object.d.ts","sourceRoot":"","sources":["../../../../../src/components/GenericFilters/filters/in-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,cAAc,EAAC,MAAM,8BAA8B,CAAC;AAE5D,qBAAa,QAAS,SAAQ,UAAU;IACtC,SAAS,CAAC,QAAQ,SAAe;IAC1B,WAAW,IAAI,cAAc;CAMrC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tripup-company/element-ui-extended",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"main": "./dist/element-ui-extended.umd.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -58,8 +58,7 @@
|
|
|
58
58
|
"src/lang/*",
|
|
59
59
|
"src/types/*",
|
|
60
60
|
"src/filters.js",
|
|
61
|
-
"src/filters-top.js"
|
|
62
|
-
"src/styles/*"
|
|
61
|
+
"src/filters-top.js"
|
|
63
62
|
],
|
|
64
63
|
"typings": "./dist/src/index.d.ts",
|
|
65
64
|
"description": "## Project setup ``` npm install ```",
|
|
@@ -66,6 +66,8 @@
|
|
|
66
66
|
</el-row>
|
|
67
67
|
</template>
|
|
68
68
|
<script>
|
|
69
|
+
import { upperFirst } from 'lodash'
|
|
70
|
+
|
|
69
71
|
export default {
|
|
70
72
|
props: {
|
|
71
73
|
column: {
|
|
@@ -114,6 +116,7 @@ export default {
|
|
|
114
116
|
disabledInputOperations: ["is_null", "is_not_null"],
|
|
115
117
|
enumOperators: [{ value: "equal", label: "is" }],
|
|
116
118
|
enumOperatorsMultiple: [{ value: "in", label: "in" }],
|
|
119
|
+
enumOperatorsInObject: [{ value: "in_object", label: "in_object" }],
|
|
117
120
|
dateOperators: [{ value: "between", label: "between" }],
|
|
118
121
|
boolOperators: [{ value: "equal", label: "is" }],
|
|
119
122
|
};
|
|
@@ -126,7 +129,9 @@ export default {
|
|
|
126
129
|
operators = this.stringOperators;
|
|
127
130
|
break;
|
|
128
131
|
case ("enum", "select"):
|
|
129
|
-
if (this.column.
|
|
132
|
+
if (this.column.operator) {
|
|
133
|
+
operators = [{ value: this.column.operator, label: upperFirst(this.column.operator.replace('_', ' ')) }];
|
|
134
|
+
} else if (this.column.selectMultiple) {
|
|
130
135
|
operators = this.enumOperatorsMultiple;
|
|
131
136
|
} else {
|
|
132
137
|
operators = this.enumOperators;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
.editable-cell {
|
|
2
|
-
.el-input {
|
|
3
|
-
&__suffix {
|
|
4
|
-
right: 63px;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
&__input {
|
|
8
|
-
float: left;
|
|
9
|
-
margin-right: 5px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&__actions {
|
|
13
|
-
position: absolute;
|
|
14
|
-
z-index: 1000;
|
|
15
|
-
width: 60px;
|
|
16
|
-
right: 0;
|
|
17
|
-
top: 4px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__editor {
|
|
21
|
-
.el-checkbox {
|
|
22
|
-
margin-left: 16px;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
&__text {
|
|
26
|
-
overflow: auto;
|
|
27
|
-
border: 1px solid transparent;
|
|
28
|
-
-webkit-appearance: none;
|
|
29
|
-
background-color: #FFFFFF;
|
|
30
|
-
color: #606266;
|
|
31
|
-
display: inline-block;
|
|
32
|
-
font-size: inherit;
|
|
33
|
-
max-height: 102px;
|
|
34
|
-
line-height: 34px;
|
|
35
|
-
outline: none;
|
|
36
|
-
padding: 0 15px;
|
|
37
|
-
width: 100%;
|
|
38
|
-
|
|
39
|
-
.edit-icon {
|
|
40
|
-
visibility: hidden;
|
|
41
|
-
margin: 3px 3px 3px 0;
|
|
42
|
-
position: absolute;
|
|
43
|
-
right: 0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&__slot {
|
|
47
|
-
height: 34px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
&:hover {
|
|
53
|
-
background-color: #f5f7fa;
|
|
54
|
-
background-image: none;
|
|
55
|
-
border-radius: 4px;
|
|
56
|
-
border: 1px solid #DCDFE6;
|
|
57
|
-
box-sizing: border-box;
|
|
58
|
-
|
|
59
|
-
.edit-icon {
|
|
60
|
-
visibility: visible;
|
|
61
|
-
margin: 3px 3px 3px 0;
|
|
62
|
-
position: absolute;
|
|
63
|
-
right: 0;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
.editable-cell.new-field {
|
|
69
|
-
.el-input {
|
|
70
|
-
&__suffix {
|
|
71
|
-
right: 3px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
package/src/styles/index.scss
DELETED
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
@import 'element-ui';
|
|
2
|
-
@import 'spacing';
|
|
3
|
-
@import 'editable-field-component';
|
|
4
|
-
|
|
5
|
-
body {
|
|
6
|
-
height: 100%;
|
|
7
|
-
-moz-osx-font-smoothing: grayscale;
|
|
8
|
-
-webkit-font-smoothing: antialiased;
|
|
9
|
-
text-rendering: optimizeLegibility;
|
|
10
|
-
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
label {
|
|
14
|
-
font-weight: 700;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html {
|
|
18
|
-
height: 100%;
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
#app {
|
|
23
|
-
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
*,
|
|
27
|
-
*:before,
|
|
28
|
-
*:after {
|
|
29
|
-
box-sizing: inherit;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.no-padding {
|
|
33
|
-
padding: 0px !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.padding-content {
|
|
37
|
-
padding: 4px 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
a:focus,
|
|
41
|
-
a:active {
|
|
42
|
-
outline: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
a,
|
|
46
|
-
a:focus,
|
|
47
|
-
a:hover {
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
color: inherit;
|
|
50
|
-
text-decoration: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
div:focus {
|
|
54
|
-
outline: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.fr {
|
|
58
|
-
float: right;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.fl {
|
|
62
|
-
float: left;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.pr-5 {
|
|
66
|
-
padding-right: 5px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.pl-5 {
|
|
70
|
-
padding-left: 5px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.block {
|
|
74
|
-
display: block;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.pointer {
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.inlineBlock {
|
|
82
|
-
display: block;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.clearfix {
|
|
86
|
-
&:after {
|
|
87
|
-
visibility: hidden;
|
|
88
|
-
display: block;
|
|
89
|
-
font-size: 0;
|
|
90
|
-
content: " ";
|
|
91
|
-
clear: both;
|
|
92
|
-
height: 0;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
code {
|
|
97
|
-
background: #eef1f6;
|
|
98
|
-
padding: 15px 16px;
|
|
99
|
-
margin-bottom: 20px;
|
|
100
|
-
display: block;
|
|
101
|
-
line-height: 36px;
|
|
102
|
-
font-size: 15px;
|
|
103
|
-
font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
|
|
104
|
-
|
|
105
|
-
a {
|
|
106
|
-
color: #337ab7;
|
|
107
|
-
cursor: pointer;
|
|
108
|
-
|
|
109
|
-
&:hover {
|
|
110
|
-
color: rgb(32, 160, 255);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.warn-content {
|
|
116
|
-
background: rgba(66, 185, 131, .1);
|
|
117
|
-
border-radius: 2px;
|
|
118
|
-
padding: 1rem;
|
|
119
|
-
line-height: 1.6rem;
|
|
120
|
-
word-spacing: .05rem;
|
|
121
|
-
|
|
122
|
-
a {
|
|
123
|
-
color: #42b983;
|
|
124
|
-
font-weight: 600;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
@media (min-width: $sm){
|
|
128
|
-
.app-container {
|
|
129
|
-
padding: 20px;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.components-container {
|
|
134
|
-
margin: 30px 50px;
|
|
135
|
-
position: relative;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.pagination-container {
|
|
139
|
-
margin-top: 30px;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.text-center {
|
|
143
|
-
text-align: center
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.sub-navbar {
|
|
147
|
-
height: 50px;
|
|
148
|
-
line-height: 50px;
|
|
149
|
-
position: relative;
|
|
150
|
-
width: 100%;
|
|
151
|
-
text-align: right;
|
|
152
|
-
padding-right: 20px;
|
|
153
|
-
transition: 600ms ease position;
|
|
154
|
-
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
|
|
155
|
-
|
|
156
|
-
.subtitle {
|
|
157
|
-
font-size: 20px;
|
|
158
|
-
color: #fff;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&.draft {
|
|
162
|
-
background: #d0d0d0;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.deleted {
|
|
166
|
-
background: #d0d0d0;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.link-type,
|
|
171
|
-
.link-type:focus {
|
|
172
|
-
color: #337ab7;
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
|
|
175
|
-
&:hover {
|
|
176
|
-
color: rgb(32, 160, 255);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.filter-container {
|
|
181
|
-
padding-bottom: 10px;
|
|
182
|
-
|
|
183
|
-
.filter-item {
|
|
184
|
-
display: inline-block;
|
|
185
|
-
vertical-align: middle;
|
|
186
|
-
margin-bottom: 10px;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
//refine vue-multiselect plugin
|
|
191
|
-
.multiselect {
|
|
192
|
-
line-height: 16px;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.multiselect--active {
|
|
196
|
-
z-index: 1000 !important;
|
|
197
|
-
}
|
|
198
|
-
.el-date-transparent {
|
|
199
|
-
margin-left: -15px;
|
|
200
|
-
input {
|
|
201
|
-
border: none !important;
|
|
202
|
-
background: transparent !important;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
#app .hideSidebar .nav-icon {
|
|
207
|
-
margin-left: 20px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.form-item-min-margin {
|
|
211
|
-
/*.el-form-item {
|
|
212
|
-
margin-bottom: 0px;
|
|
213
|
-
}*/
|
|
214
|
-
.el-textarea__inner {
|
|
215
|
-
line-height: 36px;
|
|
216
|
-
margin-bottom: 10px;
|
|
217
|
-
}
|
|
218
|
-
}
|
package/src/styles/spacing.scss
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects.
|
|
3
|
-
It will generate several classes such as:
|
|
4
|
-
.m-r-10 which gives margin-right 10 pixels.
|
|
5
|
-
.m-r-15 gives MARGIN to the RIGHT 15 pixels.
|
|
6
|
-
.m-t-15 gives MARGIN to the TOP 15 pixels and so on.
|
|
7
|
-
.p-b-5 gives PADDING to the BOTTOM of 5 pixels
|
|
8
|
-
.p-l-40 gives PADDING to the LEFT of 40 pixels
|
|
9
|
-
The first letter is "m" or "p" for MARGIN or PADDING
|
|
10
|
-
Second letter is "t", "b", "l", or "r" for TOP, BOTTOM, LEFT, or RIGHT
|
|
11
|
-
Third letter is the number of spacing in pixels. Adjust the amounts generated by editing the $spaceamounts variable below.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
$spaceamounts: (5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 75, 100); // Adjust this to include the pixel amounts you need.
|
|
15
|
-
$sides: (top, bottom, left, right); // Leave this variable alone
|
|
16
|
-
|
|
17
|
-
@each $space in $spaceamounts {
|
|
18
|
-
@each $side in $sides {
|
|
19
|
-
.m-#{str-slice($side, 0, 1)}-#{$space} {
|
|
20
|
-
margin-#{$side}: #{$space}px !important;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.p-#{str-slice($side, 0, 1)}-#{$space} {
|
|
24
|
-
padding-#{$side}: #{$space}px !important;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.m-w-1200 {
|
|
30
|
-
max-width: 1200px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.w-300 {
|
|
34
|
-
width: 300px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.w-100 {
|
|
38
|
-
width: 100% !important;
|
|
39
|
-
}
|