@fecp/designer 5.4.51 → 5.4.54

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.51";
1
+ const version = "5.4.54";
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-5dbdd1d4] {
5907
+ .fec-form[data-v-8f80c03f] {
5908
5908
  height: 100%;
5909
5909
  }
5910
- [data-v-5dbdd1d4] .vgl-item {
5910
+ [data-v-8f80c03f] .vgl-item {
5911
5911
  transition: none;
5912
5912
  }
5913
- [data-v-5dbdd1d4] .vgl-item > .el-form-item {
5913
+ [data-v-8f80c03f] .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-5dbdd1d4] .vgl-item > .el-form-item.el-form-item--label-top {
5919
+ [data-v-8f80c03f] .vgl-item > .el-form-item.el-form-item--label-top {
5920
5920
  flex-direction: column;
5921
5921
  }
5922
- [data-v-5dbdd1d4] .vgl-item > .el-form-item .el-form-item__label {
5922
+ [data-v-8f80c03f] .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-5dbdd1d4] .vgl-item > .el-container {
5927
+ [data-v-8f80c03f] .vgl-item > .el-container {
5928
5928
  height: auto !important;
5929
5929
  }.cell-content .cell-text[data-v-3e5372d4] {
5930
5930
  display: inline-block;
@@ -6213,11 +6213,11 @@ body,
6213
6213
  }
6214
6214
  [data-v-dc1c22da] .el-checkbox-group .el-checkbox-button__inner {
6215
6215
  border-radius: 4px;
6216
- }.fec-table[data-v-415c57c6] {
6216
+ }.fec-table[data-v-a151967c] {
6217
6217
  height: 100%;
6218
6218
  flex-grow: 1;
6219
6219
  }
6220
- .fec-table-container[data-v-415c57c6] {
6220
+ .fec-table-container[data-v-a151967c] {
6221
6221
  width: 100%;
6222
6222
  background: #fff;
6223
6223
  box-sizing: border-box;
@@ -6227,30 +6227,30 @@ body,
6227
6227
  overflow: hidden;
6228
6228
  flex-grow: 1;
6229
6229
  }
6230
- .fec-table-container .fec-vxe-table[data-v-415c57c6] {
6230
+ .fec-table-container .fec-vxe-table[data-v-a151967c] {
6231
6231
  flex: 1;
6232
6232
  min-height: 0;
6233
6233
  overflow: hidden;
6234
6234
  }
6235
- .fec-table-container[data-v-415c57c6] .vxe-table {
6235
+ .fec-table-container[data-v-a151967c] .vxe-table {
6236
6236
  font-size: 14px;
6237
6237
  }
6238
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-table--body-wrapper {
6238
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-table--body-wrapper {
6239
6239
  overflow: auto;
6240
6240
  }
6241
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-header--column {
6241
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-header--column {
6242
6242
  background-color: #f5f7fa;
6243
6243
  }
6244
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-header--column .vxe-cell {
6244
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-header--column .vxe-cell {
6245
6245
  height: 40px !important;
6246
6246
  min-height: 40px !important;
6247
6247
  }
6248
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-body--column .vxe-cell {
6248
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-body--column .vxe-cell {
6249
6249
  padding: 6px !important;
6250
6250
  min-height: 40px !important;
6251
6251
  }
6252
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-body--column .c--tooltip,
6253
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-body--column .c--title {
6252
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-body--column .c--tooltip,
6253
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-body--column .c--title {
6254
6254
  height: 40px !important;
6255
6255
  min-height: 40px !important;
6256
6256
  }
@@ -766,7 +766,7 @@ 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 && Object.keys(oldData || {}).length != 0) {
770
770
  continue;
771
771
  }
772
772
  if (JSON.stringify(newVal) != JSON.stringify(oldVal)) {
@@ -1082,7 +1082,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1082
1082
  };
1083
1083
  }
1084
1084
  });
1085
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5dbdd1d4"]]);
1085
+ const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8f80c03f"]]);
1086
1086
  export {
1087
1087
  _Form as default
1088
1088
  };
@@ -76,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
76
76
  options.value,
77
77
  props.optionConfig.fieldMapping,
78
78
  formData,
79
- [...fieldsData.value, ...hiddenFields.value]
79
+ [...(fieldsData == null ? void 0 : fieldsData.value) || [], ...(hiddenFields == null ? void 0 : hiddenFields.value) || []]
80
80
  );
81
81
  }
82
82
  return (_ctx, _cache) => {
@@ -465,8 +465,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
465
465
  emit("selection-change", [checked.row]);
466
466
  };
467
467
  const handleFilterSearch = (filters) => {
468
+ var _a;
468
469
  if (dataSourceManager.value) {
469
470
  dataSourceManager.value.updateParams(filters);
471
+ (_a = summaryAllDataManager.value) == null ? void 0 : _a.updateParams(filters);
470
472
  tableDataFetch();
471
473
  clearSelection();
472
474
  } else {
@@ -474,8 +476,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
474
476
  }
475
477
  };
476
478
  const handleFilterReset = () => {
479
+ var _a;
477
480
  if (dataSourceManager.value) {
478
481
  dataSourceManager.value.clearParams();
482
+ (_a = summaryAllDataManager.value) == null ? void 0 : _a.clearParams();
479
483
  tableDataFetch();
480
484
  clearSelection();
481
485
  }
@@ -827,7 +831,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
827
831
  };
828
832
  }
829
833
  });
830
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-415c57c6"]]);
834
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a151967c"]]);
831
835
  export {
832
836
  _Table as default
833
837
  };
@@ -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.51";
3
+ const version = "5.4.54";
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-5dbdd1d4] {
5907
+ .fec-form[data-v-8f80c03f] {
5908
5908
  height: 100%;
5909
5909
  }
5910
- [data-v-5dbdd1d4] .vgl-item {
5910
+ [data-v-8f80c03f] .vgl-item {
5911
5911
  transition: none;
5912
5912
  }
5913
- [data-v-5dbdd1d4] .vgl-item > .el-form-item {
5913
+ [data-v-8f80c03f] .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-5dbdd1d4] .vgl-item > .el-form-item.el-form-item--label-top {
5919
+ [data-v-8f80c03f] .vgl-item > .el-form-item.el-form-item--label-top {
5920
5920
  flex-direction: column;
5921
5921
  }
5922
- [data-v-5dbdd1d4] .vgl-item > .el-form-item .el-form-item__label {
5922
+ [data-v-8f80c03f] .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-5dbdd1d4] .vgl-item > .el-container {
5927
+ [data-v-8f80c03f] .vgl-item > .el-container {
5928
5928
  height: auto !important;
5929
5929
  }.cell-content .cell-text[data-v-3e5372d4] {
5930
5930
  display: inline-block;
@@ -6213,11 +6213,11 @@ body,
6213
6213
  }
6214
6214
  [data-v-dc1c22da] .el-checkbox-group .el-checkbox-button__inner {
6215
6215
  border-radius: 4px;
6216
- }.fec-table[data-v-415c57c6] {
6216
+ }.fec-table[data-v-a151967c] {
6217
6217
  height: 100%;
6218
6218
  flex-grow: 1;
6219
6219
  }
6220
- .fec-table-container[data-v-415c57c6] {
6220
+ .fec-table-container[data-v-a151967c] {
6221
6221
  width: 100%;
6222
6222
  background: #fff;
6223
6223
  box-sizing: border-box;
@@ -6227,30 +6227,30 @@ body,
6227
6227
  overflow: hidden;
6228
6228
  flex-grow: 1;
6229
6229
  }
6230
- .fec-table-container .fec-vxe-table[data-v-415c57c6] {
6230
+ .fec-table-container .fec-vxe-table[data-v-a151967c] {
6231
6231
  flex: 1;
6232
6232
  min-height: 0;
6233
6233
  overflow: hidden;
6234
6234
  }
6235
- .fec-table-container[data-v-415c57c6] .vxe-table {
6235
+ .fec-table-container[data-v-a151967c] .vxe-table {
6236
6236
  font-size: 14px;
6237
6237
  }
6238
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-table--body-wrapper {
6238
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-table--body-wrapper {
6239
6239
  overflow: auto;
6240
6240
  }
6241
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-header--column {
6241
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-header--column {
6242
6242
  background-color: #f5f7fa;
6243
6243
  }
6244
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-header--column .vxe-cell {
6244
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-header--column .vxe-cell {
6245
6245
  height: 40px !important;
6246
6246
  min-height: 40px !important;
6247
6247
  }
6248
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-body--column .vxe-cell {
6248
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-body--column .vxe-cell {
6249
6249
  padding: 6px !important;
6250
6250
  min-height: 40px !important;
6251
6251
  }
6252
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-body--column .c--tooltip,
6253
- .fec-table-container[data-v-415c57c6] .vxe-table .vxe-body--column .c--title {
6252
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-body--column .c--tooltip,
6253
+ .fec-table-container[data-v-a151967c] .vxe-table .vxe-body--column .c--title {
6254
6254
  height: 40px !important;
6255
6255
  min-height: 40px !important;
6256
6256
  }
@@ -768,7 +768,7 @@ 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 && Object.keys(oldData || {}).length != 0) {
772
772
  continue;
773
773
  }
774
774
  if (JSON.stringify(newVal) != JSON.stringify(oldVal)) {
@@ -1084,5 +1084,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1084
1084
  };
1085
1085
  }
1086
1086
  });
1087
- const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-5dbdd1d4"]]);
1087
+ const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-8f80c03f"]]);
1088
1088
  exports.default = _Form;
@@ -78,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
78
78
  options.value,
79
79
  props.optionConfig.fieldMapping,
80
80
  formData,
81
- [...fieldsData.value, ...hiddenFields.value]
81
+ [...(fieldsData == null ? void 0 : fieldsData.value) || [], ...(hiddenFields == null ? void 0 : hiddenFields.value) || []]
82
82
  );
83
83
  }
84
84
  return (_ctx, _cache) => {
@@ -467,8 +467,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
467
467
  emit("selection-change", [checked.row]);
468
468
  };
469
469
  const handleFilterSearch = (filters) => {
470
+ var _a;
470
471
  if (dataSourceManager.value) {
471
472
  dataSourceManager.value.updateParams(filters);
473
+ (_a = summaryAllDataManager.value) == null ? void 0 : _a.updateParams(filters);
472
474
  tableDataFetch();
473
475
  clearSelection();
474
476
  } else {
@@ -476,8 +478,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
476
478
  }
477
479
  };
478
480
  const handleFilterReset = () => {
481
+ var _a;
479
482
  if (dataSourceManager.value) {
480
483
  dataSourceManager.value.clearParams();
484
+ (_a = summaryAllDataManager.value) == null ? void 0 : _a.clearParams();
481
485
  tableDataFetch();
482
486
  clearSelection();
483
487
  }
@@ -829,5 +833,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
829
833
  };
830
834
  }
831
835
  });
832
- const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-415c57c6"]]);
836
+ const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-a151967c"]]);
833
837
  exports.default = _Table;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.51",
3
+ "version": "5.4.54",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [