ydb-components-material 0.1.188 → 0.1.190
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.bf469fd0.js → umi.542ba5e6.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 +2 -2
- package/es/components/file-list/sealUtil.js +1 -1
- package/lib/components/file-list/item.js +2 -2
- package/lib/components/file-list/sealUtil.js +1 -1
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
|
@@ -491,11 +491,11 @@ var FileItem = function FileItem(_ref) {
|
|
|
491
491
|
while (1) switch (_context4.prev = _context4.next) {
|
|
492
492
|
case 0:
|
|
493
493
|
type = getFileExtension(fileName);
|
|
494
|
-
if (!(type !== 'pdf')) {
|
|
494
|
+
if (!(type !== 'pdf' && type !== 'ofd')) {
|
|
495
495
|
_context4.next = 1;
|
|
496
496
|
break;
|
|
497
497
|
}
|
|
498
|
-
_Message.notice('只有pdf文件才能使用电子签章');
|
|
498
|
+
_Message.notice('只有pdf和ofd文件才能使用电子签章');
|
|
499
499
|
return _context4.abrupt("return");
|
|
500
500
|
case 1:
|
|
501
501
|
openLoading();
|
|
@@ -196,7 +196,7 @@ function getSignOrderId(sealList, fileObj, esusFileUrl, userInfo, sealConfig, co
|
|
|
196
196
|
// 签章文件 (签章文件 base64 编码文件数据或者文件地址)
|
|
197
197
|
fileType: '0',
|
|
198
198
|
// 文件格式类型 (0 文件路径;1 文件数据)
|
|
199
|
-
docType: '0',
|
|
199
|
+
docType: fileName.includes('ofd') ? '1' : '0',
|
|
200
200
|
// 文件内容类型 (0 PDF;1 OFD)
|
|
201
201
|
fileId: fileId,
|
|
202
202
|
// 业务系统文件 id (用于回传文件,不可重复)
|
|
@@ -497,11 +497,11 @@ var FileItem = function FileItem(_ref) {
|
|
|
497
497
|
while (1) switch (_context4.prev = _context4.next) {
|
|
498
498
|
case 0:
|
|
499
499
|
type = (0, _file2.getFileExtension)(fileName);
|
|
500
|
-
if (!(type !== 'pdf')) {
|
|
500
|
+
if (!(type !== 'pdf' && type !== 'ofd')) {
|
|
501
501
|
_context4.next = 1;
|
|
502
502
|
break;
|
|
503
503
|
}
|
|
504
|
-
_message["default"].notice('只有pdf文件才能使用电子签章');
|
|
504
|
+
_message["default"].notice('只有pdf和ofd文件才能使用电子签章');
|
|
505
505
|
return _context4.abrupt("return");
|
|
506
506
|
case 1:
|
|
507
507
|
openLoading();
|
|
@@ -201,7 +201,7 @@ function getSignOrderId(sealList, fileObj, esusFileUrl, userInfo, sealConfig, co
|
|
|
201
201
|
// 签章文件 (签章文件 base64 编码文件数据或者文件地址)
|
|
202
202
|
fileType: '0',
|
|
203
203
|
// 文件格式类型 (0 文件路径;1 文件数据)
|
|
204
|
-
docType: '0',
|
|
204
|
+
docType: fileName.includes('ofd') ? '1' : '0',
|
|
205
205
|
// 文件内容类型 (0 PDF;1 OFD)
|
|
206
206
|
fileId: fileId,
|
|
207
207
|
// 业务系统文件 id (用于回传文件,不可重复)
|
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.190';
|
|
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.190';
|
|
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.190",
|
|
4
4
|
"description": "ydb-components-material",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
},
|
|
103
103
|
"componentConfig": {
|
|
104
104
|
"isComponentLibrary": true,
|
|
105
|
-
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.
|
|
105
|
+
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.190/build/lowcode/assets-prod.json"
|
|
106
106
|
},
|
|
107
107
|
"lcMeta": {
|
|
108
108
|
"type": "component"
|
|
109
109
|
},
|
|
110
|
-
"homepage": "https://unpkg.com/ydb-components-material@0.1.
|
|
110
|
+
"homepage": "https://unpkg.com/ydb-components-material@0.1.190/build/index.html"
|
|
111
111
|
}
|