@panneau/form-resource 3.0.289 → 3.0.292

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.
Files changed (2) hide show
  1. package/es/index.js +3 -6
  2. package/package.json +9 -9
package/es/index.js CHANGED
@@ -130,7 +130,6 @@ var DeleteForm = function DeleteForm(_ref) {
130
130
  };
131
131
  DeleteForm.propTypes = propTypes$2;
132
132
  DeleteForm.defaultProps = defaultProps$2;
133
- var DeleteForm$1 = DeleteForm;
134
133
 
135
134
  var _excluded$1 = ["resource", "action", "previous", "status", "value", "onSubmit", "errors", "generalError", "loading", "className"];
136
135
  var propTypes$1 = {
@@ -245,7 +244,6 @@ var DuplicateForm = function DuplicateForm(_ref) {
245
244
  };
246
245
  DuplicateForm.propTypes = propTypes$1;
247
246
  DuplicateForm.defaultProps = defaultProps$1;
248
- var DuplicateForm$1 = DuplicateForm;
249
247
 
250
248
  var _excluded = ["component", "resource", "onSuccess", "item", "type", "isDelete", "isDuplicate"];
251
249
  var propTypes = {
@@ -399,10 +397,10 @@ var ResourceForm = function ResourceForm(_ref) {
399
397
  var defaultFormName = isDelete || isDuplicate ? component || formComponent || null : component || formComponent || defaultComponent || 'normal';
400
398
  var finalComponent = component;
401
399
  if (isDelete) {
402
- finalComponent = DeleteForm$1;
400
+ finalComponent = DeleteForm;
403
401
  }
404
402
  if (isDuplicate) {
405
- finalComponent = DuplicateForm$1;
403
+ finalComponent = DuplicateForm;
406
404
  }
407
405
 
408
406
  // Form component
@@ -432,6 +430,5 @@ var ResourceForm = function ResourceForm(_ref) {
432
430
  };
433
431
  ResourceForm.propTypes = propTypes;
434
432
  ResourceForm.defaultProps = defaultProps;
435
- var Resource = ResourceForm;
436
433
 
437
- export { Resource as default };
434
+ export { ResourceForm as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/form-resource",
3
- "version": "3.0.289",
3
+ "version": "3.0.292",
4
4
  "description": "Default resource forms",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,13 +49,13 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.12.5",
52
- "@panneau/core": "^3.0.289",
53
- "@panneau/data": "^3.0.289",
54
- "@panneau/element-button": "^3.0.289",
55
- "@panneau/element-form": "^3.0.289",
56
- "@panneau/field-fields": "^3.0.289",
57
- "@panneau/intl": "^3.0.289",
58
- "@panneau/themes": "^3.0.289",
52
+ "@panneau/core": "^3.0.292",
53
+ "@panneau/data": "^3.0.292",
54
+ "@panneau/element-button": "^3.0.292",
55
+ "@panneau/element-form": "^3.0.292",
56
+ "@panneau/field-fields": "^3.0.292",
57
+ "@panneau/intl": "^3.0.292",
58
+ "@panneau/themes": "^3.0.292",
59
59
  "classnames": "^2.5.1",
60
60
  "lodash-es": "^4.17.21",
61
61
  "prop-types": "^15.7.2",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "edc1e168d65812a581fdc4315bf9b0832fb1b888"
67
+ "gitHead": "b834b1f268c5696c66278472aa2d1644edad6a55"
68
68
  }