@indfnd/common 1.1.0 → 1.1.1
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 +7 -0
- package/dist/ind-common.es.js +20 -5
- package/dist/ind-common.umd.cjs +23 -23
- package/package.json +2 -2
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.1](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.0...v1.1.1) (2025-08-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 初始化加载exceljs ([f51a422](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/f51a422eb3a708c7cca36ce130a16106d77837db))
|
|
11
|
+
|
|
5
12
|
## [1.1.0](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.128...v1.1.0) (2025-08-29)
|
|
6
13
|
|
|
7
14
|
### [1.0.128](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.127...v1.0.128) (2025-08-27)
|
package/dist/ind-common.es.js
CHANGED
|
@@ -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
|
|
5463
|
+
const version = "1.1.0";
|
|
5464
5464
|
const author = "huxuetong";
|
|
5465
5465
|
const publishConfig = {
|
|
5466
5466
|
registry: "https://registry.npmjs.org/"
|
|
@@ -5504,7 +5504,7 @@ const scripts = {
|
|
|
5504
5504
|
build: "yarn build:prod && yarn build:style",
|
|
5505
5505
|
"type-check": "vue-tsc --noEmit -p tsconfig.check.json --composite false",
|
|
5506
5506
|
dts: "vue-tsc -p tsconfig.types.json",
|
|
5507
|
-
release: "node build/auto-build.js && yarn release-
|
|
5507
|
+
release: "node build/auto-build.js && yarn release-patch && git push --follow-tags && yarn re-publish",
|
|
5508
5508
|
"release-major": "standard-version --release-as major",
|
|
5509
5509
|
"release-minor": "standard-version --release-as minor",
|
|
5510
5510
|
"release-patch": "standard-version --release-as patch",
|
|
@@ -43553,10 +43553,25 @@ function getAgColumnTitleAndData({ columns, datas }) {
|
|
|
43553
43553
|
});
|
|
43554
43554
|
var exportData = datasClo.map((d) => {
|
|
43555
43555
|
return columnsCalc.map((dd, idx) => {
|
|
43556
|
-
if (
|
|
43557
|
-
columnWidth[idx] =
|
|
43556
|
+
if (dd.columnWidth !== void 0) {
|
|
43557
|
+
columnWidth[idx] = dd.columnWidth;
|
|
43558
|
+
} else {
|
|
43559
|
+
if (d[dd.field] && columnWidth[idx] < ("" + d[dd.field]).length * 2) {
|
|
43560
|
+
columnWidth[idx] = ("" + d[dd.field]).length * 2;
|
|
43561
|
+
}
|
|
43558
43562
|
}
|
|
43559
|
-
|
|
43563
|
+
let formula = null;
|
|
43564
|
+
if (dd.formula) {
|
|
43565
|
+
if (dd.formula instanceof Function) {
|
|
43566
|
+
formula = dd.formula(d[dd.field], d, datasClo);
|
|
43567
|
+
} else {
|
|
43568
|
+
formula = dd.formula;
|
|
43569
|
+
}
|
|
43570
|
+
}
|
|
43571
|
+
return {
|
|
43572
|
+
formula,
|
|
43573
|
+
value: d[dd.field]
|
|
43574
|
+
};
|
|
43560
43575
|
});
|
|
43561
43576
|
});
|
|
43562
43577
|
return {
|