@para-ui/core 4.0.41 → 4.0.42
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/Cascader/index.js +4 -4
- package/ComboSelect/index.js +10 -10
- package/CycleSelector/index.js +4 -4
- package/DragVerify/index.js +2 -2
- package/DynamicMultiBox/index.js +7 -7
- package/Form/index.js +8 -8
- package/FormItem/index.js +8 -8
- package/FunctionModal/index.js +2 -2
- package/Image/index.js +1 -1
- package/Message/index.js +2 -2
- package/Modal/index.js +3 -3
- package/Notification/index.js +3 -3
- package/Pagination/index.js +2 -2
- package/Progress/index.js +2 -2
- package/Prompt/index.js +2 -2
- package/QuickReply/index.js +1 -1
- package/README.md +4 -1
- package/Result/index.d.ts +25 -0
- package/Result/index.js +94 -0
- package/Select/index.js +3 -3
- package/Selector/index.js +284 -226
- package/SelectorPicker/index.js +7 -7
- package/SingleBox/index.js +2 -2
- package/SortBox/index.js +1 -1
- package/Stepper/index.js +4 -4
- package/Switch/index.js +2 -2
- package/Table/index.js +488 -423
- package/Tabs/index.js +6 -6
- package/Tag/index.js +2 -2
- package/TextEditor/index.js +3 -3
- package/Timeline/index.js +14 -20
- package/Tree/index.js +4 -4
- package/Upload/index.js +5 -5
- package/_verture/{index-6016a7ed.js → index-2824e7a7.js} +2 -2
- package/_verture/{index-8a431cd6.js → index-67fe714a.js} +56 -54
- package/_verture/{index-5b4ff3b2.js → index-77fff5bd.js} +1 -1
- package/_verture/{index-8ac46bd9.js → index-94e24006.js} +1 -1
- package/index.d.ts +2 -0
- package/index.js +10 -9
- package/package.json +2 -3
- package/umd/Result.js +43 -0
- /package/_verture/{Portal-f9bedb3a.js → Portal-edd94cac.js} +0 -0
- /package/_verture/{index-0f5ee6f7.js → index-c8cb6751.js} +0 -0
- /package/_verture/{modalContext-efa83b5c.js → modalContext-369509dd.js} +0 -0
- /package/_verture/{typeof-6ec38efd.js → typeof-4646b22c.js} +0 -0
package/Tabs/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
4
4
|
import RcTabs, { TabPane } from 'rc-tabs';
|
|
5
5
|
import More from '@para-ui/icons/More';
|
|
6
6
|
import Plus from '@para-ui/icons/Plus';
|
|
7
|
-
import
|
|
7
|
+
import Close from '@para-ui/icons/Close';
|
|
8
8
|
import { PopConfirm } from '../PopConfirm/index.js';
|
|
9
9
|
import { Radio } from '../Radio/index.js';
|
|
10
10
|
import Help from '../Help/index.js';
|
|
@@ -42,8 +42,8 @@ var zh = {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
var localeJson = {
|
|
45
|
-
zh,
|
|
46
|
-
en
|
|
45
|
+
zh: zh,
|
|
46
|
+
en: en
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/5/30 上午10:29\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-tabs.paraui-v4-tabs-track.paraui-v4-tabs-medium .component-tabs-nav {\n height: 32px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track.paraui-v4-tabs-medium .component-tabs-nav .component-tabs-tab {\n height: 24px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track.paraui-v4-tabs-medium .component-tabs-nav .component-tabs-nav-operations {\n height: 100%;\n}\n\n/**\n* @author Hanz\n* @date 2022/5/30 上午10:44\n* @description\n*/\n.paraui-v4-tabs.component-tabs-top, .paraui-v4-tabs.component-tabs-bottom {\n flex-direction: column;\n}\n.paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-top > .component-tabs-nav, .paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-bottom > .component-tabs-nav, .paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-top > div > .component-tabs-nav, .paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-bottom > div > .component-tabs-nav {\n padding: 0 20px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-left > .component-tabs-nav, .paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-right > .component-tabs-nav, .paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-left > div > .component-tabs-nav, .paraui-v4-tabs.paraui-v4-tabs-line.component-nav-padding.component-tabs-right > div > .component-tabs-nav {\n padding: 20px 0;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav {\n margin: 0 0 16px 0;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav::before, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav::before, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav::before, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav::before {\n position: absolute;\n right: 0;\n left: 0;\n border-bottom: 1px solid rgb(234, 236, 241);\n content: \"\";\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-ink-bar {\n height: 1px;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-ink-bar-animated, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-ink-bar-animated, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-ink-bar-animated, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-ink-bar-animated {\n transition: width 0.3s, left 0.3s, right 0.3s;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-nav-wrap::after {\n top: 0;\n bottom: 0;\n width: 30px;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-nav-wrap::before {\n left: 0;\n box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.08);\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-nav-wrap::after {\n right: 0;\n box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.08);\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-left::before, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-left::before, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-left::before, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-left::before {\n opacity: 1;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-right::after, .paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-right::after, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-right::after, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-right::after {\n opacity: 1;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav::before, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav::before {\n bottom: 0;\n}\n.paraui-v4-tabs.component-tabs-top > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-top > div > .component-tabs-nav .component-tabs-ink-bar {\n bottom: 0;\n}\n.paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav {\n order: 1;\n margin-top: 16px;\n margin-bottom: 0;\n}\n.paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav::before, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav::before {\n top: 0;\n}\n.paraui-v4-tabs.component-tabs-bottom > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-nav .component-tabs-ink-bar {\n top: 0;\n}\n.paraui-v4-tabs.component-tabs-bottom > .component-tabs-content-holder, .paraui-v4-tabs.component-tabs-bottom > div > .component-tabs-content-holder {\n order: 0;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav {\n flex-direction: column;\n min-width: 50px;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-tab, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-tab, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-tab, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-tab {\n padding: 0 12px;\n text-align: center;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-tab + .component-tabs-tab {\n margin: 8px 0 0 0;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-wrap, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-wrap, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-wrap, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-wrap {\n flex-direction: column;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-wrap::after {\n right: 0;\n left: 0;\n height: 30px;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-wrap::before {\n top: 0;\n box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.08);\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-wrap::after {\n bottom: 0;\n box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08);\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-top::before, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-top::before, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-top::before, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-top::before {\n opacity: 1;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-bottom::after, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-bottom::after, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-bottom::after, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-wrap.component-tabs-nav-wrap-ping-bottom::after {\n opacity: 1;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-ink-bar {\n width: 1px;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-ink-bar-animated, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-ink-bar-animated, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-ink-bar-animated, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-ink-bar-animated {\n transition: height 0.3s, top 0.3s;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-list, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-list, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-list, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-list, .paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-nav-operations, .paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-nav-operations, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-nav-operations, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-nav-operations {\n flex: 1 0 auto;\n flex-direction: column;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-nav .component-tabs-ink-bar {\n right: 0;\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-content-holder, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-content-holder {\n margin-left: -1px;\n border-left: 1px solid rgb(234, 236, 241);\n}\n.paraui-v4-tabs.component-tabs-left > .component-tabs-content-holder > .component-tabs-content > .component-tabs-tabpane, .paraui-v4-tabs.component-tabs-left > div > .component-tabs-content-holder > .component-tabs-content > .component-tabs-tabpane {\n padding-left: 20px;\n}\n.paraui-v4-tabs.component-tabs-right > .component-tabs-nav, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav {\n order: 1;\n}\n.paraui-v4-tabs.component-tabs-right > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-nav .component-tabs-ink-bar {\n left: 0;\n}\n.paraui-v4-tabs.component-tabs-right > .component-tabs-content-holder, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-content-holder {\n order: 0;\n margin-right: -1px;\n border-right: 1px solid rgb(234, 236, 241);\n}\n.paraui-v4-tabs.component-tabs-right > .component-tabs-content-holder > .component-tabs-content > .component-tabs-tabpane, .paraui-v4-tabs.component-tabs-right > div > .component-tabs-content-holder > .component-tabs-content > .component-tabs-tabpane {\n padding-right: 20px;\n}\n\n.component-tabs-dropdown {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgba(0, 0, 0, 0.85);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n position: absolute;\n top: -9999px;\n left: -9999px;\n z-index: 1050;\n display: block;\n}\n.component-tabs-dropdown.component-tabs-dropdown-hidden {\n display: none;\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu {\n max-height: 200px;\n margin: 0;\n padding: 4px 0;\n overflow-x: hidden;\n overflow-y: auto;\n text-align: left;\n list-style-type: none;\n background-color: rgb(255, 255, 255);\n background-clip: padding-box;\n border-radius: 4px;\n outline: none;\n box-shadow: 1px 1px 10px 2px rgba(212, 218, 227, 0.4);\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item {\n display: flex;\n align-items: center;\n min-width: 140px;\n margin: 0;\n padding: 5px 10px;\n overflow: hidden;\n color: rgb(29, 33, 38);\n font-weight: normal;\n font-size: 14px;\n line-height: 20px;\n white-space: nowrap;\n text-overflow: ellipsis;\n cursor: pointer;\n transition: all 0.3s;\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item .component-tabs-tab-help {\n display: inline-flex;\n flex-direction: row-reverse;\n align-items: center;\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item .component-tabs-tab-help .paraui-v4-help {\n display: inline-flex;\n margin-left: 4px;\n font-size: 14px;\n color: rgb(161, 168, 179);\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item .component-tabs-tab-help .paraui-v4-help svg {\n color: inherit;\n font-size: inherit;\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item > span {\n flex: 1;\n white-space: nowrap;\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item-remove {\n flex: none;\n margin-left: 12px;\n margin-top: 2px;\n color: rgb(92, 101, 115);\n background: transparent;\n border: 0;\n cursor: pointer;\n transition: all 0.3s;\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item-remove svg {\n color: inherit;\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item-remove:hover {\n color: rgb(87, 131, 235);\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item:hover {\n background: rgb(247, 248, 250);\n}\n.component-tabs-dropdown .component-tabs-dropdown-menu-item-disabled,\n.component-tabs-dropdown .component-tabs-dropdown-menu-item-disabled:hover {\n color: rgb(161, 168, 179);\n background: transparent;\n cursor: not-allowed;\n}\n\n.component-tabs-slide-up-enter,\n.component-tabs-slide-up-appear {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-tabs-slide-up-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-tabs-slide-up-enter.component-tabs-slide-up-enter-active,\n.component-tabs-slide-up-appear.component-tabs-slide-up-appear-active {\n animation-name: componentTabsSlideUpIn;\n animation-play-state: running;\n}\n\n.component-tabs-slide-up-leave.component-tabs-slide-up-leave-active {\n animation-name: componentTabsSlideUpOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.component-tabs-slide-up-enter,\n.component-tabs-slide-up-appear {\n opacity: 0;\n animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n\n.component-tabs-slide-up-leave {\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n\n@keyframes componentTabsSlideUpIn {\n 0% {\n transform: scaleY(0.8);\n transform-origin: 0% 0%;\n opacity: 0;\n }\n 100% {\n transform: scaleY(1);\n transform-origin: 0% 0%;\n opacity: 1;\n }\n}\n@keyframes componentTabsSlideUpOut {\n 0% {\n transform: scaleY(1);\n transform-origin: 0% 0%;\n opacity: 1;\n }\n 100% {\n transform: scaleY(0.8);\n transform-origin: 0% 0%;\n opacity: 0;\n }\n}\n.paraui-v4-tabs {\n color: rgb(29, 33, 38);\n font-size: 14px;\n line-height: 1.5715;\n display: flex;\n background-color: rgb(255, 255, 255);\n overflow: hidden;\n flex-shrink: 0;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav {\n position: relative;\n display: flex;\n flex: none;\n align-items: center;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-wrap, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-wrap {\n position: relative;\n display: flex;\n flex: auto;\n align-self: stretch;\n overflow: hidden;\n white-space: nowrap;\n transform: translate(0);\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-wrap::before, .paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-wrap::after, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-wrap::after {\n position: absolute;\n z-index: 1;\n opacity: 0;\n transition: opacity 0.3s;\n content: \"\";\n pointer-events: none;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-list, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-list {\n position: relative;\n display: flex;\n flex-shrink: 0;\n transition: transform 0.3s;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-operations, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-operations {\n display: flex;\n align-self: stretch;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-operations-hidden, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-operations-hidden {\n position: absolute;\n visibility: hidden;\n pointer-events: none;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-more, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-more {\n position: relative;\n padding: 8px;\n background: transparent;\n border: 0;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-more:hover svg, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-more:hover svg {\n color: rgb(46, 101, 230);\n transition: all 0.3s;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-more svg, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-more svg {\n font-size: 18px;\n vertical-align: top;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-more::after, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-more::after {\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n height: 5px;\n transform: translateY(100%);\n content: \"\";\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-add, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-add {\n min-width: 40px;\n margin-left: 2px;\n padding: 0 8px;\n background-color: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n color: rgb(29, 33, 38);\n outline: none;\n cursor: pointer;\n transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-add svg, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-add svg {\n color: inherit;\n}\n.paraui-v4-tabs.component-tabs > .component-tabs-nav .component-tabs-nav-add:hover, .paraui-v4-tabs.component-tabs > div > .component-tabs-nav .component-tabs-nav-add:hover {\n color: rgb(46, 101, 230);\n border: 1px solid rgb(87, 131, 235);\n}\n.paraui-v4-tabs .component-tabs-extra-content {\n flex: none;\n}\n.paraui-v4-tabs.paraui-v4-tabs-centered > .component-tabs-nav .component-tabs-nav-wrap, .paraui-v4-tabs.paraui-v4-tabs-centered > div > .component-tabs-nav .component-tabs-nav-wrap {\n justify-content: center;\n}\n.paraui-v4-tabs .component-tabs-ink-bar {\n position: absolute;\n background: rgb(46, 101, 230);\n pointer-events: none;\n}\n.paraui-v4-tabs .component-tabs-tab {\n position: relative;\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n height: 40px;\n padding: 0 10px;\n font-size: 14px;\n background: transparent;\n border: 0;\n outline: none;\n cursor: pointer;\n}\n.paraui-v4-tabs .component-tabs-tab:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tabs .component-tabs-tab-btn {\n outline: none;\n transition: all 0.3s;\n}\n.paraui-v4-tabs .component-tabs-tab-btn .component-tabs-tab-help {\n display: flex;\n align-items: center;\n}\n.paraui-v4-tabs .component-tabs-tab-btn .component-tabs-tab-help .paraui-v4-help {\n display: inline-flex;\n margin-left: 4px;\n font-size: 16px;\n}\n.paraui-v4-tabs .component-tabs-tab-btn .component-tabs-tab-help .paraui-v4-help svg {\n margin-right: 0;\n color: inherit;\n font-size: inherit;\n}\n.paraui-v4-tabs .component-tabs-tab-btn .paraui-v4-radio {\n margin-right: 8px;\n}\n.paraui-v4-tabs .component-tabs-tab-remove {\n display: inline-flex;\n flex: none;\n margin-right: -4px;\n margin-left: 4px;\n color: rgb(92, 101, 115);\n font-size: 14px;\n background: transparent;\n border: none;\n outline: none;\n cursor: pointer;\n transition: all 0.3s;\n}\n.paraui-v4-tabs .component-tabs-tab-remove:hover {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tabs .component-tabs-tab-remove svg {\n color: inherit;\n font-size: inherit;\n}\n.paraui-v4-tabs .component-tabs-tab-remove span {\n display: inline-flex;\n}\n.paraui-v4-tabs .component-tabs-tab.component-tabs-tab-active {\n color: rgb(46, 101, 230);\n font-weight: 400;\n text-shadow: 0 0 0.25px currentcolor;\n}\n.paraui-v4-tabs .component-tabs-tab.component-tabs-tab-active .component-tabs-tab-btn {\n color: inherit;\n}\n.paraui-v4-tabs .component-tabs-tab.component-tabs-tab-disabled {\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}\n.paraui-v4-tabs .component-tabs-tab .component-tabs-tab-remove svg {\n margin: 0;\n}\n.paraui-v4-tabs .component-tabs-tab svg {\n margin-right: 12px;\n}\n.paraui-v4-tabs .component-tabs-tab + .component-tabs-tab {\n margin: 0;\n}\n.paraui-v4-tabs .component-tabs-content {\n display: flex;\n width: 100%;\n}\n.paraui-v4-tabs .component-tabs-content-holder {\n flex: auto;\n min-width: 0;\n min-height: 0;\n}\n.paraui-v4-tabs .component-tabs-content-animated {\n transition: margin 0.3s;\n}\n.paraui-v4-tabs .component-tabs-tabpane {\n flex: none;\n width: 100%;\n outline: none;\n}\n.paraui-v4-tabs.paraui-v4-tabs-editable-line .component-tabs-nav .component-tabs-nav-add, .paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav .component-tabs-nav-add, .paraui-v4-tabs.paraui-v4-tabs-card-container .component-tabs-nav .component-tabs-nav-add {\n min-width: initial;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n align-self: center;\n margin-left: 10px;\n padding: 0;\n background-color: rgb(255, 255, 255);\n border-color: rgb(212, 218, 227);\n border-radius: 2px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track {\n display: inline-flex;\n max-width: 100%;\n border-radius: 4px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav {\n height: 36px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav .component-tabs-nav-wrap {\n padding: 0 4px;\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav .component-tabs-nav-add {\n margin-right: 4px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav:before {\n display: none;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav .component-tabs-ink-bar {\n visibility: hidden;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav .component-tabs-tab {\n height: 28px;\n margin: 4px 0;\n padding: 0 10px;\n border-radius: 2px;\n transition: 0.3s;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-nav .component-tabs-tab.component-tabs-tab-active {\n color: rgb(46, 101, 230);\n text-shadow: none;\n background-color: rgb(255, 255, 255);\n font-weight: 400;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track.component-tabs-left .component-tabs-nav, .paraui-v4-tabs.paraui-v4-tabs-track.component-tabs-right .component-tabs-nav {\n max-width: 200px;\n height: auto;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track.component-tabs-left .component-tabs-content-holder, .paraui-v4-tabs.paraui-v4-tabs-track.component-tabs-right .component-tabs-content-holder {\n border-left: 0;\n border-right: 0;\n}\n.paraui-v4-tabs.paraui-v4-tabs-track .component-tabs-content-holder > .component-tabs-content > .component-tabs-tabpane {\n padding: 0;\n}\n.paraui-v4-tabs.paraui-v4-tabs-editable-track {\n border-radius: 4px 0 0 4px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-editable-track .component-tabs-nav {\n border-radius: 4px;\n}\n.paraui-v4-tabs.component-tabs.paraui-v4-tabs-track > .component-tabs-nav .component-tabs-nav-more {\n background-color: rgb(247, 248, 250);\n border-radius: 0 4px 4px 0;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card > .component-tabs-nav .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card > div > .component-tabs-nav .component-tabs-tab {\n margin: 0;\n padding: 0 10px;\n background: rgb(255, 255, 255);\n border: 1px solid rgb(212, 218, 227);\n}\n.paraui-v4-tabs.paraui-v4-tabs-card > .component-tabs-nav .component-tabs-tab .component-tabs-tab-remove, .paraui-v4-tabs.paraui-v4-tabs-card > div > .component-tabs-nav .component-tabs-tab .component-tabs-tab-remove {\n margin-left: 8px;\n font-size: 14px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card > .component-tabs-nav .component-tabs-tab-active, .paraui-v4-tabs.paraui-v4-tabs-card > div > .component-tabs-nav .component-tabs-tab-active {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-tabs.paraui-v4-tabs-card > .component-tabs-nav .component-tabs-ink-bar, .paraui-v4-tabs.paraui-v4-tabs-card > div > .component-tabs-nav .component-tabs-ink-bar {\n visibility: hidden;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-top > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-bottom > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-top > div > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-bottom > div > .component-tabs-nav .component-tabs-tab + .component-tabs-tab {\n margin-left: 0;\n border-left: 0;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-top > .component-tabs-nav .component-tabs-tab:first-child {\n border-top-left-radius: 4px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-top > .component-tabs-nav .component-tabs-tab:nth-last-child(2) {\n border-top-right-radius: 4px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-top > .component-tabs-nav .component-tabs-tab-active, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-top > div > .component-tabs-nav .component-tabs-tab-active {\n border-bottom-color: rgb(212, 218, 227);\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-bottom > .component-tabs-nav .component-tabs-tab-active, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-bottom > div > .component-tabs-nav .component-tabs-tab-active {\n border-top-color: rgb(212, 218, 227);\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-left > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-right > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-left > div > .component-tabs-nav .component-tabs-tab + .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-right > div > .component-tabs-nav .component-tabs-tab + .component-tabs-tab {\n margin-top: 0;\n border-top: 0;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-left > .component-tabs-nav .component-tabs-tab, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-left > div > .component-tabs-nav .component-tabs-tab {\n margin-left: 0;\n margin-top: 2px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-left > .component-tabs-nav .component-tabs-tab-active, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-left > div > .component-tabs-nav .component-tabs-tab-active {\n border-right-color: rgb(212, 218, 227);\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-right > .component-tabs-nav .component-tabs-tab-active, .paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-right > div > .component-tabs-nav .component-tabs-tab-active {\n border-left-color: rgb(212, 218, 227);\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-right .component-tabs-nav .component-tabs-nav-add {\n margin-left: 0;\n margin-top: 2px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card.component-tabs-left .component-tabs-nav .component-tabs-nav-add {\n margin-left: 0;\n margin-top: 2px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card-container > .component-tabs-nav:before {\n display: none;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card-container > .component-tabs-nav .component-tabs-tab {\n border: 0;\n transition: 0.3s;\n}\n.paraui-v4-tabs.paraui-v4-tabs-card-container > .component-tabs-nav .component-tabs-tab.component-tabs-tab-active {\n border-radius: 4px 4px 0 0;\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-tabs.paraui-v4-tabs-card-container .component-tabs-content {\n margin-top: -16px;\n padding: 16px;\n background-color: rgb(247, 248, 250);\n border-radius: 0 0 4px 4px;\n}\n.paraui-v4-tabs.paraui-v4-tabs-no-child:not(.paraui-v4-tabs-card-container) .component-tabs-nav {\n margin: 0;\n}";
|
|
@@ -122,7 +122,7 @@ const Tabs = props => {
|
|
|
122
122
|
onEdit === null || onEdit === void 0 ? void 0 : onEdit(currItem, tKey, editType);
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
|
-
removeIcon: jsx(
|
|
125
|
+
removeIcon: jsx(Close, {}),
|
|
126
126
|
addIcon: addIcon || jsx(Plus, {}),
|
|
127
127
|
showAdd: hideAdd !== true && showAdd !== false
|
|
128
128
|
};
|
|
@@ -143,7 +143,7 @@ const Tabs = props => {
|
|
|
143
143
|
} = item;
|
|
144
144
|
if (closable === false) return null;
|
|
145
145
|
if (!showPopConfirm) {
|
|
146
|
-
return closeIcon || jsx(
|
|
146
|
+
return closeIcon || jsx(Close, {});
|
|
147
147
|
}
|
|
148
148
|
return jsx("span", Object.assign({
|
|
149
149
|
onClick: ev => ev.stopPropagation()
|
|
@@ -156,7 +156,7 @@ const Tabs = props => {
|
|
|
156
156
|
}, popConfirmProps, {
|
|
157
157
|
onOk: () => onEdit === null || onEdit === void 0 ? void 0 : onEdit(item, item.value, 'remove')
|
|
158
158
|
}, {
|
|
159
|
-
children: closeIcon || jsx(
|
|
159
|
+
children: closeIcon || jsx(Close, {})
|
|
160
160
|
}))
|
|
161
161
|
}));
|
|
162
162
|
};
|
package/Tag/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect } from 'react';
|
|
4
|
-
import
|
|
4
|
+
import Close from '@para-ui/icons/Close';
|
|
5
5
|
import EditOutline from '@para-ui/icons/EditOutline';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-c7a8028f.js';
|
|
@@ -319,7 +319,7 @@ const InternalTag = props => {
|
|
|
319
319
|
onMouseLeave: handleCloseLeave
|
|
320
320
|
}, {
|
|
321
321
|
children: closeIcon
|
|
322
|
-
})) : jsx(
|
|
322
|
+
})) : jsx(Close, {
|
|
323
323
|
className: 'tag-close-icon',
|
|
324
324
|
style: closeIconStyle,
|
|
325
325
|
onClick: handleCloseClick,
|
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 .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 border-color: rgb(212, 218, 227);\n cursor: not-allowed;\n}\n.paraui-v4-text-editor .preview-mode > div:nth-child(1) {\n border-bottom: none;\n}";
|
package/Timeline/index.js
CHANGED
|
@@ -2,33 +2,27 @@ import { a as __rest } from '../_verture/tslib.es6-f43aa41d.js';
|
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
+
import { _ as _defineProperty } from '../_verture/defineProperty-6f62bb2a.js';
|
|
5
6
|
import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
7
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
8
|
+
import '../_verture/typeof-adeedc13.js';
|
|
7
9
|
|
|
8
10
|
//TimelineItem
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} = props,
|
|
11
|
+
var TimelineItem = function TimelineItem(props) {
|
|
12
|
+
var className = props.className,
|
|
13
|
+
color = props.color,
|
|
14
|
+
dot = props.dot,
|
|
15
|
+
_props$pending = props.pending,
|
|
16
|
+
pending = _props$pending === void 0 ? false : _props$pending;
|
|
17
|
+
props.position;
|
|
18
|
+
var label = props.label,
|
|
19
|
+
children = props.children,
|
|
19
20
|
restProps = __rest(props, ["className", "color", "dot", "pending", "position", "label", "children"]);
|
|
20
|
-
|
|
21
|
+
var prefixCls = "".concat($rcPrefixCls, "-timeline");
|
|
21
22
|
//item cls
|
|
22
|
-
|
|
23
|
-
["".concat(prefixCls, "-item")]: true,
|
|
24
|
-
["".concat(prefixCls, "-item-pending")]: pending
|
|
25
|
-
}, className);
|
|
23
|
+
var itemClassName = clsx(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-item"), true), "".concat(prefixCls, "-item-pending"), pending), className);
|
|
26
24
|
//dot cls
|
|
27
|
-
|
|
28
|
-
["".concat(prefixCls, "-item-head")]: true,
|
|
29
|
-
["".concat(prefixCls, "-item-head-custom")]: !!dot,
|
|
30
|
-
["".concat(prefixCls, "-item-head-").concat(color)]: color
|
|
31
|
-
});
|
|
25
|
+
var dotClassName = clsx(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-item-head"), true), "".concat(prefixCls, "-item-head-custom"), !!dot), "".concat(prefixCls, "-item-head-").concat(color), color));
|
|
32
26
|
return jsxs("li", Object.assign({}, restProps, {
|
|
33
27
|
className: itemClassName
|
|
34
28
|
}, {
|
package/Tree/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { T as Tree } from '../_verture/index-
|
|
2
|
-
export { T as default } from '../_verture/index-
|
|
1
|
+
import { T as Tree } from '../_verture/index-77fff5bd.js';
|
|
2
|
+
export { T as default } from '../_verture/index-77fff5bd.js';
|
|
3
3
|
import '../_verture/toConsumableArray-c7a8028f.js';
|
|
4
4
|
import '../_verture/slicedToArray-75fa4188.js';
|
|
5
5
|
import '../_verture/defineProperty-6f62bb2a.js';
|
|
6
6
|
import '../_verture/typeof-adeedc13.js';
|
|
7
|
-
import '../_verture/index-
|
|
8
|
-
import '../_verture/typeof-
|
|
7
|
+
import '../_verture/index-94e24006.js';
|
|
8
|
+
import '../_verture/typeof-4646b22c.js';
|
|
9
9
|
import '../_verture/tslib.es6-f43aa41d.js';
|
|
10
10
|
import 'react/jsx-runtime';
|
|
11
11
|
import 'react';
|
package/Upload/index.js
CHANGED
|
@@ -8,9 +8,9 @@ import LoadingIcon from '@para-ui/icons/Loading';
|
|
|
8
8
|
import { _ as _toConsumableArray } from '../_verture/toConsumableArray-c7a8028f.js';
|
|
9
9
|
import { _ as _typeof } from '../_verture/typeof-adeedc13.js';
|
|
10
10
|
import { _ as _slicedToArray } from '../_verture/slicedToArray-75fa4188.js';
|
|
11
|
-
import { r as regenerator } from '../_verture/index-
|
|
11
|
+
import { r as regenerator } from '../_verture/index-94e24006.js';
|
|
12
12
|
import EditOutline from '@para-ui/icons/EditOutline';
|
|
13
|
-
import
|
|
13
|
+
import Close from '@para-ui/icons/Close';
|
|
14
14
|
import Delete from '@para-ui/icons/Delete';
|
|
15
15
|
import FileOutlined from '@para-ui/icons/Document';
|
|
16
16
|
import PhotoIcon from '@para-ui/icons/Photo';
|
|
@@ -33,10 +33,10 @@ import TurnRight from '@para-ui/icons/TurnRight';
|
|
|
33
33
|
import TurnLeft from '@para-ui/icons/TurnLeft';
|
|
34
34
|
import { Slider } from '../Slider/index.js';
|
|
35
35
|
import { Modal } from '../Modal/index.js';
|
|
36
|
-
import '../_verture/typeof-
|
|
36
|
+
import '../_verture/typeof-4646b22c.js';
|
|
37
37
|
import 'rc-tooltip';
|
|
38
38
|
import 'rc-tooltip/lib/placements';
|
|
39
|
-
import '../_verture/Portal-
|
|
39
|
+
import '../_verture/Portal-edd94cac.js';
|
|
40
40
|
import 'react-dom';
|
|
41
41
|
import '../_verture/defineProperty-6f62bb2a.js';
|
|
42
42
|
import 'rc-dialog';
|
|
@@ -1107,7 +1107,7 @@ var ImageUpload = function ImageUpload(props) {
|
|
|
1107
1107
|
size: "small",
|
|
1108
1108
|
onClick: handleReset
|
|
1109
1109
|
}, {
|
|
1110
|
-
children: jsx(
|
|
1110
|
+
children: jsx(Close, {})
|
|
1111
1111
|
})), renderUploadSelector()]
|
|
1112
1112
|
})) : renderUploadSelector() : jsx(Fragment, {})]
|
|
1113
1113
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __rest } from './tslib.es6-f43aa41d.js';
|
|
2
2
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-
|
|
3
|
+
import { c as clsx, _ as _objectSpread2, r as reactIs, s as supportRef, u as useComposeRef, w as warning, a as _extends, b as _objectWithoutProperties, d as wrapperRaf, e as useEvent$2, f as useLayoutEffect$3, g as composeRef, K as KeyCode, h as fillRef, P as Portal, i as warningOnce, j as useMergedState$2, k as canUseDom$1, l as useMemo$1, n as noteOnce } from './Portal-edd94cac.js';
|
|
4
4
|
import { _ as _toConsumableArray, a as _iterableToArray } from './toConsumableArray-c7a8028f.js';
|
|
5
5
|
import { t as toPropertyKey, _ as _defineProperty } from './defineProperty-6f62bb2a.js';
|
|
6
6
|
import { _ as _slicedToArray, a as _arrayWithHoles, b as _unsupportedIterableToArray, c as _nonIterableRest } from './slicedToArray-75fa4188.js';
|
|
@@ -10,7 +10,7 @@ import React__default, { useState as useState$1, useMemo, useCallback, useRef, u
|
|
|
10
10
|
import ReactDOM, { unstable_batchedUpdates, flushSync } from 'react-dom';
|
|
11
11
|
import CSSMotion from 'rc-motion';
|
|
12
12
|
import clsx$1 from 'clsx';
|
|
13
|
-
import { _ as _typeof$2 } from './typeof-
|
|
13
|
+
import { _ as _typeof$2 } from './typeof-4646b22c.js';
|
|
14
14
|
import { conductCheck } from 'rc-tree/lib/utils/conductUtil';
|
|
15
15
|
import Right from '@para-ui/icons/Right';
|
|
16
16
|
import Down from '@para-ui/icons/Down';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { TextField } from '../TextField/index.js';
|
|
4
3
|
import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
|
|
4
|
+
import { TextField } from '../TextField/index.js';
|
|
5
5
|
import { RadioGroup } from '../RadioGroup/index.js';
|
|
6
6
|
import Select from '../Select/index.js';
|
|
7
7
|
import { CheckboxGroup } from '../CheckboxGroup/index.js';
|
|
@@ -407,52 +407,53 @@ var DefaultCompoments = function DefaultCompoments(props) {
|
|
|
407
407
|
/**
|
|
408
408
|
* form 表单操作项 类型
|
|
409
409
|
*/
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
const intl = useFormatMessage('FormItem', localeJson);
|
|
427
|
-
const tipsStr = placeholder || "".concat(label);
|
|
410
|
+
var ItemType = function ItemType(props) {
|
|
411
|
+
var itemType = props.itemType,
|
|
412
|
+
error = props.error,
|
|
413
|
+
placeholder = props.placeholder,
|
|
414
|
+
label = props.label,
|
|
415
|
+
inputProps = props.inputProps,
|
|
416
|
+
name = props.name,
|
|
417
|
+
rules = props.rules,
|
|
418
|
+
setValue = props.setValue,
|
|
419
|
+
setError = props.setError,
|
|
420
|
+
backData = props.backData,
|
|
421
|
+
disabled = props.disabled,
|
|
422
|
+
change = props.change,
|
|
423
|
+
isComponent = props.isComponent;
|
|
424
|
+
var intl = useFormatMessage('FormItem', localeJson);
|
|
425
|
+
var tipsStr = placeholder || "".concat(label);
|
|
428
426
|
/**
|
|
429
427
|
* 报错信息
|
|
430
428
|
* @type {boolean}
|
|
431
429
|
*/
|
|
432
|
-
|
|
430
|
+
var _React$useState = React__default.useState(!!error),
|
|
431
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
432
|
+
errorStatus = _React$useState2[0],
|
|
433
|
+
setErrorStatus = _React$useState2[1];
|
|
433
434
|
/**
|
|
434
435
|
* 校验方法
|
|
435
436
|
*/
|
|
436
|
-
|
|
437
|
+
var validateFunction = function validateFunction(val) {
|
|
437
438
|
setValue && setValue(name, 'value', val);
|
|
438
439
|
change && change(val);
|
|
439
440
|
// 没有校验规则直接退出
|
|
440
441
|
if (!rules) return;
|
|
441
|
-
|
|
442
|
-
setErrorMsg,
|
|
443
|
-
setAndValidateValue
|
|
442
|
+
var item = Object.assign(Object.assign({}, props), {
|
|
443
|
+
setErrorMsg: setErrorMsg,
|
|
444
|
+
setAndValidateValue: setAndValidateValue
|
|
444
445
|
});
|
|
445
|
-
|
|
446
|
+
var errorMessage = validate(item, val, intl) || '';
|
|
446
447
|
setErrorMsg(errorMessage);
|
|
447
448
|
};
|
|
448
449
|
/**
|
|
449
450
|
* 存储和校验数据
|
|
450
451
|
*/
|
|
451
|
-
|
|
452
|
+
var setAndValidateValue = validateFunction;
|
|
452
453
|
/**
|
|
453
454
|
* 合并设置Error状态方法
|
|
454
455
|
*/
|
|
455
|
-
|
|
456
|
+
var setErrorMsg = React__default.useCallback(function (msg) {
|
|
456
457
|
setError && setError(msg);
|
|
457
458
|
setErrorStatus(!!msg);
|
|
458
459
|
setValue && setValue(name, 'message', msg);
|
|
@@ -460,21 +461,21 @@ const ItemType = props => {
|
|
|
460
461
|
/**
|
|
461
462
|
* 传出最后的 item 对象
|
|
462
463
|
*/
|
|
463
|
-
React__default.useEffect(()
|
|
464
|
-
|
|
465
|
-
setErrorMsg,
|
|
466
|
-
setAndValidateValue
|
|
464
|
+
React__default.useEffect(function () {
|
|
465
|
+
var item = Object.assign(Object.assign({}, props), {
|
|
466
|
+
setErrorMsg: setErrorMsg,
|
|
467
|
+
setAndValidateValue: setAndValidateValue
|
|
467
468
|
});
|
|
468
469
|
setValue && setValue(name, 'item', item);
|
|
469
470
|
}, [name, props, setErrorMsg, setValue]);
|
|
470
471
|
/**
|
|
471
472
|
* 判断显示那个
|
|
472
473
|
*/
|
|
473
|
-
|
|
474
|
+
var selectType = function selectType() {
|
|
474
475
|
if (!isComponent && itemType && typeof itemType !== 'string' && (!itemType.name || itemType.name === 'InputType')) {
|
|
475
|
-
|
|
476
|
-
setErrorMsg,
|
|
477
|
-
setAndValidateValue
|
|
476
|
+
var item = Object.assign(Object.assign({}, props), {
|
|
477
|
+
setErrorMsg: setErrorMsg,
|
|
478
|
+
setAndValidateValue: setAndValidateValue
|
|
478
479
|
});
|
|
479
480
|
return itemType(item);
|
|
480
481
|
}
|
|
@@ -483,7 +484,7 @@ const ItemType = props => {
|
|
|
483
484
|
return jsx(FormFile, Object.assign({}, props, {
|
|
484
485
|
defaultValue: backData[name],
|
|
485
486
|
disabled: disabled,
|
|
486
|
-
onChange: value
|
|
487
|
+
onChange: function onChange(value) {
|
|
487
488
|
validateFunction(value);
|
|
488
489
|
}
|
|
489
490
|
}));
|
|
@@ -491,7 +492,7 @@ const ItemType = props => {
|
|
|
491
492
|
if (backData[name] === undefined) setValue && setValue(name, 'initValue', !!backData[name]);
|
|
492
493
|
return jsx(Switch, Object.assign({
|
|
493
494
|
defaultChecked: !!backData[name],
|
|
494
|
-
onChange: checked
|
|
495
|
+
onChange: function onChange(checked) {
|
|
495
496
|
validateFunction(checked);
|
|
496
497
|
}
|
|
497
498
|
}, Object.assign(Object.assign({}, inputProps), {
|
|
@@ -501,7 +502,7 @@ const ItemType = props => {
|
|
|
501
502
|
return jsx(FormCheckboxGroup, Object.assign({
|
|
502
503
|
error: errorStatus,
|
|
503
504
|
defaultValue: backData[name],
|
|
504
|
-
change: value
|
|
505
|
+
change: function change(value) {
|
|
505
506
|
validateFunction(value);
|
|
506
507
|
},
|
|
507
508
|
list: props.list
|
|
@@ -513,7 +514,7 @@ const ItemType = props => {
|
|
|
513
514
|
placeholder: tipsStr,
|
|
514
515
|
defaultValue: backData[name],
|
|
515
516
|
error: errorStatus,
|
|
516
|
-
change: value
|
|
517
|
+
change: function change(value) {
|
|
517
518
|
validateFunction(value);
|
|
518
519
|
},
|
|
519
520
|
list: props.list
|
|
@@ -524,7 +525,7 @@ const ItemType = props => {
|
|
|
524
525
|
return jsx(FormRadioGroup, Object.assign({
|
|
525
526
|
error: errorStatus,
|
|
526
527
|
defaultValue: backData[name],
|
|
527
|
-
change: value
|
|
528
|
+
change: function change(value) {
|
|
528
529
|
validateFunction(value);
|
|
529
530
|
},
|
|
530
531
|
list: props.list
|
|
@@ -541,7 +542,7 @@ const ItemType = props => {
|
|
|
541
542
|
rows: 3,
|
|
542
543
|
name: name,
|
|
543
544
|
hideErrorDom: null,
|
|
544
|
-
onChange: e
|
|
545
|
+
onChange: function onChange(e) {
|
|
545
546
|
validateFunction(e.target.value);
|
|
546
547
|
}
|
|
547
548
|
}, inputProps));
|
|
@@ -553,7 +554,7 @@ const ItemType = props => {
|
|
|
553
554
|
disabled: disabled,
|
|
554
555
|
name: name,
|
|
555
556
|
hideErrorDom: null,
|
|
556
|
-
onChange: val
|
|
557
|
+
onChange: function onChange(val) {
|
|
557
558
|
validateFunction(val);
|
|
558
559
|
}
|
|
559
560
|
}, inputProps));
|
|
@@ -563,7 +564,7 @@ const ItemType = props => {
|
|
|
563
564
|
placeholder: tipsStr,
|
|
564
565
|
defaultValue: backData[name],
|
|
565
566
|
disabled: disabled,
|
|
566
|
-
onChange: options
|
|
567
|
+
onChange: function onChange(options) {
|
|
567
568
|
validateFunction(options);
|
|
568
569
|
}
|
|
569
570
|
}, inputProps));
|
|
@@ -575,7 +576,7 @@ const ItemType = props => {
|
|
|
575
576
|
placeholder: tipsStr,
|
|
576
577
|
defaultValue: backData[name],
|
|
577
578
|
disabled: disabled,
|
|
578
|
-
onChange: val
|
|
579
|
+
onChange: function onChange(val) {
|
|
579
580
|
validateFunction(val);
|
|
580
581
|
},
|
|
581
582
|
inputProps: inputProps
|
|
@@ -586,7 +587,7 @@ const ItemType = props => {
|
|
|
586
587
|
autocomplete: "off",
|
|
587
588
|
error: errorStatus,
|
|
588
589
|
placeholder: tipsStr,
|
|
589
|
-
onChange: e
|
|
590
|
+
onChange: function onChange(e) {
|
|
590
591
|
validateFunction(e.target.value);
|
|
591
592
|
},
|
|
592
593
|
name: name,
|
|
@@ -602,24 +603,25 @@ const ItemType = props => {
|
|
|
602
603
|
* 报错信息组件
|
|
603
604
|
* @description 为了解决,在主组件设置state,导致输入框中内容刷新,且失去焦点
|
|
604
605
|
*/
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
helperTextProps
|
|
610
|
-
} = props;
|
|
606
|
+
var ErrorTips = function ErrorTips(props) {
|
|
607
|
+
var getSetError = props.getSetError,
|
|
608
|
+
errorMessage = props.errorMessage,
|
|
609
|
+
helperTextProps = props.helperTextProps;
|
|
611
610
|
/**
|
|
612
611
|
* 报错信息
|
|
613
612
|
* @type {string}
|
|
614
613
|
*/
|
|
615
|
-
|
|
614
|
+
var _React$useState = React__default.useState(errorMessage || ''),
|
|
615
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
616
|
+
errorTips = _React$useState2[0],
|
|
617
|
+
setErrorTips = _React$useState2[1];
|
|
616
618
|
/**
|
|
617
619
|
* 初始化传出, 设置错误信息方法
|
|
618
620
|
*/
|
|
619
|
-
React__default.useEffect(()
|
|
621
|
+
React__default.useEffect(function () {
|
|
620
622
|
setErrorTips(errorMessage || '');
|
|
621
623
|
}, [errorMessage]);
|
|
622
|
-
React__default.useEffect(()
|
|
624
|
+
React__default.useEffect(function () {
|
|
623
625
|
getSetError && getSetError(setErrorTips);
|
|
624
626
|
}, [getSetError]);
|
|
625
627
|
return jsx(HelperText, Object.assign({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _toConsumableArray } from './toConsumableArray-c7a8028f.js';
|
|
2
2
|
import { _ as _defineProperty } from './defineProperty-6f62bb2a.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-75fa4188.js';
|
|
4
|
-
import { r as regenerator } from './index-
|
|
4
|
+
import { r as regenerator } from './index-94e24006.js';
|
|
5
5
|
import { a as __rest, _ as __awaiter } from './tslib.es6-f43aa41d.js';
|
|
6
6
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
7
7
|
import React__default, { isValidElement, cloneElement, useRef, useState, useImperativeHandle, useEffect, useMemo } from 'react';
|
package/index.d.ts
CHANGED
|
@@ -124,6 +124,8 @@ export { default as RadioGroup } from './RadioGroup';
|
|
|
124
124
|
export * from './RadioGroup';
|
|
125
125
|
export { default as RangeInput } from './RangeInput';
|
|
126
126
|
export * from './RangeInput';
|
|
127
|
+
export { default as Result } from './Result';
|
|
128
|
+
export * from './Result';
|
|
127
129
|
export { default as Search } from './Search';
|
|
128
130
|
export * from './Search';
|
|
129
131
|
export { default as Select } from './Select';
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@ export { Button } from './Button/index.js';
|
|
|
9
9
|
export { ButtonGroup } from './ButtonGroup/index.js';
|
|
10
10
|
export { Card } from './Card/index.js';
|
|
11
11
|
export { Carousel } from './Carousel/index.js';
|
|
12
|
-
export { C as Cascader } from './_verture/index-
|
|
12
|
+
export { C as Cascader } from './_verture/index-2824e7a7.js';
|
|
13
13
|
export { Checkbox } from './Checkbox/index.js';
|
|
14
14
|
export { CheckboxGroup } from './CheckboxGroup/index.js';
|
|
15
15
|
export { Collapse } from './Collapse/index.js';
|
|
@@ -30,8 +30,8 @@ export { D as Dropdown } from './_verture/index-bde7aabe.js';
|
|
|
30
30
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
31
31
|
export { default as Empty } from './Empty/index.js';
|
|
32
32
|
export { default as Form } from './Form/index.js';
|
|
33
|
-
export { F as FormItem } from './_verture/index-
|
|
34
|
-
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-
|
|
33
|
+
export { F as FormItem } from './_verture/index-67fe714a.js';
|
|
34
|
+
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-369509dd.js';
|
|
35
35
|
export { G as GlobalContext, c as changeConfirmLocale, g as getConfirmLocale } from './_verture/index-ca413216.js';
|
|
36
36
|
export { default as Help } from './Help/index.js';
|
|
37
37
|
export { default as HelperText } from './HelperText/index.js';
|
|
@@ -61,6 +61,7 @@ export { QuickReply, QuickReplyCode } from './QuickReply/index.js';
|
|
|
61
61
|
export { Radio } from './Radio/index.js';
|
|
62
62
|
export { RadioGroup } from './RadioGroup/index.js';
|
|
63
63
|
export { RangeInput } from './RangeInput/index.js';
|
|
64
|
+
export { Result } from './Result/index.js';
|
|
64
65
|
export { Search } from './Search/index.js';
|
|
65
66
|
export { default as Select } from './Select/index.js';
|
|
66
67
|
export { SelectInput } from './SelectInput/index.js';
|
|
@@ -83,7 +84,7 @@ export { Title } from './Title/index.js';
|
|
|
83
84
|
export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
|
|
84
85
|
export { Tooltip } from './Tooltip/index.js';
|
|
85
86
|
export { SSortablejs, Transfer } from './Transfer/index.js';
|
|
86
|
-
export { T as Tree } from './_verture/index-
|
|
87
|
+
export { T as Tree } from './_verture/index-77fff5bd.js';
|
|
87
88
|
export { default as Upload } from './Upload/index.js';
|
|
88
89
|
export { default as Utils, getDateYYYYMMddHHMM, isObject, pixelReplacement } from './Utils/index.js';
|
|
89
90
|
export { default as locale } from './locale/index.js';
|
|
@@ -110,13 +111,13 @@ import '@para-ui/icons/LoadingF';
|
|
|
110
111
|
import 'react-slick';
|
|
111
112
|
import '@para-ui/icons/RightCircleF';
|
|
112
113
|
import '@para-ui/icons/LeftCircleF';
|
|
113
|
-
import './_verture/Portal-
|
|
114
|
+
import './_verture/Portal-edd94cac.js';
|
|
114
115
|
import './_verture/slicedToArray-75fa4188.js';
|
|
115
116
|
import './_verture/typeof-adeedc13.js';
|
|
116
117
|
import './_verture/toConsumableArray-c7a8028f.js';
|
|
117
118
|
import './_verture/defineProperty-6f62bb2a.js';
|
|
118
119
|
import 'rc-motion';
|
|
119
|
-
import './_verture/typeof-
|
|
120
|
+
import './_verture/typeof-4646b22c.js';
|
|
120
121
|
import 'rc-tree/lib/utils/conductUtil';
|
|
121
122
|
import '@para-ui/icons/Right';
|
|
122
123
|
import '@para-ui/icons/CloseCircleF';
|
|
@@ -152,7 +153,7 @@ import 'rc-dropdown';
|
|
|
152
153
|
import './_verture/usePopupContainer-635f66f4.js';
|
|
153
154
|
import '@para-ui/icons/Panel';
|
|
154
155
|
import '@para-ui/icons/Drag';
|
|
155
|
-
import './_verture/index-
|
|
156
|
+
import './_verture/index-c8cb6751.js';
|
|
156
157
|
import './_verture/sortable.esm-76fe46a4.js';
|
|
157
158
|
import '@para-ui/icons/LinkGroup';
|
|
158
159
|
import '@para-ui/icons/UploadFile';
|
|
@@ -179,7 +180,8 @@ import '@para-ui/icons/Plus';
|
|
|
179
180
|
import '@para-ui/icons/EditOutline';
|
|
180
181
|
import '@para-ui/icons/Message';
|
|
181
182
|
import '@para-ui/icons/Set';
|
|
182
|
-
import '
|
|
183
|
+
import '@para-ui/icons/Loading';
|
|
184
|
+
import './_verture/index-94e24006.js';
|
|
183
185
|
import 'rc-slider';
|
|
184
186
|
import './_verture/tinycolor-ece3542d.js';
|
|
185
187
|
import 'rc-steps';
|
|
@@ -208,6 +210,5 @@ import '@para-ui/icons/Document';
|
|
|
208
210
|
import '@para-ui/icons/EditFile';
|
|
209
211
|
import '@para-ui/icons/MoreCircle';
|
|
210
212
|
import 'rc-upload';
|
|
211
|
-
import '@para-ui/icons/Loading';
|
|
212
213
|
import '@para-ui/icons/Photo';
|
|
213
214
|
import 'react-easy-crop';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@para-ui/core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.42",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"typings": "./index.d.ts",
|
|
7
7
|
"description": "Powered by Para FED",
|
|
@@ -23,8 +23,7 @@
|
|
|
23
23
|
"lint": "npm run lint:script && npm run lint:style",
|
|
24
24
|
"lint:script-all": "eslint --ext .js,.jsx,.ts,.tsx --fix src",
|
|
25
25
|
"lint:style-all": "stylelint 'src/**/*.{css,scss}' --fix",
|
|
26
|
-
"lint:all": "npm run lint:script-all && npm run lint:style-all"
|
|
27
|
-
"prepare": "if [ \"$CI\" != \"true\" ]; then npx husky install; fi"
|
|
26
|
+
"lint:all": "npm run lint:script-all && npm run lint:style-all"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
29
|
"@monaco-editor/react": "^4.6.0",
|