@indfnd/common 0.1.27 → 0.1.29

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,21 @@
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.29](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.28...v0.1.29) (2024-04-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * 解决日志里的报错的问题 ([4fb5a01](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/4fb5a016d4c3cd507d079bffd2cb02d62e6177a3))
11
+ * **panel:** loading的z-index ([51916a3](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/51916a3add5c17eb0e950421397d5f8198c27645))
12
+
13
+ ### [0.1.28](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.27...v0.1.28) (2024-04-07)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * 加载中样式优化;去除表格最低高度 ([ec0b9ad](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/ec0b9ad31079c9e2203212d0b6a65354ee0d2454))
19
+
5
20
  ### [0.1.27](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.26...v0.1.27) (2024-04-06)
6
21
 
7
22
 
@@ -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, 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, 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.26";
5
+ const version = "0.1.28";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -57053,7 +57053,7 @@ const __vue2_script$x = {
57053
57053
  let permissions = sessionStorage.getItem(permissionKey);
57054
57054
  permissions = JSON.parse(permissions);
57055
57055
  let curPermission = _.find(permissions, { permissionId: this.$route.meta.permissionId });
57056
- this.menuInfo = (_a = JSON.parse(curPermission.extension)) == null ? void 0 : _a.extendProps;
57056
+ this.menuInfo = ((_a = JSON.parse(curPermission.extension)) == null ? void 0 : _a.extendProps) || {};
57057
57057
  console.log("this.menuInfo is", this.menuInfo);
57058
57058
  }
57059
57059
  }
@@ -57160,7 +57160,7 @@ var render$t = function() {
57160
57160
  var _vm = this;
57161
57161
  var _h = _vm.$createElement;
57162
57162
  var _c = _vm._self._c || _h;
57163
- return _c("div", { staticClass: "ind-loading-panel" }, [_vm._t("default"), _vm.loading ? _c("Spin", { class: ["ind-loading-spin", "ind-loading-spin--" + _vm.theme], 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);
57163
+ return _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);
57164
57164
  };
57165
57165
  var staticRenderFns$t = [];
57166
57166
  const __vue2_script$u = {
@@ -57171,6 +57171,21 @@ const __vue2_script$u = {
57171
57171
  theme: { type: String, default: "light" },
57172
57172
  noText: Boolean,
57173
57173
  text: { type: String, default: "\u52A0\u8F7D\u4E2D..." }
57174
+ },
57175
+ data() {
57176
+ return {
57177
+ style: { "z-index": transferIndex }
57178
+ };
57179
+ },
57180
+ watch: {
57181
+ loading: {
57182
+ immediate: true,
57183
+ async handler() {
57184
+ if (this.loading) {
57185
+ this.style["z-index"] = transferIndex;
57186
+ }
57187
+ }
57188
+ }
57174
57189
  }
57175
57190
  };
57176
57191
  const __cssModules$u = {};
@@ -60521,7 +60536,7 @@ var render$d = function() {
60521
60536
  var _vm = this;
60522
60537
  var _h = _vm.$createElement;
60523
60538
  var _c = _vm._self._c || _h;
60524
- return _c("Modal", { attrs: { "lazyRender": false, "value": _vm.show, "title": _vm.title, "mask-closable": false, "width": _vm.width, "transfer": "" }, on: { "input": function($event) {
60539
+ return _c("IndModal", { attrs: { "lazyRender": false, "value": _vm.show, "title": _vm.title, "mask-closable": false, "width": _vm.width, "transfer": "" }, on: { "input": function($event) {
60525
60540
  return _vm.$emit("update:show", $event);
60526
60541
  }, "on-cancel": _vm.onCancel } }, [_c("div", { staticClass: "report-index-model-panel ind-flex" }, [_c("div", { staticClass: "left-panel ind-flex ind-flex-grow" }, [_c("div", { staticClass: "report-index-dimension1-panel ind-flex-no-shrink ind-flex-column" }, _vm._l(_vm.indexesSouce, function(dimensionItem1, idx) {
60527
60542
  return _c("div", { key: "dimension1" + idx, staticClass: "report-index-dimension1", class: [dimensionItem1.id == _vm.dimension1.id ? "selected" : ""], on: { "click": function($event) {