xshell 1.3.79 → 1.3.80

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.
@@ -18431,49 +18431,34 @@ class FormStore {
18431
18431
  };
18432
18432
  getFieldsValue = (nameList, filterFunc) => {
18433
18433
  this.warningUnhooked();
18434
+
18435
+ return this.store;
18434
18436
 
18435
18437
  // Fill args
18436
- let mergedNameList;
18437
- let mergedFilterFunc;
18438
- if (nameList === true || Array.isArray(nameList)) {
18439
- mergedNameList = nameList;
18440
- mergedFilterFunc = filterFunc;
18441
- } else if (nameList && typeof nameList === 'object') {
18442
- mergedFilterFunc = nameList.filter;
18443
- }
18444
- if (mergedNameList === true && !mergedFilterFunc) {
18445
- return this.store;
18446
- }
18447
- const fieldEntities = this.getFieldEntitiesForNamePathList(Array.isArray(mergedNameList) ? mergedNameList : null, true);
18448
- const filteredNameList = [];
18449
- const listNamePaths = [];
18450
- fieldEntities.forEach(entity => {
18451
- const namePath = entity.INVALIDATE_NAME_PATH || entity.getNamePath();
18452
-
18453
- // Ignore when it's a list item and not specific the namePath,
18454
- // since parent field is already take in count
18455
- if (entity.isList?.()) {
18456
- listNamePaths.push(namePath);
18457
- return;
18458
- }
18459
- if (!mergedFilterFunc) {
18460
- filteredNameList.push(namePath);
18461
- } else {
18462
- const meta = 'getMeta' in entity ? entity.getMeta() : null;
18463
- if (mergedFilterFunc(meta)) {
18464
- filteredNameList.push(namePath);
18465
- }
18466
- }
18467
- });
18468
- let mergedValues = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_6__.cloneByNamePathList)(this.store, filteredNameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_6__.getNamePath));
18438
+ // removed by dead control flow
18439
+
18440
+ // removed by dead control flow
18441
+
18442
+ // removed by dead control flow
18443
+
18444
+ // removed by dead control flow
18445
+
18446
+ // removed by dead control flow
18447
+
18448
+ // removed by dead control flow
18449
+
18450
+ // removed by dead control flow
18451
+
18452
+ // removed by dead control flow
18453
+
18454
+ // removed by dead control flow
18455
+
18469
18456
 
18470
18457
  // We need fill the list as [] if Form.List is empty
18471
- listNamePaths.forEach(namePath => {
18472
- if (!(0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_6__.getValue)(mergedValues, namePath)) {
18473
- mergedValues = (0,_utils_valueUtil__WEBPACK_IMPORTED_MODULE_6__.setValue)(mergedValues, namePath, []);
18474
- }
18475
- });
18476
- return mergedValues;
18458
+ // removed by dead control flow
18459
+
18460
+ // removed by dead control flow
18461
+
18477
18462
  };
18478
18463
  getFieldValue = name => {
18479
18464
  this.warningUnhooked();