@indfnd/common 1.1.55 → 1.1.56

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,13 @@
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.1.56](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.55...v1.1.56) (2026-02-28)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * 修复zerovalueformatter问题 ([4fce56d](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/4fce56d863bc66c82cbf74ec02d029896470fefa))
11
+
5
12
  ### [1.1.55](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.54...v1.1.55) (2026-02-27)
6
13
 
7
14
 
@@ -32,7 +32,7 @@ var lodash = { exports: {} };
32
32
  (function(module2, exports2) {
33
33
  (function() {
34
34
  var undefined$1;
35
- var VERSION2 = "4.17.23";
35
+ var VERSION2 = "4.17.21";
36
36
  var LARGE_ARRAY_SIZE = 200;
37
37
  var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
38
38
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
@@ -1918,28 +1918,8 @@ var lodash = { exports: {} };
1918
1918
  }
1919
1919
  function baseUnset(object, path) {
1920
1920
  path = castPath(path, object);
1921
- var index2 = -1, length = path.length;
1922
- if (!length) {
1923
- return true;
1924
- }
1925
- var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
1926
- while (++index2 < length) {
1927
- var key = path[index2];
1928
- if (typeof key !== "string") {
1929
- continue;
1930
- }
1931
- if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
1932
- return false;
1933
- }
1934
- if (key === "constructor" && index2 + 1 < length && typeof path[index2 + 1] === "string" && path[index2 + 1] === "prototype") {
1935
- if (isRootPrimitive && index2 === 0) {
1936
- continue;
1937
- }
1938
- return false;
1939
- }
1940
- }
1941
- var obj = parent(object, path);
1942
- return obj == null || delete obj[toKey(last(path))];
1921
+ object = parent(object, path);
1922
+ return object == null || delete object[toKey(last(path))];
1943
1923
  }
1944
1924
  function baseUpdate(object, path, updater, customizer) {
1945
1925
  return baseSet(object, path, updater(baseGet(object, path)), customizer);
@@ -5480,7 +5460,7 @@ var lodash = { exports: {} };
5480
5460
  })(lodash, lodash.exports);
5481
5461
  var _ = lodash.exports;
5482
5462
  const name$1 = "@indfnd/common";
5483
- const version = "1.1.54";
5463
+ const version = "1.1.55";
5484
5464
  const author = "huxuetong";
5485
5465
  const publishConfig = {
5486
5466
  registry: "https://registry.npmjs.org/"
@@ -52442,12 +52422,14 @@ var AgEnum = /* @__PURE__ */ function() {
52442
52422
  const __vue2_script$1c = {
52443
52423
  name: "IndAgFormat",
52444
52424
  render(h) {
52445
- const { value, colDef, scaleFn } = this.params;
52425
+ const { value, colDef, scaleFn, valueFormatted } = this.params;
52446
52426
  const { dateFormat } = (colDef == null ? void 0 : colDef.cellRendererParams) || {};
52447
52427
  let renderVal = value;
52448
52428
  const scale = scaleFn();
52449
52429
  if (dateFormat) {
52450
52430
  renderVal = formatDate$1(value);
52431
+ } else if (value === 0) {
52432
+ renderVal = valueFormatted;
52451
52433
  } else if (scale === 0) {
52452
52434
  renderVal = value ? Math.round(parseFloat(value)) : value;
52453
52435
  } else if (scale) {
@@ -64216,8 +64198,8 @@ var ConditionPanel = /* @__PURE__ */ function() {
64216
64198
  return __component__$n.exports;
64217
64199
  }();
64218
64200
  /*!
64219
- * Signature Pad v4.2.0 | https://github.com/szimek/signature_pad
64220
- * (c) 2024 Szymon Nowak | Released under the MIT license
64201
+ * Signature Pad v4.1.7 | https://github.com/szimek/signature_pad
64202
+ * (c) 2023 Szymon Nowak | Released under the MIT license
64221
64203
  */
64222
64204
  class Point {
64223
64205
  constructor(x, y, pressure, time) {
@@ -64422,9 +64404,8 @@ class SignaturePad extends SignatureEventTarget {
64422
64404
  this.penColor = options.penColor || "black";
64423
64405
  this.backgroundColor = options.backgroundColor || "rgba(0,0,0,0)";
64424
64406
  this.compositeOperation = options.compositeOperation || "source-over";
64425
- this.canvasContextOptions = "canvasContextOptions" in options ? options.canvasContextOptions : {};
64426
64407
  this._strokeMoveUpdate = this.throttle ? throttle(SignaturePad.prototype._strokeUpdate, this.throttle) : SignaturePad.prototype._strokeUpdate;
64427
- this._ctx = canvas.getContext("2d", this.canvasContextOptions);
64408
+ this._ctx = canvas.getContext("2d");
64428
64409
  this.clear();
64429
64410
  this.on();
64430
64411
  }