@unicom-cloud/ui 0.8.56 → 0.8.58
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/Affix.js +15 -15
- package/Alert.js +5 -5
- package/Anchor.js +1 -1
- package/AutoComplete.js +28 -28
- package/Avatar.js +11 -11
- package/BackTop.js +28 -28
- package/Badge.js +10 -10
- package/Breadcrumb.js +6 -6
- package/Button.js +11 -10
- package/Calendar.js +8 -8
- package/Card.js +3 -3
- package/Carousel.js +7 -7
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +582 -11
- package/Comment.js +7 -7
- package/ConfigProvider.js +2 -2
- package/Copy.js +6 -6
- package/DatePicker.js +14 -12
- package/Descriptions.js +3 -3
- package/Divider.js +3 -3
- package/Draggable.js +12 -12
- package/Drawer.js +1 -1
- package/Dropdown.js +5 -5
- package/Empty.js +3 -3
- package/Form.js +1410 -10
- package/Grid.js +14 -14
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +1 -1
- package/Input.js +2 -2
- package/InputNumber.js +8 -8
- package/InputTag.js +1 -1
- package/Layout.js +8 -8
- package/Link.js +13 -13
- package/List.js +21 -21
- package/Mentions.js +30 -30
- package/Menu.js +1 -1
- package/Message.js +3 -3
- package/Modal.js +1 -1
- package/Notice.js +3 -3
- package/Notification.js +4 -4
- package/OverflowEllipsis.js +9 -9
- package/PageHeader.js +10 -10
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +5 -5
- package/Popover.js +7 -7
- package/Portal.js +1 -1
- package/Progress.js +15 -15
- package/Radio.js +2 -2
- package/Rate.js +10 -10
- package/ResizeBox.js +10 -11
- package/Result.js +11 -11
- package/Select.js +1 -1
- package/SelectView.js +40 -41
- package/Skeleton.js +4 -4
- package/Slider.js +9 -9
- package/Space.js +12 -12
- package/SpeechSynthesis.js +1 -1
- package/Spin.js +11 -11
- package/Statistic.js +43 -43
- package/Steps.js +5 -5
- package/Switch.js +15 -16
- package/Table.js +17 -17
- package/Tabs.js +1 -1
- package/Tag.js +5 -5
- package/TimePicker.js +38 -38
- package/Timeline.js +1 -1
- package/Tooltip.js +9 -9
- package/Transfer.js +26 -26
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +11 -11
- package/Typography.js +1 -1
- package/Upload.js +4 -1
- package/VerificationCode.js +1 -1
- package/Version.js +1 -1
- package/VirtualList.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{m_kOQCiU.js → -LZOUh53.js} +1 -1
- package/chunk/{CXNW5Y2a.js → -jdfq71f.js} +1 -1
- package/chunk/{CkAOsst1.js → 4-gvEY5y.js} +30 -30
- package/chunk/{DQXq1QT0.js → B0GOLsj_.js} +1 -1
- package/chunk/{yvbAFxtk.js → B16KHtX-.js} +16 -16
- package/chunk/{CggcswbO.js → B2vORJQ8.js} +19 -15
- package/chunk/{BCk8e9fj.js → B7Zsp3gO.js} +1 -1
- package/chunk/B8QV6E2b.js +34 -0
- package/chunk/{BeM2hfks.js → BBVjSFnw.js} +27 -23
- package/chunk/{1mEO29GP.js → BDjXkzNj.js} +1 -1
- package/chunk/{BuEC_zcc.js → BEDYCG-I.js} +31 -31
- package/chunk/{B45v5S9k.js → BHn4xgbv.js} +1 -1
- package/chunk/{CF3Telny.js → BJ_7JTqC.js} +3 -3
- package/chunk/{BM6dpkeM.js → BLSiP_gg.js} +1 -1
- package/chunk/{9Gh1afjL.js → BMJfSSLX.js} +1 -1
- package/chunk/{DBJ8d0o0.js → BNHrEI0Y.js} +31 -31
- package/chunk/{BP7xX86Q.js → BPZ-6HKJ.js} +131 -134
- package/chunk/{DxNRWF67.js → BVLwPZis.js} +11 -11
- package/chunk/{BpwDupra.js → BYhtrDV3.js} +9 -9
- package/chunk/{D6mVoX-C.js → B_nfMl0e.js} +1 -1
- package/chunk/{BWx1cVT_.js → BcS17Pzy.js} +1 -1
- package/chunk/Bdh4XVuf.js +1487 -0
- package/chunk/{BkHxm4sv.js → BdiEwtQO.js} +1 -1
- package/chunk/{DDda6s72.js → BjSHZA0m.js} +6 -6
- package/chunk/{C7Okdv4u.js → Bpug_KxP.js} +1 -1
- package/chunk/BzPkh4Zv.js +11 -0
- package/chunk/{CwXmtKib.js → C1D7T29r.js} +35 -35
- package/chunk/{DYZzQ2uT.js → C1u_ckwU.js} +1 -1
- package/chunk/C1xMmQIZ.js +468 -0
- package/chunk/C2lIz2F9.js +60 -0
- package/chunk/{Be7oeWU8.js → C43Hv2Bl.js} +1 -1
- package/chunk/{JnyGFb5j.js → C5AQWbC4.js} +79 -79
- package/chunk/{fqgc8r6C.js → C9vsih_D.js} +1 -1
- package/chunk/CANaGbGR.js +154 -0
- package/chunk/{BA02BFUV.js → CAfR2wLq.js} +1 -1
- package/chunk/{CcX2pBUh.js → CAfecMDF.js} +1 -1
- package/chunk/{BHK9zpXn.js → CKp4rZnD.js} +1 -1
- package/chunk/CTxjmYmx.js +19 -0
- package/chunk/{BqxwlITu.js → CV2Aqv9q.js} +1 -1
- package/chunk/{bsawGxt8.js → CYdarMv9.js} +1 -1
- package/chunk/{DafaH1Qt.js → C_S5Mdvd.js} +43 -44
- package/chunk/{DkIjpuBZ.js → Cbd50gx8.js} +11 -11
- package/chunk/{B2Bp3i5u.js → CbiWdbr_.js} +12 -12
- package/chunk/{cUuQh7L_.js → CmB-TL7C.js} +1 -1
- package/chunk/{BbYzi8M0.js → CuOl4X0X.js} +4 -4
- package/chunk/{BHLTzWzi.js → D-ER56Sf.js} +1 -1
- package/chunk/{BK1FKNAX.js → D-aYnb6u.js} +1 -1
- package/chunk/{DalIRWr7.js → D2HkyI6A.js} +9 -9
- package/chunk/D3NFxdmG.js +518 -0
- package/chunk/{C2fspJbE.js → D3xQFJcO.js} +1 -1
- package/chunk/{Lk60-jkf.js → DApXtulb.js} +4 -0
- package/chunk/{sl8s35SK.js → DJcEys80.js} +1 -1
- package/chunk/{B1S1OEw6.js → DLIm6rRJ.js} +1 -1
- package/chunk/{C95ipQ6b.js → DOWEHtqM.js} +1 -1
- package/chunk/{t51ig1FZ.js → DSGRHf-1.js} +132 -132
- package/chunk/{D9TqtOhq.js → DT37l12z.js} +1 -1
- package/chunk/{B6fn5y_s.js → DW-B7npC.js} +1 -1
- package/chunk/D_-UD4vO.js +119 -0
- package/chunk/{Dtnux4qL.js → D_MTFBb0.js} +1 -1
- package/chunk/{WkB0MERB.js → DhBo0pPJ.js} +27 -27
- package/chunk/DmUhn9ib.js +961 -0
- package/chunk/{Bny52uiG.js → DpfUGhi4.js} +10 -10
- package/chunk/{DhLbnw3R.js → Dx_5J4fO.js} +1 -1
- package/chunk/{B9PsJar0.js → Dy487FZ1.js} +1 -1
- package/chunk/{D6RTBH4C.js → IooeSKJJ.js} +10 -10
- package/chunk/Kbr6FzOG.js +745 -0
- package/chunk/{CwjaGytU.js → RMBPs_Ry.js} +32 -32
- package/chunk/Uz-rNulO.js +98 -0
- package/chunk/V6euPXVB.js +1025 -0
- package/chunk/{Bv8ZRDFt.js → YIlBPVAs.js} +14 -14
- package/chunk/{DPvnQJ-H.js → cDZI_t6o.js} +1 -1
- package/chunk/{C-w9pFY-.js → cZiP8FvM.js} +3 -3
- package/chunk/{DJmWXheU.js → eK7lxdak.js} +8 -8
- package/chunk/{Dg2DmtzA.js → gIbzjQ-X.js} +5 -6
- package/chunk/{CPl52AZh.js → sScV-J56.js} +1 -1
- package/chunk/{BbI3gqVr.js → wI2I1qb0.js} +1 -1
- package/hooks/index.js +32 -32
- package/hooks/use-verification-code.js +23 -22
- package/hooks/use-watermark.js +2 -1
- package/hooks/useComputedState.js +2 -1
- package/hooks/useCreate.js +2 -1
- package/hooks/useForceUpdate.js +2 -1
- package/hooks/useId.js +2 -1
- package/hooks/useInView.js +5 -4
- package/hooks/useIntersectionObserver.js +11 -11
- package/hooks/useIsFirstRender.js +2 -1
- package/hooks/useIsomorphicLayoutEffect.js +2 -1
- package/hooks/useKeyboardEvent.js +3 -2
- package/hooks/useMedia.js +2 -1
- package/hooks/useMergeProps.js +2 -1
- package/hooks/useMergeValue.js +4 -3
- package/hooks/useOverflowHidden.js +2 -1
- package/hooks/useOverrideRef.js +2 -1
- package/hooks/usePersistCallback.js +2 -1
- package/hooks/usePrevious.js +2 -1
- package/hooks/useRefs.js +2 -1
- package/hooks/useResizeObserver.js +2 -1
- package/hooks/useStateCallback.js +2 -1
- package/hooks/useStateWithPromise.js +2 -1
- package/hooks/useUpdateEffect.js +2 -1
- package/hooks/useWatch.js +3 -2
- package/hooks/useWindowSize.js +2 -1
- package/icons.js +35 -35
- package/index.js +484 -376
- package/locale/en-US.js +3 -11
- package/locale/tr-TR.js +3 -11
- package/package.json +1 -1
- package/types/anchor/Anchor.d.ts +1 -1
- package/types/button/index.d.ts +3 -2
- package/types/color-picker/hooks/useColorPicker.d.ts +1 -1
- package/types/color-picker/hooks/useControlBlock.d.ts +1 -1
- package/types/config-provider/interface.d.ts +1 -0
- package/types/date-picker/PickerRange.d.ts +1 -1
- package/types/hooks/use-verification-code/index.d.ts +2 -1
- package/types/hooks/use-watermark/index.d.ts +2 -1
- package/types/hooks/useComputedState.d.ts +2 -2
- package/types/hooks/useCreate.d.ts +2 -1
- package/types/hooks/useForceUpdate.d.ts +2 -1
- package/types/hooks/useId.d.ts +2 -1
- package/types/hooks/useInView.d.ts +1 -1
- package/types/hooks/useIntersectionObserver.d.ts +1 -1
- package/types/hooks/useIsFirstRender.d.ts +2 -1
- package/types/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
- package/types/hooks/useKeyboardEvent.d.ts +2 -2
- package/types/hooks/useMedia.d.ts +1 -1
- package/types/hooks/useMergeProps.d.ts +2 -1
- package/types/hooks/useMergeValue.d.ts +2 -1
- package/types/hooks/useOverflowHidden.d.ts +2 -2
- package/types/hooks/useOverrideRef.d.ts +2 -1
- package/types/hooks/usePersistCallback.d.ts +2 -1
- package/types/hooks/usePrevious.d.ts +2 -1
- package/types/hooks/useRefs.d.ts +2 -1
- package/types/hooks/useResizeObserver.d.ts +2 -1
- package/types/hooks/useStateCallback.d.ts +1 -1
- package/types/hooks/useStateWithPromise.d.ts +1 -1
- package/types/hooks/useUpdateEffect.d.ts +2 -1
- package/types/hooks/useWatch.d.ts +2 -1
- package/types/hooks/useWindowSize.d.ts +1 -1
- package/types/image/interface.d.ts +1 -1
- package/types/index.d.ts +13 -22
- package/types/table/interface.d.ts +3 -1
- package/types/upload/Upload.d.ts +2 -1
- package/types/upload/index.d.ts +3 -1
- package/types/upload/request_.d.ts +3 -0
- package/types/utils/caseName.d.ts +2 -0
- package/types/utils/fileToURL.d.ts +2 -0
- package/types/utils/fillNBSP.d.ts +1 -1
- package/types/utils/index.d.ts +37 -0
- package/types/utils/is.d.ts +2 -2
- package/types/utils/lodash.d.ts +4 -0
- package/types/utils/scrollIntoView.d.ts +2 -1
- package/types/version/index.d.ts +1 -1
- package/ui.css +1 -0
- package/utils/CSSTransition.js +1 -1
- package/utils/caseName.js +20 -0
- package/utils/className.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/fileToURL.js +4 -0
- package/utils/index.js +219 -0
- package/utils/is.js +95 -93
- package/utils/keyCode.js +10 -46
- package/utils/lodash.js +8 -0
- package/utils/mergedToString.js +11 -10
- package/utils/reactDOM.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/scrollIntoView.js +8 -7
- package/chunk/5pZ3ayqs.js +0 -29
- package/chunk/Bl-ODC57.js +0 -945
- package/chunk/BlKc_pDZ.js +0 -678
- package/chunk/CiEln_Q1.js +0 -517
- package/chunk/CilQ012k.js +0 -1796
- package/chunk/CnY8SvgY.js +0 -126
- package/chunk/DRJO1GfY.js +0 -855
- package/chunk/DUxWiN2U.js +0 -1465
- package/chunk/Do1aMgY3.js +0 -12
- package/chunk/Dw4SJ4o1.js +0 -964
- package/chunk/V_IcWDFx.js +0 -49
- package/style.css +0 -1
- /package/types/utils/{mergeProp.d.ts → mergeProps.d.ts} +0 -0
- /package/utils/{mergeProp.js → mergeProps.js} +0 -0
package/PageHeader.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
-
import { I as T, a as W } from "./chunk/
|
|
2
|
+
import { I as T, a as W } from "./chunk/DT37l12z.js";
|
|
3
3
|
import j, { useContext as K, useState as U, useRef as D, useImperativeHandle as F, useEffect as L } from "react";
|
|
4
4
|
import M from "./Breadcrumb.js";
|
|
5
|
-
import {
|
|
6
|
-
import G from "./hooks/useKeyboardEvent.js";
|
|
7
|
-
import J from "./hooks/useMergeProps.js";
|
|
8
|
-
import { y as N } from "./chunk/
|
|
5
|
+
import { d as S, I as q } from "./chunk/Bdh4XVuf.js";
|
|
6
|
+
import { useKeyboardEvent as G } from "./hooks/useKeyboardEvent.js";
|
|
7
|
+
import { useMergeProps as J } from "./hooks/useMergeProps.js";
|
|
8
|
+
import { y as N } from "./chunk/BzPkh4Zv.js";
|
|
9
9
|
import Q from "./utils/omit.js";
|
|
10
|
-
function
|
|
10
|
+
function x(y, b) {
|
|
11
11
|
const { getPrefixCls: v, componentConfig: m, rtl: p } = K(S), n = J(
|
|
12
|
-
|
|
12
|
+
y,
|
|
13
13
|
{},
|
|
14
14
|
m == null ? void 0 : m.PageHeader
|
|
15
15
|
), {
|
|
@@ -32,7 +32,7 @@ function b(x, y) {
|
|
|
32
32
|
let o = I;
|
|
33
33
|
Array.isArray(o) && !o.length && (o = null);
|
|
34
34
|
const P = G(), [C, E] = U(!1), a = D(), e = v("page-header");
|
|
35
|
-
F(
|
|
35
|
+
F(b, () => ({
|
|
36
36
|
getRootDomElement: H
|
|
37
37
|
}), []);
|
|
38
38
|
function H() {
|
|
@@ -107,8 +107,8 @@ function b(x, y) {
|
|
|
107
107
|
}
|
|
108
108
|
);
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
const ae = j.forwardRef(
|
|
110
|
+
x.displayName = "PageHeader";
|
|
111
|
+
const ae = j.forwardRef(x);
|
|
112
112
|
export {
|
|
113
113
|
ae as default
|
|
114
114
|
};
|
package/Pagination.js
CHANGED
package/Picker.js
CHANGED
package/Popconfirm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as t, jsxs as d, Fragment as G } from "react/jsx-runtime";
|
|
2
|
-
import { b as J } from "./chunk/
|
|
2
|
+
import { b as J } from "./chunk/BHn4xgbv.js";
|
|
3
3
|
import y from "lodash/isFunction";
|
|
4
4
|
import K from "lodash/isNil";
|
|
5
5
|
import { forwardRef as Q, useContext as X, useState as Y, useImperativeHandle as Z, useEffect as _ } from "react";
|
|
6
6
|
import N from "./Button.js";
|
|
7
|
-
import {
|
|
8
|
-
import oe from "./hooks/useMergeProps.js";
|
|
9
|
-
import ne from "./hooks/useMergeValue.js";
|
|
7
|
+
import { d as ee } from "./chunk/Bdh4XVuf.js";
|
|
8
|
+
import { useMergeProps as oe } from "./hooks/useMergeProps.js";
|
|
9
|
+
import { useMergeValue as ne } from "./hooks/useMergeValue.js";
|
|
10
10
|
import te from "./Tooltip.js";
|
|
11
|
-
import { y as ie } from "./chunk/
|
|
11
|
+
import { y as ie } from "./chunk/BzPkh4Zv.js";
|
|
12
12
|
const re = {
|
|
13
13
|
position: "top",
|
|
14
14
|
okType: "primary",
|
package/Popover.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as j, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import u from "lodash/isFunction";
|
|
3
3
|
import { forwardRef as O, useContext as R } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import w from "./hooks/useMergeProps.js";
|
|
4
|
+
import { d as T } from "./chunk/Bdh4XVuf.js";
|
|
5
|
+
import { useMergeProps as w } from "./hooks/useMergeProps.js";
|
|
6
6
|
import F from "./Tooltip.js";
|
|
7
|
-
import { y as H } from "./chunk/
|
|
7
|
+
import { y as H } from "./chunk/BzPkh4Zv.js";
|
|
8
8
|
import { isEmptyReactNode as a } from "./utils/is.js";
|
|
9
9
|
const M = {
|
|
10
10
|
position: "top",
|
|
@@ -23,8 +23,8 @@ function S(c, d) {
|
|
|
23
23
|
position: v,
|
|
24
24
|
getPopupContainer: x,
|
|
25
25
|
trigger: P,
|
|
26
|
-
defaultPopupVisible:
|
|
27
|
-
popupVisible:
|
|
26
|
+
defaultPopupVisible: y,
|
|
27
|
+
popupVisible: b,
|
|
28
28
|
triggerProps: r,
|
|
29
29
|
unmountOnExit: N,
|
|
30
30
|
onVisibleChange: V,
|
|
@@ -61,10 +61,10 @@ function S(c, d) {
|
|
|
61
61
|
popupHoverStay: !0,
|
|
62
62
|
unmountOnExit: N,
|
|
63
63
|
triggerProps: r,
|
|
64
|
-
defaultPopupVisible:
|
|
64
|
+
defaultPopupVisible: y,
|
|
65
65
|
onVisibleChange: V || (r ? r.onVisibleChange : void 0),
|
|
66
66
|
childrenPrefix: o,
|
|
67
|
-
..."popupVisible" in l ? { popupVisible:
|
|
67
|
+
..."popupVisible" in l ? { popupVisible: b } : {},
|
|
68
68
|
children: typeof n == "string" ? /* @__PURE__ */ e("span", { children: n }) : n
|
|
69
69
|
}
|
|
70
70
|
);
|
package/Portal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import f, { useRef as a, useEffect as i, useImperativeHandle as l } from "react";
|
|
3
3
|
import p from "react-dom";
|
|
4
|
-
import P from "./hooks/useForceUpdate.js";
|
|
4
|
+
import { useForceUpdate as P } from "./hooks/useForceUpdate.js";
|
|
5
5
|
function R(t, n) {
|
|
6
6
|
const o = P(), r = a(null), e = a(void 0);
|
|
7
7
|
i(() => (c(), e.current = setTimeout(() => {
|
package/Progress.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as t, jsxs as v } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback as
|
|
3
|
-
import {
|
|
4
|
-
import F from "./hooks/useMergeProps.js";
|
|
5
|
-
import { y as w } from "./chunk/
|
|
2
|
+
import { useCallback as N, forwardRef as z, useContext as j } from "react";
|
|
3
|
+
import { d as _ } from "./chunk/Bdh4XVuf.js";
|
|
4
|
+
import { useMergeProps as F } from "./hooks/useMergeProps.js";
|
|
5
|
+
import { y as w } from "./chunk/BzPkh4Zv.js";
|
|
6
6
|
import G from "./utils/omit.js";
|
|
7
|
-
import { I as T } from "./chunk
|
|
8
|
-
import { I as M } from "./chunk/
|
|
9
|
-
import
|
|
7
|
+
import { I as T } from "./chunk/-jdfq71f.js";
|
|
8
|
+
import { I as M } from "./chunk/CmB-TL7C.js";
|
|
9
|
+
import b from "lodash/isFunction";
|
|
10
10
|
import S from "lodash/isPlainObject";
|
|
11
|
-
import O from "./hooks/useId.js";
|
|
11
|
+
import { useId as O } from "./hooks/useId.js";
|
|
12
12
|
import U from "./Tooltip.js";
|
|
13
|
-
import { b as I } from "./chunk/
|
|
13
|
+
import { b as I } from "./chunk/BHn4xgbv.js";
|
|
14
14
|
const A = {
|
|
15
15
|
mini: 4,
|
|
16
16
|
small: 3,
|
|
@@ -30,9 +30,9 @@ const A = {
|
|
|
30
30
|
inlineText: r,
|
|
31
31
|
status: g,
|
|
32
32
|
formatText: x
|
|
33
|
-
} = e, f = S(e.color), n = e.width || B[l], u = e.strokeWidth || (l === "mini" ? n / 2 : A[l]), p = (n - u) / 2, c = Math.PI * 2 * p, m = n / 2, o = `${h}-circle`, s = `${o}-svg`, d =
|
|
33
|
+
} = e, f = S(e.color), n = e.width || B[l], u = e.strokeWidth || (l === "mini" ? n / 2 : A[l]), p = (n - u) / 2, c = Math.PI * 2 * p, m = n / 2, o = `${h}-circle`, s = `${o}-svg`, d = N(
|
|
34
34
|
(k) => {
|
|
35
|
-
if (
|
|
35
|
+
if (b(x))
|
|
36
36
|
return x(a);
|
|
37
37
|
switch (k) {
|
|
38
38
|
case "success":
|
|
@@ -147,8 +147,8 @@ function E(e) {
|
|
|
147
147
|
inlineText: p = !1,
|
|
148
148
|
size: c = "default",
|
|
149
149
|
status: m = "normal"
|
|
150
|
-
} = e, o = e.strokeWidth || D[c], s = `${a}-${l}`, d = o, $ = m === "success" || m === "error" || i >= 100, y =
|
|
151
|
-
if (
|
|
150
|
+
} = e, o = e.strokeWidth || D[c], s = `${a}-${l}`, d = o, $ = m === "success" || m === "error" || i >= 100, y = N(() => {
|
|
151
|
+
if (b(f))
|
|
152
152
|
return f(i);
|
|
153
153
|
switch (m) {
|
|
154
154
|
case "error":
|
|
@@ -221,8 +221,8 @@ const L = (e) => {
|
|
|
221
221
|
inlineText: f = !1,
|
|
222
222
|
size: n = "default",
|
|
223
223
|
status: u = "normal"
|
|
224
|
-
} = e, p = e.strokeWidth || (n === "small" ? 8 : 4), c = `${l}-${i}`, m = p, o =
|
|
225
|
-
if (
|
|
224
|
+
} = e, p = e.strokeWidth || (n === "small" ? 8 : 4), c = `${l}-${i}`, m = p, o = N(() => {
|
|
225
|
+
if (b(r))
|
|
226
226
|
return r(a);
|
|
227
227
|
switch (u) {
|
|
228
228
|
case "error":
|
package/Radio.js
CHANGED
package/Rate.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as a, jsxs as Y } from "react/jsx-runtime";
|
|
2
|
-
import { I as Z, a as x, b as E, c as tt } from "./chunk/
|
|
3
|
-
import { o as et, d as rt } from "./chunk/
|
|
2
|
+
import { I as Z, a as x, b as E, c as tt } from "./chunk/B_nfMl0e.js";
|
|
3
|
+
import { o as et, d as rt } from "./chunk/DApXtulb.js";
|
|
4
4
|
import g, { useContext as at, useState as v } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import st from "./hooks/useMergeProps.js";
|
|
5
|
+
import { d as ot } from "./chunk/Bdh4XVuf.js";
|
|
6
|
+
import { useMergeProps as st } from "./hooks/useMergeProps.js";
|
|
7
7
|
import ct from "./Tooltip.js";
|
|
8
|
-
import { y as U } from "./chunk/
|
|
8
|
+
import { y as U } from "./chunk/BzPkh4Zv.js";
|
|
9
9
|
import lt from "./utils/omit.js";
|
|
10
10
|
const it = {
|
|
11
11
|
character: /* @__PURE__ */ a(Z, {}),
|
|
@@ -23,12 +23,12 @@ function nt(S, _) {
|
|
|
23
23
|
character: f,
|
|
24
24
|
count: I,
|
|
25
25
|
value: N,
|
|
26
|
-
tooltips:
|
|
26
|
+
tooltips: P,
|
|
27
27
|
allowHalf: o,
|
|
28
28
|
allowClear: W,
|
|
29
29
|
readonly: u,
|
|
30
30
|
disabled: p,
|
|
31
|
-
grading:
|
|
31
|
+
grading: b,
|
|
32
32
|
onChange: c,
|
|
33
33
|
onHoverChange: l,
|
|
34
34
|
...q
|
|
@@ -51,7 +51,7 @@ function nt(S, _) {
|
|
|
51
51
|
}, H = (t) => {
|
|
52
52
|
const s = o ? et(+rt(n || 0, 0.5).toFixed(0), 0.5) : Math.round(n), e = d || s;
|
|
53
53
|
let i = typeof f == "function" ? f(t) : f;
|
|
54
|
-
|
|
54
|
+
b && (e <= 2 ? i = /* @__PURE__ */ a(x, {}) : e <= 3 ? i = /* @__PURE__ */ a(E, {}) : i = /* @__PURE__ */ a(tt, {}), e <= t && (i = /* @__PURE__ */ a(E, {})));
|
|
55
55
|
const J = U(`${r}-character`, {
|
|
56
56
|
[`${r}-character-half`]: o && t + 0.5 === e,
|
|
57
57
|
[`${r}-character-full`]: t + 1 <= e,
|
|
@@ -62,7 +62,7 @@ function nt(S, _) {
|
|
|
62
62
|
}, O = u || p ? {} : {
|
|
63
63
|
onMouseEnter: V.bind(this, t, !1),
|
|
64
64
|
onClick: A.bind(this, t, !1)
|
|
65
|
-
}, y =
|
|
65
|
+
}, y = P && P[t], Q = y ? ct : g.Fragment, X = y ? { content: y } : {};
|
|
66
66
|
function $(k) {
|
|
67
67
|
return {
|
|
68
68
|
role: "radio",
|
|
@@ -111,7 +111,7 @@ function nt(S, _) {
|
|
|
111
111
|
style: D,
|
|
112
112
|
className: G,
|
|
113
113
|
onMouseLeave: R,
|
|
114
|
-
children: /* @__PURE__ */ a("div", { className: `${r}-inner`, children: Array.apply(null, Array(
|
|
114
|
+
children: /* @__PURE__ */ a("div", { className: `${r}-inner`, children: Array.apply(null, Array(b ? 5 : I)).map(
|
|
115
115
|
(t, s) => H(s)
|
|
116
116
|
) })
|
|
117
117
|
}
|
package/ResizeBox.js
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { jsx as g, jsxs as ut } from "react/jsx-runtime";
|
|
2
2
|
import vt from "lodash/isNumber";
|
|
3
3
|
import Wt, { useContext as ft, useRef as F, useEffect as lt, forwardRef as Ct, useState as ct, useImperativeHandle as zt } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import Bt from "./hooks/useMergeProps.js";
|
|
6
|
-
import It from "./hooks/useMergeValue.js";
|
|
7
|
-
import { y as P } from "./chunk/
|
|
4
|
+
import { d as gt } from "./chunk/Bdh4XVuf.js";
|
|
5
|
+
import { useMergeProps as Bt } from "./hooks/useMergeProps.js";
|
|
6
|
+
import { useMergeValue as It } from "./hooks/useMergeValue.js";
|
|
7
|
+
import { y as P } from "./chunk/BzPkh4Zv.js";
|
|
8
8
|
import { on as y, off as $ } from "./utils/dom.js";
|
|
9
9
|
import Mt from "./utils/omit.js";
|
|
10
|
-
import { I as Yt } from "./chunk/
|
|
11
|
-
import { I as Tt, a as bt } from "./chunk/
|
|
12
|
-
import { I as Ft } from "./chunk/
|
|
13
|
-
import { I as kt } from "./chunk/
|
|
14
|
-
import { I as Ut } from "./chunk/
|
|
10
|
+
import { I as Yt } from "./chunk/BLSiP_gg.js";
|
|
11
|
+
import { I as Tt, a as bt } from "./chunk/B0GOLsj_.js";
|
|
12
|
+
import { I as Ft } from "./chunk/CYdarMv9.js";
|
|
13
|
+
import { I as kt } from "./chunk/CAfR2wLq.js";
|
|
14
|
+
import { I as Ut } from "./chunk/DOWEHtqM.js";
|
|
15
15
|
import wt from "lodash/isFunction";
|
|
16
16
|
import "./utils/is.js";
|
|
17
|
-
import "./chunk/BeM2hfks.js";
|
|
18
17
|
import st from "lodash/isPlainObject";
|
|
19
|
-
import Vt from "./hooks/useIsomorphicLayoutEffect.js";
|
|
18
|
+
import { useIsomorphicLayoutEffect as Vt } from "./hooks/useIsomorphicLayoutEffect.js";
|
|
20
19
|
import _t from "lodash/isString";
|
|
21
20
|
import St from "lodash/isUndefined";
|
|
22
21
|
function Nt(r) {
|
package/Result.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { I as L } from "./chunk
|
|
3
|
-
import { I as p } from "./chunk/
|
|
4
|
-
import { I as u } from "./chunk/
|
|
5
|
-
import { I as M } from "./chunk/
|
|
2
|
+
import { I as L } from "./chunk/-jdfq71f.js";
|
|
3
|
+
import { I as p } from "./chunk/BHn4xgbv.js";
|
|
4
|
+
import { I as u } from "./chunk/CmB-TL7C.js";
|
|
5
|
+
import { I as M } from "./chunk/CAfecMDF.js";
|
|
6
6
|
import { forwardRef as Z, useContext as v } from "react";
|
|
7
|
-
import {
|
|
8
|
-
import I from "./hooks/useMergeProps.js";
|
|
9
|
-
import { y as m } from "./chunk/
|
|
7
|
+
import { d as R } from "./chunk/Bdh4XVuf.js";
|
|
8
|
+
import { useMergeProps as I } from "./hooks/useMergeProps.js";
|
|
9
|
+
import { y as m } from "./chunk/BzPkh4Zv.js";
|
|
10
10
|
function $() {
|
|
11
11
|
return /* @__PURE__ */ t(
|
|
12
12
|
"svg",
|
|
@@ -1387,15 +1387,15 @@ function j(f, d) {
|
|
|
1387
1387
|
l == null ? void 0 : l.Result
|
|
1388
1388
|
), {
|
|
1389
1389
|
className: o,
|
|
1390
|
-
style:
|
|
1390
|
+
style: C,
|
|
1391
1391
|
status: e,
|
|
1392
1392
|
title: n,
|
|
1393
1393
|
subTitle: a,
|
|
1394
1394
|
extra: s,
|
|
1395
1395
|
children: g,
|
|
1396
|
-
icon:
|
|
1396
|
+
icon: b,
|
|
1397
1397
|
...w
|
|
1398
|
-
} = h, i = x("result"), c = "icon" in h ?
|
|
1398
|
+
} = h, i = x("result"), c = "icon" in h ? b : k[e];
|
|
1399
1399
|
return /* @__PURE__ */ t(
|
|
1400
1400
|
"div",
|
|
1401
1401
|
{
|
|
@@ -1408,7 +1408,7 @@ function j(f, d) {
|
|
|
1408
1408
|
},
|
|
1409
1409
|
o
|
|
1410
1410
|
),
|
|
1411
|
-
style:
|
|
1411
|
+
style: C,
|
|
1412
1412
|
...w,
|
|
1413
1413
|
children: [
|
|
1414
1414
|
c && /* @__PURE__ */ r("div", { className: `${i}-icon`, children: /* @__PURE__ */ r(
|
package/Select.js
CHANGED
package/SelectView.js
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { jsx as r, jsxs as R } from "react/jsx-runtime";
|
|
2
2
|
import Ie, { useRef as se, useContext as Ue, useState as ge, useEffect as We, useImperativeHandle as ve, useMemo as ze } from "react";
|
|
3
|
-
import { y as N } from "./chunk/
|
|
3
|
+
import { y as N } from "./chunk/BzPkh4Zv.js";
|
|
4
4
|
import "./utils/is.js";
|
|
5
5
|
import { pickDataAttributes as je } from "./utils/pick.js";
|
|
6
|
-
import { e as Ge, I as He } from "./chunk/
|
|
7
|
-
import { I as Ke } from "./chunk/
|
|
8
|
-
import { I as Le } from "./chunk/
|
|
6
|
+
import { e as Ge, I as He } from "./chunk/BHn4xgbv.js";
|
|
7
|
+
import { I as Ke } from "./chunk/BDjXkzNj.js";
|
|
8
|
+
import { I as Le } from "./chunk/Dx_5J4fO.js";
|
|
9
9
|
import _e from "lodash/isFunction";
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import Je from "./hooks/useForceUpdate.js";
|
|
13
|
-
import Qe from "./hooks/usePersistCallback.js";
|
|
14
|
-
import { I as Xe } from "./chunk/
|
|
15
|
-
import { I as Ze } from "./chunk/
|
|
10
|
+
import we from "lodash/isUndefined";
|
|
11
|
+
import { d as Ye, I as qe } from "./chunk/Bdh4XVuf.js";
|
|
12
|
+
import { useForceUpdate as Je } from "./hooks/useForceUpdate.js";
|
|
13
|
+
import { usePersistCallback as Qe } from "./hooks/usePersistCallback.js";
|
|
14
|
+
import { I as Xe } from "./chunk/C_S5Mdvd.js";
|
|
15
|
+
import { I as Ze } from "./chunk/gIbzjQ-X.js";
|
|
16
16
|
import eo from "./Tag.js";
|
|
17
|
-
import
|
|
17
|
+
import be from "./utils/fillNBSP.js";
|
|
18
18
|
import oo from "./utils/include.js";
|
|
19
|
-
import {
|
|
20
|
-
import "./chunk/BeM2hfks.js";
|
|
19
|
+
import { E as to, B as ro } from "./chunk/C2lIz2F9.js";
|
|
21
20
|
import C from "lodash/isPlainObject";
|
|
22
21
|
const v = {
|
|
23
22
|
BEFORE: 0,
|
|
@@ -25,8 +24,8 @@ const v = {
|
|
|
25
24
|
NONE: 2
|
|
26
25
|
}, no = 1, so = Ie.forwardRef(function(d, x) {
|
|
27
26
|
const {
|
|
28
|
-
id:
|
|
29
|
-
style:
|
|
27
|
+
id: M,
|
|
28
|
+
style: O,
|
|
30
29
|
className: U,
|
|
31
30
|
size: $,
|
|
32
31
|
bordered: W,
|
|
@@ -43,7 +42,7 @@ const v = {
|
|
|
43
42
|
clearIcon: m,
|
|
44
43
|
placeholder: ae,
|
|
45
44
|
renderText: le,
|
|
46
|
-
value:
|
|
45
|
+
value: w,
|
|
47
46
|
inputValue: j,
|
|
48
47
|
popupVisible: h,
|
|
49
48
|
maxTagCount: s,
|
|
@@ -64,7 +63,7 @@ const v = {
|
|
|
64
63
|
onRemoveCheckedItem: q,
|
|
65
64
|
onSort: ue,
|
|
66
65
|
...Se
|
|
67
|
-
} = d, S = se(null), g = se(null), { size: Te, getPrefixCls: de } = Ue(Ye), [De, fe] = ge(v.NONE), [J, pe] = ge(!1), ke = Je(), T = "showSearch" in d ? d.showSearch : I, c = T || y, A = $ || Te, Q = J || h, Ee = C(T) && T.retainInputValue,
|
|
66
|
+
} = d, S = se(null), g = se(null), { size: Te, getPrefixCls: de } = Ue(Ye), [De, fe] = ge(v.NONE), [J, pe] = ge(!1), ke = Je(), T = "showSearch" in d ? d.showSearch : I, c = T || y, A = $ || Te, Q = J || h, Ee = C(T) && T.retainInputValue, b = !I && w !== void 0 ? le(w).text : "", X = (e) => {
|
|
68
67
|
e && e.preventDefault();
|
|
69
68
|
}, Z = (e) => {
|
|
70
69
|
const t = c ? S.current : g.current;
|
|
@@ -101,13 +100,13 @@ const v = {
|
|
|
101
100
|
let e;
|
|
102
101
|
switch (De) {
|
|
103
102
|
case v.BEFORE:
|
|
104
|
-
e = j || (Ee ?
|
|
103
|
+
e = j || (Ee ? b : "");
|
|
105
104
|
break;
|
|
106
105
|
case v.EDITING:
|
|
107
106
|
e = j || "";
|
|
108
107
|
break;
|
|
109
108
|
default:
|
|
110
|
-
e =
|
|
109
|
+
e = b;
|
|
111
110
|
break;
|
|
112
111
|
}
|
|
113
112
|
const t = !!(Q && c || G), n = {
|
|
@@ -115,7 +114,7 @@ const v = {
|
|
|
115
114
|
// _inputValue after renderText(value) may be rich text, but the value of <input> cannot be object
|
|
116
115
|
value: t && typeof e != "object" ? e : "",
|
|
117
116
|
// Allow placeholder to display the selected value first when searching
|
|
118
|
-
placeholder: c &&
|
|
117
|
+
placeholder: c && b && typeof b != "object" ? b : ae
|
|
119
118
|
};
|
|
120
119
|
return c ? (n.onPaste = i.paste, n.onKeyDown = i.keyDown, n.onFocus = i.focus, n.onBlur = i.blur, n.onChange = i.change) : (n.tabIndex = -1, n.style.pointerEvents = "none"), /* @__PURE__ */ R("span", { className: `${o}-view-selector`, children: [
|
|
121
120
|
/* @__PURE__ */ r(
|
|
@@ -131,20 +130,20 @@ const v = {
|
|
|
131
130
|
...n
|
|
132
131
|
}
|
|
133
132
|
),
|
|
134
|
-
t ? /* @__PURE__ */ r("span", { className: `${o}-view-value-mirror`, children:
|
|
133
|
+
t ? /* @__PURE__ */ r("span", { className: `${o}-view-value-mirror`, children: be(n.value ? e : n.placeholder) }) : null,
|
|
135
134
|
/* @__PURE__ */ r(
|
|
136
135
|
"span",
|
|
137
136
|
{
|
|
138
137
|
style: t ? { display: "none" } : {},
|
|
139
138
|
className: `${o}-view-value`,
|
|
140
|
-
children:
|
|
139
|
+
children: be(G ? n.placeholder : e)
|
|
141
140
|
}
|
|
142
141
|
)
|
|
143
142
|
] });
|
|
144
143
|
}, ee = Qe(le), Fe = ze(() => {
|
|
145
144
|
if (!I)
|
|
146
145
|
return [];
|
|
147
|
-
const e =
|
|
146
|
+
const e = we(w) ? [] : [].concat(w), t = [], n = C(s) ? s.count : s, oe = typeof n == "number";
|
|
148
147
|
for (let D = 0; D < e.length && !(oe && t.length >= n + no); D++) {
|
|
149
148
|
const te = e[D], a = ee(te);
|
|
150
149
|
t.push({
|
|
@@ -154,8 +153,8 @@ const v = {
|
|
|
154
153
|
});
|
|
155
154
|
}
|
|
156
155
|
return t;
|
|
157
|
-
}, [
|
|
158
|
-
const e =
|
|
156
|
+
}, [w, I, s, ee]), Re = () => {
|
|
157
|
+
const e = we(w) ? [] : [].concat(w), t = C(s) ? s.count : s, n = (a) => {
|
|
159
158
|
const u = C(s) && _e(s.render) ? s.render(a) : `+${a}...`;
|
|
160
159
|
return ie ? u : /* @__PURE__ */ r(
|
|
161
160
|
eo,
|
|
@@ -178,9 +177,9 @@ const v = {
|
|
|
178
177
|
onBlur: i.blur,
|
|
179
178
|
onInputChange: i.change,
|
|
180
179
|
onRemove: (a, u, re) => {
|
|
181
|
-
const
|
|
180
|
+
const Oe = re.key;
|
|
182
181
|
let ne = -1;
|
|
183
|
-
|
|
182
|
+
Oe === ro.key && (ne = oe()) !== -1 && (a = e[ne], u = ne), s && ke(), q == null || q(a, u, re);
|
|
184
183
|
}
|
|
185
184
|
};
|
|
186
185
|
return /* @__PURE__ */ r(
|
|
@@ -218,7 +217,7 @@ const v = {
|
|
|
218
217
|
...D
|
|
219
218
|
}
|
|
220
219
|
);
|
|
221
|
-
}, he = z || (d.error ? "error" : void 0),
|
|
220
|
+
}, he = z || (d.error ? "error" : void 0), Be = !l && !G && k ? /* @__PURE__ */ r(
|
|
222
221
|
qe,
|
|
223
222
|
{
|
|
224
223
|
size: A,
|
|
@@ -228,7 +227,7 @@ const v = {
|
|
|
228
227
|
children: m ?? /* @__PURE__ */ r(He, {})
|
|
229
228
|
},
|
|
230
229
|
"clearIcon"
|
|
231
|
-
) : null,
|
|
230
|
+
) : null, Me = N(
|
|
232
231
|
o,
|
|
233
232
|
`${o}-${I ? "multiple" : "single"}`,
|
|
234
233
|
{
|
|
@@ -256,9 +255,9 @@ const v = {
|
|
|
256
255
|
...xe,
|
|
257
256
|
ref: g,
|
|
258
257
|
tabIndex: l ? -1 : 0,
|
|
259
|
-
id:
|
|
260
|
-
style:
|
|
261
|
-
className:
|
|
258
|
+
id: M,
|
|
259
|
+
style: O,
|
|
260
|
+
className: Me,
|
|
262
261
|
onKeyDown: me,
|
|
263
262
|
onFocus: (e) => {
|
|
264
263
|
!l && !ce && (c ? S.current && S.current.focus() : F("focus", e));
|
|
@@ -267,7 +266,7 @@ const v = {
|
|
|
267
266
|
children: /* @__PURE__ */ R(
|
|
268
267
|
"div",
|
|
269
268
|
{
|
|
270
|
-
title: typeof
|
|
269
|
+
title: typeof b == "string" ? b : void 0,
|
|
271
270
|
className: N(`${o}-view`, {
|
|
272
271
|
[`${o}-view-with-prefix`]: H
|
|
273
272
|
}),
|
|
@@ -290,7 +289,7 @@ const v = {
|
|
|
290
289
|
className: `${o}-suffix`,
|
|
291
290
|
onMouseDown: (e) => J && X(e),
|
|
292
291
|
children: [
|
|
293
|
-
|
|
292
|
+
Be,
|
|
294
293
|
Pe
|
|
295
294
|
]
|
|
296
295
|
}
|
|
@@ -300,24 +299,24 @@ const v = {
|
|
|
300
299
|
)
|
|
301
300
|
}
|
|
302
301
|
);
|
|
303
|
-
}), ao = (
|
|
302
|
+
}), ao = (B, d) => {
|
|
304
303
|
const {
|
|
305
304
|
prefixCls: x,
|
|
306
|
-
id:
|
|
307
|
-
style:
|
|
305
|
+
id: M,
|
|
306
|
+
style: O,
|
|
308
307
|
className: U,
|
|
309
308
|
addBefore: $,
|
|
310
309
|
rtl: W,
|
|
311
310
|
renderView: k,
|
|
312
311
|
autoWidth: y,
|
|
313
312
|
...z
|
|
314
|
-
} =
|
|
313
|
+
} = B, E = y ? {
|
|
315
314
|
minWidth: 0,
|
|
316
315
|
maxWidth: "100%",
|
|
317
316
|
...C(y) ? y : {}
|
|
318
317
|
} : null, l = se(null), V = $ != null, f = V || !1, p = {
|
|
319
|
-
id:
|
|
320
|
-
style: { ...E, width: E ? "auto" : void 0, ...
|
|
318
|
+
id: M,
|
|
319
|
+
style: { ...E, width: E ? "auto" : void 0, ...O },
|
|
321
320
|
className: U
|
|
322
321
|
}, P = je(z);
|
|
323
322
|
ve(
|
|
@@ -327,7 +326,7 @@ const v = {
|
|
|
327
326
|
let m = /* @__PURE__ */ r(
|
|
328
327
|
so,
|
|
329
328
|
{
|
|
330
|
-
...
|
|
329
|
+
...B,
|
|
331
330
|
ref: l,
|
|
332
331
|
id: f ? void 0 : p.id,
|
|
333
332
|
style: f ? void 0 : p.style,
|
package/Skeleton.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as n, jsxs as P } from "react/jsx-runtime";
|
|
2
2
|
import k from "lodash/isPlainObject";
|
|
3
3
|
import v, { forwardRef as w, useContext as S } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { y as p } from "./chunk/
|
|
4
|
+
import { d as j } from "./chunk/Bdh4XVuf.js";
|
|
5
|
+
import { useMergeProps as b } from "./hooks/useMergeProps.js";
|
|
6
|
+
import { y as p } from "./chunk/BzPkh4Zv.js";
|
|
7
7
|
import { pickDataAttributes as A } from "./utils/pick.js";
|
|
8
8
|
import R from "lodash/isArray";
|
|
9
9
|
function T(s) {
|
|
@@ -54,7 +54,7 @@ const z = {
|
|
|
54
54
|
loading: !0
|
|
55
55
|
};
|
|
56
56
|
function D(s, m) {
|
|
57
|
-
const { getPrefixCls: r, componentConfig: t, rtl: l } = S(
|
|
57
|
+
const { getPrefixCls: r, componentConfig: t, rtl: l } = S(j), i = b(
|
|
58
58
|
s,
|
|
59
59
|
z,
|
|
60
60
|
t == null ? void 0 : t.Skeleton
|
package/Slider.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as I, jsxs as ge } from "react/jsx-runtime";
|
|
2
|
-
import { i as pe, o as we, u as oe, d as Re } from "./chunk/
|
|
2
|
+
import { i as pe, o as we, u as oe, d as Re } from "./chunk/DApXtulb.js";
|
|
3
3
|
import he from "lodash/isArray";
|
|
4
4
|
import E from "lodash/isFunction";
|
|
5
5
|
import re from "lodash/isPlainObject";
|
|
6
6
|
import _, { useState as Se, useContext as Le, useMemo as Z, useRef as S, useEffect as Ee, createElement as De, useCallback as H, forwardRef as st } from "react";
|
|
7
|
-
import {
|
|
8
|
-
import at from "./hooks/useMergeProps.js";
|
|
9
|
-
import Fe from "./hooks/useMergeValue.js";
|
|
10
|
-
import ut from "./hooks/useUpdateEffect.js";
|
|
11
|
-
import { y as Y } from "./chunk/
|
|
7
|
+
import { d as Be } from "./chunk/Bdh4XVuf.js";
|
|
8
|
+
import { useMergeProps as at } from "./hooks/useMergeProps.js";
|
|
9
|
+
import { useMergeValue as Fe } from "./hooks/useMergeValue.js";
|
|
10
|
+
import { useUpdateEffect as ut } from "./hooks/useUpdateEffect.js";
|
|
11
|
+
import { y as Y } from "./chunk/BzPkh4Zv.js";
|
|
12
12
|
import { on as U, off as W } from "./utils/dom.js";
|
|
13
13
|
import lt from "./utils/omit.js";
|
|
14
14
|
import ne from "lodash/isNumber";
|
|
15
15
|
import ct from "lodash/isString";
|
|
16
|
-
import ft from "./hooks/useKeyboardEvent.js";
|
|
16
|
+
import { useKeyboardEvent as ft } from "./hooks/useKeyboardEvent.js";
|
|
17
17
|
import mt from "./Trigger.js";
|
|
18
|
-
import { a as Te } from "./chunk/
|
|
19
|
-
import { z as dt } from "./chunk/
|
|
18
|
+
import { a as Te } from "./chunk/DmUhn9ib.js";
|
|
19
|
+
import { z as dt } from "./chunk/BBVjSFnw.js";
|
|
20
20
|
import gt from "lodash/isUndefined";
|
|
21
21
|
const pt = { maxWidth: 350 }, ht = {
|
|
22
22
|
enter: 300,
|