ydb-components-material 0.1.122 → 0.1.124
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/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/{umi.e06a9e7b.js → umi.91144d3b.js} +1 -1
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.js +1 -1
- package/dist/BizComps.js.map +1 -1
- package/es/components/file-list/item.js +9 -5
- package/lib/components/file-list/item.js +9 -5
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
|
@@ -104,9 +104,13 @@ var FileItem = function FileItem(_ref) {
|
|
|
104
104
|
setNeedOtherSign(otherSign);
|
|
105
105
|
setIsNeedOtherSign(otherSignature);
|
|
106
106
|
setIsNeedOtherSeal(otherSeal);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
// 按钮文字按 signerInfo 区分场景:
|
|
108
|
+
// 代办 → signatureAgentRole/signAgentRole 含 OTHER
|
|
109
|
+
// 本人 → signatureSelfRole/signSelfRole 含 OTHER
|
|
110
|
+
var signBtnOtherSign = Object.keys(signerInfo).length ? (signatureAgentRole !== null && signatureAgentRole !== void 0 ? signatureAgentRole : []).includes(OTHER) || (signAgentRole !== null && signAgentRole !== void 0 ? signAgentRole : []).includes(OTHER) : (signatureSelfRole !== null && signatureSelfRole !== void 0 ? signatureSelfRole : []).includes(OTHER) || (signSelfRole !== null && signSelfRole !== void 0 ? signSelfRole : []).includes(OTHER);
|
|
111
|
+
setSignBtnText(signBtnOtherSign ? '联合签署' : '签署文件');
|
|
112
|
+
setReSignBtnText(signBtnOtherSign ? '重新联合签署' : '重新签署');
|
|
113
|
+
}, [signatureSelfRole, signatureAgentRole, signSelfRole, signAgentRole, signerInfo]);
|
|
110
114
|
|
|
111
115
|
// 是否展示签署按钮
|
|
112
116
|
// 大前提: signatureEnable 或签章能力开启
|
|
@@ -491,7 +495,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
491
495
|
var getRes = function getRes(val) {
|
|
492
496
|
console.log('val---', val);
|
|
493
497
|
valChange(val, fileIndex, index, subIndex);
|
|
494
|
-
needOtherSign && setShowSignerInfo(true)
|
|
498
|
+
// needOtherSign && setShowSignerInfo(true)
|
|
495
499
|
};
|
|
496
500
|
|
|
497
501
|
// 获取签章结果
|
|
@@ -504,7 +508,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
504
508
|
sign();
|
|
505
509
|
} else {
|
|
506
510
|
valChange(val, fileIndex, index, subIndex);
|
|
507
|
-
needOtherSign && setShowSignerInfo(true)
|
|
511
|
+
// needOtherSign && setShowSignerInfo(true)
|
|
508
512
|
}
|
|
509
513
|
};
|
|
510
514
|
var queryFileLibs = function queryFileLibs() {
|
|
@@ -110,9 +110,13 @@ var FileItem = function FileItem(_ref) {
|
|
|
110
110
|
setNeedOtherSign(otherSign);
|
|
111
111
|
setIsNeedOtherSign(otherSignature);
|
|
112
112
|
setIsNeedOtherSeal(otherSeal);
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
// 按钮文字按 signerInfo 区分场景:
|
|
114
|
+
// 代办 → signatureAgentRole/signAgentRole 含 OTHER
|
|
115
|
+
// 本人 → signatureSelfRole/signSelfRole 含 OTHER
|
|
116
|
+
var signBtnOtherSign = Object.keys(signerInfo).length ? (signatureAgentRole !== null && signatureAgentRole !== void 0 ? signatureAgentRole : []).includes(OTHER) || (signAgentRole !== null && signAgentRole !== void 0 ? signAgentRole : []).includes(OTHER) : (signatureSelfRole !== null && signatureSelfRole !== void 0 ? signatureSelfRole : []).includes(OTHER) || (signSelfRole !== null && signSelfRole !== void 0 ? signSelfRole : []).includes(OTHER);
|
|
117
|
+
setSignBtnText(signBtnOtherSign ? '联合签署' : '签署文件');
|
|
118
|
+
setReSignBtnText(signBtnOtherSign ? '重新联合签署' : '重新签署');
|
|
119
|
+
}, [signatureSelfRole, signatureAgentRole, signSelfRole, signAgentRole, signerInfo]);
|
|
116
120
|
|
|
117
121
|
// 是否展示签署按钮
|
|
118
122
|
// 大前提: signatureEnable 或签章能力开启
|
|
@@ -497,7 +501,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
497
501
|
var getRes = function getRes(val) {
|
|
498
502
|
console.log('val---', val);
|
|
499
503
|
valChange(val, fileIndex, index, subIndex);
|
|
500
|
-
needOtherSign && setShowSignerInfo(true)
|
|
504
|
+
// needOtherSign && setShowSignerInfo(true)
|
|
501
505
|
};
|
|
502
506
|
|
|
503
507
|
// 获取签章结果
|
|
@@ -510,7 +514,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
510
514
|
sign();
|
|
511
515
|
} else {
|
|
512
516
|
valChange(val, fileIndex, index, subIndex);
|
|
513
|
-
needOtherSign && setShowSignerInfo(true)
|
|
517
|
+
// needOtherSign && setShowSignerInfo(true)
|
|
514
518
|
}
|
|
515
519
|
};
|
|
516
520
|
var queryFileLibs = function queryFileLibs() {
|
package/lowcode_es/meta.js
CHANGED
|
@@ -98,7 +98,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
98
98
|
packageName = 'ydb-components-material';
|
|
99
99
|
}
|
|
100
100
|
if (version === void 0) {
|
|
101
|
-
version = '0.1.
|
|
101
|
+
version = '0.1.124';
|
|
102
102
|
}
|
|
103
103
|
if (basicLibraryVersion === void 0) {
|
|
104
104
|
basicLibraryVersion = {
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -103,7 +103,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
103
103
|
packageName = 'ydb-components-material';
|
|
104
104
|
}
|
|
105
105
|
if (version === void 0) {
|
|
106
|
-
version = '0.1.
|
|
106
|
+
version = '0.1.124';
|
|
107
107
|
}
|
|
108
108
|
if (basicLibraryVersion === void 0) {
|
|
109
109
|
basicLibraryVersion = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ydb-components-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.124",
|
|
4
4
|
"description": "ydb-components-material",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
},
|
|
102
102
|
"componentConfig": {
|
|
103
103
|
"isComponentLibrary": true,
|
|
104
|
-
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.
|
|
104
|
+
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.124/build/lowcode/assets-prod.json"
|
|
105
105
|
},
|
|
106
106
|
"lcMeta": {
|
|
107
107
|
"type": "component"
|
|
108
108
|
},
|
|
109
|
-
"homepage": "https://unpkg.com/ydb-components-material@0.1.
|
|
109
|
+
"homepage": "https://unpkg.com/ydb-components-material@0.1.124/build/index.html"
|
|
110
110
|
}
|