cy-element-ui 1.1.12 → 1.1.13

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.
@@ -0,0 +1,76 @@
1
+ @import "./base.scss";
2
+
3
+ .cy-select-display-input {
4
+ display: flex;
5
+ position: relative;
6
+
7
+ & > .el-button {
8
+ flex-shrink: 0;
9
+ margin-left: 10px;
10
+ height: 36px;
11
+ padding: 9px 15px;
12
+ }
13
+ }
14
+
15
+ .select_display_input_box {
16
+ width: 100%;
17
+ height: 36px;
18
+ color: #888888;
19
+ background-color: #F5F7FA;
20
+ border: 1px solid #DCDFE6;
21
+ border-radius: 4px;
22
+ padding: 0 15px;
23
+ position: relative;
24
+ overflow: hidden;
25
+ display: flex;
26
+ align-items: center;
27
+
28
+ &.text_active {
29
+ color: #1890ff;
30
+ }
31
+
32
+ &.cursor {
33
+ cursor: pointer;
34
+ }
35
+
36
+ .text {
37
+ width: 100%;
38
+ line-height: 34px;
39
+ overflow: auto;
40
+
41
+ &::-webkit-scrollbar {
42
+ display: none;
43
+ }
44
+
45
+ span {
46
+ white-space: nowrap;
47
+ }
48
+ }
49
+
50
+ &.cursor .text:hover {
51
+ cursor: pointer;
52
+ }
53
+
54
+ .placeholder {
55
+ color: rgba(192, 196, 204, 0.5);
56
+ text-shadow: 0 0 1px #c0c4cc;
57
+ position: absolute;
58
+ top: 50%;
59
+ left: 15px;
60
+ transform: translateY(-50%);
61
+ }
62
+
63
+ .delete {
64
+ color: #ff4949;
65
+ position: absolute;
66
+ top: 50%;
67
+ right: 5px;
68
+ transform: translateY(-50%);
69
+ cursor: pointer;
70
+ z-index: 10;
71
+
72
+ &:hover {
73
+ color: rgba(255, 73, 73, 0.5);
74
+ }
75
+ }
76
+ }
@@ -85,4 +85,5 @@
85
85
  @import "./descriptions.scss";
86
86
  @import "./descriptions-item.scss";
87
87
  @import "./result.scss";
88
+ @import "./selectDisplayInput.scss";
88
89
  @import "./cy/index.scss";
package/src/index.js CHANGED
@@ -91,7 +91,8 @@ import DescriptionsItem from '../packages/descriptions-item/index.js';
91
91
  import Result from '../packages/result/index.js';
92
92
  import TreeSelect from '../packages/treeSelect/index.js';
93
93
  import TabDialog from '../packages/tabDialog/index.js';
94
- import SubTitle from '../packages/subTitle/index.js';
94
+ import SubTitle from '../packages/subTitle/index.js';
95
+ import SelectDisplayInput from '../packages/selectDisplayInput/index.js';
95
96
  import locale from 'element-ui/src/locale';
96
97
  import CollapseTransition from 'element-ui/src/transitions/collapse-transition';
97
98
  import dragDirective from '../packages/tabDialog/src/dialog/drag';
@@ -184,7 +185,8 @@ const components = [
184
185
  Result,
185
186
  TreeSelect,
186
187
  TabDialog,
187
- SubTitle,
188
+ SubTitle,
189
+ SelectDisplayInput,
188
190
  CollapseTransition
189
191
  ];
190
192
 
@@ -223,7 +225,7 @@ if (typeof window !== 'undefined' && window.Vue) {
223
225
  }
224
226
 
225
227
  export default {
226
- version: '1.1.11',
228
+ version: '1.1.12',
227
229
  locale: locale.use,
228
230
  i18n: locale.i18n,
229
231
  install,
@@ -319,5 +321,6 @@ export default {
319
321
  Result,
320
322
  TreeSelect,
321
323
  TabDialog,
322
- SubTitle
324
+ SubTitle,
325
+ SelectDisplayInput
323
326
  };