@indfnd/common 0.1.85 → 0.1.87
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 +12 -0
- package/dist/ind-common.es.js +17 -15
- package/dist/ind-common.umd.cjs +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
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.87](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.88...v0.1.87) (2024-06-11)
|
|
6
|
+
|
|
7
|
+
### [0.1.88](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.86...v0.1.88) (2024-06-11)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* 地市树增加默认省内和根节点展开属性 ([6af9249](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/6af92493cc7039beec253941c66fb49ccbcd6ef9))
|
|
13
|
+
* 地市树增加默认省内和根节点展开属性 ([88074e5](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/88074e5096b478f17f15ae785f9986f80c237ae8))
|
|
14
|
+
|
|
15
|
+
### [0.1.86](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.85...v0.1.86) (2024-06-07)
|
|
16
|
+
|
|
5
17
|
### [0.1.85](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.84...v0.1.85) (2024-06-07)
|
|
6
18
|
|
|
7
19
|
|
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.1.
|
|
5
|
+
const version = "0.1.86";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -54349,10 +54349,11 @@ const __vue2_script$V = {
|
|
|
54349
54349
|
node.status = "";
|
|
54350
54350
|
node.statusName = "";
|
|
54351
54351
|
node.statusColor = "";
|
|
54352
|
+
node.expand = node.comIsImported == "0" || node.id == "ALL";
|
|
54352
54353
|
if (!node.expand) {
|
|
54353
54354
|
node.expand = false;
|
|
54354
54355
|
}
|
|
54355
|
-
if (this.expandAll) {
|
|
54356
|
+
if (this.expandAll || node.expand) {
|
|
54356
54357
|
node.expand = true;
|
|
54357
54358
|
} else if (this.defaultExpandLevel != void 0) {
|
|
54358
54359
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
@@ -54424,7 +54425,7 @@ const __vue2_script$V = {
|
|
|
54424
54425
|
},
|
|
54425
54426
|
setDefaultValue2Nodes() {
|
|
54426
54427
|
deepEach$2(this.treeData, (node) => {
|
|
54427
|
-
node.expand = this.expandAll ? true : node.expand;
|
|
54428
|
+
node.expand = this.expandAll || node.expand ? true : node.expand;
|
|
54428
54429
|
if (this.defaultExpandLevel != void 0) {
|
|
54429
54430
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
54430
54431
|
}
|
|
@@ -54440,7 +54441,7 @@ const __vue2_script$V = {
|
|
|
54440
54441
|
}
|
|
54441
54442
|
});
|
|
54442
54443
|
deepEach$2(this.backupTreeData, (node) => {
|
|
54443
|
-
node.expand = this.expandAll ? true : node.expand;
|
|
54444
|
+
node.expand = this.expandAll || node.expand ? true : node.expand;
|
|
54444
54445
|
if (this.defaultExpandLevel != void 0) {
|
|
54445
54446
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
54446
54447
|
}
|
|
@@ -54864,7 +54865,7 @@ const __vue2_script$V = {
|
|
|
54864
54865
|
},
|
|
54865
54866
|
clearCheckedAndSelectedNodes(byDefault) {
|
|
54866
54867
|
deepEach$2(this.treeData, (node) => {
|
|
54867
|
-
node.expand = this.expandAll ? true : false;
|
|
54868
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
54868
54869
|
if (this.defaultExpandLevel != void 0) {
|
|
54869
54870
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
54870
54871
|
}
|
|
@@ -54880,7 +54881,7 @@ const __vue2_script$V = {
|
|
|
54880
54881
|
}
|
|
54881
54882
|
}
|
|
54882
54883
|
deepEach$2(this.backupTreeData, (node) => {
|
|
54883
|
-
node.expand = this.expandAll ? true : false;
|
|
54884
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
54884
54885
|
if (this.defaultExpandLevel != void 0) {
|
|
54885
54886
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
54886
54887
|
}
|
|
@@ -54949,7 +54950,7 @@ const __vue2_script$V = {
|
|
|
54949
54950
|
if (node.matched) {
|
|
54950
54951
|
node.expand = true;
|
|
54951
54952
|
} else {
|
|
54952
|
-
node.expand = this.expandAll ? true : false;
|
|
54953
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
54953
54954
|
}
|
|
54954
54955
|
});
|
|
54955
54956
|
}
|
|
@@ -62323,10 +62324,11 @@ const __vue2_script$a = {
|
|
|
62323
62324
|
node.status = "";
|
|
62324
62325
|
node.statusName = "";
|
|
62325
62326
|
node.statusColor = "";
|
|
62327
|
+
node.expand = node.comIsImported == "0" || node.id == "ALL";
|
|
62326
62328
|
if (!node.expand) {
|
|
62327
62329
|
node.expand = false;
|
|
62328
62330
|
}
|
|
62329
|
-
if (this.expandAll) {
|
|
62331
|
+
if (this.expandAll || node.expand) {
|
|
62330
62332
|
node.expand = true;
|
|
62331
62333
|
} else if (this.defaultExpandLevel) {
|
|
62332
62334
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
@@ -62421,7 +62423,7 @@ const __vue2_script$a = {
|
|
|
62421
62423
|
node.selected = true;
|
|
62422
62424
|
}
|
|
62423
62425
|
} else {
|
|
62424
|
-
node.expand = this.expandAll ? true : false;
|
|
62426
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
62425
62427
|
if (this.defaultExpandLevel) {
|
|
62426
62428
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
62427
62429
|
}
|
|
@@ -62438,7 +62440,7 @@ const __vue2_script$a = {
|
|
|
62438
62440
|
node.selected = true;
|
|
62439
62441
|
}
|
|
62440
62442
|
} else {
|
|
62441
|
-
node.expand = this.expandAll ? true : false;
|
|
62443
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
62442
62444
|
if (this.defaultExpandLevel) {
|
|
62443
62445
|
node.expand = node.level <= this.defaultExpandLevel;
|
|
62444
62446
|
}
|
|
@@ -62497,7 +62499,7 @@ const __vue2_script$a = {
|
|
|
62497
62499
|
return matched = true;
|
|
62498
62500
|
}
|
|
62499
62501
|
});
|
|
62500
|
-
node.expand = this.expandAll ? true : matched;
|
|
62502
|
+
node.expand = this.expandAll || node.expand ? true : matched;
|
|
62501
62503
|
});
|
|
62502
62504
|
deepEach(this.backupTreeData, (node) => {
|
|
62503
62505
|
let matched = false;
|
|
@@ -62506,7 +62508,7 @@ const __vue2_script$a = {
|
|
|
62506
62508
|
return matched = true;
|
|
62507
62509
|
}
|
|
62508
62510
|
});
|
|
62509
|
-
node.expand = this.expandAll ? true : matched;
|
|
62511
|
+
node.expand = this.expandAll || node.expand ? true : matched;
|
|
62510
62512
|
});
|
|
62511
62513
|
},
|
|
62512
62514
|
watchDataProp() {
|
|
@@ -62827,7 +62829,7 @@ const __vue2_script$a = {
|
|
|
62827
62829
|
},
|
|
62828
62830
|
clearCheckedAndSelectedNodes() {
|
|
62829
62831
|
deepEach(this.treeData || [], (node) => {
|
|
62830
|
-
node.expand = this.expandAll ? true : false;
|
|
62832
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
62831
62833
|
node.checked = false;
|
|
62832
62834
|
node.selected = false;
|
|
62833
62835
|
node.indeterminate = false;
|
|
@@ -62838,7 +62840,7 @@ const __vue2_script$a = {
|
|
|
62838
62840
|
this.$emit("on-select-change", [], null);
|
|
62839
62841
|
}
|
|
62840
62842
|
deepEach(this.backupTreeData || [], (node) => {
|
|
62841
|
-
node.expand = this.expandAll ? true : false;
|
|
62843
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
62842
62844
|
node.checked = false;
|
|
62843
62845
|
node.selected = false;
|
|
62844
62846
|
node.indeterminate = false;
|
|
@@ -62901,7 +62903,7 @@ const __vue2_script$a = {
|
|
|
62901
62903
|
if (node.matched) {
|
|
62902
62904
|
node.expand = true;
|
|
62903
62905
|
} else {
|
|
62904
|
-
node.expand = this.expandAll ? true : false;
|
|
62906
|
+
node.expand = this.expandAll || node.expand ? true : false;
|
|
62905
62907
|
}
|
|
62906
62908
|
});
|
|
62907
62909
|
}
|