@fecp/designer 5.4.92 → 5.4.93

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.92";
1
+ const version = "5.4.93";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -5981,7 +5981,7 @@ body,
5981
5981
  }
5982
5982
  .cell-content .copy-icon[data-v-5138d230]:hover {
5983
5983
  color: #409eff;
5984
- }.fec-table-filter[data-v-43e04541] {
5984
+ }.fec-table-filter[data-v-cb568913] {
5985
5985
  display: flex;
5986
5986
  background-color: #fff;
5987
5987
  align-items: flex-start;
@@ -5989,7 +5989,7 @@ body,
5989
5989
  border-bottom: 1px solid #f0f5fb;
5990
5990
  padding-top: 16px;
5991
5991
  }
5992
- .fec-table-filter .filter-fields[data-v-43e04541] {
5992
+ .fec-table-filter .filter-fields[data-v-cb568913] {
5993
5993
  flex: 1;
5994
5994
  display: grid;
5995
5995
  grid-template-columns: repeat(var(--column-count, 3), 1fr);
@@ -5997,18 +5997,18 @@ body,
5997
5997
  transition: all 0.4s ease;
5998
5998
  overflow: hidden;
5999
5999
  }
6000
- .fec-table-filter .filter-fields.is-collapsed[data-v-43e04541] {
6001
- max-height: var(--cb1e77a2);
6000
+ .fec-table-filter .filter-fields.is-collapsed[data-v-cb568913] {
6001
+ max-height: var(--def020d8);
6002
6002
  }
6003
- .fec-table-filter .filter-field[data-v-43e04541] {
6003
+ .fec-table-filter .filter-field[data-v-cb568913] {
6004
6004
  transition: all 0.3s ease;
6005
6005
  }
6006
- .fec-table-filter .filter-field[data-v-43e04541] .el-form-item {
6006
+ .fec-table-filter .filter-field[data-v-cb568913] .el-form-item {
6007
6007
  display: flex;
6008
6008
  flex-direction: row;
6009
6009
  align-items: center;
6010
6010
  }
6011
- .fec-table-filter .filter-field[data-v-43e04541] .el-form-item .el-form-item__label {
6011
+ .fec-table-filter .filter-field[data-v-cb568913] .el-form-item .el-form-item__label {
6012
6012
  font-size: 14px;
6013
6013
  color: #606266;
6014
6014
  font-weight: 500;
@@ -6020,16 +6020,16 @@ body,
6020
6020
  text-align: right;
6021
6021
  width: 35% !important;
6022
6022
  }
6023
- .fec-table-filter .filter-field[data-v-43e04541] .el-form-item .el-form-item__content {
6023
+ .fec-table-filter .filter-field[data-v-cb568913] .el-form-item .el-form-item__content {
6024
6024
  flex: 1;
6025
6025
  margin-left: 0 !important;
6026
6026
  }
6027
- .fec-table-filter .filter-field[data-v-43e04541] .text-field-wrapper,
6028
- .fec-table-filter .filter-field[data-v-43e04541] .el-select,
6029
- .fec-table-filter .filter-field[data-v-43e04541] .el-date-editor {
6027
+ .fec-table-filter .filter-field[data-v-cb568913] .text-field-wrapper,
6028
+ .fec-table-filter .filter-field[data-v-cb568913] .el-select,
6029
+ .fec-table-filter .filter-field[data-v-cb568913] .el-date-editor {
6030
6030
  width: 100%;
6031
6031
  }
6032
- .fec-table-filter .filter-actions[data-v-43e04541] {
6032
+ .fec-table-filter .filter-actions[data-v-cb568913] {
6033
6033
  flex-shrink: 0;
6034
6034
  /* border-left: 1px solid #eaebef; */
6035
6035
  display: flex;
@@ -6039,34 +6039,34 @@ body,
6039
6039
  gap: 10px;
6040
6040
  height: 100%;
6041
6041
  }
6042
- .fec-table-filter .filter-actions[data-v-43e04541] .el-button {
6042
+ .fec-table-filter .filter-actions[data-v-cb568913] .el-button {
6043
6043
  margin: 0;
6044
6044
  }
6045
- .fec-table-filter .filter-actions.inline[data-v-43e04541] {
6045
+ .fec-table-filter .filter-actions.inline[data-v-cb568913] {
6046
6046
  flex-direction: row;
6047
6047
  gap: 8px;
6048
6048
  height: auto;
6049
6049
  align-items: center;
6050
6050
  }
6051
- .filter-fields[data-v-43e04541] {
6051
+ .filter-fields[data-v-cb568913] {
6052
6052
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
6053
6053
  }
6054
- .filter-field[data-v-43e04541] {
6054
+ .filter-field[data-v-cb568913] {
6055
6055
  transition: opacity 0.3s ease, transform 0.3s ease;
6056
6056
  }
6057
- .filter-divider[data-v-43e04541] {
6057
+ .filter-divider[data-v-cb568913] {
6058
6058
  margin: 8px 0;
6059
6059
  z-index: 1;
6060
6060
  transition: all 0.3s ease;
6061
6061
  }
6062
- .filter-divider .collapse-toggle[data-v-43e04541] {
6062
+ .filter-divider .collapse-toggle[data-v-cb568913] {
6063
6063
  display: flex;
6064
6064
  align-items: center;
6065
6065
  gap: 2px;
6066
6066
  color: #409eff;
6067
6067
  cursor: pointer;
6068
6068
  }
6069
- .filter-divider[data-v-43e04541] .el-divider__text {
6069
+ .filter-divider[data-v-cb568913] .el-divider__text {
6070
6070
  font-size: 13px;
6071
6071
  color: #606266;
6072
6072
  transition: all 0.3s ease;
@@ -6076,14 +6076,14 @@ body,
6076
6076
  background-color: #fff;
6077
6077
  padding: 0 10px;
6078
6078
  }
6079
- .filter-divider[data-v-43e04541] .el-icon {
6079
+ .filter-divider[data-v-cb568913] .el-icon {
6080
6080
  transition: transform 0.3s ease;
6081
- }.dynamic-mode-config .dynamic-row[data-v-1c63cadf] {
6081
+ }.dynamic-mode-config .dynamic-row[data-v-d47dd1f6] {
6082
6082
  display: flex;
6083
6083
  height: 54px;
6084
6084
  align-items: center;
6085
6085
  }
6086
- .dynamic-mode-config .back-icon[data-v-1c63cadf] {
6086
+ .dynamic-mode-config .back-icon[data-v-d47dd1f6] {
6087
6087
  display: flex;
6088
6088
  align-items: center;
6089
6089
  justify-content: center;
@@ -6096,11 +6096,11 @@ body,
6096
6096
  margin-left: 4px;
6097
6097
  margin-right: -6px;
6098
6098
  }
6099
- .dynamic-mode-config .back-icon .el-icon[data-v-1c63cadf] {
6099
+ .dynamic-mode-config .back-icon .el-icon[data-v-d47dd1f6] {
6100
6100
  font-size: 16px;
6101
6101
  font-weight: bold;
6102
6102
  }
6103
- .dynamic-mode-config .template-name[data-v-1c63cadf] {
6103
+ .dynamic-mode-config .template-name[data-v-d47dd1f6] {
6104
6104
  font-size: 16px;
6105
6105
  font-weight: 600;
6106
6106
  color: #303133;
@@ -6113,7 +6113,7 @@ body,
6113
6113
  display: flex;
6114
6114
  align-items: center;
6115
6115
  }
6116
- .dynamic-mode-config .template-name-line[data-v-1c63cadf] {
6116
+ .dynamic-mode-config .template-name-line[data-v-d47dd1f6] {
6117
6117
  height: 16px;
6118
6118
  width: 4px;
6119
6119
  background-color: var(--el-color-primary);
@@ -6122,42 +6122,42 @@ body,
6122
6122
  margin-right: 12px;
6123
6123
  margin-top: 2px;
6124
6124
  }
6125
- .dynamic-mode-config .tab-display-section[data-v-1c63cadf] {
6125
+ .dynamic-mode-config .tab-display-section[data-v-d47dd1f6] {
6126
6126
  flex: 1;
6127
6127
  min-width: 0;
6128
6128
  }
6129
- .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__header {
6129
+ .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-d47dd1f6] .el-tabs__header {
6130
6130
  margin: 0;
6131
6131
  }
6132
- .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__nav-wrap::after {
6132
+ .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-d47dd1f6] .el-tabs__nav-wrap::after {
6133
6133
  height: 0;
6134
6134
  }
6135
- .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__item {
6135
+ .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-d47dd1f6] .el-tabs__item {
6136
6136
  padding: 0 12px;
6137
6137
  }
6138
- .dynamic-mode-config .search-display-section[data-v-1c63cadf] {
6138
+ .dynamic-mode-config .search-display-section[data-v-d47dd1f6] {
6139
6139
  flex-shrink: 0;
6140
6140
  display: flex;
6141
6141
  align-items: center;
6142
6142
  gap: 12px;
6143
6143
  margin-left: auto;
6144
6144
  }
6145
- .dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-1c63cadf] {
6145
+ .dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-d47dd1f6] {
6146
6146
  /* width: 300px; */
6147
6147
  }
6148
- .dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-1c63cadf]:hover {
6148
+ .dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-d47dd1f6]:hover {
6149
6149
  color: var(--el-color-primary);
6150
6150
  cursor: pointer;
6151
6151
  }
6152
- .dynamic-mode-config .search-display-section .optBtnDraggable[data-v-1c63cadf] {
6152
+ .dynamic-mode-config .search-display-section .optBtnDraggable[data-v-d47dd1f6] {
6153
6153
  display: flex;
6154
6154
  align-items: center;
6155
6155
  gap: 8px;
6156
6156
  }
6157
- .dynamic-mode-config .search-display-section .optBtn[data-v-1c63cadf] {
6157
+ .dynamic-mode-config .search-display-section .optBtn[data-v-d47dd1f6] {
6158
6158
  position: relative;
6159
6159
  }
6160
- .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf] {
6160
+ .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-d47dd1f6] {
6161
6161
  position: absolute;
6162
6162
  top: -10px;
6163
6163
  right: -10px;
@@ -6174,31 +6174,31 @@ body,
6174
6174
  font-size: 12px;
6175
6175
  z-index: 1;
6176
6176
  }
6177
- .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf]:hover {
6177
+ .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-d47dd1f6]:hover {
6178
6178
  background-color: #f56c6c;
6179
6179
  }
6180
- .dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-1c63cadf] {
6180
+ .dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-d47dd1f6] {
6181
6181
  display: flex;
6182
6182
  }
6183
- .dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-1c63cadf] {
6183
+ .dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-d47dd1f6] {
6184
6184
  pointer-events: none;
6185
6185
  }
6186
- .dynamic-mode-config .search-display-section .addLink .el-icon[data-v-1c63cadf] {
6186
+ .dynamic-mode-config .search-display-section .addLink .el-icon[data-v-d47dd1f6] {
6187
6187
  margin-right: 4px;
6188
6188
  }
6189
- .dynamic-mode-config .expand-filter-section[data-v-1c63cadf] {
6189
+ .dynamic-mode-config .expand-filter-section[data-v-d47dd1f6] {
6190
6190
  padding-top: 4px;
6191
6191
  border-top: 1px solid #ebeef5;
6192
6192
  margin-top: 4px;
6193
6193
  }
6194
- .dynamic-mode-config .expand-filter-section .filter-form-section[data-v-1c63cadf] {
6194
+ .dynamic-mode-config .expand-filter-section .filter-form-section[data-v-d47dd1f6] {
6195
6195
  width: 100%;
6196
6196
  }
6197
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-1c63cadf] {
6197
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-d47dd1f6] {
6198
6198
  display: flex;
6199
6199
  flex-wrap: wrap;
6200
6200
  }
6201
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item {
6201
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item {
6202
6202
  padding: 2px;
6203
6203
  border: 2px solid transparent;
6204
6204
  border-radius: 2px;
@@ -6207,20 +6207,20 @@ body,
6207
6207
  cursor: move;
6208
6208
  margin-bottom: 4px;
6209
6209
  }
6210
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__label-wrap {
6210
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .el-form-item__label-wrap {
6211
6211
  margin: 0 0 0 8px !important;
6212
6212
  }
6213
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__content {
6213
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .el-form-item__content {
6214
6214
  min-width: 150px;
6215
6215
  }
6216
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .form-item-label {
6216
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .form-item-label {
6217
6217
  display: flex;
6218
6218
  align-items: center;
6219
6219
  }
6220
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-input {
6220
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .el-input {
6221
6221
  width: 150px;
6222
6222
  }
6223
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon {
6223
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .delete-icon {
6224
6224
  position: absolute;
6225
6225
  top: -10px;
6226
6226
  right: -10px;
@@ -6237,19 +6237,19 @@ body,
6237
6237
  font-size: 12px;
6238
6238
  z-index: 1;
6239
6239
  }
6240
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon:hover {
6240
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .delete-icon:hover {
6241
6241
  background-color: #f56c6c;
6242
6242
  }
6243
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover {
6243
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item.is-hover {
6244
6244
  border: 2px dashed #7b99cb !important;
6245
6245
  }
6246
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover .delete-icon {
6246
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item.is-hover .delete-icon {
6247
6247
  display: flex;
6248
6248
  }
6249
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-select {
6249
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item.is-select {
6250
6250
  border: 2px dashed #efa53a !important;
6251
6251
  }
6252
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item__label {
6252
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item__label {
6253
6253
  font-size: 13px;
6254
6254
  color: #606266;
6255
6255
  pointer-events: none;
@@ -6258,11 +6258,11 @@ body,
6258
6258
  display: flex;
6259
6259
  align-items: center;
6260
6260
  }
6261
- [data-v-1c63cadf] .el-checkbox-group {
6261
+ [data-v-d47dd1f6] .el-checkbox-group {
6262
6262
  display: flex;
6263
6263
  gap: 12px;
6264
6264
  }
6265
- [data-v-1c63cadf] .el-checkbox-group .el-checkbox-button__inner {
6265
+ [data-v-d47dd1f6] .el-checkbox-group .el-checkbox-button__inner {
6266
6266
  border-radius: 4px;
6267
6267
  }.fec-table[data-v-6145f01c] {
6268
6268
  height: 100%;
@@ -168,7 +168,7 @@ const _sfc_main = {
168
168
  const route = (_a = ctx.$route) == null ? void 0 : _a.path;
169
169
  if (route) {
170
170
  const routeParams = JSON.parse(sessionStorage.getItem(route));
171
- const filters = JSON.parse(routeParams == null ? void 0 : routeParams.filters);
171
+ const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || {});
172
172
  searchInputValue.value = (filters == null ? void 0 : filters.dynamicFilter) || "";
173
173
  filterValues.value = reverseHandleSearchData(filters);
174
174
  }
@@ -479,7 +479,7 @@ const _sfc_main = {
479
479
  };
480
480
  }
481
481
  };
482
- const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1c63cadf"]]);
482
+ const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d47dd1f6"]]);
483
483
  export {
484
484
  DynamicQuery as default
485
485
  };
@@ -17,7 +17,8 @@ import { Select } from "../forms/select/index.mjs";
17
17
  import { MultipleSelection } from "../forms/multipleSelection/index.mjs";
18
18
  import { Date } from "../forms/date/index.mjs";
19
19
  import { Number } from "../forms/number/index.mjs";
20
- import { handleSearchData } from "../../utils/common.mjs";
20
+ import { reverseHandleSearchData, handleSearchData } from "../../utils/common.mjs";
21
+ import { getCurrentVueInstance } from "../../utils/getInstance.mjs";
21
22
  /* empty css */
22
23
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
23
24
  import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
@@ -45,15 +46,16 @@ const _sfc_main = {
45
46
  },
46
47
  emits: ["search", "reset"],
47
48
  setup(__props, { expose: __expose, emit: __emit }) {
49
+ var _a;
48
50
  useCssVars((_ctx) => ({
49
- "cb1e77a2": `${config.value.collapseRows * 90}px`
51
+ "def020d8": `${config.value.collapseRows * 90}px`
50
52
  }));
51
53
  const props = __props;
52
54
  const emit = __emit;
53
55
  const config = computed(() => {
54
- var _a, _b, _c, _d, _e;
56
+ var _a2, _b, _c, _d, _e;
55
57
  return {
56
- enabled: ((_a = props.queryConfig) == null ? void 0 : _a.enabled) ?? false,
58
+ enabled: ((_a2 = props.queryConfig) == null ? void 0 : _a2.enabled) ?? false,
57
59
  mode: ((_b = props.queryConfig) == null ? void 0 : _b.mode) || "fixed",
58
60
  columnCount: ((_c = props.queryConfig) == null ? void 0 : _c.columnCount) || 3,
59
61
  collapseRows: ((_d = props.queryConfig) == null ? void 0 : _d.collapseRows) || 2,
@@ -73,6 +75,13 @@ const _sfc_main = {
73
75
  });
74
76
  });
75
77
  const filterValues = ref({});
78
+ const ctx = getCurrentVueInstance();
79
+ const route = (_a = ctx.$route) == null ? void 0 : _a.path;
80
+ if (route) {
81
+ const routeParams = JSON.parse(sessionStorage.getItem(route));
82
+ const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || {});
83
+ filterValues.value = reverseHandleSearchData(filters);
84
+ }
76
85
  const isCollapsed = ref(true);
77
86
  const shouldShowToggle = computed(() => {
78
87
  const fieldCount = completeFilterFields.value.length;
@@ -282,7 +291,7 @@ const _sfc_main = {
282
291
  };
283
292
  }
284
293
  };
285
- const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-43e04541"]]);
294
+ const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cb568913"]]);
286
295
  export {
287
296
  TableFilter as default
288
297
  };
@@ -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.92";
3
+ const version = "5.4.93";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -5981,7 +5981,7 @@ body,
5981
5981
  }
5982
5982
  .cell-content .copy-icon[data-v-5138d230]:hover {
5983
5983
  color: #409eff;
5984
- }.fec-table-filter[data-v-43e04541] {
5984
+ }.fec-table-filter[data-v-cb568913] {
5985
5985
  display: flex;
5986
5986
  background-color: #fff;
5987
5987
  align-items: flex-start;
@@ -5989,7 +5989,7 @@ body,
5989
5989
  border-bottom: 1px solid #f0f5fb;
5990
5990
  padding-top: 16px;
5991
5991
  }
5992
- .fec-table-filter .filter-fields[data-v-43e04541] {
5992
+ .fec-table-filter .filter-fields[data-v-cb568913] {
5993
5993
  flex: 1;
5994
5994
  display: grid;
5995
5995
  grid-template-columns: repeat(var(--column-count, 3), 1fr);
@@ -5997,18 +5997,18 @@ body,
5997
5997
  transition: all 0.4s ease;
5998
5998
  overflow: hidden;
5999
5999
  }
6000
- .fec-table-filter .filter-fields.is-collapsed[data-v-43e04541] {
6001
- max-height: var(--cb1e77a2);
6000
+ .fec-table-filter .filter-fields.is-collapsed[data-v-cb568913] {
6001
+ max-height: var(--def020d8);
6002
6002
  }
6003
- .fec-table-filter .filter-field[data-v-43e04541] {
6003
+ .fec-table-filter .filter-field[data-v-cb568913] {
6004
6004
  transition: all 0.3s ease;
6005
6005
  }
6006
- .fec-table-filter .filter-field[data-v-43e04541] .el-form-item {
6006
+ .fec-table-filter .filter-field[data-v-cb568913] .el-form-item {
6007
6007
  display: flex;
6008
6008
  flex-direction: row;
6009
6009
  align-items: center;
6010
6010
  }
6011
- .fec-table-filter .filter-field[data-v-43e04541] .el-form-item .el-form-item__label {
6011
+ .fec-table-filter .filter-field[data-v-cb568913] .el-form-item .el-form-item__label {
6012
6012
  font-size: 14px;
6013
6013
  color: #606266;
6014
6014
  font-weight: 500;
@@ -6020,16 +6020,16 @@ body,
6020
6020
  text-align: right;
6021
6021
  width: 35% !important;
6022
6022
  }
6023
- .fec-table-filter .filter-field[data-v-43e04541] .el-form-item .el-form-item__content {
6023
+ .fec-table-filter .filter-field[data-v-cb568913] .el-form-item .el-form-item__content {
6024
6024
  flex: 1;
6025
6025
  margin-left: 0 !important;
6026
6026
  }
6027
- .fec-table-filter .filter-field[data-v-43e04541] .text-field-wrapper,
6028
- .fec-table-filter .filter-field[data-v-43e04541] .el-select,
6029
- .fec-table-filter .filter-field[data-v-43e04541] .el-date-editor {
6027
+ .fec-table-filter .filter-field[data-v-cb568913] .text-field-wrapper,
6028
+ .fec-table-filter .filter-field[data-v-cb568913] .el-select,
6029
+ .fec-table-filter .filter-field[data-v-cb568913] .el-date-editor {
6030
6030
  width: 100%;
6031
6031
  }
6032
- .fec-table-filter .filter-actions[data-v-43e04541] {
6032
+ .fec-table-filter .filter-actions[data-v-cb568913] {
6033
6033
  flex-shrink: 0;
6034
6034
  /* border-left: 1px solid #eaebef; */
6035
6035
  display: flex;
@@ -6039,34 +6039,34 @@ body,
6039
6039
  gap: 10px;
6040
6040
  height: 100%;
6041
6041
  }
6042
- .fec-table-filter .filter-actions[data-v-43e04541] .el-button {
6042
+ .fec-table-filter .filter-actions[data-v-cb568913] .el-button {
6043
6043
  margin: 0;
6044
6044
  }
6045
- .fec-table-filter .filter-actions.inline[data-v-43e04541] {
6045
+ .fec-table-filter .filter-actions.inline[data-v-cb568913] {
6046
6046
  flex-direction: row;
6047
6047
  gap: 8px;
6048
6048
  height: auto;
6049
6049
  align-items: center;
6050
6050
  }
6051
- .filter-fields[data-v-43e04541] {
6051
+ .filter-fields[data-v-cb568913] {
6052
6052
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
6053
6053
  }
6054
- .filter-field[data-v-43e04541] {
6054
+ .filter-field[data-v-cb568913] {
6055
6055
  transition: opacity 0.3s ease, transform 0.3s ease;
6056
6056
  }
6057
- .filter-divider[data-v-43e04541] {
6057
+ .filter-divider[data-v-cb568913] {
6058
6058
  margin: 8px 0;
6059
6059
  z-index: 1;
6060
6060
  transition: all 0.3s ease;
6061
6061
  }
6062
- .filter-divider .collapse-toggle[data-v-43e04541] {
6062
+ .filter-divider .collapse-toggle[data-v-cb568913] {
6063
6063
  display: flex;
6064
6064
  align-items: center;
6065
6065
  gap: 2px;
6066
6066
  color: #409eff;
6067
6067
  cursor: pointer;
6068
6068
  }
6069
- .filter-divider[data-v-43e04541] .el-divider__text {
6069
+ .filter-divider[data-v-cb568913] .el-divider__text {
6070
6070
  font-size: 13px;
6071
6071
  color: #606266;
6072
6072
  transition: all 0.3s ease;
@@ -6076,14 +6076,14 @@ body,
6076
6076
  background-color: #fff;
6077
6077
  padding: 0 10px;
6078
6078
  }
6079
- .filter-divider[data-v-43e04541] .el-icon {
6079
+ .filter-divider[data-v-cb568913] .el-icon {
6080
6080
  transition: transform 0.3s ease;
6081
- }.dynamic-mode-config .dynamic-row[data-v-1c63cadf] {
6081
+ }.dynamic-mode-config .dynamic-row[data-v-d47dd1f6] {
6082
6082
  display: flex;
6083
6083
  height: 54px;
6084
6084
  align-items: center;
6085
6085
  }
6086
- .dynamic-mode-config .back-icon[data-v-1c63cadf] {
6086
+ .dynamic-mode-config .back-icon[data-v-d47dd1f6] {
6087
6087
  display: flex;
6088
6088
  align-items: center;
6089
6089
  justify-content: center;
@@ -6096,11 +6096,11 @@ body,
6096
6096
  margin-left: 4px;
6097
6097
  margin-right: -6px;
6098
6098
  }
6099
- .dynamic-mode-config .back-icon .el-icon[data-v-1c63cadf] {
6099
+ .dynamic-mode-config .back-icon .el-icon[data-v-d47dd1f6] {
6100
6100
  font-size: 16px;
6101
6101
  font-weight: bold;
6102
6102
  }
6103
- .dynamic-mode-config .template-name[data-v-1c63cadf] {
6103
+ .dynamic-mode-config .template-name[data-v-d47dd1f6] {
6104
6104
  font-size: 16px;
6105
6105
  font-weight: 600;
6106
6106
  color: #303133;
@@ -6113,7 +6113,7 @@ body,
6113
6113
  display: flex;
6114
6114
  align-items: center;
6115
6115
  }
6116
- .dynamic-mode-config .template-name-line[data-v-1c63cadf] {
6116
+ .dynamic-mode-config .template-name-line[data-v-d47dd1f6] {
6117
6117
  height: 16px;
6118
6118
  width: 4px;
6119
6119
  background-color: var(--el-color-primary);
@@ -6122,42 +6122,42 @@ body,
6122
6122
  margin-right: 12px;
6123
6123
  margin-top: 2px;
6124
6124
  }
6125
- .dynamic-mode-config .tab-display-section[data-v-1c63cadf] {
6125
+ .dynamic-mode-config .tab-display-section[data-v-d47dd1f6] {
6126
6126
  flex: 1;
6127
6127
  min-width: 0;
6128
6128
  }
6129
- .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__header {
6129
+ .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-d47dd1f6] .el-tabs__header {
6130
6130
  margin: 0;
6131
6131
  }
6132
- .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__nav-wrap::after {
6132
+ .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-d47dd1f6] .el-tabs__nav-wrap::after {
6133
6133
  height: 0;
6134
6134
  }
6135
- .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-1c63cadf] .el-tabs__item {
6135
+ .dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-d47dd1f6] .el-tabs__item {
6136
6136
  padding: 0 12px;
6137
6137
  }
6138
- .dynamic-mode-config .search-display-section[data-v-1c63cadf] {
6138
+ .dynamic-mode-config .search-display-section[data-v-d47dd1f6] {
6139
6139
  flex-shrink: 0;
6140
6140
  display: flex;
6141
6141
  align-items: center;
6142
6142
  gap: 12px;
6143
6143
  margin-left: auto;
6144
6144
  }
6145
- .dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-1c63cadf] {
6145
+ .dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-d47dd1f6] {
6146
6146
  /* width: 300px; */
6147
6147
  }
6148
- .dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-1c63cadf]:hover {
6148
+ .dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-d47dd1f6]:hover {
6149
6149
  color: var(--el-color-primary);
6150
6150
  cursor: pointer;
6151
6151
  }
6152
- .dynamic-mode-config .search-display-section .optBtnDraggable[data-v-1c63cadf] {
6152
+ .dynamic-mode-config .search-display-section .optBtnDraggable[data-v-d47dd1f6] {
6153
6153
  display: flex;
6154
6154
  align-items: center;
6155
6155
  gap: 8px;
6156
6156
  }
6157
- .dynamic-mode-config .search-display-section .optBtn[data-v-1c63cadf] {
6157
+ .dynamic-mode-config .search-display-section .optBtn[data-v-d47dd1f6] {
6158
6158
  position: relative;
6159
6159
  }
6160
- .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf] {
6160
+ .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-d47dd1f6] {
6161
6161
  position: absolute;
6162
6162
  top: -10px;
6163
6163
  right: -10px;
@@ -6174,31 +6174,31 @@ body,
6174
6174
  font-size: 12px;
6175
6175
  z-index: 1;
6176
6176
  }
6177
- .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-1c63cadf]:hover {
6177
+ .dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-d47dd1f6]:hover {
6178
6178
  background-color: #f56c6c;
6179
6179
  }
6180
- .dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-1c63cadf] {
6180
+ .dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-d47dd1f6] {
6181
6181
  display: flex;
6182
6182
  }
6183
- .dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-1c63cadf] {
6183
+ .dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-d47dd1f6] {
6184
6184
  pointer-events: none;
6185
6185
  }
6186
- .dynamic-mode-config .search-display-section .addLink .el-icon[data-v-1c63cadf] {
6186
+ .dynamic-mode-config .search-display-section .addLink .el-icon[data-v-d47dd1f6] {
6187
6187
  margin-right: 4px;
6188
6188
  }
6189
- .dynamic-mode-config .expand-filter-section[data-v-1c63cadf] {
6189
+ .dynamic-mode-config .expand-filter-section[data-v-d47dd1f6] {
6190
6190
  padding-top: 4px;
6191
6191
  border-top: 1px solid #ebeef5;
6192
6192
  margin-top: 4px;
6193
6193
  }
6194
- .dynamic-mode-config .expand-filter-section .filter-form-section[data-v-1c63cadf] {
6194
+ .dynamic-mode-config .expand-filter-section .filter-form-section[data-v-d47dd1f6] {
6195
6195
  width: 100%;
6196
6196
  }
6197
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-1c63cadf] {
6197
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-d47dd1f6] {
6198
6198
  display: flex;
6199
6199
  flex-wrap: wrap;
6200
6200
  }
6201
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item {
6201
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item {
6202
6202
  padding: 2px;
6203
6203
  border: 2px solid transparent;
6204
6204
  border-radius: 2px;
@@ -6207,20 +6207,20 @@ body,
6207
6207
  cursor: move;
6208
6208
  margin-bottom: 4px;
6209
6209
  }
6210
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__label-wrap {
6210
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .el-form-item__label-wrap {
6211
6211
  margin: 0 0 0 8px !important;
6212
6212
  }
6213
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-form-item__content {
6213
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .el-form-item__content {
6214
6214
  min-width: 150px;
6215
6215
  }
6216
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .form-item-label {
6216
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .form-item-label {
6217
6217
  display: flex;
6218
6218
  align-items: center;
6219
6219
  }
6220
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .el-input {
6220
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .el-input {
6221
6221
  width: 150px;
6222
6222
  }
6223
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon {
6223
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .delete-icon {
6224
6224
  position: absolute;
6225
6225
  top: -10px;
6226
6226
  right: -10px;
@@ -6237,19 +6237,19 @@ body,
6237
6237
  font-size: 12px;
6238
6238
  z-index: 1;
6239
6239
  }
6240
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item .delete-icon:hover {
6240
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item .delete-icon:hover {
6241
6241
  background-color: #f56c6c;
6242
6242
  }
6243
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover {
6243
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item.is-hover {
6244
6244
  border: 2px dashed #7b99cb !important;
6245
6245
  }
6246
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-hover .delete-icon {
6246
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item.is-hover .delete-icon {
6247
6247
  display: flex;
6248
6248
  }
6249
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item.is-select {
6249
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item.is-select {
6250
6250
  border: 2px dashed #efa53a !important;
6251
6251
  }
6252
- .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-1c63cadf] .el-form-item__label {
6252
+ .dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-d47dd1f6] .el-form-item__label {
6253
6253
  font-size: 13px;
6254
6254
  color: #606266;
6255
6255
  pointer-events: none;
@@ -6258,11 +6258,11 @@ body,
6258
6258
  display: flex;
6259
6259
  align-items: center;
6260
6260
  }
6261
- [data-v-1c63cadf] .el-checkbox-group {
6261
+ [data-v-d47dd1f6] .el-checkbox-group {
6262
6262
  display: flex;
6263
6263
  gap: 12px;
6264
6264
  }
6265
- [data-v-1c63cadf] .el-checkbox-group .el-checkbox-button__inner {
6265
+ [data-v-d47dd1f6] .el-checkbox-group .el-checkbox-button__inner {
6266
6266
  border-radius: 4px;
6267
6267
  }.fec-table[data-v-6145f01c] {
6268
6268
  height: 100%;
@@ -170,7 +170,7 @@ const _sfc_main = {
170
170
  const route = (_a = ctx.$route) == null ? void 0 : _a.path;
171
171
  if (route) {
172
172
  const routeParams = JSON.parse(sessionStorage.getItem(route));
173
- const filters = JSON.parse(routeParams == null ? void 0 : routeParams.filters);
173
+ const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || {});
174
174
  searchInputValue.value = (filters == null ? void 0 : filters.dynamicFilter) || "";
175
175
  filterValues.value = common.reverseHandleSearchData(filters);
176
176
  }
@@ -481,5 +481,5 @@ const _sfc_main = {
481
481
  };
482
482
  }
483
483
  };
484
- const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1c63cadf"]]);
484
+ const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-d47dd1f6"]]);
485
485
  exports.default = DynamicQuery;
@@ -20,6 +20,7 @@ const index$8 = require("../forms/multipleSelection/index.js");
20
20
  const index$a = require("../forms/date/index.js");
21
21
  const index$9 = require("../forms/number/index.js");
22
22
  const common = require("../../utils/common.js");
23
+ const getInstance = require("../../utils/getInstance.js");
23
24
  ;/* empty css */
24
25
  const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
25
26
  const index = require("../../../../../node_modules/element-plus/es/components/form/index.js");
@@ -47,15 +48,16 @@ const _sfc_main = {
47
48
  },
48
49
  emits: ["search", "reset"],
49
50
  setup(__props, { expose: __expose, emit: __emit }) {
51
+ var _a;
50
52
  vue.useCssVars((_ctx) => ({
51
- "cb1e77a2": `${config.value.collapseRows * 90}px`
53
+ "def020d8": `${config.value.collapseRows * 90}px`
52
54
  }));
53
55
  const props = __props;
54
56
  const emit = __emit;
55
57
  const config = vue.computed(() => {
56
- var _a, _b, _c, _d, _e;
58
+ var _a2, _b, _c, _d, _e;
57
59
  return {
58
- enabled: ((_a = props.queryConfig) == null ? void 0 : _a.enabled) ?? false,
60
+ enabled: ((_a2 = props.queryConfig) == null ? void 0 : _a2.enabled) ?? false,
59
61
  mode: ((_b = props.queryConfig) == null ? void 0 : _b.mode) || "fixed",
60
62
  columnCount: ((_c = props.queryConfig) == null ? void 0 : _c.columnCount) || 3,
61
63
  collapseRows: ((_d = props.queryConfig) == null ? void 0 : _d.collapseRows) || 2,
@@ -75,6 +77,13 @@ const _sfc_main = {
75
77
  });
76
78
  });
77
79
  const filterValues = vue.ref({});
80
+ const ctx = getInstance.getCurrentVueInstance();
81
+ const route = (_a = ctx.$route) == null ? void 0 : _a.path;
82
+ if (route) {
83
+ const routeParams = JSON.parse(sessionStorage.getItem(route));
84
+ const filters = JSON.parse((routeParams == null ? void 0 : routeParams.filters) || {});
85
+ filterValues.value = common.reverseHandleSearchData(filters);
86
+ }
78
87
  const isCollapsed = vue.ref(true);
79
88
  const shouldShowToggle = vue.computed(() => {
80
89
  const fieldCount = completeFilterFields.value.length;
@@ -284,5 +293,5 @@ const _sfc_main = {
284
293
  };
285
294
  }
286
295
  };
287
- const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-43e04541"]]);
296
+ const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-cb568913"]]);
288
297
  exports.default = TableFilter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.92",
3
+ "version": "5.4.93",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [