@indfnd/common 1.1.7 → 1.1.10

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,31 @@
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.10](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.9...v1.1.10) (2025-09-16)
6
+
7
+
8
+ ### Features
9
+
10
+ * 修复表格高度为0的问题 ([ff2b5cb](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/ff2b5cbfb9584b0c5cd827af56c8d2db863bc6c5))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * 修改 ([87ea04b](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/87ea04b363c746770ec130b2ad3977cd7cb32a44))
16
+
17
+ ### [1.1.9](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.8...v1.1.9) (2025-09-15)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * 修改 ([4cca025](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/4cca025da395a2da46e4f8ab210eb6e6218fd54a))
23
+ * 修改 ([d4713f1](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/d4713f1e264bb9b050ec1b00e6cf5a75245a7eea))
24
+ * 修改 ([2271eb7](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/2271eb7905faf0ae56c68d2882bd726edc4f1b36))
25
+ * 修改 ([d7e116e](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/d7e116ef6407e2cebba681ab7c626fb2f26db7ce))
26
+ * 修改 ([3b64765](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/3b64765792f93703081329f9822e7944bf19de69))
27
+
28
+ ### [1.1.8](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.7...v1.1.8) (2025-09-10)
29
+
5
30
  ### [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
31
 
7
32
 
@@ -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.6";
5463
+ const version = "1.1.9";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -49750,7 +49750,7 @@ var FormImpl = {
49750
49750
  }
49751
49751
  },
49752
49752
  [
49753
- d.checkAble ? h("div", { style: { display: "flex" } }, [
49753
+ d.checkAble ? h("div", { style: { display: "grid", gridTemplateColumns: "1fr 67px" } }, [
49754
49754
  this.scopedSlots[d.formKey] ? this.scopedSlots[d.formKey]({
49755
49755
  form: this.form,
49756
49756
  item: d
@@ -49765,6 +49765,12 @@ var FormImpl = {
49765
49765
  style: {
49766
49766
  flexShrink: 0,
49767
49767
  marginLeft: "10px"
49768
+ },
49769
+ on: {
49770
+ input: function() {
49771
+ d.checked = !d.checked;
49772
+ console.log("d.checked now is", d.checked);
49773
+ }
49768
49774
  }
49769
49775
  },
49770
49776
  [d.checkLabel || "\u5206\u7EC4"]
@@ -60895,9 +60901,9 @@ var render$A = function() {
60895
60901
  var _vm = this;
60896
60902
  var _h = _vm.$createElement;
60897
60903
  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) {
60904
+ return _c("div", { staticClass: "ind-loading-panel" }, [!_vm.isPc ? [_vm._t("default"), _c("div", { staticClass: "custom-overlay", class: { show: _vm.loading }, on: { "click": function($event) {
60899
60905
  $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)]);
60906
+ } } }, [_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()])] : [_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
60907
  };
60902
60908
  var staticRenderFns$A = [];
60903
60909
  const __vue2_script$B = {
@@ -60945,10 +60951,10 @@ const __vue2_script$B = {
60945
60951
  loadingImageUrl(isGlobal) {
60946
60952
  const configPath = isGlobal ? "systemDefaultConfig.globalLoading" : "systemDefaultConfig.localLoading";
60947
60953
  const fileId = this.getSafeConfigValue(configPath);
60948
- if (fileId) {
60954
+ if (fileId && fileId.trim() !== "") {
60949
60955
  return `/user-manage-server/oss/file/get/${fileId}`;
60950
60956
  }
60951
- return isGlobal ? this.defaultGlobal : this.defaultLocal;
60957
+ return false;
60952
60958
  },
60953
60959
  getSafeConfigValue(path) {
60954
60960
  if (!this.$config)
@@ -72340,6 +72346,7 @@ const store = {
72340
72346
  }
72341
72347
  };
72342
72348
  const install = function(Vue2, opts = { theme: "" }) {
72349
+ var _a;
72343
72350
  if (install.installed)
72344
72351
  return;
72345
72352
  if (!location.pathname.includes("scyxweb")) {
@@ -72372,13 +72379,22 @@ const install = function(Vue2, opts = { theme: "" }) {
72372
72379
  Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data);
72373
72380
  });
72374
72381
  }
72375
- axios.get(
72376
- `/user-manage-server/manage/appSetting/qryAppSettingNew?offset=0&limit=20&settingType=11&deviceType=11`
72377
- ).then((data) => {
72378
- var _a, _b;
72379
- let ret = JSON.parse((_b = (_a = data.data) == null ? void 0 : _a.rows) == null ? void 0 : _b[0].settingInfo);
72380
- Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, ret || {});
72381
- });
72382
+ if (!((_a = Vue2.prototype.$config) == null ? void 0 : _a.systemDefaultConfig)) {
72383
+ axios.get(`/user-manage-server/anon/system/qrySystemConfig`).then((response) => {
72384
+ var _a2;
72385
+ try {
72386
+ const ret = JSON.parse(((_a2 = response == null ? void 0 : response.data) == null ? void 0 : _a2.settingInfo) || "{}");
72387
+ Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, ret);
72388
+ console.log("\u7CFB\u7EDF\u914D\u7F6E\u5DF2\u52A0\u8F7D", Vue2.prototype.$config);
72389
+ } catch (error) {
72390
+ console.error("\u89E3\u6790 settingInfo \u5931\u8D25:", error);
72391
+ }
72392
+ }).catch((error) => {
72393
+ console.error("\u8BF7\u6C42\u5931\u8D25:", error);
72394
+ });
72395
+ } else {
72396
+ console.log("\u4F7F\u7528\u5DF2\u7F13\u5B58\u7684\u914D\u7F6E", Vue2.prototype.$config);
72397
+ }
72382
72398
  Object.keys(components).forEach((key) => {
72383
72399
  Vue2.component(`Ind${key}`, components[key]);
72384
72400
  });