@fecp/designer 5.5.12 → 5.5.14
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/es/designer/package.json.mjs +1 -1
- package/es/designer.css +33 -33
- package/es/packages/vue/src/components/table/Table.vue.mjs +14 -6
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +33 -33
- package/lib/packages/vue/src/components/table/Table.vue.js +14 -6
- package/package.json +1 -1
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-
|
|
6315
|
+
}.fec-table[data-v-aca97a2d] {
|
|
6316
6316
|
height: 100%;
|
|
6317
6317
|
flex-grow: 1;
|
|
6318
6318
|
padding: 0 16px;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-aca97a2d] {
|
|
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-
|
|
6330
|
+
.fec-table-container .fec-vxe-table[data-v-aca97a2d] {
|
|
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-
|
|
6336
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table {
|
|
6337
6337
|
font-size: 14px;
|
|
6338
6338
|
font-family: inherit;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6341
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-sort--asc-btn,
|
|
6341
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-sort--desc-btn {
|
|
6342
6342
|
color: #dcdcdc;
|
|
6343
6343
|
}
|
|
6344
|
-
.fec-table-container[data-v-
|
|
6345
|
-
.fec-table-container[data-v-
|
|
6344
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6345
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6346
6346
|
color: #d3edf9;
|
|
6347
6347
|
}
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6348
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .serverSort .sort--active {
|
|
6349
6349
|
color: var(--el-color-primary);
|
|
6350
6350
|
}
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6351
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .sort--active {
|
|
6352
6352
|
color: var(--el-color-primary);
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-container[data-v-
|
|
6354
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--body-wrapper {
|
|
6355
6355
|
overflow: auto;
|
|
6356
6356
|
}
|
|
6357
|
-
.fec-table-container[data-v-
|
|
6358
|
-
.fec-table-container[data-v-
|
|
6359
|
-
.fec-table-container[data-v-
|
|
6357
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--body,
|
|
6358
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--header,
|
|
6359
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--footer {
|
|
6360
6360
|
width: 100% !important;
|
|
6361
6361
|
}
|
|
6362
|
-
.fec-table-container[data-v-
|
|
6362
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-header--column {
|
|
6363
6363
|
background-color: #fff;
|
|
6364
6364
|
}
|
|
6365
|
-
.fec-table-container[data-v-
|
|
6365
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6370
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6371
6371
|
height: 40px !important;
|
|
6372
6372
|
}
|
|
6373
|
-
.fec-table-container[data-v-
|
|
6373
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6380
|
-
.fec-table-container[data-v-
|
|
6379
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-body--column .c--tooltip,
|
|
6380
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6384
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6390
|
-
.fec-table-container[data-v-
|
|
6389
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6390
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6391
6391
|
border: none !important;
|
|
6392
6392
|
}
|
|
6393
|
-
.fec-table-container[data-v-
|
|
6393
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6394
6394
|
display: none !important;
|
|
6395
6395
|
}
|
|
6396
|
-
.fec-table-container[data-v-
|
|
6396
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-cell--sort {
|
|
6397
6397
|
font-size: 14px;
|
|
6398
6398
|
}
|
|
6399
|
-
.fec-table-container[data-v-
|
|
6400
|
-
.fec-table-container[data-v-
|
|
6401
|
-
.fec-table-container[data-v-
|
|
6402
|
-
.fec-table-container[data-v-
|
|
6403
|
-
.fec-table-container[data-v-
|
|
6404
|
-
.fec-table-container[data-v-
|
|
6399
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-body--column,
|
|
6400
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-footer--column,
|
|
6401
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-header--column,
|
|
6402
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-body--column,
|
|
6403
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-footer--column,
|
|
6404
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-header--column {
|
|
6405
6405
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6406
6406
|
}
|
|
6407
|
-
.fec-table-container[data-v-
|
|
6407
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .el-button.is-disabled {
|
|
6408
6408
|
color: #ccc !important;
|
|
6409
6409
|
}
|
|
6410
|
-
.fec-table-sub[data-v-
|
|
6410
|
+
.fec-table-sub[data-v-aca97a2d] .vxe-table .vxe-table--border-line {
|
|
6411
6411
|
border-top: none;
|
|
6412
6412
|
}
|
|
6413
6413
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -225,10 +225,14 @@ 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
|
-
|
|
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") {
|
|
@@ -236,9 +240,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
236
240
|
const sum = allSummaryData.value[fieldName];
|
|
237
241
|
if (sum != void 0 && sum != null) {
|
|
238
242
|
const field = fieldsData.value.find((f) => f.fieldName == fieldName);
|
|
239
|
-
|
|
243
|
+
let val = formatSummaryValue(sum, field) || " ";
|
|
244
|
+
if (val == "undefined") {
|
|
245
|
+
val = " ";
|
|
246
|
+
}
|
|
247
|
+
footerRow[fieldName] = val;
|
|
240
248
|
} else {
|
|
241
|
-
footerRow[fieldName] = "
|
|
249
|
+
footerRow[fieldName] = " ";
|
|
242
250
|
}
|
|
243
251
|
});
|
|
244
252
|
}
|
|
@@ -246,7 +254,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
246
254
|
});
|
|
247
255
|
function formatSummaryValue(value, field) {
|
|
248
256
|
if (!field) {
|
|
249
|
-
return value
|
|
257
|
+
return value;
|
|
250
258
|
}
|
|
251
259
|
const format = field.format;
|
|
252
260
|
field.hasDecimalPlaces;
|
|
@@ -900,7 +908,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
900
908
|
};
|
|
901
909
|
}
|
|
902
910
|
});
|
|
903
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
911
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aca97a2d"]]);
|
|
904
912
|
export {
|
|
905
913
|
_Table as default
|
|
906
914
|
};
|
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-
|
|
6315
|
+
}.fec-table[data-v-aca97a2d] {
|
|
6316
6316
|
height: 100%;
|
|
6317
6317
|
flex-grow: 1;
|
|
6318
6318
|
padding: 0 16px;
|
|
6319
6319
|
}
|
|
6320
|
-
.fec-table-container[data-v-
|
|
6320
|
+
.fec-table-container[data-v-aca97a2d] {
|
|
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-
|
|
6330
|
+
.fec-table-container .fec-vxe-table[data-v-aca97a2d] {
|
|
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-
|
|
6336
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table {
|
|
6337
6337
|
font-size: 14px;
|
|
6338
6338
|
font-family: inherit;
|
|
6339
6339
|
}
|
|
6340
|
-
.fec-table-container[data-v-
|
|
6341
|
-
.fec-table-container[data-v-
|
|
6340
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-sort--asc-btn,
|
|
6341
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-sort--desc-btn {
|
|
6342
6342
|
color: #dcdcdc;
|
|
6343
6343
|
}
|
|
6344
|
-
.fec-table-container[data-v-
|
|
6345
|
-
.fec-table-container[data-v-
|
|
6344
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6345
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6346
6346
|
color: #d3edf9;
|
|
6347
6347
|
}
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6348
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .serverSort .sort--active {
|
|
6349
6349
|
color: var(--el-color-primary);
|
|
6350
6350
|
}
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6351
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .sort--active {
|
|
6352
6352
|
color: var(--el-color-primary);
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-container[data-v-
|
|
6354
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--body-wrapper {
|
|
6355
6355
|
overflow: auto;
|
|
6356
6356
|
}
|
|
6357
|
-
.fec-table-container[data-v-
|
|
6358
|
-
.fec-table-container[data-v-
|
|
6359
|
-
.fec-table-container[data-v-
|
|
6357
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--body,
|
|
6358
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--header,
|
|
6359
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--footer {
|
|
6360
6360
|
width: 100% !important;
|
|
6361
6361
|
}
|
|
6362
|
-
.fec-table-container[data-v-
|
|
6362
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-header--column {
|
|
6363
6363
|
background-color: #fff;
|
|
6364
6364
|
}
|
|
6365
|
-
.fec-table-container[data-v-
|
|
6365
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6370
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6371
6371
|
height: 40px !important;
|
|
6372
6372
|
}
|
|
6373
|
-
.fec-table-container[data-v-
|
|
6373
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6380
|
-
.fec-table-container[data-v-
|
|
6379
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-body--column .c--tooltip,
|
|
6380
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6384
|
+
.fec-table-container[data-v-aca97a2d] .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-
|
|
6390
|
-
.fec-table-container[data-v-
|
|
6389
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6390
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6391
6391
|
border: none !important;
|
|
6392
6392
|
}
|
|
6393
|
-
.fec-table-container[data-v-
|
|
6393
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6394
6394
|
display: none !important;
|
|
6395
6395
|
}
|
|
6396
|
-
.fec-table-container[data-v-
|
|
6396
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-cell--sort {
|
|
6397
6397
|
font-size: 14px;
|
|
6398
6398
|
}
|
|
6399
|
-
.fec-table-container[data-v-
|
|
6400
|
-
.fec-table-container[data-v-
|
|
6401
|
-
.fec-table-container[data-v-
|
|
6402
|
-
.fec-table-container[data-v-
|
|
6403
|
-
.fec-table-container[data-v-
|
|
6404
|
-
.fec-table-container[data-v-
|
|
6399
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-body--column,
|
|
6400
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-footer--column,
|
|
6401
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-header--column,
|
|
6402
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-body--column,
|
|
6403
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-footer--column,
|
|
6404
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .vxe-header--column {
|
|
6405
6405
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6406
6406
|
}
|
|
6407
|
-
.fec-table-container[data-v-
|
|
6407
|
+
.fec-table-container[data-v-aca97a2d] .vxe-table .el-button.is-disabled {
|
|
6408
6408
|
color: #ccc !important;
|
|
6409
6409
|
}
|
|
6410
|
-
.fec-table-sub[data-v-
|
|
6410
|
+
.fec-table-sub[data-v-aca97a2d] .vxe-table .vxe-table--border-line {
|
|
6411
6411
|
border-top: none;
|
|
6412
6412
|
}
|
|
6413
6413
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -227,10 +227,14 @@ 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
|
-
|
|
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") {
|
|
@@ -238,9 +242,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
238
242
|
const sum = allSummaryData.value[fieldName];
|
|
239
243
|
if (sum != void 0 && sum != null) {
|
|
240
244
|
const field = fieldsData.value.find((f) => f.fieldName == fieldName);
|
|
241
|
-
|
|
245
|
+
let val = formatSummaryValue(sum, field) || " ";
|
|
246
|
+
if (val == "undefined") {
|
|
247
|
+
val = " ";
|
|
248
|
+
}
|
|
249
|
+
footerRow[fieldName] = val;
|
|
242
250
|
} else {
|
|
243
|
-
footerRow[fieldName] = "
|
|
251
|
+
footerRow[fieldName] = " ";
|
|
244
252
|
}
|
|
245
253
|
});
|
|
246
254
|
}
|
|
@@ -248,7 +256,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
248
256
|
});
|
|
249
257
|
function formatSummaryValue(value, field) {
|
|
250
258
|
if (!field) {
|
|
251
|
-
return value
|
|
259
|
+
return value;
|
|
252
260
|
}
|
|
253
261
|
const format = field.format;
|
|
254
262
|
field.hasDecimalPlaces;
|
|
@@ -902,5 +910,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
902
910
|
};
|
|
903
911
|
}
|
|
904
912
|
});
|
|
905
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
913
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-aca97a2d"]]);
|
|
906
914
|
exports.default = _Table;
|