@kdcloudjs/kdesign 1.8.5 → 1.8.6
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-complete.less +8 -3
- package/dist/kdesign.css +10 -4
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +8 -6
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +4 -4
- package/dist/kdesign.min.js.map +1 -1
- package/es/filter/style/index.css +3 -0
- package/es/filter/style/index.less +1 -0
- package/es/grid/col.js +2 -2
- package/es/grid/row.js +2 -2
- package/es/locale/en-US.d.ts +122 -0
- package/es/locale/en-US.js +122 -0
- package/es/modal/modal.js +2 -1
- package/es/modal/style/index.css +3 -0
- package/es/modal/style/index.less +4 -0
- package/es/select/style/index.css +3 -3
- package/es/select/style/index.less +3 -3
- package/lib/filter/style/index.css +3 -0
- package/lib/filter/style/index.less +1 -0
- package/lib/grid/col.js +2 -2
- package/lib/grid/row.js +2 -2
- package/lib/locale/en-US.d.ts +122 -0
- package/lib/locale/en-US.js +129 -0
- package/lib/modal/modal.js +2 -1
- package/lib/modal/style/index.css +3 -0
- package/lib/modal/style/index.less +4 -0
- package/lib/select/style/index.css +3 -3
- package/lib/select/style/index.less +3 -3
- package/package.json +1 -1
package/dist/kdesign.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/kdesign v1.8.
|
|
3
|
+
* @kdcloudjs/kdesign v1.8.5
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -20120,10 +20120,10 @@ var Col = function Col(props) {
|
|
|
20120
20120
|
// 判断是否是IE浏览器
|
|
20121
20121
|
if (/Trident|MSIE/.test(navigator.userAgent)) return true;
|
|
20122
20122
|
|
|
20123
|
-
// 判断是否是chrome浏览器,chrome浏览器版本号小于
|
|
20123
|
+
// 判断是否是chrome浏览器,chrome浏览器版本号小于83(统信浏览器)
|
|
20124
20124
|
if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {
|
|
20125
20125
|
var version = navigator.userAgent.split('Chrome/')[1].split('.');
|
|
20126
|
-
if (version[0] && parseInt(version[0]) <=
|
|
20126
|
+
if (version[0] && parseInt(version[0]) <= 83) return true;
|
|
20127
20127
|
}
|
|
20128
20128
|
return false;
|
|
20129
20129
|
};
|
|
@@ -20321,10 +20321,10 @@ var Row = function Row(props) {
|
|
|
20321
20321
|
// 判断是否是IE浏览器
|
|
20322
20322
|
if (/Trident|MSIE/.test(navigator.userAgent)) return true;
|
|
20323
20323
|
|
|
20324
|
-
// 判断是否是chrome浏览器,chrome浏览器版本号小于
|
|
20324
|
+
// 判断是否是chrome浏览器,chrome浏览器版本号小于83(统信浏览器)
|
|
20325
20325
|
if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {
|
|
20326
20326
|
var version = navigator.userAgent.split('Chrome/')[1].split('.');
|
|
20327
|
-
if (version[0] && parseInt(version[0]) <=
|
|
20327
|
+
if (version[0] && parseInt(version[0]) <= 83) return true;
|
|
20328
20328
|
}
|
|
20329
20329
|
return false;
|
|
20330
20330
|
};
|
|
@@ -25777,6 +25777,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25777
25777
|
/* harmony import */ var react_draggable__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react_draggable__WEBPACK_IMPORTED_MODULE_15__);
|
|
25778
25778
|
/* harmony import */ var _locale_locale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../locale/locale */ "./components/locale/locale.tsx");
|
|
25779
25779
|
/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/hooks */ "./components/_utils/hooks.tsx");
|
|
25780
|
+
/* harmony import */ var _utils_ieUtil__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../_utils/ieUtil */ "./components/_utils/ieUtil.ts");
|
|
25780
25781
|
|
|
25781
25782
|
|
|
25782
25783
|
|
|
@@ -25796,6 +25797,7 @@ var _excluded = ["body", "bodyClassName", "bodyStyle", "cancelButtonProps", "can
|
|
|
25796
25797
|
|
|
25797
25798
|
|
|
25798
25799
|
|
|
25800
|
+
|
|
25799
25801
|
var ConfirmModalTypes = ['confirm', 'normal'];
|
|
25800
25802
|
var ModalTypes = Object(_utils_type__WEBPACK_IMPORTED_MODULE_10__["tuple"])('confirm', 'warning', 'error', 'normal');
|
|
25801
25803
|
var DragDirection;
|
|
@@ -26147,7 +26149,7 @@ var InternalModal = function InternalModal(props, ref) {
|
|
|
26147
26149
|
}
|
|
26148
26150
|
};
|
|
26149
26151
|
var isHidden = !destroyOnClose && !(isForceController ? visible : innerVisible);
|
|
26150
|
-
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-hidden"), isHidden), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames3, "".concat(modalPrefixCls, "-container-show"), !isHidden), _classNames3));
|
|
26152
|
+
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));
|
|
26151
26153
|
var headerClass = "".concat(modalPrefixCls, "-header");
|
|
26152
26154
|
var container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div", {
|
|
26153
26155
|
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)),
|