@kdcloudjs/kdesign 1.7.68-stable.2 → 1.7.68-stable.4
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 +7 -3
- package/dist/kdesign.css +7 -4
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +8 -10
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +2 -2
- package/dist/kdesign.min.js +4 -4
- package/dist/kdesign.min.js.map +1 -1
- package/es/grid/col.js +2 -2
- package/es/grid/row.js +2 -2
- 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/select.js +0 -4
- package/es/select/style/index.css +3 -3
- package/es/select/style/index.less +3 -3
- package/lib/grid/col.js +2 -2
- package/lib/grid/row.js +2 -2
- 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/select.js +0 -4
- 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.7.68-stable.
|
|
3
|
+
* @kdcloudjs/kdesign v1.7.68-stable.4
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -20005,10 +20005,10 @@ var Col = function Col(props) {
|
|
|
20005
20005
|
// 判断是否是IE浏览器
|
|
20006
20006
|
if (/Trident|MSIE/.test(navigator.userAgent)) return true;
|
|
20007
20007
|
|
|
20008
|
-
// 判断是否是chrome浏览器,chrome浏览器版本号小于
|
|
20008
|
+
// 判断是否是chrome浏览器,chrome浏览器版本号小于83(统信浏览器)
|
|
20009
20009
|
if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {
|
|
20010
20010
|
var version = navigator.userAgent.split('Chrome/')[1].split('.');
|
|
20011
|
-
if (version[0] && parseInt(version[0]) <=
|
|
20011
|
+
if (version[0] && parseInt(version[0]) <= 83) return true;
|
|
20012
20012
|
}
|
|
20013
20013
|
return false;
|
|
20014
20014
|
};
|
|
@@ -20206,10 +20206,10 @@ var Row = function Row(props) {
|
|
|
20206
20206
|
// 判断是否是IE浏览器
|
|
20207
20207
|
if (/Trident|MSIE/.test(navigator.userAgent)) return true;
|
|
20208
20208
|
|
|
20209
|
-
// 判断是否是chrome浏览器,chrome浏览器版本号小于
|
|
20209
|
+
// 判断是否是chrome浏览器,chrome浏览器版本号小于83(统信浏览器)
|
|
20210
20210
|
if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {
|
|
20211
20211
|
var version = navigator.userAgent.split('Chrome/')[1].split('.');
|
|
20212
|
-
if (version[0] && parseInt(version[0]) <=
|
|
20212
|
+
if (version[0] && parseInt(version[0]) <= 83) return true;
|
|
20213
20213
|
}
|
|
20214
20214
|
return false;
|
|
20215
20215
|
};
|
|
@@ -25620,6 +25620,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25620
25620
|
/* harmony import */ var react_draggable__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react_draggable__WEBPACK_IMPORTED_MODULE_15__);
|
|
25621
25621
|
/* harmony import */ var _locale_locale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../locale/locale */ "./components/locale/locale.tsx");
|
|
25622
25622
|
/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../_utils/hooks */ "./components/_utils/hooks.tsx");
|
|
25623
|
+
/* harmony import */ var _utils_ieUtil__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../_utils/ieUtil */ "./components/_utils/ieUtil.ts");
|
|
25623
25624
|
|
|
25624
25625
|
|
|
25625
25626
|
|
|
@@ -25639,6 +25640,7 @@ var _excluded = ["body", "bodyClassName", "bodyStyle", "cancelButtonProps", "can
|
|
|
25639
25640
|
|
|
25640
25641
|
|
|
25641
25642
|
|
|
25643
|
+
|
|
25642
25644
|
var ConfirmModalTypes = ['confirm', 'normal'];
|
|
25643
25645
|
var ModalTypes = Object(_utils_type__WEBPACK_IMPORTED_MODULE_10__["tuple"])('confirm', 'warning', 'error', 'normal');
|
|
25644
25646
|
var DragDirection;
|
|
@@ -25990,7 +25992,7 @@ var InternalModal = function InternalModal(props, ref) {
|
|
|
25990
25992
|
}
|
|
25991
25993
|
};
|
|
25992
25994
|
var isHidden = !destroyOnClose && !(isForceController ? visible : innerVisible);
|
|
25993
|
-
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));
|
|
25995
|
+
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));
|
|
25994
25996
|
var headerClass = "".concat(modalPrefixCls, "-header");
|
|
25995
25997
|
var container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div", {
|
|
25996
25998
|
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)),
|
|
@@ -31321,10 +31323,6 @@ var InternalSelect = function InternalSelect(props, ref) {
|
|
|
31321
31323
|
var _searchRef$current6;
|
|
31322
31324
|
return (_searchRef$current6 = searchRef.current) === null || _searchRef$current6 === void 0 ? void 0 : _searchRef$current6.focus();
|
|
31323
31325
|
},
|
|
31324
|
-
onBlur: function onBlur() {
|
|
31325
|
-
var _searchRef$current7;
|
|
31326
|
-
return (_searchRef$current7 = searchRef.current) === null || _searchRef$current7 === void 0 ? void 0 : _searchRef$current7.blur();
|
|
31327
|
-
},
|
|
31328
31326
|
onKeyDown: onInternalKeyDown
|
|
31329
31327
|
}, !isMultiple ? renderSingle() : renderMultiple()));
|
|
31330
31328
|
};
|