@indfnd/common 0.1.89 → 0.1.90
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 +30 -14
- package/dist/ind-common.umd.cjs +25 -25
- 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.90](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.89...v0.1.90) (2024-06-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 地市公司选择改为弹出 ([02803db](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/02803dbc11981cadf46068a5efc7ea505db4e295))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* 地市树增加默认省内和根节点展开属性 ([6c0b47e](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/6c0b47ed44a88bbbf50aac6bc9962d4c8bd1f23d))
|
|
16
|
+
|
|
5
17
|
### [0.1.89](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.87...v0.1.89) (2024-06-11)
|
|
6
18
|
|
|
7
19
|
### [0.1.88](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.87...v0.1.88) (2024-06-11)
|
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.89";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -49017,6 +49017,7 @@ var FormImpl = {
|
|
|
49017
49017
|
props: {
|
|
49018
49018
|
...d.props || {},
|
|
49019
49019
|
value: this.form[d.formKey],
|
|
49020
|
+
selectTitle: "\u8BF7\u9009\u62E9" + d.title,
|
|
49020
49021
|
disabled
|
|
49021
49022
|
},
|
|
49022
49023
|
attrs: {
|
|
@@ -57830,17 +57831,15 @@ var render$u = function() {
|
|
|
57830
57831
|
var _vm = this;
|
|
57831
57832
|
var _h = _vm.$createElement;
|
|
57832
57833
|
var _c = _vm._self._c || _h;
|
|
57833
|
-
return _c("
|
|
57834
|
-
_vm.
|
|
57835
|
-
}, "on-
|
|
57836
|
-
_vm.
|
|
57837
|
-
}
|
|
57838
|
-
|
|
57839
|
-
|
|
57840
|
-
|
|
57841
|
-
},
|
|
57842
|
-
_vm.visible = $$v;
|
|
57843
|
-
}, expression: "visible" } }, [_vm.loading ? _c("Spin", { attrs: { "fix": "" } }) : _vm._e(), _c("Input", { staticClass: "selected-input", class: { readonly: _vm.readonly }, attrs: { "value": _vm.selectedTitles, "title": _vm.selectedTitles, "icon": _vm.readonly ? "" : _vm.inputIcon, "clearable": !_vm.readonly, "placeholder": "\u8BF7\u9009\u62E9", "readonly": "" }, on: { "on-clear": _vm.clearSelected } })], 1);
|
|
57834
|
+
return _c("div", { staticClass: "tree-select-poptip" }, [_vm.loading ? _c("Spin", { attrs: { "fix": "" } }) : _vm._e(), _c("Input", { staticClass: "selected-input", class: { readonly: _vm.readonly }, attrs: { "value": _vm.selectedTitles, "title": _vm.selectedTitles, "icon": _vm.readonly ? "" : _vm.inputIcon, "clearable": !_vm.readonly, "disabled": _vm.readonly, "placeholder": "\u8BF7\u9009\u62E9", "readonly": "" }, on: { "on-clear": _vm.clearSelected, "on-focus": function($event) {
|
|
57835
|
+
_vm.visible = true;
|
|
57836
|
+
} } }), _c("Modal", { staticClass: "ind-modal", attrs: { "value": _vm.visible, "title": _vm.selectTitle, "footerHide": _vm.footerHide }, on: { "on-visible-change": _vm.visibleChange, "on-ok": function($event) {
|
|
57837
|
+
_vm.visible = false;
|
|
57838
|
+
}, "on-cancel": function($event) {
|
|
57839
|
+
_vm.visible = false;
|
|
57840
|
+
} } }, [_c("div", { ref: "treeWrapper", staticClass: "tree-select-wrapper" }, [_c("Input", { staticClass: "tree-select-input", attrs: { "placeholder": "\u591A\u4E2A\u7528\u7A7A\u683C\u5206\u9694,\u56DE\u8F66\u952E\u641C\u7D22", "clearable": "", "search": "" }, on: { "on-clear": _vm.clearHighlightNodes, "on-change": _vm.onSearchChange, "on-search": _vm.search }, model: { value: _vm.searchValue, callback: function($$v) {
|
|
57841
|
+
_vm.searchValue = typeof $$v === "string" ? $$v.trim() : $$v;
|
|
57842
|
+
}, expression: "searchValue" } }), _vm.searchNum > 0 ? _c("div", { staticClass: "global-desc-text" }, [_vm._v(_vm._s(_vm.searchNum) + "\u4E2A\u7ED3\u679C")]) : _vm._e(), _c("Tree", _vm._b({ ref: "tree", attrs: { "height": "400px", "defaultValue": _vm.value || _vm.defaultValue, "expandAll": _vm.expandAll, "defaultExpandLevel": _vm.defaultExpandLevel, "expandNode": _vm.expandNode, "singleSel": _vm.singleSel, "isShowHeader": false, "show-checkbox": _vm.showCheckbox, "is-show-search": false, "check-directly": "" }, on: { "on-select-change": _vm.onSelectChange, "on-check-change": _vm.onCheckChange, "on-load": _vm.initSelectedTitles, "on-default-change": _vm.onCheckChange } }, "Tree", _vm.$attrs, false))], 1)])], 1);
|
|
57844
57843
|
};
|
|
57845
57844
|
var staticRenderFns$u = [];
|
|
57846
57845
|
var treeSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -57856,7 +57855,21 @@ const __vue2_script$v = {
|
|
|
57856
57855
|
showCheckbox: Boolean,
|
|
57857
57856
|
selectLeafOnly: { type: Boolean, default: true },
|
|
57858
57857
|
expandAll: Boolean,
|
|
57859
|
-
defaultExpandLevel: Number
|
|
57858
|
+
defaultExpandLevel: Number,
|
|
57859
|
+
footerHide: Boolean,
|
|
57860
|
+
showCancel: { type: Boolean, default: true },
|
|
57861
|
+
transfer: {
|
|
57862
|
+
type: Boolean,
|
|
57863
|
+
default() {
|
|
57864
|
+
return !this.$IVIEW || this.$IVIEW.transfer === "" ? true : this.$IVIEW.transfer;
|
|
57865
|
+
}
|
|
57866
|
+
},
|
|
57867
|
+
selectTitle: { type: String, default: "\u8BF7\u9009\u62E9" },
|
|
57868
|
+
cancelText: { type: String, default: "\u53D6\u6D88" },
|
|
57869
|
+
okText: { type: String, default: "\u786E\u5B9A" },
|
|
57870
|
+
lazyRender: { type: Boolean, default: true },
|
|
57871
|
+
saving: Boolean,
|
|
57872
|
+
cancelNotClose: Boolean
|
|
57860
57873
|
},
|
|
57861
57874
|
data() {
|
|
57862
57875
|
return {
|
|
@@ -57881,6 +57894,9 @@ const __vue2_script$v = {
|
|
|
57881
57894
|
}
|
|
57882
57895
|
},
|
|
57883
57896
|
methods: {
|
|
57897
|
+
visibleChange(value) {
|
|
57898
|
+
this.visible = value;
|
|
57899
|
+
},
|
|
57884
57900
|
initSelectedTitles(tree, selected) {
|
|
57885
57901
|
this.updateSelectedTitles(selected);
|
|
57886
57902
|
this.loading = false;
|
|
@@ -57957,7 +57973,7 @@ var __component__$v = /* @__PURE__ */ normalizeComponent(
|
|
|
57957
57973
|
staticRenderFns$u,
|
|
57958
57974
|
false,
|
|
57959
57975
|
__vue2_injectStyles$v,
|
|
57960
|
-
"
|
|
57976
|
+
"2ba3c6d8",
|
|
57961
57977
|
null,
|
|
57962
57978
|
null
|
|
57963
57979
|
);
|