@arquimedes.co/eureka-forms 1.0.6-test → 1.1.0-test

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/App.js CHANGED
@@ -69,6 +69,8 @@ function App(_a) {
69
69
  var _this = this;
70
70
  var _b, _c, _d, _e;
71
71
  var apiKey = _a.apiKey, domain = _a.domain, preview = _a.preview, formData = _a.formData, postview = _a.postview, isWidget = _a.isWidget, internal = _a.internal, valuesData = _a.valuesData, customSteps = _a.customSteps, handleConfirmed = _a.handleConfirmed, others = __rest(_a, ["apiKey", "domain", "preview", "formData", "postview", "isWidget", "internal", "valuesData", "customSteps", "handleConfirmed"]);
72
+ // eslint-disable-next-line no-console
73
+ console.log('PROPS:', { formData: formData, customSteps: customSteps });
72
74
  var _f = useState(undefined), form = _f[0], setForm = _f[1];
73
75
  var _g = useState({}), originalValues = _g[0], setOriginalValues = _g[1];
74
76
  var _h = useState(undefined), organizationInfo = _h[0], setOrganizationInfo = _h[1];
@@ -191,6 +191,7 @@ var mapOriginal = function (values, form) {
191
191
  return newValues;
192
192
  };
193
193
  var updateValue = function (idStep, values, form, customSteps) {
194
+ console.log('FORM', form);
194
195
  var step = form.steps[idStep];
195
196
  switch (step === null || step === void 0 ? void 0 : step.type) {
196
197
  case Types.TEXTAREA: {
@@ -219,7 +220,12 @@ var updateValue = function (idStep, values, form, customSteps) {
219
220
  break;
220
221
  }
221
222
  default:
223
+ // eslint-disable-next-line no-console
224
+ console.log(customSteps);
225
+ // eslint-disable-next-line no-console
226
+ console.log('idStep', idStep);
222
227
  var custom = customSteps[idStep];
228
+ // eslint-disable-next-line no-console
223
229
  console.log('UPDATE:', custom);
224
230
  if (custom !== undefined) {
225
231
  custom.updateValue(idStep, values, form);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"1.0.6-test",
4
+ "version":"1.1.0-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",