ydb-components-material 0.1.122 → 0.1.123
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.b560760f.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 +7 -3
- package/lib/components/file-list/item.js +7 -3
- 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 或签章能力开启
|
|
@@ -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 或签章能力开启
|
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.123';
|
|
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.123';
|
|
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.123",
|
|
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.123/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.123/build/index.html"
|
|
110
110
|
}
|