@indfnd/common 1.0.0 → 1.0.4
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 +22 -0
- package/dist/ind-common.es.js +15 -16
- package/dist/ind-common.umd.cjs +29 -29
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
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.0.4](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.3...v1.0.4) (2024-06-16)
|
|
6
|
+
|
|
7
|
+
### [1.0.3](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.0...v1.0.3) (2024-06-16)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* 版本 ([9d36971](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/9d36971e2c89e254ba25838b28ae1ebf56426753))
|
|
13
|
+
* 去掉计算合计的加载中 ([1681d1f](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/1681d1fd84be60bc1e567577597fd1727d3232b7))
|
|
14
|
+
* 修复bug ([5e1f438](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/5e1f438b774df3672c98e13cee52215d84487636))
|
|
15
|
+
* init ([64af2d3](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/64af2d3bef0403be82662191bd6153165ac99b0b))
|
|
16
|
+
|
|
17
|
+
### [1.0.2](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.1...v1.0.2) (2024-06-15)
|
|
18
|
+
|
|
19
|
+
### [1.0.1](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.0...v1.0.1) (2024-06-15)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* 版本 ([9d36971](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/9d36971e2c89e254ba25838b28ae1ebf56426753))
|
|
25
|
+
* init ([64af2d3](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/64af2d3bef0403be82662191bd6153165ac99b0b))
|
|
26
|
+
|
|
5
27
|
## [1.0.0](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.107...v1.0.0) (2024-06-15)
|
|
6
28
|
|
|
7
29
|
### [0.1.107](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.106...v0.1.107) (2024-06-15)
|
package/dist/ind-common.es.js
CHANGED
|
@@ -2,7 +2,7 @@ import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Draw
|
|
|
2
2
|
import { isNil, formatDate as formatDate$1, useConfig, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, uuid, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, getPermissionCache, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, getLocalStorage, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, getIndexDescCache, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
|
|
3
3
|
import Vue$1 from "vue";
|
|
4
4
|
const name$1 = "@indfnd/common";
|
|
5
|
-
const version = "0.
|
|
5
|
+
const version = "1.0.3";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@ const scripts = {
|
|
|
46
46
|
build: "yarn build:prod && yarn build:style",
|
|
47
47
|
"type-check": "vue-tsc --noEmit -p tsconfig.check.json --composite false",
|
|
48
48
|
dts: "vue-tsc -p tsconfig.types.json",
|
|
49
|
-
release: "node build/auto-build.js && yarn release-
|
|
49
|
+
release: "node build/auto-build.js && yarn release-patch && git push --follow-tags && yarn re-publish",
|
|
50
50
|
"release-major": "standard-version --release-as major",
|
|
51
51
|
"release-minor": "standard-version --release-as minor",
|
|
52
52
|
"release-patch": "standard-version --release-as patch",
|
|
@@ -53348,8 +53348,19 @@ const __vue2_script$Z = {
|
|
|
53348
53348
|
agColumn.cellClass = agColumn.cellClass + (column.align == "right" ? " ag-right-aligned-cell" : column.align == "center" ? " ag-center-aligned-cell" : "");
|
|
53349
53349
|
}
|
|
53350
53350
|
}
|
|
53351
|
-
if (column.autoMergeRow)
|
|
53352
|
-
|
|
53351
|
+
if (column.autoMergeRow) {
|
|
53352
|
+
agColumn.rowSpan = (params) => {
|
|
53353
|
+
if (params.node.rowPinned) {
|
|
53354
|
+
return 0;
|
|
53355
|
+
}
|
|
53356
|
+
return this.tableRowSpanMergeIndexMap[params.colDef.field] ? this.tableRowSpanMergeIndexMap[params.colDef.field][params.node.rowIndex + ""] || 0 : 0;
|
|
53357
|
+
};
|
|
53358
|
+
agColumn.cellClassRules = {
|
|
53359
|
+
"cell-span": (params) => {
|
|
53360
|
+
return this.tableRowSpanMergeIndexMap[params.colDef.field] && this.tableRowSpanMergeIndexMap[params.colDef.field][params.node.rowIndex + ""];
|
|
53361
|
+
}
|
|
53362
|
+
};
|
|
53363
|
+
}
|
|
53353
53364
|
agColumn.cellClass = agColumn.cellClass + " " + column.type + " autoMergeRow-" + column.autoMergeRow;
|
|
53354
53365
|
if (column.cellClassRules) {
|
|
53355
53366
|
if (agColumn.cellClassRules) {
|
|
@@ -53516,12 +53527,6 @@ const __vue2_script$Z = {
|
|
|
53516
53527
|
let hasSumRow = _.some(this.flatColumns, (item2) => item2.isSum);
|
|
53517
53528
|
if (hasSumRow) {
|
|
53518
53529
|
console.time("calcSum");
|
|
53519
|
-
this.tableLoading = true;
|
|
53520
|
-
await new Promise((resolve) => {
|
|
53521
|
-
setTimeout(() => {
|
|
53522
|
-
resolve();
|
|
53523
|
-
}, 1);
|
|
53524
|
-
});
|
|
53525
53530
|
let sumCols = _.filter(this.flatColumns, (item2) => item2.isSum);
|
|
53526
53531
|
let sumCalcCols = _.remove(sumCols, (item2) => isString(item2.isSum));
|
|
53527
53532
|
let sumFuncCols = _.remove(sumCols, (item2) => item2.isSum instanceof Function);
|
|
@@ -53587,12 +53592,6 @@ const __vue2_script$Z = {
|
|
|
53587
53592
|
calcDatas(sumRows, options);
|
|
53588
53593
|
this.topRows = this.pinnedTopRowDataWithUnit ? _.concat(this.pinnedTopRowDataWithUnit, sumRows) : sumRows;
|
|
53589
53594
|
console.timeEnd("calcSum");
|
|
53590
|
-
await new Promise((resolve) => {
|
|
53591
|
-
setTimeout(() => {
|
|
53592
|
-
resolve();
|
|
53593
|
-
}, 1);
|
|
53594
|
-
});
|
|
53595
|
-
this.tableLoading = false;
|
|
53596
53595
|
} else {
|
|
53597
53596
|
this.topRows = this.pinnedTopRowDataWithUnit;
|
|
53598
53597
|
}
|