ydb-components-material 0.1.169 → 0.1.170
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.32559b0e.js → umi.be8de605.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 +13 -1
- package/es/components/file-list/signUtil.js +1 -1
- package/es/components/file-list/signerInfo.js +2 -2
- package/es/components/sign-file/index.d.ts +1 -0
- package/es/components/sign-file/index.js +91 -2
- package/lib/components/file-list/item.js +13 -1
- package/lib/components/file-list/signUtil.js +1 -1
- package/lib/components/file-list/signerInfo.js +2 -2
- package/lib/components/sign-file/index.d.ts +1 -0
- package/lib/components/sign-file/index.js +91 -2
- package/lowcode/sign-file/meta.ts +15 -1
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/sign-file/meta.js +13 -0
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/sign-file/meta.js +13 -0
- package/package.json +3 -3
|
@@ -973,8 +973,20 @@ var FileItem = function FileItem(_ref) {
|
|
|
973
973
|
originalUrlRef.current = originalUrl || '';
|
|
974
974
|
if (docId && contrId && nameVal) {
|
|
975
975
|
openLoading();
|
|
976
|
+
// 兜底:连续 10 次轮询仍未成功则结束轮询,避免无限请求
|
|
977
|
+
var pollCount = 0;
|
|
976
978
|
timerRef.current = setInterval(function () {
|
|
977
|
-
getSignedFile(docId, contrId, nameVal)
|
|
979
|
+
getSignedFile(docId, contrId, nameVal).then(function (success) {
|
|
980
|
+
// 成功时 getSignedFile 内部会清除轮询并关闭 loading
|
|
981
|
+
if (!success) {
|
|
982
|
+
pollCount += 1;
|
|
983
|
+
if (pollCount >= 10) {
|
|
984
|
+
clearInterval(timerRef.current);
|
|
985
|
+
timerRef.current = null;
|
|
986
|
+
closeLoading();
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
});
|
|
978
990
|
}, 3000);
|
|
979
991
|
}
|
|
980
992
|
}
|
|
@@ -262,8 +262,8 @@ function getSignUrl(userInfo, config, fileName, fileId, fileUrl) {
|
|
|
262
262
|
signurl(params, config).then(function (res) {
|
|
263
263
|
console.log(res, '页面结果');
|
|
264
264
|
if (res.data.code == 0) {
|
|
265
|
+
setSignInfo(fileName, fileId, fileUrl);
|
|
265
266
|
if (config.fileList) {
|
|
266
|
-
setSignInfo(fileName, fileId, fileUrl);
|
|
267
267
|
localStorage.setItem(config.tokenTY, JSON.stringify(config.fileList));
|
|
268
268
|
}
|
|
269
269
|
resolve(res.data.signUrl);
|
|
@@ -368,10 +368,10 @@ function SignerInfo(props) {
|
|
|
368
368
|
}, signatureEnable && isNeedOtherSign && /*#__PURE__*/React.createElement(_Checkbox, {
|
|
369
369
|
id: "1",
|
|
370
370
|
value: "1"
|
|
371
|
-
}, "\
|
|
371
|
+
}, "\u7B7E\u540D"), signEnable && isNeedOtherSeal && item.signType === 1 && /*#__PURE__*/React.createElement(_Checkbox, {
|
|
372
372
|
id: "2",
|
|
373
373
|
value: "2"
|
|
374
|
-
}, "\
|
|
374
|
+
}, "\u7B7E\u7AE0")))));
|
|
375
375
|
})), /*#__PURE__*/React.createElement("div", {
|
|
376
376
|
className: "footer"
|
|
377
377
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -10,6 +10,7 @@ import downloadIcon from "./icon/download.svg";
|
|
|
10
10
|
import fileIcon from "./icon/file.svg";
|
|
11
11
|
import closeIcon from "./icon/close.svg";
|
|
12
12
|
import SignPage from "../file-list/sign";
|
|
13
|
+
import { getSignRes } from "../file-list/signUtil";
|
|
13
14
|
import SealPage from "../file-list/seal";
|
|
14
15
|
import { querySeal } from "../file-list/sealUtil";
|
|
15
16
|
import { getGuideImg, getUrlById, onlinePreview } from "../../api";
|
|
@@ -30,7 +31,8 @@ var SignFile = function SignFile(_ref) {
|
|
|
30
31
|
style = _ref.style,
|
|
31
32
|
download = _ref.download,
|
|
32
33
|
valChange = _ref.valChange,
|
|
33
|
-
applySeal = _ref.applySeal
|
|
34
|
+
applySeal = _ref.applySeal,
|
|
35
|
+
toSign = _ref.toSign;
|
|
34
36
|
var fileName = file.fileName,
|
|
35
37
|
fileUrl = file.fileUrl,
|
|
36
38
|
fileId = file.fileId,
|
|
@@ -73,6 +75,8 @@ var SignFile = function SignFile(_ref) {
|
|
|
73
75
|
currentFileId = _useState1[0],
|
|
74
76
|
setCurrentFileId = _useState1[1];
|
|
75
77
|
var fileCopy = useRef(_extends({}, file));
|
|
78
|
+
var timerRef = useRef(null);
|
|
79
|
+
var originalUrlRef = useRef('');
|
|
76
80
|
|
|
77
81
|
// 预览材料
|
|
78
82
|
var preview = /*#__PURE__*/function () {
|
|
@@ -432,6 +436,51 @@ var SignFile = function SignFile(_ref) {
|
|
|
432
436
|
setHasSigned(true);
|
|
433
437
|
}
|
|
434
438
|
};
|
|
439
|
+
var getSignedFile = /*#__PURE__*/function () {
|
|
440
|
+
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(documentIdVal, contractIdVal, nameVal) {
|
|
441
|
+
var newFile;
|
|
442
|
+
return _regeneratorRuntime.wrap(function (_context6) {
|
|
443
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
444
|
+
case 0:
|
|
445
|
+
console.log('params---', documentIdVal, contractIdVal, nameVal, file);
|
|
446
|
+
_context6.next = 1;
|
|
447
|
+
return getSignRes(documentIdVal, contractIdVal, nameVal, true, {
|
|
448
|
+
token: token,
|
|
449
|
+
tokenTY: tokenTY,
|
|
450
|
+
baseUrl: baseUrl,
|
|
451
|
+
env: env,
|
|
452
|
+
isPC: isPC
|
|
453
|
+
});
|
|
454
|
+
case 1:
|
|
455
|
+
newFile = _context6.sent;
|
|
456
|
+
if (!newFile) {
|
|
457
|
+
_context6.next = 2;
|
|
458
|
+
break;
|
|
459
|
+
}
|
|
460
|
+
clearInterval(timerRef.current);
|
|
461
|
+
timerRef.current = null;
|
|
462
|
+
localStorage.removeItem(fileId);
|
|
463
|
+
// closeLoading()
|
|
464
|
+
getRes(_extends({}, file, {
|
|
465
|
+
fileId: newFile.fileId,
|
|
466
|
+
fileName: nameVal,
|
|
467
|
+
fileUrl: newFile.fileUrlList[2],
|
|
468
|
+
originalUrl: originalUrlRef.current,
|
|
469
|
+
isSigned: true
|
|
470
|
+
}));
|
|
471
|
+
return _context6.abrupt("return", true);
|
|
472
|
+
case 2:
|
|
473
|
+
return _context6.abrupt("return", false);
|
|
474
|
+
case 3:
|
|
475
|
+
case "end":
|
|
476
|
+
return _context6.stop();
|
|
477
|
+
}
|
|
478
|
+
}, _callee6);
|
|
479
|
+
}));
|
|
480
|
+
return function getSignedFile(_x3, _x4, _x5) {
|
|
481
|
+
return _ref7.apply(this, arguments);
|
|
482
|
+
};
|
|
483
|
+
}();
|
|
435
484
|
useEffect(function () {
|
|
436
485
|
if (currentFileId) {
|
|
437
486
|
getViewUrl(currentFileId).then(function (url) {
|
|
@@ -439,6 +488,46 @@ var SignFile = function SignFile(_ref) {
|
|
|
439
488
|
});
|
|
440
489
|
}
|
|
441
490
|
}, [currentFileId]);
|
|
491
|
+
useEffect(function () {
|
|
492
|
+
try {
|
|
493
|
+
var stored = localStorage.getItem(fileId);
|
|
494
|
+
if (stored) {
|
|
495
|
+
console.log('stored---', stored);
|
|
496
|
+
var _JSON$parse = JSON.parse(stored),
|
|
497
|
+
contrId = _JSON$parse.contractId,
|
|
498
|
+
docId = _JSON$parse.documentId,
|
|
499
|
+
nameVal = _JSON$parse.fileName,
|
|
500
|
+
originalUrl = _JSON$parse.fileUrl;
|
|
501
|
+
console.log('docId', docId, contrId, nameVal);
|
|
502
|
+
localStorage.removeItem(fileId);
|
|
503
|
+
originalUrlRef.current = originalUrl || '';
|
|
504
|
+
if (docId && contrId && nameVal) {
|
|
505
|
+
// openLoading()
|
|
506
|
+
// 兜底:连续 10 次轮询仍未成功则结束轮询,避免无限请求
|
|
507
|
+
var pollCount = 0;
|
|
508
|
+
timerRef.current = setInterval(function () {
|
|
509
|
+
getSignedFile(docId, contrId, nameVal).then(function (success) {
|
|
510
|
+
// 成功时 getSignedFile 内部会清除轮询并关闭 loading
|
|
511
|
+
if (!success) {
|
|
512
|
+
pollCount += 1;
|
|
513
|
+
if (pollCount >= 10) {
|
|
514
|
+
clearInterval(timerRef.current);
|
|
515
|
+
timerRef.current = null;
|
|
516
|
+
// closeLoading()
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
});
|
|
520
|
+
}, 3000);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
} catch (e) {}
|
|
524
|
+
return function () {
|
|
525
|
+
if (timerRef.current) {
|
|
526
|
+
clearInterval(timerRef.current);
|
|
527
|
+
timerRef.current = null;
|
|
528
|
+
}
|
|
529
|
+
};
|
|
530
|
+
}, [fileId]);
|
|
442
531
|
return /*#__PURE__*/React.createElement(_Loading, {
|
|
443
532
|
tip: '加载中...',
|
|
444
533
|
fullScreen: true,
|
|
@@ -489,6 +578,7 @@ var SignFile = function SignFile(_ref) {
|
|
|
489
578
|
src: downloadIcon,
|
|
490
579
|
alt: ""
|
|
491
580
|
}), "\u4E0B\u8F7D")), isShowSignPage && /*#__PURE__*/React.createElement(SignPage, {
|
|
581
|
+
toSign: toSign,
|
|
492
582
|
isShowSignPage: isShowSignPage,
|
|
493
583
|
userInfo: userInfo,
|
|
494
584
|
file: sealedFile || fileCopy.current,
|
|
@@ -497,7 +587,6 @@ var SignFile = function SignFile(_ref) {
|
|
|
497
587
|
baseUrl: baseUrl,
|
|
498
588
|
env: env,
|
|
499
589
|
isPC: isPC,
|
|
500
|
-
getRes: getRes,
|
|
501
590
|
handleClose: function handleClose() {
|
|
502
591
|
return setIsShowSignPage(false);
|
|
503
592
|
},
|
|
@@ -979,8 +979,20 @@ var FileItem = function FileItem(_ref) {
|
|
|
979
979
|
originalUrlRef.current = originalUrl || '';
|
|
980
980
|
if (docId && contrId && nameVal) {
|
|
981
981
|
openLoading();
|
|
982
|
+
// 兜底:连续 10 次轮询仍未成功则结束轮询,避免无限请求
|
|
983
|
+
var pollCount = 0;
|
|
982
984
|
timerRef.current = setInterval(function () {
|
|
983
|
-
getSignedFile(docId, contrId, nameVal)
|
|
985
|
+
getSignedFile(docId, contrId, nameVal).then(function (success) {
|
|
986
|
+
// 成功时 getSignedFile 内部会清除轮询并关闭 loading
|
|
987
|
+
if (!success) {
|
|
988
|
+
pollCount += 1;
|
|
989
|
+
if (pollCount >= 10) {
|
|
990
|
+
clearInterval(timerRef.current);
|
|
991
|
+
timerRef.current = null;
|
|
992
|
+
closeLoading();
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
});
|
|
984
996
|
}, 3000);
|
|
985
997
|
}
|
|
986
998
|
}
|
|
@@ -266,8 +266,8 @@ function getSignUrl(userInfo, config, fileName, fileId, fileUrl) {
|
|
|
266
266
|
(0, _api.signurl)(params, config).then(function (res) {
|
|
267
267
|
console.log(res, '页面结果');
|
|
268
268
|
if (res.data.code == 0) {
|
|
269
|
+
setSignInfo(fileName, fileId, fileUrl);
|
|
269
270
|
if (config.fileList) {
|
|
270
|
-
setSignInfo(fileName, fileId, fileUrl);
|
|
271
271
|
localStorage.setItem(config.tokenTY, JSON.stringify(config.fileList));
|
|
272
272
|
}
|
|
273
273
|
resolve(res.data.signUrl);
|
|
@@ -374,10 +374,10 @@ function SignerInfo(props) {
|
|
|
374
374
|
}, signatureEnable && isNeedOtherSign && /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
|
|
375
375
|
id: "1",
|
|
376
376
|
value: "1"
|
|
377
|
-
}, "\
|
|
377
|
+
}, "\u7B7E\u540D"), signEnable && isNeedOtherSeal && item.signType === 1 && /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
|
|
378
378
|
id: "2",
|
|
379
379
|
value: "2"
|
|
380
|
-
}, "\
|
|
380
|
+
}, "\u7B7E\u7AE0")))));
|
|
381
381
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
382
382
|
className: "footer"
|
|
383
383
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -15,6 +15,7 @@ var _download = _interopRequireDefault(require("./icon/download.svg"));
|
|
|
15
15
|
var _file = _interopRequireDefault(require("./icon/file.svg"));
|
|
16
16
|
var _close = _interopRequireDefault(require("./icon/close.svg"));
|
|
17
17
|
var _sign = _interopRequireDefault(require("../file-list/sign"));
|
|
18
|
+
var _signUtil = require("../file-list/signUtil");
|
|
18
19
|
var _seal = _interopRequireDefault(require("../file-list/seal"));
|
|
19
20
|
var _sealUtil = require("../file-list/sealUtil");
|
|
20
21
|
var _api = require("../../api");
|
|
@@ -36,7 +37,8 @@ var SignFile = function SignFile(_ref) {
|
|
|
36
37
|
style = _ref.style,
|
|
37
38
|
download = _ref.download,
|
|
38
39
|
valChange = _ref.valChange,
|
|
39
|
-
applySeal = _ref.applySeal
|
|
40
|
+
applySeal = _ref.applySeal,
|
|
41
|
+
toSign = _ref.toSign;
|
|
40
42
|
var fileName = file.fileName,
|
|
41
43
|
fileUrl = file.fileUrl,
|
|
42
44
|
fileId = file.fileId,
|
|
@@ -79,6 +81,8 @@ var SignFile = function SignFile(_ref) {
|
|
|
79
81
|
currentFileId = _useState1[0],
|
|
80
82
|
setCurrentFileId = _useState1[1];
|
|
81
83
|
var fileCopy = (0, _react.useRef)((0, _extends2["default"])({}, file));
|
|
84
|
+
var timerRef = (0, _react.useRef)(null);
|
|
85
|
+
var originalUrlRef = (0, _react.useRef)('');
|
|
82
86
|
|
|
83
87
|
// 预览材料
|
|
84
88
|
var preview = /*#__PURE__*/function () {
|
|
@@ -438,6 +442,51 @@ var SignFile = function SignFile(_ref) {
|
|
|
438
442
|
setHasSigned(true);
|
|
439
443
|
}
|
|
440
444
|
};
|
|
445
|
+
var getSignedFile = /*#__PURE__*/function () {
|
|
446
|
+
var _ref7 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6(documentIdVal, contractIdVal, nameVal) {
|
|
447
|
+
var newFile;
|
|
448
|
+
return _regenerator["default"].wrap(function (_context6) {
|
|
449
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
450
|
+
case 0:
|
|
451
|
+
console.log('params---', documentIdVal, contractIdVal, nameVal, file);
|
|
452
|
+
_context6.next = 1;
|
|
453
|
+
return (0, _signUtil.getSignRes)(documentIdVal, contractIdVal, nameVal, true, {
|
|
454
|
+
token: token,
|
|
455
|
+
tokenTY: tokenTY,
|
|
456
|
+
baseUrl: baseUrl,
|
|
457
|
+
env: env,
|
|
458
|
+
isPC: isPC
|
|
459
|
+
});
|
|
460
|
+
case 1:
|
|
461
|
+
newFile = _context6.sent;
|
|
462
|
+
if (!newFile) {
|
|
463
|
+
_context6.next = 2;
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
clearInterval(timerRef.current);
|
|
467
|
+
timerRef.current = null;
|
|
468
|
+
localStorage.removeItem(fileId);
|
|
469
|
+
// closeLoading()
|
|
470
|
+
getRes((0, _extends2["default"])({}, file, {
|
|
471
|
+
fileId: newFile.fileId,
|
|
472
|
+
fileName: nameVal,
|
|
473
|
+
fileUrl: newFile.fileUrlList[2],
|
|
474
|
+
originalUrl: originalUrlRef.current,
|
|
475
|
+
isSigned: true
|
|
476
|
+
}));
|
|
477
|
+
return _context6.abrupt("return", true);
|
|
478
|
+
case 2:
|
|
479
|
+
return _context6.abrupt("return", false);
|
|
480
|
+
case 3:
|
|
481
|
+
case "end":
|
|
482
|
+
return _context6.stop();
|
|
483
|
+
}
|
|
484
|
+
}, _callee6);
|
|
485
|
+
}));
|
|
486
|
+
return function getSignedFile(_x3, _x4, _x5) {
|
|
487
|
+
return _ref7.apply(this, arguments);
|
|
488
|
+
};
|
|
489
|
+
}();
|
|
441
490
|
(0, _react.useEffect)(function () {
|
|
442
491
|
if (currentFileId) {
|
|
443
492
|
getViewUrl(currentFileId).then(function (url) {
|
|
@@ -445,6 +494,46 @@ var SignFile = function SignFile(_ref) {
|
|
|
445
494
|
});
|
|
446
495
|
}
|
|
447
496
|
}, [currentFileId]);
|
|
497
|
+
(0, _react.useEffect)(function () {
|
|
498
|
+
try {
|
|
499
|
+
var stored = localStorage.getItem(fileId);
|
|
500
|
+
if (stored) {
|
|
501
|
+
console.log('stored---', stored);
|
|
502
|
+
var _JSON$parse = JSON.parse(stored),
|
|
503
|
+
contrId = _JSON$parse.contractId,
|
|
504
|
+
docId = _JSON$parse.documentId,
|
|
505
|
+
nameVal = _JSON$parse.fileName,
|
|
506
|
+
originalUrl = _JSON$parse.fileUrl;
|
|
507
|
+
console.log('docId', docId, contrId, nameVal);
|
|
508
|
+
localStorage.removeItem(fileId);
|
|
509
|
+
originalUrlRef.current = originalUrl || '';
|
|
510
|
+
if (docId && contrId && nameVal) {
|
|
511
|
+
// openLoading()
|
|
512
|
+
// 兜底:连续 10 次轮询仍未成功则结束轮询,避免无限请求
|
|
513
|
+
var pollCount = 0;
|
|
514
|
+
timerRef.current = setInterval(function () {
|
|
515
|
+
getSignedFile(docId, contrId, nameVal).then(function (success) {
|
|
516
|
+
// 成功时 getSignedFile 内部会清除轮询并关闭 loading
|
|
517
|
+
if (!success) {
|
|
518
|
+
pollCount += 1;
|
|
519
|
+
if (pollCount >= 10) {
|
|
520
|
+
clearInterval(timerRef.current);
|
|
521
|
+
timerRef.current = null;
|
|
522
|
+
// closeLoading()
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
});
|
|
526
|
+
}, 3000);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
} catch (e) {}
|
|
530
|
+
return function () {
|
|
531
|
+
if (timerRef.current) {
|
|
532
|
+
clearInterval(timerRef.current);
|
|
533
|
+
timerRef.current = null;
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
}, [fileId]);
|
|
448
537
|
return /*#__PURE__*/_react["default"].createElement(_loading["default"], {
|
|
449
538
|
tip: '加载中...',
|
|
450
539
|
fullScreen: true,
|
|
@@ -495,6 +584,7 @@ var SignFile = function SignFile(_ref) {
|
|
|
495
584
|
src: _download["default"],
|
|
496
585
|
alt: ""
|
|
497
586
|
}), "\u4E0B\u8F7D")), isShowSignPage && /*#__PURE__*/_react["default"].createElement(_sign["default"], {
|
|
587
|
+
toSign: toSign,
|
|
498
588
|
isShowSignPage: isShowSignPage,
|
|
499
589
|
userInfo: userInfo,
|
|
500
590
|
file: sealedFile || fileCopy.current,
|
|
@@ -503,7 +593,6 @@ var SignFile = function SignFile(_ref) {
|
|
|
503
593
|
baseUrl: baseUrl,
|
|
504
594
|
env: env,
|
|
505
595
|
isPC: isPC,
|
|
506
|
-
getRes: getRes,
|
|
507
596
|
handleClose: function handleClose() {
|
|
508
597
|
return setIsShowSignPage(false);
|
|
509
598
|
},
|
|
@@ -184,7 +184,21 @@ const SignFileMeta: IPublicTypeComponentMetadata = {
|
|
|
184
184
|
"componentName": "FunctionSetter",
|
|
185
185
|
"isRequired": true
|
|
186
186
|
}
|
|
187
|
-
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"title": {
|
|
190
|
+
"label": {
|
|
191
|
+
"type": "i18n",
|
|
192
|
+
"en-US": "toSign",
|
|
193
|
+
"zh-CN": "toSign"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"name": "toSign",
|
|
197
|
+
"setter": {
|
|
198
|
+
"componentName": "FunctionSetter",
|
|
199
|
+
"isRequired": true
|
|
200
|
+
}
|
|
201
|
+
},
|
|
188
202
|
],
|
|
189
203
|
"supports": {
|
|
190
204
|
"style": true
|
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.170';
|
|
102
102
|
}
|
|
103
103
|
if (basicLibraryVersion === void 0) {
|
|
104
104
|
basicLibraryVersion = {
|
|
@@ -172,6 +172,19 @@ var SignFileMeta = {
|
|
|
172
172
|
"componentName": "FunctionSetter",
|
|
173
173
|
"isRequired": true
|
|
174
174
|
}
|
|
175
|
+
}, {
|
|
176
|
+
"title": {
|
|
177
|
+
"label": {
|
|
178
|
+
"type": "i18n",
|
|
179
|
+
"en-US": "toSign",
|
|
180
|
+
"zh-CN": "toSign"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"name": "toSign",
|
|
184
|
+
"setter": {
|
|
185
|
+
"componentName": "FunctionSetter",
|
|
186
|
+
"isRequired": true
|
|
187
|
+
}
|
|
175
188
|
}],
|
|
176
189
|
"supports": {
|
|
177
190
|
"style": true
|
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.170';
|
|
107
107
|
}
|
|
108
108
|
if (basicLibraryVersion === void 0) {
|
|
109
109
|
basicLibraryVersion = {
|
|
@@ -177,6 +177,19 @@ var SignFileMeta = {
|
|
|
177
177
|
"componentName": "FunctionSetter",
|
|
178
178
|
"isRequired": true
|
|
179
179
|
}
|
|
180
|
+
}, {
|
|
181
|
+
"title": {
|
|
182
|
+
"label": {
|
|
183
|
+
"type": "i18n",
|
|
184
|
+
"en-US": "toSign",
|
|
185
|
+
"zh-CN": "toSign"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"name": "toSign",
|
|
189
|
+
"setter": {
|
|
190
|
+
"componentName": "FunctionSetter",
|
|
191
|
+
"isRequired": true
|
|
192
|
+
}
|
|
180
193
|
}],
|
|
181
194
|
"supports": {
|
|
182
195
|
"style": true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ydb-components-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.170",
|
|
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.170/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.170/build/index.html"
|
|
111
111
|
}
|