@indfnd/common 1.1.50 → 1.1.52

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,15 @@
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.52](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.51...v1.1.52) (2026-02-24)
6
+
7
+ ### [1.1.51](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.50...v1.1.51) (2026-02-24)
8
+
9
+
10
+ ### Features
11
+
12
+ * ✨页面帮助标题添加负责人信息 ([8620f9a](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/8620f9a9a9d3d2faec7f73cbc2bb930e42b3a89b))
13
+
5
14
  ### [1.1.50](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.49...v1.1.50) (2026-02-24)
6
15
 
7
16
 
@@ -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.21";
35
+ var VERSION2 = "4.17.23";
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,8 +1918,28 @@ var lodash = { exports: {} };
1918
1918
  }
1919
1919
  function baseUnset(object, path) {
1920
1920
  path = castPath(path, object);
1921
- object = parent(object, path);
1922
- return object == null || delete object[toKey(last(path))];
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))];
1923
1943
  }
1924
1944
  function baseUpdate(object, path, updater, customizer) {
1925
1945
  return baseSet(object, path, updater(baseGet(object, path)), customizer);
@@ -5460,7 +5480,7 @@ var lodash = { exports: {} };
5460
5480
  })(lodash, lodash.exports);
5461
5481
  var _ = lodash.exports;
5462
5482
  const name$1 = "@indfnd/common";
5463
- const version = "1.1.49";
5483
+ const version = "1.1.51";
5464
5484
  const author = "huxuetong";
5465
5485
  const publishConfig = {
5466
5486
  registry: "https://registry.npmjs.org/"
@@ -61080,7 +61100,7 @@ var render$D = function() {
61080
61100
  var _vm = this;
61081
61101
  var _h = _vm.$createElement;
61082
61102
  var _c = _vm._self._c || _h;
61083
- return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_vm.isShowHeader ? _c("div", { staticClass: "ind-flex-no-shrink header" }, [_vm.isShowBackBtn ? _c("Button", { staticClass: "back-btn", attrs: { "bizType": "back" }, on: { "click": _vm.$backToMenu } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("MenuDesc", { attrs: { "theContext": _vm.indexDesc } }), _c("div", { staticStyle: { "width": "70%", "height": "100%", "display": "flex", "align-items": "center", "padding": "5px", "color": "red" } }, [_vm._v(" " + _vm._s(_vm.functionDesc) + " ")]), _c("div", { staticClass: "function-wrapper" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("IndLoadingPanel", { staticClass: "ind-flex-column ind-flex-grow content", attrs: { "loading": _vm.loading } }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.topSearch, expression: "$slots.topSearch" }], staticClass: "ind-flex-no-shrink ind-panel top-search-content search" }, [_vm._t("topSearch")], 2), _c("div", { staticClass: "ind-flex-grow body-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.leftContent, expression: "$slots.leftContent" }], staticClass: "ind-panel body-left-content" }, [_vm._t("leftContent")], 2), _c("div", { staticClass: "ind-panel ind-flex-column body-right-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.search, expression: "$slots.search" }], staticClass: "ind-flex-no-shrink search" }, [_vm._t("search")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.tip, expression: "$slots.tip" }], staticClass: "tip" }, [_vm._t("tip")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots["important-tip"], expression: "$slots['important-tip']" }], staticClass: "important-tip" }, [_c("Icons", { attrs: { "type": "md-information-circle" } }), _vm._t("important-tip")], 2), _c("div", { staticClass: "ind-flex-grow main-content" }, [_vm._t("default")], 2), _c("div", { staticClass: "ind-flex-no-shrink body-right-content-footer" }, [_vm._t("footer")], 2)])]), _c("div", { staticClass: "ind-flex-no-shrink bottom" }, [_vm._t("bottom")], 2)])], 1);
61103
+ return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_vm.isShowHeader ? _c("div", { staticClass: "ind-flex-no-shrink header" }, [_vm.isShowBackBtn ? _c("Button", { staticClass: "back-btn", attrs: { "bizType": "back" }, on: { "click": _vm.$backToMenu } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("MenuDesc", { attrs: { "title": "\u9875\u9762\u5E2E\u52A9" + _vm.ownerInfoDesc, "theContext": _vm.indexDesc } }), _c("div", { staticStyle: { "width": "70%", "height": "100%", "display": "flex", "align-items": "center", "padding": "5px", "color": "red" } }, [_vm._v(" " + _vm._s(_vm.functionDesc) + " ")]), _c("div", { staticClass: "function-wrapper" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("IndLoadingPanel", { staticClass: "ind-flex-column ind-flex-grow content", attrs: { "loading": _vm.loading } }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.topSearch, expression: "$slots.topSearch" }], staticClass: "ind-flex-no-shrink ind-panel top-search-content search" }, [_vm._t("topSearch")], 2), _c("div", { staticClass: "ind-flex-grow body-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.leftContent, expression: "$slots.leftContent" }], staticClass: "ind-panel body-left-content" }, [_vm._t("leftContent")], 2), _c("div", { staticClass: "ind-panel ind-flex-column body-right-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.search, expression: "$slots.search" }], staticClass: "ind-flex-no-shrink search" }, [_vm._t("search")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.tip, expression: "$slots.tip" }], staticClass: "tip" }, [_vm._t("tip")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots["important-tip"], expression: "$slots['important-tip']" }], staticClass: "important-tip" }, [_c("Icons", { attrs: { "type": "md-information-circle" } }), _vm._t("important-tip")], 2), _c("div", { staticClass: "ind-flex-grow main-content" }, [_vm._t("default")], 2), _c("div", { staticClass: "ind-flex-no-shrink body-right-content-footer" }, [_vm._t("footer")], 2)])]), _c("div", { staticClass: "ind-flex-no-shrink bottom" }, [_vm._t("bottom")], 2)])], 1);
61084
61104
  };
61085
61105
  var staticRenderFns$D = [];
61086
61106
  const __vue2_script$E = {
@@ -61089,7 +61109,8 @@ const __vue2_script$E = {
61089
61109
  return {
61090
61110
  title: "",
61091
61111
  functionDesc: "",
61092
- indexDesc: ""
61112
+ indexDesc: "",
61113
+ ownerInfoDesc: ""
61093
61114
  };
61094
61115
  },
61095
61116
  components: { ButtonGroup, Button, Icons, Col, Row, MenuDesc },
@@ -61115,6 +61136,9 @@ const __vue2_script$E = {
61115
61136
  this.title = this.$route.meta.title;
61116
61137
  }
61117
61138
  }
61139
+ },
61140
+ isValidStr(value) {
61141
+ return value !== "" && value !== void 0;
61118
61142
  }
61119
61143
  },
61120
61144
  async mounted() {
@@ -61134,6 +61158,13 @@ const __vue2_script$E = {
61134
61158
  let data2 = JSON.parse(res.data);
61135
61159
  this.functionDesc = data2.functionDesc;
61136
61160
  this.indexDesc = data2.indexDesc;
61161
+ if (this.isValidStr(data2.bizOwnerId) && this.isValidStr(data2.adminId)) {
61162
+ this.ownerInfoDesc = `\uFF08\u4E1A\u52A1\u8D1F\u8D23\u4EBA\uFF1A${data2.bizOwnerName}\uFF0C\u7BA1\u7406\u5458\uFF1A${data2.adminName}\uFF09`;
61163
+ } else if (this.isValidStr(data2.bizOwnerId)) {
61164
+ this.ownerInfoDesc = `\uFF08\u4E1A\u52A1\u8D1F\u8D23\u4EBA\uFF1A${data2.bizOwnerName}\uFF09`;
61165
+ } else if (this.isValidStr(data2.adminId)) {
61166
+ this.ownerInfoDesc = `\uFF08\u7BA1\u7406\u5458\uFF1A${data2.adminName}\uFF09`;
61167
+ }
61137
61168
  } else {
61138
61169
  this.functionDesc = "";
61139
61170
  }
@@ -64057,8 +64088,8 @@ var ConditionPanel = /* @__PURE__ */ function() {
64057
64088
  return __component__$n.exports;
64058
64089
  }();
64059
64090
  /*!
64060
- * Signature Pad v4.1.7 | https://github.com/szimek/signature_pad
64061
- * (c) 2023 Szymon Nowak | Released under the MIT license
64091
+ * Signature Pad v4.2.0 | https://github.com/szimek/signature_pad
64092
+ * (c) 2024 Szymon Nowak | Released under the MIT license
64062
64093
  */
64063
64094
  class Point {
64064
64095
  constructor(x, y, pressure, time) {
@@ -64263,8 +64294,9 @@ class SignaturePad extends SignatureEventTarget {
64263
64294
  this.penColor = options.penColor || "black";
64264
64295
  this.backgroundColor = options.backgroundColor || "rgba(0,0,0,0)";
64265
64296
  this.compositeOperation = options.compositeOperation || "source-over";
64297
+ this.canvasContextOptions = "canvasContextOptions" in options ? options.canvasContextOptions : {};
64266
64298
  this._strokeMoveUpdate = this.throttle ? throttle(SignaturePad.prototype._strokeUpdate, this.throttle) : SignaturePad.prototype._strokeUpdate;
64267
- this._ctx = canvas.getContext("2d");
64299
+ this._ctx = canvas.getContext("2d", this.canvasContextOptions);
64268
64300
  this.clear();
64269
64301
  this.on();
64270
64302
  }