wargerm 0.7.68 → 0.7.69
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/index.esm.js +20 -0
- package/dist/index.js +20 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -3467,11 +3467,31 @@ var WForm = function WForm(props, ref) {
|
|
3467
3467
|
columnsFields = _useState4[0],
|
3468
3468
|
setColumnsFields = _useState4[1];
|
3469
3469
|
var filterFormColumns = deepCopy(columns).filter(function (c) {
|
3470
|
+
if (c.type == 'group') {
|
3471
|
+
var _c$children;
|
3472
|
+
c.children = (_c$children = c.children) === null || _c$children === void 0 ? void 0 : _c$children.filter(function (itm) {
|
3473
|
+
if (disabledHideInSearch) return true;
|
3474
|
+
if (itm.hideInSearch || itm.disabledHideInSearch) {
|
3475
|
+
return false;
|
3476
|
+
}
|
3477
|
+
return true;
|
3478
|
+
});
|
3479
|
+
}
|
3470
3480
|
return !c.hideInSearch || disabledHideInSearch;
|
3471
3481
|
}).sort(function (a, b) {
|
3472
3482
|
return (b.order || 0) - (a.order || 0);
|
3473
3483
|
});
|
3474
3484
|
var filterExtraFormColumns = deepCopy(extraColumns || []).filter(function (c) {
|
3485
|
+
if (c.type == 'group') {
|
3486
|
+
var _c$children2;
|
3487
|
+
c.children = (_c$children2 = c.children) === null || _c$children2 === void 0 ? void 0 : _c$children2.filter(function (itm) {
|
3488
|
+
if (disabledHideInSearch) return true;
|
3489
|
+
if (itm.hideInSearch || itm.disabledHideInSearch) {
|
3490
|
+
return false;
|
3491
|
+
}
|
3492
|
+
return true;
|
3493
|
+
});
|
3494
|
+
}
|
3475
3495
|
return !c.hideInSearch || disabledHideInSearch;
|
3476
3496
|
}).sort(function (a, b) {
|
3477
3497
|
return (b.order || 0) - (a.order || 0);
|
package/dist/index.js
CHANGED
@@ -3511,11 +3511,31 @@ var WForm = function WForm(props, ref) {
|
|
3511
3511
|
columnsFields = _useState4[0],
|
3512
3512
|
setColumnsFields = _useState4[1];
|
3513
3513
|
var filterFormColumns = deepCopy(columns).filter(function (c) {
|
3514
|
+
if (c.type == 'group') {
|
3515
|
+
var _c$children;
|
3516
|
+
c.children = (_c$children = c.children) === null || _c$children === void 0 ? void 0 : _c$children.filter(function (itm) {
|
3517
|
+
if (disabledHideInSearch) return true;
|
3518
|
+
if (itm.hideInSearch || itm.disabledHideInSearch) {
|
3519
|
+
return false;
|
3520
|
+
}
|
3521
|
+
return true;
|
3522
|
+
});
|
3523
|
+
}
|
3514
3524
|
return !c.hideInSearch || disabledHideInSearch;
|
3515
3525
|
}).sort(function (a, b) {
|
3516
3526
|
return (b.order || 0) - (a.order || 0);
|
3517
3527
|
});
|
3518
3528
|
var filterExtraFormColumns = deepCopy(extraColumns || []).filter(function (c) {
|
3529
|
+
if (c.type == 'group') {
|
3530
|
+
var _c$children2;
|
3531
|
+
c.children = (_c$children2 = c.children) === null || _c$children2 === void 0 ? void 0 : _c$children2.filter(function (itm) {
|
3532
|
+
if (disabledHideInSearch) return true;
|
3533
|
+
if (itm.hideInSearch || itm.disabledHideInSearch) {
|
3534
|
+
return false;
|
3535
|
+
}
|
3536
|
+
return true;
|
3537
|
+
});
|
3538
|
+
}
|
3519
3539
|
return !c.hideInSearch || disabledHideInSearch;
|
3520
3540
|
}).sort(function (a, b) {
|
3521
3541
|
return (b.order || 0) - (a.order || 0);
|