ls-pro-common 3.0.51 → 3.0.52
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/dist/common.css +26 -2
- package/dist/common.js +1 -1
- package/dist/common.min.css +26 -2
- package/dist/common.min.js +1 -1
- package/es/components/InputTable.js +5 -0
- package/es/components/antd-custom.less +49 -0
- package/lib/components/InputTable.js +5 -0
- package/lib/components/antd-custom.less +49 -0
- package/package.json +3 -3
|
@@ -334,6 +334,11 @@ var InputTable = /*#__PURE__*/React.forwardRef(function (prop, ref) {
|
|
|
334
334
|
var _formRef$current15, _formRef$current15$se;
|
|
335
335
|
formRef === null || formRef === void 0 ? void 0 : (_formRef$current15 = formRef.current) === null || _formRef$current15 === void 0 ? void 0 : (_formRef$current15$se = _formRef$current15.setFieldsValue) === null || _formRef$current15$se === void 0 ? void 0 : _formRef$current15$se.call(_formRef$current15, _objectSpread({}, formValue));
|
|
336
336
|
}
|
|
337
|
+
if (onSelectChange) {
|
|
338
|
+
try {
|
|
339
|
+
onSelectChange(null, formRef);
|
|
340
|
+
} catch (e) {}
|
|
341
|
+
}
|
|
337
342
|
}
|
|
338
343
|
};
|
|
339
344
|
useEffect(function () {
|
|
@@ -404,4 +404,53 @@
|
|
|
404
404
|
|
|
405
405
|
.ant-table td.ant-table-cell {
|
|
406
406
|
color: #5b5b5b
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.ant-pro-form-query-filter.ant-form-vertical {
|
|
410
|
+
.ant-form-item-label {
|
|
411
|
+
padding: 0;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.ant-pro-form-query-filter {
|
|
416
|
+
.ant-input-number-input {
|
|
417
|
+
height: 28px;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.ant-input-group.ant-input-group-compact>*:first-child {
|
|
421
|
+
border-radius: 0 !important;
|
|
422
|
+
border-top-left-radius: 4px !important;
|
|
423
|
+
border-bottom-left-radius: 4px !important;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.ant-input-group.ant-input-group-compact>*:last-child {
|
|
427
|
+
border-radius: 0 !important;
|
|
428
|
+
border-top-left-radius: 4px !important;
|
|
429
|
+
border-bottom-left-radius: 4px !important;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.ant-input-number-group>.ant-input-number:not(:first-child):not(:last-child) {
|
|
435
|
+
border-radius: 0 !important;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.ant-pro-table {
|
|
439
|
+
|
|
440
|
+
.ant-table:not(.ant-table-has-fix-right),
|
|
441
|
+
.ant-table.ant-table-empty {
|
|
442
|
+
.ant-table-container {
|
|
443
|
+
.ant-table-body {
|
|
444
|
+
overflow: auto !important;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.ant-table.ant-table-has-fix-right:not(.ant-table-empty) {
|
|
450
|
+
.ant-table-container {
|
|
451
|
+
.ant-table-body {
|
|
452
|
+
overflow: scroll !important;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
407
456
|
}
|
|
@@ -334,6 +334,11 @@ var InputTable = /*#__PURE__*/React.forwardRef(function (prop, ref) {
|
|
|
334
334
|
var _formRef$current15, _formRef$current15$se;
|
|
335
335
|
formRef === null || formRef === void 0 ? void 0 : (_formRef$current15 = formRef.current) === null || _formRef$current15 === void 0 ? void 0 : (_formRef$current15$se = _formRef$current15.setFieldsValue) === null || _formRef$current15$se === void 0 ? void 0 : _formRef$current15$se.call(_formRef$current15, _objectSpread({}, formValue));
|
|
336
336
|
}
|
|
337
|
+
if (onSelectChange) {
|
|
338
|
+
try {
|
|
339
|
+
onSelectChange(null, formRef);
|
|
340
|
+
} catch (e) {}
|
|
341
|
+
}
|
|
337
342
|
}
|
|
338
343
|
};
|
|
339
344
|
useEffect(function () {
|
|
@@ -404,4 +404,53 @@
|
|
|
404
404
|
|
|
405
405
|
.ant-table td.ant-table-cell {
|
|
406
406
|
color: #5b5b5b
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.ant-pro-form-query-filter.ant-form-vertical {
|
|
410
|
+
.ant-form-item-label {
|
|
411
|
+
padding: 0;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.ant-pro-form-query-filter {
|
|
416
|
+
.ant-input-number-input {
|
|
417
|
+
height: 28px;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.ant-input-group.ant-input-group-compact>*:first-child {
|
|
421
|
+
border-radius: 0 !important;
|
|
422
|
+
border-top-left-radius: 4px !important;
|
|
423
|
+
border-bottom-left-radius: 4px !important;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.ant-input-group.ant-input-group-compact>*:last-child {
|
|
427
|
+
border-radius: 0 !important;
|
|
428
|
+
border-top-left-radius: 4px !important;
|
|
429
|
+
border-bottom-left-radius: 4px !important;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.ant-input-number-group>.ant-input-number:not(:first-child):not(:last-child) {
|
|
435
|
+
border-radius: 0 !important;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.ant-pro-table {
|
|
439
|
+
|
|
440
|
+
.ant-table:not(.ant-table-has-fix-right),
|
|
441
|
+
.ant-table.ant-table-empty {
|
|
442
|
+
.ant-table-container {
|
|
443
|
+
.ant-table-body {
|
|
444
|
+
overflow: auto !important;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.ant-table.ant-table-has-fix-right:not(.ant-table-empty) {
|
|
450
|
+
.ant-table-container {
|
|
451
|
+
.ant-table-body {
|
|
452
|
+
overflow: scroll !important;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
407
456
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ls-pro-common",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.52",
|
|
4
4
|
"description": "ls-pro-common",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@ant-design/icons": "^4.3.0",
|
|
24
|
-
"ls-pro-table": "^3.0.
|
|
25
|
-
"ls-pro-form": "^3.0.
|
|
24
|
+
"ls-pro-table": "^3.0.36",
|
|
25
|
+
"ls-pro-form": "^3.0.14",
|
|
26
26
|
"ls-pro-field": "^3.0.6",
|
|
27
27
|
"ls-pro-descriptions": "^3.0.1",
|
|
28
28
|
"ls-pro-card": "^3.0.3",
|