n8n-nodes-wecom 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/WeCom/resources/message/execute.js +102 -168
- package/dist/nodes/WeCom/resources/message/execute.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendTemplateCard.js +483 -61
- package/dist/nodes/WeCom/resources/message/sendTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/updateTemplateCard.js +483 -61
- package/dist/nodes/WeCom/resources/message/updateTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/passiveReply/execute.js +64 -97
- package/dist/nodes/WeCom/resources/passiveReply/execute.js.map +1 -1
- package/dist/nodes/WeCom/resources/passiveReply/index.js +469 -41
- package/dist/nodes/WeCom/resources/passiveReply/index.js.map +1 -1
- package/dist/nodes/WeComBase/WeComBase.node.js +27 -25
- package/dist/nodes/WeComBase/WeComBase.node.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -39,7 +39,6 @@ exports.sendTemplateCardDescription = [
|
|
|
39
39
|
description: '文本通知型模板卡片',
|
|
40
40
|
},
|
|
41
41
|
],
|
|
42
|
-
required: true,
|
|
43
42
|
default: 'text_notice',
|
|
44
43
|
displayOptions: {
|
|
45
44
|
show: showOnlySendTemplateCard,
|
|
@@ -47,50 +46,172 @@ exports.sendTemplateCardDescription = [
|
|
|
47
46
|
description: '选择模板卡片的类型。<a href="https://developer.work.weixin.qq.com/document/path/90236#模板卡片消息" target="_blank">官方文档</a>',
|
|
48
47
|
},
|
|
49
48
|
{
|
|
50
|
-
displayName: '
|
|
49
|
+
displayName: '卡片来源',
|
|
51
50
|
name: 'source',
|
|
52
|
-
type: '
|
|
53
|
-
default:
|
|
54
|
-
placeholder: '
|
|
51
|
+
type: 'fixedCollection',
|
|
52
|
+
default: {},
|
|
53
|
+
placeholder: '添加来源信息',
|
|
55
54
|
displayOptions: {
|
|
56
55
|
show: showOnlySendTemplateCard,
|
|
57
56
|
},
|
|
58
|
-
description: '
|
|
57
|
+
description: '可选。模板卡片来源样式信息',
|
|
58
|
+
options: [
|
|
59
|
+
{
|
|
60
|
+
name: 'sourceInfo',
|
|
61
|
+
displayName: '来源信息',
|
|
62
|
+
values: [
|
|
63
|
+
{
|
|
64
|
+
displayName: '来源图标URL',
|
|
65
|
+
name: 'icon_url',
|
|
66
|
+
type: 'string',
|
|
67
|
+
default: '',
|
|
68
|
+
placeholder: 'https://example.com/icon.png',
|
|
69
|
+
description: '来源图标的URL地址',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
displayName: '来源描述',
|
|
73
|
+
name: 'desc',
|
|
74
|
+
type: 'string',
|
|
75
|
+
default: '',
|
|
76
|
+
placeholder: '企业微信',
|
|
77
|
+
description: '来源的描述文字',
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
],
|
|
59
82
|
},
|
|
60
83
|
{
|
|
61
84
|
displayName: '一级标题',
|
|
62
85
|
name: 'main_title',
|
|
63
|
-
type: '
|
|
64
|
-
default:
|
|
65
|
-
placeholder: '
|
|
86
|
+
type: 'fixedCollection',
|
|
87
|
+
default: {},
|
|
88
|
+
placeholder: '添加标题',
|
|
66
89
|
displayOptions: {
|
|
67
90
|
show: showOnlySendTemplateCard,
|
|
68
91
|
},
|
|
69
|
-
|
|
70
|
-
|
|
92
|
+
description: '模板卡片的主要内容,包含一级标题和标题辅助信息',
|
|
93
|
+
options: [
|
|
94
|
+
{
|
|
95
|
+
name: 'titleInfo',
|
|
96
|
+
displayName: '标题内容',
|
|
97
|
+
values: [
|
|
98
|
+
{
|
|
99
|
+
displayName: '标题',
|
|
100
|
+
name: 'title',
|
|
101
|
+
type: 'string',
|
|
102
|
+
default: '',
|
|
103
|
+
placeholder: '欢迎使用',
|
|
104
|
+
description: '一级标题文本',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
displayName: '副标题',
|
|
108
|
+
name: 'desc',
|
|
109
|
+
type: 'string',
|
|
110
|
+
default: '',
|
|
111
|
+
placeholder: '点击查看详情',
|
|
112
|
+
description: '标题辅助信息',
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
},
|
|
116
|
+
],
|
|
71
117
|
},
|
|
72
118
|
{
|
|
73
119
|
displayName: '关键数据样式',
|
|
74
120
|
name: 'emphasis_content',
|
|
75
|
-
type: '
|
|
76
|
-
default:
|
|
77
|
-
placeholder: '
|
|
121
|
+
type: 'fixedCollection',
|
|
122
|
+
default: {},
|
|
123
|
+
placeholder: '添加关键数据',
|
|
78
124
|
displayOptions: {
|
|
79
125
|
show: showOnlySendTemplateCard,
|
|
80
126
|
},
|
|
81
|
-
description: '
|
|
127
|
+
description: '可选。关键数据样式',
|
|
128
|
+
options: [
|
|
129
|
+
{
|
|
130
|
+
name: 'emphasisInfo',
|
|
131
|
+
displayName: '关键数据',
|
|
132
|
+
values: [
|
|
133
|
+
{
|
|
134
|
+
displayName: '数据',
|
|
135
|
+
name: 'title',
|
|
136
|
+
type: 'string',
|
|
137
|
+
default: '',
|
|
138
|
+
placeholder: '100',
|
|
139
|
+
description: '关键数据内容',
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
displayName: '数据描述',
|
|
143
|
+
name: 'desc',
|
|
144
|
+
type: 'string',
|
|
145
|
+
default: '',
|
|
146
|
+
placeholder: '已完成',
|
|
147
|
+
description: '数据的描述说明',
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
],
|
|
82
152
|
},
|
|
83
153
|
{
|
|
84
154
|
displayName: '引用文献样式',
|
|
85
155
|
name: 'quote_area',
|
|
86
|
-
type: '
|
|
87
|
-
default:
|
|
88
|
-
placeholder: '
|
|
156
|
+
type: 'fixedCollection',
|
|
157
|
+
default: {},
|
|
158
|
+
placeholder: '添加引用',
|
|
89
159
|
displayOptions: {
|
|
90
160
|
show: showOnlySendTemplateCard,
|
|
91
161
|
},
|
|
92
|
-
|
|
93
|
-
|
|
162
|
+
description: '可选。引用文献样式,建议不与关键数据共用',
|
|
163
|
+
options: [
|
|
164
|
+
{
|
|
165
|
+
name: 'quoteInfo',
|
|
166
|
+
displayName: '引用内容',
|
|
167
|
+
values: [
|
|
168
|
+
{
|
|
169
|
+
displayName: '引用类型',
|
|
170
|
+
name: 'type',
|
|
171
|
+
type: 'options',
|
|
172
|
+
options: [
|
|
173
|
+
{
|
|
174
|
+
name: '边框类型',
|
|
175
|
+
value: 1,
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: '卡片类型',
|
|
179
|
+
value: 2,
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
default: 1,
|
|
183
|
+
description: '引用文献的样式类型',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
displayName: '引用链接',
|
|
187
|
+
name: 'url',
|
|
188
|
+
type: 'string',
|
|
189
|
+
default: '',
|
|
190
|
+
placeholder: 'https://example.com',
|
|
191
|
+
description: '点击引用后跳转的链接',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
displayName: '引用标题',
|
|
195
|
+
name: 'title',
|
|
196
|
+
type: 'string',
|
|
197
|
+
default: '',
|
|
198
|
+
placeholder: '引用标题',
|
|
199
|
+
description: '引用文献的标题',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
displayName: '引用文本',
|
|
203
|
+
name: 'quote_text',
|
|
204
|
+
type: 'string',
|
|
205
|
+
typeOptions: {
|
|
206
|
+
rows: 3,
|
|
207
|
+
},
|
|
208
|
+
default: '',
|
|
209
|
+
placeholder: '引用的具体内容',
|
|
210
|
+
description: '引用文献的具体文本内容',
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
],
|
|
94
215
|
},
|
|
95
216
|
{
|
|
96
217
|
displayName: '二级普通文本',
|
|
@@ -107,44 +228,169 @@ exports.sendTemplateCardDescription = [
|
|
|
107
228
|
{
|
|
108
229
|
displayName: '二级标题+文本列表',
|
|
109
230
|
name: 'horizontal_content_list',
|
|
110
|
-
type: '
|
|
231
|
+
type: 'fixedCollection',
|
|
111
232
|
typeOptions: {
|
|
112
|
-
|
|
233
|
+
multipleValues: true,
|
|
113
234
|
},
|
|
114
|
-
default:
|
|
115
|
-
placeholder: '
|
|
235
|
+
default: {},
|
|
236
|
+
placeholder: '添加列表项',
|
|
116
237
|
displayOptions: {
|
|
117
238
|
show: showOnlySendTemplateCard,
|
|
118
239
|
},
|
|
119
|
-
|
|
120
|
-
|
|
240
|
+
description: '可选。二级标题+文本列表,列表长度不超过6',
|
|
241
|
+
options: [
|
|
242
|
+
{
|
|
243
|
+
name: 'items',
|
|
244
|
+
displayName: '列表项',
|
|
245
|
+
values: [
|
|
246
|
+
{
|
|
247
|
+
displayName: '标题',
|
|
248
|
+
name: 'keyname',
|
|
249
|
+
type: 'string',
|
|
250
|
+
default: '',
|
|
251
|
+
placeholder: '姓名',
|
|
252
|
+
description: '列表项的标题',
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
displayName: '内容',
|
|
256
|
+
name: 'value',
|
|
257
|
+
type: 'string',
|
|
258
|
+
default: '',
|
|
259
|
+
placeholder: '张三',
|
|
260
|
+
description: '列表项的内容',
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
displayName: '内容类型',
|
|
264
|
+
name: 'type',
|
|
265
|
+
type: 'options',
|
|
266
|
+
options: [
|
|
267
|
+
{
|
|
268
|
+
name: '普通文本',
|
|
269
|
+
value: 0,
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: '带跳转链接',
|
|
273
|
+
value: 1,
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
default: 0,
|
|
277
|
+
description: '内容的类型',
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
displayName: '跳转链接',
|
|
281
|
+
name: 'url',
|
|
282
|
+
type: 'string',
|
|
283
|
+
default: '',
|
|
284
|
+
placeholder: 'https://example.com',
|
|
285
|
+
description: '点击内容后跳转的链接(仅当类型为带跳转链接时有效)',
|
|
286
|
+
displayOptions: {
|
|
287
|
+
show: {
|
|
288
|
+
type: [1],
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
},
|
|
294
|
+
],
|
|
121
295
|
},
|
|
122
296
|
{
|
|
123
|
-
displayName: '
|
|
297
|
+
displayName: '跳转指引样式列表',
|
|
124
298
|
name: 'jump_list',
|
|
125
|
-
type: '
|
|
299
|
+
type: 'fixedCollection',
|
|
126
300
|
typeOptions: {
|
|
127
|
-
|
|
301
|
+
multipleValues: true,
|
|
128
302
|
},
|
|
129
|
-
default:
|
|
130
|
-
placeholder: '
|
|
303
|
+
default: {},
|
|
304
|
+
placeholder: '添加跳转指引',
|
|
131
305
|
displayOptions: {
|
|
132
306
|
show: showOnlySendTemplateCard,
|
|
133
307
|
},
|
|
134
|
-
|
|
135
|
-
|
|
308
|
+
description: '可选。跳转指引样式的列表,列表长度不超过3',
|
|
309
|
+
options: [
|
|
310
|
+
{
|
|
311
|
+
name: 'items',
|
|
312
|
+
displayName: '跳转指引',
|
|
313
|
+
values: [
|
|
314
|
+
{
|
|
315
|
+
displayName: '跳转类型',
|
|
316
|
+
name: 'type',
|
|
317
|
+
type: 'options',
|
|
318
|
+
options: [
|
|
319
|
+
{
|
|
320
|
+
name: '跳转URL',
|
|
321
|
+
value: 1,
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: '跳转小程序',
|
|
325
|
+
value: 2,
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
default: 1,
|
|
329
|
+
description: '跳转目标的类型',
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
displayName: '标题',
|
|
333
|
+
name: 'title',
|
|
334
|
+
type: 'string',
|
|
335
|
+
default: '',
|
|
336
|
+
placeholder: '查看详情',
|
|
337
|
+
description: '跳转指引的标题',
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
displayName: '跳转链接',
|
|
341
|
+
name: 'url',
|
|
342
|
+
type: 'string',
|
|
343
|
+
default: '',
|
|
344
|
+
placeholder: 'https://example.com',
|
|
345
|
+
description: '跳转的URL地址',
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
},
|
|
349
|
+
],
|
|
136
350
|
},
|
|
137
351
|
{
|
|
138
|
-
displayName: '
|
|
352
|
+
displayName: '整体卡片点击跳转',
|
|
139
353
|
name: 'card_action',
|
|
140
|
-
type: '
|
|
141
|
-
default:
|
|
142
|
-
placeholder: '
|
|
354
|
+
type: 'fixedCollection',
|
|
355
|
+
default: {},
|
|
356
|
+
placeholder: '设置卡片跳转',
|
|
143
357
|
displayOptions: {
|
|
144
358
|
show: showOnlySendTemplateCard,
|
|
145
359
|
},
|
|
146
|
-
|
|
147
|
-
|
|
360
|
+
description: '整体卡片的点击跳转事件(text_notice必填,news_notice不需要)',
|
|
361
|
+
options: [
|
|
362
|
+
{
|
|
363
|
+
name: 'actionInfo',
|
|
364
|
+
displayName: '跳转设置',
|
|
365
|
+
values: [
|
|
366
|
+
{
|
|
367
|
+
displayName: '跳转类型',
|
|
368
|
+
name: 'type',
|
|
369
|
+
type: 'options',
|
|
370
|
+
options: [
|
|
371
|
+
{
|
|
372
|
+
name: '跳转URL',
|
|
373
|
+
value: 1,
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: '跳转小程序',
|
|
377
|
+
value: 2,
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
default: 1,
|
|
381
|
+
description: '点击卡片后的跳转类型',
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
displayName: '跳转链接',
|
|
385
|
+
name: 'url',
|
|
386
|
+
type: 'string',
|
|
387
|
+
default: '',
|
|
388
|
+
placeholder: 'https://example.com',
|
|
389
|
+
description: '跳转的URL地址',
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
},
|
|
393
|
+
],
|
|
148
394
|
},
|
|
149
395
|
{
|
|
150
396
|
displayName: '任务ID',
|
|
@@ -161,20 +407,60 @@ exports.sendTemplateCardDescription = [
|
|
|
161
407
|
{
|
|
162
408
|
displayName: '按钮列表',
|
|
163
409
|
name: 'button_list',
|
|
164
|
-
type: '
|
|
410
|
+
type: 'fixedCollection',
|
|
165
411
|
typeOptions: {
|
|
166
|
-
|
|
412
|
+
multipleValues: true,
|
|
167
413
|
},
|
|
168
|
-
default:
|
|
169
|
-
placeholder: '
|
|
414
|
+
default: {},
|
|
415
|
+
placeholder: '添加按钮',
|
|
170
416
|
displayOptions: {
|
|
171
417
|
show: {
|
|
172
418
|
...showOnlySendTemplateCard,
|
|
173
419
|
card_type: ['button_interaction'],
|
|
174
420
|
},
|
|
175
421
|
},
|
|
176
|
-
|
|
177
|
-
|
|
422
|
+
description: '按钮交互型卡片的按钮列表,列表长度不超过6',
|
|
423
|
+
options: [
|
|
424
|
+
{
|
|
425
|
+
name: 'buttons',
|
|
426
|
+
displayName: '按钮',
|
|
427
|
+
values: [
|
|
428
|
+
{
|
|
429
|
+
displayName: '按钮文本',
|
|
430
|
+
name: 'text',
|
|
431
|
+
type: 'string',
|
|
432
|
+
default: '',
|
|
433
|
+
placeholder: '同意',
|
|
434
|
+
description: '按钮上显示的文字',
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
displayName: '按钮样式',
|
|
438
|
+
name: 'style',
|
|
439
|
+
type: 'options',
|
|
440
|
+
options: [
|
|
441
|
+
{
|
|
442
|
+
name: '蓝色样式',
|
|
443
|
+
value: 1,
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
name: '灰色样式',
|
|
447
|
+
value: 2,
|
|
448
|
+
},
|
|
449
|
+
],
|
|
450
|
+
default: 1,
|
|
451
|
+
description: '按钮的样式类型',
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
displayName: '按钮Key',
|
|
455
|
+
name: 'key',
|
|
456
|
+
type: 'string',
|
|
457
|
+
default: '',
|
|
458
|
+
placeholder: 'btn_agree',
|
|
459
|
+
description: '按钮的唯一标识,用于回调事件',
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
},
|
|
463
|
+
],
|
|
178
464
|
},
|
|
179
465
|
{
|
|
180
466
|
displayName: '选择题Key值',
|
|
@@ -217,21 +503,43 @@ exports.sendTemplateCardDescription = [
|
|
|
217
503
|
{
|
|
218
504
|
displayName: '选项列表',
|
|
219
505
|
name: 'option_list',
|
|
220
|
-
type: '
|
|
506
|
+
type: 'fixedCollection',
|
|
221
507
|
typeOptions: {
|
|
222
|
-
|
|
508
|
+
multipleValues: true,
|
|
223
509
|
},
|
|
224
|
-
default:
|
|
225
|
-
placeholder: '
|
|
510
|
+
default: {},
|
|
511
|
+
placeholder: '添加选项',
|
|
226
512
|
displayOptions: {
|
|
227
513
|
show: {
|
|
228
514
|
...showOnlySendTemplateCard,
|
|
229
515
|
card_type: ['vote_interaction', 'multiple_interaction'],
|
|
230
516
|
},
|
|
231
517
|
},
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
518
|
+
description: '选项列表,列表长度不超过10',
|
|
519
|
+
options: [
|
|
520
|
+
{
|
|
521
|
+
name: 'options',
|
|
522
|
+
displayName: '选项',
|
|
523
|
+
values: [
|
|
524
|
+
{
|
|
525
|
+
displayName: '选项ID',
|
|
526
|
+
name: 'id',
|
|
527
|
+
type: 'string',
|
|
528
|
+
default: '',
|
|
529
|
+
placeholder: 'option1',
|
|
530
|
+
description: '选项的唯一标识',
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
displayName: '选项文本',
|
|
534
|
+
name: 'text',
|
|
535
|
+
type: 'string',
|
|
536
|
+
default: '',
|
|
537
|
+
placeholder: '选项一',
|
|
538
|
+
description: '选项显示的文本',
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
},
|
|
542
|
+
],
|
|
235
543
|
},
|
|
236
544
|
{
|
|
237
545
|
displayName: '提交按钮文案',
|
|
@@ -260,34 +568,148 @@ exports.sendTemplateCardDescription = [
|
|
|
260
568
|
card_type: ['vote_interaction', 'multiple_interaction'],
|
|
261
569
|
},
|
|
262
570
|
},
|
|
263
|
-
required: true,
|
|
264
571
|
hint: '最长支持1024字节',
|
|
265
572
|
description: '提交按钮key值,用户提交选项后,会产生回调事件,回调事件会将本参数作为EventKey返回。<a href="https://developer.work.weixin.qq.com/document/path/90236#模板卡片消息" target="_blank">官方文档</a>',
|
|
266
573
|
},
|
|
267
574
|
{
|
|
268
575
|
displayName: '图片样式',
|
|
269
576
|
name: 'image_text_area',
|
|
270
|
-
type: '
|
|
271
|
-
default:
|
|
272
|
-
placeholder: '
|
|
577
|
+
type: 'fixedCollection',
|
|
578
|
+
default: {},
|
|
579
|
+
placeholder: '添加图片',
|
|
273
580
|
displayOptions: {
|
|
274
581
|
show: {
|
|
275
582
|
...showOnlySendTemplateCard,
|
|
276
583
|
card_type: ['news_notice'],
|
|
277
584
|
},
|
|
278
585
|
},
|
|
279
|
-
description: '
|
|
586
|
+
description: '可选。左图右文样式',
|
|
587
|
+
options: [
|
|
588
|
+
{
|
|
589
|
+
name: 'imageTextInfo',
|
|
590
|
+
displayName: '图片内容',
|
|
591
|
+
values: [
|
|
592
|
+
{
|
|
593
|
+
displayName: '图片类型',
|
|
594
|
+
name: 'type',
|
|
595
|
+
type: 'options',
|
|
596
|
+
options: [
|
|
597
|
+
{
|
|
598
|
+
name: '普通图片',
|
|
599
|
+
value: 0,
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
name: '可点击图片',
|
|
603
|
+
value: 1,
|
|
604
|
+
},
|
|
605
|
+
],
|
|
606
|
+
default: 0,
|
|
607
|
+
description: '图片的类型',
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
displayName: '图片链接',
|
|
611
|
+
name: 'image_url',
|
|
612
|
+
type: 'string',
|
|
613
|
+
default: '',
|
|
614
|
+
placeholder: 'https://example.com/image.png',
|
|
615
|
+
description: '图片的URL地址',
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
displayName: '跳转链接',
|
|
619
|
+
name: 'url',
|
|
620
|
+
type: 'string',
|
|
621
|
+
default: '',
|
|
622
|
+
placeholder: 'https://example.com',
|
|
623
|
+
description: '点击图片后跳转的链接(仅当类型为可点击图片时有效)',
|
|
624
|
+
displayOptions: {
|
|
625
|
+
show: {
|
|
626
|
+
type: [1],
|
|
627
|
+
},
|
|
628
|
+
},
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
displayName: '标题',
|
|
632
|
+
name: 'title',
|
|
633
|
+
type: 'string',
|
|
634
|
+
default: '',
|
|
635
|
+
placeholder: '图片标题',
|
|
636
|
+
description: '图片的标题',
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
displayName: '描述',
|
|
640
|
+
name: 'desc',
|
|
641
|
+
type: 'string',
|
|
642
|
+
typeOptions: {
|
|
643
|
+
rows: 2,
|
|
644
|
+
},
|
|
645
|
+
default: '',
|
|
646
|
+
placeholder: '图片描述',
|
|
647
|
+
description: '图片的描述文字',
|
|
648
|
+
},
|
|
649
|
+
],
|
|
650
|
+
},
|
|
651
|
+
],
|
|
280
652
|
},
|
|
281
653
|
{
|
|
282
654
|
displayName: '卡片右上角更多操作按钮',
|
|
283
655
|
name: 'action_menu',
|
|
284
|
-
type: '
|
|
285
|
-
default:
|
|
286
|
-
placeholder: '
|
|
656
|
+
type: 'fixedCollection',
|
|
657
|
+
default: {},
|
|
658
|
+
placeholder: '添加操作菜单',
|
|
287
659
|
displayOptions: {
|
|
288
660
|
show: showOnlySendTemplateCard,
|
|
289
661
|
},
|
|
290
|
-
description: '
|
|
662
|
+
description: '可选。卡片右上角更多操作按钮',
|
|
663
|
+
options: [
|
|
664
|
+
{
|
|
665
|
+
name: 'menuInfo',
|
|
666
|
+
displayName: '操作菜单',
|
|
667
|
+
values: [
|
|
668
|
+
{
|
|
669
|
+
displayName: '菜单描述',
|
|
670
|
+
name: 'desc',
|
|
671
|
+
type: 'string',
|
|
672
|
+
default: '',
|
|
673
|
+
placeholder: '更多操作',
|
|
674
|
+
description: '菜单的描述文字',
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
displayName: '操作列表',
|
|
678
|
+
name: 'action_list',
|
|
679
|
+
type: 'fixedCollection',
|
|
680
|
+
typeOptions: {
|
|
681
|
+
multipleValues: true,
|
|
682
|
+
},
|
|
683
|
+
default: {},
|
|
684
|
+
placeholder: '添加操作',
|
|
685
|
+
options: [
|
|
686
|
+
{
|
|
687
|
+
name: 'actions',
|
|
688
|
+
displayName: '操作',
|
|
689
|
+
values: [
|
|
690
|
+
{
|
|
691
|
+
displayName: '操作文本',
|
|
692
|
+
name: 'text',
|
|
693
|
+
type: 'string',
|
|
694
|
+
default: '',
|
|
695
|
+
placeholder: '删除',
|
|
696
|
+
description: '操作的文本',
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
displayName: '操作Key',
|
|
700
|
+
name: 'key',
|
|
701
|
+
type: 'string',
|
|
702
|
+
default: '',
|
|
703
|
+
placeholder: 'action_delete',
|
|
704
|
+
description: '操作的唯一标识',
|
|
705
|
+
},
|
|
706
|
+
],
|
|
707
|
+
},
|
|
708
|
+
],
|
|
709
|
+
},
|
|
710
|
+
],
|
|
711
|
+
},
|
|
712
|
+
],
|
|
291
713
|
},
|
|
292
714
|
{
|
|
293
715
|
displayName: '是否开启ID转译',
|