@vidispine/vdt-materialui 22.4.0-pre.7 → 22.4.0-pre.9
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/dist/index.es.js +2 -1
- package/dist/index.js +2 -1
- package/package.json +10 -10
package/dist/index.es.js
CHANGED
|
@@ -13868,6 +13868,7 @@ function FileTypeTableBody(_ref2) {
|
|
|
13868
13868
|
var parsedFile = parseFileType(fileType);
|
|
13869
13869
|
var fileSize = parsedFile.fileSize,
|
|
13870
13870
|
filePath = parsedFile.path;
|
|
13871
|
+
var fileActualSize = fileSize === '-1 B' ? 'Not Available' : fileSize;
|
|
13871
13872
|
var storage = storageListType === null || storageListType === void 0 ? void 0 : (_storageListType$stor = storageListType.storage) === null || _storageListType$stor === void 0 ? void 0 : _storageListType$stor.find(function (s) {
|
|
13872
13873
|
return s.id === storageId;
|
|
13873
13874
|
});
|
|
@@ -13892,7 +13893,7 @@ function FileTypeTableBody(_ref2) {
|
|
|
13892
13893
|
value: filePath
|
|
13893
13894
|
}), /*#__PURE__*/jsx(TableRow$1, {
|
|
13894
13895
|
label: "File size",
|
|
13895
|
-
value:
|
|
13896
|
+
value: fileActualSize
|
|
13896
13897
|
}), /*#__PURE__*/jsx(TableRow$1, {
|
|
13897
13898
|
label: "Storage Id",
|
|
13898
13899
|
value: storageId
|
package/dist/index.js
CHANGED
|
@@ -14059,6 +14059,7 @@ function FileTypeTableBody(_ref2) {
|
|
|
14059
14059
|
var parsedFile = vdtJs.parseFileType(fileType);
|
|
14060
14060
|
var fileSize = parsedFile.fileSize,
|
|
14061
14061
|
filePath = parsedFile.path;
|
|
14062
|
+
var fileActualSize = fileSize === '-1 B' ? 'Not Available' : fileSize;
|
|
14062
14063
|
var storage = storageListType === null || storageListType === void 0 ? void 0 : (_storageListType$stor = storageListType.storage) === null || _storageListType$stor === void 0 ? void 0 : _storageListType$stor.find(function (s) {
|
|
14063
14064
|
return s.id === storageId;
|
|
14064
14065
|
});
|
|
@@ -14083,7 +14084,7 @@ function FileTypeTableBody(_ref2) {
|
|
|
14083
14084
|
value: filePath
|
|
14084
14085
|
}), /*#__PURE__*/jsxRuntime.jsx(TableRow$1, {
|
|
14085
14086
|
label: "File size",
|
|
14086
|
-
value:
|
|
14087
|
+
value: fileActualSize
|
|
14087
14088
|
}), /*#__PURE__*/jsxRuntime.jsx(TableRow$1, {
|
|
14088
14089
|
label: "Storage Id",
|
|
14089
14090
|
value: storageId
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vidispine/vdt-materialui",
|
|
3
|
-
"version": "22.4.0-pre.
|
|
3
|
+
"version": "22.4.0-pre.9",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.18.9",
|
|
28
|
-
"@vidispine/vdt-api": "22.4.0-pre.
|
|
29
|
-
"@vidispine/vdt-js": "22.4.0-pre.
|
|
30
|
-
"@vidispine/vdt-react": "22.4.0-pre.
|
|
31
|
-
"@vidispine/vdt-videojs-react": "22.4.0-pre.
|
|
28
|
+
"@vidispine/vdt-api": "22.4.0-pre.9",
|
|
29
|
+
"@vidispine/vdt-js": "22.4.0-pre.9",
|
|
30
|
+
"@vidispine/vdt-react": "22.4.0-pre.9",
|
|
31
|
+
"@vidispine/vdt-videojs-react": "22.4.0-pre.9",
|
|
32
32
|
"clsx": "^1.2.1",
|
|
33
33
|
"core-js": "^3.24.1",
|
|
34
34
|
"filesize": "^6.4.0",
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
"@rollup/plugin-commonjs": "21.1.0",
|
|
72
72
|
"@rollup/plugin-node-resolve": "13.3.0",
|
|
73
73
|
"@svgr/rollup": "6.3.1",
|
|
74
|
-
"@vidispine/eslint-config-mdx": "22.4.0-pre.
|
|
75
|
-
"@vidispine/eslint-config-react": "22.4.0-pre.
|
|
76
|
-
"@vidispine/eslint-config-storybook": "22.4.0-pre.
|
|
77
|
-
"@vidispine/prettier-config": "22.4.0-pre.
|
|
78
|
-
"@vidispine/proptypes": "22.4.0-pre.
|
|
74
|
+
"@vidispine/eslint-config-mdx": "22.4.0-pre.9",
|
|
75
|
+
"@vidispine/eslint-config-react": "22.4.0-pre.9",
|
|
76
|
+
"@vidispine/eslint-config-storybook": "22.4.0-pre.9",
|
|
77
|
+
"@vidispine/prettier-config": "22.4.0-pre.9",
|
|
78
|
+
"@vidispine/proptypes": "22.4.0-pre.9",
|
|
79
79
|
"@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
|
|
80
80
|
"axios": "0.21.4",
|
|
81
81
|
"axios-mock-adapter": "1.21.2",
|