ywana-core8 0.0.328 → 0.0.331

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.
@@ -2201,6 +2201,12 @@ var ResetPasswordBox = function ResetPasswordBox(_ref) {
2201
2201
  }, /*#__PURE__*/React.createElement(Text, null, title)) : null, children), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(Text, {
2202
2202
  use: "headline6"
2203
2203
  }, "Change Password"), /*#__PURE__*/React.createElement(TextField, {
2204
+ label: tx(userLabel),
2205
+ value: user,
2206
+ onChange: changeUser,
2207
+ onEnter: ok,
2208
+ outlined: true
2209
+ }), /*#__PURE__*/React.createElement(TextField, {
2204
2210
  id: "password1",
2205
2211
  outlined: true,
2206
2212
  icon: "lock",
@@ -3281,15 +3287,19 @@ var Dialog = function Dialog(props) {
3281
3287
  title = _props$title === void 0 ? "Dialog" : _props$title,
3282
3288
  children = props.children,
3283
3289
  actions = props.actions,
3284
- className = props.className;
3290
+ className = props.className,
3291
+ _props$eventPropagati = props.eventPropagation,
3292
+ eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3285
3293
 
3286
3294
  function close() {
3287
3295
  site.closeDialog();
3288
3296
  }
3289
3297
 
3290
3298
  function prevent(e) {
3291
- e.preventDefault();
3292
- e.stopPropagation();
3299
+ if (!eventPropagation) {
3300
+ e.preventDefault();
3301
+ e.stopPropagation();
3302
+ }
3293
3303
  }
3294
3304
 
3295
3305
  return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -3391,7 +3401,8 @@ var UploadDialog = function UploadDialog(_ref) {
3391
3401
  title: title,
3392
3402
  open: true,
3393
3403
  onAction: onAction,
3394
- actions: actions
3404
+ actions: actions,
3405
+ eventPropagation: true
3395
3406
  }, /*#__PURE__*/React.createElement(Uploader, {
3396
3407
  label: label,
3397
3408
  accept: accept,