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.
@@ -24965,49 +24965,34 @@ class FormStore {
24965
24965
  };
24966
24966
  getFieldsValue = (nameList, filterFunc) => {
24967
24967
  this.warningUnhooked();
24968
+
24969
+ return this.store;
24968
24970
 
24969
24971
  // Fill args
24970
- let mergedNameList;
24971
- let mergedFilterFunc;
24972
- if (nameList === true || Array.isArray(nameList)) {
24973
- mergedNameList = nameList;
24974
- mergedFilterFunc = filterFunc;
24975
- } else if (nameList && typeof nameList === 'object') {
24976
- mergedFilterFunc = nameList.filter;
24977
- }
24978
- if (mergedNameList === true && !mergedFilterFunc) {
24979
- return this.store;
24980
- }
24981
- const fieldEntities = this.getFieldEntitiesForNamePathList(Array.isArray(mergedNameList) ? mergedNameList : null, true);
24982
- const filteredNameList = [];
24983
- const listNamePaths = [];
24984
- fieldEntities.forEach(entity => {
24985
- const namePath = entity.INVALIDATE_NAME_PATH || entity.getNamePath();
24986
-
24987
- // Ignore when it's a list item and not specific the namePath,
24988
- // since parent field is already take in count
24989
- if (entity.isList?.()) {
24990
- listNamePaths.push(namePath);
24991
- return;
24992
- }
24993
- if (!mergedFilterFunc) {
24994
- filteredNameList.push(namePath);
24995
- } else {
24996
- const meta = 'getMeta' in entity ? entity.getMeta() : null;
24997
- if (mergedFilterFunc(meta)) {
24998
- filteredNameList.push(namePath);
24999
- }
25000
- }
25001
- });
25002
- let mergedValues = cloneByNamePathList(this.store, filteredNameList.map(getNamePath));
24972
+ // removed by dead control flow
24973
+
24974
+ // removed by dead control flow
24975
+
24976
+ // removed by dead control flow
24977
+
24978
+ // removed by dead control flow
24979
+
24980
+ // removed by dead control flow
24981
+
24982
+ // removed by dead control flow
24983
+
24984
+ // removed by dead control flow
24985
+
24986
+ // removed by dead control flow
24987
+
24988
+ // removed by dead control flow
24989
+
25003
24990
 
25004
24991
  // We need fill the list as [] if Form.List is empty
25005
- listNamePaths.forEach(namePath => {
25006
- if (!get(mergedValues, namePath)) {
25007
- mergedValues = set(mergedValues, namePath, []);
25008
- }
25009
- });
25010
- return mergedValues;
24992
+ // removed by dead control flow
24993
+
24994
+ // removed by dead control flow
24995
+
25011
24996
  };
25012
24997
  getFieldValue = name => {
25013
24998
  this.warningUnhooked();