@indfnd/common 0.1.12 → 0.1.13
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 +8 -0
- package/dist/ind-common.es.js +10 -6
- package/dist/ind-common.umd.cjs +19 -19
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
|
+
### [0.1.13](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.12...v0.1.13) (2024-03-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 表格组件默认单元格不换行 ([833839a](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/833839ad5826b08e560b3da11c1b7d9f76c92d9f))
|
|
11
|
+
* 优化报表指标选择组件,支持列宽切换单位等选项 ([39e09b5](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/39e09b55b218b2ea560630b5d81020901d702207))
|
|
12
|
+
|
|
5
13
|
### [0.1.12](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.11...v0.1.12) (2024-03-29)
|
|
6
14
|
|
|
7
15
|
### [0.1.11](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.10...v0.1.11) (2024-03-29)
|
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, getLocalStorage, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionCache, 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.1.
|
|
5
|
+
const version = "0.1.12";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -50031,9 +50031,9 @@ const __vue2_script$15 = {
|
|
|
50031
50031
|
var _a, _b;
|
|
50032
50032
|
this.tableParsedColumns = this.parsedColumns;
|
|
50033
50033
|
if (this.exportFileName) {
|
|
50034
|
-
this.fileName = this.exportFileName
|
|
50034
|
+
this.fileName = this.exportFileName;
|
|
50035
50035
|
} else {
|
|
50036
|
-
this.fileName = (
|
|
50036
|
+
this.fileName = (_b = (_a = this.$route) == null ? void 0 : _a.meta) == null ? void 0 : _b.title;
|
|
50037
50037
|
}
|
|
50038
50038
|
},
|
|
50039
50039
|
methods: {
|
|
@@ -51959,6 +51959,10 @@ const __vue2_script$V = {
|
|
|
51959
51959
|
type: Boolean,
|
|
51960
51960
|
default: true
|
|
51961
51961
|
},
|
|
51962
|
+
cellAutoHeight: {
|
|
51963
|
+
type: Boolean,
|
|
51964
|
+
default: false
|
|
51965
|
+
},
|
|
51962
51966
|
renderDataFn: Function,
|
|
51963
51967
|
revertBtn: Boolean,
|
|
51964
51968
|
isIndexManageTable: Boolean,
|
|
@@ -51995,7 +51999,6 @@ const __vue2_script$V = {
|
|
|
51995
51999
|
noRowsTemplate: String
|
|
51996
52000
|
},
|
|
51997
52001
|
data() {
|
|
51998
|
-
var _a, _b, _c, _d;
|
|
51999
52002
|
return {
|
|
52000
52003
|
tableRef: null,
|
|
52001
52004
|
refreshTable: false,
|
|
@@ -52032,8 +52035,8 @@ const __vue2_script$V = {
|
|
|
52032
52035
|
suppressMenu: true,
|
|
52033
52036
|
wrapHeaderText: this.headerAutoHeight,
|
|
52034
52037
|
autoHeaderHeight: this.headerAutoHeight,
|
|
52035
|
-
wrapText:
|
|
52036
|
-
autoHeight:
|
|
52038
|
+
wrapText: this.cellAutoHeight,
|
|
52039
|
+
autoHeight: this.cellAutoHeight,
|
|
52037
52040
|
suppressKeyboardEvent: (params) => {
|
|
52038
52041
|
return suppressNavigation(params);
|
|
52039
52042
|
}
|
|
@@ -52067,6 +52070,7 @@ const __vue2_script$V = {
|
|
|
52067
52070
|
deepEach$3(null, this.columns, (d) => {
|
|
52068
52071
|
rlt.push(d);
|
|
52069
52072
|
});
|
|
52073
|
+
console.log("flatColumns length is", rlt.length);
|
|
52070
52074
|
return rlt;
|
|
52071
52075
|
},
|
|
52072
52076
|
columnCalcMap() {
|