ydb-components-material 0.1.65 → 0.1.66
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.04af327b.js +1 -0
- 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-item/index.js +13 -15
- package/lib/components/file-item/index.js +13 -15
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
- package/build/docs/umi.ea6edade.js +0 -1
- package/es/components/file-item/Untitled-5.json +0 -290
- package/lib/components/file-item/Untitled-5.json +0 -290
|
@@ -120,9 +120,6 @@ var FileItem = function FileItem(_ref) {
|
|
|
120
120
|
var _useState13 = useState(null),
|
|
121
121
|
checkPointData = _useState13[0],
|
|
122
122
|
setCheckPointData = _useState13[1];
|
|
123
|
-
var _useState14 = useState(''),
|
|
124
|
-
oldUrl = _useState14[0],
|
|
125
|
-
setOldUrl = _useState14[1];
|
|
126
123
|
var showViewImg = function showViewImg(url) {
|
|
127
124
|
setIsShowView(true);
|
|
128
125
|
setViewImg(url);
|
|
@@ -233,23 +230,26 @@ var FileItem = function FileItem(_ref) {
|
|
|
233
230
|
setIsShowSealPage(true);
|
|
234
231
|
};
|
|
235
232
|
|
|
233
|
+
// const signAndSeal = () => {
|
|
234
|
+
// seal()
|
|
235
|
+
// }
|
|
236
|
+
|
|
236
237
|
// 获取签pi结果
|
|
237
238
|
var getRes = function getRes(val) {
|
|
238
239
|
console.log('val---', val);
|
|
239
|
-
if (val.fileUrl && !oldUrl) {
|
|
240
|
-
setOldUrl(val.oldUrl);
|
|
241
|
-
}
|
|
242
240
|
valChange(val);
|
|
243
241
|
};
|
|
244
242
|
|
|
245
243
|
// 获取签章结果
|
|
246
244
|
var getSealRes = function getSealRes(val) {
|
|
247
245
|
console.log('sealval---', val);
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
//
|
|
252
|
-
|
|
246
|
+
// 如果还允许签批 就连住一起做了
|
|
247
|
+
// if (signatureEnable) {
|
|
248
|
+
// sign()
|
|
249
|
+
// } else {
|
|
250
|
+
// valChange(val)
|
|
251
|
+
// }
|
|
252
|
+
valChange(val);
|
|
253
253
|
};
|
|
254
254
|
var queryFileLibs = function queryFileLibs() {
|
|
255
255
|
console.log('queryFileLibs');
|
|
@@ -524,8 +524,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
524
524
|
file: {
|
|
525
525
|
name: fileName,
|
|
526
526
|
url: fileUrl,
|
|
527
|
-
type: fileType
|
|
528
|
-
oldUrl: isSigned ? oldUrl : ''
|
|
527
|
+
type: fileType
|
|
529
528
|
},
|
|
530
529
|
token: token,
|
|
531
530
|
tokenTY: tokenTY,
|
|
@@ -541,8 +540,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
541
540
|
name: fileName,
|
|
542
541
|
url: fileUrl,
|
|
543
542
|
type: fileType,
|
|
544
|
-
fileId: fileId
|
|
545
|
-
oldUrl: isSealed ? oldUrl : ''
|
|
543
|
+
fileId: fileId
|
|
546
544
|
},
|
|
547
545
|
token: token,
|
|
548
546
|
tokenTY: tokenTY,
|
|
@@ -126,9 +126,6 @@ var FileItem = function FileItem(_ref) {
|
|
|
126
126
|
var _useState13 = (0, _react.useState)(null),
|
|
127
127
|
checkPointData = _useState13[0],
|
|
128
128
|
setCheckPointData = _useState13[1];
|
|
129
|
-
var _useState14 = (0, _react.useState)(''),
|
|
130
|
-
oldUrl = _useState14[0],
|
|
131
|
-
setOldUrl = _useState14[1];
|
|
132
129
|
var showViewImg = function showViewImg(url) {
|
|
133
130
|
setIsShowView(true);
|
|
134
131
|
setViewImg(url);
|
|
@@ -239,23 +236,26 @@ var FileItem = function FileItem(_ref) {
|
|
|
239
236
|
setIsShowSealPage(true);
|
|
240
237
|
};
|
|
241
238
|
|
|
239
|
+
// const signAndSeal = () => {
|
|
240
|
+
// seal()
|
|
241
|
+
// }
|
|
242
|
+
|
|
242
243
|
// 获取签pi结果
|
|
243
244
|
var getRes = function getRes(val) {
|
|
244
245
|
console.log('val---', val);
|
|
245
|
-
if (val.fileUrl && !oldUrl) {
|
|
246
|
-
setOldUrl(val.oldUrl);
|
|
247
|
-
}
|
|
248
246
|
valChange(val);
|
|
249
247
|
};
|
|
250
248
|
|
|
251
249
|
// 获取签章结果
|
|
252
250
|
var getSealRes = function getSealRes(val) {
|
|
253
251
|
console.log('sealval---', val);
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
//
|
|
258
|
-
|
|
252
|
+
// 如果还允许签批 就连住一起做了
|
|
253
|
+
// if (signatureEnable) {
|
|
254
|
+
// sign()
|
|
255
|
+
// } else {
|
|
256
|
+
// valChange(val)
|
|
257
|
+
// }
|
|
258
|
+
valChange(val);
|
|
259
259
|
};
|
|
260
260
|
var queryFileLibs = function queryFileLibs() {
|
|
261
261
|
console.log('queryFileLibs');
|
|
@@ -530,8 +530,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
530
530
|
file: {
|
|
531
531
|
name: fileName,
|
|
532
532
|
url: fileUrl,
|
|
533
|
-
type: fileType
|
|
534
|
-
oldUrl: isSigned ? oldUrl : ''
|
|
533
|
+
type: fileType
|
|
535
534
|
},
|
|
536
535
|
token: token,
|
|
537
536
|
tokenTY: tokenTY,
|
|
@@ -547,8 +546,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
547
546
|
name: fileName,
|
|
548
547
|
url: fileUrl,
|
|
549
548
|
type: fileType,
|
|
550
|
-
fileId: fileId
|
|
551
|
-
oldUrl: isSealed ? oldUrl : ''
|
|
549
|
+
fileId: fileId
|
|
552
550
|
},
|
|
553
551
|
token: token,
|
|
554
552
|
tokenTY: tokenTY,
|
package/lowcode_es/meta.js
CHANGED
|
@@ -89,7 +89,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
89
89
|
packageName = 'ydb-components-material';
|
|
90
90
|
}
|
|
91
91
|
if (version === void 0) {
|
|
92
|
-
version = '0.1.
|
|
92
|
+
version = '0.1.66';
|
|
93
93
|
}
|
|
94
94
|
if (basicLibraryVersion === void 0) {
|
|
95
95
|
basicLibraryVersion = {
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -94,7 +94,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
94
94
|
packageName = 'ydb-components-material';
|
|
95
95
|
}
|
|
96
96
|
if (version === void 0) {
|
|
97
|
-
version = '0.1.
|
|
97
|
+
version = '0.1.66';
|
|
98
98
|
}
|
|
99
99
|
if (basicLibraryVersion === void 0) {
|
|
100
100
|
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.66",
|
|
4
4
|
"description": "ydb-components-material",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
},
|
|
98
98
|
"componentConfig": {
|
|
99
99
|
"isComponentLibrary": true,
|
|
100
|
-
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.
|
|
100
|
+
"materialSchema": "https://unpkg.com/ydb-components-material@0.1.66/build/lowcode/assets-prod.json"
|
|
101
101
|
},
|
|
102
102
|
"lcMeta": {
|
|
103
103
|
"type": "component"
|
|
104
104
|
},
|
|
105
|
-
"homepage": "https://unpkg.com/ydb-components-material@0.1.
|
|
105
|
+
"homepage": "https://unpkg.com/ydb-components-material@0.1.66/build/index.html"
|
|
106
106
|
}
|