@panneau/medias 3.0.193 → 3.0.194
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/es/index.js +2 -3
- package/lib/index.js +2 -3
- package/package.json +17 -17
package/es/index.js
CHANGED
@@ -1008,7 +1008,7 @@ function MediasBrowser(_ref) {
|
|
1008
1008
|
_useState8 = _slicedToArray(_useState7, 2),
|
1009
1009
|
uploadedMedias = _useState8[0],
|
1010
1010
|
setUploadedMedias = _useState8[1];
|
1011
|
-
var _useState9 = useState(
|
1011
|
+
var _useState9 = useState(true),
|
1012
1012
|
_useState10 = _slicedToArray(_useState9, 2),
|
1013
1013
|
uploadProcessing = _useState10[0],
|
1014
1014
|
setUploadProcessing = _useState10[1];
|
@@ -1120,10 +1120,9 @@ function MediasBrowser(_ref) {
|
|
1120
1120
|
return uniqBy([].concat(_toConsumableArray(uploadProcessing ? [{
|
1121
1121
|
id: '-',
|
1122
1122
|
loading: true,
|
1123
|
-
rowDisabled: true,
|
1124
1123
|
actionsDisabled: true,
|
1125
1124
|
selectionDisabled: true
|
1126
|
-
}] :
|
1125
|
+
}] : []), _toConsumableArray(page === 1 ? uploadedMedias || [] : []), _toConsumableArray((extraItems || []).map(function (item) {
|
1127
1126
|
var _item$id = item.id,
|
1128
1127
|
itemId = _item$id === void 0 ? null : _item$id;
|
1129
1128
|
return (allItems || []).find(function () {
|
package/lib/index.js
CHANGED
@@ -1010,7 +1010,7 @@ function MediasBrowser(_ref) {
|
|
1010
1010
|
_useState8 = _slicedToArray(_useState7, 2),
|
1011
1011
|
uploadedMedias = _useState8[0],
|
1012
1012
|
setUploadedMedias = _useState8[1];
|
1013
|
-
var _useState9 = React.useState(
|
1013
|
+
var _useState9 = React.useState(true),
|
1014
1014
|
_useState10 = _slicedToArray(_useState9, 2),
|
1015
1015
|
uploadProcessing = _useState10[0],
|
1016
1016
|
setUploadProcessing = _useState10[1];
|
@@ -1122,10 +1122,9 @@ function MediasBrowser(_ref) {
|
|
1122
1122
|
return uniqBy([].concat(_toConsumableArray(uploadProcessing ? [{
|
1123
1123
|
id: '-',
|
1124
1124
|
loading: true,
|
1125
|
-
rowDisabled: true,
|
1126
1125
|
actionsDisabled: true,
|
1127
1126
|
selectionDisabled: true
|
1128
|
-
}] :
|
1127
|
+
}] : []), _toConsumableArray(page === 1 ? uploadedMedias || [] : []), _toConsumableArray((extraItems || []).map(function (item) {
|
1129
1128
|
var _item$id = item.id,
|
1130
1129
|
itemId = _item$id === void 0 ? null : _item$id;
|
1131
1130
|
return (allItems || []).find(function () {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@panneau/medias",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.194",
|
4
4
|
"description": "",
|
5
5
|
"keywords": [
|
6
6
|
"javascript"
|
@@ -46,21 +46,21 @@
|
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
48
|
"@babel/runtime": "^7.12.5",
|
49
|
-
"@panneau/core": "^3.0.
|
50
|
-
"@panneau/data": "^3.0.
|
51
|
-
"@panneau/display-image": "^3.0.
|
52
|
-
"@panneau/element-button": "^3.0.
|
53
|
-
"@panneau/element-buttons": "^3.0.
|
54
|
-
"@panneau/element-form": "^3.0.
|
55
|
-
"@panneau/element-form-status": "^3.0.
|
56
|
-
"@panneau/element-grid": "^3.0.
|
57
|
-
"@panneau/element-icon": "^3.0.
|
58
|
-
"@panneau/element-media-card": "^3.0.
|
59
|
-
"@panneau/element-media-player": "^3.0.
|
60
|
-
"@panneau/element-pagination": "^3.0.
|
61
|
-
"@panneau/element-table": "^3.0.
|
62
|
-
"@panneau/field-upload": "^3.0.
|
63
|
-
"@panneau/filter-filters": "^3.0.
|
49
|
+
"@panneau/core": "^3.0.194",
|
50
|
+
"@panneau/data": "^3.0.194",
|
51
|
+
"@panneau/display-image": "^3.0.194",
|
52
|
+
"@panneau/element-button": "^3.0.194",
|
53
|
+
"@panneau/element-buttons": "^3.0.194",
|
54
|
+
"@panneau/element-form": "^3.0.194",
|
55
|
+
"@panneau/element-form-status": "^3.0.194",
|
56
|
+
"@panneau/element-grid": "^3.0.194",
|
57
|
+
"@panneau/element-icon": "^3.0.194",
|
58
|
+
"@panneau/element-media-card": "^3.0.194",
|
59
|
+
"@panneau/element-media-player": "^3.0.194",
|
60
|
+
"@panneau/element-pagination": "^3.0.194",
|
61
|
+
"@panneau/element-table": "^3.0.194",
|
62
|
+
"@panneau/field-upload": "^3.0.194",
|
63
|
+
"@panneau/filter-filters": "^3.0.194",
|
64
64
|
"classnames": "^2.5.1",
|
65
65
|
"lodash": "^4.17.21",
|
66
66
|
"prop-types": "^15.7.2",
|
@@ -69,5 +69,5 @@
|
|
69
69
|
"publishConfig": {
|
70
70
|
"access": "public"
|
71
71
|
},
|
72
|
-
"gitHead": "
|
72
|
+
"gitHead": "6d49da8ecbe43b3a5c11dc9ddb9553ef64e58c83"
|
73
73
|
}
|