@panneau/field-upload 3.0.83 → 3.0.85
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 +4 -5
- package/lib/index.js +4 -5
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -447,7 +447,7 @@ var UploadField = function UploadField(_ref) {
|
|
|
447
447
|
actions: ['select'],
|
|
448
448
|
actionsProps: {
|
|
449
449
|
onClickSelect: onClickSelect,
|
|
450
|
-
|
|
450
|
+
getSelectPropsFromItem: function getSelectPropsFromItem(item) {
|
|
451
451
|
var _ref7 = item || {},
|
|
452
452
|
_ref7$id = _ref7.id,
|
|
453
453
|
itemId = _ref7$id === void 0 ? null : _ref7$id;
|
|
@@ -457,10 +457,9 @@ var UploadField = function UploadField(_ref) {
|
|
|
457
457
|
modalItemId = _ref8$id === void 0 ? null : _ref8$id;
|
|
458
458
|
return modalItemId === itemId;
|
|
459
459
|
});
|
|
460
|
-
return
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
} : null;
|
|
460
|
+
return {
|
|
461
|
+
outline: !found
|
|
462
|
+
};
|
|
464
463
|
}
|
|
465
464
|
},
|
|
466
465
|
withoutActionsColumn: true
|
package/lib/index.js
CHANGED
|
@@ -469,7 +469,7 @@ var UploadField = function UploadField(_ref) {
|
|
|
469
469
|
actions: ['select'],
|
|
470
470
|
actionsProps: {
|
|
471
471
|
onClickSelect: onClickSelect,
|
|
472
|
-
|
|
472
|
+
getSelectPropsFromItem: function getSelectPropsFromItem(item) {
|
|
473
473
|
var _ref7 = item || {},
|
|
474
474
|
_ref7$id = _ref7.id,
|
|
475
475
|
itemId = _ref7$id === void 0 ? null : _ref7$id;
|
|
@@ -479,10 +479,9 @@ var UploadField = function UploadField(_ref) {
|
|
|
479
479
|
modalItemId = _ref8$id === void 0 ? null : _ref8$id;
|
|
480
480
|
return modalItemId === itemId;
|
|
481
481
|
});
|
|
482
|
-
return
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
} : null;
|
|
482
|
+
return {
|
|
483
|
+
outline: !found
|
|
484
|
+
};
|
|
486
485
|
}
|
|
487
486
|
},
|
|
488
487
|
withoutActionsColumn: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/field-upload",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.85",
|
|
4
4
|
"description": "An Upload field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@panneau/element-button": "^3.0.55",
|
|
62
62
|
"@panneau/element-card": "^3.0.75",
|
|
63
63
|
"@panneau/element-label": "^3.0.45",
|
|
64
|
-
"@panneau/list-resource-items": "^3.0.
|
|
64
|
+
"@panneau/list-resource-items": "^3.0.84",
|
|
65
65
|
"@panneau/modal-dialog": "^3.0.77",
|
|
66
66
|
"@panneau/themes": "^3.0.55",
|
|
67
67
|
"@panneau/uppy": "^3.0.59",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "2c99c317ed1eb582f3d0188488c60e4fd43300e5"
|
|
86
86
|
}
|