@fecp/designer 5.6.4 → 5.6.6

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.6.4";
1
+ const version = "5.6.6";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -5566,7 +5566,7 @@ body,
5566
5566
  display: flex;
5567
5567
  margin-top: 2px;
5568
5568
  justify-content: space-between;
5569
- }.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);margin:0;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{height:calc(50% - 10px);display:block}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__node--normal{width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{text-align:right;padding-right:28px}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node{left:50%;transform:translate(-50%)}.app-content .approveIdea[data-v-95cdb22f] {
5569
+ }.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);margin:0;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{height:calc(50% - 10px);display:block}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-image-viewer__wrapper{position:fixed;top:0;bottom:0;left:0;right:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{z-index:1;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{width:40px;height:40px;font-size:40px;top:40px;right:40px}.el-image-viewer__canvas{-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:static}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;height:44px;padding:0 23px;bottom:30px;left:50%;transform:translate(-50%)}.el-image-viewer__actions__inner{cursor:default;color:#fff;justify-content:space-around;align-items:center;gap:22px;width:100%;height:100%;padding:0 6px;font-size:23px;display:flex}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{cursor:default;color:#fff;bottom:90px;left:50%;transform:translate(-50%)}.el-image-viewer__prev{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;left:40px;transform:translateY(-50%)}.el-image-viewer__next{text-indent:2px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;right:40px;transform:translateY(-50%)}.el-image-viewer__close{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px}.el-image-viewer__mask{opacity:.5;background:#000;width:100%;height:100%;position:absolute;top:0;left:0}.el-image-viewer-parent--hidden{overflow:hidden}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0,0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translate(0,0)}to{opacity:0;transform:translateY(-20px)}}.el-image__error,.el-image__placeholder,.el-image__wrapper,.el-image__inner{width:100%;height:100%}.el-image{display:inline-block;position:relative;overflow:hidden}.el-image__inner{vertical-align:top;opacity:1}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{position:absolute;top:0;left:0}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle;justify-content:center;align-items:center;font-size:14px;display:flex}.el-image__preview{cursor:pointer}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__node--normal{width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{text-align:right;padding-right:28px}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node{left:50%;transform:translate(-50%)}.app-content .approveIdea[data-v-95cdb22f] {
5570
5570
  min-height: 30px;
5571
5571
  background: linear-gradient(to bottom, transparent 29px, #dedede 1px);
5572
5572
  background-size: 100% 30px;
@@ -5762,111 +5762,116 @@ body,
5762
5762
  position: absolute;
5763
5763
  bottom: 3px;
5764
5764
  right: 20px;
5765
+ }
5766
+ .flowTimeline .signed-file {
5767
+ min-width: 80px;
5768
+ height: 30px;
5769
+ margin-left: 8px;
5765
5770
  }
5766
5771
 
5767
- .flowChartTimeline[data-v-c69109fb] {
5772
+ .flowChartTimeline[data-v-4d562e1e] {
5768
5773
  width: 100%;
5769
5774
  height: 100%;
5770
5775
  }
5771
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__content {
5776
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__content {
5772
5777
  margin: 0;
5773
5778
  }
5774
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__wrapper {
5779
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__wrapper {
5775
5780
  padding-left: 22px;
5776
5781
  }
5777
- .flowChartTimeline[data-v-c69109fb] .el-timeline {
5782
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline {
5778
5783
  padding: 0px;
5779
5784
  }
5780
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__tail {
5785
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__tail {
5781
5786
  border-left: 2px dotted #e4e7ed;
5782
5787
  display: block !important;
5783
5788
  }
5784
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__node {
5789
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__node {
5785
5790
  left: 0px;
5786
5791
  width: 10px;
5787
5792
  height: 10px;
5788
5793
  }
5789
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__node.el-timeline-item__node--large {
5794
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__node.el-timeline-item__node--large {
5790
5795
  left: 0px;
5791
5796
  width: 14px;
5792
5797
  height: 14px;
5793
5798
  top: 0px;
5794
5799
  }
5795
- .flowChartTimeline .header[data-v-c69109fb] {
5800
+ .flowChartTimeline .header[data-v-4d562e1e] {
5796
5801
  display: flex;
5797
5802
  flex-direction: column;
5798
5803
  }
5799
- .flowChartTimeline .header .nodeName[data-v-c69109fb] {
5804
+ .flowChartTimeline .header .nodeName[data-v-4d562e1e] {
5800
5805
  font-size: 15px;
5801
5806
  color: #666;
5802
5807
  font-weight: bold;
5803
5808
  margin-bottom: 0px;
5804
5809
  margin-top: 0px;
5805
5810
  }
5806
- .flowChartTimeline .header .createTime[data-v-c69109fb] {
5811
+ .flowChartTimeline .header .createTime[data-v-4d562e1e] {
5807
5812
  font-size: 13px;
5808
5813
  color: #666;
5809
5814
  margin-bottom: 4px;
5810
5815
  }
5811
- .flowChartTimeline .content[data-v-c69109fb],
5812
- .flowChartTimeline .appContent[data-v-c69109fb] {
5816
+ .flowChartTimeline .content[data-v-4d562e1e],
5817
+ .flowChartTimeline .appContent[data-v-4d562e1e] {
5813
5818
  padding: 10px;
5814
5819
  border: var(--el-border);
5815
5820
  border-radius: 4px;
5816
5821
  }
5817
- .flowChartTimeline .signContent .content[data-v-c69109fb] {
5822
+ .flowChartTimeline .signContent .content[data-v-4d562e1e] {
5818
5823
  margin-bottom: 15px;
5819
5824
  }
5820
- .flowChartTimeline .app-header .duration[data-v-c69109fb],
5821
- .flowChartTimeline .openTask .duration[data-v-c69109fb] {
5825
+ .flowChartTimeline .app-header .duration[data-v-4d562e1e],
5826
+ .flowChartTimeline .openTask .duration[data-v-4d562e1e] {
5822
5827
  color: #909399;
5823
5828
  font-size: 13px;
5824
5829
  float: right;
5825
5830
  }
5826
- .flowTimeline .openTask .appAssignee[data-v-c69109fb] {
5831
+ .flowTimeline .openTask .appAssignee[data-v-4d562e1e] {
5827
5832
  white-space: nowrap;
5828
5833
  overflow: hidden;
5829
5834
  text-overflow: ellipsis;
5830
5835
  flex: 1;
5831
5836
  margin-right: 12px;
5832
5837
  }
5833
- .flowChartTimeline .app-header .approveType[data-v-c69109fb] {
5838
+ .flowChartTimeline .app-header .approveType[data-v-4d562e1e] {
5834
5839
  border: 1px dashed var(--el-color-primary);
5835
5840
  color: var(--el-color-primary);
5836
5841
  background: #f5f5f5;
5837
5842
  border-radius: 4px;
5838
5843
  padding: 2px 6px;
5839
5844
  }
5840
- .flowChartTimeline .apping[data-v-c69109fb] {
5845
+ .flowChartTimeline .apping[data-v-4d562e1e] {
5841
5846
  color: var(--el-color-primary);
5842
5847
  }
5843
- .flowChartTimeline .openTask[data-v-c69109fb] {
5848
+ .flowChartTimeline .openTask[data-v-4d562e1e] {
5844
5849
  display: flex;
5845
5850
  align-items: center;
5846
5851
  justify-content: space-between;
5847
5852
  padding: 12px 10px;
5848
5853
  }
5849
- .flowChartTimeline .openTask.sign[data-v-c69109fb] {
5854
+ .flowChartTimeline .openTask.sign[data-v-4d562e1e] {
5850
5855
  border-bottom: var(--el-border);
5851
5856
  }
5852
- .flowChartTimeline .openTask.sign[data-v-c69109fb]:last-child {
5857
+ .flowChartTimeline .openTask.sign[data-v-4d562e1e]:last-child {
5853
5858
  border-bottom: none;
5854
5859
  }
5855
- .flowChartTimeline .app-footer .endTime[data-v-c69109fb] {
5860
+ .flowChartTimeline .app-footer .endTime[data-v-4d562e1e] {
5856
5861
  color: #909399;
5857
5862
  font-size: 13px;
5858
5863
  }
5859
- .flowChartTimeline .app-footer .endTime i[data-v-c69109fb] {
5864
+ .flowChartTimeline .app-footer .endTime i[data-v-4d562e1e] {
5860
5865
  margin-right: 5px;
5861
5866
  }
5862
- .flowChartTimeline .app-footer .assignee[data-v-c69109fb] {
5867
+ .flowChartTimeline .app-footer .assignee[data-v-4d562e1e] {
5863
5868
  color: #909399;
5864
5869
  font-size: 13px;
5865
5870
  float: right;
5866
5871
  display: flex;
5867
5872
  align-items: center;
5868
5873
  }
5869
- .flowChartTimeline .app-footer .assignee-name[data-v-c69109fb] {
5874
+ .flowChartTimeline .app-footer .assignee-name[data-v-4d562e1e] {
5870
5875
  font-size: 15px;
5871
5876
  color: #000;
5872
5877
  font-weight: bold;
@@ -5880,17 +5885,17 @@ body,
5880
5885
  background: #f5f5f5;
5881
5886
  border-radius: 4px;
5882
5887
  }
5883
- .flowChartTimeline .app-content[data-v-c69109fb],
5884
- .flowChartTimeline .app-header[data-v-c69109fb],
5885
- .flowChartTimeline .app-footer[data-v-c69109fb] {
5888
+ .flowChartTimeline .app-content[data-v-4d562e1e],
5889
+ .flowChartTimeline .app-header[data-v-4d562e1e],
5890
+ .flowChartTimeline .app-footer[data-v-4d562e1e] {
5886
5891
  line-height: 30px;
5887
5892
  padding: 0 10px;
5888
5893
  }
5889
- .flowChartTimeline .app-content[data-v-c69109fb],
5890
- .flowChartTimeline .app-header[data-v-c69109fb] {
5894
+ .flowChartTimeline .app-content[data-v-4d562e1e],
5895
+ .flowChartTimeline .app-header[data-v-4d562e1e] {
5891
5896
  margin-bottom: 10px;
5892
5897
  }
5893
- .flowChartTimeline .app-content .approveIdea[data-v-c69109fb] {
5898
+ .flowChartTimeline .app-content .approveIdea[data-v-4d562e1e] {
5894
5899
  min-height: 30px;
5895
5900
  background: linear-gradient(to bottom, transparent 29px, #dedede 1px);
5896
5901
  background-size: 100% 30px;
@@ -5899,6 +5904,11 @@ body,
5899
5904
  white-space: normal;
5900
5905
  word-break: break-all;
5901
5906
  word-wrap: break-word;
5907
+ }
5908
+ .flowTimeline .signed-file[data-v-4d562e1e] {
5909
+ min-width: 80px;
5910
+ height: 30px;
5911
+ margin-left: 8px;
5902
5912
  }
5903
5913
 
5904
5914
  .custom-node-item-current {
@@ -6007,15 +6017,15 @@ body,
6007
6017
  text-align: center;
6008
6018
  color: #f56c6c;
6009
6019
  font-size: 14px;
6010
- }.text-field-wrapper[data-v-b509ac94] {
6020
+ }.text-field-wrapper[data-v-78a3c304] {
6011
6021
  width: 100%;
6012
6022
  }
6013
- .prefix-content[data-v-b509ac94],
6014
- .suffix-content[data-v-b509ac94] {
6023
+ .prefix-content[data-v-78a3c304],
6024
+ .suffix-content[data-v-78a3c304] {
6015
6025
  color: #909399;
6016
6026
  font-size: 14px;
6017
6027
  }
6018
- .data-masking[data-v-b509ac94] {
6028
+ .data-masking[data-v-78a3c304] {
6019
6029
  margin-top: 4px;
6020
6030
  padding: 8px;
6021
6031
  background: #f5f7fa;
@@ -6023,13 +6033,13 @@ body,
6023
6033
  font-size: 12px;
6024
6034
  color: #909399;
6025
6035
  }
6026
- [data-v-b509ac94] .el-input-group__append {
6036
+ [data-v-78a3c304] .el-input-group__append {
6027
6037
  background-color: #409eff;
6028
6038
  color: #fff;
6029
6039
  padding: 0 18px;
6030
6040
  box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
6031
6041
  }
6032
- [data-v-b509ac94] .el-input-group__append:hover {
6042
+ [data-v-78a3c304] .el-input-group__append:hover {
6033
6043
  background-color: #79bbff;
6034
6044
  border-color: #79bbff;
6035
6045
  color: #fff;
@@ -1,4 +1,4 @@
1
- import { toValue, tryOnScopeDispose, noop, isObject, isClient, tryOnMounted, isIOS, notNullish, isDef } from "../shared/index.mjs";
1
+ import { toValue, tryOnScopeDispose, noop, isObject, isClient, notNullish, tryOnMounted, isIOS, isDef } from "../shared/index.mjs";
2
2
  import { clamp, computedEager, createFilterWrapper, debounceFilter, debouncedRef, computedEager as computedEager2, getLifeCycleTarget, reactiveComputed, debouncedRef as debouncedRef2, throttleFilter, toReactive, debouncedRef as debouncedRef3, useDebounceFn, useThrottleFn, useTimeoutFn } from "../shared/index.mjs";
3
3
  import { computed, watch, ref, getCurrentInstance, onMounted, watchEffect, nextTick } from "vue";
4
4
  const defaultWindow = isClient ? window : void 0;
@@ -1,4 +1,4 @@
1
- import { unref, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, ref, onMounted, nextTick, getCurrentInstance, watch, computed, isRef, reactive } from "vue";
1
+ import { unref, getCurrentScope, onScopeDispose, isRef, shallowRef, watchEffect, readonly, ref, onMounted, nextTick, getCurrentInstance, watch, computed, reactive } from "vue";
2
2
  function computedEager(fn, options) {
3
3
  var _a;
4
4
  const result = shallowRef();
@@ -540,6 +540,7 @@ async function handleFormSubmit(node, data, fields, context) {
540
540
  }
541
541
  }
542
542
  async function handleDialog(node, data, fields, context) {
543
+ var _a, _b;
543
544
  const basic = node.basic || {};
544
545
  if (!(basic == null ? void 0 : basic.dialogId)) {
545
546
  console.error("ui-dialog: 缺少 dialogId 配置");
@@ -573,7 +574,7 @@ async function handleDialog(node, data, fields, context) {
573
574
  basic.displayFieldName,
574
575
  dialog,
575
576
  context.instance,
576
- context.ctx,
577
+ context.ctx || ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table),
577
578
  fields,
578
579
  data
579
580
  );
@@ -4,6 +4,8 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
+ /* empty css */
8
+ /* empty css */
7
9
  /* empty css */
8
10
  /* empty css */
9
11
  import { ref, watch, nextTick, resolveComponent, createElementBlock, openBlock, createVNode, withCtx, Fragment, renderList, unref, createBlock, createElementVNode, createCommentVNode, toDisplayString, createTextVNode, isRef } from "vue";
@@ -14,6 +16,7 @@ import ApproveIdea from "./ApproveIdea.vue.mjs";
14
16
  import { ElScrollbar } from "../../../../../../node_modules/element-plus/es/components/scrollbar/index.mjs";
15
17
  import { ElTimeline, ElTimelineItem } from "../../../../../../node_modules/element-plus/es/components/timeline/index.mjs";
16
18
  import { ElButton } from "../../../../../../node_modules/element-plus/es/components/button/index.mjs";
19
+ import { ElImage } from "../../../../../../node_modules/element-plus/es/components/image/index.mjs";
17
20
  import { ElDrawer } from "../../../../../../node_modules/element-plus/es/components/drawer/index.mjs";
18
21
  const _hoisted_1 = { class: "header" };
19
22
  const _hoisted_2 = { class: "app nodeName" };
@@ -174,6 +177,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
174
177
  return (_ctx, _cache) => {
175
178
  const _component_el_button = ElButton;
176
179
  const _component_el_timeline_item = ElTimelineItem;
180
+ const _component_el_image = ElImage;
177
181
  const _component_el_timeline = ElTimeline;
178
182
  const _component_el_scrollbar = ElScrollbar;
179
183
  const _component_FecTimeLine = resolveComponent("FecTimeLine");
@@ -258,7 +262,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
258
262
  ]),
259
263
  node.taskType == "task" ? (openBlock(), createElementBlock("span", _hoisted_27, [
260
264
  _cache[4] || (_cache[4] = createTextVNode("处理人:")),
261
- createElementVNode("span", _hoisted_28, toDisplayString(node.assigneeName), 1)
265
+ createElementVNode("span", _hoisted_28, toDisplayString(node.assigneeName), 1),
266
+ node.signedFile ? (openBlock(), createBlock(_component_el_image, {
267
+ key: 0,
268
+ src: node.signedFile,
269
+ class: "signed-file",
270
+ fit: "contain"
271
+ }, null, 8, ["src"])) : createCommentVNode("", true)
262
272
  ])) : createCommentVNode("", true),
263
273
  node.taskType == "callActivity" ? (openBlock(), createElementBlock("span", _hoisted_29, [
264
274
  createVNode(_component_el_button, {
@@ -293,7 +303,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
293
303
  ]),
294
304
  createElementVNode("span", _hoisted_37, [
295
305
  _cache[8] || (_cache[8] = createTextVNode("处理人:")),
296
- createElementVNode("span", _hoisted_38, toDisplayString(sign.assigneeName), 1)
306
+ createElementVNode("span", _hoisted_38, toDisplayString(sign.assigneeName), 1),
307
+ sign.signedFile ? (openBlock(), createBlock(_component_el_image, {
308
+ key: 0,
309
+ src: sign.signedFile,
310
+ class: "signed-file",
311
+ fit: "contain"
312
+ }, null, 8, ["src"])) : createCommentVNode("", true)
297
313
  ]),
298
314
  _cache[9] || (_cache[9] = createElementVNode("div", { class: "addNodeList" }, null, -1))
299
315
  ])
@@ -2,12 +2,15 @@ import "../../../../../../../../node_modules/element-plus/es/index.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
+ /* empty css */
6
+ /* empty css */
5
7
  /* empty css */
6
8
  import { createElementBlock, openBlock, createVNode, withCtx, Fragment, renderList, createBlock, createElementVNode, createCommentVNode, toDisplayString, createTextVNode } from "vue";
7
9
  /* empty css */
8
10
  import _export_sfc from "../../../../../../../../_virtual/_plugin-vue_export-helper.mjs";
9
11
  import { ElScrollbar } from "../../../../../../../../node_modules/element-plus/es/components/scrollbar/index.mjs";
10
12
  import { ElTimeline, ElTimelineItem } from "../../../../../../../../node_modules/element-plus/es/components/timeline/index.mjs";
13
+ import { ElImage } from "../../../../../../../../node_modules/element-plus/es/components/image/index.mjs";
11
14
  const _hoisted_1 = { class: "flowChartTimeline" };
12
15
  const _hoisted_2 = { class: "header" };
13
16
  const _hoisted_3 = { class: "app nodeName" };
@@ -120,6 +123,7 @@ const _sfc_main = {
120
123
  }
121
124
  return (_ctx, _cache) => {
122
125
  const _component_el_timeline_item = ElTimelineItem;
126
+ const _component_el_image = ElImage;
123
127
  const _component_el_timeline = ElTimeline;
124
128
  const _component_el_scrollbar = ElScrollbar;
125
129
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -186,7 +190,13 @@ const _sfc_main = {
186
190
  ]),
187
191
  node.taskType == "task" ? (openBlock(), createElementBlock("span", _hoisted_30, [
188
192
  _cache[2] || (_cache[2] = createTextVNode("处理人:")),
189
- createElementVNode("span", _hoisted_31, toDisplayString(node.assigneeName), 1)
193
+ createElementVNode("span", _hoisted_31, toDisplayString(node.assigneeName), 1),
194
+ node.signedFile ? (openBlock(), createBlock(_component_el_image, {
195
+ key: 0,
196
+ src: node.signedFile,
197
+ class: "signed-file",
198
+ fit: "contain"
199
+ }, null, 8, ["src"])) : createCommentVNode("", true)
190
200
  ])) : createCommentVNode("", true),
191
201
  _cache[3] || (_cache[3] = createElementVNode("div", { class: "addNodeList" }, null, -1))
192
202
  ])
@@ -208,7 +218,13 @@ const _sfc_main = {
208
218
  ]),
209
219
  createElementVNode("span", _hoisted_41, [
210
220
  _cache[5] || (_cache[5] = createTextVNode("处理人:")),
211
- createElementVNode("span", _hoisted_42, toDisplayString(sign.assigneeName), 1)
221
+ createElementVNode("span", _hoisted_42, toDisplayString(sign.assigneeName), 1),
222
+ sign.signedFile ? (openBlock(), createBlock(_component_el_image, {
223
+ key: 0,
224
+ src: sign.signedFile,
225
+ class: "signed-file",
226
+ fit: "contain"
227
+ }, null, 8, ["src"])) : createCommentVNode("", true)
212
228
  ]),
213
229
  _cache[6] || (_cache[6] = createElementVNode("div", { class: "addNodeList" }, null, -1))
214
230
  ])
@@ -235,7 +251,7 @@ const _sfc_main = {
235
251
  };
236
252
  }
237
253
  };
238
- const timeline = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c69109fb"]]);
254
+ const timeline = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4d562e1e"]]);
239
255
  export {
240
256
  timeline as default
241
257
  };
@@ -160,7 +160,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
160
160
  ];
161
161
  const { getEventHandlers: createEventHandlers } = useEventFlow({
162
162
  fields: fieldsList,
163
- instance,
163
+ instance: {
164
+ instance: {
165
+ proxy: formCtx
166
+ }
167
+ },
164
168
  localConfig: localConfig == null ? void 0 : localConfig.value,
165
169
  components: {
166
170
  form: formCtx
@@ -263,7 +267,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
263
267
  };
264
268
  }
265
269
  });
266
- const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b509ac94"]]);
270
+ const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-78a3c304"]]);
267
271
  export {
268
272
  _Text as default
269
273
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.6.4";
3
+ const version = "5.6.6";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -5566,7 +5566,7 @@ body,
5566
5566
  display: flex;
5567
5567
  margin-top: 2px;
5568
5568
  justify-content: space-between;
5569
- }.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);margin:0;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{height:calc(50% - 10px);display:block}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__node--normal{width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{text-align:right;padding-right:28px}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node{left:50%;transform:translate(-50%)}.app-content .approveIdea[data-v-95cdb22f] {
5569
+ }.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);margin:0;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{height:calc(50% - 10px);display:block}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{width:calc(50% - 28px + var(--el-timeline-node-size-large) / 2);text-align:right;padding-right:28px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{width:calc(50% - 28px);left:calc(50% - var(--el-timeline-node-size-large) / 2);padding-left:28px}.el-image-viewer__wrapper{position:fixed;top:0;bottom:0;left:0;right:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{z-index:1;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;user-select:none;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{width:40px;height:40px;font-size:40px;top:40px;right:40px}.el-image-viewer__canvas{-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:static}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;height:44px;padding:0 23px;bottom:30px;left:50%;transform:translate(-50%)}.el-image-viewer__actions__inner{cursor:default;color:#fff;justify-content:space-around;align-items:center;gap:22px;width:100%;height:100%;padding:0 6px;font-size:23px;display:flex}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{cursor:default;color:#fff;bottom:90px;left:50%;transform:translate(-50%)}.el-image-viewer__prev{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;left:40px;transform:translateY(-50%)}.el-image-viewer__next{text-indent:2px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px;top:50%;right:40px;transform:translateY(-50%)}.el-image-viewer__close{color:#fff;background-color:var(--el-text-color-regular);border-color:#fff;width:44px;height:44px;font-size:24px}.el-image-viewer__mask{opacity:.5;background:#000;width:100%;height:100%;position:absolute;top:0;left:0}.el-image-viewer-parent--hidden{overflow:hidden}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translate(0,0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translate(0,0)}to{opacity:0;transform:translateY(-20px)}}.el-image__error,.el-image__placeholder,.el-image__wrapper,.el-image__inner{width:100%;height:100%}.el-image{display:inline-block;position:relative;overflow:hidden}.el-image__inner{vertical-align:top;opacity:1}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{position:absolute;top:0;left:0}.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{background:var(--el-fill-color-light);color:var(--el-text-color-placeholder);vertical-align:middle;justify-content:center;align-items:center;font-size:14px;display:flex}.el-image__preview{cursor:pointer}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);box-sizing:border-box;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__node--normal{width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{width:var(--el-timeline-node-size-large);height:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{justify-content:center;align-items:center;display:flex;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{text-align:right;padding-right:28px}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node{left:50%;transform:translate(-50%)}.app-content .approveIdea[data-v-95cdb22f] {
5570
5570
  min-height: 30px;
5571
5571
  background: linear-gradient(to bottom, transparent 29px, #dedede 1px);
5572
5572
  background-size: 100% 30px;
@@ -5762,111 +5762,116 @@ body,
5762
5762
  position: absolute;
5763
5763
  bottom: 3px;
5764
5764
  right: 20px;
5765
+ }
5766
+ .flowTimeline .signed-file {
5767
+ min-width: 80px;
5768
+ height: 30px;
5769
+ margin-left: 8px;
5765
5770
  }
5766
5771
 
5767
- .flowChartTimeline[data-v-c69109fb] {
5772
+ .flowChartTimeline[data-v-4d562e1e] {
5768
5773
  width: 100%;
5769
5774
  height: 100%;
5770
5775
  }
5771
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__content {
5776
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__content {
5772
5777
  margin: 0;
5773
5778
  }
5774
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__wrapper {
5779
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__wrapper {
5775
5780
  padding-left: 22px;
5776
5781
  }
5777
- .flowChartTimeline[data-v-c69109fb] .el-timeline {
5782
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline {
5778
5783
  padding: 0px;
5779
5784
  }
5780
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__tail {
5785
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__tail {
5781
5786
  border-left: 2px dotted #e4e7ed;
5782
5787
  display: block !important;
5783
5788
  }
5784
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__node {
5789
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__node {
5785
5790
  left: 0px;
5786
5791
  width: 10px;
5787
5792
  height: 10px;
5788
5793
  }
5789
- .flowChartTimeline[data-v-c69109fb] .el-timeline-item__node.el-timeline-item__node--large {
5794
+ .flowChartTimeline[data-v-4d562e1e] .el-timeline-item__node.el-timeline-item__node--large {
5790
5795
  left: 0px;
5791
5796
  width: 14px;
5792
5797
  height: 14px;
5793
5798
  top: 0px;
5794
5799
  }
5795
- .flowChartTimeline .header[data-v-c69109fb] {
5800
+ .flowChartTimeline .header[data-v-4d562e1e] {
5796
5801
  display: flex;
5797
5802
  flex-direction: column;
5798
5803
  }
5799
- .flowChartTimeline .header .nodeName[data-v-c69109fb] {
5804
+ .flowChartTimeline .header .nodeName[data-v-4d562e1e] {
5800
5805
  font-size: 15px;
5801
5806
  color: #666;
5802
5807
  font-weight: bold;
5803
5808
  margin-bottom: 0px;
5804
5809
  margin-top: 0px;
5805
5810
  }
5806
- .flowChartTimeline .header .createTime[data-v-c69109fb] {
5811
+ .flowChartTimeline .header .createTime[data-v-4d562e1e] {
5807
5812
  font-size: 13px;
5808
5813
  color: #666;
5809
5814
  margin-bottom: 4px;
5810
5815
  }
5811
- .flowChartTimeline .content[data-v-c69109fb],
5812
- .flowChartTimeline .appContent[data-v-c69109fb] {
5816
+ .flowChartTimeline .content[data-v-4d562e1e],
5817
+ .flowChartTimeline .appContent[data-v-4d562e1e] {
5813
5818
  padding: 10px;
5814
5819
  border: var(--el-border);
5815
5820
  border-radius: 4px;
5816
5821
  }
5817
- .flowChartTimeline .signContent .content[data-v-c69109fb] {
5822
+ .flowChartTimeline .signContent .content[data-v-4d562e1e] {
5818
5823
  margin-bottom: 15px;
5819
5824
  }
5820
- .flowChartTimeline .app-header .duration[data-v-c69109fb],
5821
- .flowChartTimeline .openTask .duration[data-v-c69109fb] {
5825
+ .flowChartTimeline .app-header .duration[data-v-4d562e1e],
5826
+ .flowChartTimeline .openTask .duration[data-v-4d562e1e] {
5822
5827
  color: #909399;
5823
5828
  font-size: 13px;
5824
5829
  float: right;
5825
5830
  }
5826
- .flowTimeline .openTask .appAssignee[data-v-c69109fb] {
5831
+ .flowTimeline .openTask .appAssignee[data-v-4d562e1e] {
5827
5832
  white-space: nowrap;
5828
5833
  overflow: hidden;
5829
5834
  text-overflow: ellipsis;
5830
5835
  flex: 1;
5831
5836
  margin-right: 12px;
5832
5837
  }
5833
- .flowChartTimeline .app-header .approveType[data-v-c69109fb] {
5838
+ .flowChartTimeline .app-header .approveType[data-v-4d562e1e] {
5834
5839
  border: 1px dashed var(--el-color-primary);
5835
5840
  color: var(--el-color-primary);
5836
5841
  background: #f5f5f5;
5837
5842
  border-radius: 4px;
5838
5843
  padding: 2px 6px;
5839
5844
  }
5840
- .flowChartTimeline .apping[data-v-c69109fb] {
5845
+ .flowChartTimeline .apping[data-v-4d562e1e] {
5841
5846
  color: var(--el-color-primary);
5842
5847
  }
5843
- .flowChartTimeline .openTask[data-v-c69109fb] {
5848
+ .flowChartTimeline .openTask[data-v-4d562e1e] {
5844
5849
  display: flex;
5845
5850
  align-items: center;
5846
5851
  justify-content: space-between;
5847
5852
  padding: 12px 10px;
5848
5853
  }
5849
- .flowChartTimeline .openTask.sign[data-v-c69109fb] {
5854
+ .flowChartTimeline .openTask.sign[data-v-4d562e1e] {
5850
5855
  border-bottom: var(--el-border);
5851
5856
  }
5852
- .flowChartTimeline .openTask.sign[data-v-c69109fb]:last-child {
5857
+ .flowChartTimeline .openTask.sign[data-v-4d562e1e]:last-child {
5853
5858
  border-bottom: none;
5854
5859
  }
5855
- .flowChartTimeline .app-footer .endTime[data-v-c69109fb] {
5860
+ .flowChartTimeline .app-footer .endTime[data-v-4d562e1e] {
5856
5861
  color: #909399;
5857
5862
  font-size: 13px;
5858
5863
  }
5859
- .flowChartTimeline .app-footer .endTime i[data-v-c69109fb] {
5864
+ .flowChartTimeline .app-footer .endTime i[data-v-4d562e1e] {
5860
5865
  margin-right: 5px;
5861
5866
  }
5862
- .flowChartTimeline .app-footer .assignee[data-v-c69109fb] {
5867
+ .flowChartTimeline .app-footer .assignee[data-v-4d562e1e] {
5863
5868
  color: #909399;
5864
5869
  font-size: 13px;
5865
5870
  float: right;
5866
5871
  display: flex;
5867
5872
  align-items: center;
5868
5873
  }
5869
- .flowChartTimeline .app-footer .assignee-name[data-v-c69109fb] {
5874
+ .flowChartTimeline .app-footer .assignee-name[data-v-4d562e1e] {
5870
5875
  font-size: 15px;
5871
5876
  color: #000;
5872
5877
  font-weight: bold;
@@ -5880,17 +5885,17 @@ body,
5880
5885
  background: #f5f5f5;
5881
5886
  border-radius: 4px;
5882
5887
  }
5883
- .flowChartTimeline .app-content[data-v-c69109fb],
5884
- .flowChartTimeline .app-header[data-v-c69109fb],
5885
- .flowChartTimeline .app-footer[data-v-c69109fb] {
5888
+ .flowChartTimeline .app-content[data-v-4d562e1e],
5889
+ .flowChartTimeline .app-header[data-v-4d562e1e],
5890
+ .flowChartTimeline .app-footer[data-v-4d562e1e] {
5886
5891
  line-height: 30px;
5887
5892
  padding: 0 10px;
5888
5893
  }
5889
- .flowChartTimeline .app-content[data-v-c69109fb],
5890
- .flowChartTimeline .app-header[data-v-c69109fb] {
5894
+ .flowChartTimeline .app-content[data-v-4d562e1e],
5895
+ .flowChartTimeline .app-header[data-v-4d562e1e] {
5891
5896
  margin-bottom: 10px;
5892
5897
  }
5893
- .flowChartTimeline .app-content .approveIdea[data-v-c69109fb] {
5898
+ .flowChartTimeline .app-content .approveIdea[data-v-4d562e1e] {
5894
5899
  min-height: 30px;
5895
5900
  background: linear-gradient(to bottom, transparent 29px, #dedede 1px);
5896
5901
  background-size: 100% 30px;
@@ -5899,6 +5904,11 @@ body,
5899
5904
  white-space: normal;
5900
5905
  word-break: break-all;
5901
5906
  word-wrap: break-word;
5907
+ }
5908
+ .flowTimeline .signed-file[data-v-4d562e1e] {
5909
+ min-width: 80px;
5910
+ height: 30px;
5911
+ margin-left: 8px;
5902
5912
  }
5903
5913
 
5904
5914
  .custom-node-item-current {
@@ -6007,15 +6017,15 @@ body,
6007
6017
  text-align: center;
6008
6018
  color: #f56c6c;
6009
6019
  font-size: 14px;
6010
- }.text-field-wrapper[data-v-b509ac94] {
6020
+ }.text-field-wrapper[data-v-78a3c304] {
6011
6021
  width: 100%;
6012
6022
  }
6013
- .prefix-content[data-v-b509ac94],
6014
- .suffix-content[data-v-b509ac94] {
6023
+ .prefix-content[data-v-78a3c304],
6024
+ .suffix-content[data-v-78a3c304] {
6015
6025
  color: #909399;
6016
6026
  font-size: 14px;
6017
6027
  }
6018
- .data-masking[data-v-b509ac94] {
6028
+ .data-masking[data-v-78a3c304] {
6019
6029
  margin-top: 4px;
6020
6030
  padding: 8px;
6021
6031
  background: #f5f7fa;
@@ -6023,13 +6033,13 @@ body,
6023
6033
  font-size: 12px;
6024
6034
  color: #909399;
6025
6035
  }
6026
- [data-v-b509ac94] .el-input-group__append {
6036
+ [data-v-78a3c304] .el-input-group__append {
6027
6037
  background-color: #409eff;
6028
6038
  color: #fff;
6029
6039
  padding: 0 18px;
6030
6040
  box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
6031
6041
  }
6032
- [data-v-b509ac94] .el-input-group__append:hover {
6042
+ [data-v-78a3c304] .el-input-group__append:hover {
6033
6043
  background-color: #79bbff;
6034
6044
  border-color: #79bbff;
6035
6045
  color: #fff;
@@ -542,6 +542,7 @@ async function handleFormSubmit(node, data, fields, context) {
542
542
  }
543
543
  }
544
544
  async function handleDialog(node, data, fields, context) {
545
+ var _a, _b;
545
546
  const basic = node.basic || {};
546
547
  if (!(basic == null ? void 0 : basic.dialogId)) {
547
548
  console.error("ui-dialog: 缺少 dialogId 配置");
@@ -575,7 +576,7 @@ async function handleDialog(node, data, fields, context) {
575
576
  basic.displayFieldName,
576
577
  dialog,
577
578
  context.instance,
578
- context.ctx,
579
+ context.ctx || ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table),
579
580
  fields,
580
581
  data
581
582
  );
@@ -6,6 +6,8 @@ require("../../../../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
+ ;/* empty css */
10
+ ;/* empty css */
9
11
  ;/* empty css */
10
12
  ;/* empty css */
11
13
  const Vue = require("vue");
@@ -16,7 +18,8 @@ const ApproveIdea = require("./ApproveIdea.vue.js");
16
18
  const index$1 = require("../../../../../../node_modules/element-plus/es/components/scrollbar/index.js");
17
19
  const index$2 = require("../../../../../../node_modules/element-plus/es/components/timeline/index.js");
18
20
  const index$3 = require("../../../../../../node_modules/element-plus/es/components/button/index.js");
19
- const index$4 = require("../../../../../../node_modules/element-plus/es/components/drawer/index.js");
21
+ const index$4 = require("../../../../../../node_modules/element-plus/es/components/image/index.js");
22
+ const index$5 = require("../../../../../../node_modules/element-plus/es/components/drawer/index.js");
20
23
  const _hoisted_1 = { class: "header" };
21
24
  const _hoisted_2 = { class: "app nodeName" };
22
25
  const _hoisted_3 = { class: "createTime" };
@@ -176,10 +179,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
176
179
  return (_ctx, _cache) => {
177
180
  const _component_el_button = index$3.ElButton;
178
181
  const _component_el_timeline_item = index$2.ElTimelineItem;
182
+ const _component_el_image = index$4.ElImage;
179
183
  const _component_el_timeline = index$2.ElTimeline;
180
184
  const _component_el_scrollbar = index$1.ElScrollbar;
181
185
  const _component_FecTimeLine = Vue.resolveComponent("FecTimeLine");
182
- const _component_el_drawer = index$4.ElDrawer;
186
+ const _component_el_drawer = index$5.ElDrawer;
183
187
  return Vue.openBlock(), Vue.createElementBlock("div", {
184
188
  class: "flowTimeline",
185
189
  ref_key: "flowTimelineRef",
@@ -260,7 +264,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
260
264
  ]),
261
265
  node.taskType == "task" ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_27, [
262
266
  _cache[4] || (_cache[4] = Vue.createTextVNode("处理人:")),
263
- Vue.createElementVNode("span", _hoisted_28, Vue.toDisplayString(node.assigneeName), 1)
267
+ Vue.createElementVNode("span", _hoisted_28, Vue.toDisplayString(node.assigneeName), 1),
268
+ node.signedFile ? (Vue.openBlock(), Vue.createBlock(_component_el_image, {
269
+ key: 0,
270
+ src: node.signedFile,
271
+ class: "signed-file",
272
+ fit: "contain"
273
+ }, null, 8, ["src"])) : Vue.createCommentVNode("", true)
264
274
  ])) : Vue.createCommentVNode("", true),
265
275
  node.taskType == "callActivity" ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_29, [
266
276
  Vue.createVNode(_component_el_button, {
@@ -295,7 +305,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
295
305
  ]),
296
306
  Vue.createElementVNode("span", _hoisted_37, [
297
307
  _cache[8] || (_cache[8] = Vue.createTextVNode("处理人:")),
298
- Vue.createElementVNode("span", _hoisted_38, Vue.toDisplayString(sign.assigneeName), 1)
308
+ Vue.createElementVNode("span", _hoisted_38, Vue.toDisplayString(sign.assigneeName), 1),
309
+ sign.signedFile ? (Vue.openBlock(), Vue.createBlock(_component_el_image, {
310
+ key: 0,
311
+ src: sign.signedFile,
312
+ class: "signed-file",
313
+ fit: "contain"
314
+ }, null, 8, ["src"])) : Vue.createCommentVNode("", true)
299
315
  ]),
300
316
  _cache[9] || (_cache[9] = Vue.createElementVNode("div", { class: "addNodeList" }, null, -1))
301
317
  ])
@@ -4,12 +4,15 @@ require("../../../../../../../../node_modules/element-plus/es/index.js");
4
4
  ;/* empty css */
5
5
  ;/* empty css */
6
6
  ;/* empty css */
7
+ ;/* empty css */
8
+ ;/* empty css */
7
9
  ;/* empty css */
8
10
  const Vue = require("vue");
9
11
  ;/* empty css */
10
12
  const _pluginVue_exportHelper = require("../../../../../../../../_virtual/_plugin-vue_export-helper.js");
11
13
  const index = require("../../../../../../../../node_modules/element-plus/es/components/scrollbar/index.js");
12
14
  const index$1 = require("../../../../../../../../node_modules/element-plus/es/components/timeline/index.js");
15
+ const index$2 = require("../../../../../../../../node_modules/element-plus/es/components/image/index.js");
13
16
  const _hoisted_1 = { class: "flowChartTimeline" };
14
17
  const _hoisted_2 = { class: "header" };
15
18
  const _hoisted_3 = { class: "app nodeName" };
@@ -122,6 +125,7 @@ const _sfc_main = {
122
125
  }
123
126
  return (_ctx, _cache) => {
124
127
  const _component_el_timeline_item = index$1.ElTimelineItem;
128
+ const _component_el_image = index$2.ElImage;
125
129
  const _component_el_timeline = index$1.ElTimeline;
126
130
  const _component_el_scrollbar = index.ElScrollbar;
127
131
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
@@ -188,7 +192,13 @@ const _sfc_main = {
188
192
  ]),
189
193
  node.taskType == "task" ? (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_30, [
190
194
  _cache[2] || (_cache[2] = Vue.createTextVNode("处理人:")),
191
- Vue.createElementVNode("span", _hoisted_31, Vue.toDisplayString(node.assigneeName), 1)
195
+ Vue.createElementVNode("span", _hoisted_31, Vue.toDisplayString(node.assigneeName), 1),
196
+ node.signedFile ? (Vue.openBlock(), Vue.createBlock(_component_el_image, {
197
+ key: 0,
198
+ src: node.signedFile,
199
+ class: "signed-file",
200
+ fit: "contain"
201
+ }, null, 8, ["src"])) : Vue.createCommentVNode("", true)
192
202
  ])) : Vue.createCommentVNode("", true),
193
203
  _cache[3] || (_cache[3] = Vue.createElementVNode("div", { class: "addNodeList" }, null, -1))
194
204
  ])
@@ -210,7 +220,13 @@ const _sfc_main = {
210
220
  ]),
211
221
  Vue.createElementVNode("span", _hoisted_41, [
212
222
  _cache[5] || (_cache[5] = Vue.createTextVNode("处理人:")),
213
- Vue.createElementVNode("span", _hoisted_42, Vue.toDisplayString(sign.assigneeName), 1)
223
+ Vue.createElementVNode("span", _hoisted_42, Vue.toDisplayString(sign.assigneeName), 1),
224
+ sign.signedFile ? (Vue.openBlock(), Vue.createBlock(_component_el_image, {
225
+ key: 0,
226
+ src: sign.signedFile,
227
+ class: "signed-file",
228
+ fit: "contain"
229
+ }, null, 8, ["src"])) : Vue.createCommentVNode("", true)
214
230
  ]),
215
231
  _cache[6] || (_cache[6] = Vue.createElementVNode("div", { class: "addNodeList" }, null, -1))
216
232
  ])
@@ -237,5 +253,5 @@ const _sfc_main = {
237
253
  };
238
254
  }
239
255
  };
240
- const timeline = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c69109fb"]]);
256
+ const timeline = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-4d562e1e"]]);
241
257
  exports.default = timeline;
@@ -162,7 +162,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
162
162
  ];
163
163
  const { getEventHandlers: createEventHandlers } = eventFlowHandler.useEventFlow({
164
164
  fields: fieldsList,
165
- instance,
165
+ instance: {
166
+ instance: {
167
+ proxy: formCtx
168
+ }
169
+ },
166
170
  localConfig: localConfig == null ? void 0 : localConfig.value,
167
171
  components: {
168
172
  form: formCtx
@@ -265,5 +269,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
265
269
  };
266
270
  }
267
271
  });
268
- const _Text = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b509ac94"]]);
272
+ const _Text = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-78a3c304"]]);
269
273
  exports.default = _Text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.6.4",
3
+ "version": "5.6.6",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [