bri-components 1.0.3 → 1.1.0

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.
Files changed (99) hide show
  1. package/lib/0.bri-components.min.js +1 -1
  2. package/lib/1.bri-components.min.js +1 -1
  3. package/lib/2.bri-components.min.js +1 -1
  4. package/lib/3.bri-components.min.js +1 -1
  5. package/lib/4.bri-components.min.js +1 -1
  6. package/lib/5.bri-components.min.js +1 -1
  7. package/lib/6.bri-components.min.js +1 -1
  8. package/lib/7.bri-components.min.js +1 -0
  9. package/lib/8.bri-components.min.js +1 -0
  10. package/lib/9.bri-components.min.js +1 -0
  11. package/lib/bri-components.min.js +16 -6
  12. package/lib/styles/bundle.css +0 -2
  13. package/package.json +121 -120
  14. package/src/components/controls/base/BriLabels.vue +117 -0
  15. package/src/components/controls/base/DshCascader.vue +23 -38
  16. package/src/components/controls/base/DshCascaderMultiple.vue +1 -1
  17. package/src/components/controls/base/DshCheckbox.vue +14 -4
  18. package/src/components/controls/base/DshCoordinates.vue +5 -9
  19. package/src/components/controls/base/DshDate.vue +10 -34
  20. package/src/components/controls/base/DshDivider.vue +1 -1
  21. package/src/components/controls/base/DshEditor.vue +52 -44
  22. package/src/components/controls/base/DshInput.vue +18 -45
  23. package/src/components/controls/base/DshLabels.vue +8 -4
  24. package/src/components/controls/base/DshNumber/DshNumber.vue +6 -20
  25. package/src/components/controls/base/DshNumberange.vue +1 -1
  26. package/src/components/controls/base/DshPackage.vue +7 -1
  27. package/src/components/controls/base/DshSelect.vue +15 -5
  28. package/src/components/controls/base/DshSwitch.vue +2 -6
  29. package/src/components/controls/base/YSerialNumber.vue +0 -1
  30. package/src/components/controls/base/ZUpload/index.vue +16 -10
  31. package/src/components/controls/base/ZUpload/upload-list.vue +17 -12
  32. package/src/components/controls/base/ZUpload/uploadMixin.js +1 -5
  33. package/src/components/controls/base/controlShow.vue +52 -0
  34. package/src/components/controls/base/textMultiple/DshTextMultiple.vue +1 -1
  35. package/src/components/controls/controlMap.js +4 -0
  36. package/src/components/controls/controlMixin.js +21 -20
  37. package/src/components/controls/senior/cascaderTable.vue +188 -0
  38. package/src/components/controls/senior/flatTable.vue +131 -0
  39. package/src/components/form/DshForm.vue +0 -5
  40. package/src/components/list/BriFlatTable.vue +430 -0
  41. package/src/components/list/BriTable.vue +184 -0
  42. package/src/components/list/DshBox/DshPanel.vue +63 -79
  43. package/src/components/list/DshBox/DshTable.vue +29 -39
  44. package/src/components/list/DshCascaderTable.vue +6 -11
  45. package/src/components/list/DshFlatTable.vue +9 -17
  46. package/src/components/other/BriTransfer.vue +71 -0
  47. package/src/components/small/BriButton.vue +65 -0
  48. package/src/components/small/BriTree.vue +42 -0
  49. package/src/components/small/Ctooltip.vue +1 -1
  50. package/src/components/small/DshButtons.vue +12 -42
  51. package/src/components/unit/DshFormItem.vue +11 -6
  52. package/src/components/unit/DshUnit.vue +1 -3
  53. package/src/components/unit/unitMixin.js +4 -1
  54. package/src/index.js +24 -4
  55. package/src/styles/bundle.css +0 -2
  56. package/src/styles/common/common.less +2 -2
  57. package/src/styles/common/control.less +53 -0
  58. package/src/styles/common/index.less +1 -0
  59. package/src/styles/components/controls/BriLabels.less +23 -0
  60. package/src/styles/components/controls/DshCascader.less +3 -3
  61. package/src/styles/components/controls/DshCheckbox.less +1 -1
  62. package/src/styles/components/controls/DshCoordinates.less +3 -3
  63. package/src/styles/components/controls/DshDate.less +54 -0
  64. package/src/styles/components/controls/DshDaterange.less +1 -1
  65. package/src/styles/components/controls/DshEditor.less +27 -9
  66. package/src/styles/components/controls/DshInput.less +5 -5
  67. package/src/styles/components/controls/DshLabels.less +1 -1
  68. package/src/styles/components/controls/DshSelect.less +46 -30
  69. package/src/styles/components/controls/ZUpload.less +82 -91
  70. package/src/styles/components/controls/cascaderTable.less +33 -0
  71. package/src/styles/components/controls/controlShow.less +12 -0
  72. package/src/styles/components/controls/flatTable.less +33 -0
  73. package/src/styles/components/form/DshAdvSearchForm.less +6 -6
  74. package/src/styles/components/index.less +10 -0
  75. package/src/styles/components/list/BriFlatTable.less +8 -0
  76. package/src/styles/components/list/BriTable.less +155 -0
  77. package/src/styles/components/list/DshFlatTable.less +3 -8
  78. package/src/styles/components/list/evTable.less +1 -1
  79. package/src/styles/components/other/BriTransfer.less +65 -0
  80. package/src/styles/components/other/DshEditPanel.less +2 -2
  81. package/src/styles/components/other/DshMenuNav.less +5 -5
  82. package/src/styles/components/other/ZGantt.less +5 -5
  83. package/src/styles/components/small/BriButton.less +259 -0
  84. package/src/styles/components/small/BriTree.less +57 -0
  85. package/src/styles/components/small/Ctooltip.less +14 -0
  86. package/src/styles/components/small/DshButtons.less +1 -1
  87. package/src/styles/components/small/DshControlDefine.less +2 -2
  88. package/src/styles/components/small/DshDropdown.less +1 -1
  89. package/src/styles/components/small/DshPage.less +1 -1
  90. package/src/styles/components/small/DshTabs.less +2 -2
  91. package/src/styles/components/unit/DshFormItem.less +5 -6
  92. package/src/styles/index.less +1 -5
  93. package/src/styles/plugin/easytable.less +22 -0
  94. package/src/styles/plugin/index.less +2 -0
  95. package/src/styles/plugin/iview.less +33 -0
  96. package/src/styles/variables.less +71 -88
  97. package/src/utils/table.js +72 -978
  98. package/src/styles/define.less +0 -374
  99. package/src/styles/view_reset.less +0 -452
@@ -1,452 +0,0 @@
1
- .ivu-input-icon-clear {
2
- width: 20px;
3
- }
4
-
5
- .ivu-select-dropdown {
6
- max-height: 350px;
7
- font-size: 14px;
8
-
9
- // 时间日期控件
10
- .ivu-date-picker {
11
- &-header {
12
- border-bottom: 0;
13
- margin-top: 5px;
14
-
15
- &-label {
16
- font-weight: 700;
17
- }
18
- }
19
-
20
- &-cells {
21
- & span em:hover {
22
- border-radius: 50%;
23
- background-color: @shenpi-themeColor;
24
- color: @white;
25
- }
26
-
27
- &-focused em {
28
- border-radius: 50%;
29
- color: @white;
30
- background: @shenpi-themeColor;
31
- }
32
-
33
- &-cell-today em::after {
34
- display: none;
35
- }
36
- }
37
- }
38
- }
39
-
40
- .ivu-select-multiple .ivu-select-item-selected:after {
41
- content: none;
42
- }
43
-
44
- .ivu-dropdown-menu {
45
- min-width: 50px;
46
- }
47
-
48
- .ivu-form-item-error-tip {
49
- font-size: 12px;
50
- padding: 0 8px 0px 16px;
51
- }
52
-
53
- .ivu-tree-empty {
54
- text-align: center;
55
- }
56
-
57
- // 蓝色按钮primary
58
- .ivu-btn-primary {
59
- background-color: @formFocusBorderColor;
60
- border-color: @formFocusBorderColor;
61
- font-weight: bold;
62
-
63
- &:hover {
64
- background-color: @themeHelpColor1;
65
- }
66
- }
67
-
68
- // primary-ghost
69
- .ivu-btn-ghost.ivu-btn-primary {
70
- background-color: @ghostBg;
71
- color: @tabTextActiveColor;
72
- border: 1px solid @formFocusBorderColor;
73
-
74
- &:hover {
75
- color: @themeColor;
76
- }
77
- }
78
-
79
- .ivu-btn-ghost.btn-cancel {
80
- background-color: @ghostBg;
81
- color: @tabTextActiveColor;
82
- border: none;
83
-
84
- &:hover {
85
- background-color: @ghostBg !important;
86
- }
87
- }
88
-
89
- .ivu-btn-default {
90
- border-color: #C6C6C8;
91
- }
92
-
93
- /*自定义模态框start*/
94
- .ivu-modal {
95
- // width: 468px;
96
-
97
- .ivu-modal-confirm {
98
- padding: 6px 8px 8px;
99
-
100
- .ivu-modal-confirm-head {}
101
-
102
- .ivu-modal-confirm-body {
103
- padding: 20px 0;
104
- padding-left: 40px;
105
- }
106
-
107
- .ivu-modal-confirm-footer {
108
- button {
109
- width: 102px;
110
- height: 38px;
111
- line-height: 38px;
112
- font-size: 16px;
113
- }
114
-
115
- .ivu-btn-text {
116
- border: 1px solid @minorTextColor !important;
117
- color: @textColor;
118
- }
119
-
120
- .ivu-btn-text:hover {
121
- border-color: @minorTextColor !important;
122
- color: @themeHelpColor1;
123
- }
124
- }
125
- }
126
- }
127
-
128
- /*自定义模态框end*/
129
-
130
- /*按钮start*/
131
- //按钮配置公共样式
132
- .ivu-btn {
133
- border-radius: 2px;
134
- height: 32px;
135
- font-size: 14px;
136
- color: @textColor;
137
- background-color: @white;
138
- border: 1px solid transparent;
139
- }
140
-
141
- .ivu-btn-dashed {
142
- border-color: #dcdee2;
143
- border-style: dashed;
144
- }
145
-
146
- //高亮按钮
147
- .ivu-btn-primary {
148
- color: @white;
149
- background-color: @btnBg;
150
- border-color: @btnBg;
151
-
152
- //.ivu-btn-large;
153
- //按钮状态 悬停
154
- &:hover {
155
- background-color: @themeHelpColor1;
156
- }
157
- }
158
-
159
- //默认按钮
160
- .ivu-btn-default {
161
- border-color: @minorTextColor;
162
-
163
- // color: #596278;
164
- // background-color: @white;
165
- // border-color: #8A92A5;
166
- //.ivu-btn-large;
167
- &:hover {
168
- border-color: @minorTextColor;
169
- color: @themeHelpColor1;
170
- }
171
- }
172
-
173
- //按钮尺寸 大
174
- .ivu-btn-large {
175
- height: 38px;
176
- font-size: 16px;
177
- }
178
-
179
- //按钮尺寸 中 默认样式
180
- .ivu-btn-middle {
181
- .ivu-btn
182
- }
183
-
184
- //按钮尺寸 小
185
- .ivu-btn-small {
186
- height: 26px;
187
- font-size: 12px;
188
- }
189
-
190
- //按钮状态 禁用
191
- .ivu-btn.disabled,
192
- .ivu-btn.disabled.active,
193
- .ivu-btn.disabled:active,
194
- .ivu-btn.disabled:focus,
195
- .ivu-btn.disabled:hover,
196
- .ivu-btn[disabled],
197
- .ivu-btn[disabled].active,
198
- .ivu-btn[disabled]:active,
199
- .ivu-btn[disabled]:focus,
200
- .ivu-btn[disabled]:hover,
201
- fieldset[disabled] .ivu-btn,
202
- fieldset[disabled] .ivu-btn.active,
203
- fieldset[disabled] .ivu-btn:active,
204
- fieldset[disabled] .ivu-btn:focus,
205
- fieldset[disabled] .ivu-btn:hover {
206
- color: @minorTextColor !important;
207
- background-color: @bgColor;
208
- border: 1px solid @minorTextColor;
209
- }
210
-
211
- .ivu-btn-text {
212
- border-color: transparent !important;
213
- }
214
-
215
- //配置按钮
216
- .ivu-settings-btn {
217
- // height: 38px;
218
- // font-size: 16px;
219
- background: @bgColor;
220
- color: @minorTextColor;
221
- min-width: 153px;
222
- border: 1px solid @greyColor;
223
-
224
- &:hover {
225
- border-color: @greyColor;
226
- color: @minorTextColor;
227
- }
228
-
229
- .ivu-icon {
230
- width: 15px;
231
- height: 15px;
232
- line-height: 15px;
233
- color: @white;
234
- background-color: @minorTextColor;
235
- }
236
-
237
- >span {
238
- vertical-align: middle;
239
- }
240
- }
241
-
242
- //下拉按钮 待实现
243
- // .ivu-select-selected-value,.ivu-select-arrow {
244
- // color: @themeColor;
245
- // }
246
- //文字按钮
247
- .ivu-btn-text {
248
- // font-size: 16px !important;
249
- color: @themeColor;
250
- background: transparent;
251
- border: none;
252
- }
253
-
254
- //成功按钮
255
- .ivu-btn-success {
256
- color: #fff;
257
- background-color: @tipSuccess;
258
- border-color: @tipSuccess;
259
- }
260
-
261
- /*按钮end*/
262
-
263
-
264
-
265
- // checkbox 控制选中时icon样式
266
-
267
- // 默认样式
268
- .type-item-0.ivu-radio-wrapper-checked,
269
- .type-item-0.ivu-checkbox-wrapper-checked {
270
- .ivu-checkbox-inner:after {
271
- border-color: @white;
272
- left: 4px;
273
- }
274
- }
275
-
276
- .type-item-1.ivu-radio-wrapper-checked,
277
- .type-item-1.ivu-checkbox-wrapper-checked {
278
- .ivu-checkbox-inner:after {
279
- border-color: #CDE6FF;
280
- }
281
- }
282
-
283
- .type-item-2.ivu-radio-wrapper-checked,
284
- .type-item-2.ivu-checkbox-wrapper-checked {
285
- .ivu-checkbox-inner:after {
286
- border-color: #C1FCFF;
287
- }
288
- }
289
-
290
- .type-item-3.ivu-radio-wrapper-checked,
291
- .type-item-3.ivu-checkbox-wrapper-checked {
292
- .ivu-checkbox-inner:after {
293
- border-color: #C5FFD9;
294
- }
295
- }
296
-
297
- .type-item-4.ivu-radio-wrapper-checked,
298
- .type-item-4.ivu-checkbox-wrapper-checked {
299
- .ivu-checkbox-inner:after {
300
- border-color: #FFEDC8;
301
- }
302
- }
303
-
304
- .type-item-5.ivu-radio-wrapper-checked,
305
- .type-item-5.ivu-checkbox-wrapper-checked {
306
- .ivu-checkbox-inner:after {
307
- border-color: #FFDCAC;
308
- }
309
- }
310
-
311
- .type-item-6.ivu-radio-wrapper-checked,
312
- .type-item-6.ivu-checkbox-wrapper-checked {
313
- .ivu-checkbox-inner:after {
314
- border-color: #FFD3B6;
315
- }
316
- }
317
-
318
- .type-item-7.ivu-radio-wrapper-checked,
319
- .type-item-7.ivu-checkbox-wrapper-checked {
320
- .ivu-checkbox-inner:after {
321
- border-color: #EEB0FF;
322
- }
323
- }
324
-
325
- .type-item-8.ivu-radio-wrapper-checked,
326
- .type-item-8.ivu-checkbox-wrapper-checked {
327
- .ivu-checkbox-inner:after {
328
- border-color: #D1B3FF;
329
- }
330
- }
331
-
332
- .type-item-9.ivu-radio-wrapper-checked,
333
- .type-item-9.ivu-checkbox-wrapper-checked {
334
- .ivu-checkbox-inner:after {
335
- border-color: #B1C7FF;
336
- }
337
- }
338
-
339
- .type-item-10.ivu-radio-wrapper-checked,
340
- .type-item-10.ivu-checkbox-wrapper-checked {
341
- .ivu-checkbox-inner:after {
342
- border-color: #DCDCDC;
343
- }
344
- }
345
-
346
- .type-item-11.ivu-radio-wrapper-checked,
347
- .type-item-11.ivu-checkbox-wrapper-checked {
348
- .ivu-checkbox-inner:after {
349
- border-color: #6DAEF2;
350
- }
351
- }
352
-
353
- .type-item-12.ivu-radio-wrapper-checked,
354
- .type-item-12.ivu-checkbox-wrapper-checked {
355
- .ivu-checkbox-inner:after {
356
- border-color: #40CBD2;
357
- }
358
- }
359
-
360
- .type-item-13.ivu-radio-wrapper-checked,
361
- .type-item-13.ivu-checkbox-wrapper-checked {
362
- .ivu-checkbox-inner:after {
363
- border-color: #50C979;
364
- }
365
- }
366
-
367
- .type-item-14.ivu-radio-wrapper-checked,
368
- .type-item-14.ivu-checkbox-wrapper-checked {
369
- .ivu-checkbox-inner:after {
370
- border-color: #FFC53B;
371
- }
372
- }
373
-
374
- .type-item-15.ivu-radio-wrapper-checked,
375
- .type-item-15.ivu-checkbox-wrapper-checked {
376
- .ivu-checkbox-inner:after {
377
- border-color: #FF9300;
378
- }
379
- }
380
-
381
- .type-item-16.ivu-radio-wrapper-checked,
382
- .type-item-16.ivu-checkbox-wrapper-checked {
383
- .ivu-checkbox-inner:after {
384
- border-color: #FA6400;
385
- }
386
- }
387
-
388
- .type-item-17.ivu-radio-wrapper-checked,
389
- .type-item-17.ivu-checkbox-wrapper-checked {
390
- .ivu-checkbox-inner:after {
391
- border-color: #B620E0;
392
- }
393
- }
394
-
395
- .type-item-18.ivu-radio-wrapper-checked,
396
- .type-item-18.ivu-checkbox-wrapper-checked {
397
- .ivu-checkbox-inner:after {
398
- border-color: #7E41DF;
399
- }
400
- }
401
-
402
- .type-item-19.ivu-radio-wrapper-checked,
403
- .type-item-19.ivu-checkbox-wrapper-checked {
404
- .ivu-checkbox-inner:after {
405
- border-color: #25428D;
406
- }
407
- }
408
-
409
- .type-item-20.ivu-radio-wrapper-checked,
410
- .type-item-20.ivu-checkbox-wrapper-checked {
411
- .ivu-checkbox-inner:after {
412
- border-color: #5D5D5D;
413
- }
414
- }
415
-
416
- // input number border delete
417
- .ivu-input-number {
418
- &-handler {
419
- &-wrap {
420
- border-left: none;
421
- opacity: 1;
422
- }
423
-
424
- &-down {
425
- border-top-color: #fff;
426
- opacity: 1;
427
- }
428
- }
429
- }
430
-
431
- //表格中的多选框tooltip样式修改
432
- .columnCheckbox {
433
- width: 100%;
434
-
435
- // text-align: center;
436
- .ivu-tooltip-rel {
437
- overflow: hidden;
438
- white-space: nowrap;
439
- text-overflow: ellipsis;
440
- }
441
- }
442
-
443
- // tooltip 数字不折行问题
444
- .ivu-tooltip-inner {
445
- word-break: break-word;
446
- }
447
-
448
- .ivu-message-notice-content {
449
- padding: 13px 16px;
450
- border: 1px solid rgba(229, 229, 229, 1);
451
- box-shadow: 0 6px 30px 5px rgba(0, 0, 0, 0.05), 0 16px 24px 2px rgba(0, 0, 0, 0.04), 0 8px 10px -5px rgba(0, 0, 0, 0.08)
452
- }