@para-ui/core 3.0.7 → 3.0.8
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/AutoTips/index.js +1 -1
- package/Form/index.js +1 -1
- package/FormItem/index.js +1 -1
- package/FunctionModal/index.js +2 -2
- package/Modal/index.js +1 -1
- package/README.md +8 -0
- package/Selector/index.js +319 -83
- package/Selector/interface.d.ts +38 -5
- package/Selector/lang/en_US.d.ts +2 -0
- package/Selector/lang/zh_CN.d.ts +2 -0
- package/SelectorPicker/index.js +2 -2
- package/Table/index.js +47 -12
- package/Table/interface.d.ts +4 -2
- package/Table/lang/en_US.d.ts +1 -0
- package/Table/lang/zh_CN.d.ts +1 -0
- package/Table/tableBodyInterface.d.ts +1 -1
- package/TextEditor/index.d.ts +2 -0
- package/TextEditor/index.js +86 -78
- package/_verture/{index-7b63f88e.js → index-2a854dc1.js} +0 -0
- package/_verture/{modalContext-4bce2dae.js → modalContext-44a724b5.js} +0 -0
- package/index.js +3 -2
- package/package.json +1 -1
package/AutoTips/index.js
CHANGED
|
@@ -71,7 +71,7 @@ var AutoTips = function AutoTips(props) {
|
|
|
71
71
|
placement: placement,
|
|
72
72
|
interactive: interactive,
|
|
73
73
|
boundariesElement: 'viewport',
|
|
74
|
-
|
|
74
|
+
overlayClassName: $prefixCls + '-auto-tips-tooltip'
|
|
75
75
|
}, {
|
|
76
76
|
children: jsx("div", Object.assign({
|
|
77
77
|
className: "auto-tips-content"
|
package/Form/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-d7722f4b.js';
|
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { DeepClone } from '@paraview/lib';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { F as FormItem, v as validate } from '../_verture/index-
|
|
6
|
+
import { F as FormItem, v as validate } from '../_verture/index-2a854dc1.js';
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
|
|
8
8
|
import '../TextField/index.js';
|
|
9
9
|
import '../_verture/typeof-498dd2b1.js';
|
package/FormItem/index.js
CHANGED
package/FunctionModal/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useModal } from '../_verture/modalContext-
|
|
2
|
-
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-
|
|
1
|
+
import { u as useModal } from '../_verture/modalContext-44a724b5.js';
|
|
2
|
+
export { F as FunctionModalProvider, u as default, a as useClose } from '../_verture/modalContext-44a724b5.js';
|
|
3
3
|
import '../_verture/toConsumableArray-f8047a75.js';
|
|
4
4
|
import '../_verture/slicedToArray-d7722f4b.js';
|
|
5
5
|
import '../_verture/index-342379c6.js';
|
package/Modal/index.js
CHANGED
|
@@ -237,7 +237,7 @@ var Confirm = {
|
|
|
237
237
|
destroyAll: destroyAllConfirm
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/13 下午6:54\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-modal {\n color: rgb(46, 55, 67);\n font-size: 14px;\n line-height: 1.5715;\n pointer-events: none;\n position: relative;\n top: 100px;\n width: auto;\n max-width: calc(100vw - 32px);\n margin: 0 auto;\n padding-bottom: 24px;\n}\n.paraui-v3-modal.paraui-v3-modal-sm .paraui-v3-modal-content {\n width: 430px;\n max-height: 250px;\n}\n.paraui-v3-modal.paraui-v3-modal-md .paraui-v3-modal-content {\n width: 486px;\n max-height: 610px;\n}\n.paraui-v3-modal.paraui-v3-modal-lg .paraui-v3-modal-content {\n width: 948px;\n max-height: 610px;\n}\n.paraui-v3-modal.paraui-v3-modal-fullscreen {\n max-width: 100%;\n width: 100%;\n height: 100%;\n}\n.paraui-v3-modal.paraui-v3-modal-zoom-enter, .paraui-v3-modal.paraui-v3-modal-zoom-appear {\n transform: none;\n opacity: 0;\n animation-duration: 0.3s;\n user-select: none;\n}\n.paraui-v3-modal-mask {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index:
|
|
240
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/13 下午6:54\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-modal {\n color: rgb(46, 55, 67);\n font-size: 14px;\n line-height: 1.5715;\n pointer-events: none;\n position: relative;\n top: 100px;\n width: auto;\n max-width: calc(100vw - 32px);\n margin: 0 auto;\n padding-bottom: 24px;\n}\n.paraui-v3-modal.paraui-v3-modal-sm .paraui-v3-modal-content {\n width: 430px;\n max-height: 250px;\n}\n.paraui-v3-modal.paraui-v3-modal-md .paraui-v3-modal-content {\n width: 486px;\n max-height: 610px;\n}\n.paraui-v3-modal.paraui-v3-modal-lg .paraui-v3-modal-content {\n width: 948px;\n max-height: 610px;\n}\n.paraui-v3-modal.paraui-v3-modal-fullscreen {\n max-width: 100%;\n width: 100%;\n height: 100%;\n}\n.paraui-v3-modal.paraui-v3-modal-zoom-enter, .paraui-v3-modal.paraui-v3-modal-zoom-appear {\n transform: none;\n opacity: 0;\n animation-duration: 0.3s;\n user-select: none;\n}\n.paraui-v3-modal-mask {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1500;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n}\n.paraui-v3-modal-mask-hidden {\n display: none;\n}\n.paraui-v3-modal-wrap {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: auto;\n outline: 0;\n z-index: 1500;\n -webkit-overflow-scrolling: touch;\n}\n.paraui-v3-modal .paraui-v3-modal-content {\n display: flex;\n height: 100%;\n flex-direction: column;\n position: relative;\n border-radius: 4px;\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n pointer-events: auto;\n overflow-y: auto;\n}\n.paraui-v3-modal .paraui-v3-modal-title {\n position: relative;\n height: 44px;\n padding: 12px 24px;\n font-size: 14px;\n color: rgb(46, 55, 67);\n font-weight: 700;\n line-height: 20px;\n border-bottom: 1px solid rgba(171, 176, 185, 0.2);\n overflow-wrap: break-word;\n}\n.paraui-v3-modal .paraui-v3-modal-title .paraui-v3-modal-close {\n position: absolute;\n top: 8px;\n right: 14px;\n z-index: 10;\n border: 0;\n}\n.paraui-v3-modal .paraui-v3-modal-title .paraui-v3-modal-close .paraui-v3-modal-close-icon {\n font-size: 20px;\n}\n.paraui-v3-modal .paraui-v3-modal-body {\n flex: auto;\n padding: 16px 24px;\n overflow-y: auto;\n overflow-wrap: break-word;\n}\n.paraui-v3-modal .paraui-v3-modal-footer {\n padding: 8px 24px 24px;\n text-align: right;\n}\n.paraui-v3-modal .paraui-v3-modal-footer > button + button {\n margin-left: 16px;\n}\n.paraui-v3-modal-open {\n overflow: hidden;\n}\n.paraui-v3-modal-centered {\n text-align: center;\n}\n.paraui-v3-modal-centered::before {\n display: inline-block;\n width: 0;\n height: 100%;\n vertical-align: middle;\n content: \"\";\n}\n.paraui-v3-modal-centered .paraui-v3-modal {\n top: 0;\n display: inline-block;\n padding-bottom: 0;\n text-align: left;\n vertical-align: middle;\n}\n@media (max-width: 767px) {\n .paraui-v3-modal .paraui-v3-modal {\n max-width: calc(100vw - 16px);\n margin: 8px auto;\n }\n .paraui-v3-modal .paraui-v3-modal-centered .paraui-v3-modal {\n flex: 1;\n }\n}\n\n.paraui-v3-modal-zoom-enter,\n.paraui-v3-modal-zoom-appear {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n transform: scale(0);\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n\n.paraui-v3-modal-zoom-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.paraui-v3-modal-zoom-enter.paraui-v3-modal-zoom-enter-active,\n.paraui-v3-modal-zoom-appear.paraui-v3-modal-zoom-appear-active {\n animation-name: paraui-v3ModalZoomIn;\n animation-play-state: running;\n}\n\n.paraui-v3-modal-zoom-leave.paraui-v3-modal-zoom-leave-active {\n animation-name: paraui-v3ModalZoomOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.paraui-v3-modal-zoom-enter-prepare,\n.paraui-v3-modal-zoom-appear-prepare {\n transform: none;\n}\n\n.paraui-v3-modal-zoom-leave {\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n.paraui-v3-modal-fade-enter,\n.paraui-v3-modal-fade-appear {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.paraui-v3-modal-fade-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.paraui-v3-modal-fade-enter.paraui-v3-modal-fade-enter-active,\n.paraui-v3-modal-fade-appear.paraui-v3-modal-fade-appear-active {\n animation-name: paraui-v3ModalFadeIn;\n animation-play-state: running;\n}\n\n.paraui-v3-modal-fade-leave.paraui-v3-modal-fade-leave-active {\n animation-name: paraui-v3ModalFadeOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.paraui-v3-modal-fade-enter,\n.paraui-v3-modal-fade-appear {\n opacity: 0;\n animation-timing-function: linear;\n}\n\n.paraui-v3-modal-fade-leave {\n animation-timing-function: linear;\n}\n\n@keyframes paraui-v3ModalZoomIn {\n 0% {\n transform: scale(0.2);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes paraui-v3ModalZoomOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.2);\n opacity: 0;\n }\n}\n@keyframes paraui-v3ModalFadeIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes paraui-v3ModalFadeOut {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}";
|
|
241
241
|
styleInject(css_248z);
|
|
242
242
|
|
|
243
243
|
var mousePosition;
|