@indfnd/common 1.0.4 → 1.0.6
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 +14 -0
- package/dist/ind-common.es.js +7 -7
- package/dist/ind-common.umd.cjs +24 -24
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.6](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.5...v1.0.6) (2024-06-17)
|
|
6
|
+
|
|
7
|
+
### [1.0.5](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.4...v1.0.5) (2024-06-17)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* 查询条件位置问题修复 ([28be0f8](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/28be0f8d89b8b9da05ed3a1c5bd30815dde0c73f))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 更新依赖 ([2a902aa](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/2a902aa48ca727a41b261e7ab031f14672fb0aa7))
|
|
18
|
+
|
|
5
19
|
### [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
20
|
|
|
7
21
|
### [1.0.3](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.0...v1.0.3) (2024-06-16)
|
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 = "1.0.
|
|
5
|
+
const version = "1.0.5";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -62,7 +62,7 @@ const dependencies = {
|
|
|
62
62
|
"xlsx-populate": "^1.11.0"
|
|
63
63
|
};
|
|
64
64
|
const devDependencies = {
|
|
65
|
-
"@indfnd/utils": "^0.1.
|
|
65
|
+
"@indfnd/utils": "^0.1.11",
|
|
66
66
|
"ag-grid-community": "^30.1.0",
|
|
67
67
|
"ag-grid-enterprise": "^30.1.0",
|
|
68
68
|
"ag-grid-vue": "^30.1.0",
|
|
@@ -48543,12 +48543,13 @@ var dropdownItem = /* @__PURE__ */ function() {
|
|
|
48543
48543
|
return __component__$1f.exports;
|
|
48544
48544
|
}();
|
|
48545
48545
|
const defaultSpan = 8;
|
|
48546
|
-
const SMALLWIDTHLIMIT =
|
|
48546
|
+
const SMALLWIDTHLIMIT = () => {
|
|
48547
|
+
return top == self ? 1700 : 1440;
|
|
48548
|
+
};
|
|
48547
48549
|
var FormImpl = {
|
|
48548
48550
|
name: "FormImpl",
|
|
48549
48551
|
data() {
|
|
48550
48552
|
return {
|
|
48551
|
-
showMorePosition: window.innerWidth < SMALLWIDTHLIMIT ? 2 : 3,
|
|
48552
48553
|
form: {},
|
|
48553
48554
|
enumList: [],
|
|
48554
48555
|
enumData: {},
|
|
@@ -48733,10 +48734,9 @@ var FormImpl = {
|
|
|
48733
48734
|
},
|
|
48734
48735
|
render(h) {
|
|
48735
48736
|
let formItems = [];
|
|
48736
|
-
let showMorePosition = this.showMorePosition;
|
|
48737
48737
|
let spanList;
|
|
48738
|
-
let searchSpan = window.innerWidth < SMALLWIDTHLIMIT ? 8 : 6;
|
|
48739
|
-
|
|
48738
|
+
let searchSpan = window.innerWidth < SMALLWIDTHLIMIT() ? 8 : 6;
|
|
48739
|
+
let showMorePosition = window.innerWidth < SMALLWIDTHLIMIT() ? 2 : 3;
|
|
48740
48740
|
spanList = _.fill(
|
|
48741
48741
|
_.range(this.fieldList.length),
|
|
48742
48742
|
this.formType == "search" ? searchSpan : this.defaultSpan
|