ywana-core8 0.0.784 → 0.0.786
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.cjs +14 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +14 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +14 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/incubator/password.js +3 -3
- package/src/site/dialog.js +8 -2
package/dist/index.umd.js
CHANGED
@@ -4220,7 +4220,15 @@
|
|
4220
4220
|
children = props.children,
|
4221
4221
|
actions = props.actions,
|
4222
4222
|
className = props.className,
|
4223
|
-
onClose = props.onClose
|
4223
|
+
onClose = props.onClose,
|
4224
|
+
_props$overlayCanClos = props.overlayCanClose,
|
4225
|
+
overlayCanClose = _props$overlayCanClos === void 0 ? true : _props$overlayCanClos;
|
4226
|
+
|
4227
|
+
function overlayClose() {
|
4228
|
+
if (overlayCanClose) {
|
4229
|
+
close();
|
4230
|
+
}
|
4231
|
+
}
|
4224
4232
|
|
4225
4233
|
function close() {
|
4226
4234
|
if (onClose) onClose();
|
@@ -4234,7 +4242,7 @@
|
|
4234
4242
|
|
4235
4243
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
4236
4244
|
className: "overlay " + className,
|
4237
|
-
onMouseDown:
|
4245
|
+
onMouseDown: overlayClose
|
4238
4246
|
}), /*#__PURE__*/React__default["default"].createElement("dialog", {
|
4239
4247
|
className: "dialog-panel " + className
|
4240
4248
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
@@ -5284,6 +5292,8 @@
|
|
5284
5292
|
var id = props.id,
|
5285
5293
|
_props$label = props.label,
|
5286
5294
|
label = _props$label === void 0 ? "Change Password" : _props$label,
|
5295
|
+
_props$lang = props.lang,
|
5296
|
+
lang = _props$lang === void 0 ? "ES" : _props$lang,
|
5287
5297
|
_props$labelPosition = props.labelPosition,
|
5288
5298
|
labelPosition = _props$labelPosition === void 0 ? "left" : _props$labelPosition,
|
5289
5299
|
className = props.className,
|
@@ -5301,6 +5311,7 @@
|
|
5301
5311
|
|
5302
5312
|
var openDialog = function openDialog() {
|
5303
5313
|
site.openDialog( /*#__PURE__*/React__default["default"].createElement(ChangePasswordDialog, {
|
5314
|
+
lang: lang,
|
5304
5315
|
label: label,
|
5305
5316
|
onOK: onOK,
|
5306
5317
|
onClose: onClose
|
@@ -5317,6 +5328,7 @@
|
|
5317
5328
|
readOnly: true
|
5318
5329
|
}), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
5319
5330
|
icon: "edit",
|
5331
|
+
clickable: true,
|
5320
5332
|
action: openDialog,
|
5321
5333
|
size: "small"
|
5322
5334
|
}));
|