@para-ui/core 4.0.71 → 4.0.73
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/DatePicker/index.js +4 -1
- package/README.md +12 -0
- package/TextEditor/index.js +3 -3
- package/Upload/index.js +1 -1
- package/package.json +1 -1
- package/umd/CycleSelector.js +1 -1
- package/umd/DatePicker.js +1 -1
- package/umd/DynamicMultiBox.js +1 -1
- package/umd/TimePicker.js +1 -1
- package/umd/Upload.js +1 -1
package/DatePicker/index.js
CHANGED
|
@@ -433,12 +433,15 @@ function generateRangePicker(generateConfig) {
|
|
|
433
433
|
};
|
|
434
434
|
//open change
|
|
435
435
|
var handleOpenChange = function handleOpenChange(open) {
|
|
436
|
-
var _a;
|
|
436
|
+
var _a, _b;
|
|
437
437
|
(_a = restProps.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(restProps, open);
|
|
438
438
|
if (isolationPopupOnHide) {
|
|
439
439
|
//关闭时隔离dom污染
|
|
440
440
|
isolationPopupPollution(open, uuidRef);
|
|
441
441
|
}
|
|
442
|
+
if (!open) {
|
|
443
|
+
(_b = innerRef.current) === null || _b === void 0 ? void 0 : _b.blur();
|
|
444
|
+
}
|
|
442
445
|
};
|
|
443
446
|
var renderPicker = function renderPicker() {
|
|
444
447
|
var component = jsxs("div", Object.assign({
|
package/README.md
CHANGED
package/TextEditor/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import '../_verture/index-ca413216.js';
|
|
|
23
23
|
* @date 2022/09/06 18:00
|
|
24
24
|
* @description 存放富文本编辑器的一些默认配置
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
var TOOL_BAR_CONFIG = ['headerSelect', 'blockquote', '|', 'bold', 'underline', 'italic', {
|
|
27
27
|
key: 'group-more-style',
|
|
28
28
|
title: '更多',
|
|
29
29
|
iconSvg: '<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',
|
|
@@ -59,8 +59,8 @@ var zh = {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
var localeJson = {
|
|
62
|
-
zh,
|
|
63
|
-
en
|
|
62
|
+
zh: zh,
|
|
63
|
+
en: en
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
var css_248z$1 = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-text-editor.is-error .text-editor-content {\n border-color: rgb(244, 66, 66);\n}\n.paraui-v4-text-editor .w-e-max-length-info {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-text-editor .w-e-bar-item > button:hover {\n background: rgb(247, 248, 250);\n border-radius: 2px;\n}\n.paraui-v4-text-editor .w-e-bar-item-menus-container .w-e-bar-item {\n padding-left: 0;\n padding-right: 0;\n display: flex;\n}\n.paraui-v4-text-editor .w-e-bar-item-menus-container .w-e-bar-item > button {\n flex: 1;\n display: flex;\n justify-content: flex-start;\n}\n.paraui-v4-text-editor .w-e-bar-item-menus-container .w-e-bar-item > button:hover {\n background: rgb(247, 248, 250);\n border-radius: 2px;\n}\n.paraui-v4-text-editor .w-e-full-screen-container {\n z-index: 1000;\n}\n.paraui-v4-text-editor .text-editor-content {\n border: 1px solid rgb(212, 218, 227);\n border-radius: 4px;\n padding: 1px 0;\n background-color: #fff;\n}\n.paraui-v4-text-editor .text-editor-content > div:nth-child(1) {\n border-bottom: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-text-editor .text-editor-content div[contenteditable=false] {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-text-editor .text-editor-content div[contenteditable=false]:hover {\n cursor: not-allowed;\n}\n.paraui-v4-text-editor .preview-mode > div:nth-child(1) {\n border-bottom: none;\n}";
|
package/Upload/index.js
CHANGED
|
@@ -410,7 +410,7 @@ var UploadList = function UploadList(props) {
|
|
|
410
410
|
}
|
|
411
411
|
}, {
|
|
412
412
|
children: file.name
|
|
413
|
-
}), "view") : jsx("
|
|
413
|
+
}), "view") : jsx("span", Object.assign({
|
|
414
414
|
className: listItemNameClass,
|
|
415
415
|
onClick: function onClick(e) {
|
|
416
416
|
return onPreview === null || onPreview === void 0 ? void 0 : onPreview(file, e);
|