@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
@@ -102,7 +102,7 @@ var todoActionObject = {
102
102
  }, {
103
103
  key: 'params',
104
104
  label: '参数赋值',
105
- type: 'SelectParams'
105
+ type: 'ApiRequestSetParams'
106
106
  }],
107
107
  todoCallbacks: ['callback1', 'callback2'],
108
108
  classification: [{
@@ -111,7 +111,8 @@ var todoActionObject = {
111
111
  }, {
112
112
  label: '服务请求类',
113
113
  value: 'request'
114
- }]
114
+ }],
115
+ isAsync: true
115
116
  },
116
117
  JSBridge: {
117
118
  key: 'JSBridge',
@@ -220,7 +221,7 @@ var todoActionObject = {
220
221
  key: 'workOrderId',
221
222
  aliasKey: 'flowWorkOrderId',
222
223
  label: '业务工单 ID',
223
- type: 'SelectParams'
224
+ type: 'SetExpression'
224
225
  }, {
225
226
  key: 'workOrderType',
226
227
  label: '业务工单类型',
@@ -502,11 +503,11 @@ var todoActionObject = {
502
503
  }, {
503
504
  key: 'title',
504
505
  label: '标题',
505
- type: 'SetParamsExpression'
506
+ type: 'SetExpression'
506
507
  }, {
507
508
  key: 'content',
508
509
  label: '内容',
509
- type: 'SetParamsExpression'
510
+ type: 'SetExpression'
510
511
  }, {
511
512
  key: 'okText',
512
513
  label: '确认按钮文本',
@@ -543,7 +544,8 @@ var todoActionObject = {
543
544
  classification: [{
544
545
  label: '消息&弹窗',
545
546
  value: 'modal'
546
- }]
547
+ }],
548
+ isAsync: true
547
549
  },
548
550
  showAppCustomModal: {
549
551
  key: 'showAppCustomModal',
@@ -562,7 +564,8 @@ var todoActionObject = {
562
564
  label: '消息&弹窗',
563
565
  value: 'modal'
564
566
  }],
565
- tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉'
567
+ tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉',
568
+ isAsync: true
566
569
  },
567
570
  setModalTitle: {
568
571
  key: 'setModalTitle',
@@ -570,7 +573,7 @@ var todoActionObject = {
570
573
  todoOptions: [{
571
574
  key: 'title',
572
575
  label: '弹窗标题',
573
- type: 'SetParamsExpression'
576
+ type: 'SetExpression'
574
577
  }],
575
578
  classification: [{
576
579
  label: '消息&弹窗',
@@ -602,7 +605,7 @@ var todoActionObject = {
602
605
  todoOptions: [{
603
606
  key: 'title',
604
607
  label: '推拉门标题',
605
- type: 'SetParamsExpression'
608
+ type: 'SetExpression'
606
609
  }],
607
610
  classification: [{
608
611
  label: '消息&弹窗',
@@ -644,6 +647,10 @@ var todoActionObject = {
644
647
  aliasKey: 'searchParams',
645
648
  label: 'url参数',
646
649
  type: 'SearchParams'
650
+ }, {
651
+ key: 'routerData',
652
+ label: '路由数据',
653
+ type: 'RouterData'
647
654
  }]
648
655
  },
649
656
  historyReplace: {
@@ -658,6 +665,10 @@ var todoActionObject = {
658
665
  aliasKey: 'searchParams',
659
666
  label: 'url参数',
660
667
  type: 'SearchParams'
668
+ }, {
669
+ key: 'routerData',
670
+ label: '路由数据',
671
+ type: 'RouterData'
661
672
  }]
662
673
  },
663
674
  history: {
@@ -686,6 +697,10 @@ var todoActionObject = {
686
697
  aliasKey: 'searchParams',
687
698
  label: 'url参数',
688
699
  type: 'SearchParams'
700
+ }, {
701
+ key: 'routerData',
702
+ label: '路由数据',
703
+ type: 'RouterData'
689
704
  }],
690
705
  classification: [{
691
706
  label: '页面类',
@@ -751,39 +766,6 @@ var todoActionObject = {
751
766
  }],
752
767
  hidden: true
753
768
  },
754
- setStatesByKeyAndValue: {
755
- key: 'setStatesByKeyAndValue',
756
- label: 'App设置自定义页面数据',
757
- todoOptions: [{
758
- key: 'stateName',
759
- label: '自定义属性名',
760
- type: 'Input'
761
- }, {
762
- key: 'stateval',
763
- label: '内容',
764
- type: 'SetExpression'
765
- }],
766
- classification: [{
767
- label: '数据设置',
768
- value: 'setData'
769
- }],
770
- hidden: true
771
- },
772
- getStatesByKey: {
773
- key: 'getStatesByKey',
774
- label: 'App获取自定义页面数据',
775
- todoOptions: [{
776
- key: 'stateName',
777
- label: '自定义属性名',
778
- type: 'Input'
779
- }],
780
- todoCallbacks: ['callback1'],
781
- classification: [{
782
- label: '数据设置',
783
- value: 'setData'
784
- }],
785
- hidden: true
786
- },
787
769
  setCompNestedState: {
788
770
  key: 'setCompNestedState',
789
771
  label: '设置组件属性数据',
@@ -824,7 +806,7 @@ var todoActionObject = {
824
806
  key: 'params',
825
807
  aliasKey: 'setParams',
826
808
  label: '参数',
827
- type: 'SetExpression'
809
+ type: 'SelectParams'
828
810
  }],
829
811
  classification: [{
830
812
  label: '回调',
@@ -856,7 +838,23 @@ var todoActionObject = {
856
838
  todoOptions: [{
857
839
  key: 'params',
858
840
  label: '参数赋值',
859
- type: 'SelectParams'
841
+ type: 'SelectLink',
842
+ props: {
843
+ titleLink: [{
844
+ title: '切换到属性',
845
+ value: 'object',
846
+ key: 'object'
847
+ }, {
848
+ title: '切换根节点',
849
+ value: '',
850
+ key: 'root'
851
+ }, {
852
+ title: '清空赋值',
853
+ value: 'cleanValue',
854
+ key: 'cleanValue'
855
+ }],
856
+ valueType: 'Table'
857
+ }
860
858
  }]
861
859
  },
862
860
  resetForm: {
@@ -896,7 +894,23 @@ var todoActionObject = {
896
894
  todoOptions: [{
897
895
  key: 'params',
898
896
  label: '参数赋值',
899
- type: 'SelectParams'
897
+ type: 'SelectLink',
898
+ props: {
899
+ titleLink: [{
900
+ title: '切换到属性',
901
+ value: 'object',
902
+ key: 'object'
903
+ }, {
904
+ title: '切换根节点',
905
+ value: '',
906
+ key: 'root'
907
+ }, {
908
+ title: '清空赋值',
909
+ value: 'cleanValue',
910
+ key: 'cleanValue'
911
+ }],
912
+ valueType: 'Table'
913
+ }
900
914
  }]
901
915
  },
902
916
  resetCurrentForm: {
@@ -998,12 +1012,20 @@ var todoActionObject = {
998
1012
  key: 'labelKey',
999
1013
  aliasKey: 'selectLabelKeyForRC',
1000
1014
  label: '显示内容字段',
1001
- type: 'SetExpressionKey'
1015
+ type: 'SetExpressionKey',
1016
+ props: {
1017
+ // 选择后只回填参数key,不回填表达式
1018
+ isFillKey: true
1019
+ }
1002
1020
  }, {
1003
1021
  key: 'valueKey',
1004
1022
  aliasKey: 'selectValueKeyForRC',
1005
1023
  label: '显示值字段',
1006
- type: 'SetExpressionKey'
1024
+ type: 'SetExpressionKey',
1025
+ props: {
1026
+ // 选择后只回填参数key,不回填表达式
1027
+ isFillKey: true
1028
+ }
1007
1029
  }],
1008
1030
  todoCallbacks: ['callback1']
1009
1031
  },
@@ -1019,12 +1041,20 @@ var todoActionObject = {
1019
1041
  key: 'labelKey',
1020
1042
  aliasKey: 'selectLabelKey',
1021
1043
  label: '选项内容字段',
1022
- type: 'SetExpressionKey'
1044
+ type: 'SetExpressionKey',
1045
+ props: {
1046
+ // 选择后只回填参数key,不回填表达式
1047
+ isFillKey: true
1048
+ }
1023
1049
  }, {
1024
1050
  key: 'valueKey',
1025
1051
  aliasKey: 'selectValueKey',
1026
1052
  label: '选项值字段',
1027
- type: 'SetExpressionKey'
1053
+ type: 'SetExpressionKey',
1054
+ props: {
1055
+ // 选择后只回填参数key,不回填表达式
1056
+ isFillKey: true
1057
+ }
1028
1058
  }],
1029
1059
  todoCallbacks: ['callback1']
1030
1060
  },
@@ -1049,21 +1079,37 @@ var todoActionObject = {
1049
1079
  }, {
1050
1080
  key: 'labelKey',
1051
1081
  label: '节点名称取值字段',
1052
- type: 'SetExpressionKey'
1082
+ type: 'SetExpressionKey',
1083
+ props: {
1084
+ // 选择后只回填参数key,不回填表达式
1085
+ isFillKey: true
1086
+ }
1053
1087
  }, {
1054
1088
  key: 'nodeValueKey',
1055
1089
  label: '节点key取值字段',
1056
- type: 'SetExpressionKey'
1090
+ type: 'SetExpressionKey',
1091
+ props: {
1092
+ // 选择后只回填参数key,不回填表达式
1093
+ isFillKey: true
1094
+ }
1057
1095
  }, {
1058
1096
  key: 'selectable',
1059
1097
  label: '节点可选字段编码',
1060
1098
  type: 'SetExpressionKey',
1061
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1099
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1100
+ props: {
1101
+ // 选择后只回填参数key,不回填表达式
1102
+ isFillKey: true
1103
+ }
1062
1104
  }, {
1063
1105
  key: 'childrenKey',
1064
1106
  label: '下级列表取值字段',
1065
1107
  type: 'SetExpressionKey',
1066
- 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 '
1108
+ 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 ',
1109
+ props: {
1110
+ // 选择后只回填参数key,不回填表达式
1111
+ isFillKey: true
1112
+ }
1067
1113
  }],
1068
1114
  todoCallbacks: ['callback1']
1069
1115
  },
@@ -1082,21 +1128,37 @@ var todoActionObject = {
1082
1128
  }, {
1083
1129
  key: 'labelKey',
1084
1130
  label: '节点名称取值字段',
1085
- type: 'SetExpressionKey'
1131
+ type: 'SetExpressionKey',
1132
+ props: {
1133
+ // 选择后只回填参数key,不回填表达式
1134
+ isFillKey: true
1135
+ }
1086
1136
  }, {
1087
1137
  key: 'nodeValueKey',
1088
1138
  label: '节点key取值字段',
1089
- type: 'SetExpressionKey'
1139
+ type: 'SetExpressionKey',
1140
+ props: {
1141
+ // 选择后只回填参数key,不回填表达式
1142
+ isFillKey: true
1143
+ }
1090
1144
  }, {
1091
1145
  key: 'selectable',
1092
1146
  label: '节点可选字段编码',
1093
1147
  type: 'SetExpressionKey',
1094
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1148
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1149
+ props: {
1150
+ // 选择后只回填参数key,不回填表达式
1151
+ isFillKey: true
1152
+ }
1095
1153
  }, {
1096
1154
  key: 'childrenKey',
1097
1155
  label: '下级列表取值字段',
1098
1156
  type: 'SetExpressionKey',
1099
- 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 '
1157
+ 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 ',
1158
+ props: {
1159
+ // 选择后只回填参数key,不回填表达式
1160
+ isFillKey: true
1161
+ }
1100
1162
  }],
1101
1163
  todoCallbacks: ['callback1']
1102
1164
  },
@@ -1111,25 +1173,45 @@ var todoActionObject = {
1111
1173
  }, {
1112
1174
  key: 'labelKey',
1113
1175
  label: '节点名称取值字段',
1114
- type: 'SetExpressionKey'
1176
+ type: 'SetExpressionKey',
1177
+ props: {
1178
+ // 选择后只回填参数key,不回填表达式
1179
+ isFillKey: true
1180
+ }
1115
1181
  }, {
1116
1182
  key: 'nodeValueKey',
1117
1183
  label: '节点key取值字段',
1118
- type: 'SetExpressionKey'
1184
+ type: 'SetExpressionKey',
1185
+ props: {
1186
+ // 选择后只回填参数key,不回填表达式
1187
+ isFillKey: true
1188
+ }
1119
1189
  }, {
1120
1190
  key: 'urlValueKey',
1121
1191
  label: '节点url取值字段',
1122
- type: 'SetExpressionKey'
1192
+ type: 'SetExpressionKey',
1193
+ props: {
1194
+ // 选择后只回填参数key,不回填表达式
1195
+ isFillKey: true
1196
+ }
1123
1197
  }, {
1124
1198
  key: 'selectable',
1125
1199
  label: '节点可选字段编码',
1126
1200
  type: 'SetExpressionKey',
1127
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1201
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1202
+ props: {
1203
+ // 选择后只回填参数key,不回填表达式
1204
+ isFillKey: true
1205
+ }
1128
1206
  }, {
1129
1207
  key: 'childrenKey',
1130
1208
  label: '下级列表取值字段',
1131
1209
  type: 'SetExpressionKey',
1132
- 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 '
1210
+ 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 ',
1211
+ props: {
1212
+ // 选择后只回填参数key,不回填表达式
1213
+ isFillKey: true
1214
+ }
1133
1215
  }],
1134
1216
  todoCallbacks: ['callback1']
1135
1217
  },
@@ -1144,22 +1226,38 @@ var todoActionObject = {
1144
1226
  }, {
1145
1227
  key: 'nodeKey',
1146
1228
  label: '操作节点key',
1147
- type: 'SetExpression'
1229
+ type: 'SetExpression',
1230
+ props: {
1231
+ // 选择后只回填参数key,不回填表达式
1232
+ isFillKey: true
1233
+ }
1148
1234
  }, {
1149
1235
  key: 'title',
1150
1236
  aliasKey: 'titleKey',
1151
1237
  label: '节点名称取值字段',
1152
- type: 'SetExpression'
1238
+ type: 'SetExpression',
1239
+ props: {
1240
+ // 选择后只回填参数key,不回填表达式
1241
+ isFillKey: true
1242
+ }
1153
1243
  }, {
1154
1244
  key: 'key',
1155
1245
  aliasKey: 'valueKey',
1156
1246
  label: '节点key取值字段',
1157
- type: 'SetExpression'
1247
+ type: 'SetExpression',
1248
+ props: {
1249
+ // 选择后只回填参数key,不回填表达式
1250
+ isFillKey: true
1251
+ }
1158
1252
  }, {
1159
1253
  key: 'selectable',
1160
1254
  label: '节点可选字段编码',
1161
1255
  type: 'SetExpressionKey',
1162
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1256
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1257
+ props: {
1258
+ // 选择后只回填参数key,不回填表达式
1259
+ isFillKey: true
1260
+ }
1163
1261
  }]
1164
1262
  },
1165
1263
  appendMenuNodeData: {
@@ -1174,16 +1272,28 @@ var todoActionObject = {
1174
1272
  key: 'title',
1175
1273
  aliasKey: 'titleKey',
1176
1274
  label: '节点名称取值字段',
1177
- type: 'SetExpression'
1275
+ type: 'SetExpression',
1276
+ props: {
1277
+ // 选择后只回填参数key,不回填表达式
1278
+ isFillKey: true
1279
+ }
1178
1280
  }, {
1179
1281
  key: 'key',
1180
1282
  aliasKey: 'valueKey',
1181
1283
  label: '节点key取值字段',
1182
- type: 'SetExpression'
1284
+ type: 'SetExpression',
1285
+ props: {
1286
+ // 选择后只回填参数key,不回填表达式
1287
+ isFillKey: true
1288
+ }
1183
1289
  }, {
1184
1290
  key: 'childrenKey',
1185
1291
  label: '下级列表取值字段',
1186
1292
  type: 'SetExpressionKey',
1293
+ props: {
1294
+ // 选择后只回填参数key,不回填表达式
1295
+ isFillKey: true
1296
+ },
1187
1297
  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 '
1188
1298
  }],
1189
1299
  todoCallbacks: ['callback1']
@@ -1295,7 +1405,23 @@ var todoActionObject = {
1295
1405
  todoOptions: [{
1296
1406
  key: 'params',
1297
1407
  label: '参数赋值',
1298
- type: 'SelectParams'
1408
+ type: 'SelectLink',
1409
+ props: {
1410
+ titleLink: [{
1411
+ title: '切换到属性',
1412
+ value: 'object',
1413
+ key: 'object'
1414
+ }, {
1415
+ title: '切换根节点',
1416
+ value: '',
1417
+ key: 'root'
1418
+ }, {
1419
+ title: '清空赋值',
1420
+ value: 'cleanValue',
1421
+ key: 'cleanValue'
1422
+ }],
1423
+ valueType: 'Table'
1424
+ }
1299
1425
  }]
1300
1426
  },
1301
1427
  delTableRow: {
@@ -1304,7 +1430,7 @@ var todoActionObject = {
1304
1430
  todoOptions: [{
1305
1431
  key: 'params',
1306
1432
  label: '参数赋值',
1307
- type: 'SelectParams'
1433
+ type: 'SetExpression'
1308
1434
  }]
1309
1435
  },
1310
1436
  setSelectedRowKeys: {
@@ -1468,12 +1594,20 @@ var todoActionObject = {
1468
1594
  key: 'labelKey',
1469
1595
  label: '内容映射字段',
1470
1596
  type: 'SetExpressionKey',
1471
- aliasKey: 'labelMapKey'
1597
+ aliasKey: 'labelMapKey',
1598
+ props: {
1599
+ // 选择后只回填参数key,不回填表达式
1600
+ isFillKey: true
1601
+ }
1472
1602
  }, {
1473
1603
  key: 'valueKey',
1474
1604
  label: '值映射字段',
1475
1605
  type: 'SetExpressionKey',
1476
- aliasKey: 'valueMapKey'
1606
+ aliasKey: 'valueMapKey',
1607
+ props: {
1608
+ // 选择后只回填参数key,不回填表达式
1609
+ isFillKey: true
1610
+ }
1477
1611
  }],
1478
1612
  todoCallbacks: ['callback1'],
1479
1613
  initClose: true
@@ -1551,33 +1685,6 @@ var todoActionObject = {
1551
1685
  type: 'SetExpression'
1552
1686
  }]
1553
1687
  },
1554
- triggerMobileRelDataSource: {
1555
- key: 'triggerMobileRelDataSource',
1556
- label: '联动设置下拉框选项',
1557
- todoOptions: [{
1558
- key: 'target',
1559
- label: '联动来源',
1560
- type: 'SelectObject'
1561
- }, {
1562
- key: 'arelStaticData',
1563
- label: 'A端静态数据',
1564
- type: 'SelectStaticData',
1565
- props: {
1566
- options: {
1567
- noCustom: true
1568
- }
1569
- }
1570
- }, {
1571
- key: 'zrelStaticData',
1572
- label: 'Z端静态数据',
1573
- type: 'SelectStaticData',
1574
- props: {
1575
- options: {
1576
- noCustom: true
1577
- }
1578
- }
1579
- }]
1580
- },
1581
1688
  validateMsg: {
1582
1689
  key: 'validateMsg',
1583
1690
  label: '校验提示',
@@ -1621,7 +1728,7 @@ var todoActionObject = {
1621
1728
  todoOptions: [{
1622
1729
  key: 'inlineeditrow',
1623
1730
  label: '指定行id',
1624
- type: 'SelectParams'
1731
+ type: 'SetExpression'
1625
1732
  }]
1626
1733
  },
1627
1734
  saveInlineRow: {
@@ -1686,6 +1793,14 @@ var todoActionObject = {
1686
1793
  props: {
1687
1794
  placeholder: '包括后缀,如: 表格.xls'
1688
1795
  }
1796
+ }, {
1797
+ key: 'zip',
1798
+ label: '单文件压缩',
1799
+ type: 'Switch',
1800
+ labelTip: '默认为单文件不压缩,多文件压缩,若开启单文件压缩为“是”,则不区分单文件/多文件,都压缩。',
1801
+ props: {
1802
+ defaultValue: false
1803
+ }
1689
1804
  }],
1690
1805
  classification: [{
1691
1806
  label: '下载',
@@ -1743,7 +1858,8 @@ var todoActionObject = {
1743
1858
  label: '定时器',
1744
1859
  value: 'timer'
1745
1860
  }],
1746
- hidden: true
1861
+ hidden: true,
1862
+ isAsync: true
1747
1863
  },
1748
1864
  setInterval: {
1749
1865
  key: 'setInterval',
@@ -1760,7 +1876,8 @@ var todoActionObject = {
1760
1876
  unit: '毫秒'
1761
1877
  }
1762
1878
  }],
1763
- todoCallbacks: ['callback1']
1879
+ todoCallbacks: ['callback1'],
1880
+ isAsync: true
1764
1881
  },
1765
1882
  setTimer: {
1766
1883
  key: 'setTimer',
@@ -1795,7 +1912,8 @@ var todoActionObject = {
1795
1912
  classification: [{
1796
1913
  label: '定时器',
1797
1914
  value: 'timer'
1798
- }]
1915
+ }],
1916
+ isAsync: true
1799
1917
  },
1800
1918
  clearTimer: {
1801
1919
  key: 'clearTimer',
@@ -1854,7 +1972,7 @@ var todoActionObject = {
1854
1972
  todoOptions: [{
1855
1973
  key: 'params',
1856
1974
  label: '参数赋值',
1857
- type: 'SelectParams'
1975
+ type: 'SetExpression'
1858
1976
  }]
1859
1977
  },
1860
1978
  clearDynamicFormValues: {
@@ -1893,14 +2011,15 @@ var todoActionObject = {
1893
2011
  }, {
1894
2012
  key: 'params',
1895
2013
  label: '参数赋值',
1896
- type: 'SelectParams'
2014
+ type: 'ApiRequestSetParams'
1897
2015
  }, {
1898
2016
  key: 'pageNum',
1899
2017
  label: '页码字段名',
1900
2018
  type: 'SetExpression',
1901
2019
  aliasKey: 'aliasPageNum'
1902
2020
  }],
1903
- todoCallbacks: ['callback1', 'callback2']
2021
+ todoCallbacks: ['callback1', 'callback2'],
2022
+ isAsync: true
1904
2023
  },
1905
2024
  loadMoreDataSource: {
1906
2025
  key: 'loadMoreDataSource',
@@ -1946,6 +2065,7 @@ var todoActionObject = {
1946
2065
  }],
1947
2066
  todoCallbacks: ['callback1']
1948
2067
  },
2068
+ // 废弃,禁止使用
1949
2069
  setCompChildrenValue: {
1950
2070
  key: 'setCompChildrenValue',
1951
2071
  label: '赋值',
@@ -1954,8 +2074,10 @@ var todoActionObject = {
1954
2074
  label: '内容',
1955
2075
  type: 'SetExpression'
1956
2076
  }],
1957
- todoCallbacks: ['callback1']
2077
+ todoCallbacks: ['callback1'],
2078
+ hidden: true
1958
2079
  },
2080
+ // 废弃,禁止使用
1959
2081
  setCompContentValue: {
1960
2082
  key: 'setCompContentValue',
1961
2083
  label: '设置内容',
@@ -1964,7 +2086,8 @@ var todoActionObject = {
1964
2086
  label: '内容',
1965
2087
  type: 'SetExpression'
1966
2088
  }],
1967
- todoCallbacks: ['callback1']
2089
+ todoCallbacks: ['callback1'],
2090
+ hidden: true
1968
2091
  },
1969
2092
  setPageSrc: {
1970
2093
  key: 'setPageSrc',
@@ -2063,7 +2186,8 @@ var todoActionObject = {
2063
2186
  }, {
2064
2187
  label: '数据源',
2065
2188
  value: 'dataSource'
2066
- }]
2189
+ }],
2190
+ isAsync: true
2067
2191
  },
2068
2192
  setDataSource: {
2069
2193
  key: 'setDataSource',
@@ -2138,7 +2262,8 @@ var todoActionObject = {
2138
2262
  key: 'value',
2139
2263
  label: '内容',
2140
2264
  type: 'SetExpression'
2141
- }]
2265
+ }],
2266
+ tips: '用于和Web容器消息交互, 需于Web容器研发人员对接。'
2142
2267
  },
2143
2268
  postObjectData: {
2144
2269
  key: 'postObjectData',
@@ -2190,7 +2315,8 @@ var todoActionObject = {
2190
2315
  }, {
2191
2316
  label: '服务请求类',
2192
2317
  value: 'request'
2193
- }]
2318
+ }],
2319
+ isAsync: true
2194
2320
  },
2195
2321
  postParentMessage: {
2196
2322
  key: 'postParentMessage',
@@ -2236,7 +2362,8 @@ var todoActionObject = {
2236
2362
  classification: [{
2237
2363
  label: '数据通信',
2238
2364
  value: 'communicate'
2239
- }]
2365
+ }],
2366
+ isAsync: true
2240
2367
  },
2241
2368
  setRemoteCompProps: {
2242
2369
  key: 'setRemoteCompProps',
@@ -2306,7 +2433,8 @@ var todoActionObject = {
2306
2433
  label: '数据通信',
2307
2434
  value: 'communicate'
2308
2435
  }],
2309
- tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。'
2436
+ tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。',
2437
+ isAsync: true
2310
2438
  },
2311
2439
  callSelfFunc: {
2312
2440
  key: 'callSelfFunc',
@@ -2318,13 +2446,30 @@ var todoActionObject = {
2318
2446
  }, {
2319
2447
  key: 'customFuncParams',
2320
2448
  label: '事件入参',
2321
- type: 'SelectParams'
2449
+ type: 'SelectLink',
2450
+ props: {
2451
+ titleLink: [{
2452
+ title: '切换到属性',
2453
+ value: 'object',
2454
+ key: 'object'
2455
+ }, {
2456
+ title: '切换根节点',
2457
+ value: '',
2458
+ key: 'root'
2459
+ }, {
2460
+ title: '清空赋值',
2461
+ value: 'cleanValue',
2462
+ key: 'cleanValue'
2463
+ }],
2464
+ valueType: 'Table'
2465
+ }
2322
2466
  }],
2323
2467
  todoCallbacks: ['callback1', 'callback2'],
2324
2468
  classification: [{
2325
2469
  label: '数据通信',
2326
2470
  value: 'communicate'
2327
- }]
2471
+ }],
2472
+ isAsync: true
2328
2473
  },
2329
2474
  callParentCustomFunc: {
2330
2475
  key: 'callParentCustomFunc',
@@ -2340,13 +2485,30 @@ var todoActionObject = {
2340
2485
  }, {
2341
2486
  key: 'customFuncParams',
2342
2487
  label: '事件入参',
2343
- type: 'SelectParams'
2488
+ type: 'SelectLink',
2489
+ props: {
2490
+ titleLink: [{
2491
+ title: '切换到属性',
2492
+ value: 'object',
2493
+ key: 'object'
2494
+ }, {
2495
+ title: '切换根节点',
2496
+ value: '',
2497
+ key: 'root'
2498
+ }, {
2499
+ title: '清空赋值',
2500
+ value: 'cleanValue',
2501
+ key: 'cleanValue'
2502
+ }],
2503
+ valueType: 'Table'
2504
+ }
2344
2505
  }],
2345
2506
  todoCallbacks: ['callback1', 'callback2'],
2346
2507
  classification: [{
2347
2508
  label: '数据通信',
2348
2509
  value: 'communicate'
2349
- }]
2510
+ }],
2511
+ isAsync: true
2350
2512
  },
2351
2513
  callCustomPageFunc: {
2352
2514
  key: 'callCustomPageFunc',
@@ -2362,14 +2524,31 @@ var todoActionObject = {
2362
2524
  }, {
2363
2525
  key: 'customFuncParams',
2364
2526
  label: '事件入参',
2365
- type: 'SelectParams'
2527
+ type: 'SelectLink',
2528
+ props: {
2529
+ titleLink: [{
2530
+ title: '切换到属性',
2531
+ value: 'object',
2532
+ key: 'object'
2533
+ }, {
2534
+ title: '切换根节点',
2535
+ value: '',
2536
+ key: 'root'
2537
+ }, {
2538
+ title: '清空赋值',
2539
+ value: 'cleanValue',
2540
+ key: 'cleanValue'
2541
+ }],
2542
+ valueType: 'Table'
2543
+ }
2366
2544
  }],
2367
2545
  todoCallbacks: ['callback1', 'callback2'],
2368
2546
  classification: [{
2369
2547
  label: '数据通信',
2370
2548
  value: 'communicate'
2371
2549
  }],
2372
- tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);'
2550
+ tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);',
2551
+ isAsync: true
2373
2552
  },
2374
2553
  exportBusiObjectData: {
2375
2554
  key: 'exportBusiObjectData',
@@ -2382,10 +2561,41 @@ var todoActionObject = {
2382
2561
  isRequired: true,
2383
2562
  valuePropName: 'busiObjectId'
2384
2563
  }
2564
+ }, {
2565
+ key: 'async',
2566
+ label: '异步导出',
2567
+ type: 'RadioButton',
2568
+ labelTip: '数量超过1万请勾选使用异步导出',
2569
+ defaultValue: 'sync',
2570
+ props: {
2571
+ options: [{
2572
+ title: '开启',
2573
+ value: 'async'
2574
+ }, {
2575
+ title: '关闭',
2576
+ value: 'sync'
2577
+ }]
2578
+ }
2385
2579
  }, {
2386
2580
  key: 'busiObjectFilterParams',
2387
2581
  label: '查询条件',
2388
- type: 'SelectParams'
2582
+ type: 'SelectLink',
2583
+ props: {
2584
+ titleLink: [{
2585
+ title: '切换到属性',
2586
+ value: 'object',
2587
+ key: 'object'
2588
+ }, {
2589
+ title: '切换根节点',
2590
+ value: '',
2591
+ key: 'root'
2592
+ }, {
2593
+ title: '清空赋值',
2594
+ value: 'cleanValue',
2595
+ key: 'cleanValue'
2596
+ }],
2597
+ valueType: 'Table'
2598
+ }
2389
2599
  }, {
2390
2600
  key: 'custFileName',
2391
2601
  label: '自定义文件名',
@@ -2412,6 +2622,21 @@ var todoActionObject = {
2412
2622
  isRequired: true,
2413
2623
  valuePropName: 'custFileName'
2414
2624
  }
2625
+ }, {
2626
+ key: 'async',
2627
+ label: '异步导出',
2628
+ type: 'RadioButton',
2629
+ labelTip: '数量超过1万请勾选使用异步导出',
2630
+ defaultValue: 'sync',
2631
+ props: {
2632
+ options: [{
2633
+ title: '开启',
2634
+ value: 'async'
2635
+ }, {
2636
+ title: '关闭',
2637
+ value: 'sync'
2638
+ }]
2639
+ }
2415
2640
  }, {
2416
2641
  key: 'exportSheet',
2417
2642
  label: 'sheet页设置',
@@ -2440,7 +2665,7 @@ var todoActionObject = {
2440
2665
  // 入参
2441
2666
  key: 'filterParams',
2442
2667
  label: '查询条件',
2443
- type: 'SelectParams'
2668
+ type: 'ApiRequestSetParams'
2444
2669
  }, {
2445
2670
  key: 'objectFields',
2446
2671
  label: '导出字段',
@@ -2504,7 +2729,8 @@ var todoActionObject = {
2504
2729
  classification: [{
2505
2730
  label: '导入导出',
2506
2731
  value: 'export'
2507
- }]
2732
+ }],
2733
+ isAsync: true
2508
2734
  },
2509
2735
  exportSQLServiceData: {
2510
2736
  key: 'exportSQLServiceData',
@@ -2513,6 +2739,21 @@ var todoActionObject = {
2513
2739
  key: 'sqlServiceCode',
2514
2740
  label: '选择SQL查询服务',
2515
2741
  type: 'SelectSQLServiceCode'
2742
+ }, {
2743
+ key: 'async',
2744
+ label: '异步导出',
2745
+ type: 'RadioButton',
2746
+ labelTip: '数量超过1万请勾选使用异步导出',
2747
+ defaultValue: 'sync',
2748
+ props: {
2749
+ options: [{
2750
+ title: '开启',
2751
+ value: 'async'
2752
+ }, {
2753
+ title: '关闭',
2754
+ value: 'sync'
2755
+ }]
2756
+ }
2516
2757
  }, {
2517
2758
  key: 'sqlServiceFields',
2518
2759
  label: '导出字段',
@@ -2520,7 +2761,23 @@ var todoActionObject = {
2520
2761
  }, {
2521
2762
  key: 'busiObjectFilterParams',
2522
2763
  label: '查询条件',
2523
- type: 'SelectParams'
2764
+ type: 'SelectLink',
2765
+ props: {
2766
+ titleLink: [{
2767
+ title: '切换到属性',
2768
+ value: 'object',
2769
+ key: 'object'
2770
+ }, {
2771
+ title: '切换根节点',
2772
+ value: '',
2773
+ key: 'root'
2774
+ }, {
2775
+ title: '清空赋值',
2776
+ value: 'cleanValue',
2777
+ key: 'cleanValue'
2778
+ }],
2779
+ valueType: 'Table'
2780
+ }
2524
2781
  }, {
2525
2782
  key: 'custFileName',
2526
2783
  label: '自定义文件名',
@@ -2557,7 +2814,7 @@ var todoActionObject = {
2557
2814
  }
2558
2815
  }, {
2559
2816
  key: 'busiObjectFields',
2560
- label: '筛选字段',
2817
+ label: '导入字段设置',
2561
2818
  type: 'SelectBusiObjectFields',
2562
2819
  props: {
2563
2820
  isRequired: true,
@@ -2597,7 +2854,8 @@ var todoActionObject = {
2597
2854
  classification: [{
2598
2855
  label: '导入导出',
2599
2856
  value: 'export'
2600
- }]
2857
+ }],
2858
+ isAsync: true
2601
2859
  },
2602
2860
  exportCustomBusiObjectData: {
2603
2861
  key: 'exportCustomBusiObjectData',
@@ -2610,6 +2868,21 @@ var todoActionObject = {
2610
2868
  isRequired: true,
2611
2869
  valuePropName: 'busiObjectId'
2612
2870
  }
2871
+ }, {
2872
+ key: 'async',
2873
+ label: '异步导出',
2874
+ type: 'RadioButton',
2875
+ labelTip: '数量超过1万请勾选使用异步导出',
2876
+ defaultValue: 'sync',
2877
+ props: {
2878
+ options: [{
2879
+ title: '开启',
2880
+ value: 'async'
2881
+ }, {
2882
+ title: '关闭',
2883
+ value: 'sync'
2884
+ }]
2885
+ }
2613
2886
  }, {
2614
2887
  key: 'busiObjectFields',
2615
2888
  label: '导出字段',
@@ -2621,7 +2894,23 @@ var todoActionObject = {
2621
2894
  }, {
2622
2895
  key: 'busiObjectFilterParams',
2623
2896
  label: '查询条件',
2624
- type: 'SelectParams'
2897
+ type: 'SelectLink',
2898
+ props: {
2899
+ titleLink: [{
2900
+ title: '切换到属性',
2901
+ value: 'object',
2902
+ key: 'object'
2903
+ }, {
2904
+ title: '切换根节点',
2905
+ value: '',
2906
+ key: 'root'
2907
+ }, {
2908
+ title: '清空赋值',
2909
+ value: 'cleanValue',
2910
+ key: 'cleanValue'
2911
+ }],
2912
+ valueType: 'Table'
2913
+ }
2625
2914
  }, {
2626
2915
  key: 'custFileName',
2627
2916
  label: '自定义文件名',
@@ -2644,7 +2933,7 @@ var todoActionObject = {
2644
2933
  key: 'fileName',
2645
2934
  aliasKey: 'expFileName',
2646
2935
  label: '文件名',
2647
- type: 'input',
2936
+ type: 'Input',
2648
2937
  props: {
2649
2938
  placeholder: '请输入导出的文件名'
2650
2939
  }
@@ -2680,9 +2969,18 @@ var todoActionObject = {
2680
2969
  isRequired: true,
2681
2970
  valuePropName: 'custUrl',
2682
2971
  options: {
2683
- fileUpload: true,
2684
2972
  refreshKey: ['objectFields'],
2685
- serviceTabs: [SERVICE_KEY.STD, SERVICE_KEY.INNER]
2973
+ serviceTabs: [{
2974
+ key: SERVICE_KEY.STD,
2975
+ description: '此处仅展示开启文件入参的编排服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数',
2976
+ filterParams: {
2977
+ fileInputEnabled: 'T'
2978
+ }
2979
+ }, {
2980
+ key: SERVICE_KEY.INNER,
2981
+ fileUpload: true,
2982
+ description: '此处仅展示开启上传控件中使用的请求层服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数'
2983
+ }]
2686
2984
  }
2687
2985
  }
2688
2986
  }, {
@@ -2702,7 +3000,8 @@ var todoActionObject = {
2702
3000
  classification: [{
2703
3001
  label: '导入导出',
2704
3002
  value: 'export'
2705
- }]
3003
+ }],
3004
+ isAsync: true
2706
3005
  },
2707
3006
  previewFile: {
2708
3007
  key: 'previewFile',
@@ -2723,7 +3022,10 @@ var todoActionObject = {
2723
3022
  todoOptions: [{
2724
3023
  key: 'compToPrint',
2725
3024
  label: '自定义打印区域(可选)',
2726
- type: 'CompTree'
3025
+ type: 'CompTree',
3026
+ props: {
3027
+ selectType: 'free'
3028
+ }
2727
3029
  }],
2728
3030
  classification: [{
2729
3031
  label: '页面类',
@@ -2994,7 +3296,8 @@ var todoActionObject = {
2994
3296
  classification: [{
2995
3297
  label: '其他',
2996
3298
  value: 'others'
2997
- }]
3299
+ }],
3300
+ isAsync: true
2998
3301
  },
2999
3302
  reloadGanttData: {
3000
3303
  key: 'reloadGanttData',
@@ -3160,7 +3463,8 @@ var todoActionObject = {
3160
3463
  label: '其他',
3161
3464
  value: 'others'
3162
3465
  }],
3163
- tips: '注意:如果需要配合退出事件,请在代码块中增加return true'
3466
+ tips: '注意:如果需要配合退出事件,请在代码块中增加return true',
3467
+ isAsync: true
3164
3468
  },
3165
3469
  getItemFromLocalStorage: {
3166
3470
  key: 'getItemFromLocalStorage',
@@ -3262,7 +3566,8 @@ var todoActionObject = {
3262
3566
  classification: [{
3263
3567
  label: '其他',
3264
3568
  value: 'others'
3265
- }]
3569
+ }],
3570
+ isAsync: true
3266
3571
  },
3267
3572
  validateTableData: {
3268
3573
  key: 'validateTableData',
@@ -3579,22 +3884,38 @@ var todoActionObject = {
3579
3884
  key: 'labelKey',
3580
3885
  aliasKey: 'selectLabelKey',
3581
3886
  label: '选项内容字段',
3582
- type: 'SetExpressionKey'
3887
+ type: 'SetExpressionKey',
3888
+ props: {
3889
+ // 选择后只回填参数key,不回填表达式
3890
+ isFillKey: true
3891
+ }
3583
3892
  }, {
3584
3893
  key: 'valueKey',
3585
3894
  aliasKey: 'selectValueKey',
3586
3895
  label: '选项值字段',
3587
- type: 'SetExpressionKey'
3896
+ type: 'SetExpressionKey',
3897
+ props: {
3898
+ // 选择后只回填参数key,不回填表达式
3899
+ isFillKey: true
3900
+ }
3588
3901
  }, {
3589
3902
  key: 'descriptionKey',
3590
3903
  aliasKey: 'selectDescriptionKey',
3591
3904
  label: '选项描述字段',
3592
- type: 'SetExpressionKey'
3905
+ type: 'SetExpressionKey',
3906
+ props: {
3907
+ // 选择后只回填参数key,不回填表达式
3908
+ isFillKey: true
3909
+ }
3593
3910
  }, {
3594
3911
  key: 'disabledKey',
3595
3912
  aliasKey: 'selectDisabledKey',
3596
3913
  label: '选项禁用字段',
3597
- type: 'SetExpressionKey'
3914
+ type: 'SetExpressionKey',
3915
+ props: {
3916
+ // 选择后只回填参数key,不回填表达式
3917
+ isFillKey: true
3918
+ }
3598
3919
  }],
3599
3920
  todoCallbacks: ['callback1']
3600
3921
  },
@@ -3707,17 +4028,116 @@ var todoActionObject = {
3707
4028
  }, {
3708
4029
  key: 'customFuncParams',
3709
4030
  label: '事件入参',
3710
- type: 'SelectParams'
4031
+ type: 'SelectLink',
4032
+ props: {
4033
+ titleLink: [{
4034
+ title: '切换到属性',
4035
+ value: 'object',
4036
+ key: 'object'
4037
+ }, {
4038
+ title: '切换根节点',
4039
+ value: '',
4040
+ key: 'root'
4041
+ }, {
4042
+ title: '清空赋值',
4043
+ value: 'cleanValue',
4044
+ key: 'cleanValue'
4045
+ }],
4046
+ valueType: 'Table'
4047
+ }
3711
4048
  }],
3712
- todoCallbacks: ['callback1', 'callback2']
4049
+ todoCallbacks: ['callback1', 'callback2'],
4050
+ isAsync: true
4051
+ },
4052
+ sysSetFormItemStatus: {
4053
+ key: 'sysSetFormItemStatus',
4054
+ label: '设置表单控件状态',
4055
+ classification: [{
4056
+ label: '常用',
4057
+ value: 'common'
4058
+ }, {
4059
+ label: '数据设置',
4060
+ value: 'setData'
4061
+ }],
4062
+ todoOptions: [{
4063
+ key: 'compid',
4064
+ type: 'ListGroup',
4065
+ label: '组件配置',
4066
+ props: {
4067
+ showAdd: true,
4068
+ noRepeatSelect: {
4069
+ key: 'compid'
4070
+ },
4071
+ options: [{
4072
+ key: 'compid',
4073
+ type: "SelectComp",
4074
+ label: '组件选择',
4075
+ description: '仅支持选择非渲染容器下的“表单”组件',
4076
+ props: {
4077
+ includeType: ['Form', 'DForm'],
4078
+ required: true
4079
+ }
4080
+ }, {
4081
+ key: 'formItemList',
4082
+ type: "SetExpression",
4083
+ label: '内容',
4084
+ description: '需要接受格式为[{"attrCode": "item_order_name","status": 2}]的对象数组',
4085
+ props: {
4086
+ required: true
4087
+ }
4088
+ }, {
4089
+ key: 'labelKey',
4090
+ type: "SetExpression",
4091
+ label: '选项表单编码字段',
4092
+ description: '表单编码字段attrCode的节点别名',
4093
+ props: {}
4094
+ }, {
4095
+ key: 'valueKey',
4096
+ type: "SetExpression",
4097
+ label: '选项值字段',
4098
+ description: '表单状态字段status的节点别名 (1 编辑, 2 隐藏, 3 禁用 4 只读)',
4099
+ props: {}
4100
+ }],
4101
+ titlePrefix: '内容配置'
4102
+ },
4103
+ hideLabel: true
4104
+ }],
4105
+ remarks: [{
4106
+ "label": "适用场景",
4107
+ "content": "支持批量对表单内控件进行状态控制,例如:通过服务或其他方式返回字段编码和状态值,根据状态值设置表单内对应控件是否可编辑、是否隐藏等,状态值分别是:1 编辑,2 隐藏, 3 禁用, 4 只读 \n\n 只支持当前页面表单,如需控制业务组件或其他容器内的表单,请在业务组件中配置"
4108
+ }, {
4109
+ "label": "配置说明",
4110
+ "content": "选择返回数据的内容节点,设置字段编码和状态值的取值字段,根据状态值设置控件的状态"
4111
+ }]
4112
+ },
4113
+ customPrintOrExport: {
4114
+ key: 'customPrintOrExport',
4115
+ label: '自定义打印/导出',
4116
+ todoOptions: [{
4117
+ key: 'operateType',
4118
+ label: '操作类型',
4119
+ type: 'CustomOperateType'
4120
+ }, {
4121
+ key: 'customSelectComp',
4122
+ label: '选择打印组件',
4123
+ type: 'CustomSelectComp',
4124
+ props: {
4125
+ isRequired: true
4126
+ }
4127
+ }],
4128
+ todoCallbacks: ['callback1', 'callback2'],
4129
+ classification: [{
4130
+ label: '常用',
4131
+ value: 'common'
4132
+ }]
3713
4133
  }
3714
4134
  };
3715
- 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',
4135
+ 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',
3716
4136
  // 'previewFile',
3717
- 'return', 'copyToClipboard', 'addDebugger', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState'];
4137
+ 'return', 'copyToClipboard', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus'];
3718
4138
  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',
3719
4139
  // 'previewFile',
3720
- 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState'];
4140
+ 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState', 'customPrintOrExport'];
3721
4141
  // 指定页面类型展示动作,别的类型需过滤掉该动作
3722
4142
  var pcPageTypeTodoActionKeys = {
3723
4143
  'Modal': ['setModalTitle'],