bri-components 1.2.1 → 1.2.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.
Files changed (43) 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/5.bri-components.min.js +1 -1
  5. package/lib/bri-components.min.js +5 -5
  6. package/package.json +1 -1
  7. package/src/abolish/DshCascaders.vue +3 -0
  8. package/src/abolish/DshTexts.vue +3 -0
  9. package/src/components/controls/base/BriUpload/BriUploadImage.vue +45 -32
  10. package/src/components/controls/base/BriUpload/uploadMixin.js +7 -5
  11. package/src/components/controls/base/DshCascader/DshCascader.vue +25 -17
  12. package/src/components/controls/base/DshCheckbox.vue +127 -137
  13. package/src/components/controls/base/DshCoordinates.vue +121 -147
  14. package/src/components/controls/base/DshDaterange.vue +3 -3
  15. package/src/components/controls/base/DshEditor.vue +2 -1
  16. package/src/components/controls/base/DshSelect.vue +3 -13
  17. package/src/components/controls/base/DshSwitch.vue +13 -20
  18. package/src/components/controls/controlMixin.js +19 -1
  19. package/src/components/controls/senior/BriLabels.vue +98 -93
  20. package/src/components/controls/senior/selectDepartments.vue +16 -11
  21. package/src/components/controls/senior/selectUsers/DepartmentMenu.vue +2 -2
  22. package/src/components/controls/senior/selectUsers/selectUsers.vue +18 -15
  23. package/src/components/small/BriDrawer.vue +1 -1
  24. package/src/components/small/DshDropdown.vue +1 -0
  25. package/src/components/small/DshModal.vue +1 -1
  26. package/src/components/small/DshTags.vue +135 -8
  27. package/src/styles/common/control.less +19 -15
  28. package/src/styles/components/controls/.DS_Store +0 -0
  29. package/src/styles/components/controls/base/BriUpload/BriUpload.less +1 -1
  30. package/src/styles/components/controls/base/BriUpload/BriUploadImage.less +6 -0
  31. package/src/styles/components/controls/base/DshCascader/DshCascader.less +13 -11
  32. package/src/styles/components/controls/base/DshCheckbox.less +39 -75
  33. package/src/styles/components/controls/base/DshCoordinates.less +1 -35
  34. package/src/styles/components/controls/base/DshSelect.less +16 -1
  35. package/src/styles/components/controls/base/DshSwitch.less +1 -31
  36. package/src/styles/components/controls/senior/.DS_Store +0 -0
  37. package/src/styles/components/controls/senior/BriLabels.less +1 -1
  38. package/src/styles/components/list/BriFlatTable.less +1 -1
  39. package/src/styles/components/small/DshDropdown.less +6 -5
  40. package/src/styles/components/small/DshModal.less +20 -42
  41. package/src/styles/components/small/DshTags.less +32 -14
  42. package/src/styles/components/unit/DshFormItem.less +3 -25
  43. package/src/styles/variables.less +2 -1
@@ -154,54 +154,32 @@
154
154
 
155
155
  // 默认模态框brimodal
156
156
  .bri-modal {
157
- .ivu-modal-header {
158
- padding: 14px 36px;
159
-
160
- .ivu-modal-header-inner {
161
- color: @titleColor;
162
- font-size: @titleSize;
163
- font-weight: bold;
164
- }
165
- }
166
-
167
- .ivu-modal-body {
168
- padding: 16px;
157
+ .DshModal-close {
158
+ top: 20px;
159
+ right: 24px;
160
+ color: rgba(0,0,0,0.6);
161
+ font-size: 16px;
169
162
  }
170
163
 
171
- .ivu-modal-footer {
172
- display: flex;
173
- justify-content: space-between;
174
- padding: 20px;
175
-
176
- button {
177
- width: 48%;
178
- height: 44px;
179
- line-height: 44px;
164
+ .ivu-modal-header {
165
+ width: 100%;
166
+ height: 44px;
167
+ padding: 20px 24px 0px 24px;
168
+ border-bottom: none;
169
+ &-inner {
170
+ color: rgba(0,0,0,0.9);
171
+ font-size: 16px;
172
+ font-weight: 500;
173
+ line-height: 24px;
174
+ height: 24px;
180
175
  }
181
176
  }
182
-
183
- &-content {
184
- padding: 20px 0;
177
+ .ivu-modal-body {
178
+ padding: 16px 24px 20px;
185
179
  }
186
180
 
187
181
  &-footer {
188
- display: flex;
189
- justify-content: space-between;
190
- padding: 20px 0;
191
-
192
- button {
193
- flex: 1;
194
- margin: 0 10px;
195
- height: 44px;
196
- line-height: 44px;
197
-
198
- &:first-child {
199
- margin-left: 0;
200
- }
201
-
202
- &:last-child {
203
- margin-right: 0;
204
- }
205
- }
182
+ text-align: right;
183
+ margin-top: 16px;
206
184
  }
207
185
  }
@@ -1,17 +1,35 @@
1
- .DshTags {
2
- .ivu-tag {
3
- &-default {
4
- border: none;
5
- background-color: @borderColor;
6
- color: @text-color;
1
+ .DshTags {
2
+ &-autoEllipsis {
3
+ overflow: hidden;
4
+ width: 100%;
5
+ }
6
+ &-poptip {
7
+ &-tag {
8
+ margin: 2px 0;
9
+ .dsh-flex-row-between-center();
7
10
  }
8
- &-size-medium {
9
- height: 24px;
10
- line-height: 26px;
11
- padding: 0 8px;
11
+ .ivu-tag-text {
12
+ .dsh-ellipsis();
12
13
  }
13
- &[disabled] {
14
- background-color: @border-disabled;
15
- }
16
- }
14
+ }
15
+ }
16
+
17
+ .ivu-tag {
18
+ &-default {
19
+ border: none;
20
+ background-color: @borderColor;
21
+ color: @text-color;
22
+ }
23
+ &-size-medium {
24
+ height: 24px;
25
+ padding: 0 8px;
26
+ line-height: 26px;
27
+ }
28
+ &[disabled] {
29
+ background-color: @border-disabled;
30
+ }
31
+
32
+ .ivu-tag-text {
33
+ color: inherit;
34
+ }
17
35
  }
@@ -46,7 +46,7 @@
46
46
  color: @textColor;
47
47
  }
48
48
  &-show {
49
- color: @contentColor
49
+ color: @contentColor;
50
50
  }
51
51
  &-sign {
52
52
  #dsh-sign-change();
@@ -59,12 +59,7 @@
59
59
  }
60
60
 
61
61
  &-control {
62
- min-height: 30px;
63
-
64
- .DshPackage-edit {
65
- border: none;
66
- padding: 0;
67
- }
62
+ min-height: 32px;
68
63
  }
69
64
 
70
65
  &-line {
@@ -79,6 +74,7 @@
79
74
  overflow: hidden;
80
75
  margin: 0px;
81
76
  margin-right: 8px;
77
+
82
78
  // fixedbug:line模式下显示必填
83
79
  margin-left: -10px;
84
80
  padding-left: 10px;
@@ -102,24 +98,6 @@
102
98
  display: flex;
103
99
  justify-content: flex-end;
104
100
  align-items: center;
105
-
106
- .ivu-select-default.ivu-select-multiple {
107
- .ivu-select-selection {
108
- height: 32px;
109
- overflow: hidden;
110
-
111
- &>div {
112
- width: 100%;
113
- height: 100%;
114
- .dsh-flex-row-start-center();
115
- flex-wrap: wrap;
116
- }
117
- }
118
- }
119
101
  }
120
102
  }
121
-
122
- .ivu-tooltip {
123
- display: flex;
124
- }
125
103
  }
@@ -40,9 +40,10 @@
40
40
  @textColor : rgba(0, 0, 0, 0.9);
41
41
  @contentColor : rgba(0, 0, 0, 0.6); // 正文颜色
42
42
  @titleColor : @textColor; // title文字颜色
43
- @placeholderColor : rgba(0, 0, 0, 0.4);
44
43
  @textColor-readonly : @textColor;
45
44
  @textColor-disabled : rgba(0, 0, 0, 0.26);
45
+ @placeholderColor : rgba(0, 0, 0, 0.4);
46
+ @placeholder-disabled-color : rgba(0, 0, 0, 0.26);
46
47
  @textWhColor : rgba(255, 255, 255, 0.9);
47
48
  @fontWh2 : rgba(255, 255, 255, 0.55);
48
49
  @fontWh3 : rgba(255, 255, 255, 0.35);