@indfnd/common 1.1.9 → 1.1.11

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,25 @@
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.11](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.10...v1.1.11) (2025-09-16)
6
+
7
+
8
+ ### Features
9
+
10
+ * 预览Excel ([de5172e](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/de5172e7a89df4023eeda281d0943d9f9ccb6a69))
11
+
12
+ ### [1.1.10](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.9...v1.1.10) (2025-09-16)
13
+
14
+
15
+ ### Features
16
+
17
+ * 修复表格高度为0的问题 ([ff2b5cb](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/ff2b5cbfb9584b0c5cd827af56c8d2db863bc6c5))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * 修改 ([87ea04b](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/87ea04b363c746770ec130b2ad3977cd7cb32a44))
23
+
5
24
  ### [1.1.9](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.8...v1.1.9) (2025-09-15)
6
25
 
7
26
 
@@ -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.8";
5463
+ const version = "1.1.10";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -44127,13 +44127,13 @@ function previewJsonToExcel(excelData) {
44127
44127
  var lineData = jsonData[i];
44128
44128
  for (var j = 0; j < lineData.length; j++) {
44129
44129
  if (columnType[j] === "p" && lineData[j]) {
44130
- sheet.cell(rowsNow + i, j + 1).value(parseFloat(lineData[j] / 100));
44130
+ sheet.cell(rowsNow + i, j + 1).value(parseFloat(lineData[j].value / 100));
44131
44131
  dataCellStyle.numberFormat = numberFormat[j];
44132
44132
  } else if (columnType[j] === "n" && lineData[j]) {
44133
- sheet.cell(rowsNow + i, j + 1).value(parseFloat(lineData[j]));
44133
+ sheet.cell(rowsNow + i, j + 1).value(parseFloat(lineData[j].value));
44134
44134
  dataCellStyle.numberFormat = numberFormat[j];
44135
44135
  } else if (columnType[j] === "s" && lineData[j]) {
44136
- sheet.cell(rowsNow + i, j + 1).value(lineData[j]);
44136
+ sheet.cell(rowsNow + i, j + 1).value(lineData[j].value);
44137
44137
  dataCellStyle.numberFormat = "";
44138
44138
  } else {
44139
44139
  if (columnType[j] === "p" || columnType[j] === "n") {
@@ -44180,7 +44180,7 @@ function previewJsonToExcel(excelData) {
44180
44180
  workbook.outputAsync().then(async function(blob) {
44181
44181
  const timestamp = new Date().getTime();
44182
44182
  const filename = `${timestamp}.xlsx`;
44183
- const { data } = await putOssFileApi(filename, blob);
44183
+ let { data } = await putOssFileApi(filename, blob);
44184
44184
  console.log("data is --111111", data);
44185
44185
  fileId = (data == null ? void 0 : data[0].fileId) || "";
44186
44186
  resolve(fileId);
@@ -49750,7 +49750,7 @@ var FormImpl = {
49750
49750
  }
49751
49751
  },
49752
49752
  [
49753
- d.checkAble ? h("div", { style: { display: "flex" } }, [
49753
+ d.checkAble ? h("div", { style: { display: "grid", gridTemplateColumns: "1fr 67px" } }, [
49754
49754
  this.scopedSlots[d.formKey] ? this.scopedSlots[d.formKey]({
49755
49755
  form: this.form,
49756
49756
  item: d
@@ -49765,6 +49765,12 @@ var FormImpl = {
49765
49765
  style: {
49766
49766
  flexShrink: 0,
49767
49767
  marginLeft: "10px"
49768
+ },
49769
+ on: {
49770
+ input: function() {
49771
+ d.checked = !d.checked;
49772
+ console.log("d.checked now is", d.checked);
49773
+ }
49768
49774
  }
49769
49775
  },
49770
49776
  [d.checkLabel || "\u5206\u7EC4"]
@@ -60895,9 +60901,9 @@ var render$A = function() {
60895
60901
  var _vm = this;
60896
60902
  var _h = _vm.$createElement;
60897
60903
  var _c = _vm._self._c || _h;
60898
- return _c("div", [!_vm.isPc ? _c("div", { staticClass: "ind-loading-panel" }, [_vm._t("default"), _c("div", { staticClass: "custom-overlay", class: { show: _vm.loading }, on: { "click": function($event) {
60904
+ return _c("div", { staticClass: "ind-loading-panel" }, [!_vm.isPc ? [_vm._t("default"), _c("div", { staticClass: "custom-overlay", class: { show: _vm.loading }, on: { "click": function($event) {
60899
60905
  $event.stopPropagation();
60900
- } } }, [_vm.isFullScreenLoading && _vm.loadingImageUrl(true) ? _c("div", { staticClass: "ind-loading-wrapper-global" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%" }, attrs: { "src": _vm.loadingImageUrl(true), "alt": "" } }), _c("div", { staticClass: "ind-loading-wrapper-text" }, [_vm._v(" " + _vm._s(_vm.text || "\u7CFB\u7EDF\u52A0\u8F7D\u4E2D...") + " ")])]) : !_vm.isFullScreenLoading && _vm.loadingImageUrl(false) ? _c("div", { staticClass: "ind-loading-wrapper-local" }, [_c("div", { staticClass: "ind-loading-block ind-vcenter" }, [_c("div", { staticClass: "ind-loading-block-center" }, [_c("img", { attrs: { "src": _vm.loadingImageUrl(false), "alt": "" } }), _c("div", { staticClass: "ind-loading-block-text" }, [_vm._v(_vm._s(_vm.text || "\u52A0\u8F7D\u4E2D..."))])])])]) : !_vm.loadingImageUrl(false) ? _c("div", { staticClass: "ind-loading-wrapper-local" }, [_c("div", { staticClass: "ind-loading-block ind-vcenter" }, [_c("div", { staticClass: "ind-loading-block-center" }, [_c("div", { staticClass: "img-divv" }, [_c("Icons", { staticClass: "ind-loading-spin-icon", attrs: { "type": "ios-loading", "size": "18" } })], 1), _c("div", { staticClass: "ind-loading-block-text" }, [_vm._v(_vm._s(_vm.text || "\u52A0\u8F7D\u4E2D..."))])])])]) : _vm._e()])], 2) : _c("div", { staticClass: "ind-loading-panel" }, [_vm._t("default"), _vm.loading ? _c("Spin", { class: ["ind-loading-spin", "ind-loading-spin--" + _vm.theme], style: _vm.style, attrs: { "fix": "" } }, [_c("Icons", { staticClass: "ind-loading-spin-icon", attrs: { "type": "ios-loading", "size": "18" } }), !_vm.noText ? _c("div", [_vm._v(_vm._s(_vm.text))]) : _vm._e()], 1) : _vm._e()], 2)]);
60906
+ } } }, [_vm.isFullScreenLoading && _vm.loadingImageUrl(true) ? _c("div", { staticClass: "ind-loading-wrapper-global" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%" }, attrs: { "src": _vm.loadingImageUrl(true), "alt": "" } }), _c("div", { staticClass: "ind-loading-wrapper-text" }, [_vm._v(" " + _vm._s(_vm.text || "\u7CFB\u7EDF\u52A0\u8F7D\u4E2D...") + " ")])]) : !_vm.isFullScreenLoading && _vm.loadingImageUrl(false) ? _c("div", { staticClass: "ind-loading-wrapper-local" }, [_c("div", { staticClass: "ind-loading-block ind-vcenter" }, [_c("div", { staticClass: "ind-loading-block-center" }, [_c("img", { attrs: { "src": _vm.loadingImageUrl(false), "alt": "" } }), _c("div", { staticClass: "ind-loading-block-text" }, [_vm._v(_vm._s(_vm.text || "\u52A0\u8F7D\u4E2D..."))])])])]) : !_vm.loadingImageUrl(false) ? _c("div", { staticClass: "ind-loading-wrapper-local" }, [_c("div", { staticClass: "ind-loading-block ind-vcenter" }, [_c("div", { staticClass: "ind-loading-block-center" }, [_c("div", { staticClass: "img-divv" }, [_c("Icons", { staticClass: "ind-loading-spin-icon", attrs: { "type": "ios-loading", "size": "18" } })], 1), _c("div", { staticClass: "ind-loading-block-text" }, [_vm._v(_vm._s(_vm.text || "\u52A0\u8F7D\u4E2D..."))])])])]) : _vm._e()])] : [_vm._t("default"), _vm.loading ? _c("Spin", { class: ["ind-loading-spin", "ind-loading-spin--" + _vm.theme], style: _vm.style, attrs: { "fix": "" } }, [_c("Icons", { staticClass: "ind-loading-spin-icon", attrs: { "type": "ios-loading", "size": "18" } }), !_vm.noText ? _c("div", [_vm._v(_vm._s(_vm.text))]) : _vm._e()], 1) : _vm._e()]], 2);
60901
60907
  };
60902
60908
  var staticRenderFns$A = [];
60903
60909
  const __vue2_script$B = {