bri-components 1.2.49 → 1.2.50
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/package.json +2 -2
- package/src/components/controls/BriControlInput.vue +4 -3
- package/src/components/controls/base/DshCascader/DshCascader.vue +40 -23
- package/src/components/controls/base/DshCascader/InfoCascader.vue +7 -15
- package/src/components/controls/base/DshDate/DshDate.vue +146 -0
- package/src/components/controls/base/{DshDaterange.vue → DshDate/DshDaterange.vue} +55 -1
- package/src/components/controls/base/{BriInputs.vue → DshInput/BriInputs.vue} +1 -1
- package/src/components/controls/base/{DshInput.vue → DshInput/DshInput.vue} +24 -5
- package/src/components/controls/base/DshNumber/DshNumber.vue +74 -2
- package/src/components/controls/base/{DshNumberange.vue → DshNumber/DshNumberange.vue} +37 -2
- package/src/components/controls/base/DshSelect/DshCheckbox.vue +280 -0
- package/src/components/controls/base/DshSelect/DshSelect.vue +319 -0
- package/src/components/controls/base/DshSelect/selectMixin.js +241 -0
- package/src/components/controls/base/DshSwitch/DshSwitch.vue +84 -0
- package/src/components/controls/base/DshSwitch/switchMixin.js +73 -0
- package/src/components/controls/controlMap.js +8 -11
- package/src/components/controls/controlMixin.js +33 -5
- package/src/components/controls/senior/BriLabels.vue +1 -1
- package/src/components/controls/senior/selectDepartments.vue +9 -13
- package/src/components/controls/senior/selectUsers/selectUsers.vue +23 -21
- package/src/components/form/DshAdvSearch.vue +155 -3
- package/src/components/form/DshDefaultSearch.vue +94 -12
- package/src/components/form/DshForm.vue +24 -0
- package/src/components/form/searchMixin.js +5 -18
- package/src/components/other/BriGantt.vue +2 -2
- package/src/components/unit/DshFormUnit.vue +108 -0
- package/src/components/unit/DshListUnit.vue +6 -0
- package/src/index.js +10 -10
- package/src/styles/components/index.less +0 -14
- package/src/styles/components/other/BriGantt.less +1 -12
- package/src/styles/reset-iview.less +47 -1
- package/src/components/controls/base/DshCheckbox.vue +0 -213
- package/src/components/controls/base/DshDate.vue +0 -122
- package/src/components/controls/base/DshSelect.vue +0 -242
- package/src/components/controls/base/DshSwitch.vue +0 -70
- package/src/components/controls/base/selectMixin.js +0 -110
- package/src/styles/components/controls/base/DshCheckbox.less +0 -115
- package/src/styles/components/controls/base/DshDate.less +0 -15
- package/src/styles/components/controls/base/DshDaterange.less +0 -49
- package/src/styles/components/controls/base/DshNumber.less +0 -55
- package/src/styles/components/controls/base/DshNumberange.less +0 -29
- package/src/styles/components/controls/base/DshSelect.less +0 -190
- package/src/styles/components/form/DshAdvSearch.less +0 -149
- package/src/styles/components/form/DshDefaultSearch.less +0 -82
- package/src/styles/components/form/DshForm.less +0 -18
- package/src/styles/components/unit/DshFormUnit.less +0 -105
- package/src/styles/components/unit/DshListUnit.less +0 -3
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
.DshDefaultSearch {
|
|
2
|
-
position: relative;
|
|
3
|
-
background: #fff;
|
|
4
|
-
|
|
5
|
-
&-item {
|
|
6
|
-
padding: 0 !important;
|
|
7
|
-
padding-bottom: 6px !important;
|
|
8
|
-
padding-top: 6px !important;
|
|
9
|
-
margin-top: 0px !important;
|
|
10
|
-
margin-bottom: 0px !important;
|
|
11
|
-
|
|
12
|
-
&-name {}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-form {
|
|
16
|
-
position: relative;
|
|
17
|
-
z-index: 2;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//展开图标
|
|
21
|
-
&-fold {
|
|
22
|
-
width: 100%;
|
|
23
|
-
text-align: center;
|
|
24
|
-
position: absolute;
|
|
25
|
-
bottom: -24px;
|
|
26
|
-
left: 0px;
|
|
27
|
-
|
|
28
|
-
&-icon {
|
|
29
|
-
width: 48px;
|
|
30
|
-
height: 20px;
|
|
31
|
-
text-align: center;
|
|
32
|
-
line-height: 20px;
|
|
33
|
-
background: #fff;
|
|
34
|
-
box-shadow: 0 0 16px 0 rgba(51, 51, 51, 0.1);
|
|
35
|
-
font-size: 14px;
|
|
36
|
-
color: #999999;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
|
|
39
|
-
&.arrow-up {
|
|
40
|
-
transform: rotate(180deg);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// 输入框/下拉框
|
|
46
|
-
input,
|
|
47
|
-
.ivu-select-selection,
|
|
48
|
-
.ivu-cascader-size-default,
|
|
49
|
-
.DshCascader-multiple-input,
|
|
50
|
-
.DshDaterange-item {
|
|
51
|
-
border-radius: 0;
|
|
52
|
-
|
|
53
|
-
.ivu-select-input{
|
|
54
|
-
top: 0px!important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.DshCascader-multiple-input {
|
|
59
|
-
height: 32px;
|
|
60
|
-
padding: 1px 6px;
|
|
61
|
-
overflow: hidden!important;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.DshFormUnit-label {
|
|
65
|
-
width: 80px;
|
|
66
|
-
text-align: right;
|
|
67
|
-
margin-right: 16px;
|
|
68
|
-
|
|
69
|
-
.DshFormUnit-label-left {
|
|
70
|
-
.DshFormUnit-label-name {
|
|
71
|
-
font-family: "Microsoft YaHei";
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.DshFormUnit-label-right {
|
|
76
|
-
text-align: left;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
.bri-control-edit {
|
|
80
|
-
border-radius: 0px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
.DshForm {
|
|
2
|
-
padding-bottom: 5px;
|
|
3
|
-
|
|
4
|
-
&-item-FormItem {
|
|
5
|
-
margin-bottom: 0px!important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.ivu-form-item-content {
|
|
9
|
-
line-height: normal;
|
|
10
|
-
|
|
11
|
-
.ivu-form-item-error-tip {
|
|
12
|
-
top: calc(100% - 8px);
|
|
13
|
-
left: 16px;
|
|
14
|
-
padding-top: 0px;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
.DshFormUnit {
|
|
2
|
-
margin: 3px 6px;
|
|
3
|
-
padding: 2px 10px 8px;
|
|
4
|
-
|
|
5
|
-
&-required {
|
|
6
|
-
.DshFormUnit-label-name:before {
|
|
7
|
-
content: '*';
|
|
8
|
-
display: inline-block;
|
|
9
|
-
line-height: 1.5;
|
|
10
|
-
font-family: SimSun;
|
|
11
|
-
font-size: @smallTitleSize;
|
|
12
|
-
font-weight: 500;
|
|
13
|
-
color: #E94829;
|
|
14
|
-
position: absolute;
|
|
15
|
-
left: -10px;
|
|
16
|
-
width: 6px;
|
|
17
|
-
font-size: @textSize;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-label {
|
|
22
|
-
min-width: 0px;
|
|
23
|
-
padding: 5px 0px 5px;
|
|
24
|
-
line-height: 20px;
|
|
25
|
-
font-size: @smallSize;
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
|
|
29
|
-
&-left {
|
|
30
|
-
flex: 2;
|
|
31
|
-
min-width: 150px;
|
|
32
|
-
position: relative;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-right {
|
|
36
|
-
flex: 1;
|
|
37
|
-
min-width: 0px;
|
|
38
|
-
text-align: right;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&-name {
|
|
42
|
-
font-size: @textSize;
|
|
43
|
-
.dsh-ellipsis();
|
|
44
|
-
|
|
45
|
-
&-edit {
|
|
46
|
-
color: @textColor;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&-show {
|
|
50
|
-
color: @contentColor;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-sign {
|
|
54
|
-
#dsh-sign-change();
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&-description {
|
|
59
|
-
color: #60c0ec;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-control {
|
|
64
|
-
min-height: 32px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&-line {
|
|
68
|
-
display: flex;
|
|
69
|
-
justify-content: space-between;
|
|
70
|
-
align-items: center;
|
|
71
|
-
|
|
72
|
-
.DshFormUnit-label {
|
|
73
|
-
max-width: 280px;
|
|
74
|
-
// min-width: 100px;
|
|
75
|
-
font-size: @textSize;
|
|
76
|
-
overflow: hidden;
|
|
77
|
-
margin: 0px;
|
|
78
|
-
margin-right: 8px;
|
|
79
|
-
|
|
80
|
-
// fixedbug:line模式下显示必填
|
|
81
|
-
margin-left: -10px;
|
|
82
|
-
padding-left: 10px;
|
|
83
|
-
|
|
84
|
-
&-left {
|
|
85
|
-
flex: 1;
|
|
86
|
-
min-width: 40px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&-right {
|
|
90
|
-
flex: none;
|
|
91
|
-
max-width: 50%;
|
|
92
|
-
min-width: 0px;
|
|
93
|
-
text-align: right;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.DshFormUnit-control {
|
|
98
|
-
flex: 1;
|
|
99
|
-
min-width: 50px;
|
|
100
|
-
display: flex;
|
|
101
|
-
justify-content: flex-end;
|
|
102
|
-
align-items: center;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|