cnhis-design-vue 3.1.9-beta.1 → 3.1.9-beta.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.
Files changed (61) hide show
  1. package/README.md +22 -22
  2. package/es/packages/big-table/index.d.ts +1 -1
  3. package/es/packages/big-table/src/BigTable.vue.d.ts +1 -1
  4. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.mjs +3 -1
  5. package/es/packages/big-table/style/index.less +557 -557
  6. package/es/packages/bpmn-workflow/style/index.less +29 -29
  7. package/es/packages/button-print/style/index.less +30 -30
  8. package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +4 -6
  9. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +0 -3
  10. package/es/packages/chunk-upload/style/index.less +394 -394
  11. package/es/packages/drag-layout/src/DragLayout.vue.d.ts +5 -8
  12. package/es/packages/drag-layout/style/index.less +208 -208
  13. package/es/packages/field-set/style/index.less +157 -157
  14. package/es/packages/form-render/index.d.ts +267 -3
  15. package/es/packages/form-render/index.mjs +2 -0
  16. package/es/packages/form-render/src/FormRender.vue.d.ts +267 -3
  17. package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.mjs +39 -25
  18. package/es/packages/form-render/src/components/cascader.d.ts +6 -2
  19. package/es/packages/form-render/src/components/cascader.mjs +12 -6
  20. package/es/packages/form-render/src/components/select.d.ts +12 -2
  21. package/es/packages/form-render/src/components/select.mjs +65 -29
  22. package/es/packages/form-render/src/constants/index.d.ts +4 -1
  23. package/es/packages/form-render/src/constants/index.mjs +3 -1
  24. package/es/packages/form-render/src/hooks/index.d.ts +11 -9
  25. package/es/packages/form-render/src/hooks/index.mjs +2 -0
  26. package/es/packages/form-render/src/hooks/useAsyncQueue.d.ts +13 -33
  27. package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +5 -3
  28. package/es/packages/form-render/src/hooks/useBusinessBinding.mjs +15 -15
  29. package/es/packages/form-render/src/hooks/useChangeContext.d.ts +11 -0
  30. package/es/packages/form-render/src/hooks/useChangeContext.mjs +21 -0
  31. package/es/packages/form-render/src/hooks/useFormField.d.ts +1 -0
  32. package/es/packages/form-render/src/hooks/useFormField.mjs +7 -1
  33. package/es/packages/form-render/src/hooks/useFormItemDeps.d.ts +8 -0
  34. package/es/packages/form-render/src/hooks/useFormItemDeps.mjs +29 -0
  35. package/es/packages/form-render/src/types/index.d.ts +16 -6
  36. package/es/packages/form-render/src/utils/index.d.ts +5 -3
  37. package/es/packages/form-render/src/utils/index.mjs +13 -1
  38. package/es/packages/form-table/style/index.less +301 -301
  39. package/es/packages/grid/style/index.less +12 -12
  40. package/es/packages/index.css +0 -3
  41. package/es/packages/index.less +2941 -2945
  42. package/es/packages/index.mjs +2 -0
  43. package/es/packages/info-header/index.d.ts +18 -2
  44. package/es/packages/info-header/src/HiddenContent.vue.d.ts +29 -13
  45. package/es/packages/info-header/src/HiddenContent.vue_vue_type_script_setup_true_lang.mjs +6 -4
  46. package/es/packages/info-header/src/InfoHeader.vue.d.ts +18 -2
  47. package/es/packages/info-header/src/InfoHeader.vue_vue_type_script_setup_true_lang.mjs +10 -5
  48. package/es/packages/info-header/style/index.css +0 -3
  49. package/es/packages/info-header/style/index.less +149 -153
  50. package/es/packages/map/style/index.less +59 -59
  51. package/es/packages/scale-view/style/index.less +748 -748
  52. package/es/packages/select-label/src/LabelFormContent.vue.d.ts +0 -3
  53. package/es/packages/select-label/style/index.less +151 -151
  54. package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.mjs +1 -1
  55. package/es/packages/select-person/style/index.less +229 -229
  56. package/es/packages/time-line/style/index.less +34 -34
  57. package/es/src/types/index.d.ts +1 -0
  58. package/es/src/utils/anime.mjs +1 -1
  59. package/global.d.ts +8 -8
  60. package/package.json +1 -1
  61. package/yarn-error.log +8659 -103
@@ -1,301 +1,301 @@
1
- .table-form-age-error {
2
- border-color: red !important;
3
-
4
- .table-age-input {
5
- border-color: red !important;
6
- }
7
-
8
- .n-select-selection--single {
9
- border-color: red !important;
10
- }
11
- }
12
-
13
- .table-date-picker {
14
- min-width: unset !important;
15
- width: 100%;
16
- }
17
-
18
- .table-date-picker-error {
19
- .n-input {
20
- border-color: red !important;
21
- }
22
- }
23
-
24
- .text-over-tooltip-components {
25
- display: inline-block;
26
- max-width: 100%;
27
- /* 文字超出宽度显示省略号 单行 */
28
-
29
- .ellipsis {
30
- font-size: 14px;
31
- color: #35393c;
32
- overflow: hidden;
33
- text-overflow: ellipsis;
34
- white-space: nowrap;
35
-
36
- i {
37
- font-style: normal;
38
- word-break: keep-all;
39
- white-space: nowrap;
40
- }
41
- }
42
-
43
- /* 自定义样式 */
44
-
45
- .fs20 {
46
- font-size: 20px;
47
- font-weight: 600;
48
- color: green;
49
- line-height: 22px;
50
- }
51
-
52
- .fs12 {
53
- font-size: 12px;
54
- font-weight: 400;
55
- color: orange;
56
- line-height: 14px;
57
- }
58
- }
59
-
60
- .ant-input-group {
61
- display: table !important;
62
-
63
- .n-input-number {
64
- width: 100%;
65
-
66
- &.table-error-digital {
67
- border-color: red !important;
68
-
69
- input {
70
- border-color: red !important;
71
- }
72
- }
73
- }
74
- }
75
-
76
- .table-digital-com {
77
- .n-input-group-addon {
78
- max-width: 52px;
79
-
80
- .text-over-tooltip-components {
81
- display: inline;
82
- }
83
- }
84
- }
85
-
86
- .table-error-input {
87
- border-color: red !important;
88
-
89
- input {
90
- border-color: red !important;
91
- }
92
- }
93
-
94
- .table-input-com {
95
- .n-input-group-addon {
96
- max-width: 52px;
97
-
98
- .text-over-tooltip-components {
99
- display: inline;
100
- }
101
- }
102
- }
103
-
104
- .table-month-picker {
105
- width: 100%;
106
- }
107
-
108
- .table-month-picker-error {
109
- .n-input {
110
- border-color: red !important;
111
- }
112
- }
113
-
114
- .table-default-select {
115
- .title-line {
116
- font-weight: 700;
117
- color: #000;
118
- font-size: 14px;
119
- }
120
-
121
- .select-content-item {
122
- padding: 0 5px;
123
- }
124
-
125
- .n-select-dropdown-menu-item-selected {
126
- color: #5585f5;
127
- }
128
- }
129
-
130
- .tableItem-search-more-select {
131
- .title-line {
132
- font-weight: 700;
133
- color: #000;
134
- font-size: 14px;
135
- }
136
- .select-content-item {
137
- padding: 0 5px;
138
- }
139
- .n-select-dropdown-menu-item-selected {
140
- color: #5585f5;
141
- }
142
- }
143
-
144
- .table-select-error {
145
- .n-select-selection {
146
- border-color: red !important;
147
- }
148
- }
149
-
150
- .table-error-textarea {
151
- .n-input {
152
- border-color: red !important;
153
- }
154
- }
155
-
156
- .table-time-picker {
157
- width: 100%;
158
- }
159
-
160
- .table-time-picker-error {
161
- .n-input {
162
- border-color: red !important;
163
- }
164
- }
165
-
166
-
167
- .formTable-page-disabled--detail {
168
- .vxe-table {
169
- .vxe-cell {
170
- .form-table-item {
171
- display: flex;
172
- align-items: center;
173
- justify-content: center;
174
- height: 31px;
175
- }
176
-
177
- .ant-select-disabled {
178
- .ant-select-selection {
179
- border: 0 !important;
180
- background: transparent;
181
- }
182
-
183
- .ant-select-arrow {
184
- display: none;
185
- }
186
-
187
- .ant-select-selection-selected-value {
188
- color: #606266;
189
- }
190
- }
191
-
192
- .DATE-container {
193
- .ant-input {
194
- padding: 0;
195
- text-align: center;
196
- border: 0 !important;
197
- background-color: transparent;
198
- }
199
-
200
- .ant-calendar-picker-icon {
201
- display: none;
202
- }
203
- }
204
-
205
- .SELECT-container {
206
- .ant-select-selection {
207
- max-width: 100%;
208
- }
209
- }
210
- }
211
- }
212
- }
213
-
214
- .formTable-page {
215
- width: 100%;
216
- min-height: 100px;
217
- max-height: 350px;
218
-
219
- .vxe-table {
220
- &.vxe-table--render-default .vxe-body--column:not(.col--ellipsis),
221
- &.vxe-table--render-default .vxe-footer--column:not(.col--ellipsis),
222
- &.vxe-table--render-default .vxe-header--column:not(.col--ellipsis) {
223
- padding: 0;
224
- }
225
-
226
- .vxe-table--body-wrapper::-webkit-scrollbar {
227
- width: 10px;
228
- height: 10px;
229
- }
230
-
231
- .vxe-table--empty-content {
232
- height: 100%;
233
- max-height: 100%;
234
-
235
- > div {
236
- display: flex;
237
- justify-content: center;
238
- align-items: center;
239
- height: 100%;
240
- max-height: 100%;
241
- }
242
- }
243
-
244
- .vxe-cell {
245
- width: 100%;
246
- padding: 9px 10px;
247
- max-height: unset;
248
- line-height: unset;
249
- height: unset;
250
- min-height: 32px;
251
- justify-content: center;
252
- text-overflow: inherit !important;
253
-
254
- .tableItem-select {
255
- width: 100%;
256
- }
257
-
258
- textarea {
259
- line-height: 20px;
260
- height: 100%;
261
- resize: none;
262
- }
263
-
264
- .select-content {
265
- width: 100%;
266
- }
267
-
268
- .table-form-age {
269
- display: flex;
270
- width: 100%;
271
- line-height: unset;
272
-
273
- .table-age-input {
274
- flex: 1;
275
- }
276
-
277
- .table-age-select {
278
- .ant-select-selection__placeholder {
279
- font-size: 12px;
280
- }
281
- }
282
- }
283
-
284
- .span-required {
285
- color: red;
286
- }
287
- }
288
-
289
- .vxe-body--column.col--ellipsis,
290
- .vxe-editable .vxe-body--column,
291
- .vxe-footer--column.col--ellipsis,
292
- .vxe-header--column.col--ellipsis {
293
- height: 40px;
294
- }
295
-
296
- .span-remark-icon {
297
- color: #337ab7;
298
- margin-left: 6px;
299
- }
300
- }
301
- }
1
+ .table-form-age-error {
2
+ border-color: red !important;
3
+
4
+ .table-age-input {
5
+ border-color: red !important;
6
+ }
7
+
8
+ .n-select-selection--single {
9
+ border-color: red !important;
10
+ }
11
+ }
12
+
13
+ .table-date-picker {
14
+ min-width: unset !important;
15
+ width: 100%;
16
+ }
17
+
18
+ .table-date-picker-error {
19
+ .n-input {
20
+ border-color: red !important;
21
+ }
22
+ }
23
+
24
+ .text-over-tooltip-components {
25
+ display: inline-block;
26
+ max-width: 100%;
27
+ /* 文字超出宽度显示省略号 单行 */
28
+
29
+ .ellipsis {
30
+ font-size: 14px;
31
+ color: #35393c;
32
+ overflow: hidden;
33
+ text-overflow: ellipsis;
34
+ white-space: nowrap;
35
+
36
+ i {
37
+ font-style: normal;
38
+ word-break: keep-all;
39
+ white-space: nowrap;
40
+ }
41
+ }
42
+
43
+ /* 自定义样式 */
44
+
45
+ .fs20 {
46
+ font-size: 20px;
47
+ font-weight: 600;
48
+ color: green;
49
+ line-height: 22px;
50
+ }
51
+
52
+ .fs12 {
53
+ font-size: 12px;
54
+ font-weight: 400;
55
+ color: orange;
56
+ line-height: 14px;
57
+ }
58
+ }
59
+
60
+ .ant-input-group {
61
+ display: table !important;
62
+
63
+ .n-input-number {
64
+ width: 100%;
65
+
66
+ &.table-error-digital {
67
+ border-color: red !important;
68
+
69
+ input {
70
+ border-color: red !important;
71
+ }
72
+ }
73
+ }
74
+ }
75
+
76
+ .table-digital-com {
77
+ .n-input-group-addon {
78
+ max-width: 52px;
79
+
80
+ .text-over-tooltip-components {
81
+ display: inline;
82
+ }
83
+ }
84
+ }
85
+
86
+ .table-error-input {
87
+ border-color: red !important;
88
+
89
+ input {
90
+ border-color: red !important;
91
+ }
92
+ }
93
+
94
+ .table-input-com {
95
+ .n-input-group-addon {
96
+ max-width: 52px;
97
+
98
+ .text-over-tooltip-components {
99
+ display: inline;
100
+ }
101
+ }
102
+ }
103
+
104
+ .table-month-picker {
105
+ width: 100%;
106
+ }
107
+
108
+ .table-month-picker-error {
109
+ .n-input {
110
+ border-color: red !important;
111
+ }
112
+ }
113
+
114
+ .table-default-select {
115
+ .title-line {
116
+ font-weight: 700;
117
+ color: #000;
118
+ font-size: 14px;
119
+ }
120
+
121
+ .select-content-item {
122
+ padding: 0 5px;
123
+ }
124
+
125
+ .n-select-dropdown-menu-item-selected {
126
+ color: #5585f5;
127
+ }
128
+ }
129
+
130
+ .tableItem-search-more-select {
131
+ .title-line {
132
+ font-weight: 700;
133
+ color: #000;
134
+ font-size: 14px;
135
+ }
136
+ .select-content-item {
137
+ padding: 0 5px;
138
+ }
139
+ .n-select-dropdown-menu-item-selected {
140
+ color: #5585f5;
141
+ }
142
+ }
143
+
144
+ .table-select-error {
145
+ .n-select-selection {
146
+ border-color: red !important;
147
+ }
148
+ }
149
+
150
+ .table-error-textarea {
151
+ .n-input {
152
+ border-color: red !important;
153
+ }
154
+ }
155
+
156
+ .table-time-picker {
157
+ width: 100%;
158
+ }
159
+
160
+ .table-time-picker-error {
161
+ .n-input {
162
+ border-color: red !important;
163
+ }
164
+ }
165
+
166
+
167
+ .formTable-page-disabled--detail {
168
+ .vxe-table {
169
+ .vxe-cell {
170
+ .form-table-item {
171
+ display: flex;
172
+ align-items: center;
173
+ justify-content: center;
174
+ height: 31px;
175
+ }
176
+
177
+ .ant-select-disabled {
178
+ .ant-select-selection {
179
+ border: 0 !important;
180
+ background: transparent;
181
+ }
182
+
183
+ .ant-select-arrow {
184
+ display: none;
185
+ }
186
+
187
+ .ant-select-selection-selected-value {
188
+ color: #606266;
189
+ }
190
+ }
191
+
192
+ .DATE-container {
193
+ .ant-input {
194
+ padding: 0;
195
+ text-align: center;
196
+ border: 0 !important;
197
+ background-color: transparent;
198
+ }
199
+
200
+ .ant-calendar-picker-icon {
201
+ display: none;
202
+ }
203
+ }
204
+
205
+ .SELECT-container {
206
+ .ant-select-selection {
207
+ max-width: 100%;
208
+ }
209
+ }
210
+ }
211
+ }
212
+ }
213
+
214
+ .formTable-page {
215
+ width: 100%;
216
+ min-height: 100px;
217
+ max-height: 350px;
218
+
219
+ .vxe-table {
220
+ &.vxe-table--render-default .vxe-body--column:not(.col--ellipsis),
221
+ &.vxe-table--render-default .vxe-footer--column:not(.col--ellipsis),
222
+ &.vxe-table--render-default .vxe-header--column:not(.col--ellipsis) {
223
+ padding: 0;
224
+ }
225
+
226
+ .vxe-table--body-wrapper::-webkit-scrollbar {
227
+ width: 10px;
228
+ height: 10px;
229
+ }
230
+
231
+ .vxe-table--empty-content {
232
+ height: 100%;
233
+ max-height: 100%;
234
+
235
+ > div {
236
+ display: flex;
237
+ justify-content: center;
238
+ align-items: center;
239
+ height: 100%;
240
+ max-height: 100%;
241
+ }
242
+ }
243
+
244
+ .vxe-cell {
245
+ width: 100%;
246
+ padding: 9px 10px;
247
+ max-height: unset;
248
+ line-height: unset;
249
+ height: unset;
250
+ min-height: 32px;
251
+ justify-content: center;
252
+ text-overflow: inherit !important;
253
+
254
+ .tableItem-select {
255
+ width: 100%;
256
+ }
257
+
258
+ textarea {
259
+ line-height: 20px;
260
+ height: 100%;
261
+ resize: none;
262
+ }
263
+
264
+ .select-content {
265
+ width: 100%;
266
+ }
267
+
268
+ .table-form-age {
269
+ display: flex;
270
+ width: 100%;
271
+ line-height: unset;
272
+
273
+ .table-age-input {
274
+ flex: 1;
275
+ }
276
+
277
+ .table-age-select {
278
+ .ant-select-selection__placeholder {
279
+ font-size: 12px;
280
+ }
281
+ }
282
+ }
283
+
284
+ .span-required {
285
+ color: red;
286
+ }
287
+ }
288
+
289
+ .vxe-body--column.col--ellipsis,
290
+ .vxe-editable .vxe-body--column,
291
+ .vxe-footer--column.col--ellipsis,
292
+ .vxe-header--column.col--ellipsis {
293
+ height: 40px;
294
+ }
295
+
296
+ .span-remark-icon {
297
+ color: #337ab7;
298
+ margin-left: 6px;
299
+ }
300
+ }
301
+ }
@@ -1,13 +1,13 @@
1
- // 兼容style插件所创建的空样式
2
- .vxe-table--footer-wrapper.body--wrapper,
3
- .vxe-table--body-wrapper {
4
- &::-webkit-scrollbar {
5
- width: 10px;
6
- height: 10px;
7
- background-color: #f2f2f2;
8
- }
9
-
10
- &::-webkit-scrollbar-thumb:hover {
11
- background-color: #b2b2b2;
12
- }
1
+ // 兼容style插件所创建的空样式
2
+ .vxe-table--footer-wrapper.body--wrapper,
3
+ .vxe-table--body-wrapper {
4
+ &::-webkit-scrollbar {
5
+ width: 10px;
6
+ height: 10px;
7
+ background-color: #f2f2f2;
8
+ }
9
+
10
+ &::-webkit-scrollbar-thumb:hover {
11
+ background-color: #b2b2b2;
12
+ }
13
13
  }
@@ -2549,9 +2549,6 @@ body > .vxe-table--tooltip-wrapper {
2549
2549
  vertical-align: middle !important;
2550
2550
  max-width: calc(var(--column-width) * 1px);
2551
2551
  }
2552
- .c-info-header__info .n-descriptions-table-content__content {
2553
- font-weight: 700;
2554
- }
2555
2552
  .c-info-header__info .n-descriptions-table-content__label {
2556
2553
  display: inline-block;
2557
2554
  }