@lingxiteam/assets 3.2.1 → 3.3.1-alpha.10

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.
Files changed (73) hide show
  1. package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +9 -3
  2. package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +29 -26
  3. package/es/error/errorDisplay/Mobile/Modal/Modal.js +5 -3
  4. package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +9 -1
  5. package/es/error/errorDisplay/Web/Drawer/Drawer.js +10 -4
  6. package/es/error/errorDisplay/Web/ErrorMsg/index.js +67 -48
  7. package/es/error/errorDisplay/Web/Notification/Notification.less +21 -3
  8. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +11 -3
  9. package/es/error/errorDisplay/const.js +29 -7
  10. package/es/rootConfig/mobile/MobileModal.d.ts +33 -0
  11. package/es/rootConfig/mobile/MobileModal.js +49 -4
  12. package/es/rootConfig/mobile/MobilePopover.d.ts +3 -0
  13. package/es/rootConfig/mobile/MobilePopover.js +4 -1
  14. package/es/rootConfig/mobile/page.d.ts +13 -0
  15. package/es/rootConfig/mobile/page.js +15 -2
  16. package/es/rootConfig/pc/Drawer.d.ts +9 -0
  17. package/es/rootConfig/pc/Drawer.js +10 -1
  18. package/es/rootConfig/pc/Modal.d.ts +3 -0
  19. package/es/rootConfig/pc/Modal.js +4 -1
  20. package/es/rootConfig/pc/Popover.d.ts +3 -0
  21. package/es/rootConfig/pc/Popover.js +4 -1
  22. package/es/rootConfig/pc/page.d.ts +3 -18
  23. package/es/rootConfig/pc/page.js +4 -14
  24. package/es/rootConfig/todoActionList.d.ts +429 -65
  25. package/es/rootConfig/todoActionList.js +563 -143
  26. package/es/rootConfig/todoOptionList.d.ts +13 -2
  27. package/es/rootConfig/todoOptionList.js +16 -7
  28. package/es/security/encipher/sign.js +4 -3
  29. package/es/security/fetch.js +7 -0
  30. package/es/theme/bin/default/theme.js +1 -1
  31. package/es/theme/bin/default/theme.less +1 -1
  32. package/es/theme/bin/default/theme.scss +1 -1
  33. package/es/theme/index.js +77 -0
  34. package/es/theme/src/default/index.js +1 -1
  35. package/es/utils/url.d.ts +1 -0
  36. package/es/utils/url.js +5 -0
  37. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +9 -3
  38. package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +29 -26
  39. package/lib/error/errorDisplay/Mobile/Modal/Modal.js +5 -3
  40. package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +9 -1
  41. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +10 -4
  42. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +67 -48
  43. package/lib/error/errorDisplay/Web/Notification/Notification.less +21 -3
  44. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +11 -2
  45. package/lib/error/errorDisplay/const.js +33 -9
  46. package/lib/rootConfig/mobile/MobileModal.d.ts +33 -0
  47. package/lib/rootConfig/mobile/MobileModal.js +49 -4
  48. package/lib/rootConfig/mobile/MobilePopover.d.ts +3 -0
  49. package/lib/rootConfig/mobile/MobilePopover.js +4 -1
  50. package/lib/rootConfig/mobile/page.d.ts +13 -0
  51. package/lib/rootConfig/mobile/page.js +15 -2
  52. package/lib/rootConfig/pc/Drawer.d.ts +9 -0
  53. package/lib/rootConfig/pc/Drawer.js +10 -1
  54. package/lib/rootConfig/pc/Modal.d.ts +3 -0
  55. package/lib/rootConfig/pc/Modal.js +4 -1
  56. package/lib/rootConfig/pc/Popover.d.ts +3 -0
  57. package/lib/rootConfig/pc/Popover.js +4 -1
  58. package/lib/rootConfig/pc/page.d.ts +3 -18
  59. package/lib/rootConfig/pc/page.js +4 -14
  60. package/lib/rootConfig/todoActionList.d.ts +429 -65
  61. package/lib/rootConfig/todoActionList.js +563 -143
  62. package/lib/rootConfig/todoOptionList.d.ts +13 -2
  63. package/lib/rootConfig/todoOptionList.js +16 -7
  64. package/lib/security/encipher/sign.js +3 -2
  65. package/lib/security/fetch.js +7 -0
  66. package/lib/theme/bin/default/theme.js +1 -1
  67. package/lib/theme/bin/default/theme.less +1 -1
  68. package/lib/theme/bin/default/theme.scss +1 -1
  69. package/lib/theme/index.js +84 -0
  70. package/lib/theme/src/default/index.js +1 -1
  71. package/lib/utils/url.d.ts +1 -0
  72. package/lib/utils/url.js +7 -1
  73. package/package.json +4 -3
@@ -108,7 +108,7 @@ var todoActionObject = {
108
108
  }, {
109
109
  key: 'params',
110
110
  label: '参数赋值',
111
- type: 'SelectParams'
111
+ type: 'ApiRequestSetParams'
112
112
  }],
113
113
  todoCallbacks: ['callback1', 'callback2'],
114
114
  classification: [{
@@ -117,7 +117,8 @@ var todoActionObject = {
117
117
  }, {
118
118
  label: '服务请求类',
119
119
  value: 'request'
120
- }]
120
+ }],
121
+ isAsync: true
121
122
  },
122
123
  JSBridge: {
123
124
  key: 'JSBridge',
@@ -226,7 +227,7 @@ var todoActionObject = {
226
227
  key: 'workOrderId',
227
228
  aliasKey: 'flowWorkOrderId',
228
229
  label: '业务工单 ID',
229
- type: 'SelectParams'
230
+ type: 'SetExpression'
230
231
  }, {
231
232
  key: 'workOrderType',
232
233
  label: '业务工单类型',
@@ -508,11 +509,11 @@ var todoActionObject = {
508
509
  }, {
509
510
  key: 'title',
510
511
  label: '标题',
511
- type: 'SetParamsExpression'
512
+ type: 'SetExpression'
512
513
  }, {
513
514
  key: 'content',
514
515
  label: '内容',
515
- type: 'SetParamsExpression'
516
+ type: 'SetExpression'
516
517
  }, {
517
518
  key: 'okText',
518
519
  label: '确认按钮文本',
@@ -549,7 +550,8 @@ var todoActionObject = {
549
550
  classification: [{
550
551
  label: '消息&弹窗',
551
552
  value: 'modal'
552
- }]
553
+ }],
554
+ isAsync: true
553
555
  },
554
556
  showAppCustomModal: {
555
557
  key: 'showAppCustomModal',
@@ -568,7 +570,8 @@ var todoActionObject = {
568
570
  label: '消息&弹窗',
569
571
  value: 'modal'
570
572
  }],
571
- tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉'
573
+ tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉',
574
+ isAsync: true
572
575
  },
573
576
  setModalTitle: {
574
577
  key: 'setModalTitle',
@@ -576,7 +579,7 @@ var todoActionObject = {
576
579
  todoOptions: [{
577
580
  key: 'title',
578
581
  label: '弹窗标题',
579
- type: 'SetParamsExpression'
582
+ type: 'SetExpression'
580
583
  }],
581
584
  classification: [{
582
585
  label: '消息&弹窗',
@@ -608,7 +611,7 @@ var todoActionObject = {
608
611
  todoOptions: [{
609
612
  key: 'title',
610
613
  label: '推拉门标题',
611
- type: 'SetParamsExpression'
614
+ type: 'SetExpression'
612
615
  }],
613
616
  classification: [{
614
617
  label: '消息&弹窗',
@@ -650,6 +653,10 @@ var todoActionObject = {
650
653
  aliasKey: 'searchParams',
651
654
  label: 'url参数',
652
655
  type: 'SearchParams'
656
+ }, {
657
+ key: 'routerData',
658
+ label: '路由数据',
659
+ type: 'RouterData'
653
660
  }]
654
661
  },
655
662
  historyReplace: {
@@ -664,6 +671,10 @@ var todoActionObject = {
664
671
  aliasKey: 'searchParams',
665
672
  label: 'url参数',
666
673
  type: 'SearchParams'
674
+ }, {
675
+ key: 'routerData',
676
+ label: '路由数据',
677
+ type: 'RouterData'
667
678
  }]
668
679
  },
669
680
  history: {
@@ -692,6 +703,10 @@ var todoActionObject = {
692
703
  aliasKey: 'searchParams',
693
704
  label: 'url参数',
694
705
  type: 'SearchParams'
706
+ }, {
707
+ key: 'routerData',
708
+ label: '路由数据',
709
+ type: 'RouterData'
695
710
  }],
696
711
  classification: [{
697
712
  label: '页面类',
@@ -757,39 +772,6 @@ var todoActionObject = {
757
772
  }],
758
773
  hidden: true
759
774
  },
760
- setStatesByKeyAndValue: {
761
- key: 'setStatesByKeyAndValue',
762
- label: 'App设置自定义页面数据',
763
- todoOptions: [{
764
- key: 'stateName',
765
- label: '自定义属性名',
766
- type: 'Input'
767
- }, {
768
- key: 'stateval',
769
- label: '内容',
770
- type: 'SetExpression'
771
- }],
772
- classification: [{
773
- label: '数据设置',
774
- value: 'setData'
775
- }],
776
- hidden: true
777
- },
778
- getStatesByKey: {
779
- key: 'getStatesByKey',
780
- label: 'App获取自定义页面数据',
781
- todoOptions: [{
782
- key: 'stateName',
783
- label: '自定义属性名',
784
- type: 'Input'
785
- }],
786
- todoCallbacks: ['callback1'],
787
- classification: [{
788
- label: '数据设置',
789
- value: 'setData'
790
- }],
791
- hidden: true
792
- },
793
775
  setCompNestedState: {
794
776
  key: 'setCompNestedState',
795
777
  label: '设置组件属性数据',
@@ -830,7 +812,7 @@ var todoActionObject = {
830
812
  key: 'params',
831
813
  aliasKey: 'setParams',
832
814
  label: '参数',
833
- type: 'SetExpression'
815
+ type: 'SelectParams'
834
816
  }],
835
817
  classification: [{
836
818
  label: '回调',
@@ -862,7 +844,23 @@ var todoActionObject = {
862
844
  todoOptions: [{
863
845
  key: 'params',
864
846
  label: '参数赋值',
865
- type: 'SelectParams'
847
+ type: 'SelectLink',
848
+ props: {
849
+ titleLink: [{
850
+ title: '切换到属性',
851
+ value: 'object',
852
+ key: 'object'
853
+ }, {
854
+ title: '切换根节点',
855
+ value: '',
856
+ key: 'root'
857
+ }, {
858
+ title: '清空赋值',
859
+ value: 'cleanValue',
860
+ key: 'cleanValue'
861
+ }],
862
+ valueType: 'Table'
863
+ }
866
864
  }]
867
865
  },
868
866
  resetForm: {
@@ -902,7 +900,23 @@ var todoActionObject = {
902
900
  todoOptions: [{
903
901
  key: 'params',
904
902
  label: '参数赋值',
905
- type: 'SelectParams'
903
+ type: 'SelectLink',
904
+ props: {
905
+ titleLink: [{
906
+ title: '切换到属性',
907
+ value: 'object',
908
+ key: 'object'
909
+ }, {
910
+ title: '切换根节点',
911
+ value: '',
912
+ key: 'root'
913
+ }, {
914
+ title: '清空赋值',
915
+ value: 'cleanValue',
916
+ key: 'cleanValue'
917
+ }],
918
+ valueType: 'Table'
919
+ }
906
920
  }]
907
921
  },
908
922
  resetCurrentForm: {
@@ -1004,12 +1018,20 @@ var todoActionObject = {
1004
1018
  key: 'labelKey',
1005
1019
  aliasKey: 'selectLabelKeyForRC',
1006
1020
  label: '显示内容字段',
1007
- type: 'SetExpressionKey'
1021
+ type: 'SetExpressionKey',
1022
+ props: {
1023
+ // 选择后只回填参数key,不回填表达式
1024
+ isFillKey: true
1025
+ }
1008
1026
  }, {
1009
1027
  key: 'valueKey',
1010
1028
  aliasKey: 'selectValueKeyForRC',
1011
1029
  label: '显示值字段',
1012
- type: 'SetExpressionKey'
1030
+ type: 'SetExpressionKey',
1031
+ props: {
1032
+ // 选择后只回填参数key,不回填表达式
1033
+ isFillKey: true
1034
+ }
1013
1035
  }],
1014
1036
  todoCallbacks: ['callback1']
1015
1037
  },
@@ -1025,12 +1047,20 @@ var todoActionObject = {
1025
1047
  key: 'labelKey',
1026
1048
  aliasKey: 'selectLabelKey',
1027
1049
  label: '选项内容字段',
1028
- type: 'SetExpressionKey'
1050
+ type: 'SetExpressionKey',
1051
+ props: {
1052
+ // 选择后只回填参数key,不回填表达式
1053
+ isFillKey: true
1054
+ }
1029
1055
  }, {
1030
1056
  key: 'valueKey',
1031
1057
  aliasKey: 'selectValueKey',
1032
1058
  label: '选项值字段',
1033
- type: 'SetExpressionKey'
1059
+ type: 'SetExpressionKey',
1060
+ props: {
1061
+ // 选择后只回填参数key,不回填表达式
1062
+ isFillKey: true
1063
+ }
1034
1064
  }],
1035
1065
  todoCallbacks: ['callback1']
1036
1066
  },
@@ -1055,21 +1085,37 @@ var todoActionObject = {
1055
1085
  }, {
1056
1086
  key: 'labelKey',
1057
1087
  label: '节点名称取值字段',
1058
- type: 'SetExpressionKey'
1088
+ type: 'SetExpressionKey',
1089
+ props: {
1090
+ // 选择后只回填参数key,不回填表达式
1091
+ isFillKey: true
1092
+ }
1059
1093
  }, {
1060
1094
  key: 'nodeValueKey',
1061
1095
  label: '节点key取值字段',
1062
- type: 'SetExpressionKey'
1096
+ type: 'SetExpressionKey',
1097
+ props: {
1098
+ // 选择后只回填参数key,不回填表达式
1099
+ isFillKey: true
1100
+ }
1063
1101
  }, {
1064
1102
  key: 'selectable',
1065
1103
  label: '节点可选字段编码',
1066
1104
  type: 'SetExpressionKey',
1067
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1105
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1106
+ props: {
1107
+ // 选择后只回填参数key,不回填表达式
1108
+ isFillKey: true
1109
+ }
1068
1110
  }, {
1069
1111
  key: 'childrenKey',
1070
1112
  label: '下级列表取值字段',
1071
1113
  type: 'SetExpressionKey',
1072
- labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1114
+ labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n ',
1115
+ props: {
1116
+ // 选择后只回填参数key,不回填表达式
1117
+ isFillKey: true
1118
+ }
1073
1119
  }],
1074
1120
  todoCallbacks: ['callback1']
1075
1121
  },
@@ -1088,21 +1134,37 @@ var todoActionObject = {
1088
1134
  }, {
1089
1135
  key: 'labelKey',
1090
1136
  label: '节点名称取值字段',
1091
- type: 'SetExpressionKey'
1137
+ type: 'SetExpressionKey',
1138
+ props: {
1139
+ // 选择后只回填参数key,不回填表达式
1140
+ isFillKey: true
1141
+ }
1092
1142
  }, {
1093
1143
  key: 'nodeValueKey',
1094
1144
  label: '节点key取值字段',
1095
- type: 'SetExpressionKey'
1145
+ type: 'SetExpressionKey',
1146
+ props: {
1147
+ // 选择后只回填参数key,不回填表达式
1148
+ isFillKey: true
1149
+ }
1096
1150
  }, {
1097
1151
  key: 'selectable',
1098
1152
  label: '节点可选字段编码',
1099
1153
  type: 'SetExpressionKey',
1100
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1154
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1155
+ props: {
1156
+ // 选择后只回填参数key,不回填表达式
1157
+ isFillKey: true
1158
+ }
1101
1159
  }, {
1102
1160
  key: 'childrenKey',
1103
1161
  label: '下级列表取值字段',
1104
1162
  type: 'SetExpressionKey',
1105
- labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1163
+ labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n ',
1164
+ props: {
1165
+ // 选择后只回填参数key,不回填表达式
1166
+ isFillKey: true
1167
+ }
1106
1168
  }],
1107
1169
  todoCallbacks: ['callback1']
1108
1170
  },
@@ -1117,25 +1179,45 @@ var todoActionObject = {
1117
1179
  }, {
1118
1180
  key: 'labelKey',
1119
1181
  label: '节点名称取值字段',
1120
- type: 'SetExpressionKey'
1182
+ type: 'SetExpressionKey',
1183
+ props: {
1184
+ // 选择后只回填参数key,不回填表达式
1185
+ isFillKey: true
1186
+ }
1121
1187
  }, {
1122
1188
  key: 'nodeValueKey',
1123
1189
  label: '节点key取值字段',
1124
- type: 'SetExpressionKey'
1190
+ type: 'SetExpressionKey',
1191
+ props: {
1192
+ // 选择后只回填参数key,不回填表达式
1193
+ isFillKey: true
1194
+ }
1125
1195
  }, {
1126
1196
  key: 'urlValueKey',
1127
1197
  label: '节点url取值字段',
1128
- type: 'SetExpressionKey'
1198
+ type: 'SetExpressionKey',
1199
+ props: {
1200
+ // 选择后只回填参数key,不回填表达式
1201
+ isFillKey: true
1202
+ }
1129
1203
  }, {
1130
1204
  key: 'selectable',
1131
1205
  label: '节点可选字段编码',
1132
1206
  type: 'SetExpressionKey',
1133
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1207
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1208
+ props: {
1209
+ // 选择后只回填参数key,不回填表达式
1210
+ isFillKey: true
1211
+ }
1134
1212
  }, {
1135
1213
  key: 'childrenKey',
1136
1214
  label: '下级列表取值字段',
1137
1215
  type: 'SetExpressionKey',
1138
- labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1216
+ labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n ',
1217
+ props: {
1218
+ // 选择后只回填参数key,不回填表达式
1219
+ isFillKey: true
1220
+ }
1139
1221
  }],
1140
1222
  todoCallbacks: ['callback1']
1141
1223
  },
@@ -1150,22 +1232,38 @@ var todoActionObject = {
1150
1232
  }, {
1151
1233
  key: 'nodeKey',
1152
1234
  label: '操作节点key',
1153
- type: 'SetExpression'
1235
+ type: 'SetExpression',
1236
+ props: {
1237
+ // 选择后只回填参数key,不回填表达式
1238
+ isFillKey: true
1239
+ }
1154
1240
  }, {
1155
1241
  key: 'title',
1156
1242
  aliasKey: 'titleKey',
1157
1243
  label: '节点名称取值字段',
1158
- type: 'SetExpression'
1244
+ type: 'SetExpression',
1245
+ props: {
1246
+ // 选择后只回填参数key,不回填表达式
1247
+ isFillKey: true
1248
+ }
1159
1249
  }, {
1160
1250
  key: 'key',
1161
1251
  aliasKey: 'valueKey',
1162
1252
  label: '节点key取值字段',
1163
- type: 'SetExpression'
1253
+ type: 'SetExpression',
1254
+ props: {
1255
+ // 选择后只回填参数key,不回填表达式
1256
+ isFillKey: true
1257
+ }
1164
1258
  }, {
1165
1259
  key: 'selectable',
1166
1260
  label: '节点可选字段编码',
1167
1261
  type: 'SetExpressionKey',
1168
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1262
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1263
+ props: {
1264
+ // 选择后只回填参数key,不回填表达式
1265
+ isFillKey: true
1266
+ }
1169
1267
  }]
1170
1268
  },
1171
1269
  appendMenuNodeData: {
@@ -1180,16 +1278,28 @@ var todoActionObject = {
1180
1278
  key: 'title',
1181
1279
  aliasKey: 'titleKey',
1182
1280
  label: '节点名称取值字段',
1183
- type: 'SetExpression'
1281
+ type: 'SetExpression',
1282
+ props: {
1283
+ // 选择后只回填参数key,不回填表达式
1284
+ isFillKey: true
1285
+ }
1184
1286
  }, {
1185
1287
  key: 'key',
1186
1288
  aliasKey: 'valueKey',
1187
1289
  label: '节点key取值字段',
1188
- type: 'SetExpression'
1290
+ type: 'SetExpression',
1291
+ props: {
1292
+ // 选择后只回填参数key,不回填表达式
1293
+ isFillKey: true
1294
+ }
1189
1295
  }, {
1190
1296
  key: 'childrenKey',
1191
1297
  label: '下级列表取值字段',
1192
1298
  type: 'SetExpressionKey',
1299
+ props: {
1300
+ // 选择后只回填参数key,不回填表达式
1301
+ isFillKey: true
1302
+ },
1193
1303
  labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1194
1304
  }],
1195
1305
  todoCallbacks: ['callback1']
@@ -1301,7 +1411,23 @@ var todoActionObject = {
1301
1411
  todoOptions: [{
1302
1412
  key: 'params',
1303
1413
  label: '参数赋值',
1304
- type: 'SelectParams'
1414
+ type: 'SelectLink',
1415
+ props: {
1416
+ titleLink: [{
1417
+ title: '切换到属性',
1418
+ value: 'object',
1419
+ key: 'object'
1420
+ }, {
1421
+ title: '切换根节点',
1422
+ value: '',
1423
+ key: 'root'
1424
+ }, {
1425
+ title: '清空赋值',
1426
+ value: 'cleanValue',
1427
+ key: 'cleanValue'
1428
+ }],
1429
+ valueType: 'Table'
1430
+ }
1305
1431
  }]
1306
1432
  },
1307
1433
  delTableRow: {
@@ -1310,7 +1436,7 @@ var todoActionObject = {
1310
1436
  todoOptions: [{
1311
1437
  key: 'params',
1312
1438
  label: '参数赋值',
1313
- type: 'SelectParams'
1439
+ type: 'SetExpression'
1314
1440
  }]
1315
1441
  },
1316
1442
  setSelectedRowKeys: {
@@ -1474,12 +1600,20 @@ var todoActionObject = {
1474
1600
  key: 'labelKey',
1475
1601
  label: '内容映射字段',
1476
1602
  type: 'SetExpressionKey',
1477
- aliasKey: 'labelMapKey'
1603
+ aliasKey: 'labelMapKey',
1604
+ props: {
1605
+ // 选择后只回填参数key,不回填表达式
1606
+ isFillKey: true
1607
+ }
1478
1608
  }, {
1479
1609
  key: 'valueKey',
1480
1610
  label: '值映射字段',
1481
1611
  type: 'SetExpressionKey',
1482
- aliasKey: 'valueMapKey'
1612
+ aliasKey: 'valueMapKey',
1613
+ props: {
1614
+ // 选择后只回填参数key,不回填表达式
1615
+ isFillKey: true
1616
+ }
1483
1617
  }],
1484
1618
  todoCallbacks: ['callback1'],
1485
1619
  initClose: true
@@ -1557,33 +1691,6 @@ var todoActionObject = {
1557
1691
  type: 'SetExpression'
1558
1692
  }]
1559
1693
  },
1560
- triggerMobileRelDataSource: {
1561
- key: 'triggerMobileRelDataSource',
1562
- label: '联动设置下拉框选项',
1563
- todoOptions: [{
1564
- key: 'target',
1565
- label: '联动来源',
1566
- type: 'SelectObject'
1567
- }, {
1568
- key: 'arelStaticData',
1569
- label: 'A端静态数据',
1570
- type: 'SelectStaticData',
1571
- props: {
1572
- options: {
1573
- noCustom: true
1574
- }
1575
- }
1576
- }, {
1577
- key: 'zrelStaticData',
1578
- label: 'Z端静态数据',
1579
- type: 'SelectStaticData',
1580
- props: {
1581
- options: {
1582
- noCustom: true
1583
- }
1584
- }
1585
- }]
1586
- },
1587
1694
  validateMsg: {
1588
1695
  key: 'validateMsg',
1589
1696
  label: '校验提示',
@@ -1627,7 +1734,7 @@ var todoActionObject = {
1627
1734
  todoOptions: [{
1628
1735
  key: 'inlineeditrow',
1629
1736
  label: '指定行id',
1630
- type: 'SelectParams'
1737
+ type: 'SetExpression'
1631
1738
  }]
1632
1739
  },
1633
1740
  saveInlineRow: {
@@ -1692,6 +1799,14 @@ var todoActionObject = {
1692
1799
  props: {
1693
1800
  placeholder: '包括后缀,如: 表格.xls'
1694
1801
  }
1802
+ }, {
1803
+ key: 'zip',
1804
+ label: '单文件压缩',
1805
+ type: 'Switch',
1806
+ labelTip: '默认为单文件不压缩,多文件压缩,若开启单文件压缩为“是”,则不区分单文件/多文件,都压缩。',
1807
+ props: {
1808
+ defaultValue: false
1809
+ }
1695
1810
  }],
1696
1811
  classification: [{
1697
1812
  label: '下载',
@@ -1749,7 +1864,8 @@ var todoActionObject = {
1749
1864
  label: '定时器',
1750
1865
  value: 'timer'
1751
1866
  }],
1752
- hidden: true
1867
+ hidden: true,
1868
+ isAsync: true
1753
1869
  },
1754
1870
  setInterval: {
1755
1871
  key: 'setInterval',
@@ -1766,7 +1882,8 @@ var todoActionObject = {
1766
1882
  unit: '毫秒'
1767
1883
  }
1768
1884
  }],
1769
- todoCallbacks: ['callback1']
1885
+ todoCallbacks: ['callback1'],
1886
+ isAsync: true
1770
1887
  },
1771
1888
  setTimer: {
1772
1889
  key: 'setTimer',
@@ -1801,7 +1918,8 @@ var todoActionObject = {
1801
1918
  classification: [{
1802
1919
  label: '定时器',
1803
1920
  value: 'timer'
1804
- }]
1921
+ }],
1922
+ isAsync: true
1805
1923
  },
1806
1924
  clearTimer: {
1807
1925
  key: 'clearTimer',
@@ -1860,7 +1978,7 @@ var todoActionObject = {
1860
1978
  todoOptions: [{
1861
1979
  key: 'params',
1862
1980
  label: '参数赋值',
1863
- type: 'SelectParams'
1981
+ type: 'SetExpression'
1864
1982
  }]
1865
1983
  },
1866
1984
  clearDynamicFormValues: {
@@ -1899,14 +2017,15 @@ var todoActionObject = {
1899
2017
  }, {
1900
2018
  key: 'params',
1901
2019
  label: '参数赋值',
1902
- type: 'SelectParams'
2020
+ type: 'ApiRequestSetParams'
1903
2021
  }, {
1904
2022
  key: 'pageNum',
1905
2023
  label: '页码字段名',
1906
2024
  type: 'SetExpression',
1907
2025
  aliasKey: 'aliasPageNum'
1908
2026
  }],
1909
- todoCallbacks: ['callback1', 'callback2']
2027
+ todoCallbacks: ['callback1', 'callback2'],
2028
+ isAsync: true
1910
2029
  },
1911
2030
  loadMoreDataSource: {
1912
2031
  key: 'loadMoreDataSource',
@@ -1952,6 +2071,7 @@ var todoActionObject = {
1952
2071
  }],
1953
2072
  todoCallbacks: ['callback1']
1954
2073
  },
2074
+ // 废弃,禁止使用
1955
2075
  setCompChildrenValue: {
1956
2076
  key: 'setCompChildrenValue',
1957
2077
  label: '赋值',
@@ -1960,8 +2080,10 @@ var todoActionObject = {
1960
2080
  label: '内容',
1961
2081
  type: 'SetExpression'
1962
2082
  }],
1963
- todoCallbacks: ['callback1']
2083
+ todoCallbacks: ['callback1'],
2084
+ hidden: true
1964
2085
  },
2086
+ // 废弃,禁止使用
1965
2087
  setCompContentValue: {
1966
2088
  key: 'setCompContentValue',
1967
2089
  label: '设置内容',
@@ -1970,7 +2092,8 @@ var todoActionObject = {
1970
2092
  label: '内容',
1971
2093
  type: 'SetExpression'
1972
2094
  }],
1973
- todoCallbacks: ['callback1']
2095
+ todoCallbacks: ['callback1'],
2096
+ hidden: true
1974
2097
  },
1975
2098
  setPageSrc: {
1976
2099
  key: 'setPageSrc',
@@ -2069,7 +2192,8 @@ var todoActionObject = {
2069
2192
  }, {
2070
2193
  label: '数据源',
2071
2194
  value: 'dataSource'
2072
- }]
2195
+ }],
2196
+ isAsync: true
2073
2197
  },
2074
2198
  setDataSource: {
2075
2199
  key: 'setDataSource',
@@ -2144,7 +2268,8 @@ var todoActionObject = {
2144
2268
  key: 'value',
2145
2269
  label: '内容',
2146
2270
  type: 'SetExpression'
2147
- }]
2271
+ }],
2272
+ tips: '用于和Web容器消息交互, 需于Web容器研发人员对接。'
2148
2273
  },
2149
2274
  postObjectData: {
2150
2275
  key: 'postObjectData',
@@ -2196,7 +2321,8 @@ var todoActionObject = {
2196
2321
  }, {
2197
2322
  label: '服务请求类',
2198
2323
  value: 'request'
2199
- }]
2324
+ }],
2325
+ isAsync: true
2200
2326
  },
2201
2327
  postParentMessage: {
2202
2328
  key: 'postParentMessage',
@@ -2242,7 +2368,8 @@ var todoActionObject = {
2242
2368
  classification: [{
2243
2369
  label: '数据通信',
2244
2370
  value: 'communicate'
2245
- }]
2371
+ }],
2372
+ isAsync: true
2246
2373
  },
2247
2374
  setRemoteCompProps: {
2248
2375
  key: 'setRemoteCompProps',
@@ -2312,7 +2439,8 @@ var todoActionObject = {
2312
2439
  label: '数据通信',
2313
2440
  value: 'communicate'
2314
2441
  }],
2315
- tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。'
2442
+ tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。',
2443
+ isAsync: true
2316
2444
  },
2317
2445
  callSelfFunc: {
2318
2446
  key: 'callSelfFunc',
@@ -2324,13 +2452,30 @@ var todoActionObject = {
2324
2452
  }, {
2325
2453
  key: 'customFuncParams',
2326
2454
  label: '事件入参',
2327
- type: 'SelectParams'
2455
+ type: 'SelectLink',
2456
+ props: {
2457
+ titleLink: [{
2458
+ title: '切换到属性',
2459
+ value: 'object',
2460
+ key: 'object'
2461
+ }, {
2462
+ title: '切换根节点',
2463
+ value: '',
2464
+ key: 'root'
2465
+ }, {
2466
+ title: '清空赋值',
2467
+ value: 'cleanValue',
2468
+ key: 'cleanValue'
2469
+ }],
2470
+ valueType: 'Table'
2471
+ }
2328
2472
  }],
2329
2473
  todoCallbacks: ['callback1', 'callback2'],
2330
2474
  classification: [{
2331
2475
  label: '数据通信',
2332
2476
  value: 'communicate'
2333
- }]
2477
+ }],
2478
+ isAsync: true
2334
2479
  },
2335
2480
  callParentCustomFunc: {
2336
2481
  key: 'callParentCustomFunc',
@@ -2346,13 +2491,30 @@ var todoActionObject = {
2346
2491
  }, {
2347
2492
  key: 'customFuncParams',
2348
2493
  label: '事件入参',
2349
- type: 'SelectParams'
2494
+ type: 'SelectLink',
2495
+ props: {
2496
+ titleLink: [{
2497
+ title: '切换到属性',
2498
+ value: 'object',
2499
+ key: 'object'
2500
+ }, {
2501
+ title: '切换根节点',
2502
+ value: '',
2503
+ key: 'root'
2504
+ }, {
2505
+ title: '清空赋值',
2506
+ value: 'cleanValue',
2507
+ key: 'cleanValue'
2508
+ }],
2509
+ valueType: 'Table'
2510
+ }
2350
2511
  }],
2351
2512
  todoCallbacks: ['callback1', 'callback2'],
2352
2513
  classification: [{
2353
2514
  label: '数据通信',
2354
2515
  value: 'communicate'
2355
- }]
2516
+ }],
2517
+ isAsync: true
2356
2518
  },
2357
2519
  callCustomPageFunc: {
2358
2520
  key: 'callCustomPageFunc',
@@ -2368,14 +2530,31 @@ var todoActionObject = {
2368
2530
  }, {
2369
2531
  key: 'customFuncParams',
2370
2532
  label: '事件入参',
2371
- type: 'SelectParams'
2533
+ type: 'SelectLink',
2534
+ props: {
2535
+ titleLink: [{
2536
+ title: '切换到属性',
2537
+ value: 'object',
2538
+ key: 'object'
2539
+ }, {
2540
+ title: '切换根节点',
2541
+ value: '',
2542
+ key: 'root'
2543
+ }, {
2544
+ title: '清空赋值',
2545
+ value: 'cleanValue',
2546
+ key: 'cleanValue'
2547
+ }],
2548
+ valueType: 'Table'
2549
+ }
2372
2550
  }],
2373
2551
  todoCallbacks: ['callback1', 'callback2'],
2374
2552
  classification: [{
2375
2553
  label: '数据通信',
2376
2554
  value: 'communicate'
2377
2555
  }],
2378
- tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);'
2556
+ tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);',
2557
+ isAsync: true
2379
2558
  },
2380
2559
  exportBusiObjectData: {
2381
2560
  key: 'exportBusiObjectData',
@@ -2388,10 +2567,41 @@ var todoActionObject = {
2388
2567
  isRequired: true,
2389
2568
  valuePropName: 'busiObjectId'
2390
2569
  }
2570
+ }, {
2571
+ key: 'async',
2572
+ label: '异步导出',
2573
+ type: 'RadioButton',
2574
+ labelTip: '数量超过1万请勾选使用异步导出',
2575
+ defaultValue: 'sync',
2576
+ props: {
2577
+ options: [{
2578
+ title: '开启',
2579
+ value: 'async'
2580
+ }, {
2581
+ title: '关闭',
2582
+ value: 'sync'
2583
+ }]
2584
+ }
2391
2585
  }, {
2392
2586
  key: 'busiObjectFilterParams',
2393
2587
  label: '查询条件',
2394
- type: 'SelectParams'
2588
+ type: 'SelectLink',
2589
+ props: {
2590
+ titleLink: [{
2591
+ title: '切换到属性',
2592
+ value: 'object',
2593
+ key: 'object'
2594
+ }, {
2595
+ title: '切换根节点',
2596
+ value: '',
2597
+ key: 'root'
2598
+ }, {
2599
+ title: '清空赋值',
2600
+ value: 'cleanValue',
2601
+ key: 'cleanValue'
2602
+ }],
2603
+ valueType: 'Table'
2604
+ }
2395
2605
  }, {
2396
2606
  key: 'custFileName',
2397
2607
  label: '自定义文件名',
@@ -2418,6 +2628,21 @@ var todoActionObject = {
2418
2628
  isRequired: true,
2419
2629
  valuePropName: 'custFileName'
2420
2630
  }
2631
+ }, {
2632
+ key: 'async',
2633
+ label: '异步导出',
2634
+ type: 'RadioButton',
2635
+ labelTip: '数量超过1万请勾选使用异步导出',
2636
+ defaultValue: 'sync',
2637
+ props: {
2638
+ options: [{
2639
+ title: '开启',
2640
+ value: 'async'
2641
+ }, {
2642
+ title: '关闭',
2643
+ value: 'sync'
2644
+ }]
2645
+ }
2421
2646
  }, {
2422
2647
  key: 'exportSheet',
2423
2648
  label: 'sheet页设置',
@@ -2446,7 +2671,7 @@ var todoActionObject = {
2446
2671
  // 入参
2447
2672
  key: 'filterParams',
2448
2673
  label: '查询条件',
2449
- type: 'SelectParams'
2674
+ type: 'ApiRequestSetParams'
2450
2675
  }, {
2451
2676
  key: 'objectFields',
2452
2677
  label: '导出字段',
@@ -2510,7 +2735,8 @@ var todoActionObject = {
2510
2735
  classification: [{
2511
2736
  label: '导入导出',
2512
2737
  value: 'export'
2513
- }]
2738
+ }],
2739
+ isAsync: true
2514
2740
  },
2515
2741
  exportSQLServiceData: {
2516
2742
  key: 'exportSQLServiceData',
@@ -2519,6 +2745,21 @@ var todoActionObject = {
2519
2745
  key: 'sqlServiceCode',
2520
2746
  label: '选择SQL查询服务',
2521
2747
  type: 'SelectSQLServiceCode'
2748
+ }, {
2749
+ key: 'async',
2750
+ label: '异步导出',
2751
+ type: 'RadioButton',
2752
+ labelTip: '数量超过1万请勾选使用异步导出',
2753
+ defaultValue: 'sync',
2754
+ props: {
2755
+ options: [{
2756
+ title: '开启',
2757
+ value: 'async'
2758
+ }, {
2759
+ title: '关闭',
2760
+ value: 'sync'
2761
+ }]
2762
+ }
2522
2763
  }, {
2523
2764
  key: 'sqlServiceFields',
2524
2765
  label: '导出字段',
@@ -2526,7 +2767,23 @@ var todoActionObject = {
2526
2767
  }, {
2527
2768
  key: 'busiObjectFilterParams',
2528
2769
  label: '查询条件',
2529
- type: 'SelectParams'
2770
+ type: 'SelectLink',
2771
+ props: {
2772
+ titleLink: [{
2773
+ title: '切换到属性',
2774
+ value: 'object',
2775
+ key: 'object'
2776
+ }, {
2777
+ title: '切换根节点',
2778
+ value: '',
2779
+ key: 'root'
2780
+ }, {
2781
+ title: '清空赋值',
2782
+ value: 'cleanValue',
2783
+ key: 'cleanValue'
2784
+ }],
2785
+ valueType: 'Table'
2786
+ }
2530
2787
  }, {
2531
2788
  key: 'custFileName',
2532
2789
  label: '自定义文件名',
@@ -2563,7 +2820,7 @@ var todoActionObject = {
2563
2820
  }
2564
2821
  }, {
2565
2822
  key: 'busiObjectFields',
2566
- label: '筛选字段',
2823
+ label: '导入字段设置',
2567
2824
  type: 'SelectBusiObjectFields',
2568
2825
  props: {
2569
2826
  isRequired: true,
@@ -2603,7 +2860,8 @@ var todoActionObject = {
2603
2860
  classification: [{
2604
2861
  label: '导入导出',
2605
2862
  value: 'export'
2606
- }]
2863
+ }],
2864
+ isAsync: true
2607
2865
  },
2608
2866
  exportCustomBusiObjectData: {
2609
2867
  key: 'exportCustomBusiObjectData',
@@ -2616,6 +2874,21 @@ var todoActionObject = {
2616
2874
  isRequired: true,
2617
2875
  valuePropName: 'busiObjectId'
2618
2876
  }
2877
+ }, {
2878
+ key: 'async',
2879
+ label: '异步导出',
2880
+ type: 'RadioButton',
2881
+ labelTip: '数量超过1万请勾选使用异步导出',
2882
+ defaultValue: 'sync',
2883
+ props: {
2884
+ options: [{
2885
+ title: '开启',
2886
+ value: 'async'
2887
+ }, {
2888
+ title: '关闭',
2889
+ value: 'sync'
2890
+ }]
2891
+ }
2619
2892
  }, {
2620
2893
  key: 'busiObjectFields',
2621
2894
  label: '导出字段',
@@ -2627,7 +2900,23 @@ var todoActionObject = {
2627
2900
  }, {
2628
2901
  key: 'busiObjectFilterParams',
2629
2902
  label: '查询条件',
2630
- type: 'SelectParams'
2903
+ type: 'SelectLink',
2904
+ props: {
2905
+ titleLink: [{
2906
+ title: '切换到属性',
2907
+ value: 'object',
2908
+ key: 'object'
2909
+ }, {
2910
+ title: '切换根节点',
2911
+ value: '',
2912
+ key: 'root'
2913
+ }, {
2914
+ title: '清空赋值',
2915
+ value: 'cleanValue',
2916
+ key: 'cleanValue'
2917
+ }],
2918
+ valueType: 'Table'
2919
+ }
2631
2920
  }, {
2632
2921
  key: 'custFileName',
2633
2922
  label: '自定义文件名',
@@ -2650,7 +2939,7 @@ var todoActionObject = {
2650
2939
  key: 'fileName',
2651
2940
  aliasKey: 'expFileName',
2652
2941
  label: '文件名',
2653
- type: 'input',
2942
+ type: 'Input',
2654
2943
  props: {
2655
2944
  placeholder: '请输入导出的文件名'
2656
2945
  }
@@ -2686,9 +2975,18 @@ var todoActionObject = {
2686
2975
  isRequired: true,
2687
2976
  valuePropName: 'custUrl',
2688
2977
  options: {
2689
- fileUpload: true,
2690
2978
  refreshKey: ['objectFields'],
2691
- serviceTabs: [SERVICE_KEY.STD, SERVICE_KEY.INNER]
2979
+ serviceTabs: [{
2980
+ key: SERVICE_KEY.STD,
2981
+ description: '此处仅展示开启文件入参的编排服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数',
2982
+ filterParams: {
2983
+ fileInputEnabled: 'T'
2984
+ }
2985
+ }, {
2986
+ key: SERVICE_KEY.INNER,
2987
+ fileUpload: true,
2988
+ description: '此处仅展示开启上传控件中使用的请求层服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数'
2989
+ }]
2692
2990
  }
2693
2991
  }
2694
2992
  }, {
@@ -2708,7 +3006,8 @@ var todoActionObject = {
2708
3006
  classification: [{
2709
3007
  label: '导入导出',
2710
3008
  value: 'export'
2711
- }]
3009
+ }],
3010
+ isAsync: true
2712
3011
  },
2713
3012
  previewFile: {
2714
3013
  key: 'previewFile',
@@ -2729,7 +3028,10 @@ var todoActionObject = {
2729
3028
  todoOptions: [{
2730
3029
  key: 'compToPrint',
2731
3030
  label: '自定义打印区域(可选)',
2732
- type: 'CompTree'
3031
+ type: 'CompTree',
3032
+ props: {
3033
+ selectType: 'free'
3034
+ }
2733
3035
  }],
2734
3036
  classification: [{
2735
3037
  label: '页面类',
@@ -3000,7 +3302,8 @@ var todoActionObject = {
3000
3302
  classification: [{
3001
3303
  label: '其他',
3002
3304
  value: 'others'
3003
- }]
3305
+ }],
3306
+ isAsync: true
3004
3307
  },
3005
3308
  reloadGanttData: {
3006
3309
  key: 'reloadGanttData',
@@ -3166,7 +3469,8 @@ var todoActionObject = {
3166
3469
  label: '其他',
3167
3470
  value: 'others'
3168
3471
  }],
3169
- tips: '注意:如果需要配合退出事件,请在代码块中增加return true'
3472
+ tips: '注意:如果需要配合退出事件,请在代码块中增加return true',
3473
+ isAsync: true
3170
3474
  },
3171
3475
  getItemFromLocalStorage: {
3172
3476
  key: 'getItemFromLocalStorage',
@@ -3268,7 +3572,8 @@ var todoActionObject = {
3268
3572
  classification: [{
3269
3573
  label: '其他',
3270
3574
  value: 'others'
3271
- }]
3575
+ }],
3576
+ isAsync: true
3272
3577
  },
3273
3578
  validateTableData: {
3274
3579
  key: 'validateTableData',
@@ -3585,22 +3890,38 @@ var todoActionObject = {
3585
3890
  key: 'labelKey',
3586
3891
  aliasKey: 'selectLabelKey',
3587
3892
  label: '选项内容字段',
3588
- type: 'SetExpressionKey'
3893
+ type: 'SetExpressionKey',
3894
+ props: {
3895
+ // 选择后只回填参数key,不回填表达式
3896
+ isFillKey: true
3897
+ }
3589
3898
  }, {
3590
3899
  key: 'valueKey',
3591
3900
  aliasKey: 'selectValueKey',
3592
3901
  label: '选项值字段',
3593
- type: 'SetExpressionKey'
3902
+ type: 'SetExpressionKey',
3903
+ props: {
3904
+ // 选择后只回填参数key,不回填表达式
3905
+ isFillKey: true
3906
+ }
3594
3907
  }, {
3595
3908
  key: 'descriptionKey',
3596
3909
  aliasKey: 'selectDescriptionKey',
3597
3910
  label: '选项描述字段',
3598
- type: 'SetExpressionKey'
3911
+ type: 'SetExpressionKey',
3912
+ props: {
3913
+ // 选择后只回填参数key,不回填表达式
3914
+ isFillKey: true
3915
+ }
3599
3916
  }, {
3600
3917
  key: 'disabledKey',
3601
3918
  aliasKey: 'selectDisabledKey',
3602
3919
  label: '选项禁用字段',
3603
- type: 'SetExpressionKey'
3920
+ type: 'SetExpressionKey',
3921
+ props: {
3922
+ // 选择后只回填参数key,不回填表达式
3923
+ isFillKey: true
3924
+ }
3604
3925
  }],
3605
3926
  todoCallbacks: ['callback1']
3606
3927
  },
@@ -3713,17 +4034,116 @@ var todoActionObject = {
3713
4034
  }, {
3714
4035
  key: 'customFuncParams',
3715
4036
  label: '事件入参',
3716
- type: 'SelectParams'
4037
+ type: 'SelectLink',
4038
+ props: {
4039
+ titleLink: [{
4040
+ title: '切换到属性',
4041
+ value: 'object',
4042
+ key: 'object'
4043
+ }, {
4044
+ title: '切换根节点',
4045
+ value: '',
4046
+ key: 'root'
4047
+ }, {
4048
+ title: '清空赋值',
4049
+ value: 'cleanValue',
4050
+ key: 'cleanValue'
4051
+ }],
4052
+ valueType: 'Table'
4053
+ }
3717
4054
  }],
3718
- todoCallbacks: ['callback1', 'callback2']
4055
+ todoCallbacks: ['callback1', 'callback2'],
4056
+ isAsync: true
4057
+ },
4058
+ sysSetFormItemStatus: {
4059
+ key: 'sysSetFormItemStatus',
4060
+ label: '设置表单控件状态',
4061
+ classification: [{
4062
+ label: '常用',
4063
+ value: 'common'
4064
+ }, {
4065
+ label: '数据设置',
4066
+ value: 'setData'
4067
+ }],
4068
+ todoOptions: [{
4069
+ key: 'compid',
4070
+ type: 'ListGroup',
4071
+ label: '组件配置',
4072
+ props: {
4073
+ showAdd: true,
4074
+ noRepeatSelect: {
4075
+ key: 'compid'
4076
+ },
4077
+ options: [{
4078
+ key: 'compid',
4079
+ type: "SelectComp",
4080
+ label: '组件选择',
4081
+ description: '仅支持选择非渲染容器下的“表单”组件',
4082
+ props: {
4083
+ includeType: ['Form', 'DForm'],
4084
+ required: true
4085
+ }
4086
+ }, {
4087
+ key: 'formItemList',
4088
+ type: "SetExpression",
4089
+ label: '内容',
4090
+ description: '需要接受格式为[{"attrCode": "item_order_name","status": 2}]的对象数组',
4091
+ props: {
4092
+ required: true
4093
+ }
4094
+ }, {
4095
+ key: 'labelKey',
4096
+ type: "SetExpression",
4097
+ label: '选项表单编码字段',
4098
+ description: '表单编码字段attrCode的节点别名',
4099
+ props: {}
4100
+ }, {
4101
+ key: 'valueKey',
4102
+ type: "SetExpression",
4103
+ label: '选项值字段',
4104
+ description: '表单状态字段status的节点别名 (1 编辑, 2 隐藏, 3 禁用 4 只读)',
4105
+ props: {}
4106
+ }],
4107
+ titlePrefix: '内容配置'
4108
+ },
4109
+ hideLabel: true
4110
+ }],
4111
+ remarks: [{
4112
+ "label": "适用场景",
4113
+ "content": "支持批量对表单内控件进行状态控制,例如:通过服务或其他方式返回字段编码和状态值,根据状态值设置表单内对应控件是否可编辑、是否隐藏等,状态值分别是:1 编辑,2 隐藏, 3 禁用, 4 只读 \n\n 只支持当前页面表单,如需控制业务组件或其他容器内的表单,请在业务组件中配置"
4114
+ }, {
4115
+ "label": "配置说明",
4116
+ "content": "选择返回数据的内容节点,设置字段编码和状态值的取值字段,根据状态值设置控件的状态"
4117
+ }]
4118
+ },
4119
+ customPrintOrExport: {
4120
+ key: 'customPrintOrExport',
4121
+ label: '自定义打印/导出',
4122
+ todoOptions: [{
4123
+ key: 'operateType',
4124
+ label: '操作类型',
4125
+ type: 'CustomOperateType'
4126
+ }, {
4127
+ key: 'customSelectComp',
4128
+ label: '选择打印组件',
4129
+ type: 'CustomSelectComp',
4130
+ props: {
4131
+ isRequired: true
4132
+ }
4133
+ }],
4134
+ todoCallbacks: ['callback1', 'callback2'],
4135
+ classification: [{
4136
+ label: '常用',
4137
+ value: 'common'
4138
+ }]
3719
4139
  }
3720
4140
  };
3721
- var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridge', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showAppCustomModal', 'showDrawer', 'historyPush', 'historyReplace', 'history', 'dropPageByCatch', 'historyGoBack', 'setStatesByKeyAndValue', 'getStatesByKey', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'setDownloadResponse', 'saveBlobFile', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'validateAllAppForm', 'getAllFormValues', 'resetAllForm', 'pushScenePage', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData',
4141
+ var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridge', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showAppCustomModal', 'historyPush', 'historyReplace', 'history', 'dropPageByCatch', 'historyGoBack', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'setDownloadResponse', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'validateAllAppForm', 'getAllFormValues', 'resetAllForm', 'pushScenePage', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc',
3722
4142
  // 'previewFile',
3723
- 'return', 'copyToClipboard', 'addDebugger', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState'];
4143
+ 'return', 'copyToClipboard', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus'];
3724
4144
  var pcTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showCustomModal', 'setModalTitle', 'showDrawer', 'setDrawerTitle', 'historyPush', 'historyReplace', 'history', 'historyGoBack', 'dropPageByCatch', 'setCustomState', 'getCustomState', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'validateAllForm', 'getAllFormValues', 'resetAllForm', 'setDownloadResponse', 'saveBlobFile', 'downloadByFileId', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'callFuncComp', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData',
3725
4145
  // 'previewFile',
3726
- 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState'];
4146
+ 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState', 'customPrintOrExport'];
3727
4147
  // 指定页面类型展示动作,别的类型需过滤掉该动作
3728
4148
  var pcPageTypeTodoActionKeys = {
3729
4149
  'Modal': ['setModalTitle'],