@indfnd/common 1.1.31 → 1.1.33

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,33 @@
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.33](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.32...v1.1.33) (2025-12-11)
6
+
7
+
8
+ ### Features
9
+
10
+ * 增加labelDesc、headerDesc属性 ([66c792a](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/66c792a8eefa43c930ded9a8c6971651d7f4208c))
11
+ * **indTree:** 增加input placeholder props: inputPlaceholder ([bc621d0](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/bc621d052b4027554a332b97d14d4d4c3ebfcf3b))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * u ([fedd1fb](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/fedd1fbcf7eccdb10d440a68516b70717c838e03))
17
+ * u ([05e2bc6](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/05e2bc6a00f5d2530a0306c50b796f03c81d0555))
18
+
19
+ ### [1.1.32](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.31...v1.1.32) (2025-12-09)
20
+
21
+
22
+ ### Features
23
+
24
+ * 丑陋的初始化common-m ([126b292](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/126b2925233480bf1f4be95f73a0bfa43f3298f8))
25
+ * 移动端打包优化,减小js体积 ([61fd617](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/61fd61794ca4ba9f92bcc370e8c5a009f55e5f6b))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * u ([c97e722](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/c97e72210adaf84d3b233f62bfb49cfaffedf0a7))
31
+
5
32
  ### [1.1.31](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.30...v1.1.31) (2025-12-01)
6
33
 
7
34
 
@@ -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.1.30";
5463
+ const version = "1.1.32";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -49732,6 +49732,18 @@ var FormImpl = {
49732
49732
  let conditionFlag = d.condition instanceof Function ? d.condition(this.form) : d.condition !== false;
49733
49733
  let showMoreFlag = this.formType == "search" ? this.showMore ? true : idx < showMorePosition : true;
49734
49734
  if (conditionFlag && showMoreFlag) {
49735
+ let labelSlots = [];
49736
+ if (d.labelDesc) {
49737
+ labelSlots = [
49738
+ h("template", { slot: "label" }, [
49739
+ h("Tooltip", {}, [
49740
+ h("template", { slot: "content" }, [d.labelDesc]),
49741
+ d.title,
49742
+ h("Icon", { props: { type: "ios-alert-outline" } })
49743
+ ])
49744
+ ])
49745
+ ];
49746
+ }
49735
49747
  formItems.push(
49736
49748
  h(
49737
49749
  "Col",
@@ -49750,6 +49762,7 @@ var FormImpl = {
49750
49762
  }
49751
49763
  },
49752
49764
  [
49765
+ ...labelSlots,
49753
49766
  d.checkAble ? h("div", { style: { display: "grid", gridTemplateColumns: "1fr 67px" } }, [
49754
49767
  this.scopedSlots[d.formKey] ? this.scopedSlots[d.formKey]({
49755
49768
  form: this.form,
@@ -54148,7 +54161,7 @@ const __vue2_script$14 = {
54148
54161
  pinned: column.fixed || column.pinned,
54149
54162
  align: column.align || "left",
54150
54163
  cellDataType: column.cellDataType || "text",
54151
- headerTooltip: (_c = (_b = (_a = this.$store) == null ? void 0 : _a.getters) == null ? void 0 : _b.getIndexDesc) == null ? void 0 : _c[column.standardField || column.key || column.field],
54164
+ headerTooltip: column.headerDesc || ((_c = (_b = (_a = this.$store) == null ? void 0 : _a.getters) == null ? void 0 : _b.getIndexDesc) == null ? void 0 : _c[column.standardField || column.key || column.field]),
54152
54165
  suppressStickyLabel: true,
54153
54166
  suppressMovable: !!column.suppressMovable
54154
54167
  };
@@ -56787,7 +56800,7 @@ const __vue2_script$12 = {
56787
56800
  } else {
56788
56801
  let a2 = a[this.sortParams.sort] || "";
56789
56802
  let b2 = b[this.sortParams.sort] || "";
56790
- return this.sortParams.order === "asc" ? a2.localeCompare(b2, "zh-CN") : b2.localeCompare(a2, "zh-CN");
56803
+ return this.sortParams.order === "asc" ? String(a2 || "").localeCompare(String(b2 || ""), "zh-CN") : String(b2 || "").localeCompare(String(a2 || ""), "zh-CN");
56791
56804
  }
56792
56805
  });
56793
56806
  if (this.noSortLine > -1) {
@@ -57164,7 +57177,7 @@ var render$Z = function() {
57164
57177
  var _vm = this;
57165
57178
  var _h = _vm.$createElement;
57166
57179
  var _c = _vm._self._c || _h;
57167
- return _c("div", { ref: "treeWrapper", staticClass: "tree-wrapper ind-flex-column", style: { height: _vm.height } }, [_vm.loading ? _c("Spin", { attrs: { "fix": "" } }) : _vm._e(), _vm.isShowHeader ? _c("div", { staticClass: "header ind-flex-no-shrink" }, [_c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.treeName))])]) : _vm._e(), _c("div", { staticClass: "content ind-flex-grow ind-flex-column" }, [_vm.isShowSearch ? _c("Input", { staticClass: "ind-flex-no-shrink", attrs: { "clearable": "", "search": "", "placeholder": "\u591A\u4E2A\u7528\u7A7A\u683C\u5206\u9694" }, on: { "on-clear": _vm.clearHighlightNodes, "on-change": _vm.onSearchChange, "on-search": _vm.search }, model: { value: _vm.searchValue, callback: function($$v) {
57180
+ return _c("div", { ref: "treeWrapper", staticClass: "tree-wrapper ind-flex-column", style: { height: _vm.height } }, [_vm.loading ? _c("Spin", { attrs: { "fix": "" } }) : _vm._e(), _vm.isShowHeader ? _c("div", { staticClass: "header ind-flex-no-shrink" }, [_c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.treeName))])]) : _vm._e(), _c("div", { staticClass: "content ind-flex-grow ind-flex-column" }, [_vm.isShowSearch ? _c("Input", { staticClass: "ind-flex-no-shrink", attrs: { "clearable": "", "search": "", "placeholder": _vm.inputPlaceholder }, on: { "on-clear": _vm.clearHighlightNodes, "on-change": _vm.onSearchChange, "on-search": _vm.search }, model: { value: _vm.searchValue, callback: function($$v) {
57168
57181
  _vm.searchValue = typeof $$v === "string" ? $$v.trim() : $$v;
57169
57182
  }, expression: "searchValue" } }) : _vm._e(), _c("Tree", _vm._b({ ref: "tree", staticClass: "ind-flex-grow", attrs: { "data": _vm.treeData, "check-strictly": _vm.checkStrictly, "render": _vm.renderContentProps || _vm.renderContent, "expand-node": _vm.expandNode, "show-checkbox": _vm.showCheckbox }, on: { "on-check-change": _vm.onCheckChange, "on-select-change": _vm.onSelectChange } }, "Tree", _vm.$attrs, false))], 1)], 1);
57170
57183
  };
@@ -57303,6 +57316,10 @@ const __vue2_script$_ = {
57303
57316
  default() {
57304
57317
  return [];
57305
57318
  }
57319
+ },
57320
+ inputPlaceholder: {
57321
+ type: String,
57322
+ default: "\u591A\u4E2A\u7528\u7A7A\u683C\u5206\u9694"
57306
57323
  }
57307
57324
  },
57308
57325
  data() {