@indfnd/common 1.1.7 → 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 +13 -0
- package/dist/ind-common.es.js +22 -12
- package/dist/ind-common.umd.cjs +37 -37
- 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,19 @@
|
|
|
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
|
+
|
|
5
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)
|
|
6
19
|
|
|
7
20
|
|
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.loadingImageUrl(true), "alt": "" } }), _c("div", { staticClass: "ind-loading-wrapper-text" }, [_vm._v(" " + _vm._s(_vm.text || "\u7CFB\u7EDF\u52A0\u8F7D\u4E2D...") + " ")])]) : _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..."))])])])])])], 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)]);
|
|
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 = {
|
|
@@ -60945,10 +60945,10 @@ const __vue2_script$B = {
|
|
|
60945
60945
|
loadingImageUrl(isGlobal) {
|
|
60946
60946
|
const configPath = isGlobal ? "systemDefaultConfig.globalLoading" : "systemDefaultConfig.localLoading";
|
|
60947
60947
|
const fileId = this.getSafeConfigValue(configPath);
|
|
60948
|
-
if (fileId) {
|
|
60948
|
+
if (fileId && fileId.trim() !== "") {
|
|
60949
60949
|
return `/user-manage-server/oss/file/get/${fileId}`;
|
|
60950
60950
|
}
|
|
60951
|
-
return
|
|
60951
|
+
return false;
|
|
60952
60952
|
},
|
|
60953
60953
|
getSafeConfigValue(path) {
|
|
60954
60954
|
if (!this.$config)
|
|
@@ -72340,6 +72340,7 @@ const store = {
|
|
|
72340
72340
|
}
|
|
72341
72341
|
};
|
|
72342
72342
|
const install = function(Vue2, opts = { theme: "" }) {
|
|
72343
|
+
var _a;
|
|
72343
72344
|
if (install.installed)
|
|
72344
72345
|
return;
|
|
72345
72346
|
if (!location.pathname.includes("scyxweb")) {
|
|
@@ -72372,13 +72373,22 @@ const install = function(Vue2, opts = { theme: "" }) {
|
|
|
72372
72373
|
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data);
|
|
72373
72374
|
});
|
|
72374
72375
|
}
|
|
72375
|
-
|
|
72376
|
-
`/user-manage-server/
|
|
72377
|
-
|
|
72378
|
-
|
|
72379
|
-
|
|
72380
|
-
|
|
72381
|
-
|
|
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
|
+
}
|
|
72382
72392
|
Object.keys(components).forEach((key) => {
|
|
72383
72393
|
Vue2.component(`Ind${key}`, components[key]);
|
|
72384
72394
|
});
|