infinity-forge 10.2.8 → 10.2.9
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/test/index.js
CHANGED
|
@@ -4,6 +4,6 @@ exports.NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro = NaoRemoverDaHomeUsadaPa
|
|
|
4
4
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
var ui_1 = require("../ui/index.js");
|
|
6
6
|
function NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro() {
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(ui_1.Modal, { open: true, onClose: function () { }, children: (0, jsx_runtime_1.
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(ui_1.Modal, { open: true, onClose: function () { }, children: (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { button: { text: "enviar" }, keepErrorsOnChange: true, schema: { test: ui_1.schema.required(), test3: ui_1.schema.required() }, children: [(0, jsx_runtime_1.jsx)(ui_1.InputDatePicker, { name: 'test' }), (0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'test2' }), (0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'test3' })] }) }) }));
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/test/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;AAEA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;AAEA,wGAYC;;AAdD,2BAAyE;AAEzE,SAAgB,8CAA8C;IAC5D,OAAO,CACL,2DACE,uBAAC,UAAK,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,cAAO,CAAC,YAClC,wBAAC,gBAAW,IAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,kBAAkB,QAAC,MAAM,EAAE,EAAE,IAAI,EAAE,WAAM,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,WAAM,CAAC,QAAQ,EAAE,EAAE,aACvH,uBAAC,oBAAe,IAAC,IAAI,EAAC,MAAM,GAAG,EAC/B,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,GAAG,EACjB,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,GAAG,IACf,GACR,GACP,CACJ,CAAA;AACH,CAAC"}
|
|
@@ -24,6 +24,6 @@ function FormHandler(props) {
|
|
|
24
24
|
return (0, jsx_runtime_1.jsx)(i18n_1.FormI18n, __assign({}, props));
|
|
25
25
|
}
|
|
26
26
|
var initialData = props.initialData || {};
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)(formik_1.Formik, { initialValues: (props === null || props === void 0 ? void 0 : props.modifyInitialData) ? props.modifyInitialData(initialData) : initialData, onSubmit: function () { }, children: (0, jsx_runtime_1.jsx)(form_handler_1.default, __assign({}, props, { children: props.children })) }));
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(formik_1.Formik, { initialValues: (props === null || props === void 0 ? void 0 : props.modifyInitialData) ? props.modifyInitialData(initialData) : initialData, onSubmit: function () { }, validateOnBlur: false, validateOnChange: !props.keepErrorsOnChange, children: (0, jsx_runtime_1.jsx)(form_handler_1.default, __assign({}, props, { children: props.children })) }));
|
|
28
28
|
}
|
|
29
29
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/handler/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAOA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/handler/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAOA,kCAiBC;;AAxBD,iCAA+B;AAE/B,+BAAiC;AACjC,gEAAwC;AAIxC,SAAgB,WAAW,CAAC,KAAmB;IAC7C,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;QACf,OAAO,uBAAC,eAAQ,eAAK,KAAK,EAAI,CAAA;IAChC,CAAC;IAED,IAAM,WAAW,GAAG,KAAK,CAAC,WAAW,IAAI,EAAE,CAAA;IAE3C,OAAO,CACL,uBAAC,eAAM,IACL,aAAa,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,iBAAiB,EAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,EAC5F,QAAQ,EAAE,cAAO,CAAC,EAClB,cAAc,EAAE,KAAK,EACrB,gBAAgB,EAAE,CAAC,KAAK,CAAC,kBAAkB,YAE3C,uBAAC,sBAAW,eAAK,KAAK,cAAG,KAAK,CAAC,QAAQ,IAAe,GAC/C,CACV,CAAA;AACH,CAAC"}
|