@fecp/designer 5.2.7 → 5.2.8

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
@@ -5048,12 +5048,12 @@ body,
5048
5048
  font-size: 13px;
5049
5049
  color: #606266;
5050
5050
  margin-left: 8px;
5051
- }.custom-buttons[data-v-afddc440] {
5051
+ }.custom-buttons[data-v-827a5895] {
5052
5052
  display: flex;
5053
5053
  align-items: center;
5054
5054
  margin: 0 0 8px 0;
5055
5055
  }
5056
- .back-icon[data-v-afddc440] {
5056
+ .back-icon[data-v-827a5895] {
5057
5057
  display: flex;
5058
5058
  align-items: center;
5059
5059
  justify-content: center;
@@ -5066,14 +5066,14 @@ body,
5066
5066
  margin-left: 4px;
5067
5067
  margin-right: -6px;
5068
5068
  }
5069
- .back-icon .el-icon[data-v-afddc440] {
5069
+ .back-icon .el-icon[data-v-827a5895] {
5070
5070
  font-size: 16px;
5071
5071
  font-weight: bold;
5072
5072
  }
5073
- .back-icon[data-v-afddc440]:hover {
5073
+ .back-icon[data-v-827a5895]:hover {
5074
5074
  opacity: 0.7;
5075
5075
  }
5076
- .template-name[data-v-afddc440] {
5076
+ .template-name[data-v-827a5895] {
5077
5077
  font-size: 16px;
5078
5078
  font-weight: 600;
5079
5079
  color: #303133;
@@ -5501,24 +5501,24 @@ body,
5501
5501
  width: 80px;
5502
5502
  font-size: var(--el-font-size-extra-small);
5503
5503
  }
5504
- .fec-form[data-v-42af7e52] {
5504
+ .fec-form[data-v-016bcba6] {
5505
5505
  height: 100%;
5506
5506
  }
5507
- [data-v-42af7e52] .vgl-item > .el-form-item {
5507
+ [data-v-016bcba6] .vgl-item > .el-form-item {
5508
5508
  width: 100%;
5509
5509
  padding: 12px 8px 0 8px;
5510
5510
  height: calc(100% - 15px);
5511
5511
  display: flex;
5512
5512
  }
5513
- [data-v-42af7e52] .vgl-item > .el-form-item.el-form-item--label-top {
5513
+ [data-v-016bcba6] .vgl-item > .el-form-item.el-form-item--label-top {
5514
5514
  flex-direction: column;
5515
5515
  }
5516
- [data-v-42af7e52] .vgl-item > .el-form-item .el-form-item__label {
5516
+ [data-v-016bcba6] .vgl-item > .el-form-item .el-form-item__label {
5517
5517
  line-height: 20px;
5518
5518
  display: flex;
5519
5519
  align-items: center;
5520
5520
  }
5521
- [data-v-42af7e52] .vgl-item > .el-container {
5521
+ [data-v-016bcba6] .vgl-item > .el-container {
5522
5522
  height: auto !important;
5523
5523
  }.cell-content .cell-text[data-v-b57831f4] {
5524
5524
  display: inline-block;
@@ -5800,11 +5800,11 @@ body,
5800
5800
  }
5801
5801
  [data-v-66d8d7cb] .el-checkbox-group .el-checkbox-button__inner {
5802
5802
  border-radius: 4px;
5803
- }.fec-table[data-v-35de4740] {
5803
+ }.fec-table[data-v-86bf4794] {
5804
5804
  height: 100%;
5805
5805
  flex-grow: 1;
5806
5806
  }
5807
- .fec-table-container[data-v-35de4740] {
5807
+ .fec-table-container[data-v-86bf4794] {
5808
5808
  width: 100%;
5809
5809
  background: #fff;
5810
5810
  box-sizing: border-box;
@@ -5814,30 +5814,30 @@ body,
5814
5814
  overflow: hidden;
5815
5815
  flex-grow: 1;
5816
5816
  }
5817
- .fec-table-container .fec-vxe-table[data-v-35de4740] {
5817
+ .fec-table-container .fec-vxe-table[data-v-86bf4794] {
5818
5818
  flex: 1;
5819
5819
  min-height: 0;
5820
5820
  overflow: hidden;
5821
5821
  }
5822
- .fec-table-container[data-v-35de4740] .vxe-table {
5822
+ .fec-table-container[data-v-86bf4794] .vxe-table {
5823
5823
  font-size: 14px;
5824
5824
  }
5825
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-table--body-wrapper {
5825
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-table--body-wrapper {
5826
5826
  overflow: auto;
5827
5827
  }
5828
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-header--column {
5828
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-header--column {
5829
5829
  background-color: #f5f7fa;
5830
5830
  }
5831
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-header--column .vxe-cell {
5831
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-header--column .vxe-cell {
5832
5832
  height: 40px !important;
5833
5833
  min-height: 40px !important;
5834
5834
  }
5835
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-body--column .vxe-cell {
5835
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-body--column .vxe-cell {
5836
5836
  padding: 6px !important;
5837
5837
  min-height: 40px !important;
5838
5838
  }
5839
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-body--column .c--tooltip,
5840
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-body--column .c--title {
5839
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-body--column .c--tooltip,
5840
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-body--column .c--title {
5841
5841
  height: 40px !important;
5842
5842
  min-height: 40px !important;
5843
5843
  }: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)}
@@ -1,4 +1,4 @@
1
- const version = "5.1.3";
1
+ const version = "5.2.8";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -153,7 +153,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
153
153
  );
154
154
  if (onCreatedEvent) {
155
155
  console.log("🚀 页面 onCreated 事件触发");
156
- pageEvents.executeEvent("onCreated");
156
+ await pageEvents.executeEvent("onCreated");
157
157
  }
158
158
  }
159
159
  } catch (error) {
@@ -680,7 +680,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
680
680
  };
681
681
  }
682
682
  });
683
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-42af7e52"]]);
683
+ const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-016bcba6"]]);
684
684
  export {
685
685
  _Form as default
686
686
  };
@@ -53,13 +53,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
53
53
  }
54
54
  return [];
55
55
  });
56
- const initSearchData = computed(() => {
56
+ const fieldList = computed(() => {
57
+ return [
58
+ ...props.localConfig.fieldsData.map((item) => item.component),
59
+ ...props.localConfig.hiddenFields
60
+ ];
61
+ });
62
+ const initHiddenData = computed(() => {
57
63
  if (props.config.dataSourceFrom == "self") {
58
- const fields = props.localConfig.fieldsData.map((item) => item.component);
59
64
  const params = parseRouteParams(
60
65
  props.config.subTableParams,
61
66
  formData.value,
62
- fields
67
+ fieldList.value
63
68
  );
64
69
  return params;
65
70
  }
@@ -95,10 +100,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
95
100
  hasPagination: __props.config.isSubTablePagination,
96
101
  height: __props.config.subTableHeight,
97
102
  tableData: unref(subTableData),
98
- initSearchData: unref(initSearchData),
103
+ initHiddenData: unref(initHiddenData),
99
104
  canLoadBySearchData: __props.config.reloadOnParamsChange,
100
105
  readonly: __props.config.isSubTableReadOnly
101
- }, null, 8, ["templateKey", "mode", "hasPagination", "height", "tableData", "initSearchData", "canLoadBySearchData", "readonly"])
106
+ }, null, 8, ["templateKey", "mode", "hasPagination", "height", "tableData", "initHiddenData", "canLoadBySearchData", "readonly"])
102
107
  ], 64);
103
108
  };
104
109
  }
@@ -129,7 +129,7 @@ const _sfc_main = {
129
129
  };
130
130
  }
131
131
  };
132
- const CustomButtons = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-afddc440"]]);
132
+ const CustomButtons = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-827a5895"]]);
133
133
  export {
134
134
  CustomButtons as default
135
135
  };
@@ -631,7 +631,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
631
631
  };
632
632
  }
633
633
  });
634
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-35de4740"]]);
634
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-86bf4794"]]);
635
635
  export {
636
636
  _Table as default
637
637
  };
@@ -10,7 +10,8 @@ async function getJsonAsyncUtil($http, id, type, initOption) {
10
10
  templateKey: id,
11
11
  type,
12
12
  moduleType: busMode,
13
- timestamp: Date.now()
13
+ timestamp: Date.now(),
14
+ templateVersion: "v5"
14
15
  });
15
16
  if (data) {
16
17
  option = JSON.parse(data);
package/lib/designer.css CHANGED
@@ -5048,12 +5048,12 @@ body,
5048
5048
  font-size: 13px;
5049
5049
  color: #606266;
5050
5050
  margin-left: 8px;
5051
- }.custom-buttons[data-v-afddc440] {
5051
+ }.custom-buttons[data-v-827a5895] {
5052
5052
  display: flex;
5053
5053
  align-items: center;
5054
5054
  margin: 0 0 8px 0;
5055
5055
  }
5056
- .back-icon[data-v-afddc440] {
5056
+ .back-icon[data-v-827a5895] {
5057
5057
  display: flex;
5058
5058
  align-items: center;
5059
5059
  justify-content: center;
@@ -5066,14 +5066,14 @@ body,
5066
5066
  margin-left: 4px;
5067
5067
  margin-right: -6px;
5068
5068
  }
5069
- .back-icon .el-icon[data-v-afddc440] {
5069
+ .back-icon .el-icon[data-v-827a5895] {
5070
5070
  font-size: 16px;
5071
5071
  font-weight: bold;
5072
5072
  }
5073
- .back-icon[data-v-afddc440]:hover {
5073
+ .back-icon[data-v-827a5895]:hover {
5074
5074
  opacity: 0.7;
5075
5075
  }
5076
- .template-name[data-v-afddc440] {
5076
+ .template-name[data-v-827a5895] {
5077
5077
  font-size: 16px;
5078
5078
  font-weight: 600;
5079
5079
  color: #303133;
@@ -5501,24 +5501,24 @@ body,
5501
5501
  width: 80px;
5502
5502
  font-size: var(--el-font-size-extra-small);
5503
5503
  }
5504
- .fec-form[data-v-42af7e52] {
5504
+ .fec-form[data-v-016bcba6] {
5505
5505
  height: 100%;
5506
5506
  }
5507
- [data-v-42af7e52] .vgl-item > .el-form-item {
5507
+ [data-v-016bcba6] .vgl-item > .el-form-item {
5508
5508
  width: 100%;
5509
5509
  padding: 12px 8px 0 8px;
5510
5510
  height: calc(100% - 15px);
5511
5511
  display: flex;
5512
5512
  }
5513
- [data-v-42af7e52] .vgl-item > .el-form-item.el-form-item--label-top {
5513
+ [data-v-016bcba6] .vgl-item > .el-form-item.el-form-item--label-top {
5514
5514
  flex-direction: column;
5515
5515
  }
5516
- [data-v-42af7e52] .vgl-item > .el-form-item .el-form-item__label {
5516
+ [data-v-016bcba6] .vgl-item > .el-form-item .el-form-item__label {
5517
5517
  line-height: 20px;
5518
5518
  display: flex;
5519
5519
  align-items: center;
5520
5520
  }
5521
- [data-v-42af7e52] .vgl-item > .el-container {
5521
+ [data-v-016bcba6] .vgl-item > .el-container {
5522
5522
  height: auto !important;
5523
5523
  }.cell-content .cell-text[data-v-b57831f4] {
5524
5524
  display: inline-block;
@@ -5800,11 +5800,11 @@ body,
5800
5800
  }
5801
5801
  [data-v-66d8d7cb] .el-checkbox-group .el-checkbox-button__inner {
5802
5802
  border-radius: 4px;
5803
- }.fec-table[data-v-35de4740] {
5803
+ }.fec-table[data-v-86bf4794] {
5804
5804
  height: 100%;
5805
5805
  flex-grow: 1;
5806
5806
  }
5807
- .fec-table-container[data-v-35de4740] {
5807
+ .fec-table-container[data-v-86bf4794] {
5808
5808
  width: 100%;
5809
5809
  background: #fff;
5810
5810
  box-sizing: border-box;
@@ -5814,30 +5814,30 @@ body,
5814
5814
  overflow: hidden;
5815
5815
  flex-grow: 1;
5816
5816
  }
5817
- .fec-table-container .fec-vxe-table[data-v-35de4740] {
5817
+ .fec-table-container .fec-vxe-table[data-v-86bf4794] {
5818
5818
  flex: 1;
5819
5819
  min-height: 0;
5820
5820
  overflow: hidden;
5821
5821
  }
5822
- .fec-table-container[data-v-35de4740] .vxe-table {
5822
+ .fec-table-container[data-v-86bf4794] .vxe-table {
5823
5823
  font-size: 14px;
5824
5824
  }
5825
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-table--body-wrapper {
5825
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-table--body-wrapper {
5826
5826
  overflow: auto;
5827
5827
  }
5828
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-header--column {
5828
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-header--column {
5829
5829
  background-color: #f5f7fa;
5830
5830
  }
5831
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-header--column .vxe-cell {
5831
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-header--column .vxe-cell {
5832
5832
  height: 40px !important;
5833
5833
  min-height: 40px !important;
5834
5834
  }
5835
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-body--column .vxe-cell {
5835
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-body--column .vxe-cell {
5836
5836
  padding: 6px !important;
5837
5837
  min-height: 40px !important;
5838
5838
  }
5839
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-body--column .c--tooltip,
5840
- .fec-table-container[data-v-35de4740] .vxe-table .vxe-body--column .c--title {
5839
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-body--column .c--tooltip,
5840
+ .fec-table-container[data-v-86bf4794] .vxe-table .vxe-body--column .c--title {
5841
5841
  height: 40px !important;
5842
5842
  min-height: 40px !important;
5843
5843
  }: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)}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.1.3";
3
+ const version = "5.2.8";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -155,7 +155,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
155
155
  );
156
156
  if (onCreatedEvent) {
157
157
  console.log("🚀 页面 onCreated 事件触发");
158
- pageEvents.executeEvent("onCreated");
158
+ await pageEvents.executeEvent("onCreated");
159
159
  }
160
160
  }
161
161
  } catch (error) {
@@ -682,5 +682,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
682
682
  };
683
683
  }
684
684
  });
685
- const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-42af7e52"]]);
685
+ const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-016bcba6"]]);
686
686
  exports.default = _Form;
@@ -55,13 +55,18 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
55
55
  }
56
56
  return [];
57
57
  });
58
- const initSearchData = vue.computed(() => {
58
+ const fieldList = vue.computed(() => {
59
+ return [
60
+ ...props.localConfig.fieldsData.map((item) => item.component),
61
+ ...props.localConfig.hiddenFields
62
+ ];
63
+ });
64
+ const initHiddenData = vue.computed(() => {
59
65
  if (props.config.dataSourceFrom == "self") {
60
- const fields = props.localConfig.fieldsData.map((item) => item.component);
61
66
  const params = parseRouteParams.parseRouteParams(
62
67
  props.config.subTableParams,
63
68
  formData.value,
64
- fields
69
+ fieldList.value
65
70
  );
66
71
  return params;
67
72
  }
@@ -97,10 +102,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
97
102
  hasPagination: __props.config.isSubTablePagination,
98
103
  height: __props.config.subTableHeight,
99
104
  tableData: vue.unref(subTableData),
100
- initSearchData: vue.unref(initSearchData),
105
+ initHiddenData: vue.unref(initHiddenData),
101
106
  canLoadBySearchData: __props.config.reloadOnParamsChange,
102
107
  readonly: __props.config.isSubTableReadOnly
103
- }, null, 8, ["templateKey", "mode", "hasPagination", "height", "tableData", "initSearchData", "canLoadBySearchData", "readonly"])
108
+ }, null, 8, ["templateKey", "mode", "hasPagination", "height", "tableData", "initHiddenData", "canLoadBySearchData", "readonly"])
104
109
  ], 64);
105
110
  };
106
111
  }
@@ -131,5 +131,5 @@ const _sfc_main = {
131
131
  };
132
132
  }
133
133
  };
134
- const CustomButtons = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-afddc440"]]);
134
+ const CustomButtons = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-827a5895"]]);
135
135
  exports.default = CustomButtons;
@@ -633,5 +633,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
633
633
  };
634
634
  }
635
635
  });
636
- const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-35de4740"]]);
636
+ const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-86bf4794"]]);
637
637
  exports.default = _Table;
@@ -12,7 +12,8 @@ async function getJsonAsyncUtil($http, id, type, initOption) {
12
12
  templateKey: id,
13
13
  type,
14
14
  moduleType: busMode,
15
- timestamp: Date.now()
15
+ timestamp: Date.now(),
16
+ templateVersion: "v5"
16
17
  });
17
18
  if (data) {
18
19
  option = JSON.parse(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.2.7",
3
+ "version": "5.2.8",
4
4
  "main": "lib/packages/designer/index.js",
5
5
  "module": "es/packages/designer/index.mjs",
6
6
  "files": [