@arquimedes.co/eureka-forms 1.0.6-test → 1.0.7-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,7 @@ 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
|
+
console.log(customSteps);
|
|
72
73
|
var _f = useState(undefined), form = _f[0], setForm = _f[1];
|
|
73
74
|
var _g = useState({}), originalValues = _g[0], setOriginalValues = _g[1];
|
|
74
75
|
var _h = useState(undefined), organizationInfo = _h[0], setOrganizationInfo = _h[1];
|
|
@@ -71,6 +71,7 @@ import widgetInstance from '../../../AxiosWidget';
|
|
|
71
71
|
function ColumnForm(_a) {
|
|
72
72
|
var _this = this;
|
|
73
73
|
var form = _a.form, apiKey = _a.apiKey, reload = _a.reload, domain = _a.domain, postview = _a.postview, internal = _a.internal, formStyle = _a.formStyle, widthStats = _a.widthStats, customSteps = _a.customSteps, originalValues = _a.originalValues, others = __rest(_a, ["form", "apiKey", "reload", "domain", "postview", "internal", "formStyle", "widthStats", "customSteps", "originalValues"]);
|
|
74
|
+
console.log(customSteps);
|
|
74
75
|
var _b = useState(false), tempError = _b[0], setTempError = _b[1];
|
|
75
76
|
var _c = useForm({
|
|
76
77
|
defaultValues: mapOriginal(originalValues, form),
|
|
@@ -219,6 +220,7 @@ var updateValue = function (idStep, values, form, customSteps) {
|
|
|
219
220
|
break;
|
|
220
221
|
}
|
|
221
222
|
default:
|
|
223
|
+
console.log('CustomSteps:', customSteps);
|
|
222
224
|
var custom = customSteps[idStep];
|
|
223
225
|
console.log('UPDATE:', custom);
|
|
224
226
|
if (custom !== undefined) {
|
package/package.json
CHANGED