@indfnd/common 1.0.83 → 1.0.85

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.85](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.84...v1.0.85) (2025-01-23)
6
+
7
+ ### [1.0.84](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.83...v1.0.84) (2025-01-23)
8
+
5
9
  ### [1.0.83](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.82...v1.0.83) (2025-01-10)
6
10
 
7
11
 
@@ -5460,7 +5460,7 @@ var lodash = { exports: {} };
5460
5460
  })(lodash, lodash.exports);
5461
5461
  var _ = lodash.exports;
5462
5462
  const name$1 = "@indfnd/common";
5463
- const version = "1.0.82";
5463
+ const version = "1.0.84";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -49003,8 +49003,16 @@ var FormImpl = {
49003
49003
  on: {
49004
49004
  "on-blur": (event) => {
49005
49005
  var _a2;
49006
+ console.log("on-blur d\u662F\u5565", d);
49006
49007
  let v = event.target.value;
49007
49008
  let formatRlt = /(-?)(\d{1,10})(\d{0,999})(\.\d{1,6})?/.exec(v);
49009
+ if (d && d.cellRendererParams && d.cellRendererParams.scale === 0) {
49010
+ formatRlt = /(-?)(\d{1,13})(\d{0,999})?/.exec(v);
49011
+ } else if (d && d.cellRendererParams && d.cellRendererParams.scale) {
49012
+ let scale = d.cellRendererParams.scale;
49013
+ let formatPattern = new RegExp(`(-?)(\\d{1,13})(\\d{0,999})(\\.\\d{1,${scale}})?`);
49014
+ formatRlt = formatPattern.exec(v);
49015
+ }
49008
49016
  if (formatRlt && formatRlt.length) {
49009
49017
  v = (((_a2 = d == null ? void 0 : d.props) == null ? void 0 : _a2.enableNegative) ? formatRlt[1] : "") + formatRlt[2] + (formatRlt[4] || "");
49010
49018
  }