@indfnd/common 0.1.43 → 0.1.44
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
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.44](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.43...v0.1.44) (2024-04-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* message error改成3秒 ([91edc70](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/91edc70a09c6821dbda16a71143a6607a9516645))
|
|
11
|
+
|
|
5
12
|
### [0.1.43](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.42...v0.1.43) (2024-04-18)
|
|
6
13
|
|
|
7
14
|
|
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, uuid, 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, 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.43";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -57208,7 +57208,7 @@ var render$x = function() {
|
|
|
57208
57208
|
} }, model: { value: _vm.show, callback: function($$v) {
|
|
57209
57209
|
_vm.show = $$v;
|
|
57210
57210
|
}, expression: "show" } }, [_vm.menuInfo.menuDesc ? [_c("div", { staticClass: "ind-menu-help-panel" }, [_c("div", { staticClass: "ind-flex" }, [_c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u529F\u80FD\u8BF4\u660E\uFF1A")]), _c("div", { staticClass: "ind-menu-title-content" }, [_vm._v(" " + _vm._s(_vm.menuInfo.menuDesc) + " ")])]), _c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u6307\u6807\u5B9A\u4E49\uFF1A")]), _vm._l(_vm.menuInfo.indexList, function(item2, idx) {
|
|
57211
|
-
return _c("div", { key: "index" + idx, staticClass: "ind-
|
|
57211
|
+
return _c("div", { key: "index" + idx, staticClass: "ind-menu-line-item" }, [_c("div", { staticClass: "ind-intent-1 ind-flex-no-shrink" }, [_vm._v(_vm._s(item2.indexName))]), _c("div", { staticClass: "ind-menu-desc-content" }, [_vm._v(" " + _vm._s(item2.indexRule) + " ")])]);
|
|
57212
57212
|
})], 2)] : [_c("div", { staticClass: "ind-empty" }, [_vm._v("\u6682\u65E0")])]], 2)], 1);
|
|
57213
57213
|
};
|
|
57214
57214
|
var staticRenderFns$x = [];
|
|
@@ -64325,6 +64325,42 @@ const install = function(Vue2, opts = { theme: "" }) {
|
|
|
64325
64325
|
Vue2.directive(key, directives[key]);
|
|
64326
64326
|
});
|
|
64327
64327
|
Vue2.prototype.$Modal = Modal;
|
|
64328
|
+
let old$MessageWarn = Vue2.prototype.$Message.warning;
|
|
64329
|
+
Vue2.prototype.$Message.warning = function(config2) {
|
|
64330
|
+
if (typeof config2 == "string") {
|
|
64331
|
+
old$MessageWarn.apply(this, [
|
|
64332
|
+
{
|
|
64333
|
+
content: config2,
|
|
64334
|
+
duration: 3
|
|
64335
|
+
}
|
|
64336
|
+
]);
|
|
64337
|
+
} else {
|
|
64338
|
+
old$MessageWarn.apply(this, [
|
|
64339
|
+
{
|
|
64340
|
+
...config2,
|
|
64341
|
+
duration: 3
|
|
64342
|
+
}
|
|
64343
|
+
]);
|
|
64344
|
+
}
|
|
64345
|
+
};
|
|
64346
|
+
let old$MessageError = Vue2.prototype.$Message.error;
|
|
64347
|
+
Vue2.prototype.$Message.error = function(config2) {
|
|
64348
|
+
if (typeof config2 == "string") {
|
|
64349
|
+
old$MessageError.apply(this, [
|
|
64350
|
+
{
|
|
64351
|
+
content: config2,
|
|
64352
|
+
duration: 3
|
|
64353
|
+
}
|
|
64354
|
+
]);
|
|
64355
|
+
} else {
|
|
64356
|
+
old$MessageError.apply(this, [
|
|
64357
|
+
{
|
|
64358
|
+
...config2,
|
|
64359
|
+
duration: 3
|
|
64360
|
+
}
|
|
64361
|
+
]);
|
|
64362
|
+
}
|
|
64363
|
+
};
|
|
64328
64364
|
Vue2.prototype.$EventBus = EventBus;
|
|
64329
64365
|
};
|
|
64330
64366
|
if (typeof window !== "undefined" && window.Vue) {
|