dcp-design-react 1.11.21 → 1.11.23

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.
@@ -6,6 +6,7 @@ type IExtra = {
6
6
  tableRef: React.MutableRefObject<ITableRef>;
7
7
  tableFullData: IRecord[];
8
8
  tableFlatData: IRecord[];
9
+ updateMark: number;
9
10
  sorter: ISorter;
10
11
  filters: IFilter;
11
12
  superFilters: ISuperFilter[];
@@ -1,103 +1,104 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2020-02-28 22:13:54
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2024-12-01 18:48:00
6
- */
7
- .body--row {
8
- &-draggable {
9
- position: relative;
10
- .drop-indicator {
11
- position: absolute;
12
- right: 0;
13
- bottom: 0;
14
- z-index: 5;
15
- height: 2px;
16
- background-color: @v-primary-color;
17
- border-radius: 1px;
18
- pointer-events: none;
19
- &::after {
20
- position: absolute;
21
- top: -3px;
22
- left: 0;
23
- width: 8px;
24
- height: 8px;
25
- background-color: #fff;
26
- border: 2px solid @v-primary-color;
27
- border-radius: 50%;
28
- content: '';
29
- }
30
- }
31
- }
32
- }
33
- .body--column {
34
- .cell--edit {
35
- margin: 0 -1 * (@v-module-distance - 1px);
36
- // placeholder
37
- input::placeholder {
38
- text-align: left;
39
- }
40
- // search
41
- .ant-input-search {
42
- width: calc(100% + 1px);
43
- & > .ant-input-group > .ant-input-group-addon {
44
- line-height: 1;
45
- }
46
- }
47
- // search-helper-multiple
48
- .search-helper-multiple {
49
- .ant-input-group > .ant-select:first-child {
50
- z-index: 1;
51
- .ant-select-selector {
52
- border-top-right-radius: 0;
53
- border-bottom-right-radius: 0;
54
- }
55
- }
56
- .ant-select-multiple {
57
- .ant-select-selection-overflow-item-rest {
58
- pointer-events: none;
59
- }
60
- }
61
- }
62
- // textArea
63
- textarea[class='ant-input'] {
64
- resize: none;
65
- }
66
- &.is-error {
67
- position: relative;
68
- .ant-input,
69
- .ant-input-affix-wrapper {
70
- border-color: @v-danger-color;
71
- box-shadow: none;
72
- z-index: 1;
73
- }
74
- .ant-input-search {
75
- & + .cell-error {
76
- right: 38px;
77
- }
78
- }
79
- .cell-error {
80
- position: absolute;
81
- top: calc(50% - 9px);
82
- font-size: @v-font-size-small;
83
- color: @v-danger-color;
84
- right: 8px;
85
- pointer-events: none;
86
- z-index: 1;
87
- }
88
- }
89
- }
90
- &.col--center {
91
- .cell--edit .ant-input {
92
- text-align: center;
93
- }
94
- }
95
- &.col--right {
96
- .cell--edit .ant-input {
97
- text-align: right;
98
- }
99
- }
100
- &.selected {
101
- background-color: @v-table-row-selected-background-color !important;
102
- }
103
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2020-02-28 22:13:54
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2024-12-01 18:48:00
6
+ */
7
+ .body--row {
8
+ &-draggable {
9
+ position: relative;
10
+ .drop-indicator {
11
+ position: absolute;
12
+ right: 0;
13
+ bottom: 0;
14
+ z-index: 5;
15
+ height: 2px;
16
+ background-color: @v-primary-color;
17
+ border-radius: 1px;
18
+ pointer-events: none;
19
+ &::after {
20
+ position: absolute;
21
+ top: -3px;
22
+ left: 0;
23
+ width: 8px;
24
+ height: 8px;
25
+ background-color: #fff;
26
+ border: 2px solid @v-primary-color;
27
+ border-radius: 50%;
28
+ content: '';
29
+ }
30
+ }
31
+ }
32
+ }
33
+ .body--column {
34
+ .cell--edit {
35
+ margin: 0 -1 * (@v-module-distance - 1px);
36
+ // placeholder
37
+ input::placeholder {
38
+ text-align: left;
39
+ }
40
+ // search
41
+ .ant-input-search {
42
+ width: calc(100% + 1px);
43
+ & > .ant-input-group > .ant-input-group-addon {
44
+ line-height: 1;
45
+ }
46
+ }
47
+ // search-helper-multiple
48
+ .search-helper-multiple {
49
+ .ant-input-group > .ant-select:first-child {
50
+ z-index: 1;
51
+ .ant-select-selector {
52
+ border-top-right-radius: 0;
53
+ border-bottom-right-radius: 0;
54
+ }
55
+ }
56
+ .ant-select-multiple {
57
+ .ant-select-selection-overflow-item-rest {
58
+ pointer-events: none;
59
+ }
60
+ }
61
+ }
62
+ // textArea
63
+ textarea[class='ant-input'] {
64
+ resize: none;
65
+ }
66
+ &.is-error {
67
+ position: relative;
68
+ .ant-input,
69
+ .ant-input-affix-wrapper,
70
+ .ant-select > .ant-select-selector {
71
+ border-color: @v-danger-color;
72
+ box-shadow: none;
73
+ z-index: 1;
74
+ }
75
+ .ant-input-search {
76
+ & + .cell-error {
77
+ right: 38px;
78
+ }
79
+ }
80
+ .cell-error {
81
+ position: absolute;
82
+ top: calc(50% - 9px);
83
+ font-size: @v-font-size-small;
84
+ color: @v-danger-color;
85
+ right: 8px;
86
+ pointer-events: none;
87
+ z-index: 1;
88
+ }
89
+ }
90
+ }
91
+ &.col--center {
92
+ .cell--edit .ant-input {
93
+ text-align: center;
94
+ }
95
+ }
96
+ &.col--right {
97
+ .cell--edit .ant-input {
98
+ text-align: right;
99
+ }
100
+ }
101
+ &.selected {
102
+ background-color: @v-table-row-selected-background-color !important;
103
+ }
104
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcp-design-react",
3
- "version": "1.11.21",
3
+ "version": "1.11.23",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",