dcp-design-react 1.12.13 → 1.12.15
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/config-provider/src/config-provider.d.ts +2 -0
- package/lib/form/src/types.d.ts +1 -0
- package/lib/form/src/utils.d.ts +0 -1
- package/lib/form/style/index.less +16 -14
- package/lib/index.d.ts +4 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/index.d.ts +0 -1
- package/lib/locale/index.js +0 -1
- package/lib/locale/lang/en.d.ts +5 -0
- package/lib/locale/lang/en.js +5 -0
- package/lib/locale/lang/zh-cn.d.ts +5 -0
- package/lib/locale/lang/zh-cn.js +5 -0
- package/lib/pivot-grid/style/grid-layout.less +9 -3
- package/lib/style/index.css +69 -19
- package/lib/style/index.less +1 -0
- package/lib/style/index.min.css +1 -1
- package/lib/style/mixins/reset.less +9 -0
- package/lib/table/src/context/index.d.ts +9 -2
- package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -0
- package/lib/table/src/hooks/useTableCore.d.ts +10 -2
- package/lib/table/src/hooks/useTableState.d.ts +8 -2
- package/lib/table/src/table/props.d.ts +2 -2
- package/lib/table/src/table/types.d.ts +5 -4
- package/lib/table/style/header.less +1 -1
- package/lib/translate/index.d.ts +3 -0
- package/lib/translate/src/translate.d.ts +16 -0
- package/lib/translate/src/use-tooltip.d.ts +9 -0
- package/lib/translate/src/use-translation.d.ts +12 -0
- package/lib/translate/style/index.less +32 -0
- package/package.json +1 -1
package/lib/locale/index.d.ts
CHANGED
package/lib/locale/index.js
CHANGED
package/lib/locale/lang/en.d.ts
CHANGED
package/lib/locale/lang/en.js
CHANGED
package/lib/locale/lang/zh-cn.js
CHANGED
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
&.selection-column {
|
|
115
115
|
justify-content: center;
|
|
116
116
|
border-right-color: transparent;
|
|
117
|
+
cursor: default;
|
|
117
118
|
}
|
|
118
119
|
.action {
|
|
119
120
|
display: inline-flex;
|
|
@@ -127,6 +128,7 @@
|
|
|
127
128
|
width: 20px;
|
|
128
129
|
height: 20px;
|
|
129
130
|
color: @--text-color-placeholder;
|
|
131
|
+
cursor: pointer;
|
|
130
132
|
visibility: hidden;
|
|
131
133
|
}
|
|
132
134
|
.drag-icon {
|
|
@@ -402,11 +404,15 @@
|
|
|
402
404
|
z-index: 1;
|
|
403
405
|
}
|
|
404
406
|
.title {
|
|
405
|
-
flex
|
|
407
|
+
flex: 1 0;
|
|
406
408
|
margin-left: 8px;
|
|
407
|
-
margin-right: 20px;
|
|
408
409
|
font-weight: 600;
|
|
409
|
-
.
|
|
410
|
+
.text-overflow-cut();
|
|
411
|
+
& + .count-select {
|
|
412
|
+
width: fit-content;
|
|
413
|
+
padding-left: @--padding-md;
|
|
414
|
+
}
|
|
415
|
+
&.empty {
|
|
410
416
|
color: @--text-color-placeholder;
|
|
411
417
|
font-weight: 400;
|
|
412
418
|
}
|
package/lib/style/index.css
CHANGED
|
@@ -27867,21 +27867,14 @@ body {
|
|
|
27867
27867
|
.qm-form .ant-form-item {
|
|
27868
27868
|
margin-bottom: 12px;
|
|
27869
27869
|
}
|
|
27870
|
-
.qm-form .ant-form-item .ant-form-item-label > label
|
|
27870
|
+
.qm-form .ant-form-item .ant-form-item-label > label:has(.ant-select) {
|
|
27871
27871
|
width: 100%;
|
|
27872
|
-
display: inline-flex;
|
|
27873
|
-
justify-content: right;
|
|
27874
27872
|
}
|
|
27875
|
-
.qm-form .ant-form-item .ant-form-item-label > label
|
|
27876
|
-
flex: auto;
|
|
27877
|
-
width: 0;
|
|
27873
|
+
.qm-form .ant-form-item .ant-form-item-label > label:has(.ant-select) .ant-select {
|
|
27878
27874
|
text-align: left;
|
|
27879
27875
|
}
|
|
27880
|
-
.qm-form .ant-form-item .ant-form-item-label-
|
|
27881
|
-
|
|
27882
|
-
}
|
|
27883
|
-
.qm-form .ant-form-item .ant-form-item-label-left > label[title=''] {
|
|
27884
|
-
justify-content: left;
|
|
27876
|
+
.qm-form .ant-form-item .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
|
|
27877
|
+
margin: 0 2px;
|
|
27885
27878
|
}
|
|
27886
27879
|
.qm-form .ant-form-item input::-moz-placeholder {
|
|
27887
27880
|
text-align: left;
|
|
@@ -27947,8 +27940,6 @@ body {
|
|
|
27947
27940
|
height: 100%;
|
|
27948
27941
|
display: flex;
|
|
27949
27942
|
align-items: center;
|
|
27950
|
-
}
|
|
27951
|
-
.qm-form .ant-form-item .extra-overflow-cut {
|
|
27952
27943
|
overflow: hidden;
|
|
27953
27944
|
text-overflow: ellipsis;
|
|
27954
27945
|
white-space: nowrap;
|
|
@@ -28004,8 +27995,27 @@ body {
|
|
|
28004
27995
|
.qm-form .ant-form-vertical .ant-form-item .ant-form-item-label {
|
|
28005
27996
|
padding-bottom: 4px;
|
|
28006
27997
|
}
|
|
28007
|
-
.qm-form .ant-form-vertical .ant-form-item .ant-form-item-label label
|
|
28008
|
-
|
|
27998
|
+
.qm-form .ant-form-vertical .ant-form-item .ant-form-item-label > label:has(.ant-select) {
|
|
27999
|
+
width: 50%;
|
|
28000
|
+
}
|
|
28001
|
+
.qm-form__label-wrap .ant-form-item .ant-form-item-label > label .text {
|
|
28002
|
+
line-height: 1.075;
|
|
28003
|
+
display: -webkit-box;
|
|
28004
|
+
-webkit-box-orient: vertical;
|
|
28005
|
+
-webkit-line-clamp: 2;
|
|
28006
|
+
line-clamp: 2;
|
|
28007
|
+
overflow: hidden;
|
|
28008
|
+
text-overflow: ellipsis;
|
|
28009
|
+
}
|
|
28010
|
+
.qm-form__label-wrap .ant-form-item .extra-text {
|
|
28011
|
+
line-height: 1.075;
|
|
28012
|
+
white-space: normal;
|
|
28013
|
+
display: -webkit-box;
|
|
28014
|
+
-webkit-box-orient: vertical;
|
|
28015
|
+
-webkit-line-clamp: 2;
|
|
28016
|
+
line-clamp: 2;
|
|
28017
|
+
overflow: hidden;
|
|
28018
|
+
text-overflow: ellipsis;
|
|
28009
28019
|
}
|
|
28010
28020
|
.qm-form--sm .ant-form-item {
|
|
28011
28021
|
margin-bottom: 10px;
|
|
@@ -29719,7 +29729,12 @@ body {
|
|
|
29719
29729
|
}
|
|
29720
29730
|
.header--column .cell--wrapper .cell--text .cell {
|
|
29721
29731
|
padding-right: 2px;
|
|
29722
|
-
|
|
29732
|
+
display: -webkit-box;
|
|
29733
|
+
-webkit-box-orient: vertical;
|
|
29734
|
+
-webkit-line-clamp: 2;
|
|
29735
|
+
line-clamp: 2;
|
|
29736
|
+
overflow: hidden;
|
|
29737
|
+
text-overflow: ellipsis;
|
|
29723
29738
|
}
|
|
29724
29739
|
.header--column .cell--wrapper .cell--text .tip {
|
|
29725
29740
|
padding: 2px;
|
|
@@ -31425,6 +31440,7 @@ body {
|
|
|
31425
31440
|
.qm-pivot-grid__layout .footer .table-cell.selection-column {
|
|
31426
31441
|
justify-content: center;
|
|
31427
31442
|
border-right-color: transparent;
|
|
31443
|
+
cursor: default;
|
|
31428
31444
|
}
|
|
31429
31445
|
.qm-pivot-grid__layout .header .table-cell .action,
|
|
31430
31446
|
.qm-pivot-grid__layout .body .table-cell .action,
|
|
@@ -31445,6 +31461,7 @@ body {
|
|
|
31445
31461
|
width: 20px;
|
|
31446
31462
|
height: 20px;
|
|
31447
31463
|
color: rgba(0, 0, 0, 0.45);
|
|
31464
|
+
cursor: pointer;
|
|
31448
31465
|
visibility: hidden;
|
|
31449
31466
|
}
|
|
31450
31467
|
.qm-pivot-grid__layout .header .table-cell .action .drag-icon,
|
|
@@ -31743,12 +31760,19 @@ body {
|
|
|
31743
31760
|
z-index: 1;
|
|
31744
31761
|
}
|
|
31745
31762
|
.qm-pivot-grid__layout .container .group-label .label-cell .title {
|
|
31746
|
-
flex
|
|
31763
|
+
flex: 1 0;
|
|
31747
31764
|
margin-left: 8px;
|
|
31748
|
-
margin-right: 20px;
|
|
31749
31765
|
font-weight: 600;
|
|
31766
|
+
overflow: hidden;
|
|
31767
|
+
text-overflow: ellipsis;
|
|
31768
|
+
white-space: nowrap;
|
|
31769
|
+
}
|
|
31770
|
+
.qm-pivot-grid__layout .container .group-label .label-cell .title + .count-select {
|
|
31771
|
+
width: -moz-fit-content;
|
|
31772
|
+
width: fit-content;
|
|
31773
|
+
padding-left: 10px;
|
|
31750
31774
|
}
|
|
31751
|
-
.qm-pivot-grid__layout .container .group-label .label-cell .title
|
|
31775
|
+
.qm-pivot-grid__layout .container .group-label .label-cell .title.empty {
|
|
31752
31776
|
color: rgba(0, 0, 0, 0.45);
|
|
31753
31777
|
font-weight: 400;
|
|
31754
31778
|
}
|
|
@@ -31988,3 +32012,29 @@ body {
|
|
|
31988
32012
|
.qm-color-picker-slider-container .qm-color-picker-slider-group-disabled-alpha .qm-color-picker-slider {
|
|
31989
32013
|
margin-bottom: 0;
|
|
31990
32014
|
}
|
|
32015
|
+
/*
|
|
32016
|
+
* @Author: 焦质晔
|
|
32017
|
+
* @Date: 2025-11-10 13:37:08
|
|
32018
|
+
* @Last Modified by: 焦质晔
|
|
32019
|
+
* @Last Modified time: 2025-11-10 17:18:14
|
|
32020
|
+
*/
|
|
32021
|
+
.qm-translate.help-cursor {
|
|
32022
|
+
cursor: help;
|
|
32023
|
+
}
|
|
32024
|
+
.qm-translate__tooltip {
|
|
32025
|
+
min-width: 150px;
|
|
32026
|
+
max-width: 300px;
|
|
32027
|
+
border-radius: 6px !important;
|
|
32028
|
+
padding-left: 12px !important;
|
|
32029
|
+
padding-right: 12px !important;
|
|
32030
|
+
}
|
|
32031
|
+
.qm-translate__tooltip .label,
|
|
32032
|
+
.qm-translate__tooltip .text {
|
|
32033
|
+
margin: 4px 0;
|
|
32034
|
+
}
|
|
32035
|
+
.qm-translate__tooltip .label {
|
|
32036
|
+
color: rgba(0, 0, 0, 0.45);
|
|
32037
|
+
}
|
|
32038
|
+
.qm-translate__tooltip .primary {
|
|
32039
|
+
color: #1890ff;
|
|
32040
|
+
}
|
package/lib/style/index.less
CHANGED