tencentcloud-sdk-nodejs-essbasic 4.0.982 → 4.0.983
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/package.json
CHANGED
package/products.md
CHANGED
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-28 22:52:11 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-11-15 01:09:10 |
|
|
19
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-
|
|
19
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-12-02 01:07:50 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-21 01:05:01 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
|
|
23
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-
|
|
23
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-12-02 01:08:07 |
|
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-11-14 01:10:31 |
|
|
25
25
|
| bh | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-21 01:05:46 |
|
|
26
26
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-11-29 01:09:08 |
|
|
27
|
-
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-
|
|
27
|
+
| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-12-02 01:08:36 |
|
|
28
28
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
29
29
|
| bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 |
|
|
30
30
|
| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-10-18 01:04:14 |
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-10-23 01:09:56 |
|
|
41
41
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
|
|
42
42
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-11-15 01:13:36 |
|
|
43
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-
|
|
43
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-12-02 01:09:38 |
|
|
44
44
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-11-21 01:09:52 |
|
|
45
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-
|
|
45
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-12-02 01:09:55 |
|
|
46
46
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 |
|
|
47
47
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-11-26 01:10:29 |
|
|
48
48
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 |
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
|
|
74
74
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-11-04 21:21:11 |
|
|
75
75
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
|
|
76
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-
|
|
77
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-
|
|
76
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-12-02 01:13:45 |
|
|
77
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-12-02 01:14:03 |
|
|
78
78
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
79
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-
|
|
79
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-12-02 01:15:10 |
|
|
80
80
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 01:26:13 |
|
|
81
81
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
82
82
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
101
101
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-11-21 01:30:48 |
|
|
102
102
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-11-15 01:34:50 |
|
|
103
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-
|
|
104
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-
|
|
103
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-12-02 01:18:08 |
|
|
104
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-12-02 01:18:29 |
|
|
105
105
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-21 01:33:53 |
|
|
106
106
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-11-22 11:46:40 |
|
|
107
107
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-11-15 01:37:24 |
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-11-11 01:39:45 |
|
|
131
131
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
|
132
132
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
|
|
133
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-
|
|
133
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-12-02 01:19:57 |
|
|
134
134
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
|
|
135
135
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-11-06 01:44:05 |
|
|
136
136
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-11-07 01:44:48 |
|
|
142
142
|
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-11-29 01:24:07 |
|
|
143
143
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-11-28 01:21:14 |
|
|
144
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-
|
|
144
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-12-02 01:22:02 |
|
|
145
145
|
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-11-29 01:25:07 |
|
|
146
146
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
147
147
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
@@ -156,14 +156,14 @@
|
|
|
156
156
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-21 01:46:37 |
|
|
157
157
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-29 01:26:32 |
|
|
158
158
|
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-11-01 01:51:29 |
|
|
159
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-
|
|
159
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-29 11:42:29 |
|
|
160
160
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-11-14 01:54:52 |
|
|
161
161
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
|
|
162
162
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
163
163
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
|
|
164
164
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
165
165
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-11-28 01:23:56 |
|
|
166
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-
|
|
166
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-12-02 01:25:30 |
|
|
167
167
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-21 01:50:50 |
|
|
168
168
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-11-29 01:27:56 |
|
|
169
169
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 |
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-11-22 12:12:16 |
|
|
215
215
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-11-14 02:08:25 |
|
|
216
216
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-11-05 02:16:13 |
|
|
217
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-11-
|
|
217
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-11-29 19:52:14 |
|
|
218
218
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-11-26 01:28:42 |
|
|
219
219
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
220
220
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -111,12 +111,20 @@ export interface Component {
|
|
|
111
111
|
<li> <b>SIGN_SIGNATURE</b> : 用户签名控件;</li>
|
|
112
112
|
<li> <b>SIGN_PAGING_SEAL</b> : 骑缝章;若文件发起,需要对应填充ComponentPosY、ComponentWidth、ComponentHeight</li>
|
|
113
113
|
<li> <b>SIGN_OPINION</b> : 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;</li>
|
|
114
|
+
<li> <b>SIGN_VIRTUAL_COMBINATION</b> : 签批控件。内部最多组合4个特定控件(SIGN_SIGNATURE,SIGN_DATA,SIGN_MULTI_LINE_TEXT,SIGN_SELECTOR),本身不填充任何文字内容</li>
|
|
115
|
+
<li> <b>SIGN_MULTI_LINE_TEXT</b> : 多行文本,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作批注附言</li>
|
|
116
|
+
<li> <b>SIGN_SELECTOR</b> : 选择器,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作审批意见的选择</li>
|
|
114
117
|
<li> <b>SIGN_LEGAL_PERSON_SEAL</b> : 企业法定代表人控件。</li></ul>
|
|
115
118
|
|
|
119
|
+
|
|
116
120
|
* 个人方
|
|
117
121
|
<ul><li> <b>SIGN_DATE</b> : 签署日期控件;</li>
|
|
118
122
|
<li> <b>SIGN_SIGNATURE</b> : 用户签名控件;</li>
|
|
119
|
-
<li> <b>SIGN_OPINION</b> : 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;</li
|
|
123
|
+
<li> <b>SIGN_OPINION</b> : 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;</li>
|
|
124
|
+
<li> <b>SIGN_VIRTUAL_COMBINATION</b> : 签批控件。内部包含最多4个特定控件(SIGN_SIGNATURE,SIGN_DATA,SIGN_MULTI_LINE_TEXT,SIGN_SELECTOR),本身不填充任何文字内容</li>
|
|
125
|
+
<li> <b>SIGN_MULTI_LINE_TEXT</b> : 多行文本,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作批注附言</li>
|
|
126
|
+
<li> <b>SIGN_SELECTOR</b> : 选择器,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作审批意见的选择</li>
|
|
127
|
+
</ul>
|
|
120
128
|
|
|
121
129
|
注:` 表单域的控件不能作为印章和签名控件`
|
|
122
130
|
*/
|
|
@@ -236,13 +244,114 @@ export interface Component {
|
|
|
236
244
|
<b>参数样例</b>:`{"Rotate":-30,"RotateRelation":"Component_Id1"}`
|
|
237
245
|
|
|
238
246
|
<font color="red">签署印章透明度功能设置,</font>当ComponentType为SIGN_SIGNATURE、SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署印章的透明度:
|
|
239
|
-
<ul><li> <b>Opacity</b>:印章透明度,支持范围:0
|
|
247
|
+
<ul><li> <b>Opacity</b>:印章透明度,支持范围:0-1,0.7表示70%的透明度,1表示无透明度</li></ul>
|
|
240
248
|
<b>参数样例</b>:`{"Opacity":0.7}`
|
|
241
249
|
|
|
242
250
|
<font color="red">关键字模式下支持关键字找不到的情况下不进行报错的设置</font>
|
|
243
251
|
<ul><li> <b>IgnoreKeywordError</b> :1-关键字查找不到时不进行报错</li></ul>
|
|
244
252
|
场景说明:如果使用关键字进行定位,但是指定的PDF文件中又没有设置的关键字时,发起合同会进行关键字是否存在的校验,如果关键字不存在,会进行报错返回。如果不希望进行报错,可以设置"IgnoreKeywordError"来忽略错误。请注意,如果关键字签署控件对应的签署方在整个PDF文件中一个签署控件都没有,还是会触发报错逻辑。
|
|
245
253
|
<b>参数样例</b>:` "{"IgnoreKeywordError":1}"`
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
<font color="red">ComponentType为SIGN_VIRTUAL_COMBINATION时</font>,支持以下参数:
|
|
257
|
+
<ul>
|
|
258
|
+
<li><b>Children:</b> 绝对定位模式下,用来指定此签批控件的组合子控件 </li>
|
|
259
|
+
<b>参数样例</b>:<br>`{"Children":["ComponentId_29","ComponentId_27","ComponentId_28","ComponentId_30"]}`
|
|
260
|
+
<li><b>ChildrenComponents:</b> 关键字定位模式下,用来指定此签批控件的组合子控件 </li>
|
|
261
|
+
ChildrenComponent结构体定义:
|
|
262
|
+
<table border="1">
|
|
263
|
+
<thead>
|
|
264
|
+
<tr>
|
|
265
|
+
<th>字段名称</th>
|
|
266
|
+
<th>类型</th>
|
|
267
|
+
<th>描述</th>
|
|
268
|
+
</tr>
|
|
269
|
+
</thead>
|
|
270
|
+
<tbody>
|
|
271
|
+
<tr>
|
|
272
|
+
<td>ComponentType</td>
|
|
273
|
+
<td>string</td>
|
|
274
|
+
<td>子控件类型-可选值:SIGN_SIGNATURE,SIGN_DATE,SIGN_SELECTOR,SIGN_MULTI_LINE_TEXT</td>
|
|
275
|
+
</tr>
|
|
276
|
+
<tr>
|
|
277
|
+
<td>ComponentName</td>
|
|
278
|
+
<td>string</td>
|
|
279
|
+
<td>子控件名称</td>
|
|
280
|
+
</tr>
|
|
281
|
+
<tr>
|
|
282
|
+
<td>Placeholder</td>
|
|
283
|
+
<td>string</td>
|
|
284
|
+
<td>子控件提示语</td>
|
|
285
|
+
</tr>
|
|
286
|
+
<tr>
|
|
287
|
+
<td>ComponentOffsetX</td>
|
|
288
|
+
<td>float</td>
|
|
289
|
+
<td>控件偏移位置X(相对于父控件(签批控件的ComponentX))</td>
|
|
290
|
+
</tr>
|
|
291
|
+
<tr>
|
|
292
|
+
<td>ComponentOffsetY</td>
|
|
293
|
+
<td>float</td>
|
|
294
|
+
<td>控件偏移位置Y 相对于父控件(签批控件的ComponentY))</td>
|
|
295
|
+
</tr>
|
|
296
|
+
<tr>
|
|
297
|
+
<td>ComponentWidth</td>
|
|
298
|
+
<td>float</td>
|
|
299
|
+
<td>控件宽</td>
|
|
300
|
+
</tr>
|
|
301
|
+
<tr>
|
|
302
|
+
<td>ComponentHeight</td>
|
|
303
|
+
<td>float</td>
|
|
304
|
+
<td>控件高</td>
|
|
305
|
+
</tr>
|
|
306
|
+
<tr>
|
|
307
|
+
<td>ComponentExtra</td>
|
|
308
|
+
<td>string</td>
|
|
309
|
+
<td>控件的附属信息,根据ComponentType设置</td>
|
|
310
|
+
</tr>
|
|
311
|
+
</tbody>
|
|
312
|
+
</table>
|
|
313
|
+
<b>参数样例</b>:
|
|
314
|
+
```json
|
|
315
|
+
{
|
|
316
|
+
"ChildrenComponents": [
|
|
317
|
+
{
|
|
318
|
+
"ComponentType": "SIGN_SIGNATURE",
|
|
319
|
+
"ComponentName": "个人签名",
|
|
320
|
+
"Placeholder": "请签名",
|
|
321
|
+
"ComponentOffsetX": 10,
|
|
322
|
+
"ComponentOffsetY": 30,
|
|
323
|
+
"ComponentWidth": 119,
|
|
324
|
+
"ComponentHeight": 43,
|
|
325
|
+
"ComponentExtra": "{\"ComponentTypeLimit\":[\"SYSTEM_ESIGN\"]}"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"ComponentType": "SIGN_SELECTOR",
|
|
329
|
+
"ComponentName": "是否同意此协议",
|
|
330
|
+
"Placeholder": "",
|
|
331
|
+
"ComponentOffsetX": 50,
|
|
332
|
+
"ComponentOffsetY": 130,
|
|
333
|
+
"ComponentWidth": 120,
|
|
334
|
+
"ComponentHeight": 43,
|
|
335
|
+
"ComponentExtra": "{\"Values\":[\"同意\",\"不同意\",\"再想想\"],\"FontSize\":12,\"FontAlign\":\"Left\",\"Font\":\"黑体\",\"MultiSelect\":false}"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"ComponentType": "SIGN_MULTI_LINE_TEXT",
|
|
339
|
+
"ComponentName": "批注附言",
|
|
340
|
+
"Placeholder": "",
|
|
341
|
+
"ComponentOffsetX": 150,
|
|
342
|
+
"ComponentOffsetY": 300,
|
|
343
|
+
"ComponentWidth": 200,
|
|
344
|
+
"ComponentHeight": 86,
|
|
345
|
+
"ComponentExtra": ""
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
```
|
|
350
|
+
</ul>
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
246
355
|
*/
|
|
247
356
|
ComponentExtra?: string
|
|
248
357
|
/**
|
|
@@ -90,12 +90,20 @@ export interface Component {
|
|
|
90
90
|
<li> <b>SIGN_SIGNATURE</b> : 用户签名控件;</li>
|
|
91
91
|
<li> <b>SIGN_PAGING_SEAL</b> : 骑缝章;若文件发起,需要对应填充ComponentPosY、ComponentWidth、ComponentHeight</li>
|
|
92
92
|
<li> <b>SIGN_OPINION</b> : 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;</li>
|
|
93
|
+
<li> <b>SIGN_VIRTUAL_COMBINATION</b> : 签批控件。内部最多组合4个特定控件(SIGN_SIGNATURE,SIGN_DATA,SIGN_MULTI_LINE_TEXT,SIGN_SELECTOR),本身不填充任何文字内容</li>
|
|
94
|
+
<li> <b>SIGN_MULTI_LINE_TEXT</b> : 多行文本,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作批注附言</li>
|
|
95
|
+
<li> <b>SIGN_SELECTOR</b> : 选择器,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作审批意见的选择</li>
|
|
93
96
|
<li> <b>SIGN_LEGAL_PERSON_SEAL</b> : 企业法定代表人控件。</li></ul>
|
|
94
97
|
|
|
98
|
+
|
|
95
99
|
* 个人方
|
|
96
100
|
<ul><li> <b>SIGN_DATE</b> : 签署日期控件;</li>
|
|
97
101
|
<li> <b>SIGN_SIGNATURE</b> : 用户签名控件;</li>
|
|
98
|
-
<li> <b>SIGN_OPINION</b> : 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;</li
|
|
102
|
+
<li> <b>SIGN_OPINION</b> : 签署意见控件,用户需要根据配置的签署意见内容,完成对意见内容的确认;</li>
|
|
103
|
+
<li> <b>SIGN_VIRTUAL_COMBINATION</b> : 签批控件。内部包含最多4个特定控件(SIGN_SIGNATURE,SIGN_DATA,SIGN_MULTI_LINE_TEXT,SIGN_SELECTOR),本身不填充任何文字内容</li>
|
|
104
|
+
<li> <b>SIGN_MULTI_LINE_TEXT</b> : 多行文本,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作批注附言</li>
|
|
105
|
+
<li> <b>SIGN_SELECTOR</b> : 选择器,<font color="red">仅可用在签批控件内部作为组合控件,单独无法使用</font>,常用作审批意见的选择</li>
|
|
106
|
+
</ul>
|
|
99
107
|
|
|
100
108
|
注:` 表单域的控件不能作为印章和签名控件`
|
|
101
109
|
*/
|
|
@@ -215,13 +223,114 @@ export interface Component {
|
|
|
215
223
|
<b>参数样例</b>:`{"Rotate":-30,"RotateRelation":"Component_Id1"}`
|
|
216
224
|
|
|
217
225
|
<font color="red">签署印章透明度功能设置,</font>当ComponentType为SIGN_SIGNATURE、SIGN_SEAL、SIGN_PAGING_SEAL、SIGN_LEGAL_PERSON_SEAL时,可以通过以下参数设置签署印章的透明度:
|
|
218
|
-
<ul><li> <b>Opacity</b>:印章透明度,支持范围:0
|
|
226
|
+
<ul><li> <b>Opacity</b>:印章透明度,支持范围:0-1,0.7表示70%的透明度,1表示无透明度</li></ul>
|
|
219
227
|
<b>参数样例</b>:`{"Opacity":0.7}`
|
|
220
228
|
|
|
221
229
|
<font color="red">关键字模式下支持关键字找不到的情况下不进行报错的设置</font>
|
|
222
230
|
<ul><li> <b>IgnoreKeywordError</b> :1-关键字查找不到时不进行报错</li></ul>
|
|
223
231
|
场景说明:如果使用关键字进行定位,但是指定的PDF文件中又没有设置的关键字时,发起合同会进行关键字是否存在的校验,如果关键字不存在,会进行报错返回。如果不希望进行报错,可以设置"IgnoreKeywordError"来忽略错误。请注意,如果关键字签署控件对应的签署方在整个PDF文件中一个签署控件都没有,还是会触发报错逻辑。
|
|
224
232
|
<b>参数样例</b>:` "{"IgnoreKeywordError":1}"`
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
<font color="red">ComponentType为SIGN_VIRTUAL_COMBINATION时</font>,支持以下参数:
|
|
236
|
+
<ul>
|
|
237
|
+
<li><b>Children:</b> 绝对定位模式下,用来指定此签批控件的组合子控件 </li>
|
|
238
|
+
<b>参数样例</b>:<br>`{"Children":["ComponentId_29","ComponentId_27","ComponentId_28","ComponentId_30"]}`
|
|
239
|
+
<li><b>ChildrenComponents:</b> 关键字定位模式下,用来指定此签批控件的组合子控件 </li>
|
|
240
|
+
ChildrenComponent结构体定义:
|
|
241
|
+
<table border="1">
|
|
242
|
+
<thead>
|
|
243
|
+
<tr>
|
|
244
|
+
<th>字段名称</th>
|
|
245
|
+
<th>类型</th>
|
|
246
|
+
<th>描述</th>
|
|
247
|
+
</tr>
|
|
248
|
+
</thead>
|
|
249
|
+
<tbody>
|
|
250
|
+
<tr>
|
|
251
|
+
<td>ComponentType</td>
|
|
252
|
+
<td>string</td>
|
|
253
|
+
<td>子控件类型-可选值:SIGN_SIGNATURE,SIGN_DATE,SIGN_SELECTOR,SIGN_MULTI_LINE_TEXT</td>
|
|
254
|
+
</tr>
|
|
255
|
+
<tr>
|
|
256
|
+
<td>ComponentName</td>
|
|
257
|
+
<td>string</td>
|
|
258
|
+
<td>子控件名称</td>
|
|
259
|
+
</tr>
|
|
260
|
+
<tr>
|
|
261
|
+
<td>Placeholder</td>
|
|
262
|
+
<td>string</td>
|
|
263
|
+
<td>子控件提示语</td>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<td>ComponentOffsetX</td>
|
|
267
|
+
<td>float</td>
|
|
268
|
+
<td>控件偏移位置X(相对于父控件(签批控件的ComponentX))</td>
|
|
269
|
+
</tr>
|
|
270
|
+
<tr>
|
|
271
|
+
<td>ComponentOffsetY</td>
|
|
272
|
+
<td>float</td>
|
|
273
|
+
<td>控件偏移位置Y 相对于父控件(签批控件的ComponentY))</td>
|
|
274
|
+
</tr>
|
|
275
|
+
<tr>
|
|
276
|
+
<td>ComponentWidth</td>
|
|
277
|
+
<td>float</td>
|
|
278
|
+
<td>控件宽</td>
|
|
279
|
+
</tr>
|
|
280
|
+
<tr>
|
|
281
|
+
<td>ComponentHeight</td>
|
|
282
|
+
<td>float</td>
|
|
283
|
+
<td>控件高</td>
|
|
284
|
+
</tr>
|
|
285
|
+
<tr>
|
|
286
|
+
<td>ComponentExtra</td>
|
|
287
|
+
<td>string</td>
|
|
288
|
+
<td>控件的附属信息,根据ComponentType设置</td>
|
|
289
|
+
</tr>
|
|
290
|
+
</tbody>
|
|
291
|
+
</table>
|
|
292
|
+
<b>参数样例</b>:
|
|
293
|
+
```json
|
|
294
|
+
{
|
|
295
|
+
"ChildrenComponents": [
|
|
296
|
+
{
|
|
297
|
+
"ComponentType": "SIGN_SIGNATURE",
|
|
298
|
+
"ComponentName": "个人签名",
|
|
299
|
+
"Placeholder": "请签名",
|
|
300
|
+
"ComponentOffsetX": 10,
|
|
301
|
+
"ComponentOffsetY": 30,
|
|
302
|
+
"ComponentWidth": 119,
|
|
303
|
+
"ComponentHeight": 43,
|
|
304
|
+
"ComponentExtra": "{\"ComponentTypeLimit\":[\"SYSTEM_ESIGN\"]}"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"ComponentType": "SIGN_SELECTOR",
|
|
308
|
+
"ComponentName": "是否同意此协议",
|
|
309
|
+
"Placeholder": "",
|
|
310
|
+
"ComponentOffsetX": 50,
|
|
311
|
+
"ComponentOffsetY": 130,
|
|
312
|
+
"ComponentWidth": 120,
|
|
313
|
+
"ComponentHeight": 43,
|
|
314
|
+
"ComponentExtra": "{\"Values\":[\"同意\",\"不同意\",\"再想想\"],\"FontSize\":12,\"FontAlign\":\"Left\",\"Font\":\"黑体\",\"MultiSelect\":false}"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"ComponentType": "SIGN_MULTI_LINE_TEXT",
|
|
318
|
+
"ComponentName": "批注附言",
|
|
319
|
+
"Placeholder": "",
|
|
320
|
+
"ComponentOffsetX": 150,
|
|
321
|
+
"ComponentOffsetY": 300,
|
|
322
|
+
"ComponentWidth": 200,
|
|
323
|
+
"ComponentHeight": 86,
|
|
324
|
+
"ComponentExtra": ""
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
```
|
|
329
|
+
</ul>
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
225
334
|
*/
|
|
226
335
|
ComponentExtra?: string;
|
|
227
336
|
/**
|