yuliang 2 anni fa
parent
commit
8993db1331
2 ha cambiato i file con 37 aggiunte e 6 eliminazioni
  1. 36 5
      dist/yvan-ext-mobile.js
  2. 1 1
      dist/yvan-ext-mobile.js.map

+ 36 - 5
dist/yvan-ext-mobile.js

@@ -37747,6 +37747,7 @@ define(['exports'], function (exports) { 'use strict';
           }
       });
   }
+  //# sourceMappingURL=lib.js.map
 
   var Scope = /** @class */ (function () {
       function Scope(_a) {
@@ -38158,6 +38159,7 @@ define(['exports'], function (exports) { 'use strict';
       Scope.SHOW_PAGE_STACK = [];
       return Scope;
   }());
+  //# sourceMappingURL=Scope.js.map
 
   /**
    * 全局 ajax 方法
@@ -38255,6 +38257,7 @@ define(['exports'], function (exports) { 'use strict';
       });
       return found >= ws.length;
   }
+  //# sourceMappingURL=config.js.map
 
   function initComponent () {
       var ct = Ext.Component.prototype.constructor;
@@ -38304,6 +38307,7 @@ define(['exports'], function (exports) { 'use strict';
           }
       });
   }
+  //# sourceMappingURL=component.js.map
 
   var labelWidth = 80;
   var date = {
@@ -38416,6 +38420,7 @@ define(['exports'], function (exports) { 'use strict';
           flex: 1
       },
   };
+  //# sourceMappingURL=Defaults.js.map
 
   if (!window["time_offset"]) {
       window["time_offset"] = 0;
@@ -38426,6 +38431,7 @@ define(['exports'], function (exports) { 'use strict';
       }
       return date;
   }
+  //# sourceMappingURL=utils.js.map
 
   function initDate () {
       var cc = Ext.field.Date.prototype.constructor;
@@ -38493,6 +38499,7 @@ define(['exports'], function (exports) { 'use strict';
           },
       });
   }
+  //# sourceMappingURL=datefield.js.map
 
   function initText () {
       var cc = Ext.field.Text.prototype.constructor;
@@ -38524,6 +38531,7 @@ define(['exports'], function (exports) { 'use strict';
           },
       });
   }
+  //# sourceMappingURL=textfield.js.map
 
   /**
    * 构建所有组件的公共属性
@@ -38570,6 +38578,7 @@ define(['exports'], function (exports) { 'use strict';
       }
       return config;
   }
+  //# sourceMappingURL=base.js.map
 
   function prompt(message, multiLine, value) {
       if (value === void 0) { value = ''; }
@@ -38675,6 +38684,7 @@ define(['exports'], function (exports) { 'use strict';
           $w.remove();
       }, 3000);
   }
+  //# sourceMappingURL=message.js.map
 
   var SIMPLE_RE = /^(?:\{(?:(\d+)|([a-z_][\w\.]*))\})$/i;
   /**
@@ -38684,16 +38694,18 @@ define(['exports'], function (exports) { 'use strict';
       if (obj === 'N/A') {
           return '';
       }
-      if (typeof obj === "string" && /^-?\d*\.?\d+$/.test(obj)) {
-          return parseFloat(obj) + "";
-      }
       if (lodash.isArray(obj)) {
           lodash.forEach(obj, function (value, idx) {
               if (value === 'N/A') {
                   obj[idx] = '';
               }
               else {
-                  replaceNA(value);
+                  if (typeof value === "string" && /^-?\d*\.?\d+$/.test(value)) {
+                      obj[idx] = parseFloat(value) + "";
+                  }
+                  else {
+                      replaceNA(value);
+                  }
               }
           });
       }
@@ -38703,7 +38715,12 @@ define(['exports'], function (exports) { 'use strict';
                   obj[key] = '';
               }
               else {
-                  replaceNA(value);
+                  if (typeof value === "string" && /^-?\d*\.?\d+$/.test(value)) {
+                      obj[key] = parseFloat(value) + "";
+                  }
+                  else {
+                      replaceNA(value);
+                  }
               }
           });
       }
@@ -39889,6 +39906,7 @@ define(['exports'], function (exports) { 'use strict';
           err: err
       };
   }
+  //# sourceMappingURL=systemLib.js.map
 
   var SystemLib = /*#__PURE__*/Object.freeze({
     __proto__: null,
@@ -40060,6 +40078,7 @@ define(['exports'], function (exports) { 'use strict';
           }
       });
   }
+  //# sourceMappingURL=multiplesearch.js.map
 
   /**
    * 构建一个 grid 支持的 dataSource
@@ -40201,6 +40220,7 @@ define(['exports'], function (exports) { 'use strict';
           }
       });
   }
+  //# sourceMappingURL=stores.js.map
 
   function initList () {
       Ext.define('Yvan.List', {
@@ -40344,6 +40364,7 @@ define(['exports'], function (exports) { 'use strict';
       }
       // throw new TypeError('无法识别的调用方法')
   }
+  //# sourceMappingURL=list.js.map
 
   function initCols () {
       Ext.define('Yvan.Cols', {
@@ -40360,6 +40381,7 @@ define(['exports'], function (exports) { 'use strict';
           },
       });
   }
+  //# sourceMappingURL=cols.js.map
 
   function initRows () {
       Ext.define('Yvan.Rows', {
@@ -40379,6 +40401,7 @@ define(['exports'], function (exports) { 'use strict';
           },
       });
   }
+  //# sourceMappingURL=rows.js.map
 
   var PropertyDescription = /** @class */ (function () {
       function PropertyDescription() {
@@ -40420,6 +40443,7 @@ define(['exports'], function (exports) { 'use strict';
       };
       return PropertyDescription;
   }());
+  //# sourceMappingURL=PropertyDescription.js.map
 
   var PropertyDescriptionTable = new Map();
   PropertyDescriptionTable.set('tabCell', new PropertyDescription({
@@ -40751,6 +40775,7 @@ define(['exports'], function (exports) { 'use strict';
           width, height
       ]
   }));
+  //# sourceMappingURL=PropertyDescriptionTable.js.map
 
   function initGrid () {
       Ext.define('Yvan.Grid', {
@@ -41233,6 +41258,7 @@ define(['exports'], function (exports) { 'use strict';
       }
       // throw new TypeError('无法识别的调用方法')
   }
+  //# sourceMappingURL=grid.js.map
 
   function initGridColumn () {
       var ct = Ext.grid.column.Column.prototype.constructor;
@@ -41265,6 +41291,7 @@ define(['exports'], function (exports) { 'use strict';
       //     }
       // });
   }
+  //# sourceMappingURL=gridcolumn.js.map
 
   function initLocale() {
       Ext.define('Ext.locale.zh_CN.Panel', {
@@ -41308,6 +41335,7 @@ define(['exports'], function (exports) { 'use strict';
       //     }
       // });
   }
+  //# sourceMappingURL=locale-zh_CN.js.map
 
   var FixClass = /** @class */ (function () {
       function FixClass() {
@@ -41354,6 +41382,7 @@ define(['exports'], function (exports) { 'use strict';
       ], FixClass.prototype, "fix", null);
       return FixClass;
   }());
+  //# sourceMappingURL=fix.js.map
 
   function init() {
       Ext.util.Format.defaultDateFormat = 'Y-m-d';
@@ -41435,6 +41464,7 @@ define(['exports'], function (exports) { 'use strict';
       initGrid();
       initStores();
   }
+  //# sourceMappingURL=init.js.map
 
   /**
    * 创建一个 Ajax 客户端
@@ -41610,6 +41640,7 @@ define(['exports'], function (exports) { 'use strict';
       };
       xhr.send(formData);
   }
+  //# sourceMappingURL=ajax.js.map
 
   exports.Lib = Lib;
   exports.LibParam = LibParam;

File diff suppressed because it is too large
+ 1 - 1
dist/yvan-ext-mobile.js.map