ydb-components-material 0.1.190 → 0.1.191

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.
@@ -315,7 +315,7 @@ var FileList = function FileList(_ref) {
315
315
  }, item.remark)), !(item.subMaterials && item.subMaterials.length > 0) && /*#__PURE__*/React.createElement("div", {
316
316
  key: item.fileList.length,
317
317
  className: "title_info"
318
- }, /*#__PURE__*/React.createElement("span", {
318
+ }, item.isNeed === '1' && /*#__PURE__*/React.createElement("span", {
319
319
  className: "required"
320
320
  }, "*"), /*#__PURE__*/React.createElement(_Balloon, {
321
321
  v2: true,
@@ -340,7 +340,7 @@ var FileList = function FileList(_ref) {
340
340
  key: child.fileList.length
341
341
  }, /*#__PURE__*/React.createElement("p", {
342
342
  className: "name_level_two"
343
- }, subIndex + 1, "\u3001", child.declareMaterialName || child.materialName), /*#__PURE__*/React.createElement("span", {
343
+ }, subIndex + 1, "\u3001", child.declareMaterialName || child.materialName), child.isNeed === '1' && /*#__PURE__*/React.createElement("span", {
344
344
  className: "required"
345
345
  }, "*"), /*#__PURE__*/React.createElement(_Balloon, {
346
346
  v2: true,
@@ -84,7 +84,8 @@ var FileItem = function FileItem(_ref) {
84
84
  signAgentRole = _fileConfig$signAgent === void 0 ? [] : _fileConfig$signAgent,
85
85
  sealKeywords = fileConfig.sealKeywords,
86
86
  sealPosition = fileConfig.sealPosition,
87
- sealContent = fileConfig.sealContent;
87
+ sealContent = fileConfig.sealContent,
88
+ isNeed = fileConfig.isNeed;
88
89
  var _React$useState = React.useState(false),
89
90
  needOtherSign = _React$useState[0],
90
91
  setNeedOtherSign = _React$useState[1];
@@ -321,7 +321,7 @@ var FileList = function FileList(_ref) {
321
321
  }, item.remark)), !(item.subMaterials && item.subMaterials.length > 0) && /*#__PURE__*/_react["default"].createElement("div", {
322
322
  key: item.fileList.length,
323
323
  className: "title_info"
324
- }, /*#__PURE__*/_react["default"].createElement("span", {
324
+ }, item.isNeed === '1' && /*#__PURE__*/_react["default"].createElement("span", {
325
325
  className: "required"
326
326
  }, "*"), /*#__PURE__*/_react["default"].createElement(_balloon["default"], {
327
327
  v2: true,
@@ -346,7 +346,7 @@ var FileList = function FileList(_ref) {
346
346
  key: child.fileList.length
347
347
  }, /*#__PURE__*/_react["default"].createElement("p", {
348
348
  className: "name_level_two"
349
- }, subIndex + 1, "\u3001", child.declareMaterialName || child.materialName), /*#__PURE__*/_react["default"].createElement("span", {
349
+ }, subIndex + 1, "\u3001", child.declareMaterialName || child.materialName), child.isNeed === '1' && /*#__PURE__*/_react["default"].createElement("span", {
350
350
  className: "required"
351
351
  }, "*"), /*#__PURE__*/_react["default"].createElement(_balloon["default"], {
352
352
  v2: true,
@@ -90,7 +90,8 @@ var FileItem = function FileItem(_ref) {
90
90
  signAgentRole = _fileConfig$signAgent === void 0 ? [] : _fileConfig$signAgent,
91
91
  sealKeywords = fileConfig.sealKeywords,
92
92
  sealPosition = fileConfig.sealPosition,
93
- sealContent = fileConfig.sealContent;
93
+ sealContent = fileConfig.sealContent,
94
+ isNeed = fileConfig.isNeed;
94
95
  var _React$useState = _react["default"].useState(false),
95
96
  needOtherSign = _React$useState[0],
96
97
  setNeedOtherSign = _React$useState[1];
@@ -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.190';
101
+ version = '0.1.191';
102
102
  }
103
103
  if (basicLibraryVersion === void 0) {
104
104
  basicLibraryVersion = {
@@ -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.190';
106
+ version = '0.1.191';
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.190",
3
+ "version": "0.1.191",
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.190/build/lowcode/assets-prod.json"
105
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.191/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.190/build/index.html"
110
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.191/build/index.html"
111
111
  }