xshell 1.3.21 → 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/process.js +14 -4
package/antd.production.js
CHANGED
|
@@ -22470,58 +22470,34 @@ class FormStore {
|
|
|
22470
22470
|
};
|
|
22471
22471
|
getFieldsValue = (nameList, filterFunc) => {
|
|
22472
22472
|
this.warningUnhooked();
|
|
22473
|
+
|
|
22474
|
+
return this.store
|
|
22473
22475
|
|
|
22474
22476
|
// Fill args
|
|
22475
|
-
|
|
22476
|
-
|
|
22477
|
-
|
|
22478
|
-
|
|
22479
|
-
|
|
22480
|
-
|
|
22481
|
-
|
|
22482
|
-
|
|
22483
|
-
|
|
22484
|
-
|
|
22485
|
-
|
|
22486
|
-
|
|
22487
|
-
|
|
22488
|
-
|
|
22489
|
-
|
|
22490
|
-
|
|
22491
|
-
|
|
22492
|
-
|
|
22493
|
-
// since parent field is already take in count
|
|
22494
|
-
if (entity.isList?.()) {
|
|
22495
|
-
listNamePaths.push(namePath);
|
|
22496
|
-
return;
|
|
22497
|
-
}
|
|
22498
|
-
if (!mergedFilterFunc) {
|
|
22499
|
-
filteredNameList.push(namePath);
|
|
22500
|
-
} else {
|
|
22501
|
-
const meta = 'getMeta' in entity ? entity.getMeta() : null;
|
|
22502
|
-
if (mergedFilterFunc(meta)) {
|
|
22503
|
-
filteredNameList.push(namePath);
|
|
22504
|
-
}
|
|
22505
|
-
}
|
|
22506
|
-
});
|
|
22507
|
-
let mergedValues = cloneByNamePathList(this.store, filteredNameList.map(getNamePath));
|
|
22477
|
+
// removed by dead control flow
|
|
22478
|
+
|
|
22479
|
+
// removed by dead control flow
|
|
22480
|
+
|
|
22481
|
+
// removed by dead control flow
|
|
22482
|
+
|
|
22483
|
+
// removed by dead control flow
|
|
22484
|
+
|
|
22485
|
+
// removed by dead control flow
|
|
22486
|
+
|
|
22487
|
+
// removed by dead control flow
|
|
22488
|
+
|
|
22489
|
+
// removed by dead control flow
|
|
22490
|
+
|
|
22491
|
+
// removed by dead control flow
|
|
22492
|
+
|
|
22493
|
+
// removed by dead control flow
|
|
22494
|
+
|
|
22508
22495
|
|
|
22509
22496
|
// We need fill the list as [] if Form.List is empty
|
|
22510
|
-
|
|
22511
|
-
|
|
22512
|
-
|
|
22513
|
-
|
|
22514
|
-
// In this case we should fallback to store value first, and only fill `[]` when store doesn't have it.
|
|
22515
|
-
if (listValue === undefined) {
|
|
22516
|
-
const storeListValue = get(this.store, namePath);
|
|
22517
|
-
mergedValues = set(
|
|
22518
|
-
mergedValues,
|
|
22519
|
-
namePath,
|
|
22520
|
-
storeListValue === undefined ? [] : storeListValue,
|
|
22521
|
-
);
|
|
22522
|
-
}
|
|
22523
|
-
});
|
|
22524
|
-
return mergedValues;
|
|
22497
|
+
// removed by dead control flow
|
|
22498
|
+
|
|
22499
|
+
// removed by dead control flow
|
|
22500
|
+
|
|
22525
22501
|
};
|
|
22526
22502
|
getFieldValue = name => {
|
|
22527
22503
|
this.warningUnhooked();
|