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