@kdcloudjs/kdesign 1.7.68-stable.1 → 1.7.68-stable.3
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 +28 -6
- package/dist/kdesign.css +27 -7
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +12 -8
- 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/color-picker/color-picker-panel.js +3 -2
- package/es/color-picker/style/index.css +19 -2
- package/es/color-picker/style/index.less +19 -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/style/index.css +3 -3
- package/es/select/style/index.less +3 -3
- package/es/style/core/reset.less +2 -2
- package/es/style/index.css +1 -1
- package/lib/color-picker/color-picker-panel.js +3 -2
- package/lib/color-picker/style/index.css +19 -2
- package/lib/color-picker/style/index.less +19 -1
- 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/style/index.css +3 -3
- package/lib/select/style/index.less +3 -3
- package/lib/style/core/reset.less +2 -2
- package/lib/style/index.css +1 -1
- 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.2
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -9637,6 +9637,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9637
9637
|
/* harmony import */ var react_color__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! react-color */ "./node_modules/react-color/es/index.js");
|
|
9638
9638
|
/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../_utils/devwarning */ "./components/_utils/devwarning.ts");
|
|
9639
9639
|
/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../_utils/hooks */ "./components/_utils/hooks.tsx");
|
|
9640
|
+
/* harmony import */ var _utils_ieUtil__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../_utils/ieUtil */ "./components/_utils/ieUtil.ts");
|
|
9640
9641
|
|
|
9641
9642
|
|
|
9642
9643
|
|
|
@@ -9658,8 +9659,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9658
9659
|
|
|
9659
9660
|
|
|
9660
9661
|
|
|
9662
|
+
|
|
9661
9663
|
var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
9662
|
-
var _classNames;
|
|
9664
|
+
var _classNames, _classNames2;
|
|
9663
9665
|
var setCorrectColorValue = props.setCorrectColorValue,
|
|
9664
9666
|
setInputColorValue = props.setInputColorValue,
|
|
9665
9667
|
setAlpha = props.setAlpha,
|
|
@@ -9705,7 +9707,7 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
9705
9707
|
var panelContainerCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()("".concat(colorPickerPrefixCls, "-panel-container"));
|
|
9706
9708
|
var panelInputCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()("".concat(colorPickerPrefixCls, "-panel-container-input"));
|
|
9707
9709
|
var transparentCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()("".concat(colorPickerPrefixCls, "-panel-container-transparent"));
|
|
9708
|
-
var colorDivContainerCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()("".concat(colorPickerPrefixCls, "-panel-colorDivContainer"), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(
|
|
9710
|
+
var colorDivContainerCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()("".concat(colorPickerPrefixCls, "-panel-colorDivContainer"), (_classNames2 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames2, "".concat(colorPickerPrefixCls, "-panel-colorDivContainer-unset-color"), (presetColor === null || presetColor === void 0 ? void 0 : presetColor.length) === 0), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames2, "".concat(colorPickerPrefixCls, "-panel-colorDivContainer-ie11"), _utils_ieUtil__WEBPACK_IMPORTED_MODULE_20__["isIE"]), _classNames2));
|
|
9709
9711
|
var colorLiClick = function colorLiClick(index, colorValue) {
|
|
9710
9712
|
var formatArr = Object(_utils_colorFormat__WEBPACK_IMPORTED_MODULE_12__["colorFormat"])(colorValue, alpha);
|
|
9711
9713
|
var formatValue = Object(_utils_convertLetters__WEBPACK_IMPORTED_MODULE_15__["toLowerCase"])(formatArr[Object(_utils_colorFormat__WEBPACK_IMPORTED_MODULE_12__["valOfCorrespondingType"])(currentColorType)].value);
|
|
@@ -20003,10 +20005,10 @@ var Col = function Col(props) {
|
|
|
20003
20005
|
// 判断是否是IE浏览器
|
|
20004
20006
|
if (/Trident|MSIE/.test(navigator.userAgent)) return true;
|
|
20005
20007
|
|
|
20006
|
-
// 判断是否是chrome浏览器,chrome浏览器版本号小于
|
|
20008
|
+
// 判断是否是chrome浏览器,chrome浏览器版本号小于83(统信浏览器)
|
|
20007
20009
|
if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {
|
|
20008
20010
|
var version = navigator.userAgent.split('Chrome/')[1].split('.');
|
|
20009
|
-
if (version[0] && parseInt(version[0]) <=
|
|
20011
|
+
if (version[0] && parseInt(version[0]) <= 83) return true;
|
|
20010
20012
|
}
|
|
20011
20013
|
return false;
|
|
20012
20014
|
};
|
|
@@ -20204,10 +20206,10 @@ var Row = function Row(props) {
|
|
|
20204
20206
|
// 判断是否是IE浏览器
|
|
20205
20207
|
if (/Trident|MSIE/.test(navigator.userAgent)) return true;
|
|
20206
20208
|
|
|
20207
|
-
// 判断是否是chrome浏览器,chrome浏览器版本号小于
|
|
20209
|
+
// 判断是否是chrome浏览器,chrome浏览器版本号小于83(统信浏览器)
|
|
20208
20210
|
if (/Chrome/.test(navigator.userAgent) && !/Chromium/.test(navigator.userAgent)) {
|
|
20209
20211
|
var version = navigator.userAgent.split('Chrome/')[1].split('.');
|
|
20210
|
-
if (version[0] && parseInt(version[0]) <=
|
|
20212
|
+
if (version[0] && parseInt(version[0]) <= 83) return true;
|
|
20211
20213
|
}
|
|
20212
20214
|
return false;
|
|
20213
20215
|
};
|
|
@@ -25618,6 +25620,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25618
25620
|
/* harmony import */ var react_draggable__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react_draggable__WEBPACK_IMPORTED_MODULE_15__);
|
|
25619
25621
|
/* harmony import */ var _locale_locale__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../locale/locale */ "./components/locale/locale.tsx");
|
|
25620
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");
|
|
25621
25624
|
|
|
25622
25625
|
|
|
25623
25626
|
|
|
@@ -25637,6 +25640,7 @@ var _excluded = ["body", "bodyClassName", "bodyStyle", "cancelButtonProps", "can
|
|
|
25637
25640
|
|
|
25638
25641
|
|
|
25639
25642
|
|
|
25643
|
+
|
|
25640
25644
|
var ConfirmModalTypes = ['confirm', 'normal'];
|
|
25641
25645
|
var ModalTypes = Object(_utils_type__WEBPACK_IMPORTED_MODULE_10__["tuple"])('confirm', 'warning', 'error', 'normal');
|
|
25642
25646
|
var DragDirection;
|
|
@@ -25988,7 +25992,7 @@ var InternalModal = function InternalModal(props, ref) {
|
|
|
25988
25992
|
}
|
|
25989
25993
|
};
|
|
25990
25994
|
var isHidden = !destroyOnClose && !(isForceController ? visible : innerVisible);
|
|
25991
|
-
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));
|
|
25992
25996
|
var headerClass = "".concat(modalPrefixCls, "-header");
|
|
25993
25997
|
var container = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div", {
|
|
25994
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)),
|