@panneau/core 3.0.283 → 3.0.288
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/contexts.js +2 -1
- package/es/hooks.js +1 -1
- package/es/index.js +2 -1
- package/package.json +2 -2
package/es/contexts.js
CHANGED
|
@@ -302,7 +302,8 @@ var routes = PropTypes.shape({
|
|
|
302
302
|
'resources.delete': PropTypes.string.isRequired,
|
|
303
303
|
'resources.destroy': PropTypes.string.isRequired,
|
|
304
304
|
'resources.duplicate': PropTypes.string.isRequired,
|
|
305
|
-
'resources.clone': PropTypes.string.isRequired
|
|
305
|
+
'resources.clone': PropTypes.string.isRequired,
|
|
306
|
+
'resources.restore': PropTypes.string.isRequired
|
|
306
307
|
});
|
|
307
308
|
var intl = PropTypes.shape({
|
|
308
309
|
locale: PropTypes.string,
|
package/es/hooks.js
CHANGED
|
@@ -1170,7 +1170,7 @@ var useResourceUrlGenerator = function useResourceUrlGenerator() {
|
|
|
1170
1170
|
var _ref = finalResource || {},
|
|
1171
1171
|
_ref$id = _ref.id,
|
|
1172
1172
|
id = _ref$id === void 0 ? null : _ref$id;
|
|
1173
|
-
|
|
1173
|
+
console.log('route name', finalRouteName, id, finalParams);
|
|
1174
1174
|
var finalRoute = id !== null ? route("resources.".concat(finalRouteName), _objectSpread(_objectSpread({}, finalParams), {}, {
|
|
1175
1175
|
resource: id
|
|
1176
1176
|
})) : null;
|
package/es/index.js
CHANGED
|
@@ -78,7 +78,8 @@ var routes = PropTypes$1.shape({
|
|
|
78
78
|
'resources.delete': PropTypes$1.string.isRequired,
|
|
79
79
|
'resources.destroy': PropTypes$1.string.isRequired,
|
|
80
80
|
'resources.duplicate': PropTypes$1.string.isRequired,
|
|
81
|
-
'resources.clone': PropTypes$1.string.isRequired
|
|
81
|
+
'resources.clone': PropTypes$1.string.isRequired,
|
|
82
|
+
'resources.restore': PropTypes$1.string.isRequired
|
|
82
83
|
});
|
|
83
84
|
var intl = PropTypes$1.shape({
|
|
84
85
|
locale: PropTypes$1.string,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.288",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"publishConfig": {
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "26afc569a56dd1f7322679e571ecbdb5256b3047"
|
|
114
114
|
}
|