@signalplus/params-about 0.1.0 → 0.1.3
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-CN.md +19 -14
- package/README.md +19 -14
- package/index.d.ts +172 -96
- package/lib/css/Bool.scss +19 -0
- package/lib/css/Expiries.scss +110 -0
- package/lib/css/ExpiriesLimit.scss +80 -0
- package/lib/css/Num.scss +42 -0
- package/lib/css/NumRange.scss +38 -0
- package/lib/css/ParamForm/ParentSelector.scss +20 -0
- package/lib/css/ParamForm/index.scss +56 -0
- package/lib/css/TextArray.scss +52 -0
- package/lib/css/index.css +1 -1
- package/lib/css/index.scss +11 -277
- package/lib/css/var.scss +8 -0
- package/lib/es/index.js +704 -94
- package/lib/umd/index.js +4861 -0
- package/package.json +7 -43
- package/pnpm-lock.yaml +0 -11087
package/lib/css/Num.scss
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@import "./var";
|
|
2
|
+
|
|
3
|
+
.param-number {
|
|
4
|
+
flex: 1;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
height: $input-height;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.param-number {
|
|
11
|
+
|
|
12
|
+
&.readonly {
|
|
13
|
+
|
|
14
|
+
.param-number-suffix {
|
|
15
|
+
padding: 0;
|
|
16
|
+
margin: 0 0 0 1px;
|
|
17
|
+
border: none;
|
|
18
|
+
background: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.param-number-val {
|
|
24
|
+
position: relative;
|
|
25
|
+
z-index: 1;
|
|
26
|
+
margin: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.param-number-suffix {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
position: relative;
|
|
34
|
+
z-index: 0;
|
|
35
|
+
flex: none;
|
|
36
|
+
height: 100%;
|
|
37
|
+
padding: 0 14px;
|
|
38
|
+
margin: 0 0 0 -2px;
|
|
39
|
+
border-radius: 2px;
|
|
40
|
+
border: 1px solid $border-color;
|
|
41
|
+
background: $suffix-bg;
|
|
42
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@import "./var";
|
|
2
|
+
|
|
3
|
+
.param-number-range {
|
|
4
|
+
flex: 1;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
height: $input-height;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.param-number-range {
|
|
11
|
+
|
|
12
|
+
.param-number {
|
|
13
|
+
height: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.readonly {
|
|
17
|
+
|
|
18
|
+
.param-number {
|
|
19
|
+
flex: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//.param-number-range-prefix {
|
|
23
|
+
// display: none;
|
|
24
|
+
//}
|
|
25
|
+
//
|
|
26
|
+
//.param-number-range-sep {
|
|
27
|
+
// display: none;
|
|
28
|
+
//}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.param-number-range-prefix {
|
|
32
|
+
margin: 0 8px 0 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.param-number-range-sep {
|
|
36
|
+
margin: 0 10px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.param-parent-selector {
|
|
2
|
+
|
|
3
|
+
&.readonly {
|
|
4
|
+
|
|
5
|
+
.ant-select-selector {
|
|
6
|
+
padding: 0 !important;
|
|
7
|
+
border-color: transparent !important;
|
|
8
|
+
background: transparent !important;
|
|
9
|
+
cursor: initial !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ant-select-selection-item {
|
|
13
|
+
color: $text-color !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ant-select-arrow {
|
|
17
|
+
display: none !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@import "../var";
|
|
2
|
+
@import "./ParentSelector";
|
|
3
|
+
|
|
4
|
+
.param-form, .param-value-editor {
|
|
5
|
+
|
|
6
|
+
&.param-value-editor {
|
|
7
|
+
|
|
8
|
+
.ant-form-item-label {
|
|
9
|
+
width: 100px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ant-form-item-label {
|
|
14
|
+
width: 80px;
|
|
15
|
+
text-align: left;
|
|
16
|
+
|
|
17
|
+
> label {
|
|
18
|
+
height: $input-height;
|
|
19
|
+
|
|
20
|
+
&:before {
|
|
21
|
+
content: none !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:after {
|
|
25
|
+
content: none !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.ant-form-item-required {
|
|
29
|
+
|
|
30
|
+
&:after {
|
|
31
|
+
display: inline-block;
|
|
32
|
+
margin-left: 4px;
|
|
33
|
+
color: #ff4d4f;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
line-height: 1;
|
|
36
|
+
content: "*" !important;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
input.ant-input.ant-input, .ant-select-selector.ant-select-selector, .ant-cascader.ant-cascader {
|
|
43
|
+
height: $input-height !important;
|
|
44
|
+
|
|
45
|
+
input, .ant-select-selection-placeholder, .ant-select-selection-item {
|
|
46
|
+
height: calc(#{$input-height} - 2px) !important;
|
|
47
|
+
line-height: calc(#{$input-height} - 2px) !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
textarea.ant-input.ant-input {
|
|
52
|
+
height: 100px;
|
|
53
|
+
min-height: $input-height;
|
|
54
|
+
padding: 9px 10px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@import "./var";
|
|
2
|
+
|
|
3
|
+
.param-text-array {
|
|
4
|
+
padding: calc((#{$input-height} - 30px) / 2) 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.param-arr-item {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
height: 30px;
|
|
11
|
+
margin: 0 0 4px;
|
|
12
|
+
|
|
13
|
+
> input {
|
|
14
|
+
flex: none;
|
|
15
|
+
width: 160px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:first-child:last-child {
|
|
19
|
+
|
|
20
|
+
.param-arr-ops-del {
|
|
21
|
+
visibility: hidden;
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.param-arr-ops {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
flex-wrap: nowrap;
|
|
32
|
+
height: 100%;
|
|
33
|
+
padding: 0 10px;
|
|
34
|
+
|
|
35
|
+
.param-arr-ops-add, .param-arr-ops-del {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
width: 30px;
|
|
40
|
+
height: 100%;
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
color: $primary;
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
background: rgba(0, 0, 0, 0.1);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.param-arr-ops-del {
|
|
50
|
+
color: $red;
|
|
51
|
+
}
|
|
52
|
+
}
|
package/lib/css/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.param-
|
|
1
|
+
.param-parent-selector.readonly .ant-select-selector{padding:0 !important;border-color:transparent !important;background:transparent !important;cursor:initial !important}.param-parent-selector.readonly .ant-select-selection-item{color:#333 !important}.param-parent-selector.readonly .ant-select-arrow{display:none !important}.param-form.param-value-editor .ant-form-item-label,.param-value-editor.param-value-editor .ant-form-item-label{width:100px}.param-form .ant-form-item-label,.param-value-editor .ant-form-item-label{width:80px;text-align:left}.param-form .ant-form-item-label>label,.param-value-editor .ant-form-item-label>label{height:40px}.param-form .ant-form-item-label>label:before,.param-value-editor .ant-form-item-label>label:before{content:none !important}.param-form .ant-form-item-label>label:after,.param-value-editor .ant-form-item-label>label:after{content:none !important}.param-form .ant-form-item-label>label.ant-form-item-required:after,.param-value-editor .ant-form-item-label>label.ant-form-item-required:after{display:inline-block;margin-left:4px;color:#ff4d4f;font-size:14px;line-height:1;content:"*" !important}.param-form input.ant-input.ant-input,.param-form .ant-select-selector.ant-select-selector,.param-form .ant-cascader.ant-cascader,.param-value-editor input.ant-input.ant-input,.param-value-editor .ant-select-selector.ant-select-selector,.param-value-editor .ant-cascader.ant-cascader{height:40px !important}.param-form input.ant-input.ant-input input,.param-form input.ant-input.ant-input .ant-select-selection-placeholder,.param-form input.ant-input.ant-input .ant-select-selection-item,.param-form .ant-select-selector.ant-select-selector input,.param-form .ant-select-selector.ant-select-selector .ant-select-selection-placeholder,.param-form .ant-select-selector.ant-select-selector .ant-select-selection-item,.param-form .ant-cascader.ant-cascader input,.param-form .ant-cascader.ant-cascader .ant-select-selection-placeholder,.param-form .ant-cascader.ant-cascader .ant-select-selection-item,.param-value-editor input.ant-input.ant-input input,.param-value-editor input.ant-input.ant-input .ant-select-selection-placeholder,.param-value-editor input.ant-input.ant-input .ant-select-selection-item,.param-value-editor .ant-select-selector.ant-select-selector input,.param-value-editor .ant-select-selector.ant-select-selector .ant-select-selection-placeholder,.param-value-editor .ant-select-selector.ant-select-selector .ant-select-selection-item,.param-value-editor .ant-cascader.ant-cascader input,.param-value-editor .ant-cascader.ant-cascader .ant-select-selection-placeholder,.param-value-editor .ant-cascader.ant-cascader .ant-select-selection-item{height:calc(40px - 2px) !important;line-height:calc(40px - 2px) !important}.param-form textarea.ant-input.ant-input,.param-value-editor textarea.ant-input.ant-input{height:100px;min-height:40px;padding:9px 10px}.param-bool{flex:1;display:flex;align-items:center;height:40px}.param-bool-option{display:inline-flex;align-items:center;margin:0 16px 0 0;cursor:pointer}.param-bool-option>svg{margin:0 5px 0 0}.param-expiries{position:relative;flex:1;max-width:100%;min-width:calc(7em + 24px + 2px);height:40px;padding:0 calc(1em + 14px) 0 10px;line-height:0;border:1px solid #d9d9d9;border-radius:2px;cursor:pointer;background:#fff}.param-expiries.readonly{padding:0;border-color:transparent;overflow:initial;white-space:initial;cursor:default;background:transparent}.param-expiries.multiple{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.param-expiries-arrow{position:absolute;top:50%;right:7px;margin:-0.5em 0 0;color:#d9d9d9 !important}.param-expiries-val{display:inline-block;margin:calc((40px - 20px - 2px) / 2) 6px 0 0;line-height:20px}.param-expiries-placeholder{display:inline-block;margin:calc((40px - 20px - 2px) / 2) 6px 0 0;line-height:20px;color:rgba(0,0,0,0.25);max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.param-expiries-multi-val{display:inline-block;margin:calc((40px - 20px - 2px) / 2) 6px 0 0;padding:0 3px 0 8px;line-height:20px;border-radius:2px;background:rgba(0,0,0,0.1)}.param-expiries-multi-val svg{display:inline-block;margin:0 0 0 4px;color:#999;cursor:pointer}.param-expiries-popover .ant-popover-inner-content{max-height:50vh;overflow-y:auto}.param-expiries-option{display:flex;align-items:center;justify-content:space-between;width:240px;margin:0 -16px;padding:0 16px;line-height:30px;color:rgba(51,51,51,0.6);cursor:pointer}.param-expiries-option.param-expiries-option-checked{font-weight:bold;color:#333}.param-expiries-option.param-expiries-option-disabled{cursor:not-allowed;opacity:0.5}.param-expiries-option:hover{color:#333;background:rgba(0,0,0,0.1)}.param-expiries-option svg{color:#57be6a}.param-expiries-limit{padding:calc((40px - 20px) / 2) 0}.param-expiries-limit .param-number-range{margin:0 0 0 10px}.param-expiries-limit .param-number-range-prefix{display:none}.param-expiries-limit .param-number-suffix{padding:0 7px}.param-expiries-limit-val{display:block}.param-expiries-limit-val:after{content:';'}.param-expiries-limit-val-sep{padding:0 4px;color:#999}.param-expiries-limit-inputs{display:grid;grid-row-gap:10px;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:auto auto auto auto}.param-expiries-limit-inputs .param-expiries,.param-expiries-limit-inputs .param-number-range,.param-expiries-limit-inputs .param-arr-ops{height:30px;margin:0}.param-expiries-limit-inputs .param-expiries.readonly,.param-expiries-limit-inputs .param-number-range.readonly,.param-expiries-limit-inputs .param-arr-ops.readonly{height:20px;line-height:18px}.param-expiries-limit-inputs .param-expiries.readonly .param-expiries-val,.param-expiries-limit-inputs .param-number-range.readonly .param-expiries-val,.param-expiries-limit-inputs .param-arr-ops.readonly .param-expiries-val{margin-top:0}.param-expiries-limit-inputs .param-expiries .param-expiries-placeholder,.param-expiries-limit-inputs .param-expiries .param-expiries-val,.param-expiries-limit-inputs .param-number-range .param-expiries-placeholder,.param-expiries-limit-inputs .param-number-range .param-expiries-val,.param-expiries-limit-inputs .param-arr-ops .param-expiries-placeholder,.param-expiries-limit-inputs .param-arr-ops .param-expiries-val{margin-top:4px}.param-expiries-limit-inputs .param-expiries .param-number-range-sep,.param-expiries-limit-inputs .param-number-range .param-number-range-sep,.param-expiries-limit-inputs .param-arr-ops .param-number-range-sep{margin:0 6px}.param-expiries-limit-inputs .param-arr-ops{padding:0}.param-expiries-popover{padding:0 !important}.param-expiries-popover .ant-popover-arrow{display:none}.param-number{flex:1;display:flex;align-items:center;height:40px}.param-number.readonly .param-number-suffix{padding:0;margin:0 0 0 1px;border:none;background:none}.param-number-val{position:relative;z-index:1;margin:0}.param-number-suffix{display:flex;align-items:center;justify-content:center;position:relative;z-index:0;flex:none;height:100%;padding:0 14px;margin:0 0 0 -2px;border-radius:2px;border:1px solid #d9d9d9;background:#f2f2f2}.param-number-range{flex:1;display:flex;align-items:center;height:40px}.param-number-range .param-number{height:100%}.param-number-range.readonly .param-number{flex:none}.param-number-range .param-number-range-prefix{margin:0 8px 0 0}.param-number-range .param-number-range-sep{margin:0 10px}.param-text-array{padding:calc((40px - 30px) / 2) 0}.param-arr-item{display:flex;align-items:center;height:30px;margin:0 0 4px}.param-arr-item>input{flex:none;width:160px}.param-arr-item:first-child:last-child .param-arr-ops-del{visibility:hidden;pointer-events:none}.param-arr-ops{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;height:100%;padding:0 10px}.param-arr-ops .param-arr-ops-add,.param-arr-ops .param-arr-ops-del{display:flex;align-items:center;justify-content:center;width:30px;height:100%;border-radius:4px;color:#006FA7}.param-arr-ops .param-arr-ops-add:hover,.param-arr-ops .param-arr-ops-del:hover{background:rgba(0,0,0,0.1)}.param-arr-ops .param-arr-ops-del{color:#d51414}.param-renderer{box-sizing:border-box;margin:0;line-height:20px;color:#333}.param-renderer.readonly input,.param-renderer.readonly select,.param-renderer.readonly .select{padding:0;border:none;box-shadow:none}.param-renderer *{box-sizing:border-box}.param-renderer input,.param-renderer select,.param-renderer .select{flex:1;width:50px;height:100%;padding:0 10px;border:1px solid #d9d9d9;border-radius:2px;outline:none;box-shadow:none;background:#fff}.param-renderer input::placeholder,.param-renderer select::placeholder,.param-renderer .select::placeholder{color:rgba(0,0,0,0.25)}.param-renderer input:hover,.param-renderer select:hover,.param-renderer .select:hover{border-color:#006FA7}.param-renderer input:focus,.param-renderer select:focus,.param-renderer .select:focus{border-color:#006FA7;box-shadow:0 0 0 2px rgba(0,111,167,0.1)}
|
package/lib/css/index.scss
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
@import "./var";
|
|
2
|
+
@import "./ParamForm/index";
|
|
3
|
+
@import "./Bool";
|
|
4
|
+
@import "./Expiries";
|
|
5
|
+
@import "./ExpiriesLimit";
|
|
6
|
+
@import "./Num";
|
|
7
|
+
@import "./NumRange";
|
|
8
|
+
@import "./TextArray";
|
|
7
9
|
|
|
8
10
|
.param-renderer {
|
|
9
|
-
margin: 0;
|
|
10
11
|
box-sizing: border-box;
|
|
12
|
+
margin: 0;
|
|
13
|
+
line-height: 20px;
|
|
11
14
|
color: $text-color;
|
|
12
15
|
|
|
13
16
|
&.readonly {
|
|
@@ -15,7 +18,7 @@ $text-color: #333;
|
|
|
15
18
|
input, select, .select {
|
|
16
19
|
padding: 0;
|
|
17
20
|
border: none;
|
|
18
|
-
box-shadow: none
|
|
21
|
+
box-shadow: none;
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
|
|
@@ -48,272 +51,3 @@ $text-color: #333;
|
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
}
|
|
51
|
-
|
|
52
|
-
.param-number, .param-bool, .param-number-range {
|
|
53
|
-
flex: 1;
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
height: 40px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.param-number {
|
|
60
|
-
|
|
61
|
-
&.readonly {
|
|
62
|
-
|
|
63
|
-
.param-number-suffix {
|
|
64
|
-
padding: 0;
|
|
65
|
-
margin: 0 0 0 1px;
|
|
66
|
-
border: none;
|
|
67
|
-
background: none;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.param-number-range {
|
|
73
|
-
|
|
74
|
-
.param-number {
|
|
75
|
-
height: 100%;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&.readonly {
|
|
79
|
-
|
|
80
|
-
.param-number {
|
|
81
|
-
flex: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
//.param-number-range-prefix {
|
|
85
|
-
// display: none;
|
|
86
|
-
//}
|
|
87
|
-
//
|
|
88
|
-
//.param-number-range-sep {
|
|
89
|
-
// display: none;
|
|
90
|
-
//}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.param-number-range-prefix {
|
|
94
|
-
margin: 0 8px 0 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.param-number-range-sep {
|
|
98
|
-
margin: 0 10px;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.param-number-val {
|
|
103
|
-
position: relative;
|
|
104
|
-
z-index: 1;
|
|
105
|
-
margin: 0;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.param-number-suffix {
|
|
109
|
-
display: flex;
|
|
110
|
-
align-items: center;
|
|
111
|
-
justify-content: center;
|
|
112
|
-
position: relative;
|
|
113
|
-
z-index: 0;
|
|
114
|
-
flex: none;
|
|
115
|
-
height: 100%;
|
|
116
|
-
padding: 0 14px;
|
|
117
|
-
margin: 0 0 0 -2px;
|
|
118
|
-
border-radius: 2px;
|
|
119
|
-
border: 1px solid $border-color;
|
|
120
|
-
background: #f2f2f2;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.param-bool-option {
|
|
124
|
-
display: inline-flex;
|
|
125
|
-
align-items: center;
|
|
126
|
-
margin: 0 16px 0 0;
|
|
127
|
-
cursor: pointer;
|
|
128
|
-
|
|
129
|
-
> svg {
|
|
130
|
-
margin: 0 5px 0 0;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.param-arr-item {
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
height: 30px;
|
|
138
|
-
margin: 0 0 4px;
|
|
139
|
-
|
|
140
|
-
> input {
|
|
141
|
-
flex: none;
|
|
142
|
-
width: 160px;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&:first-child:last-child {
|
|
146
|
-
|
|
147
|
-
.param-arr-ops-del {
|
|
148
|
-
visibility: hidden;
|
|
149
|
-
pointer-events: none;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.param-arr-ops {
|
|
155
|
-
display: flex;
|
|
156
|
-
align-items: center;
|
|
157
|
-
justify-content: center;
|
|
158
|
-
flex-wrap: nowrap;
|
|
159
|
-
height: 100%;
|
|
160
|
-
padding: 0 10px;
|
|
161
|
-
|
|
162
|
-
.param-arr-ops-add, .param-arr-ops-del {
|
|
163
|
-
display: flex;
|
|
164
|
-
align-items: center;
|
|
165
|
-
justify-content: center;
|
|
166
|
-
width: 30px;
|
|
167
|
-
height: 100%;
|
|
168
|
-
border-radius: 4px;
|
|
169
|
-
color: $primary;
|
|
170
|
-
|
|
171
|
-
&:hover {
|
|
172
|
-
background: rgba(0, 0, 0, 0.1);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.param-arr-ops-del {
|
|
177
|
-
color: $red;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.param-expiries {
|
|
182
|
-
position: relative;
|
|
183
|
-
flex: 1;
|
|
184
|
-
max-width: 100%;
|
|
185
|
-
min-width: calc(7em + 24px + 2px);
|
|
186
|
-
height: 40px;
|
|
187
|
-
padding: 0 calc(1em + 14px) 0 10px;
|
|
188
|
-
border: 1px solid $border-color;
|
|
189
|
-
border-radius: 2px;
|
|
190
|
-
text-overflow: ellipsis;
|
|
191
|
-
overflow: hidden;
|
|
192
|
-
white-space: nowrap;
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
|
|
195
|
-
&.readonly {
|
|
196
|
-
padding: 0;
|
|
197
|
-
border-color: transparent;
|
|
198
|
-
overflow: initial;
|
|
199
|
-
white-space: initial;
|
|
200
|
-
cursor: default;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.param-expiries-arrow {
|
|
205
|
-
position: absolute;
|
|
206
|
-
top: 50%;
|
|
207
|
-
right: 7px;
|
|
208
|
-
margin: -0.5em 0 0;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.param-expiries-val {
|
|
212
|
-
display: inline-block;
|
|
213
|
-
margin: 9px 6px 0 0;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.param-expiries-placeholder {
|
|
217
|
-
display: inline-block;
|
|
218
|
-
margin: 9px 6px 0 0;
|
|
219
|
-
color: $placeholder-color;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.param-expiries-multi-val {
|
|
223
|
-
display: inline-block;
|
|
224
|
-
margin: 9px 6px 0 0;
|
|
225
|
-
padding: 0 3px;
|
|
226
|
-
line-height: 20px;
|
|
227
|
-
border-radius: 2px;
|
|
228
|
-
background: rgba(0, 0, 0, 0.1);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.param-expiries-popover {
|
|
232
|
-
|
|
233
|
-
.ant-popover-inner-content {
|
|
234
|
-
max-height: 50vh;
|
|
235
|
-
overflow-y: auto;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.param-expiries-option {
|
|
240
|
-
display: flex;
|
|
241
|
-
align-items: center;
|
|
242
|
-
justify-content: space-between;
|
|
243
|
-
width: 240px;
|
|
244
|
-
margin: 0 -16px;
|
|
245
|
-
padding: 0 16px;
|
|
246
|
-
line-height: 30px;
|
|
247
|
-
color: rgba($text-color, 0.6);
|
|
248
|
-
cursor: pointer;
|
|
249
|
-
|
|
250
|
-
&.param-expiries-option-checked {
|
|
251
|
-
font-weight: bold;
|
|
252
|
-
color: $text-color;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
&:hover {
|
|
256
|
-
color: $text-color;
|
|
257
|
-
background: rgba(0, 0, 0, 0.1);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
svg {
|
|
261
|
-
color: #57be6a;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.param-expiries-limit {
|
|
266
|
-
|
|
267
|
-
.param-number-range {
|
|
268
|
-
margin: 0 0 0 10px;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.param-number-range-prefix {
|
|
272
|
-
display: none;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.param-number-suffix {
|
|
276
|
-
padding: 0 7px;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.param-expiries-limit-inputs {
|
|
281
|
-
display: grid;
|
|
282
|
-
grid-row-gap: 10px;
|
|
283
|
-
grid-column-gap: 10px;
|
|
284
|
-
grid-template-rows: auto;
|
|
285
|
-
grid-template-columns: auto auto auto auto;
|
|
286
|
-
|
|
287
|
-
.param-expiries, .param-number-range, .param-arr-ops {
|
|
288
|
-
height: 30px;
|
|
289
|
-
margin: 0;
|
|
290
|
-
|
|
291
|
-
&.readonly {
|
|
292
|
-
height: 20px;
|
|
293
|
-
|
|
294
|
-
.param-expiries-val {
|
|
295
|
-
margin-top: 0;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.param-expiries-placeholder, .param-expiries-val {
|
|
300
|
-
margin-top: 4px;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.param-number-range-sep {
|
|
304
|
-
margin: 0 6px;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.param-arr-ops {
|
|
309
|
-
padding: 0;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.param-arr-ops:nth-child(8):last-child {
|
|
313
|
-
|
|
314
|
-
.param-arr-ops-del {
|
|
315
|
-
visibility: hidden;
|
|
316
|
-
pointer-events: none;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|