@indfnd/common 1.1.6 → 1.1.9
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 +23 -0
- package/dist/ind-common.es.js +32 -16
- package/dist/ind-common.umd.cjs +47 -47
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
- package/src/styles/components/panel.less +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
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.1.9](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.8...v1.1.9) (2025-09-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 修改 ([4cca025](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/4cca025da395a2da46e4f8ab210eb6e6218fd54a))
|
|
11
|
+
* 修改 ([d4713f1](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/d4713f1e264bb9b050ec1b00e6cf5a75245a7eea))
|
|
12
|
+
* 修改 ([2271eb7](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/2271eb7905faf0ae56c68d2882bd726edc4f1b36))
|
|
13
|
+
* 修改 ([d7e116e](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/d7e116ef6407e2cebba681ab7c626fb2f26db7ce))
|
|
14
|
+
* 修改 ([3b64765](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/3b64765792f93703081329f9822e7944bf19de69))
|
|
15
|
+
|
|
16
|
+
### [1.1.8](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.7...v1.1.8) (2025-09-10)
|
|
17
|
+
|
|
18
|
+
### [1.1.7](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.6...v1.1.7) (2025-09-09)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* 修改 ([da30870](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/da30870cd5c0de9210c5a542d79c9d2c8298c514))
|
|
24
|
+
* 修改 ([c4ba7e2](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/c4ba7e29513dc2230c0eaa874236b3be007827d0))
|
|
25
|
+
* 修改 ([e63764d](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/e63764dd327fe77f8efbae99d5580405d8d34a6d))
|
|
26
|
+
* 修改 ([58f277f](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/58f277fc7a1cf574a88d878fe865f92618b9a58e))
|
|
27
|
+
|
|
5
28
|
### [1.1.6](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.5...v1.1.6) (2025-09-08)
|
|
6
29
|
|
|
7
30
|
|
package/dist/ind-common.es.js
CHANGED
|
@@ -5460,7 +5460,7 @@ var lodash = { exports: {} };
|
|
|
5460
5460
|
})(lodash, lodash.exports);
|
|
5461
5461
|
var _ = lodash.exports;
|
|
5462
5462
|
const name$1 = "@indfnd/common";
|
|
5463
|
-
const version = "1.1.
|
|
5463
|
+
const version = "1.1.8";
|
|
5464
5464
|
const author = "huxuetong";
|
|
5465
5465
|
const publishConfig = {
|
|
5466
5466
|
registry: "https://registry.npmjs.org/"
|
|
@@ -60895,9 +60895,9 @@ var render$A = function() {
|
|
|
60895
60895
|
var _vm = this;
|
|
60896
60896
|
var _h = _vm.$createElement;
|
|
60897
60897
|
var _c = _vm._self._c || _h;
|
|
60898
|
-
return _c("div", [_vm.isPc ? _c("div", { staticClass: "ind-loading-panel" }, [_vm._t("default"), _c("div", { staticClass: "custom-overlay", class: { show: _vm.loading }, on: { "click": function($event) {
|
|
60898
|
+
return _c("div", [!_vm.isPc ? _c("div", { staticClass: "ind-loading-panel" }, [_vm._t("default"), _c("div", { staticClass: "custom-overlay", class: { show: _vm.loading }, on: { "click": function($event) {
|
|
60899
60899
|
$event.stopPropagation();
|
|
60900
|
-
} } }, [_vm.isFullScreenLoading ? _c("div", { staticClass: "ind-loading-wrapper-global" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%" }, attrs: { "src": _vm.
|
|
60900
|
+
} } }, [_vm.isFullScreenLoading && _vm.loadingImageUrl(true) ? _c("div", { staticClass: "ind-loading-wrapper-global" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%" }, attrs: { "src": _vm.loadingImageUrl(true), "alt": "" } }), _c("div", { staticClass: "ind-loading-wrapper-text" }, [_vm._v(" " + _vm._s(_vm.text || "\u7CFB\u7EDF\u52A0\u8F7D\u4E2D...") + " ")])]) : !_vm.isFullScreenLoading && _vm.loadingImageUrl(false) ? _c("div", { staticClass: "ind-loading-wrapper-local" }, [_c("div", { staticClass: "ind-loading-block ind-vcenter" }, [_c("div", { staticClass: "ind-loading-block-center" }, [_c("img", { attrs: { "src": _vm.loadingImageUrl(false), "alt": "" } }), _c("div", { staticClass: "ind-loading-block-text" }, [_vm._v(_vm._s(_vm.text || "\u52A0\u8F7D\u4E2D..."))])])])]) : !_vm.loadingImageUrl(false) ? _c("div", { staticClass: "ind-loading-wrapper-local" }, [_c("div", { staticClass: "ind-loading-block ind-vcenter" }, [_c("div", { staticClass: "ind-loading-block-center" }, [_c("div", { staticClass: "img-divv" }, [_c("Icons", { staticClass: "ind-loading-spin-icon", attrs: { "type": "ios-loading", "size": "18" } })], 1), _c("div", { staticClass: "ind-loading-block-text" }, [_vm._v(_vm._s(_vm.text || "\u52A0\u8F7D\u4E2D..."))])])])]) : _vm._e()])], 2) : _c("div", { staticClass: "ind-loading-panel" }, [_vm._t("default"), _vm.loading ? _c("Spin", { class: ["ind-loading-spin", "ind-loading-spin--" + _vm.theme], style: _vm.style, attrs: { "fix": "" } }, [_c("Icons", { staticClass: "ind-loading-spin-icon", attrs: { "type": "ios-loading", "size": "18" } }), !_vm.noText ? _c("div", [_vm._v(_vm._s(_vm.text))]) : _vm._e()], 1) : _vm._e()], 2)]);
|
|
60901
60901
|
};
|
|
60902
60902
|
var staticRenderFns$A = [];
|
|
60903
60903
|
const __vue2_script$B = {
|
|
@@ -60942,13 +60942,20 @@ const __vue2_script$B = {
|
|
|
60942
60942
|
}
|
|
60943
60943
|
},
|
|
60944
60944
|
methods: {
|
|
60945
|
-
|
|
60946
|
-
|
|
60947
|
-
|
|
60948
|
-
|
|
60945
|
+
loadingImageUrl(isGlobal) {
|
|
60946
|
+
const configPath = isGlobal ? "systemDefaultConfig.globalLoading" : "systemDefaultConfig.localLoading";
|
|
60947
|
+
const fileId = this.getSafeConfigValue(configPath);
|
|
60948
|
+
if (fileId && fileId.trim() !== "") {
|
|
60949
60949
|
return `/user-manage-server/oss/file/get/${fileId}`;
|
|
60950
60950
|
}
|
|
60951
|
-
return
|
|
60951
|
+
return false;
|
|
60952
|
+
},
|
|
60953
|
+
getSafeConfigValue(path) {
|
|
60954
|
+
if (!this.$config)
|
|
60955
|
+
return void 0;
|
|
60956
|
+
return path.split(".").reduce((obj, key) => {
|
|
60957
|
+
return obj && obj[key] !== void 0 ? obj[key] : void 0;
|
|
60958
|
+
}, this.$config);
|
|
60952
60959
|
}
|
|
60953
60960
|
}
|
|
60954
60961
|
};
|
|
@@ -72333,6 +72340,7 @@ const store = {
|
|
|
72333
72340
|
}
|
|
72334
72341
|
};
|
|
72335
72342
|
const install = function(Vue2, opts = { theme: "" }) {
|
|
72343
|
+
var _a;
|
|
72336
72344
|
if (install.installed)
|
|
72337
72345
|
return;
|
|
72338
72346
|
if (!location.pathname.includes("scyxweb")) {
|
|
@@ -72365,14 +72373,22 @@ const install = function(Vue2, opts = { theme: "" }) {
|
|
|
72365
72373
|
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data);
|
|
72366
72374
|
});
|
|
72367
72375
|
}
|
|
72368
|
-
|
|
72369
|
-
`/user-manage-server/
|
|
72370
|
-
|
|
72371
|
-
|
|
72372
|
-
|
|
72373
|
-
|
|
72374
|
-
|
|
72375
|
-
|
|
72376
|
+
if (!((_a = Vue2.prototype.$config) == null ? void 0 : _a.systemDefaultConfig)) {
|
|
72377
|
+
axios.get(`/user-manage-server/anon/system/qrySystemConfig`).then((response) => {
|
|
72378
|
+
var _a2;
|
|
72379
|
+
try {
|
|
72380
|
+
const ret = JSON.parse(((_a2 = response == null ? void 0 : response.data) == null ? void 0 : _a2.settingInfo) || "{}");
|
|
72381
|
+
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, ret);
|
|
72382
|
+
console.log("\u7CFB\u7EDF\u914D\u7F6E\u5DF2\u52A0\u8F7D", Vue2.prototype.$config);
|
|
72383
|
+
} catch (error) {
|
|
72384
|
+
console.error("\u89E3\u6790 settingInfo \u5931\u8D25:", error);
|
|
72385
|
+
}
|
|
72386
|
+
}).catch((error) => {
|
|
72387
|
+
console.error("\u8BF7\u6C42\u5931\u8D25:", error);
|
|
72388
|
+
});
|
|
72389
|
+
} else {
|
|
72390
|
+
console.log("\u4F7F\u7528\u5DF2\u7F13\u5B58\u7684\u914D\u7F6E", Vue2.prototype.$config);
|
|
72391
|
+
}
|
|
72376
72392
|
Object.keys(components).forEach((key) => {
|
|
72377
72393
|
Vue2.component(`Ind${key}`, components[key]);
|
|
72378
72394
|
});
|