@indfnd/common 0.1.81 → 0.1.82

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.82](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.81...v0.1.82) (2024-05-31)
6
+
7
+
8
+ ### Features
9
+
10
+ * 改了一堆样式 ([736af36](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/736af3682f9281d8b63f4e33fcbb40a3030ce4d1))
11
+
5
12
  ### [0.1.81](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.80...v0.1.81) (2024-05-28)
6
13
 
7
14
 
@@ -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, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, uuid, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, getPermissionCache, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, getLocalStorage, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, 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.80";
5
+ const version = "0.1.81";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -48551,11 +48551,12 @@ var dropdownItem = /* @__PURE__ */ function() {
48551
48551
  return __component__$1f.exports;
48552
48552
  }();
48553
48553
  const defaultSpan = 8;
48554
+ const SMALLWIDTHLIMIT = top == self ? 1700 : 1440;
48554
48555
  var FormImpl = {
48555
48556
  name: "FormImpl",
48556
48557
  data() {
48557
48558
  return {
48558
- showMorePosition: window.innerWidth < 1700 ? 2 : 3,
48559
+ showMorePosition: window.innerWidth < SMALLWIDTHLIMIT ? 2 : 3,
48559
48560
  form: {},
48560
48561
  enumList: [],
48561
48562
  enumData: {},
@@ -48742,8 +48743,8 @@ var FormImpl = {
48742
48743
  let formItems = [];
48743
48744
  let showMorePosition = this.showMorePosition;
48744
48745
  let spanList;
48745
- let searchSpan = window.innerWidth < 1700 ? 8 : 6;
48746
- this.showMorePosition = window.innerWidth < 1700 ? 2 : this.showMorePosition;
48746
+ let searchSpan = window.innerWidth < SMALLWIDTHLIMIT ? 8 : 6;
48747
+ this.showMorePosition = window.innerWidth < SMALLWIDTHLIMIT ? 2 : this.showMorePosition;
48747
48748
  spanList = _.fill(
48748
48749
  _.range(this.fieldList.length),
48749
48750
  this.formType == "search" ? searchSpan : this.defaultSpan
@@ -53303,7 +53304,7 @@ const __vue2_script$Z = {
53303
53304
  if (!isValid) {
53304
53305
  const { newValue, oldValue, data, colDef, column: column2 } = params;
53305
53306
  this.isRevertingOldValue = true;
53306
- data[colDef.key] = newValue;
53307
+ data[colDef.field || colDef.key] = newValue;
53307
53308
  setTimeout(() => {
53308
53309
  params.node.setDataValue(column2, oldValue);
53309
53310
  this.isRevertingOldValue = false;