xshell 1.3.22 → 1.3.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.
- package/antd.development.js +24 -48
- package/antd.development.js.map +1 -1
- package/antd.production.js +24 -48
- package/antd.production.js.map +1 -1
- package/package.json +1 -1
package/antd.development.js
CHANGED
|
@@ -19488,58 +19488,34 @@ class FormStore {
|
|
|
19488
19488
|
};
|
|
19489
19489
|
getFieldsValue = (nameList, filterFunc) => {
|
|
19490
19490
|
this.warningUnhooked();
|
|
19491
|
+
|
|
19492
|
+
return this.store
|
|
19491
19493
|
|
|
19492
19494
|
// Fill args
|
|
19493
|
-
|
|
19494
|
-
|
|
19495
|
-
|
|
19496
|
-
|
|
19497
|
-
|
|
19498
|
-
|
|
19499
|
-
|
|
19500
|
-
|
|
19501
|
-
|
|
19502
|
-
|
|
19503
|
-
|
|
19504
|
-
|
|
19505
|
-
|
|
19506
|
-
|
|
19507
|
-
|
|
19508
|
-
|
|
19509
|
-
|
|
19510
|
-
|
|
19511
|
-
// since parent field is already take in count
|
|
19512
|
-
if (entity.isList?.()) {
|
|
19513
|
-
listNamePaths.push(namePath);
|
|
19514
|
-
return;
|
|
19515
|
-
}
|
|
19516
|
-
if (!mergedFilterFunc) {
|
|
19517
|
-
filteredNameList.push(namePath);
|
|
19518
|
-
} else {
|
|
19519
|
-
const meta = 'getMeta' in entity ? entity.getMeta() : null;
|
|
19520
|
-
if (mergedFilterFunc(meta)) {
|
|
19521
|
-
filteredNameList.push(namePath);
|
|
19522
|
-
}
|
|
19523
|
-
}
|
|
19524
|
-
});
|
|
19525
|
-
let mergedValues = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.cloneByNamePathList)(this.store, filteredNameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.getNamePath));
|
|
19495
|
+
// removed by dead control flow
|
|
19496
|
+
|
|
19497
|
+
// removed by dead control flow
|
|
19498
|
+
|
|
19499
|
+
// removed by dead control flow
|
|
19500
|
+
|
|
19501
|
+
// removed by dead control flow
|
|
19502
|
+
|
|
19503
|
+
// removed by dead control flow
|
|
19504
|
+
|
|
19505
|
+
// removed by dead control flow
|
|
19506
|
+
|
|
19507
|
+
// removed by dead control flow
|
|
19508
|
+
|
|
19509
|
+
// removed by dead control flow
|
|
19510
|
+
|
|
19511
|
+
// removed by dead control flow
|
|
19512
|
+
|
|
19526
19513
|
|
|
19527
19514
|
// We need fill the list as [] if Form.List is empty
|
|
19528
|
-
|
|
19529
|
-
|
|
19530
|
-
|
|
19531
|
-
|
|
19532
|
-
// In this case we should fallback to store value first, and only fill `[]` when store doesn't have it.
|
|
19533
|
-
if (listValue === undefined) {
|
|
19534
|
-
const storeListValue = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.getValue)(this.store, namePath);
|
|
19535
|
-
mergedValues = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_8__.setValue)(
|
|
19536
|
-
mergedValues,
|
|
19537
|
-
namePath,
|
|
19538
|
-
storeListValue === undefined ? [] : storeListValue,
|
|
19539
|
-
);
|
|
19540
|
-
}
|
|
19541
|
-
});
|
|
19542
|
-
return mergedValues;
|
|
19515
|
+
// removed by dead control flow
|
|
19516
|
+
|
|
19517
|
+
// removed by dead control flow
|
|
19518
|
+
|
|
19543
19519
|
};
|
|
19544
19520
|
getFieldValue = name => {
|
|
19545
19521
|
this.warningUnhooked();
|