ydb-components-material 0.1.69 → 0.1.71

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.
@@ -82,35 +82,7 @@ var FileItem = function FileItem(_ref) {
82
82
  var _useState1 = useState(false),
83
83
  isShowMaterialPreview = _useState1[0],
84
84
  setIsShowMaterialPreview = _useState1[1];
85
- var _useState10 = useState([{
86
- "fileId": "1753419199903092737",
87
- "fileName": "javaScript.jpg",
88
- "uploadTime": "2024-02-03 17:09:34",
89
- "type": 0,
90
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419199903092737/javaScript.jpg",
91
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419199903092737/javaScript.jpg"
92
- }, {
93
- "fileId": "1753419376331853826",
94
- "fileName": "LQ_z-fynmzrs7874917.jpg",
95
- "uploadTime": "2024-02-03 17:09:34",
96
- "type": 0,
97
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419376331853826/LQ_z-fynmzrs7874917.jpg",
98
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419376331853826/LQ_z-fynmzrs7874917.jpg"
99
- }, {
100
- "fileId": "1753419180202446850",
101
- "fileName": "mayun.jpg",
102
- "uploadTime": "2024-02-03 17:09:34",
103
- "type": 0,
104
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419180202446850/mayun.jpg",
105
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419180202446850/mayun.jpg"
106
- }, {
107
- "fileId": "1753419356975140866",
108
- "fileName": "find.png",
109
- "uploadTime": "2024-02-03 17:09:33",
110
- "type": 0,
111
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419356975140866/find.png",
112
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419356975140866/find.png"
113
- }]),
85
+ var _useState10 = useState([]),
114
86
  materialLib = _useState10[0],
115
87
  setMaterialLib = _useState10[1];
116
88
  // const [materialLib, setMaterialLib] = useState([]);
@@ -123,10 +95,6 @@ var FileItem = function FileItem(_ref) {
123
95
  var _useState13 = useState(null),
124
96
  checkPointData = _useState13[0],
125
97
  setCheckPointData = _useState13[1];
126
- var showViewImg = function showViewImg(url) {
127
- setIsShowView(true);
128
- setViewImg(url);
129
- };
130
98
  var upload = function upload() {
131
99
  if (disabled) return;
132
100
  var inputEl = document.createElement('input');
@@ -88,35 +88,7 @@ var FileItem = function FileItem(_ref) {
88
88
  var _useState1 = (0, _react.useState)(false),
89
89
  isShowMaterialPreview = _useState1[0],
90
90
  setIsShowMaterialPreview = _useState1[1];
91
- var _useState10 = (0, _react.useState)([{
92
- "fileId": "1753419199903092737",
93
- "fileName": "javaScript.jpg",
94
- "uploadTime": "2024-02-03 17:09:34",
95
- "type": 0,
96
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419199903092737/javaScript.jpg",
97
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419199903092737/javaScript.jpg"
98
- }, {
99
- "fileId": "1753419376331853826",
100
- "fileName": "LQ_z-fynmzrs7874917.jpg",
101
- "uploadTime": "2024-02-03 17:09:34",
102
- "type": 0,
103
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419376331853826/LQ_z-fynmzrs7874917.jpg",
104
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419376331853826/LQ_z-fynmzrs7874917.jpg"
105
- }, {
106
- "fileId": "1753419180202446850",
107
- "fileName": "mayun.jpg",
108
- "uploadTime": "2024-02-03 17:09:34",
109
- "type": 0,
110
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419180202446850/mayun.jpg",
111
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419180202446850/mayun.jpg"
112
- }, {
113
- "fileId": "1753419356975140866",
114
- "fileName": "find.png",
115
- "uploadTime": "2024-02-03 17:09:33",
116
- "type": 0,
117
- "innerFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419356975140866/find.png",
118
- "internetFileUrl": "https://zwfwpt.sxzwfw.gov.cn/FS//18a78d3d407-true/master/18b4752f107/2024/2/1753419356975140866/find.png"
119
- }]),
91
+ var _useState10 = (0, _react.useState)([]),
120
92
  materialLib = _useState10[0],
121
93
  setMaterialLib = _useState10[1];
122
94
  // const [materialLib, setMaterialLib] = useState([]);
@@ -129,10 +101,6 @@ var FileItem = function FileItem(_ref) {
129
101
  var _useState13 = (0, _react.useState)(null),
130
102
  checkPointData = _useState13[0],
131
103
  setCheckPointData = _useState13[1];
132
- var showViewImg = function showViewImg(url) {
133
- setIsShowView(true);
134
- setViewImg(url);
135
- };
136
104
  var upload = function upload() {
137
105
  if (disabled) return;
138
106
  var inputEl = document.createElement('input');
@@ -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.69';
92
+ version = '0.1.71';
93
93
  }
94
94
  if (basicLibraryVersion === void 0) {
95
95
  basicLibraryVersion = {
@@ -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.69';
97
+ version = '0.1.71';
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.69",
3
+ "version": "0.1.71",
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.69/build/lowcode/assets-prod.json"
100
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.71/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.69/build/index.html"
105
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.71/build/index.html"
106
106
  }