@fecp/designer 5.5.12 β†’ 5.5.15

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.5.12";
1
+ const version = "5.5.15";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -6312,12 +6312,12 @@ body,
6312
6312
  }
6313
6313
  [data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
6314
6314
  border-radius: 4px;
6315
- }.fec-table[data-v-80cddc97] {
6315
+ }.fec-table[data-v-835075cf] {
6316
6316
  height: 100%;
6317
6317
  flex-grow: 1;
6318
6318
  padding: 0 16px;
6319
6319
  }
6320
- .fec-table-container[data-v-80cddc97] {
6320
+ .fec-table-container[data-v-835075cf] {
6321
6321
  width: 100%;
6322
6322
  background: #fff;
6323
6323
  box-sizing: border-box;
@@ -6327,87 +6327,87 @@ body,
6327
6327
  overflow: hidden;
6328
6328
  flex-grow: 1;
6329
6329
  }
6330
- .fec-table-container .fec-vxe-table[data-v-80cddc97] {
6330
+ .fec-table-container .fec-vxe-table[data-v-835075cf] {
6331
6331
  flex: 1;
6332
6332
  min-height: 0;
6333
6333
  overflow: hidden;
6334
6334
  margin-bottom: 16px;
6335
6335
  }
6336
- .fec-table-container[data-v-80cddc97] .vxe-table {
6336
+ .fec-table-container[data-v-835075cf] .vxe-table {
6337
6337
  font-size: 14px;
6338
6338
  font-family: inherit;
6339
6339
  }
6340
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-sort--asc-btn,
6341
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-sort--desc-btn {
6340
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-sort--asc-btn,
6341
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-sort--desc-btn {
6342
6342
  color: #dcdcdc;
6343
6343
  }
6344
- .fec-table-container[data-v-80cddc97] .vxe-table .serverSort .vxe-sort--asc-btn,
6345
- .fec-table-container[data-v-80cddc97] .vxe-table .serverSort .vxe-sort--desc-btn {
6344
+ .fec-table-container[data-v-835075cf] .vxe-table .serverSort .vxe-sort--asc-btn,
6345
+ .fec-table-container[data-v-835075cf] .vxe-table .serverSort .vxe-sort--desc-btn {
6346
6346
  color: #d3edf9;
6347
6347
  }
6348
- .fec-table-container[data-v-80cddc97] .vxe-table .serverSort .sort--active {
6348
+ .fec-table-container[data-v-835075cf] .vxe-table .serverSort .sort--active {
6349
6349
  color: var(--el-color-primary);
6350
6350
  }
6351
- .fec-table-container[data-v-80cddc97] .vxe-table .sort--active {
6351
+ .fec-table-container[data-v-835075cf] .vxe-table .sort--active {
6352
6352
  color: var(--el-color-primary);
6353
6353
  }
6354
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--body-wrapper {
6354
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--body-wrapper {
6355
6355
  overflow: auto;
6356
6356
  }
6357
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--body,
6358
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--header,
6359
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--footer {
6357
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--body,
6358
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--header,
6359
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--footer {
6360
6360
  width: 100% !important;
6361
6361
  }
6362
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column {
6362
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column {
6363
6363
  background-color: #fff;
6364
6364
  }
6365
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column .vxe-cell {
6365
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column .vxe-cell {
6366
6366
  height: 40px !important;
6367
6367
  min-height: 40px !important;
6368
6368
  color: #333;
6369
6369
  }
6370
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--header-inner-wrapper {
6370
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--header-inner-wrapper {
6371
6371
  height: 40px !important;
6372
6372
  }
6373
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column .vxe-cell {
6373
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column .vxe-cell {
6374
6374
  padding: 6px !important;
6375
6375
  min-height: 32px !important;
6376
6376
  color: #666;
6377
6377
  font-size: 13px;
6378
6378
  }
6379
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column .c--tooltip,
6380
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column .c--title {
6379
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column .c--tooltip,
6380
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column .c--title {
6381
6381
  height: 32px !important;
6382
6382
  min-height: 32px !important;
6383
6383
  }
6384
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--border-line {
6384
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--border-line {
6385
6385
  border: none;
6386
6386
  border-bottom: 1px solid #ebeef5;
6387
6387
  border-top: 1px solid #ebeef5;
6388
6388
  }
6389
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--scroll-y-handle-appearance,
6390
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--scroll-y-wrapper:after {
6389
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--scroll-y-handle-appearance,
6390
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--scroll-y-wrapper:after {
6391
6391
  border: none !important;
6392
6392
  }
6393
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--scroll-y-top-corner {
6393
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--scroll-y-top-corner {
6394
6394
  display: none !important;
6395
6395
  }
6396
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-cell--sort {
6396
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-cell--sort {
6397
6397
  font-size: 14px;
6398
6398
  }
6399
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column,
6400
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-footer--column,
6401
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column,
6402
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column,
6403
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-footer--column,
6404
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column {
6399
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column,
6400
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-footer--column,
6401
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column,
6402
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column,
6403
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-footer--column,
6404
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column {
6405
6405
  background-image: linear-gradient(#ebeef5, #ebeef5) !important;
6406
6406
  }
6407
- .fec-table-container[data-v-80cddc97] .vxe-table .el-button.is-disabled {
6407
+ .fec-table-container[data-v-835075cf] .vxe-table .el-button.is-disabled {
6408
6408
  color: #ccc !important;
6409
6409
  }
6410
- .fec-table-sub[data-v-80cddc97] .vxe-table .vxe-table--border-line {
6410
+ .fec-table-sub[data-v-835075cf] .vxe-table .vxe-table--border-line {
6411
6411
  border-top: none;
6412
6412
  }
6413
6413
  .fec-layout-card[data-v-c90689d4] {
@@ -225,28 +225,40 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
225
225
  return total + (isNaN(value) ? 0 : value);
226
226
  }, 0);
227
227
  if (isNaN(sum)) {
228
- footerRow[fieldName] = "";
228
+ footerRow[fieldName] = " ";
229
229
  } else {
230
230
  const field = fieldsData.value.find((f) => f.fieldName == fieldName);
231
- footerRow[fieldName] = formatSummaryValue(sum, field);
231
+ let val = formatSummaryValue(sum, field) || " ";
232
+ if (val == "undefined") {
233
+ val = " ";
234
+ }
235
+ footerRow[fieldName] = val;
232
236
  }
233
237
  });
234
238
  } else if (mode === "all") {
235
239
  summaryFields.forEach((fieldName) => {
240
+ debugger;
236
241
  const sum = allSummaryData.value[fieldName];
242
+ console.log("πŸš€ ~ sum:", sum);
237
243
  if (sum != void 0 && sum != null) {
238
244
  const field = fieldsData.value.find((f) => f.fieldName == fieldName);
239
- footerRow[fieldName] = formatSummaryValue(sum, field);
245
+ let val = formatSummaryValue(sum, field) || " ";
246
+ console.log("πŸš€ ~ val:", val);
247
+ if (val == "undefined") {
248
+ val = " ";
249
+ }
250
+ footerRow[fieldName] = val;
240
251
  } else {
241
- footerRow[fieldName] = "加载中...";
252
+ footerRow[fieldName] = " ";
242
253
  }
254
+ console.log("πŸš€ ~ footerRow:", footerRow);
243
255
  });
244
256
  }
245
257
  return [footerRow];
246
258
  });
247
259
  function formatSummaryValue(value, field) {
248
260
  if (!field) {
249
- return value || "";
261
+ return value;
250
262
  }
251
263
  const format = field.format;
252
264
  field.hasDecimalPlaces;
@@ -900,7 +912,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
900
912
  };
901
913
  }
902
914
  });
903
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-80cddc97"]]);
915
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-835075cf"]]);
904
916
  export {
905
917
  _Table as default
906
918
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.5.12";
3
+ const version = "5.5.15";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -6312,12 +6312,12 @@ body,
6312
6312
  }
6313
6313
  [data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
6314
6314
  border-radius: 4px;
6315
- }.fec-table[data-v-80cddc97] {
6315
+ }.fec-table[data-v-835075cf] {
6316
6316
  height: 100%;
6317
6317
  flex-grow: 1;
6318
6318
  padding: 0 16px;
6319
6319
  }
6320
- .fec-table-container[data-v-80cddc97] {
6320
+ .fec-table-container[data-v-835075cf] {
6321
6321
  width: 100%;
6322
6322
  background: #fff;
6323
6323
  box-sizing: border-box;
@@ -6327,87 +6327,87 @@ body,
6327
6327
  overflow: hidden;
6328
6328
  flex-grow: 1;
6329
6329
  }
6330
- .fec-table-container .fec-vxe-table[data-v-80cddc97] {
6330
+ .fec-table-container .fec-vxe-table[data-v-835075cf] {
6331
6331
  flex: 1;
6332
6332
  min-height: 0;
6333
6333
  overflow: hidden;
6334
6334
  margin-bottom: 16px;
6335
6335
  }
6336
- .fec-table-container[data-v-80cddc97] .vxe-table {
6336
+ .fec-table-container[data-v-835075cf] .vxe-table {
6337
6337
  font-size: 14px;
6338
6338
  font-family: inherit;
6339
6339
  }
6340
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-sort--asc-btn,
6341
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-sort--desc-btn {
6340
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-sort--asc-btn,
6341
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-sort--desc-btn {
6342
6342
  color: #dcdcdc;
6343
6343
  }
6344
- .fec-table-container[data-v-80cddc97] .vxe-table .serverSort .vxe-sort--asc-btn,
6345
- .fec-table-container[data-v-80cddc97] .vxe-table .serverSort .vxe-sort--desc-btn {
6344
+ .fec-table-container[data-v-835075cf] .vxe-table .serverSort .vxe-sort--asc-btn,
6345
+ .fec-table-container[data-v-835075cf] .vxe-table .serverSort .vxe-sort--desc-btn {
6346
6346
  color: #d3edf9;
6347
6347
  }
6348
- .fec-table-container[data-v-80cddc97] .vxe-table .serverSort .sort--active {
6348
+ .fec-table-container[data-v-835075cf] .vxe-table .serverSort .sort--active {
6349
6349
  color: var(--el-color-primary);
6350
6350
  }
6351
- .fec-table-container[data-v-80cddc97] .vxe-table .sort--active {
6351
+ .fec-table-container[data-v-835075cf] .vxe-table .sort--active {
6352
6352
  color: var(--el-color-primary);
6353
6353
  }
6354
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--body-wrapper {
6354
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--body-wrapper {
6355
6355
  overflow: auto;
6356
6356
  }
6357
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--body,
6358
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--header,
6359
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--footer {
6357
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--body,
6358
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--header,
6359
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--footer {
6360
6360
  width: 100% !important;
6361
6361
  }
6362
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column {
6362
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column {
6363
6363
  background-color: #fff;
6364
6364
  }
6365
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column .vxe-cell {
6365
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column .vxe-cell {
6366
6366
  height: 40px !important;
6367
6367
  min-height: 40px !important;
6368
6368
  color: #333;
6369
6369
  }
6370
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--header-inner-wrapper {
6370
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--header-inner-wrapper {
6371
6371
  height: 40px !important;
6372
6372
  }
6373
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column .vxe-cell {
6373
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column .vxe-cell {
6374
6374
  padding: 6px !important;
6375
6375
  min-height: 32px !important;
6376
6376
  color: #666;
6377
6377
  font-size: 13px;
6378
6378
  }
6379
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column .c--tooltip,
6380
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column .c--title {
6379
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column .c--tooltip,
6380
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column .c--title {
6381
6381
  height: 32px !important;
6382
6382
  min-height: 32px !important;
6383
6383
  }
6384
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--border-line {
6384
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--border-line {
6385
6385
  border: none;
6386
6386
  border-bottom: 1px solid #ebeef5;
6387
6387
  border-top: 1px solid #ebeef5;
6388
6388
  }
6389
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--scroll-y-handle-appearance,
6390
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--scroll-y-wrapper:after {
6389
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--scroll-y-handle-appearance,
6390
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--scroll-y-wrapper:after {
6391
6391
  border: none !important;
6392
6392
  }
6393
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-table--scroll-y-top-corner {
6393
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-table--scroll-y-top-corner {
6394
6394
  display: none !important;
6395
6395
  }
6396
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-cell--sort {
6396
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-cell--sort {
6397
6397
  font-size: 14px;
6398
6398
  }
6399
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column,
6400
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-footer--column,
6401
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column,
6402
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-body--column,
6403
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-footer--column,
6404
- .fec-table-container[data-v-80cddc97] .vxe-table .vxe-header--column {
6399
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column,
6400
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-footer--column,
6401
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column,
6402
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-body--column,
6403
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-footer--column,
6404
+ .fec-table-container[data-v-835075cf] .vxe-table .vxe-header--column {
6405
6405
  background-image: linear-gradient(#ebeef5, #ebeef5) !important;
6406
6406
  }
6407
- .fec-table-container[data-v-80cddc97] .vxe-table .el-button.is-disabled {
6407
+ .fec-table-container[data-v-835075cf] .vxe-table .el-button.is-disabled {
6408
6408
  color: #ccc !important;
6409
6409
  }
6410
- .fec-table-sub[data-v-80cddc97] .vxe-table .vxe-table--border-line {
6410
+ .fec-table-sub[data-v-835075cf] .vxe-table .vxe-table--border-line {
6411
6411
  border-top: none;
6412
6412
  }
6413
6413
  .fec-layout-card[data-v-c90689d4] {
@@ -227,28 +227,40 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
227
227
  return total + (isNaN(value) ? 0 : value);
228
228
  }, 0);
229
229
  if (isNaN(sum)) {
230
- footerRow[fieldName] = "";
230
+ footerRow[fieldName] = " ";
231
231
  } else {
232
232
  const field = fieldsData.value.find((f) => f.fieldName == fieldName);
233
- footerRow[fieldName] = formatSummaryValue(sum, field);
233
+ let val = formatSummaryValue(sum, field) || " ";
234
+ if (val == "undefined") {
235
+ val = " ";
236
+ }
237
+ footerRow[fieldName] = val;
234
238
  }
235
239
  });
236
240
  } else if (mode === "all") {
237
241
  summaryFields.forEach((fieldName) => {
242
+ debugger;
238
243
  const sum = allSummaryData.value[fieldName];
244
+ console.log("πŸš€ ~ sum:", sum);
239
245
  if (sum != void 0 && sum != null) {
240
246
  const field = fieldsData.value.find((f) => f.fieldName == fieldName);
241
- footerRow[fieldName] = formatSummaryValue(sum, field);
247
+ let val = formatSummaryValue(sum, field) || " ";
248
+ console.log("πŸš€ ~ val:", val);
249
+ if (val == "undefined") {
250
+ val = " ";
251
+ }
252
+ footerRow[fieldName] = val;
242
253
  } else {
243
- footerRow[fieldName] = "加载中...";
254
+ footerRow[fieldName] = " ";
244
255
  }
256
+ console.log("πŸš€ ~ footerRow:", footerRow);
245
257
  });
246
258
  }
247
259
  return [footerRow];
248
260
  });
249
261
  function formatSummaryValue(value, field) {
250
262
  if (!field) {
251
- return value || "";
263
+ return value;
252
264
  }
253
265
  const format = field.format;
254
266
  field.hasDecimalPlaces;
@@ -902,5 +914,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
902
914
  };
903
915
  }
904
916
  });
905
- const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-80cddc97"]]);
917
+ const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-835075cf"]]);
906
918
  exports.default = _Table;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.5.12",
3
+ "version": "5.5.15",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [