@fecp/designer 5.4.44 → 5.4.46

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.
@@ -1,4 +1,4 @@
1
- const version = "5.4.44";
1
+ const version = "5.4.46";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -5904,27 +5904,27 @@ body,
5904
5904
  width: 80px;
5905
5905
  font-size: var(--el-font-size-extra-small);
5906
5906
  }
5907
- .fec-form[data-v-68afecc6] {
5907
+ .fec-form[data-v-ff153409] {
5908
5908
  height: 100%;
5909
5909
  }
5910
- [data-v-68afecc6] .vgl-item {
5910
+ [data-v-ff153409] .vgl-item {
5911
5911
  transition: none;
5912
5912
  }
5913
- [data-v-68afecc6] .vgl-item > .el-form-item {
5913
+ [data-v-ff153409] .vgl-item > .el-form-item {
5914
5914
  width: 100%;
5915
5915
  padding: 12px 8px 0 8px;
5916
5916
  height: calc(100% - 15px);
5917
5917
  display: flex;
5918
5918
  }
5919
- [data-v-68afecc6] .vgl-item > .el-form-item.el-form-item--label-top {
5919
+ [data-v-ff153409] .vgl-item > .el-form-item.el-form-item--label-top {
5920
5920
  flex-direction: column;
5921
5921
  }
5922
- [data-v-68afecc6] .vgl-item > .el-form-item .el-form-item__label {
5922
+ [data-v-ff153409] .vgl-item > .el-form-item .el-form-item__label {
5923
5923
  line-height: 20px;
5924
5924
  display: flex;
5925
5925
  align-items: center;
5926
5926
  }
5927
- [data-v-68afecc6] .vgl-item > .el-container {
5927
+ [data-v-ff153409] .vgl-item > .el-container {
5928
5928
  height: auto !important;
5929
5929
  }.cell-content .cell-text[data-v-3e5372d4] {
5930
5930
  display: inline-block;
@@ -766,7 +766,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
766
766
  for (const key of allKeys) {
767
767
  const newVal = newData[key];
768
768
  const oldVal = oldData[key];
769
- if (newVal !== oldVal) {
769
+ if (!newVal && !oldVal) {
770
+ continue;
771
+ }
772
+ if (JSON.stringify(newVal) != JSON.stringify(oldVal)) {
770
773
  changedFields.push(key);
771
774
  }
772
775
  }
@@ -1076,7 +1079,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1076
1079
  };
1077
1080
  }
1078
1081
  });
1079
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-68afecc6"]]);
1082
+ const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ff153409"]]);
1080
1083
  export {
1081
1084
  _Form as default
1082
1085
  };
@@ -47,9 +47,9 @@ function calculate(params) {
47
47
  if (!data) {
48
48
  data = "";
49
49
  }
50
+ data = JSON.stringify(data);
50
51
  }
51
52
  }
52
- data = JSON.stringify(data);
53
53
  const actualStart = startIndex + offset;
54
54
  const actualEnd = endIndex + offset;
55
55
  str = str.slice(0, actualStart) + data.toString() + str.slice(actualEnd);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.4.44";
3
+ const version = "5.4.46";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -5904,27 +5904,27 @@ body,
5904
5904
  width: 80px;
5905
5905
  font-size: var(--el-font-size-extra-small);
5906
5906
  }
5907
- .fec-form[data-v-68afecc6] {
5907
+ .fec-form[data-v-ff153409] {
5908
5908
  height: 100%;
5909
5909
  }
5910
- [data-v-68afecc6] .vgl-item {
5910
+ [data-v-ff153409] .vgl-item {
5911
5911
  transition: none;
5912
5912
  }
5913
- [data-v-68afecc6] .vgl-item > .el-form-item {
5913
+ [data-v-ff153409] .vgl-item > .el-form-item {
5914
5914
  width: 100%;
5915
5915
  padding: 12px 8px 0 8px;
5916
5916
  height: calc(100% - 15px);
5917
5917
  display: flex;
5918
5918
  }
5919
- [data-v-68afecc6] .vgl-item > .el-form-item.el-form-item--label-top {
5919
+ [data-v-ff153409] .vgl-item > .el-form-item.el-form-item--label-top {
5920
5920
  flex-direction: column;
5921
5921
  }
5922
- [data-v-68afecc6] .vgl-item > .el-form-item .el-form-item__label {
5922
+ [data-v-ff153409] .vgl-item > .el-form-item .el-form-item__label {
5923
5923
  line-height: 20px;
5924
5924
  display: flex;
5925
5925
  align-items: center;
5926
5926
  }
5927
- [data-v-68afecc6] .vgl-item > .el-container {
5927
+ [data-v-ff153409] .vgl-item > .el-container {
5928
5928
  height: auto !important;
5929
5929
  }.cell-content .cell-text[data-v-3e5372d4] {
5930
5930
  display: inline-block;
@@ -768,7 +768,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
768
768
  for (const key of allKeys) {
769
769
  const newVal = newData[key];
770
770
  const oldVal = oldData[key];
771
- if (newVal !== oldVal) {
771
+ if (!newVal && !oldVal) {
772
+ continue;
773
+ }
774
+ if (JSON.stringify(newVal) != JSON.stringify(oldVal)) {
772
775
  changedFields.push(key);
773
776
  }
774
777
  }
@@ -1078,5 +1081,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1078
1081
  };
1079
1082
  }
1080
1083
  });
1081
- const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-68afecc6"]]);
1084
+ const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-ff153409"]]);
1082
1085
  exports.default = _Form;
@@ -49,9 +49,9 @@ function calculate(params) {
49
49
  if (!data) {
50
50
  data = "";
51
51
  }
52
+ data = JSON.stringify(data);
52
53
  }
53
54
  }
54
- data = JSON.stringify(data);
55
55
  const actualStart = startIndex + offset;
56
56
  const actualEnd = endIndex + offset;
57
57
  str = str.slice(0, actualStart) + data.toString() + str.slice(actualEnd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.44",
3
+ "version": "5.4.46",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [