ywana-core8 0.1.14 → 0.1.15
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/index.modern.js
CHANGED
@@ -1845,14 +1845,13 @@ var ResetPasswordBox = function ResetPasswordBox(_ref) {
|
|
1845
1845
|
setForm(next);
|
1846
1846
|
}
|
1847
1847
|
function ok() {
|
1848
|
-
if (onOK
|
1848
|
+
if (onOK) {
|
1849
1849
|
onOK(form);
|
1850
1850
|
}
|
1851
1851
|
}
|
1852
1852
|
function close() {
|
1853
1853
|
if (onClose) onClose();
|
1854
1854
|
}
|
1855
|
-
var text = lang === "EN" ? "CHANGE PASSWORD" : "CAMBIO DE CLAVE";
|
1856
1855
|
var userLabel = lang === "EN" ? "User" : "Usuario";
|
1857
1856
|
var passwordLabel = lang === "EN" ? "New Password" : "Nueva Clave";
|
1858
1857
|
var password2Label = lang === "EN" ? "Confirm New Password" : "Confirmar Nueva Clave";
|
@@ -1864,9 +1863,7 @@ var ResetPasswordBox = function ResetPasswordBox(_ref) {
|
|
1864
1863
|
src: logo
|
1865
1864
|
}) : null, title ? /*#__PURE__*/React.createElement("div", {
|
1866
1865
|
className: "title"
|
1867
|
-
}, /*#__PURE__*/React.createElement(Text, null, title)) : null, children), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(
|
1868
|
-
use: "headline6"
|
1869
|
-
}, text), userRequired ? /*#__PURE__*/React.createElement(TextField, {
|
1866
|
+
}, /*#__PURE__*/React.createElement(Text, null, title)) : null, children), /*#__PURE__*/React.createElement("main", null, userRequired ? /*#__PURE__*/React.createElement(TextField, {
|
1870
1867
|
id: "user",
|
1871
1868
|
outlined: true,
|
1872
1869
|
icon: "person",
|