@fecp/designer 5.3.21 → 5.4.1

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.css CHANGED
@@ -3932,7 +3932,30 @@ to {
3932
3932
  color: #606266;
3933
3933
  margin-left: 8px;
3934
3934
  }
3935
- .table-work-area[data-v-f581ce52] {
3935
+
3936
+ .table-summary-config[data-v-95806c79] {
3937
+ position: relative;
3938
+ margin: 0 17px;
3939
+ margin-top: -49px;
3940
+ margin-bottom: 16px;
3941
+ }
3942
+ .config-row[data-v-95806c79] {
3943
+ display: flex;
3944
+ align-items: center;
3945
+ flex-wrap: wrap;
3946
+ gap: 8px;
3947
+ padding: 8px 12px;
3948
+ background: #f5f7fa;
3949
+ border-radius: 4px;
3950
+ border-top-left-radius: 0;
3951
+ border-top-right-radius: 0;
3952
+ }
3953
+ .config-label[data-v-95806c79] {
3954
+ font-size: 13px;
3955
+ color: #606266;
3956
+ margin-right: 4px;
3957
+ }
3958
+ .table-work-area[data-v-271403ad] {
3936
3959
  display: flex;
3937
3960
  border-left: 1px solid #ebeef5;
3938
3961
  position: relative;
@@ -3941,25 +3964,25 @@ to {
3941
3964
  overflow: hidden;
3942
3965
  margin: 8px 16px;
3943
3966
  }
3944
- .table-work-area .widgets-opt-tools[data-v-f581ce52] {
3967
+ .table-work-area .widgets-opt-tools[data-v-271403ad] {
3945
3968
  height: 150px;
3946
3969
  width: 100%;
3947
3970
  }
3948
- .edit-table-draggable[data-v-f581ce52] {
3971
+ .edit-table-draggable[data-v-271403ad] {
3949
3972
  display: flex;
3950
3973
  font-size: 14px;
3951
3974
  }
3952
- .edit-table-draggable .table-item[data-v-f581ce52] {
3975
+ .edit-table-draggable .table-item[data-v-271403ad] {
3953
3976
  flex: none;
3954
3977
  border: 1px solid #ebeef5;
3955
3978
  border-left: none;
3956
3979
  min-width: 80px;
3957
3980
  position: relative;
3958
3981
  }
3959
- .edit-table-draggable .table-item.flex-auto[data-v-f581ce52] {
3982
+ .edit-table-draggable .table-item.flex-auto[data-v-271403ad] {
3960
3983
  flex: 1;
3961
3984
  }
3962
- .edit-table-draggable .table-item .widgets[data-v-f581ce52] {
3985
+ .edit-table-draggable .table-item .widgets[data-v-271403ad] {
3963
3986
  color: #1a1a1a;
3964
3987
  height: 40px;
3965
3988
  border: 2px solid transparent;
@@ -3974,35 +3997,35 @@ to {
3974
3997
  display: flex;
3975
3998
  align-items: center;
3976
3999
  }
3977
- .edit-table-draggable .table-item .widgets[data-v-f581ce52] .el-icon {
4000
+ .edit-table-draggable .table-item .widgets[data-v-271403ad] .el-icon {
3978
4001
  color: #909399;
3979
4002
  margin-left: 2px;
3980
4003
  }
3981
- .edit-table-draggable .table-item.align-header-left .widgets[data-v-f581ce52] {
4004
+ .edit-table-draggable .table-item.align-header-left .widgets[data-v-271403ad] {
3982
4005
  text-align: left;
3983
4006
  justify-content: flex-start;
3984
4007
  }
3985
- .edit-table-draggable .table-item.align-header-center .widgets[data-v-f581ce52] {
4008
+ .edit-table-draggable .table-item.align-header-center .widgets[data-v-271403ad] {
3986
4009
  text-align: center;
3987
4010
  justify-content: center;
3988
4011
  }
3989
- .edit-table-draggable .table-item.align-header-right .widgets[data-v-f581ce52] {
4012
+ .edit-table-draggable .table-item.align-header-right .widgets[data-v-271403ad] {
3990
4013
  text-align: right;
3991
4014
  justify-content: flex-end;
3992
4015
  }
3993
- .edit-table-draggable .table-item.align-left .field-label[data-v-f581ce52] {
4016
+ .edit-table-draggable .table-item.align-left .field-label[data-v-271403ad] {
3994
4017
  text-align: left;
3995
4018
  justify-content: flex-start;
3996
4019
  }
3997
- .edit-table-draggable .table-item.align-center .field-label[data-v-f581ce52] {
4020
+ .edit-table-draggable .table-item.align-center .field-label[data-v-271403ad] {
3998
4021
  text-align: center;
3999
4022
  justify-content: center;
4000
4023
  }
4001
- .edit-table-draggable .table-item.align-right .field-label[data-v-f581ce52] {
4024
+ .edit-table-draggable .table-item.align-right .field-label[data-v-271403ad] {
4002
4025
  text-align: right;
4003
4026
  justify-content: flex-end;
4004
4027
  }
4005
- .edit-table-draggable .table-item .widgets-tools[data-v-f581ce52] {
4028
+ .edit-table-draggable .table-item .widgets-tools[data-v-271403ad] {
4006
4029
  position: absolute;
4007
4030
  top: -30px;
4008
4031
  width: 100%;
@@ -4013,18 +4036,18 @@ to {
4013
4036
  height: 30px;
4014
4037
  color: #121c2e;
4015
4038
  }
4016
- .edit-table-draggable .table-item .widgets-tools .icon[data-v-f581ce52] {
4039
+ .edit-table-draggable .table-item .widgets-tools .icon[data-v-271403ad] {
4017
4040
  cursor: pointer;
4018
4041
  font-size: 16px;
4019
4042
  margin-left: 8px;
4020
4043
  }
4021
- .edit-table-draggable .table-item .widgets-tools .icon[data-v-f581ce52]:hover {
4044
+ .edit-table-draggable .table-item .widgets-tools .icon[data-v-271403ad]:hover {
4022
4045
  opacity: 0.7;
4023
4046
  }
4024
- .edit-table-draggable .table-item .widgets-tools .delete[data-v-f581ce52] {
4047
+ .edit-table-draggable .table-item .widgets-tools .delete[data-v-271403ad] {
4025
4048
  color: #d9534f;
4026
4049
  }
4027
- .edit-table-draggable .table-item .field-label[data-v-f581ce52] {
4050
+ .edit-table-draggable .table-item .field-label[data-v-271403ad] {
4028
4051
  border-top: 1px solid #ebeef5;
4029
4052
  height: 40px;
4030
4053
  padding: 0 8px;
@@ -4032,11 +4055,11 @@ to {
4032
4055
  display: flex;
4033
4056
  align-items: center;
4034
4057
  }
4035
- .edit-table-draggable .table-item .field-label[data-v-f581ce52] .el-icon {
4058
+ .edit-table-draggable .table-item .field-label[data-v-271403ad] .el-icon {
4036
4059
  color: #909399;
4037
4060
  margin-left: 2px;
4038
4061
  }
4039
- .edit-table-draggable .table-item .quick-operation[data-v-f581ce52] {
4062
+ .edit-table-draggable .table-item .quick-operation[data-v-271403ad] {
4040
4063
  display: none;
4041
4064
  align-items: center;
4042
4065
  gap: 4px;
@@ -4045,7 +4068,7 @@ to {
4045
4068
  width: 100%;
4046
4069
  padding-top: 3px;
4047
4070
  }
4048
- .edit-table-draggable .table-item .quick-operation .setting-icon[data-v-f581ce52] {
4071
+ .edit-table-draggable .table-item .quick-operation .setting-icon[data-v-271403ad] {
4049
4072
  color: #909399;
4050
4073
  cursor: pointer;
4051
4074
  font-size: 16px;
@@ -4053,11 +4076,11 @@ to {
4053
4076
  border-radius: 4px;
4054
4077
  transition: all 0.3s;
4055
4078
  }
4056
- .edit-table-draggable .table-item .quick-operation .setting-icon[data-v-f581ce52]:hover, .edit-table-draggable .table-item .quick-operation .setting-icon.is-active[data-v-f581ce52] {
4079
+ .edit-table-draggable .table-item .quick-operation .setting-icon[data-v-271403ad]:hover, .edit-table-draggable .table-item .quick-operation .setting-icon.is-active[data-v-271403ad] {
4057
4080
  color: #409eff;
4058
4081
  background-color: #ecf5ff;
4059
4082
  }
4060
- .edit-table-draggable .table-item .quick-operation .icon-action[data-v-f581ce52] {
4083
+ .edit-table-draggable .table-item .quick-operation .icon-action[data-v-271403ad] {
4061
4084
  color: #606266;
4062
4085
  cursor: pointer;
4063
4086
  font-size: 16px;
@@ -4065,33 +4088,33 @@ to {
4065
4088
  border-radius: 4px;
4066
4089
  transition: all 0.3s;
4067
4090
  }
4068
- .edit-table-draggable .table-item .quick-operation .icon-action[data-v-f581ce52]:hover {
4091
+ .edit-table-draggable .table-item .quick-operation .icon-action[data-v-271403ad]:hover {
4069
4092
  color: #409eff;
4070
4093
  background-color: #ecf5ff;
4071
4094
  }
4072
- .edit-table-draggable .table-item .quick-operation .icon-action.delete[data-v-f581ce52] {
4095
+ .edit-table-draggable .table-item .quick-operation .icon-action.delete[data-v-271403ad] {
4073
4096
  color: #f56c6c;
4074
4097
  }
4075
- .edit-table-draggable .table-item .quick-operation .icon-action.delete[data-v-f581ce52]:hover {
4098
+ .edit-table-draggable .table-item .quick-operation .icon-action.delete[data-v-271403ad]:hover {
4076
4099
  color: #fff;
4077
4100
  background-color: #f56c6c;
4078
4101
  }
4079
- .edit-table-draggable .table-item[data-v-f581ce52]:last-child {
4102
+ .edit-table-draggable .table-item[data-v-271403ad]:last-child {
4080
4103
  border-right: none;
4081
4104
  }
4082
- .edit-table-draggable .table-item.is-hover .widgets[data-v-f581ce52] {
4105
+ .edit-table-draggable .table-item.is-hover .widgets[data-v-271403ad] {
4083
4106
  border: 2px dashed #7b99cb !important;
4084
4107
  }
4085
- .edit-table-draggable .table-item.is-hover .quick-operation[data-v-f581ce52] {
4108
+ .edit-table-draggable .table-item.is-hover .quick-operation[data-v-271403ad] {
4086
4109
  display: flex;
4087
4110
  }
4088
- .edit-table-draggable .table-item.is-select .widgets[data-v-f581ce52] {
4111
+ .edit-table-draggable .table-item.is-select .widgets[data-v-271403ad] {
4089
4112
  border: 2px dashed #f0ad4e !important;
4090
4113
  }
4091
- .edit-table-draggable .table-item.is-select .quick-operation[data-v-f581ce52] {
4114
+ .edit-table-draggable .table-item.is-select .quick-operation[data-v-271403ad] {
4092
4115
  display: flex;
4093
4116
  }
4094
- .table-btn[data-v-f581ce52] {
4117
+ .table-btn[data-v-271403ad] {
4095
4118
  font-size: 14px;
4096
4119
  width: 220px;
4097
4120
  flex: none;
@@ -4099,7 +4122,7 @@ to {
4099
4122
  border-right: 1px solid #ebeef5 !important;
4100
4123
  border-bottom: none;
4101
4124
  }
4102
- .table-btn .widgets[data-v-f581ce52] {
4125
+ .table-btn .widgets[data-v-271403ad] {
4103
4126
  text-align: center;
4104
4127
  position: relative;
4105
4128
  border-bottom: 1px solid #ebeef5;
@@ -4110,34 +4133,34 @@ to {
4110
4133
  align-items: center;
4111
4134
  justify-content: center;
4112
4135
  }
4113
- .table-btn .widgets .isOptBtns[data-v-f581ce52] {
4136
+ .table-btn .widgets .isOptBtns[data-v-271403ad] {
4114
4137
  position: absolute;
4115
4138
  left: 5px;
4116
4139
  margin: 0;
4117
4140
  top: 5px;
4118
4141
  }
4119
- .table-btn .widgets .addLink[data-v-f581ce52] {
4142
+ .table-btn .widgets .addLink[data-v-271403ad] {
4120
4143
  position: absolute;
4121
4144
  right: 10px;
4122
4145
  }
4123
- .table-btn .widgets-tools[data-v-f581ce52] {
4146
+ .table-btn .widgets-tools[data-v-271403ad] {
4124
4147
  display: flex;
4125
4148
  }
4126
- .table-btn.close[data-v-f581ce52] {
4149
+ .table-btn.close[data-v-271403ad] {
4127
4150
  width: 80px;
4128
4151
  }
4129
- .table-btn.close .addLink[data-v-f581ce52],
4130
- .table-btn.close .table-btn-option[data-v-f581ce52] {
4152
+ .table-btn.close .addLink[data-v-271403ad],
4153
+ .table-btn.close .table-btn-option[data-v-271403ad] {
4131
4154
  display: none;
4132
4155
  }
4133
- .table-selectMode[data-v-f581ce52],
4134
- .table-indexMode[data-v-f581ce52] {
4156
+ .table-selectMode[data-v-271403ad],
4157
+ .table-indexMode[data-v-271403ad] {
4135
4158
  width: 42px;
4136
4159
  flex: none;
4137
4160
  border-right: 1px solid #ebeef5 !important;
4138
4161
  }
4139
- .table-selectMode .widgets[data-v-f581ce52],
4140
- .table-indexMode .widgets[data-v-f581ce52] {
4162
+ .table-selectMode .widgets[data-v-271403ad],
4163
+ .table-indexMode .widgets[data-v-271403ad] {
4141
4164
  color: #1a1a1a;
4142
4165
  font-weight: bold;
4143
4166
  font-size: 14px;
@@ -4150,8 +4173,8 @@ to {
4150
4173
  align-items: center;
4151
4174
  justify-content: center;
4152
4175
  }
4153
- .table-selectMode .field-label[data-v-f581ce52],
4154
- .table-indexMode .field-label[data-v-f581ce52] {
4176
+ .table-selectMode .field-label[data-v-271403ad],
4177
+ .table-indexMode .field-label[data-v-271403ad] {
4155
4178
  border-bottom: 1px solid #ebeef5;
4156
4179
  height: 40px;
4157
4180
  padding: 0 8px;
@@ -4159,16 +4182,16 @@ to {
4159
4182
  font-size: 14px;
4160
4183
  text-align: center;
4161
4184
  }
4162
- .table-selectMode[data-v-f581ce52] .el-radio__label,
4163
- .table-indexMode[data-v-f581ce52] .el-radio__label {
4185
+ .table-selectMode[data-v-271403ad] .el-radio__label,
4186
+ .table-indexMode[data-v-271403ad] .el-radio__label {
4164
4187
  display: none;
4165
4188
  }
4166
- .table-btn-option[data-v-f581ce52] {
4189
+ .table-btn-option[data-v-271403ad] {
4167
4190
  padding: 8px;
4168
4191
  display: flex;
4169
4192
  flex-wrap: wrap;
4170
4193
  }
4171
- .table-btn-option .opt-btn[data-v-f581ce52] {
4194
+ .table-btn-option .opt-btn[data-v-271403ad] {
4172
4195
  min-width: 52px;
4173
4196
  height: 28px;
4174
4197
  margin-right: 8px;
@@ -4176,42 +4199,42 @@ to {
4176
4199
  border: 2px solid transparent;
4177
4200
  border-radius: 2px;
4178
4201
  }
4179
- .table-btn-option .opt-btn.is-hover[data-v-f581ce52] {
4202
+ .table-btn-option .opt-btn.is-hover[data-v-271403ad] {
4180
4203
  border: 2px dashed #7b99cb !important;
4181
4204
  }
4182
- .table-btn-option .opt-btn.is-select[data-v-f581ce52] {
4205
+ .table-btn-option .opt-btn.is-select[data-v-271403ad] {
4183
4206
  border: 2px dashed #efa53a !important;
4184
4207
  }
4185
- .quick-setting-panel[data-v-f581ce52] {
4208
+ .quick-setting-panel[data-v-271403ad] {
4186
4209
  padding: 8px;
4187
4210
  min-width: 160px;
4188
4211
  }
4189
- .quick-setting-panel .setting-row[data-v-f581ce52] {
4212
+ .quick-setting-panel .setting-row[data-v-271403ad] {
4190
4213
  display: flex;
4191
4214
  align-items: center;
4192
4215
  justify-content: space-between;
4193
4216
  margin-bottom: 8px;
4194
4217
  }
4195
- .quick-setting-panel .setting-row[data-v-f581ce52]:last-child {
4218
+ .quick-setting-panel .setting-row[data-v-271403ad]:last-child {
4196
4219
  margin-bottom: 0;
4197
4220
  }
4198
- .quick-setting-panel .setting-row .setting-label[data-v-f581ce52] {
4221
+ .quick-setting-panel .setting-row .setting-label[data-v-271403ad] {
4199
4222
  font-size: 12px;
4200
4223
  color: #606266;
4201
4224
  min-width: 35px;
4202
4225
  }
4203
- .quick-setting-panel .setting-row .setting-select[data-v-f581ce52] {
4226
+ .quick-setting-panel .setting-row .setting-select[data-v-271403ad] {
4204
4227
  flex: 1;
4205
4228
  width: 90px;
4206
4229
  }
4207
- .quick-setting-panel .setting-row .setting-input[data-v-f581ce52] {
4230
+ .quick-setting-panel .setting-row .setting-input[data-v-271403ad] {
4208
4231
  flex: 1;
4209
4232
  width: 90px;
4210
4233
  }
4211
- .quick-setting-panel .setting-row[data-v-f581ce52] .el-checkbox {
4234
+ .quick-setting-panel .setting-row[data-v-271403ad] .el-checkbox {
4212
4235
  margin-right: 5px;
4213
4236
  }
4214
- .quick-setting-panel .setting-row[data-v-f581ce52] .el-checkbox .el-checkbox__label {
4237
+ .quick-setting-panel .setting-row[data-v-271403ad] .el-checkbox .el-checkbox__label {
4215
4238
  padding-left: 5px;
4216
4239
  }.form-setting[data-v-cc559ca7] {
4217
4240
  display: flex;
@@ -5668,10 +5691,10 @@ body,
5668
5691
  }
5669
5692
  [data-v-8aed9471] .vgl-item > .el-container {
5670
5693
  height: auto !important;
5671
- }.cell-content .cell-text[data-v-1fac212e] {
5694
+ }.cell-content .cell-text[data-v-3e5372d4] {
5672
5695
  display: inline-block;
5673
5696
  }
5674
- .cell-content .copy-icon[data-v-1fac212e] {
5697
+ .cell-content .copy-icon[data-v-3e5372d4] {
5675
5698
  cursor: pointer;
5676
5699
  color: #909399;
5677
5700
  font-size: 14px;
@@ -5679,7 +5702,7 @@ body,
5679
5702
  top: 4px;
5680
5703
  margin-left: 4px;
5681
5704
  }
5682
- .cell-content .copy-icon[data-v-1fac212e]:hover {
5705
+ .cell-content .copy-icon[data-v-3e5372d4]:hover {
5683
5706
  color: #409eff;
5684
5707
  }.fec-table-filter[data-v-4851a6ab] {
5685
5708
  display: flex;
@@ -5955,11 +5978,11 @@ body,
5955
5978
  }
5956
5979
  [data-v-dc1c22da] .el-checkbox-group .el-checkbox-button__inner {
5957
5980
  border-radius: 4px;
5958
- }.fec-table[data-v-03f3150c] {
5981
+ }.fec-table[data-v-aa3130aa] {
5959
5982
  height: 100%;
5960
5983
  flex-grow: 1;
5961
5984
  }
5962
- .fec-table-container[data-v-03f3150c] {
5985
+ .fec-table-container[data-v-aa3130aa] {
5963
5986
  width: 100%;
5964
5987
  background: #fff;
5965
5988
  box-sizing: border-box;
@@ -5969,30 +5992,30 @@ body,
5969
5992
  overflow: hidden;
5970
5993
  flex-grow: 1;
5971
5994
  }
5972
- .fec-table-container .fec-vxe-table[data-v-03f3150c] {
5995
+ .fec-table-container .fec-vxe-table[data-v-aa3130aa] {
5973
5996
  flex: 1;
5974
5997
  min-height: 0;
5975
5998
  overflow: hidden;
5976
5999
  }
5977
- .fec-table-container[data-v-03f3150c] .vxe-table {
6000
+ .fec-table-container[data-v-aa3130aa] .vxe-table {
5978
6001
  font-size: 14px;
5979
6002
  }
5980
- .fec-table-container[data-v-03f3150c] .vxe-table .vxe-table--body-wrapper {
6003
+ .fec-table-container[data-v-aa3130aa] .vxe-table .vxe-table--body-wrapper {
5981
6004
  overflow: auto;
5982
6005
  }
5983
- .fec-table-container[data-v-03f3150c] .vxe-table .vxe-header--column {
6006
+ .fec-table-container[data-v-aa3130aa] .vxe-table .vxe-header--column {
5984
6007
  background-color: #f5f7fa;
5985
6008
  }
5986
- .fec-table-container[data-v-03f3150c] .vxe-table .vxe-header--column .vxe-cell {
6009
+ .fec-table-container[data-v-aa3130aa] .vxe-table .vxe-header--column .vxe-cell {
5987
6010
  height: 40px !important;
5988
6011
  min-height: 40px !important;
5989
6012
  }
5990
- .fec-table-container[data-v-03f3150c] .vxe-table .vxe-body--column .vxe-cell {
6013
+ .fec-table-container[data-v-aa3130aa] .vxe-table .vxe-body--column .vxe-cell {
5991
6014
  padding: 6px !important;
5992
6015
  min-height: 40px !important;
5993
6016
  }
5994
- .fec-table-container[data-v-03f3150c] .vxe-table .vxe-body--column .c--tooltip,
5995
- .fec-table-container[data-v-03f3150c] .vxe-table .vxe-body--column .c--title {
6017
+ .fec-table-container[data-v-aa3130aa] .vxe-table .vxe-body--column .c--tooltip,
6018
+ .fec-table-container[data-v-aa3130aa] .vxe-table .vxe-body--column .c--title {
5996
6019
  height: 40px !important;
5997
6020
  min-height: 40px !important;
5998
6021
  }:root,:host{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-break:anywhere;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;line-break:anywhere;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}
@@ -173,7 +173,93 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
173
173
  }
174
174
  return localConfig.value.height || 500;
175
175
  });
176
- const initDataSourceManager = () => {
176
+ const summaryConfig = computed(() => {
177
+ return localConfig.value.summaryConfig || {
178
+ enabled: false,
179
+ mode: "current",
180
+ summaryFields: []
181
+ };
182
+ });
183
+ const allSummaryData = ref({});
184
+ const footerData = computed(() => {
185
+ const config = summaryConfig.value;
186
+ const { enabled, mode, summaryFields = [] } = config;
187
+ if (!enabled) return [];
188
+ const firstItem = fieldsData.value.find((item) => item.isShow);
189
+ if (!firstItem) {
190
+ return [];
191
+ }
192
+ const firstSummaryField = firstItem.fieldName;
193
+ const footerRow = { _isFooter: true };
194
+ if (firstSummaryField) {
195
+ footerRow[firstSummaryField] = "合计";
196
+ }
197
+ if (mode === "current") {
198
+ summaryFields.forEach((fieldName) => {
199
+ const sum = displayData.value.reduce((total, item) => {
200
+ const value = parseFloat(item[fieldName]);
201
+ return total + (isNaN(value) ? 0 : value);
202
+ }, 0);
203
+ if (isNaN(sum)) {
204
+ footerRow[fieldName] = "";
205
+ } else {
206
+ const field = fieldsData.value.find((f) => f.fieldName === fieldName);
207
+ footerRow[fieldName] = formatSummaryValue(sum, field);
208
+ }
209
+ });
210
+ } else if (mode === "all") {
211
+ summaryFields.forEach((fieldName) => {
212
+ const sum = allSummaryData.value[fieldName];
213
+ if (sum !== void 0 && sum !== null) {
214
+ const field = fieldsData.value.find((f) => f.fieldName === fieldName);
215
+ footerRow[fieldName] = formatSummaryValue(sum, field);
216
+ } else {
217
+ footerRow[fieldName] = "加载中...";
218
+ }
219
+ });
220
+ }
221
+ return [footerRow];
222
+ });
223
+ function formatSummaryValue(value, field) {
224
+ if (!field) {
225
+ return value;
226
+ }
227
+ const format = field.format;
228
+ field.hasDecimalPlaces;
229
+ field.decimalPlaces ?? 2;
230
+ let result = value;
231
+ switch (format) {
232
+ case "yuan":
233
+ result = value;
234
+ break;
235
+ case "wan":
236
+ result = value / 1e4;
237
+ break;
238
+ case "million":
239
+ result = value / 1e6;
240
+ break;
241
+ case "percentage":
242
+ result = value * 100;
243
+ break;
244
+ case "permillage":
245
+ result = value * 1e3;
246
+ break;
247
+ case "permillion":
248
+ result = value * 1e4;
249
+ break;
250
+ default:
251
+ result = value;
252
+ }
253
+ if (field.format == "yuan" || field.format == "wan" || field.format == "million") {
254
+ const formatted = result.toLocaleString("en-US", {
255
+ minimumFractionDigits: field.hasDecimalPlaces && field.decimalPlaces !== void 0 ? field.decimalPlaces : 0,
256
+ maximumFractionDigits: field.hasDecimalPlaces && field.decimalPlaces !== void 0 ? field.decimalPlaces : 20
257
+ });
258
+ return formatted;
259
+ }
260
+ return result;
261
+ }
262
+ const initDataSourceManager = async () => {
177
263
  var _a, _b;
178
264
  if (!((_a = localConfig.value.dataSources) == null ? void 0 : _a.length)) return;
179
265
  dataSourceManager.value = createDataSource({
@@ -197,7 +283,36 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
197
283
  emit("data-error", err);
198
284
  });
199
285
  if (!props.tableData || props.tableData.length === 0) {
200
- dataSourceManager.value.fetch();
286
+ tableDataFetch();
287
+ if (localConfig.value.summaryConfig.enabled && localConfig.value.summaryConfig.mode == "all") {
288
+ const summaryAllDataManager = createDataSource({
289
+ http: ctx.$http,
290
+ initSearchData: searchData.value,
291
+ dataSources: localConfig.value.dataSources,
292
+ currentDataSourceId: localConfig.value.dataSourceId,
293
+ pagination: {
294
+ pageNo: 1,
295
+ pageSize: 0
296
+ // 获取全部数据
297
+ },
298
+ data: hiddenFormData.value,
299
+ fields: fieldsData.value,
300
+ sortRules: localConfig.value.sortRules,
301
+ templateId: localConfig.value.templateKey
302
+ });
303
+ const data = await summaryAllDataManager.fetch();
304
+ const summaryFields = localConfig.value.summaryConfig.summaryFields || [];
305
+ const allList = (data == null ? void 0 : data.list) || [];
306
+ const summaryResult = {};
307
+ summaryFields.forEach((fieldName) => {
308
+ const sum = allList.reduce((total, item) => {
309
+ const value = parseFloat(item[fieldName]);
310
+ return total + (isNaN(value) ? 0 : value);
311
+ }, 0);
312
+ summaryResult[fieldName] = sum;
313
+ });
314
+ allSummaryData.value = summaryResult;
315
+ }
201
316
  }
202
317
  loadFieldDataSources();
203
318
  };
@@ -329,14 +444,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
329
444
  const orderValue = order ? order.replace("ending", "") : "";
330
445
  if (dataSourceManager.value) {
331
446
  dataSourceManager.value.updateSort(property, orderValue);
332
- dataSourceManager.value.fetch();
447
+ tableDataFetch();
333
448
  }
334
449
  emit("sort-change", { field: property, order: orderValue });
335
450
  };
336
451
  const handlePageChange = ({ pageNo, pageSize }) => {
337
452
  if (dataSourceManager.value) {
338
453
  dataSourceManager.value.updatePagination(pageNo, pageSize);
339
- dataSourceManager.value.fetch();
454
+ tableDataFetch();
340
455
  }
341
456
  emit("page-change", { pageNo, pageSize });
342
457
  };
@@ -352,7 +467,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
352
467
  const handleFilterSearch = (filters) => {
353
468
  if (dataSourceManager.value) {
354
469
  dataSourceManager.value.updateParams(filters);
355
- dataSourceManager.value.fetch();
470
+ tableDataFetch();
356
471
  clearSelection();
357
472
  } else {
358
473
  searchData.value = filters;
@@ -361,7 +476,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
361
476
  const handleFilterReset = () => {
362
477
  if (dataSourceManager.value) {
363
478
  dataSourceManager.value.clearParams();
364
- dataSourceManager.value.fetch();
479
+ tableDataFetch();
365
480
  clearSelection();
366
481
  }
367
482
  };
@@ -392,7 +507,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
392
507
  $table.clearFilter();
393
508
  }
394
509
  }
395
- dataSourceManager.value.fetch();
510
+ tableDataFetch();
396
511
  }
397
512
  };
398
513
  const reset = () => {
@@ -407,9 +522,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
407
522
  $table.clearSort();
408
523
  }
409
524
  dataSourceManager.value.clearSort();
410
- dataSourceManager.value.fetch();
525
+ tableDataFetch();
411
526
  }
412
527
  };
528
+ async function tableDataFetch() {
529
+ await dataSourceManager.value.fetch();
530
+ }
413
531
  const exportConfig = reactive({
414
532
  modes: ["current", "selected", "all", "empty"],
415
533
  original: false
@@ -619,6 +737,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
619
737
  "row-config": rowConfig.value,
620
738
  "radio-config": unref(radioConfig),
621
739
  "checkbox-config": unref(checkboxConfig),
740
+ "show-footer": summaryConfig.value.enabled,
741
+ "footer-data": footerData.value,
622
742
  onSortChange: handleSortChange,
623
743
  onCheckboxChange: handleCheckboxChange,
624
744
  onCheckboxAll: handleCheckboxAll,
@@ -657,7 +777,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
657
777
  ];
658
778
  }),
659
779
  _: 3
660
- }, 8, ["data", "auto-resize", "height", "export-config", "row-config", "radio-config", "checkbox-config"])
780
+ }, 8, ["data", "auto-resize", "height", "export-config", "row-config", "radio-config", "checkbox-config", "show-footer", "footer-data"])
661
781
  ]),
662
782
  isPagination.value ? (openBlock(), createBlock(Pagination, {
663
783
  key: 2,
@@ -673,7 +793,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
673
793
  };
674
794
  }
675
795
  });
676
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-03f3150c"]]);
796
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aa3130aa"]]);
677
797
  export {
678
798
  _Table as default
679
799
  };
@@ -399,7 +399,7 @@ const _sfc_main = {
399
399
  };
400
400
  }
401
401
  };
402
- const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1fac212e"]]);
402
+ const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3e5372d4"]]);
403
403
  export {
404
404
  TableColumn as default
405
405
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.3.21";
3
+ const version = "5.4.1";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -12,7 +12,8 @@ const defaultProperty = {
12
12
  headerAlign: "center",
13
13
  align: "center",
14
14
  isOverflowWrap: true,
15
- isShow: true
15
+ isShow: true,
16
+ canSort: true
16
17
  };
17
18
  const components = [
18
19
  {