bri-components 1.1.2 → 1.1.4
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/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/10.bri-components.min.js +1 -0
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/4.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/7.bri-components.min.js +1 -1
- package/lib/8.bri-components.min.js +1 -1
- package/lib/9.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +6 -6
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/abolish/DshCascaders.less +11 -0
- package/src/{components/controls/base/DshCascaderMultiple.vue → abolish/DshCascaders.vue} +17 -27
- package/src/{components/list → abolish}/DshFlatTable.vue +1 -1
- package/src/abolish/DshTexts.less +13 -0
- package/src/{components/controls/base/textMultiple/DshTextMultiple.vue → abolish/DshTexts.vue} +17 -25
- package/src/components/controls/base/{textMultiple/MultipleInput.vue → BriInputs.vue} +18 -17
- package/src/components/controls/base/{ZUpload/YUploadImage.vue → BriUpload/BriUploadImage.vue} +56 -15
- package/src/components/controls/base/{ZUpload → BriUpload}/index.vue +24 -21
- package/src/components/controls/base/{ZUpload → BriUpload}/upload-list.vue +20 -13
- package/src/components/controls/base/{ZUpload → BriUpload}/uploadMixin.js +7 -3
- package/src/components/controls/base/{DshCascader.vue → DshCascader/DshCascader.vue} +33 -26
- package/src/components/controls/base/DshCheckbox.vue +17 -20
- package/src/components/controls/base/DshCoordinates.vue +119 -110
- package/src/components/controls/base/DshDate.vue +24 -37
- package/src/components/controls/base/DshDaterange.vue +3 -1
- package/src/components/controls/base/DshEditor.vue +73 -60
- package/src/components/controls/base/DshInput.vue +72 -60
- package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +1 -1
- package/src/components/controls/base/DshNumber/DshNumber.vue +52 -48
- package/src/components/controls/base/DshNumberange.vue +11 -21
- package/src/components/controls/base/DshSelect.vue +13 -17
- package/src/components/controls/controlMap.js +12 -11
- package/src/components/controls/controlMixin.js +40 -29
- package/src/components/controls/controlShow.vue +44 -0
- package/src/components/controls/{base → senior}/BriLabels.vue +7 -12
- package/src/components/controls/{base → senior}/DshPackage.vue +6 -25
- package/src/components/controls/senior/cascaderTable.vue +52 -51
- package/src/components/controls/senior/flatTable.vue +20 -17
- package/src/components/controls/{base → special}/DshBack.vue +4 -4
- package/src/components/controls/{base → special}/DshUndeveloped.vue +3 -1
- package/src/components/form/DshAdvSearchForm.vue +10 -1
- package/src/components/form/DshForm.vue +10 -3
- package/src/components/list/BriFlatTable.vue +5 -5
- package/src/components/list/BriTable.vue +6 -8
- package/src/components/list/DshBox/DshBox.vue +7 -24
- package/src/components/list/DshBox/DshCard.vue +15 -74
- package/src/components/list/DshBox/DshCrossTable.vue +4 -8
- package/src/components/list/DshBox/DshList.vue +8 -136
- package/src/components/list/DshBox/DshPanel.vue +0 -110
- package/src/components/list/DshBox/DshTable.vue +1 -4
- package/src/components/list/DshCascaderTable.vue +1 -1
- package/src/components/list/ZTree.vue +0 -58
- package/src/components/other/ZIframe.vue +5 -0
- package/src/components/small/DshControlDefine.vue +6 -2
- package/src/components/small/DshModal.vue +0 -134
- package/src/components/small/DshPage.vue +1 -0
- package/src/components/unit/DshFormItem.vue +7 -10
- package/src/components/unit/DshUnit.vue +1 -11
- package/src/components/unit/unitMixin.js +8 -5
- package/src/index.js +16 -33
- package/src/styles/common/control.less +63 -27
- package/src/styles/components/controls/{MultipleInput.less → BriInputs.less} +1 -1
- package/src/styles/components/controls/BriLabels.less +4 -2
- package/src/styles/components/controls/{ZUpload.less → BriUpload.less} +5 -6
- package/src/styles/components/controls/DshCheckbox.less +45 -42
- package/src/styles/components/controls/DshCoordinates.less +66 -59
- package/src/styles/components/controls/DshDate.less +1 -52
- package/src/styles/components/controls/DshEditor.less +51 -34
- package/src/styles/components/controls/DshInput.less +13 -34
- package/src/styles/components/controls/DshNumber.less +51 -0
- package/src/styles/components/controls/DshNumberange.less +8 -3
- package/src/styles/components/controls/DshSelect.less +78 -92
- package/src/styles/components/{other → controls}/InfoCascader.less +4 -4
- package/src/styles/components/controls/cascaderTable.less +10 -24
- package/src/styles/components/controls/controlShow.less +3 -1
- package/src/styles/components/controls/flatTable.less +10 -23
- package/src/styles/components/form/DshAdvSearchForm.less +0 -9
- package/src/styles/components/form/DshDefaultSearch.less +0 -20
- package/src/styles/components/index.less +24 -17
- package/src/styles/components/list/DshBox/DshBox.less +20 -0
- package/src/styles/components/list/DshBox/DshCard.less +59 -0
- package/src/styles/components/list/DshBox/DshList.less +142 -0
- package/src/styles/components/list/DshBox/DshPanel.less +107 -0
- package/src/styles/components/list/DshBox/DshTable.less +4 -0
- package/src/styles/components/list/ZTree.less +52 -0
- package/src/styles/components/small/DshControlDefine.less +4 -7
- package/src/styles/components/small/DshDropdown.less +1 -0
- package/src/styles/components/small/DshModal.less +207 -0
- package/src/styles/components/unit/DshFormItem.less +2 -0
- package/src/styles/reset.less +14 -0
- package/src/styles/variables.less +1 -0
- package/src/utils/table.js +5 -4
- package/src/components/controls/base/DshLabels.vue +0 -309
- package/src/components/controls/base/YSerialNumber.vue +0 -36
- package/src/components/controls/base/controlShow.vue +0 -52
- package/src/components/list/easyTable/index.js +0 -23
- package/src/components/list/easyTable/src/directives/clickoutside.js +0 -32
- package/src/components/list/easyTable/src/mixins/layerAdjustment.js +0 -62
- package/src/components/list/easyTable/src/settings/settings.js +0 -11
- package/src/components/list/easyTable/src/utils/deepClone.js +0 -256
- package/src/components/list/easyTable/src/utils/dom.js +0 -41
- package/src/components/list/easyTable/src/utils/utils.js +0 -190
- package/src/components/list/easyTable/v-checkbox/index.js +0 -7
- package/src/components/list/easyTable/v-checkbox/src/checkbox.vue +0 -127
- package/src/components/list/easyTable/v-checkbox-group/index.js +0 -7
- package/src/components/list/easyTable/v-checkbox-group/src/checkbox-group.vue +0 -68
- package/src/components/list/easyTable/v-dropdown/index.js +0 -7
- package/src/components/list/easyTable/v-dropdown/src/dropdown.vue +0 -337
- package/src/components/list/easyTable/v-table/index.js +0 -7
- package/src/components/list/easyTable/v-table/src/body-cell-merge-mixin.js +0 -141
- package/src/components/list/easyTable/v-table/src/cell-edit-mixin.js +0 -102
- package/src/components/list/easyTable/v-table/src/checkbox-selection-mixin.js +0 -189
- package/src/components/list/easyTable/v-table/src/classes-mixin.js +0 -56
- package/src/components/list/easyTable/v-table/src/drag-width-mixin.js +0 -202
- package/src/components/list/easyTable/v-table/src/export-csv.js +0 -74
- package/src/components/list/easyTable/v-table/src/frozen-columns-mixin.js +0 -134
- package/src/components/list/easyTable/v-table/src/loading.vue +0 -49
- package/src/components/list/easyTable/v-table/src/scroll-bar-control-mixin.js +0 -21
- package/src/components/list/easyTable/v-table/src/scroll-control-mixin.js +0 -92
- package/src/components/list/easyTable/v-table/src/sort-control-mixin.js +0 -108
- package/src/components/list/easyTable/v-table/src/table-empty-mixin.js +0 -73
- package/src/components/list/easyTable/v-table/src/table-empty.vue +0 -66
- package/src/components/list/easyTable/v-table/src/table-filters-mixin.js +0 -126
- package/src/components/list/easyTable/v-table/src/table-footer-mixin.js +0 -122
- package/src/components/list/easyTable/v-table/src/table-resize-mixin.js +0 -279
- package/src/components/list/easyTable/v-table/src/table-row-mouse-events-mixin.js +0 -123
- package/src/components/list/easyTable/v-table/src/table.vue +0 -1565
- package/src/components/list/easyTable/v-table/src/title-cell-merge-mixin.js +0 -115
- package/src/components/list/evTable/EvTable.vue +0 -321
- package/src/components/list/evTable/EvTableMixin.js +0 -26
- package/src/styles/components/controls/DshLabels.less +0 -187
- package/src/styles/components/list/evTable.less +0 -79
- package/src/styles/components/list/evtable/animation.less +0 -141
- package/src/styles/components/list/evtable/font/fontello.eot +0 -0
- package/src/styles/components/list/evtable/font/fontello.svg +0 -32
- package/src/styles/components/list/evtable/font/fontello.ttf +0 -0
- package/src/styles/components/list/evtable/font/fontello.woff +0 -0
- package/src/styles/components/list/evtable/font/fontello.woff2 +0 -0
- package/src/styles/components/list/evtable/fontello.less +0 -68
- package/src/styles/components/list/evtable/index.less +0 -5
- package/src/styles/components/list/evtable/v-checkbox.less +0 -167
- package/src/styles/components/list/evtable/v-dropdown.less +0 -235
- package/src/styles/components/list/evtable/v-table.less +0 -334
- package/src/styles/components/list/ivu_reset.less +0 -49
- /package/src/{styles/components/list → abolish}/DshFlatTable.less +0 -0
- /package/src/components/{pages/Error → Error}/Error403.vue +0 -0
- /package/src/components/{pages/Error → Error}/Error404.vue +0 -0
- /package/src/components/{pages/Error → Error}/Error500.vue +0 -0
- /package/src/components/{pages/Error → Error}/error.less +0 -0
- /package/src/components/{pages/Error → Error}/errorBack.vue +0 -0
- /package/src/components/controls/base/{ZUpload → BriUpload}/upload-listItem.vue +0 -0
- /package/src/components/{other → controls/base/DshCascader}/InfoCascader.vue +0 -0
- /package/src/styles/components/list/{DshCrossTable.less → DshBox/DshCrossTable.less} +0 -0
- /package/src/styles/components/list/{DshSingleData.less → DshBox/DshSingleData.less} +0 -0
|
@@ -1,77 +1,84 @@
|
|
|
1
1
|
.DshCoordinates {
|
|
2
2
|
width: 100%;
|
|
3
|
-
line-height:
|
|
4
|
-
.textRight {
|
|
5
|
-
text-align: right;
|
|
6
|
-
}
|
|
3
|
+
line-height: 30px;
|
|
7
4
|
|
|
8
|
-
&-
|
|
5
|
+
&-edit {
|
|
9
6
|
position: relative;
|
|
10
|
-
padding: 0 8px;
|
|
11
|
-
.control-edit();
|
|
12
|
-
&-zuobiao{
|
|
13
|
-
color: #e5e5e5;
|
|
14
|
-
line-height: 32px;
|
|
15
|
-
position: absolute;
|
|
16
|
-
right: 6px;
|
|
17
|
-
top: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
7
|
+
padding: 0 32px 0 8px;
|
|
20
8
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
9
|
+
.value {
|
|
10
|
+
width: 100%;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
26
14
|
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
&-name {
|
|
16
|
+
.dsh-ellipsis();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-icon {
|
|
20
|
+
padding: 5px;
|
|
21
|
+
}
|
|
29
22
|
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-notext {
|
|
33
|
-
.control-placeholder();
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-message {
|
|
37
|
-
position: absolute;
|
|
38
|
-
color: red;
|
|
39
|
-
font-size: 12px;
|
|
40
|
-
bottom: -16px;
|
|
41
|
-
left: 0px;
|
|
42
|
-
}
|
|
43
23
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
height: 100%;
|
|
47
|
-
}
|
|
24
|
+
.nodata {
|
|
25
|
+
color: @placeholderColor;
|
|
48
26
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
27
|
+
&-icon {
|
|
28
|
+
color: #e5e5e5;
|
|
29
|
+
line-height: 32px;
|
|
30
|
+
position: absolute;
|
|
31
|
+
right: 6px;
|
|
32
|
+
top: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
54
35
|
}
|
|
55
|
-
}
|
|
56
36
|
|
|
37
|
+
&-modal {
|
|
38
|
+
&-header {
|
|
39
|
+
padding: 5px 0px;
|
|
40
|
+
|
|
41
|
+
.edit {
|
|
42
|
+
&-message {
|
|
43
|
+
position: absolute;
|
|
44
|
+
color: red;
|
|
45
|
+
font-size: 12px;
|
|
46
|
+
bottom: -16px;
|
|
47
|
+
left: 0px;
|
|
48
|
+
}
|
|
57
49
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
50
|
+
&-text {
|
|
51
|
+
font-size: @textSize;
|
|
52
|
+
line-height: 18px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
61
55
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
56
|
+
.show {
|
|
57
|
+
&-name {
|
|
58
|
+
text-align: right;
|
|
59
|
+
.dsh-padding-top10();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
65
62
|
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.ivu-modal-content {
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
height: 100%;
|
|
71
63
|
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
&-map {
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.ivu-modal-content {
|
|
70
|
+
overflow: hidden;
|
|
74
71
|
height: 100%;
|
|
72
|
+
|
|
73
|
+
.ivu-modal-body {
|
|
74
|
+
padding: 0px;
|
|
75
|
+
height: 100%;
|
|
76
|
+
}
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
|
-
|
|
79
|
+
|
|
80
|
+
&-show {
|
|
81
|
+
padding: 0 8px;
|
|
82
|
+
line-height: 32px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -1,54 +1,3 @@
|
|
|
1
1
|
.DshDate {
|
|
2
2
|
width: 100%;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
// .ivu-date-picker-cells-year .ivu-date-picker-cells-cell-focused,
|
|
6
|
-
// .ivu-date-picker-cells-month .ivu-date-picker-cells-cell-focused {
|
|
7
|
-
// position: relative;
|
|
8
|
-
|
|
9
|
-
// em {
|
|
10
|
-
// background-color: transparent;
|
|
11
|
-
// color: @themeColor;
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
// &::after {
|
|
15
|
-
// position: absolute;
|
|
16
|
-
// bottom: -5px;
|
|
17
|
-
// right: calc(50% - 3px);
|
|
18
|
-
// content: "";
|
|
19
|
-
// width: 6px;
|
|
20
|
-
// height: 6px;
|
|
21
|
-
// border-radius: 50%;
|
|
22
|
-
// background-color: @themeColor;
|
|
23
|
-
// }
|
|
24
|
-
// }
|
|
25
|
-
|
|
26
|
-
// .ivu-date-picker-cells {
|
|
27
|
-
// &-focused em {
|
|
28
|
-
// box-shadow: none;
|
|
29
|
-
// }
|
|
30
|
-
|
|
31
|
-
// span em {
|
|
32
|
-
// border-radius: 50%;
|
|
33
|
-
// }
|
|
34
|
-
|
|
35
|
-
// &-cell-today {
|
|
36
|
-
// em {
|
|
37
|
-
// position: relative;
|
|
38
|
-
// color: @themeColor;
|
|
39
|
-
|
|
40
|
-
// &::after {
|
|
41
|
-
// content: '';
|
|
42
|
-
// display: block;
|
|
43
|
-
// width: 6px;
|
|
44
|
-
// height: 6px;
|
|
45
|
-
// border-radius: 50%;
|
|
46
|
-
// background: #3DB8C5;
|
|
47
|
-
// position: absolute;
|
|
48
|
-
// top: auto;
|
|
49
|
-
// bottom: -5px;
|
|
50
|
-
// right: calc(50% - 3px);
|
|
51
|
-
// }
|
|
52
|
-
// }
|
|
53
|
-
// }
|
|
54
|
-
// }
|
|
3
|
+
}
|
|
@@ -1,64 +1,81 @@
|
|
|
1
1
|
.DshEditor {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
.DshEditor-common () {
|
|
3
|
+
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
&-edit {
|
|
8
|
+
border: 1px solid @borderColor;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
border-color: @theme-hover;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&-placeholder {
|
|
16
|
+
color: @input-placeholder-color;
|
|
17
|
+
}
|
|
5
18
|
}
|
|
19
|
+
|
|
6
20
|
&-wrap {
|
|
7
21
|
border: 1px solid @themeColor;
|
|
8
22
|
border-radius: 4px;
|
|
9
23
|
background: #fff;
|
|
10
24
|
|
|
25
|
+
&-toolbar {
|
|
26
|
+
margin-top: 5px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-text {
|
|
30
|
+
min-height: 130px;
|
|
31
|
+
ul li {
|
|
32
|
+
list-style: disc;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
ol li {
|
|
36
|
+
list-style: auto;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
11
40
|
&-btn {
|
|
12
41
|
text-align: right;
|
|
13
42
|
padding: 10px;
|
|
14
43
|
}
|
|
15
44
|
}
|
|
45
|
+
|
|
46
|
+
&-unit {
|
|
47
|
+
.unit-show();
|
|
48
|
+
display: inline-block;
|
|
49
|
+
|
|
50
|
+
&-nodata {
|
|
51
|
+
.control-notext();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
16
55
|
&-show {
|
|
17
56
|
height: 100%;
|
|
18
57
|
min-height: 32px;
|
|
19
58
|
padding: 4px 10px;
|
|
20
59
|
border-radius: @borderRadius;
|
|
21
|
-
p {
|
|
22
|
-
font-size: 14px !important;
|
|
23
|
-
}
|
|
24
60
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
ul li {
|
|
30
|
-
list-style: disc;
|
|
61
|
+
&-disabled {
|
|
62
|
+
.control-disabled();
|
|
31
63
|
}
|
|
32
64
|
|
|
33
|
-
ol li {
|
|
34
|
-
list-style: auto;
|
|
35
|
-
}
|
|
36
65
|
&-nodata {
|
|
66
|
+
padding-left: 0px;
|
|
37
67
|
border: none;
|
|
38
68
|
color: @grey3;
|
|
39
|
-
padding-left: 0px;
|
|
40
69
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
&-edit {
|
|
47
|
-
border: 1px solid @borderColor;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
&-placeholder {
|
|
50
|
-
color: @input-placeholder-color;
|
|
70
|
+
|
|
71
|
+
p {
|
|
72
|
+
font-size: 14px !important;
|
|
51
73
|
}
|
|
52
|
-
|
|
53
|
-
|
|
74
|
+
|
|
75
|
+
li {
|
|
76
|
+
margin-left: 20px;
|
|
54
77
|
}
|
|
55
|
-
}
|
|
56
|
-
.toolbar {
|
|
57
|
-
margin-top: 5px;
|
|
58
|
-
}
|
|
59
78
|
|
|
60
|
-
.text {
|
|
61
|
-
min-height: 130px;
|
|
62
79
|
ul li {
|
|
63
80
|
list-style: disc;
|
|
64
81
|
}
|
|
@@ -1,46 +1,25 @@
|
|
|
1
1
|
.DshInput {
|
|
2
2
|
width: 100%;
|
|
3
3
|
|
|
4
|
-
&-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
&-ellipsis-readonly {
|
|
12
|
-
color: @textColor-readonly;
|
|
13
|
-
border-color: @border-readonly;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-ellipsis-disabled {
|
|
17
|
-
background-color: @inputBg-disabled;
|
|
18
|
-
color: @textColor-disabled;
|
|
19
|
-
border-color: @border-readonly;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-textarea-show {
|
|
23
|
-
white-space: pre-wrap;
|
|
24
|
-
min-height: 32px;
|
|
25
|
-
height: auto;
|
|
26
|
-
|
|
27
|
-
&.control-default-readonly{
|
|
28
|
-
height: auto;
|
|
4
|
+
&-show {
|
|
5
|
+
&-textarea {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: auto;
|
|
9
|
+
white-space: pre-wrap;
|
|
10
|
+
min-height: 32px;
|
|
29
11
|
}
|
|
30
12
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
13
|
}
|
|
34
14
|
|
|
35
|
-
.DshInput {
|
|
36
|
-
.ivu-tooltip {
|
|
37
|
-
width: 100%;
|
|
38
|
-
display: flex;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
15
|
.ivu-input {
|
|
42
16
|
.control-edit();
|
|
17
|
+
cursor: text;
|
|
18
|
+
|
|
43
19
|
&[disabled] {
|
|
44
|
-
.control-disabled();
|
|
20
|
+
.control-disabled();
|
|
21
|
+
&:hover {
|
|
22
|
+
border-color: @border-disabled;
|
|
23
|
+
}
|
|
45
24
|
}
|
|
46
25
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.DshNumber {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&-suffix {
|
|
5
|
+
min-width: 32px;
|
|
6
|
+
border-left: 1px solid @borderColor;
|
|
7
|
+
background-color: #F0F0F0;
|
|
8
|
+
text-align: center;
|
|
9
|
+
color: @textColor;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.ivu-input-number {
|
|
13
|
+
width: 100%;
|
|
14
|
+
|
|
15
|
+
&-input {
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
opacity: 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-disabled {
|
|
21
|
+
.control-disabled();
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
border-color: @border-disabled;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.DshNumber-suffix {
|
|
28
|
+
color: @textColor-disabled;
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
border-color: transparent;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.ivu-input-number-handler {
|
|
35
|
+
&-wrap {
|
|
36
|
+
// opacity: 1;
|
|
37
|
+
border-left: none;
|
|
38
|
+
}
|
|
39
|
+
&-down {
|
|
40
|
+
border: none;
|
|
41
|
+
}
|
|
42
|
+
&:hover {
|
|
43
|
+
background-color: @hoverBg;
|
|
44
|
+
.ivu-input-number-handler-down-inner, .ivu-input-number-handler-up-inner {
|
|
45
|
+
color: @textColor;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&-down-inner, &-up-inner {
|
|
49
|
+
color: @contentColor;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -14,11 +14,16 @@
|
|
|
14
14
|
color: @textColor;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
&-suffix {
|
|
18
|
+
padding-right: 24px;
|
|
19
|
+
padding-left: 8px;
|
|
20
|
+
line-height: 30px;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
17
24
|
input {
|
|
18
25
|
text-overflow: ellipsis;
|
|
19
26
|
overflow: hidden;
|
|
20
27
|
white-space: nowrap;
|
|
21
28
|
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.DshNumberange {}
|
|
29
|
+
}
|
|
@@ -4,6 +4,67 @@
|
|
|
4
4
|
&-radioGroup {
|
|
5
5
|
width: 100%;
|
|
6
6
|
|
|
7
|
+
&-useColor {
|
|
8
|
+
.ivu-radio-border {
|
|
9
|
+
height: 32px;
|
|
10
|
+
line-height: 32px;
|
|
11
|
+
border-radius: 4px;
|
|
12
|
+
border: none;
|
|
13
|
+
color: #FFF;
|
|
14
|
+
margin-bottom: 5px;
|
|
15
|
+
margin-right: 16px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ivu-radio {
|
|
19
|
+
.ivu-radio-inner {
|
|
20
|
+
border: 2px solid @themeColor;
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
width: 14px;
|
|
23
|
+
height: 14px;
|
|
24
|
+
|
|
25
|
+
&::after {
|
|
26
|
+
width: 6px;
|
|
27
|
+
height: 6px;
|
|
28
|
+
left: 2px;
|
|
29
|
+
top: 2px;
|
|
30
|
+
background-color: transparent;
|
|
31
|
+
opacity: 1;
|
|
32
|
+
transform: scale(1);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ivu-radio-focus {
|
|
37
|
+
box-shadow: 0 0 0 0;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ivu-radio-checked {
|
|
42
|
+
.ivu-radio-inner {
|
|
43
|
+
&::after {
|
|
44
|
+
background-color: @themeColor;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
each(@resourceColor, {
|
|
50
|
+
.color-@{index} {
|
|
51
|
+
.ivu-radio {
|
|
52
|
+
.ivu-radio-inner {
|
|
53
|
+
border-color: @value;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ivu-radio-checked {
|
|
58
|
+
.ivu-radio-inner {
|
|
59
|
+
&::after {
|
|
60
|
+
background-color: @value;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
|
|
7
68
|
&-scroll {
|
|
8
69
|
overflow-x: auto;
|
|
9
70
|
overflow-y: hidden;
|
|
@@ -74,7 +135,11 @@
|
|
|
74
135
|
}
|
|
75
136
|
}
|
|
76
137
|
|
|
77
|
-
|
|
138
|
+
&-value {
|
|
139
|
+
.DshCheckbox-value();
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&-tip {
|
|
78
143
|
cursor: pointer;
|
|
79
144
|
|
|
80
145
|
.ivu-radio {
|
|
@@ -83,96 +148,6 @@
|
|
|
83
148
|
}
|
|
84
149
|
}
|
|
85
150
|
|
|
86
|
-
.DshSelect {
|
|
87
|
-
&-radioGroup {
|
|
88
|
-
&-useColor {
|
|
89
|
-
.ivu-radio-border {
|
|
90
|
-
height: 32px;
|
|
91
|
-
line-height: 32px;
|
|
92
|
-
border-radius: 4px;
|
|
93
|
-
border: none;
|
|
94
|
-
color: #FFF;
|
|
95
|
-
margin-bottom: 5px;
|
|
96
|
-
margin-right: 16px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.ivu-radio {
|
|
100
|
-
.ivu-radio-inner {
|
|
101
|
-
border: 2px solid @themeColor;
|
|
102
|
-
background-color: transparent;
|
|
103
|
-
width: 14px;
|
|
104
|
-
height: 14px;
|
|
105
|
-
|
|
106
|
-
&::after {
|
|
107
|
-
width: 6px;
|
|
108
|
-
height: 6px;
|
|
109
|
-
left: 2px;
|
|
110
|
-
top: 2px;
|
|
111
|
-
background-color: transparent;
|
|
112
|
-
opacity: 1;
|
|
113
|
-
transform: scale(1);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.ivu-radio-focus {
|
|
118
|
-
box-shadow: 0 0 0 0;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.ivu-radio-checked {
|
|
123
|
-
.ivu-radio-inner {
|
|
124
|
-
&::after {
|
|
125
|
-
background-color: @themeColor;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
each(@resourceColor, {
|
|
131
|
-
.color-@{index} {
|
|
132
|
-
.ivu-radio {
|
|
133
|
-
.ivu-radio-inner {
|
|
134
|
-
border-color: @value;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.ivu-radio-checked {
|
|
139
|
-
.ivu-radio-inner {
|
|
140
|
-
&::after {
|
|
141
|
-
background-color: @value;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&-select-prefix {
|
|
153
|
-
color: @themeColor;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&-tooltip {
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
width: 100%;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&-content {
|
|
163
|
-
display: inline-block;
|
|
164
|
-
text-align: center;
|
|
165
|
-
max-width: 100%;
|
|
166
|
-
line-height: 100%;
|
|
167
|
-
vertical-align: middle;
|
|
168
|
-
width: fit-content;
|
|
169
|
-
border-radius: 14px;
|
|
170
|
-
line-height: 100%;
|
|
171
|
-
padding: 5px 10px;
|
|
172
|
-
font-size: 14px;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
151
|
.ivu-select-item {
|
|
177
152
|
margin: 4px 8px;
|
|
178
153
|
border-radius: @borderRadius;
|
|
@@ -185,4 +160,15 @@
|
|
|
185
160
|
background-color: @theme-focus !important;
|
|
186
161
|
color: @themeColor;
|
|
187
162
|
}
|
|
188
|
-
|
|
163
|
+
|
|
164
|
+
&-disabled {
|
|
165
|
+
.ivu-select-selection {
|
|
166
|
+
.control-disabled();
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&-input[disabled] {
|
|
171
|
+
color: @textColor-disabled;
|
|
172
|
+
-webkit-text-fill-color: @textColor-disabled;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -1,33 +1,19 @@
|
|
|
1
1
|
.cascaderTable {
|
|
2
|
+
|
|
2
3
|
&-unit {
|
|
3
|
-
.unit-show()
|
|
4
|
+
.unit-show();
|
|
5
|
+
|
|
6
|
+
&-text {
|
|
7
|
+
|
|
8
|
+
}
|
|
4
9
|
}
|
|
10
|
+
|
|
5
11
|
&-btns {
|
|
6
12
|
text-align: right;
|
|
7
13
|
color: @textColor;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
overflow:hidden;
|
|
12
|
-
background-color: #FFF;
|
|
13
|
-
&-icon {
|
|
14
|
-
font-size: 18px;
|
|
15
|
-
color: @themeColor;
|
|
16
|
-
}
|
|
17
|
-
&-outspan {
|
|
18
|
-
display: inline-block;
|
|
19
|
-
height: 24px;
|
|
20
|
-
line-height: 24px;
|
|
21
|
-
padding: 0 5px;
|
|
22
|
-
margin: auto;
|
|
23
|
-
background: rgba(96, 144, 237, 0.15);
|
|
24
|
-
border-radius: 12px;
|
|
25
|
-
text-align: center;
|
|
26
|
-
color: @themeColor;
|
|
27
|
-
}
|
|
28
|
-
&-innerspan {
|
|
29
|
-
font-size: 14px;
|
|
30
|
-
color: @themeColor;
|
|
14
|
+
|
|
15
|
+
&-item {
|
|
16
|
+
|
|
31
17
|
}
|
|
32
18
|
}
|
|
33
19
|
}
|