@kdcloudjs/kdesign 1.8.17 → 1.8.19

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/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.17
3
+ * @kdcloudjs/kdesign v1.8.19
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -8641,6 +8641,8 @@ var InternalSelect = function InternalSelect(props, ref) {
8641
8641
  break;
8642
8642
  }
8643
8643
  case _utils_KeyCode__WEBPACK_IMPORTED_MODULE_31__["default"].ESC:
8644
+ e.stopPropagation();
8645
+ e.nativeEvent.stopImmediatePropagation();
8644
8646
  handleVisibleChange(false);
8645
8647
  break;
8646
8648
  default:
@@ -24733,6 +24735,7 @@ var locale = _objectSpread(_objectSpread({
24733
24735
  'Pagination.order': '第 {order} 页',
24734
24736
  'Pagination.forward': '向前 5 页',
24735
24737
  'Pagination.backward': '向后 5 页',
24738
+ 'Pagination.confirm': '确定',
24736
24739
  'Transfer.selectAll': '全选',
24737
24740
  'Transfer.searchPlaceholder': ['请输入需要搜索的内容', '请输入需要搜索的内容'],
24738
24741
  'Transfer.leftTitle': '可选列表',
@@ -26172,7 +26175,7 @@ __webpack_require__.r(__webpack_exports__);
26172
26175
 
26173
26176
 
26174
26177
 
26175
- var _excluded = ["body", "bodyClassName", "bodyStyle", "cancelButtonProps", "cancelText", "className", "closable", "closeIcon", "destroyOnClose", "draggable", "focusTriggerAfterClose", "footer", "footerClassName", "footerStyle", "footerBtnOrder", "getContainer", "height", "keyboard", "mask", "maskClosable", "maskStyle", "maskClassName", "okButtonProps", "okText", "onCancel", "onOk", "prefixCls", "title", "titleIcon", "type", "visible", "width", "showline", "onDragStart", "onDrag", "onDragStop", "bounds", "overroll", "resizable"];
26178
+ var _excluded = ["body", "bodyClassName", "bodyStyle", "cancelButtonProps", "cancelText", "className", "closable", "closeIcon", "destroyOnClose", "draggable", "focusTriggerAfterClose", "footer", "footerClassName", "footerStyle", "footerBtnOrder", "getContainer", "height", "keyboard", "mask", "maskClosable", "maskStyle", "maskClassName", "okButtonProps", "okText", "onCancel", "onOk", "prefixCls", "title", "titleIcon", "titleClassName", "titleStyle", "type", "visible", "width", "showline", "onDragStart", "onDrag", "onDragStop", "bounds", "overroll", "resizable"];
26176
26179
 
26177
26180
 
26178
26181
 
@@ -26248,6 +26251,8 @@ var InternalModal = function InternalModal(props, ref) {
26248
26251
  customPrefixcls = modalProps.prefixCls,
26249
26252
  title = modalProps.title,
26250
26253
  titleIcon = modalProps.titleIcon,
26254
+ titleClassName = modalProps.titleClassName,
26255
+ titleStyle = modalProps.titleStyle,
26251
26256
  type = modalProps.type,
26252
26257
  visible = modalProps.visible,
26253
26258
  width = modalProps.width,
@@ -26540,7 +26545,7 @@ var InternalModal = function InternalModal(props, ref) {
26540
26545
  };
26541
26546
  var isHidden = !destroyOnClose && !(isForceController ? visible : innerVisible);
26542
26547
  var modalClasses = classnames__WEBPACK_IMPORTED_MODULE_11___default()(modalPrefixCls, className, (_classNames3 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames3, "".concat(modalPrefixCls, "-container"), true), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames3, "".concat(modalPrefixCls, "-container-ie"), _utils_ieUtil__WEBPACK_IMPORTED_MODULE_18__["isIE"]), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames3, "".concat(modalPrefixCls, "-container-hidden"), isHidden), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames3, "".concat(modalPrefixCls, "-container-show"), !isHidden), _classNames3));
26543
- var headerClass = "".concat(modalPrefixCls, "-header");
26548
+ var headerClass = classnames__WEBPACK_IMPORTED_MODULE_11___default()("".concat(modalPrefixCls, "-header"), titleClassName);
26544
26549
  var container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div", {
26545
26550
  className: classnames__WEBPACK_IMPORTED_MODULE_11___default()((_classNames4 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames4, "".concat(modalPrefixCls, "-container-box"), true), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames4, "".concat(modalPrefixCls, "-has-container-box"), modalContainer && !overroll), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames4, "".concat(modalPrefixCls, "-showline"), showline), _classNames4)),
26546
26551
  style: {
@@ -26575,7 +26580,8 @@ var InternalModal = function InternalModal(props, ref) {
26575
26580
  "data-type": "nw",
26576
26581
  className: "".concat(modalPrefixCls, "-resise-handle ").concat(modalPrefixCls, "-resise-nw")
26577
26582
  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div", {
26578
- className: headerClass
26583
+ className: headerClass,
26584
+ style: titleStyle
26579
26585
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div", {
26580
26586
  className: "".concat(modalPrefixCls, "-title-container")
26581
26587
  }, titleIcon !== undefined ? titleIcon : type !== 'normal' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div", {
@@ -27820,7 +27826,7 @@ var Pagination = function Pagination(props) {
27820
27826
  className: "".concat(prefixCls, "-jumper-button"),
27821
27827
  disabled: disabled,
27822
27828
  onClick: handleConfirmCurrentPage
27823
- }, "GO")), showSizeSelector && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__["createElement"]("div", {
27829
+ }, paginationLangMsg.confirm)), showSizeSelector && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__["createElement"]("div", {
27824
27830
  className: "".concat(prefixCls, "-options")
27825
27831
  }, locale.getLangMsg('Pagination', 'perPage', {
27826
27832
  size: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__["createElement"](_dropdown__WEBPACK_IMPORTED_MODULE_16__["default"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({