@gct-paas/word 0.1.51-patch.8 → 0.1.51-patch.9
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/base/utils/image-size-util.d.ts +6 -4
- package/dist/core/view/Doc.d.ts +13 -0
- package/dist/domain/constants/enum.d.ts +7 -0
- package/dist/index.es.js +594 -449
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +4 -0
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +1 -0
- package/dist/word.css +38 -17
- package/package.json +1 -1
|
@@ -17,6 +17,10 @@ interface IDeviceConfig {
|
|
|
17
17
|
defaultUserId: string | undefined;
|
|
18
18
|
/** 默认的部门id */
|
|
19
19
|
defaultOrgId: string | undefined;
|
|
20
|
+
/** 默认的登录账号 */
|
|
21
|
+
defaultLoginAccount?: string;
|
|
22
|
+
/** 默认的用户姓名(预览/兜底签名展示用) */
|
|
23
|
+
defaultUserName?: string;
|
|
20
24
|
/** 默认的物料查询条件 */
|
|
21
25
|
defaultProductSearchFields: string;
|
|
22
26
|
/** 是否启用人员字段 false: 不使用 true: 使用;先留着扩展,后续如果需要在字段列表过滤才使用 */
|
|
@@ -44,6 +44,7 @@ export declare const signFieldDefaultProps: {
|
|
|
44
44
|
readonly signTimeType: string;
|
|
45
45
|
readonly signDisplayStyle: string;
|
|
46
46
|
readonly populateFields: readonly [];
|
|
47
|
+
readonly fallbackSignType: string;
|
|
47
48
|
};
|
|
48
49
|
export declare const fileFieldDefaultProps: {
|
|
49
50
|
readonly imageDisplayMode: string;
|
package/dist/word.css
CHANGED
|
@@ -8355,42 +8355,42 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
8355
8355
|
width: 100%;
|
|
8356
8356
|
height: 100%;
|
|
8357
8357
|
}
|
|
8358
|
-
.signature-form[data-v-
|
|
8358
|
+
.signature-form[data-v-36be8117] {
|
|
8359
8359
|
position: relative;
|
|
8360
8360
|
width: 100%;
|
|
8361
8361
|
}
|
|
8362
|
-
.signature-form .form-row[data-v-
|
|
8362
|
+
.signature-form .form-row[data-v-36be8117] {
|
|
8363
8363
|
display: flex;
|
|
8364
8364
|
align-items: center;
|
|
8365
8365
|
margin-bottom: 24px;
|
|
8366
8366
|
gap: 16px;
|
|
8367
8367
|
padding-right: 24px;
|
|
8368
8368
|
}
|
|
8369
|
-
.signature-form .form-footer[data-v-
|
|
8369
|
+
.signature-form .form-footer[data-v-36be8117] {
|
|
8370
8370
|
display: flex;
|
|
8371
8371
|
justify-content: flex-end;
|
|
8372
8372
|
gap: 24px;
|
|
8373
8373
|
font-size: 14px;
|
|
8374
8374
|
padding-right: 24px;
|
|
8375
8375
|
}
|
|
8376
|
-
.signature-form .form-footer .form-button[data-v-
|
|
8376
|
+
.signature-form .form-footer .form-button[data-v-36be8117] {
|
|
8377
8377
|
color: #0b57d0;
|
|
8378
8378
|
cursor: pointer;
|
|
8379
8379
|
}
|
|
8380
|
-
.signature-form .label[data-v-
|
|
8380
|
+
.signature-form .label[data-v-36be8117] {
|
|
8381
8381
|
width: 100px;
|
|
8382
8382
|
text-align: right;
|
|
8383
8383
|
line-height: 32px;
|
|
8384
8384
|
color: rgba(0, 0, 0, 0.85);
|
|
8385
8385
|
font-size: 13px;
|
|
8386
8386
|
}
|
|
8387
|
-
.signature-form .label[data-v-
|
|
8387
|
+
.signature-form .label[data-v-36be8117]:after {
|
|
8388
8388
|
content: ':';
|
|
8389
8389
|
margin: 0 2px 0 2px;
|
|
8390
8390
|
position: relative;
|
|
8391
8391
|
top: -0.5px;
|
|
8392
8392
|
}
|
|
8393
|
-
.signature-form .label.required[data-v-
|
|
8393
|
+
.signature-form .label.required[data-v-36be8117]::before {
|
|
8394
8394
|
color: #ff4d4f;
|
|
8395
8395
|
content: '*';
|
|
8396
8396
|
display: inline-block;
|
|
@@ -8399,25 +8399,25 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
8399
8399
|
line-height: 1;
|
|
8400
8400
|
margin-right: 4px;
|
|
8401
8401
|
}
|
|
8402
|
-
.signature-form .control[data-v-
|
|
8402
|
+
.signature-form .control[data-v-36be8117] {
|
|
8403
8403
|
flex: 1;
|
|
8404
8404
|
display: flex;
|
|
8405
8405
|
align-items: center;
|
|
8406
8406
|
position: relative;
|
|
8407
8407
|
}
|
|
8408
|
-
.signature-form .error[data-v-
|
|
8408
|
+
.signature-form .error[data-v-36be8117] {
|
|
8409
8409
|
color: #ff4d4f;
|
|
8410
8410
|
font-size: 12px;
|
|
8411
8411
|
position: absolute;
|
|
8412
8412
|
bottom: -22px;
|
|
8413
8413
|
line-height: 20px;
|
|
8414
8414
|
}
|
|
8415
|
-
.signature-form .scrollbar[data-v-
|
|
8415
|
+
.signature-form .scrollbar[data-v-36be8117] {
|
|
8416
8416
|
position: relative;
|
|
8417
8417
|
margin-top: 8px;
|
|
8418
8418
|
padding-right: 24px;
|
|
8419
8419
|
}
|
|
8420
|
-
.signature-form .img-box[data-v-
|
|
8420
|
+
.signature-form .img-box[data-v-36be8117] {
|
|
8421
8421
|
display: flex;
|
|
8422
8422
|
gap: 12px;
|
|
8423
8423
|
flex-wrap: wrap;
|
|
@@ -8425,12 +8425,12 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
8425
8425
|
padding-top: 8px;
|
|
8426
8426
|
padding-bottom: 8px;
|
|
8427
8427
|
}
|
|
8428
|
-
.signature-form .img-item[data-v-
|
|
8428
|
+
.signature-form .img-item[data-v-36be8117] {
|
|
8429
8429
|
width: 80px;
|
|
8430
8430
|
height: 80px;
|
|
8431
8431
|
position: relative;
|
|
8432
8432
|
}
|
|
8433
|
-
.signature-form .img[data-v-
|
|
8433
|
+
.signature-form .img[data-v-36be8117] {
|
|
8434
8434
|
display: block;
|
|
8435
8435
|
width: 100%;
|
|
8436
8436
|
height: 100%;
|
|
@@ -8439,7 +8439,7 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
8439
8439
|
cursor: pointer;
|
|
8440
8440
|
background-color: #f7f8fa;
|
|
8441
8441
|
}
|
|
8442
|
-
.signature-form .delete[data-v-
|
|
8442
|
+
.signature-form .delete[data-v-36be8117] {
|
|
8443
8443
|
position: absolute;
|
|
8444
8444
|
top: -6px;
|
|
8445
8445
|
right: -6px;
|
|
@@ -8452,7 +8452,7 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
8452
8452
|
justify-content: center;
|
|
8453
8453
|
cursor: pointer;
|
|
8454
8454
|
}
|
|
8455
|
-
.signature-form .preview-mask[data-v-
|
|
8455
|
+
.signature-form .preview-mask[data-v-36be8117] {
|
|
8456
8456
|
position: fixed;
|
|
8457
8457
|
inset: 0;
|
|
8458
8458
|
background: rgba(0, 0, 0, 0.4);
|
|
@@ -8461,7 +8461,7 @@ textarea[data-v-57fe54a3]::placeholder {
|
|
|
8461
8461
|
justify-content: center;
|
|
8462
8462
|
z-index: 9999;
|
|
8463
8463
|
}
|
|
8464
|
-
.signature-form .preview-mask img[data-v-
|
|
8464
|
+
.signature-form .preview-mask img[data-v-36be8117] {
|
|
8465
8465
|
max-width: 80%;
|
|
8466
8466
|
max-height: 80%;
|
|
8467
8467
|
}
|
|
@@ -11997,9 +11997,30 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
11997
11997
|
height: 65px;
|
|
11998
11998
|
box-sizing: border-box;
|
|
11999
11999
|
}
|
|
12000
|
-
.panel-field-sign-config[data-v-
|
|
12000
|
+
.panel-field-sign-config[data-v-63b151a2] {
|
|
12001
12001
|
padding: 16px;
|
|
12002
12002
|
}
|
|
12003
|
+
.form-custom-label[data-v-63b151a2] {
|
|
12004
|
+
display: inline-flex;
|
|
12005
|
+
align-items: center;
|
|
12006
|
+
gap: 4px;
|
|
12007
|
+
}
|
|
12008
|
+
.form-custom-label .icon[data-v-63b151a2] {
|
|
12009
|
+
color: #a6a6a6;
|
|
12010
|
+
cursor: pointer;
|
|
12011
|
+
vertical-align: text-top;
|
|
12012
|
+
}
|
|
12013
|
+
.option-label[data-v-63b151a2] {
|
|
12014
|
+
display: inline-block;
|
|
12015
|
+
width: 100%;
|
|
12016
|
+
line-height: 24px;
|
|
12017
|
+
}
|
|
12018
|
+
.fallback-sign-preview[data-v-63b151a2] {
|
|
12019
|
+
display: block;
|
|
12020
|
+
width: 180px;
|
|
12021
|
+
height: auto;
|
|
12022
|
+
background: #fff;
|
|
12023
|
+
}
|
|
12003
12024
|
.panel-field-sign-style[data-v-a883d56b] {
|
|
12004
12025
|
padding: 16px;
|
|
12005
12026
|
}
|