@lingxiteam/assets 3.2.1-alpha.1 → 3.2.1-alpha.2

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 (51) 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 +8 -3
  6. package/es/error/errorDisplay/Web/ErrorMsg/index.js +62 -46
  7. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +10 -2
  8. package/es/error/errorDisplay/const.js +29 -7
  9. package/es/rootConfig/mobile/MobileModal.d.ts +3 -0
  10. package/es/rootConfig/mobile/MobileModal.js +4 -1
  11. package/es/rootConfig/mobile/MobilePopover.d.ts +3 -0
  12. package/es/rootConfig/mobile/MobilePopover.js +4 -1
  13. package/es/rootConfig/mobile/page.d.ts +3 -0
  14. package/es/rootConfig/mobile/page.js +4 -1
  15. package/es/rootConfig/pc/Drawer.d.ts +3 -0
  16. package/es/rootConfig/pc/Drawer.js +4 -1
  17. package/es/rootConfig/pc/Modal.d.ts +3 -0
  18. package/es/rootConfig/pc/Modal.js +4 -1
  19. package/es/rootConfig/pc/Popover.d.ts +3 -0
  20. package/es/rootConfig/pc/Popover.js +4 -1
  21. package/es/rootConfig/pc/page.d.ts +3 -0
  22. package/es/rootConfig/pc/page.js +4 -1
  23. package/es/rootConfig/todoActionList.d.ts +251 -16
  24. package/es/rootConfig/todoActionList.js +345 -44
  25. package/es/rootConfig/todoOptionList.js +3 -3
  26. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +9 -3
  27. package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +29 -26
  28. package/lib/error/errorDisplay/Mobile/Modal/Modal.js +5 -3
  29. package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +9 -1
  30. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +8 -3
  31. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +62 -46
  32. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +10 -1
  33. package/lib/error/errorDisplay/const.js +33 -9
  34. package/lib/rootConfig/mobile/MobileModal.d.ts +3 -0
  35. package/lib/rootConfig/mobile/MobileModal.js +4 -1
  36. package/lib/rootConfig/mobile/MobilePopover.d.ts +3 -0
  37. package/lib/rootConfig/mobile/MobilePopover.js +4 -1
  38. package/lib/rootConfig/mobile/page.d.ts +3 -0
  39. package/lib/rootConfig/mobile/page.js +4 -1
  40. package/lib/rootConfig/pc/Drawer.d.ts +3 -0
  41. package/lib/rootConfig/pc/Drawer.js +4 -1
  42. package/lib/rootConfig/pc/Modal.d.ts +3 -0
  43. package/lib/rootConfig/pc/Modal.js +4 -1
  44. package/lib/rootConfig/pc/Popover.d.ts +3 -0
  45. package/lib/rootConfig/pc/Popover.js +4 -1
  46. package/lib/rootConfig/pc/page.d.ts +3 -0
  47. package/lib/rootConfig/pc/page.js +4 -1
  48. package/lib/rootConfig/todoActionList.d.ts +251 -16
  49. package/lib/rootConfig/todoActionList.js +345 -44
  50. package/lib/rootConfig/todoOptionList.js +3 -3
  51. package/package.json +1 -1
@@ -809,7 +809,7 @@ var todoActionObject = {
809
809
  key: 'params',
810
810
  aliasKey: 'setParams',
811
811
  label: '参数',
812
- type: 'SetExpression'
812
+ type: 'SelectParams'
813
813
  }],
814
814
  classification: [{
815
815
  label: '回调',
@@ -841,7 +841,23 @@ var todoActionObject = {
841
841
  todoOptions: [{
842
842
  key: 'params',
843
843
  label: '参数赋值',
844
- type: 'SetExpression'
844
+ type: 'SelectLink',
845
+ props: {
846
+ titleLink: [{
847
+ title: '切换到属性',
848
+ value: 'object',
849
+ key: 'object'
850
+ }, {
851
+ title: '切换根节点',
852
+ value: '',
853
+ key: 'root'
854
+ }, {
855
+ title: '清空赋值',
856
+ value: 'cleanValue',
857
+ key: 'cleanValue'
858
+ }],
859
+ valueType: 'Table'
860
+ }
845
861
  }]
846
862
  },
847
863
  resetForm: {
@@ -881,7 +897,23 @@ var todoActionObject = {
881
897
  todoOptions: [{
882
898
  key: 'params',
883
899
  label: '参数赋值',
884
- type: 'SetExpression'
900
+ type: 'SelectLink',
901
+ props: {
902
+ titleLink: [{
903
+ title: '切换到属性',
904
+ value: 'object',
905
+ key: 'object'
906
+ }, {
907
+ title: '切换根节点',
908
+ value: '',
909
+ key: 'root'
910
+ }, {
911
+ title: '清空赋值',
912
+ value: 'cleanValue',
913
+ key: 'cleanValue'
914
+ }],
915
+ valueType: 'Table'
916
+ }
885
917
  }]
886
918
  },
887
919
  resetCurrentForm: {
@@ -983,12 +1015,20 @@ var todoActionObject = {
983
1015
  key: 'labelKey',
984
1016
  aliasKey: 'selectLabelKeyForRC',
985
1017
  label: '显示内容字段',
986
- type: 'SetExpressionKey'
1018
+ type: 'SetExpressionKey',
1019
+ props: {
1020
+ // 选择后只回填参数key,不回填表达式
1021
+ isFillKey: true
1022
+ }
987
1023
  }, {
988
1024
  key: 'valueKey',
989
1025
  aliasKey: 'selectValueKeyForRC',
990
1026
  label: '显示值字段',
991
- type: 'SetExpressionKey'
1027
+ type: 'SetExpressionKey',
1028
+ props: {
1029
+ // 选择后只回填参数key,不回填表达式
1030
+ isFillKey: true
1031
+ }
992
1032
  }],
993
1033
  todoCallbacks: ['callback1']
994
1034
  },
@@ -1004,12 +1044,20 @@ var todoActionObject = {
1004
1044
  key: 'labelKey',
1005
1045
  aliasKey: 'selectLabelKey',
1006
1046
  label: '选项内容字段',
1007
- type: 'SetExpressionKey'
1047
+ type: 'SetExpressionKey',
1048
+ props: {
1049
+ // 选择后只回填参数key,不回填表达式
1050
+ isFillKey: true
1051
+ }
1008
1052
  }, {
1009
1053
  key: 'valueKey',
1010
1054
  aliasKey: 'selectValueKey',
1011
1055
  label: '选项值字段',
1012
- type: 'SetExpressionKey'
1056
+ type: 'SetExpressionKey',
1057
+ props: {
1058
+ // 选择后只回填参数key,不回填表达式
1059
+ isFillKey: true
1060
+ }
1013
1061
  }],
1014
1062
  todoCallbacks: ['callback1']
1015
1063
  },
@@ -1034,21 +1082,37 @@ var todoActionObject = {
1034
1082
  }, {
1035
1083
  key: 'labelKey',
1036
1084
  label: '节点名称取值字段',
1037
- type: 'SetExpressionKey'
1085
+ type: 'SetExpressionKey',
1086
+ props: {
1087
+ // 选择后只回填参数key,不回填表达式
1088
+ isFillKey: true
1089
+ }
1038
1090
  }, {
1039
1091
  key: 'nodeValueKey',
1040
1092
  label: '节点key取值字段',
1041
- type: 'SetExpressionKey'
1093
+ type: 'SetExpressionKey',
1094
+ props: {
1095
+ // 选择后只回填参数key,不回填表达式
1096
+ isFillKey: true
1097
+ }
1042
1098
  }, {
1043
1099
  key: 'selectable',
1044
1100
  label: '节点可选字段编码',
1045
1101
  type: 'SetExpressionKey',
1046
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1102
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1103
+ props: {
1104
+ // 选择后只回填参数key,不回填表达式
1105
+ isFillKey: true
1106
+ }
1047
1107
  }, {
1048
1108
  key: 'childrenKey',
1049
1109
  label: '下级列表取值字段',
1050
1110
  type: 'SetExpressionKey',
1051
- 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 '
1111
+ 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 ',
1112
+ props: {
1113
+ // 选择后只回填参数key,不回填表达式
1114
+ isFillKey: true
1115
+ }
1052
1116
  }],
1053
1117
  todoCallbacks: ['callback1']
1054
1118
  },
@@ -1067,21 +1131,37 @@ var todoActionObject = {
1067
1131
  }, {
1068
1132
  key: 'labelKey',
1069
1133
  label: '节点名称取值字段',
1070
- type: 'SetExpressionKey'
1134
+ type: 'SetExpressionKey',
1135
+ props: {
1136
+ // 选择后只回填参数key,不回填表达式
1137
+ isFillKey: true
1138
+ }
1071
1139
  }, {
1072
1140
  key: 'nodeValueKey',
1073
1141
  label: '节点key取值字段',
1074
- type: 'SetExpressionKey'
1142
+ type: 'SetExpressionKey',
1143
+ props: {
1144
+ // 选择后只回填参数key,不回填表达式
1145
+ isFillKey: true
1146
+ }
1075
1147
  }, {
1076
1148
  key: 'selectable',
1077
1149
  label: '节点可选字段编码',
1078
1150
  type: 'SetExpressionKey',
1079
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1151
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1152
+ props: {
1153
+ // 选择后只回填参数key,不回填表达式
1154
+ isFillKey: true
1155
+ }
1080
1156
  }, {
1081
1157
  key: 'childrenKey',
1082
1158
  label: '下级列表取值字段',
1083
1159
  type: 'SetExpressionKey',
1084
- 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 '
1160
+ 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 ',
1161
+ props: {
1162
+ // 选择后只回填参数key,不回填表达式
1163
+ isFillKey: true
1164
+ }
1085
1165
  }],
1086
1166
  todoCallbacks: ['callback1']
1087
1167
  },
@@ -1096,25 +1176,45 @@ var todoActionObject = {
1096
1176
  }, {
1097
1177
  key: 'labelKey',
1098
1178
  label: '节点名称取值字段',
1099
- type: 'SetExpressionKey'
1179
+ type: 'SetExpressionKey',
1180
+ props: {
1181
+ // 选择后只回填参数key,不回填表达式
1182
+ isFillKey: true
1183
+ }
1100
1184
  }, {
1101
1185
  key: 'nodeValueKey',
1102
1186
  label: '节点key取值字段',
1103
- type: 'SetExpressionKey'
1187
+ type: 'SetExpressionKey',
1188
+ props: {
1189
+ // 选择后只回填参数key,不回填表达式
1190
+ isFillKey: true
1191
+ }
1104
1192
  }, {
1105
1193
  key: 'urlValueKey',
1106
1194
  label: '节点url取值字段',
1107
- type: 'SetExpressionKey'
1195
+ type: 'SetExpressionKey',
1196
+ props: {
1197
+ // 选择后只回填参数key,不回填表达式
1198
+ isFillKey: true
1199
+ }
1108
1200
  }, {
1109
1201
  key: 'selectable',
1110
1202
  label: '节点可选字段编码',
1111
1203
  type: 'SetExpressionKey',
1112
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1204
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1205
+ props: {
1206
+ // 选择后只回填参数key,不回填表达式
1207
+ isFillKey: true
1208
+ }
1113
1209
  }, {
1114
1210
  key: 'childrenKey',
1115
1211
  label: '下级列表取值字段',
1116
1212
  type: 'SetExpressionKey',
1117
- 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 '
1213
+ 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 ',
1214
+ props: {
1215
+ // 选择后只回填参数key,不回填表达式
1216
+ isFillKey: true
1217
+ }
1118
1218
  }],
1119
1219
  todoCallbacks: ['callback1']
1120
1220
  },
@@ -1129,22 +1229,38 @@ var todoActionObject = {
1129
1229
  }, {
1130
1230
  key: 'nodeKey',
1131
1231
  label: '操作节点key',
1132
- type: 'SetExpression'
1232
+ type: 'SetExpression',
1233
+ props: {
1234
+ // 选择后只回填参数key,不回填表达式
1235
+ isFillKey: true
1236
+ }
1133
1237
  }, {
1134
1238
  key: 'title',
1135
1239
  aliasKey: 'titleKey',
1136
1240
  label: '节点名称取值字段',
1137
- type: 'SetExpression'
1241
+ type: 'SetExpression',
1242
+ props: {
1243
+ // 选择后只回填参数key,不回填表达式
1244
+ isFillKey: true
1245
+ }
1138
1246
  }, {
1139
1247
  key: 'key',
1140
1248
  aliasKey: 'valueKey',
1141
1249
  label: '节点key取值字段',
1142
- type: 'SetExpression'
1250
+ type: 'SetExpression',
1251
+ props: {
1252
+ // 选择后只回填参数key,不回填表达式
1253
+ isFillKey: true
1254
+ }
1143
1255
  }, {
1144
1256
  key: 'selectable',
1145
1257
  label: '节点可选字段编码',
1146
1258
  type: 'SetExpressionKey',
1147
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。"
1259
+ labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1260
+ props: {
1261
+ // 选择后只回填参数key,不回填表达式
1262
+ isFillKey: true
1263
+ }
1148
1264
  }]
1149
1265
  },
1150
1266
  appendMenuNodeData: {
@@ -1159,16 +1275,28 @@ var todoActionObject = {
1159
1275
  key: 'title',
1160
1276
  aliasKey: 'titleKey',
1161
1277
  label: '节点名称取值字段',
1162
- type: 'SetExpression'
1278
+ type: 'SetExpression',
1279
+ props: {
1280
+ // 选择后只回填参数key,不回填表达式
1281
+ isFillKey: true
1282
+ }
1163
1283
  }, {
1164
1284
  key: 'key',
1165
1285
  aliasKey: 'valueKey',
1166
1286
  label: '节点key取值字段',
1167
- type: 'SetExpression'
1287
+ type: 'SetExpression',
1288
+ props: {
1289
+ // 选择后只回填参数key,不回填表达式
1290
+ isFillKey: true
1291
+ }
1168
1292
  }, {
1169
1293
  key: 'childrenKey',
1170
1294
  label: '下级列表取值字段',
1171
1295
  type: 'SetExpressionKey',
1296
+ props: {
1297
+ // 选择后只回填参数key,不回填表达式
1298
+ isFillKey: true
1299
+ },
1172
1300
  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 '
1173
1301
  }],
1174
1302
  todoCallbacks: ['callback1']
@@ -1280,7 +1408,23 @@ var todoActionObject = {
1280
1408
  todoOptions: [{
1281
1409
  key: 'params',
1282
1410
  label: '参数赋值',
1283
- type: 'SetExpression'
1411
+ type: 'SelectLink',
1412
+ props: {
1413
+ titleLink: [{
1414
+ title: '切换到属性',
1415
+ value: 'object',
1416
+ key: 'object'
1417
+ }, {
1418
+ title: '切换根节点',
1419
+ value: '',
1420
+ key: 'root'
1421
+ }, {
1422
+ title: '清空赋值',
1423
+ value: 'cleanValue',
1424
+ key: 'cleanValue'
1425
+ }],
1426
+ valueType: 'Table'
1427
+ }
1284
1428
  }]
1285
1429
  },
1286
1430
  delTableRow: {
@@ -1453,12 +1597,20 @@ var todoActionObject = {
1453
1597
  key: 'labelKey',
1454
1598
  label: '内容映射字段',
1455
1599
  type: 'SetExpressionKey',
1456
- aliasKey: 'labelMapKey'
1600
+ aliasKey: 'labelMapKey',
1601
+ props: {
1602
+ // 选择后只回填参数key,不回填表达式
1603
+ isFillKey: true
1604
+ }
1457
1605
  }, {
1458
1606
  key: 'valueKey',
1459
1607
  label: '值映射字段',
1460
1608
  type: 'SetExpressionKey',
1461
- aliasKey: 'valueMapKey'
1609
+ aliasKey: 'valueMapKey',
1610
+ props: {
1611
+ // 选择后只回填参数key,不回填表达式
1612
+ isFillKey: true
1613
+ }
1462
1614
  }],
1463
1615
  todoCallbacks: ['callback1'],
1464
1616
  initClose: true
@@ -1672,7 +1824,7 @@ var todoActionObject = {
1672
1824
  }, {
1673
1825
  key: 'uploadProps',
1674
1826
  label: '上传参数',
1675
- type: 'SetExpression'
1827
+ type: 'SelectParams'
1676
1828
  }]
1677
1829
  },
1678
1830
  setUploadChange: {
@@ -2289,7 +2441,23 @@ var todoActionObject = {
2289
2441
  }, {
2290
2442
  key: 'customFuncParams',
2291
2443
  label: '事件入参',
2292
- type: 'SetExpression'
2444
+ type: 'SelectLink',
2445
+ props: {
2446
+ titleLink: [{
2447
+ title: '切换到属性',
2448
+ value: 'object',
2449
+ key: 'object'
2450
+ }, {
2451
+ title: '切换根节点',
2452
+ value: '',
2453
+ key: 'root'
2454
+ }, {
2455
+ title: '清空赋值',
2456
+ value: 'cleanValue',
2457
+ key: 'cleanValue'
2458
+ }],
2459
+ valueType: 'Table'
2460
+ }
2293
2461
  }],
2294
2462
  todoCallbacks: ['callback1', 'callback2'],
2295
2463
  classification: [{
@@ -2311,7 +2479,23 @@ var todoActionObject = {
2311
2479
  }, {
2312
2480
  key: 'customFuncParams',
2313
2481
  label: '事件入参',
2314
- type: 'SetExpression'
2482
+ type: 'SelectLink',
2483
+ props: {
2484
+ titleLink: [{
2485
+ title: '切换到属性',
2486
+ value: 'object',
2487
+ key: 'object'
2488
+ }, {
2489
+ title: '切换根节点',
2490
+ value: '',
2491
+ key: 'root'
2492
+ }, {
2493
+ title: '清空赋值',
2494
+ value: 'cleanValue',
2495
+ key: 'cleanValue'
2496
+ }],
2497
+ valueType: 'Table'
2498
+ }
2315
2499
  }],
2316
2500
  todoCallbacks: ['callback1', 'callback2'],
2317
2501
  classification: [{
@@ -2333,7 +2517,23 @@ var todoActionObject = {
2333
2517
  }, {
2334
2518
  key: 'customFuncParams',
2335
2519
  label: '事件入参',
2336
- type: 'SetExpression'
2520
+ type: 'SelectLink',
2521
+ props: {
2522
+ titleLink: [{
2523
+ title: '切换到属性',
2524
+ value: 'object',
2525
+ key: 'object'
2526
+ }, {
2527
+ title: '切换根节点',
2528
+ value: '',
2529
+ key: 'root'
2530
+ }, {
2531
+ title: '清空赋值',
2532
+ value: 'cleanValue',
2533
+ key: 'cleanValue'
2534
+ }],
2535
+ valueType: 'Table'
2536
+ }
2337
2537
  }],
2338
2538
  todoCallbacks: ['callback1', 'callback2'],
2339
2539
  classification: [{
@@ -2371,7 +2571,23 @@ var todoActionObject = {
2371
2571
  }, {
2372
2572
  key: 'busiObjectFilterParams',
2373
2573
  label: '查询条件',
2374
- type: 'SetExpression'
2574
+ type: 'SelectLink',
2575
+ props: {
2576
+ titleLink: [{
2577
+ title: '切换到属性',
2578
+ value: 'object',
2579
+ key: 'object'
2580
+ }, {
2581
+ title: '切换根节点',
2582
+ value: '',
2583
+ key: 'root'
2584
+ }, {
2585
+ title: '清空赋值',
2586
+ value: 'cleanValue',
2587
+ key: 'cleanValue'
2588
+ }],
2589
+ valueType: 'Table'
2590
+ }
2375
2591
  }, {
2376
2592
  key: 'custFileName',
2377
2593
  label: '自定义文件名',
@@ -2536,7 +2752,23 @@ var todoActionObject = {
2536
2752
  }, {
2537
2753
  key: 'busiObjectFilterParams',
2538
2754
  label: '查询条件',
2539
- type: 'SetExpression'
2755
+ type: 'SelectLink',
2756
+ props: {
2757
+ titleLink: [{
2758
+ title: '切换到属性',
2759
+ value: 'object',
2760
+ key: 'object'
2761
+ }, {
2762
+ title: '切换根节点',
2763
+ value: '',
2764
+ key: 'root'
2765
+ }, {
2766
+ title: '清空赋值',
2767
+ value: 'cleanValue',
2768
+ key: 'cleanValue'
2769
+ }],
2770
+ valueType: 'Table'
2771
+ }
2540
2772
  }, {
2541
2773
  key: 'custFileName',
2542
2774
  label: '自定义文件名',
@@ -2573,7 +2805,7 @@ var todoActionObject = {
2573
2805
  }
2574
2806
  }, {
2575
2807
  key: 'busiObjectFields',
2576
- label: '筛选字段',
2808
+ label: '导入字段设置',
2577
2809
  type: 'SelectBusiObjectFields',
2578
2810
  props: {
2579
2811
  isRequired: true,
@@ -2652,7 +2884,23 @@ var todoActionObject = {
2652
2884
  }, {
2653
2885
  key: 'busiObjectFilterParams',
2654
2886
  label: '查询条件',
2655
- type: 'SetExpression'
2887
+ type: 'SelectLink',
2888
+ props: {
2889
+ titleLink: [{
2890
+ title: '切换到属性',
2891
+ value: 'object',
2892
+ key: 'object'
2893
+ }, {
2894
+ title: '切换根节点',
2895
+ value: '',
2896
+ key: 'root'
2897
+ }, {
2898
+ title: '清空赋值',
2899
+ value: 'cleanValue',
2900
+ key: 'cleanValue'
2901
+ }],
2902
+ valueType: 'Table'
2903
+ }
2656
2904
  }, {
2657
2905
  key: 'custFileName',
2658
2906
  label: '自定义文件名',
@@ -2675,7 +2923,7 @@ var todoActionObject = {
2675
2923
  key: 'fileName',
2676
2924
  aliasKey: 'expFileName',
2677
2925
  label: '文件名',
2678
- type: 'input',
2926
+ type: 'Input',
2679
2927
  props: {
2680
2928
  placeholder: '请输入导出的文件名'
2681
2929
  }
@@ -3619,22 +3867,38 @@ var todoActionObject = {
3619
3867
  key: 'labelKey',
3620
3868
  aliasKey: 'selectLabelKey',
3621
3869
  label: '选项内容字段',
3622
- type: 'SetExpressionKey'
3870
+ type: 'SetExpressionKey',
3871
+ props: {
3872
+ // 选择后只回填参数key,不回填表达式
3873
+ isFillKey: true
3874
+ }
3623
3875
  }, {
3624
3876
  key: 'valueKey',
3625
3877
  aliasKey: 'selectValueKey',
3626
3878
  label: '选项值字段',
3627
- type: 'SetExpressionKey'
3879
+ type: 'SetExpressionKey',
3880
+ props: {
3881
+ // 选择后只回填参数key,不回填表达式
3882
+ isFillKey: true
3883
+ }
3628
3884
  }, {
3629
3885
  key: 'descriptionKey',
3630
3886
  aliasKey: 'selectDescriptionKey',
3631
3887
  label: '选项描述字段',
3632
- type: 'SetExpressionKey'
3888
+ type: 'SetExpressionKey',
3889
+ props: {
3890
+ // 选择后只回填参数key,不回填表达式
3891
+ isFillKey: true
3892
+ }
3633
3893
  }, {
3634
3894
  key: 'disabledKey',
3635
3895
  aliasKey: 'selectDisabledKey',
3636
3896
  label: '选项禁用字段',
3637
- type: 'SetExpressionKey'
3897
+ type: 'SetExpressionKey',
3898
+ props: {
3899
+ // 选择后只回填参数key,不回填表达式
3900
+ isFillKey: true
3901
+ }
3638
3902
  }],
3639
3903
  todoCallbacks: ['callback1']
3640
3904
  },
@@ -3747,7 +4011,23 @@ var todoActionObject = {
3747
4011
  }, {
3748
4012
  key: 'customFuncParams',
3749
4013
  label: '事件入参',
3750
- type: 'SetExpression'
4014
+ type: 'SelectLink',
4015
+ props: {
4016
+ titleLink: [{
4017
+ title: '切换到属性',
4018
+ value: 'object',
4019
+ key: 'object'
4020
+ }, {
4021
+ title: '切换根节点',
4022
+ value: '',
4023
+ key: 'root'
4024
+ }, {
4025
+ title: '清空赋值',
4026
+ value: 'cleanValue',
4027
+ key: 'cleanValue'
4028
+ }],
4029
+ valueType: 'Table'
4030
+ }
3751
4031
  }],
3752
4032
  todoCallbacks: ['callback1', 'callback2']
3753
4033
  },
@@ -3811,6 +4091,27 @@ var todoActionObject = {
3811
4091
  "label": "配置说明",
3812
4092
  "content": "选择返回数据的内容节点,设置字段编码和状态值的取值字段,根据状态值设置控件的状态"
3813
4093
  }]
4094
+ },
4095
+ customPrintOrExport: {
4096
+ key: 'customPrintOrExport',
4097
+ label: '自定义打印/导出',
4098
+ todoOptions: [{
4099
+ key: 'operateType',
4100
+ label: '操作类型',
4101
+ type: 'CustomOperateType'
4102
+ }, {
4103
+ key: 'customSelectComp',
4104
+ label: '选择打印组件',
4105
+ type: 'CustomSelectComp',
4106
+ props: {
4107
+ isRequired: true
4108
+ }
4109
+ }],
4110
+ todoCallbacks: ['callback1', 'callback2'],
4111
+ classification: [{
4112
+ label: '常用',
4113
+ value: 'common'
4114
+ }]
3814
4115
  }
3815
4116
  };
3816
4117
  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',
@@ -3818,7 +4119,7 @@ var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridg
3818
4119
  'return', 'copyToClipboard', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus'];
3819
4120
  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',
3820
4121
  // 'previewFile',
3821
- 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus'];
4122
+ 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'sysSetState', 'customPrintOrExport'];
3822
4123
  // 指定页面类型展示动作,别的类型需过滤掉该动作
3823
4124
  var pcPageTypeTodoActionKeys = {
3824
4125
  'Modal': ['setModalTitle'],
@@ -353,7 +353,7 @@ var todoOptionList = {
353
353
  key: 'params',
354
354
  label: '参数赋值',
355
355
  // label: '参数',
356
- type: 'SetExpression'
356
+ type: 'SelectParams'
357
357
  },
358
358
  // params: {
359
359
  // key: 'params',
@@ -511,7 +511,7 @@ var todoOptionList = {
511
511
  uploadProps: {
512
512
  key: 'uploadProps',
513
513
  label: '上传参数',
514
- type: 'SetExpression'
514
+ type: 'SelectParams'
515
515
  },
516
516
  inlineeditnow: {
517
517
  key: 'inlineeditnow',
@@ -1118,7 +1118,7 @@ var todoOptionList = {
1118
1118
  customFuncParams: {
1119
1119
  key: 'customFuncParams',
1120
1120
  label: '事件入参',
1121
- type: 'SetExpression'
1121
+ type: 'SelectParams'
1122
1122
  },
1123
1123
  // sceneCode: {
1124
1124
  // key: 'sceneCode',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/assets",
3
- "version": "3.2.1-alpha.1",
3
+ "version": "3.2.1-alpha.2",
4
4
  "description": "灵犀低代码平台移动端 - 工具类",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",