cy-element-ui 1.0.37 → 1.0.38

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/lib/table.js CHANGED
@@ -661,7 +661,7 @@ module.exports = require("normalize-wheel");
661
661
  // ESM COMPAT FLAG
662
662
  __webpack_require__.r(__webpack_exports__);
663
663
 
664
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=template&id=7ff3aca9
664
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=template&id=6740eba6
665
665
  var render = function () {
666
666
  var _vm = this
667
667
  var _h = _vm.$createElement
@@ -1105,7 +1105,7 @@ var staticRenderFns = []
1105
1105
  render._withStripped = true
1106
1106
 
1107
1107
 
1108
- // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=template&id=7ff3aca9
1108
+ // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=template&id=6740eba6
1109
1109
 
1110
1110
  // EXTERNAL MODULE: external "element-ui/lib/checkbox"
1111
1111
  var checkbox_ = __webpack_require__(15);
@@ -4517,7 +4517,10 @@ var tableIdSeed = 1;
4517
4517
  default: ''
4518
4518
  },
4519
4519
 
4520
- maxHeight: [String, Number],
4520
+ maxHeight: {
4521
+ type: [String, Number],
4522
+ default: ''
4523
+ },
4521
4524
 
4522
4525
  fit: {
4523
4526
  type: Boolean,
File without changes
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.el-input-number[data-unit]{--el-input-number-unit-offset-x:35px;position:relative}.el-input-number[data-unit]::after{content:attr(data-unit);height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;right:0;color:#909399;padding:0 20px;border:1px solid #DCDFE6;background-color:#F5F7FA;border-top-right-radius:4px;border-bottom-right-radius:4px}.el-input-number[data-unit] .el-input__inner,.el-input-number[data-unit].is-disabled .el-input__inner{padding-right:65px!important}.el-input-number[data-unit].el-input-number--small::after{padding:0 15px}.el-input-number[data-unit].el-input-number--small .el-input__inner,.el-input-number[data-unit].el-input-number--small.is-disabled .el-input__inner{padding-right:55px!important}.el-checkbox__input.is-disabled+span.el-checkbox__label,.el-input.is-disabled .el-input__inner,.el-radio__input.is-disabled+span.el-radio__label,.el-range-editor.is-disabled input,.el-textarea.is-disabled .el-textarea__inner{color:#888}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after,.el-radio__input.is-disabled.is-checked .el-radio__inner::after{border-color:#888}
@@ -0,0 +1 @@
1
+ .cy-file-upload-btn-box{display:-webkit-box;display:-ms-flexbox;display:flex}.cy-file-upload-uploader{margin-bottom:5px}.cy-file-upload-list .el-upload-list__item{border:1px solid #e4e7ed;line-height:2;margin-bottom:10px;position:relative}.cy-file-upload-list .ele-upload-list__item-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:inherit}.ele-upload-list__item-content-action .el-link{margin-right:10px}.link_icon ::v-deep .el-icon-document{margin-left:10px}
@@ -0,0 +1,264 @@
1
+ @charset "UTF-8";
2
+ .el-input-number[data-unit] {
3
+ --el-input-number-unit-offset-x: 35px;
4
+ position: relative
5
+ }
6
+
7
+ .el-input-number[data-unit]::after {
8
+ content: attr(data-unit);
9
+ height: 100%;
10
+ display: -webkit-box;
11
+ display: -ms-flexbox;
12
+ display: flex;
13
+ -webkit-box-align: center;
14
+ -ms-flex-align: center;
15
+ align-items: center;
16
+ position: absolute;
17
+ top: 0;
18
+ right: 0;
19
+ color: #909399;
20
+ padding: 0 20px;
21
+ border: 1px solid #DCDFE6;
22
+ background-color: #F5F7FA;
23
+ border-top-right-radius: 4px;
24
+ border-bottom-right-radius: 4px
25
+ }
26
+
27
+ .el-input-number[data-unit] .el-input__inner, .el-input-number[data-unit].is-disabled .el-input__inner {
28
+ padding-right: 65px !important
29
+ }
30
+
31
+ .el-input-number[data-unit].el-input-number--small::after {
32
+ padding: 0 15px
33
+ }
34
+
35
+ .el-input-number[data-unit].el-input-number--small .el-input__inner, .el-input-number[data-unit].el-input-number--small.is-disabled .el-input__inner {
36
+ padding-right: 55px !important
37
+ }
38
+
39
+ .el-checkbox__input.is-disabled + span.el-checkbox__label, .el-input.is-disabled .el-input__inner, .el-radio__input.is-disabled + span.el-radio__label, .el-range-editor.is-disabled input, .el-textarea.is-disabled .el-textarea__inner {
40
+ color: #888
41
+ }
42
+
43
+ .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after, .el-radio__input.is-disabled.is-checked .el-radio__inner::after {
44
+ border-color: #888
45
+ }
46
+
47
+ .cy-file-upload-btn-box {
48
+ display: -webkit-box;
49
+ display: -ms-flexbox;
50
+ display: flex
51
+ }
52
+
53
+ .cy-file-upload-uploader {
54
+ margin-bottom: 5px
55
+ }
56
+
57
+ .cy-file-upload-list .el-upload-list__item {
58
+ border: 1px solid #e4e7ed;
59
+ line-height: 2;
60
+ margin-bottom: 10px;
61
+ position: relative
62
+ }
63
+
64
+ .cy-file-upload-list .ele-upload-list__item-content {
65
+ display: -webkit-box;
66
+ display: -ms-flexbox;
67
+ display: flex;
68
+ -webkit-box-pack: justify;
69
+ -ms-flex-pack: justify;
70
+ justify-content: space-between;
71
+ -webkit-box-align: center;
72
+ -ms-flex-align: center;
73
+ align-items: center;
74
+ color: inherit
75
+ }
76
+
77
+ .ele-upload-list__item-content-action .el-link {
78
+ margin-right: 10px
79
+ }
80
+
81
+ .link_icon ::v-deep .el-icon-document {
82
+ margin-left: 10px
83
+ }
84
+
85
+ .cy-sub-title {
86
+ width: 100%;
87
+ font-size: 17px;
88
+ border-left: 5px solid #1890ff;
89
+ text-indent: 10px;
90
+ margin-bottom: 15px;
91
+ font-weight: 700;
92
+ color: #303133;
93
+ display: -webkit-box;
94
+ display: -ms-flexbox;
95
+ display: flex;
96
+ -webkit-box-pack: justify;
97
+ -ms-flex-pack: justify;
98
+ justify-content: space-between;
99
+ -webkit-box-align: center;
100
+ -ms-flex-align: center;
101
+ align-items: center
102
+ }
103
+
104
+ .cy-sub-title .left {
105
+ width: 100%;
106
+ overflow: hidden;
107
+ text-overflow: ellipsis;
108
+ white-space: nowrap
109
+ }
110
+
111
+ .cy-sub-title .right {
112
+ -ms-flex-negative: 0;
113
+ flex-shrink: 0;
114
+ margin-left: 20px
115
+ }
116
+
117
+ .cy-tab-dialog {
118
+ line-height: 0
119
+ }
120
+
121
+ .cy-tab-dialog-modal {
122
+ position: absolute;
123
+ top: 0;
124
+ bottom: 0;
125
+ left: 0;
126
+ right: 0;
127
+ opacity: .5;
128
+ background: #000
129
+ }
130
+
131
+ .cy-tab-dialog .el-dialog__wrapper {
132
+ position: absolute !important;
133
+ line-height: 18px
134
+ }
135
+
136
+ .cy-tab-dialog .el-dialog__wrapper .el-dialog {
137
+ -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .4);
138
+ box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .4);
139
+ display: -webkit-box;
140
+ display: -ms-flexbox;
141
+ display: flex;
142
+ -webkit-box-orient: vertical;
143
+ -webkit-box-direction: normal;
144
+ -ms-flex-direction: column;
145
+ flex-direction: column
146
+ }
147
+
148
+ .cy-tab-dialog .el-dialog__wrapper .el-dialog .el-dialog__header {
149
+ -ms-flex-negative: 0;
150
+ flex-shrink: 0
151
+ }
152
+
153
+ .cy-tab-dialog .el-dialog__wrapper .el-dialog .el-dialog__body {
154
+ height: 100%
155
+ }
156
+
157
+ .cy-tab-dialog.cy-tab-dialog-fullscreen .el-dialog__wrapper {
158
+ position: fixed !important
159
+ }
160
+
161
+ .cy-tab-dialog.cy-tab-dialog-fullscreen .el-dialog__wrapper .el-dialog {
162
+ left: 0 !important;
163
+ top: 0
164
+ }
165
+
166
+ .cy-tree-select .el-popover__reference-wrapper {
167
+ display: -webkit-box;
168
+ display: -ms-flexbox;
169
+ display: flex
170
+ }
171
+
172
+ .cy-tree-select-select {
173
+ width: 217px;
174
+ height: 36px;
175
+ line-height: 36px;
176
+ border: 1px solid #DCDFE6;
177
+ border-radius: 4px;
178
+ padding: 0 29px 0 15px;
179
+ cursor: pointer;
180
+ overflow: hidden;
181
+ position: relative;
182
+ -webkit-transition: all .3s;
183
+ transition: all .3s
184
+ }
185
+
186
+ .cy-tree-select-select .cy-tree-select-select-v {
187
+ width: 100%;
188
+ color: #606266;
189
+ font-size: 14px;
190
+ white-space: nowrap;
191
+ overflow: auto
192
+ }
193
+
194
+ .cy-tree-select-select .cy-tree-select-select-v-placeholder {
195
+ color: #c0c4cc
196
+ }
197
+
198
+ .cy-tree-select-select .cy-tree-select-select-v-icon {
199
+ color: #C0C4CC;
200
+ position: absolute;
201
+ top: 0;
202
+ right: 9px
203
+ }
204
+
205
+ .cy-tree-select-select .cy-tree-select-select-v-icon .cy-tree-select-select-v-arrow {
206
+ -webkit-transform: rotateZ(0);
207
+ transform: rotateZ(0);
208
+ -webkit-transition: all .3s;
209
+ transition: all .3s
210
+ }
211
+
212
+ .cy-tree-select-select .cy-tree-select-select-v-icon .cy-tree-select-select-v-arrow-show {
213
+ -webkit-transform: rotateZ(-180deg);
214
+ transform: rotateZ(-180deg)
215
+ }
216
+
217
+ .cy-tree-select-select.small {
218
+ height: 32px;
219
+ line-height: 32px
220
+ }
221
+
222
+ .cy-tree-select-select.small .cy-tree-select-select-v {
223
+ font-size: 13px
224
+ }
225
+
226
+ .cy-tree-select-select.mini {
227
+ height: 28px;
228
+ line-height: 28px
229
+ }
230
+
231
+ .cy-tree-select-select.mini .cy-tree-select-select-v {
232
+ font-size: 12px
233
+ }
234
+
235
+ .cy-tree-select-select:hover {
236
+ border-color: #C0C4CC
237
+ }
238
+
239
+ .cy-tree-select-select-con-t {
240
+ padding-bottom: 5px;
241
+ margin-bottom: 5px;
242
+ border-bottom: 1px solid #DCDFE6
243
+ }
244
+
245
+ .cy-tree-select-select-con-c {
246
+ max-height: 300px;
247
+ overflow: auto
248
+ }
249
+
250
+ .el-form-item--medium .el-form-item--content .cy-tree-select {
251
+ width: 100%;
252
+ height: 36px;
253
+ display: -webkit-box;
254
+ display: -ms-flexbox;
255
+ display: flex;
256
+ -webkit-box-align: center;
257
+ -ms-flex-align: center;
258
+ align-items: center
259
+ }
260
+
261
+ .el-form-item--medium .el-form-item--content .cy-tree-select > span {
262
+ display: inline-block;
263
+ width: 100%
264
+ }
@@ -0,0 +1 @@
1
+ .cy-sub-title{width:100%;font-size:17px;border-left:5px solid #1890ff;text-indent:10px;margin-bottom:15px;font-weight:700;color:#303133;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cy-sub-title .left{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cy-sub-title .right{-ms-flex-negative:0;flex-shrink:0;margin-left:20px}
@@ -0,0 +1 @@
1
+ .cy-tab-dialog{line-height:0}.cy-tab-dialog-modal{position:absolute;top:0;bottom:0;left:0;right:0;opacity:.5;background:#000}.cy-tab-dialog .el-dialog__wrapper{position:absolute!important;line-height:18px}.cy-tab-dialog .el-dialog__wrapper .el-dialog{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.4);box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.4);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cy-tab-dialog .el-dialog__wrapper .el-dialog .el-dialog__header{-ms-flex-negative:0;flex-shrink:0}.cy-tab-dialog .el-dialog__wrapper .el-dialog .el-dialog__body{height:100%}.cy-tab-dialog.cy-tab-dialog-fullscreen .el-dialog__wrapper{position:fixed!important}.cy-tab-dialog.cy-tab-dialog-fullscreen .el-dialog__wrapper .el-dialog{left:0!important;top:0}
@@ -0,0 +1 @@
1
+ .cy-tree-select .el-popover__reference-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.cy-tree-select-select{width:217px;height:36px;line-height:36px;border:1px solid #DCDFE6;border-radius:4px;padding:0 29px 0 15px;cursor:pointer;overflow:hidden;position:relative;-webkit-transition:all .3s;transition:all .3s}.cy-tree-select-select .cy-tree-select-select-v{width:100%;color:#606266;font-size:14px;white-space:nowrap;overflow:auto}.cy-tree-select-select .cy-tree-select-select-v-placeholder{color:#c0c4cc}.cy-tree-select-select .cy-tree-select-select-v-icon{color:#C0C4CC;position:absolute;top:0;right:9px}.cy-tree-select-select .cy-tree-select-select-v-icon .cy-tree-select-select-v-arrow{-webkit-transform:rotateZ(0);transform:rotateZ(0);-webkit-transition:all .3s;transition:all .3s}.cy-tree-select-select .cy-tree-select-select-v-icon .cy-tree-select-select-v-arrow-show{-webkit-transform:rotateZ(-180deg);transform:rotateZ(-180deg)}.cy-tree-select-select.small{height:32px;line-height:32px}.cy-tree-select-select.small .cy-tree-select-select-v{font-size:13px}.cy-tree-select-select.mini{height:28px;line-height:28px}.cy-tree-select-select.mini .cy-tree-select-select-v{font-size:12px}.cy-tree-select-select:hover{border-color:#C0C4CC}.cy-tree-select-select-con-t{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #DCDFE6}.cy-tree-select-select-con-c{max-height:300px;overflow:auto}.el-form-item--medium .el-form-item--content .cy-tree-select{width:100%;height:36px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-form-item--medium .el-form-item--content .cy-tree-select>span{display:inline-block;width:100%}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cy-element-ui",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "基于ElementUI开发的组件",
5
5
  "main": "lib/element-ui.common.js",
6
6
  "files": [
@@ -64,7 +64,7 @@
64
64
  "url": "https://github.com/ElemeFE/element/issues"
65
65
  },
66
66
  "unpkg": "lib/index.js",
67
- "style": "lib/theme-chalk/index.css",
67
+ "style": "lib/theme-cy/index.css",
68
68
  "web-types": "./web-types.json",
69
69
  "dependencies": {
70
70
  "async-validator": "~1.8.1",
package/src/index.js CHANGED
@@ -219,7 +219,7 @@ if (typeof window !== 'undefined' && window.Vue) {
219
219
  }
220
220
 
221
221
  export default {
222
- version: '1.0.35',
222
+ version: '1.0.37',
223
223
  locale: locale.use,
224
224
  i18n: locale.i18n,
225
225
  install,