@unicom-cloud/ui 0.8.63 → 0.8.65
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 +2 -2
- package/Alert.js +2 -2
- package/Anchor.js +1 -1
- package/AutoComplete.js +4 -4
- package/Avatar.js +2 -2
- package/BackTop.js +2 -2
- package/Badge.js +37 -31
- package/Breadcrumb.js +3 -3
- package/Button.js +82 -71
- package/Calendar.js +4 -4
- package/Card.js +2 -2
- package/Carousel.js +2 -2
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +5 -5
- package/Comment.js +2 -2
- package/ConfigProvider.js +2 -2
- package/Copy.js +3 -3
- package/DatePicker.js +92 -92
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Drawer.js +1 -1
- package/Dropdown.js +27 -26
- package/Empty.js +2 -2
- package/Form.js +4 -4
- package/Grid.js +3 -3
- package/Icon.js +3 -2
- package/IconHover.js +2 -2
- package/Image.js +4 -1
- package/Input.js +11 -2
- package/InputNumber.js +3 -3
- package/InputTag.js +1 -1
- package/Layout.js +25 -21
- package/Link.js +2 -2
- package/List.js +31 -30
- package/Mentions.js +4 -4
- package/Menu.js +7 -2
- package/Message.js +4 -3
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +4 -3
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +2 -2
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +2 -2
- package/Radio.js +4 -2
- package/Rate.js +2 -2
- package/ResizeBox.js +140 -137
- package/Result.js +2 -2
- package/Select.js +4 -1
- package/SelectView.js +7 -7
- package/Skeleton.js +2 -2
- package/Slider.js +5 -5
- package/Space.js +54 -50
- package/Spin.js +2 -2
- package/Statistic.js +29 -28
- package/Steps.js +41 -39
- package/Switch.js +3 -3
- package/Table.js +8 -5
- package/Tabs.js +6 -2
- package/Tag.js +2 -2
- package/TimePicker.js +38 -37
- package/Timeline.js +4 -2
- package/Tooltip.js +2 -2
- package/Transfer.js +4 -4
- package/Tree.js +1 -1
- package/TreeSelect.js +3 -1
- package/Trigger.js +43 -42
- package/Typography.js +6 -2
- package/Upload.js +3 -3
- package/VerificationCode.js +1 -1
- package/Version.js +5 -3
- package/Watermark.js +1 -1
- package/chunk/{DDDuw0Zi.js → 1GQdnTJp.js} +2 -2
- package/chunk/BAWsPQBM.js +11 -0
- package/chunk/{CfZWOhnc.js → BS09tn7B.js} +2 -2
- package/chunk/{CZ1wrD_H.js → BUCEs557.js} +2 -2
- package/chunk/BqGtwxTi.js +777 -0
- package/chunk/{BcwdVUDs.js → Bqk6yh16.js} +2 -2
- package/chunk/{CD7dGcUa.js → BqufsN8i.js} +4 -4
- package/chunk/{Dpzgtdt-.js → BtlvlGQN.js} +2 -2
- package/chunk/{BoDdbbF_.js → CF6p9R93.js} +4 -3
- package/chunk/{BnLshM9R.js → CGZ0In1p.js} +189 -182
- package/chunk/{B5gIo-hD.js → CH1UUxsg.js} +4 -4
- package/chunk/{D3dcFbex.js → CIlGCedk.js} +3 -3
- package/chunk/{CgDayZDE.js → CPcm9Cm5.js} +2 -2
- package/chunk/{Cqyp4qni.js → CSC_V_25.js} +45 -45
- package/chunk/{JpKOcIfl.js → CWgltRVL.js} +44 -41
- package/chunk/{BLLKKgZJ.js → CsbCHnFk.js} +23 -21
- package/chunk/{Cb_oWoGj.js → CwhPMMWy.js} +14 -14
- package/chunk/{B9w_puFP.js → DG-epQqF.js} +2 -2
- package/chunk/{QFkhCtUr.js → DIx0qmCq.js} +3 -3
- package/chunk/{Bn2-vqTg.js → DK4KcodH.js} +201 -195
- package/chunk/{BEB_A9eY.js → DLvMA1OW.js} +2 -2
- package/chunk/{DbPYtS7-.js → DQDkV47j.js} +2 -2
- package/chunk/{rlfmXePI.js → DTjcKyDN.js} +135 -134
- package/chunk/{BmO1y0vr.js → DUeHQKtx.js} +12 -12
- package/chunk/{C6Zb_-OE.js → DXZEpA3t.js} +2 -2
- package/chunk/{aqSmxUbY.js → DjtWv6Wn.js} +1 -1
- package/chunk/{C5S_amaH.js → DlLL5JQo.js} +106 -101
- package/chunk/{CvlD3aiv.js → Dnycc1qJ.js} +133 -130
- package/chunk/{DbLgopUR.js → DqFhzTWC.js} +3 -3
- package/chunk/{DXZ8-ha7.js → Dv_xRzvR.js} +3 -3
- package/chunk/{Dk6hL04k.js → Ek8U5CTN.js} +222 -221
- package/chunk/{CfTcP6nF.js → ewRDIDUz.js} +4 -4
- package/chunk/{CAxIyiy6.js → tYXLFPVI.js} +6 -4
- package/hooks/useIntersectionObserver.js +1 -1
- package/hooks/useMergeValue.js +2 -2
- package/index.js +530 -476
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/package.json +1 -1
- package/style/variable.less +820 -0
- package/style.css +1 -1
- package/types/badge/index.d.ts +2 -2
- package/types/button/index.d.ts +3 -1
- package/types/calendar/hook/useCellClassName.d.ts +2 -1
- package/types/checkbox/IconCheck.d.ts +2 -1
- package/types/config-provider/interface.d.ts +1 -1
- package/types/date-picker/hook/useCellClassName.d.ts +2 -1
- package/types/date-picker/panel/Footer.d.ts +2 -1
- package/types/dropdown/index.d.ts +1 -0
- package/types/form/IconSymbol.d.ts +2 -1
- package/types/form/useForm.d.ts +2 -1
- package/types/icon/addFromIconFontCn.d.ts +2 -1
- package/types/icon/index.d.ts +2 -0
- package/types/image/Image.d.ts +1 -0
- package/types/image/index.d.ts +2 -1
- package/types/image/util/getFixTranslate.d.ts +2 -1
- package/types/image/util/hook/useImageStatus.d.ts +2 -2
- package/types/image/util/hook/useShowFooter.d.ts +2 -2
- package/types/index.d.ts +26 -26
- package/types/input/Input.d.ts +1 -0
- package/types/input/index.d.ts +1 -0
- package/types/input/useComposition.d.ts +2 -1
- package/types/input-number/useSelectionRange.d.ts +2 -1
- package/types/layout/index.d.ts +1 -0
- package/types/list/index.d.ts +1 -0
- package/types/menu/Indent.d.ts +2 -1
- package/types/menu/Menu.d.ts +1 -0
- package/types/menu/index.d.ts +1 -0
- package/types/message/index.d.ts +2 -0
- package/types/notification/index.d.ts +2 -0
- package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
- package/types/overflow-ellipsis/index.d.ts +2 -2
- package/types/radio/Radio.d.ts +2 -0
- package/types/radio/index.d.ts +2 -1
- package/types/resize-box/ResizeTrigger.d.ts +2 -1
- package/types/resize-box/index.d.ts +1 -0
- package/types/result/403.d.ts +2 -1
- package/types/result/404.d.ts +2 -1
- package/types/result/500.d.ts +2 -1
- package/types/select/Select.d.ts +1 -1
- package/types/select/index.d.ts +1 -0
- package/types/select/interface.d.ts +1 -1
- package/types/skeleton/Image.d.ts +2 -1
- package/types/skeleton/Text.d.ts +2 -1
- package/types/slider/hook/useLegalValue.d.ts +2 -1
- package/types/space/index.d.ts +2 -0
- package/types/space/toArray.d.ts +2 -1
- package/types/speech-synthesis/index.d.ts +2 -1
- package/types/spin/DotLoading.d.ts +2 -1
- package/types/statistic/index.d.ts +1 -0
- package/types/steps/index.d.ts +1 -0
- package/types/table/hook/useComponent.d.ts +2 -1
- package/types/table/hook/useExpand.d.ts +2 -1
- package/types/table/hook/useRowSelection.d.ts +2 -1
- package/types/table/hook/useSorter.d.ts +2 -1
- package/types/table/index.d.ts +2 -1
- package/types/table/summary/index.d.ts +3 -0
- package/types/tabs/Tab.d.ts +1 -0
- package/types/tabs/TabContent.d.ts +2 -2
- package/types/tabs/hook/useDomSize.d.ts +2 -1
- package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
- package/types/tabs/index.d.ts +1 -0
- package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
- package/types/time-picker/TimeColumn.d.ts +2 -2
- package/types/time-picker/index.d.ts +5 -0
- package/types/timeline/Timeline.d.ts +1 -0
- package/types/timeline/index.d.ts +1 -0
- package/types/tree-select/Select.d.ts +5 -0
- package/types/tree-select/hook/useTreeData.d.ts +2 -1
- package/types/tree-select/index.d.ts +2 -1
- package/types/typography/Operations.d.ts +2 -1
- package/types/typography/index.d.ts +1 -0
- package/types/upload/Upload.d.ts +2 -1
- package/types/upload/index.d.ts +2 -3
- package/types/utils/fillNBSP.d.ts +2 -1
- package/types/utils/getHighlightText.d.ts +2 -1
- package/types/utils/getHotkeyHandler.d.ts +2 -1
- package/types/utils/getStringLength.d.ts +2 -1
- package/types/utils/include.d.ts +2 -1
- package/types/utils/mergeProps.d.ts +2 -1
- package/types/utils/mergedToString.d.ts +2 -1
- package/types/utils/omit.d.ts +2 -1
- package/types/utils/pick.d.ts +2 -1
- package/types/utils/throttleByRaf.d.ts +2 -1
- package/types/utils/throttleByRafV2.d.ts +2 -1
- package/types/utils/warning.d.ts +2 -1
- package/types/version/index.d.ts +2 -0
- package/utils/className.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/index.js +41 -41
- package/utils/is.js +37 -37
- package/utils/reactDOM.js +3 -3
- package/utils/scrollIntoView.js +1 -1
- package/chunk/BzPkh4Zv.js +0 -11
- package/chunk/Co3idurS.js +0 -774
package/ResizeBox.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { jsx as m, jsxs as ft } from "react/jsx-runtime";
|
|
2
2
|
import vt from "lodash/isNumber";
|
|
3
|
-
import Wt, { useContext as ut, useRef as F, useEffect as lt, forwardRef as Ct, useState as
|
|
4
|
-
import { d as mt } from "./chunk/
|
|
5
|
-
import { useMergeProps as
|
|
3
|
+
import Wt, { useContext as ut, useRef as F, useEffect as lt, forwardRef as Ct, useState as st, useImperativeHandle as zt } from "react";
|
|
4
|
+
import { d as mt } from "./chunk/DlLL5JQo.js";
|
|
5
|
+
import { useMergeProps as Yt } from "./hooks/useMergeProps.js";
|
|
6
6
|
import { useMergeValue as Tt } from "./hooks/useMergeValue.js";
|
|
7
|
-
import { y as P } from "./chunk/
|
|
7
|
+
import { y as P } from "./chunk/BAWsPQBM.js";
|
|
8
8
|
import { on as y, off as $ } from "./utils/dom.js";
|
|
9
9
|
import Mt from "./utils/omit.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
10
|
+
import Ft from "@unicom-cloud/icons/IconUiCaretDown";
|
|
11
|
+
import bt from "@unicom-cloud/icons/IconUiCaretLeft";
|
|
12
|
+
import It from "@unicom-cloud/icons/IconUiCaretRight";
|
|
13
|
+
import kt from "@unicom-cloud/icons/IconUiCaretUp";
|
|
14
|
+
import Ut from "@unicom-cloud/icons/IconUiDragDot";
|
|
15
|
+
import Vt from "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
16
16
|
import wt from "lodash/isFunction";
|
|
17
17
|
import "./utils/is.js";
|
|
18
|
-
import
|
|
19
|
-
import { useIsomorphicLayoutEffect as
|
|
20
|
-
import
|
|
21
|
-
import
|
|
18
|
+
import St from "lodash/isPlainObject.js";
|
|
19
|
+
import { useIsomorphicLayoutEffect as _t } from "./hooks/useIsomorphicLayoutEffect.js";
|
|
20
|
+
import it from "lodash/isPlainObject";
|
|
21
|
+
import Lt from "lodash/isString";
|
|
22
|
+
import Pt from "lodash/isUndefined";
|
|
22
23
|
function Nt(r) {
|
|
23
24
|
const {
|
|
24
25
|
className: ot,
|
|
@@ -29,7 +30,7 @@ function Nt(r) {
|
|
|
29
30
|
children: K,
|
|
30
31
|
collapsible: z = {},
|
|
31
32
|
resizable: X = !0,
|
|
32
|
-
renderChildren:
|
|
33
|
+
renderChildren: b,
|
|
33
34
|
...Q
|
|
34
35
|
} = r, { getPrefixCls: rt, rtl: M } = ut(mt), d = rt("resizebox-trigger"), D = g === "horizontal", N = M && !D, T = P(
|
|
35
36
|
d,
|
|
@@ -37,36 +38,36 @@ function Nt(r) {
|
|
|
37
38
|
{ [`${d}-not-resizable`]: !X },
|
|
38
39
|
{ [`${d}-rtl`]: M },
|
|
39
40
|
ot
|
|
40
|
-
), l = F(), k = N ? [/* @__PURE__ */ m(
|
|
41
|
+
), l = F(), k = N ? [/* @__PURE__ */ m(It, {}, "prev"), /* @__PURE__ */ m(bt, {}, "next")] : [/* @__PURE__ */ m(bt, {}, "prev"), /* @__PURE__ */ m(It, {}, "next")], I = St(z.prev) ? {
|
|
41
42
|
...z.prev,
|
|
42
|
-
icon: z.prev.icon || (D ? /* @__PURE__ */ m(
|
|
43
|
-
} : {}, E =
|
|
43
|
+
icon: z.prev.icon || (D ? /* @__PURE__ */ m(kt, {}) : k[0])
|
|
44
|
+
} : {}, E = St(z.next) ? {
|
|
44
45
|
...z.next,
|
|
45
|
-
icon: z.next.icon || (D ? /* @__PURE__ */ m(
|
|
46
|
-
} : {}, U = () =>
|
|
46
|
+
icon: z.next.icon || (D ? /* @__PURE__ */ m(Ft, {}) : k[1])
|
|
47
|
+
} : {}, U = () => I.icon && !I.collapsed || E.collapsed ? /* @__PURE__ */ m(
|
|
47
48
|
"span",
|
|
48
49
|
{
|
|
49
50
|
className: P(`${d}-icon`, P(`${d}-prev`)),
|
|
50
|
-
onClick:
|
|
51
|
-
children:
|
|
51
|
+
onClick: I.onClick,
|
|
52
|
+
children: I.icon
|
|
52
53
|
}
|
|
53
|
-
) : /* @__PURE__ */ m("span", { className: P(`${d}-icon-empty`) }), tt = () => E.icon && !E.collapsed ||
|
|
54
|
+
) : /* @__PURE__ */ m("span", { className: P(`${d}-icon-empty`) }), tt = () => E.icon && !E.collapsed || I.collapsed ? /* @__PURE__ */ m(
|
|
54
55
|
"span",
|
|
55
56
|
{
|
|
56
57
|
className: P(`${d}-icon`, P(`${d}-next`)),
|
|
57
58
|
onClick: E.onClick,
|
|
58
59
|
children: E.icon
|
|
59
60
|
}
|
|
60
|
-
) : /* @__PURE__ */ m("span", { className: P(`${d}-icon-empty`) }), w = () => X ? /* @__PURE__ */ m("span", { className: `${d}-icon`, children: q || (D ? /* @__PURE__ */ m(
|
|
61
|
+
) : /* @__PURE__ */ m("span", { className: P(`${d}-icon-empty`) }), w = () => X ? /* @__PURE__ */ m("span", { className: `${d}-icon`, children: q || (D ? /* @__PURE__ */ m(Ut, {}) : /* @__PURE__ */ m(Vt, {})) }) : /* @__PURE__ */ m("span", { className: P(`${d}-icon-empty`) }), O = U(), f = w(), h = tt(), V = () => /* @__PURE__ */ ft("div", { className: `${d}-icon-wrapper`, children: [
|
|
61
62
|
O,
|
|
62
63
|
f,
|
|
63
64
|
h
|
|
64
65
|
] });
|
|
65
66
|
return X ? (lt(() => {
|
|
66
|
-
let
|
|
67
|
-
return l.current && (
|
|
67
|
+
let c;
|
|
68
|
+
return l.current && (c = new ResizeObserver(x), c.observe(l.current)), () => {
|
|
68
69
|
var H, _;
|
|
69
|
-
l.current && ((H =
|
|
70
|
+
l.current && ((H = c == null ? void 0 : c.unobserve) == null || H.call(c, l.current)), (_ = c == null ? void 0 : c.disconnect) == null || _.call(c), c = null;
|
|
70
71
|
};
|
|
71
72
|
}, [l.current]), /* @__PURE__ */ m(
|
|
72
73
|
"div",
|
|
@@ -75,12 +76,12 @@ function Nt(r) {
|
|
|
75
76
|
...Mt(Q, ["style"]),
|
|
76
77
|
className: T,
|
|
77
78
|
onMouseDown: J,
|
|
78
|
-
children: wt(
|
|
79
|
+
children: wt(b) ? b(O, f, h) : K || V()
|
|
79
80
|
}
|
|
80
|
-
)) : /* @__PURE__ */ m("div", { className: T, children: wt(
|
|
81
|
+
)) : /* @__PURE__ */ m("div", { className: T, children: wt(b) ? b(O, f, h) : K || V() });
|
|
81
82
|
}
|
|
82
|
-
const dt = "horizontal",
|
|
83
|
-
function
|
|
83
|
+
const dt = "horizontal", Dt = "vertical";
|
|
84
|
+
function Gt(r, ot) {
|
|
84
85
|
const {
|
|
85
86
|
style: g,
|
|
86
87
|
className: q,
|
|
@@ -89,16 +90,16 @@ function Lt(r, ot) {
|
|
|
89
90
|
icon: K,
|
|
90
91
|
size: z = 0.5,
|
|
91
92
|
min: X,
|
|
92
|
-
max:
|
|
93
|
+
max: b,
|
|
93
94
|
panes: Q,
|
|
94
95
|
disabled: rt,
|
|
95
96
|
trigger: M
|
|
96
|
-
} = r, { getPrefixCls: d, rtl: D } = ut(mt), N = d("resizebox-split"), T = x.includes(dt), l = x.includes("reverse"), k = T && D,
|
|
97
|
+
} = r, { getPrefixCls: d, rtl: D } = ut(mt), N = d("resizebox-split"), T = x.includes(dt), l = x.includes("reverse"), k = T && D, I = !T, E = P(
|
|
97
98
|
N,
|
|
98
|
-
`${N}-${T ? dt :
|
|
99
|
+
`${N}-${T ? dt : Dt}`,
|
|
99
100
|
{ [`${N}-rtl`]: D },
|
|
100
101
|
q
|
|
101
|
-
), [U, tt] = Q, w = typeof z == "string", [O, f] =
|
|
102
|
+
), [U, tt] = Q, w = typeof z == "string", [O, f] = st(parseFloat(z)), [h, V] = st(0), c = F({
|
|
102
103
|
startX: 0,
|
|
103
104
|
startY: 0,
|
|
104
105
|
startWidth: 0,
|
|
@@ -110,33 +111,33 @@ function Lt(r, ot) {
|
|
|
110
111
|
function L(t, e) {
|
|
111
112
|
return parseFloat(t) / parseFloat(e);
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
-
const s = typeof X == "string" ? L(parseFloat(X), t) : X || 0, a = typeof
|
|
114
|
+
function B(t, e, n, o) {
|
|
115
|
+
const s = typeof X == "string" ? L(parseFloat(X), t) : X || 0, a = typeof b == "string" ? L(parseFloat(b), t) : b || 1;
|
|
115
116
|
let u = l ? -1 : 1;
|
|
116
117
|
u *= k ? -1 : 1;
|
|
117
118
|
let A = w ? e + (o - n) * u : L(
|
|
118
119
|
t * e + (o - n) * u,
|
|
119
120
|
t
|
|
120
121
|
);
|
|
121
|
-
const nt = w ? s * t : s,
|
|
122
|
-
return A = Math.max(A, nt), A = Math.min(A,
|
|
122
|
+
const nt = w ? s * t : s, W = w ? a * t : a;
|
|
123
|
+
return A = Math.max(A, nt), A = Math.min(A, W), A;
|
|
123
124
|
}
|
|
124
125
|
function G(t) {
|
|
125
126
|
var e, n, o;
|
|
126
|
-
(e = r.onMovingStart) == null || e.call(r),
|
|
127
|
+
(e = r.onMovingStart) == null || e.call(r), c.current.moving = !0, c.current.startX = t.pageX, c.current.startY = t.pageY, c.current.startWidth = (n = H.current) == null ? void 0 : n.offsetWidth, c.current.startHeight = (o = H.current) == null ? void 0 : o.offsetHeight, c.current.startOffset = O, y(window, "mousemove", j), y(window, "touchmove", j), y(window, "mouseup", Z), y(window, "touchend", Z), y(window, "contextmenu", Z), document.body.style.cursor = I ? "row-resize" : "col-resize";
|
|
127
128
|
}
|
|
128
129
|
function j(t) {
|
|
129
130
|
var e;
|
|
130
|
-
if (
|
|
131
|
-
const n = T ?
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
131
|
+
if (c.current.moving) {
|
|
132
|
+
const n = T ? B(
|
|
133
|
+
c.current.startWidth,
|
|
134
|
+
c.current.startOffset,
|
|
135
|
+
c.current.startX,
|
|
135
136
|
t.pageX
|
|
136
|
-
) :
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
) : B(
|
|
138
|
+
c.current.startHeight,
|
|
139
|
+
c.current.startOffset,
|
|
140
|
+
c.current.startY,
|
|
140
141
|
t.pageY
|
|
141
142
|
);
|
|
142
143
|
f(n), (e = r.onMoving) == null || e.call(r, t, w ? `${n}px` : n);
|
|
@@ -144,20 +145,20 @@ function Lt(r, ot) {
|
|
|
144
145
|
}
|
|
145
146
|
function Z() {
|
|
146
147
|
var t;
|
|
147
|
-
|
|
148
|
+
c.current.moving = !1, $(window, "mousemove", j), $(window, "touchmove", j), $(window, "mouseup", Z), $(window, "touchend", Z), $(window, "contextmenu", Z), document.body.style.cursor = "default", (t = r.onMovingEnd) == null || t.call(r);
|
|
148
149
|
}
|
|
149
|
-
function
|
|
150
|
-
const { contentRect: e } = t[0], n = e[
|
|
150
|
+
function ct(t) {
|
|
151
|
+
const { contentRect: e } = t[0], n = e[I ? "height" : "width"];
|
|
151
152
|
V(n);
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function i() {
|
|
154
155
|
const t = w ? "px" : "%";
|
|
155
156
|
return O ? `calc(${w ? O : O * 100}${t} - ${h / 2}px)` : `0${t}`;
|
|
156
157
|
}
|
|
157
158
|
lt(() => {
|
|
158
159
|
var t;
|
|
159
160
|
(t = r.onPaneResize) == null || t.call(r, _.current);
|
|
160
|
-
}, [O, h]),
|
|
161
|
+
}, [O, h]), _t(() => {
|
|
161
162
|
const t = parseFloat(z);
|
|
162
163
|
O !== t && f(t);
|
|
163
164
|
}, [z]);
|
|
@@ -165,7 +166,7 @@ function Lt(r, ot) {
|
|
|
165
166
|
"div",
|
|
166
167
|
{
|
|
167
168
|
className: P(`${N}-pane`, "first-pane"),
|
|
168
|
-
style: { flexBasis:
|
|
169
|
+
style: { flexBasis: i() },
|
|
169
170
|
ref: (t) => {
|
|
170
171
|
_.current[0] = t;
|
|
171
172
|
},
|
|
@@ -187,20 +188,20 @@ function Lt(r, ot) {
|
|
|
187
188
|
Nt,
|
|
188
189
|
{
|
|
189
190
|
className: `${N}-trigger`,
|
|
190
|
-
direction:
|
|
191
|
+
direction: I ? dt : Dt,
|
|
191
192
|
icon: K,
|
|
192
193
|
onMouseDown: G,
|
|
193
|
-
onResize:
|
|
194
|
+
onResize: ct,
|
|
194
195
|
children: M
|
|
195
196
|
}
|
|
196
197
|
),
|
|
197
198
|
S[1]
|
|
198
199
|
] });
|
|
199
200
|
}
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
const ht = "horizontal",
|
|
203
|
-
function
|
|
201
|
+
const Ht = Ct(Gt);
|
|
202
|
+
Ht.displayName = "ResizeBoxSplit";
|
|
203
|
+
const ht = "horizontal", Et = "vertical";
|
|
204
|
+
function jt(r, ot) {
|
|
204
205
|
const {
|
|
205
206
|
panes: g,
|
|
206
207
|
style: q,
|
|
@@ -209,33 +210,33 @@ function Gt(r, ot) {
|
|
|
209
210
|
direction: K = "horizontal",
|
|
210
211
|
icon: z,
|
|
211
212
|
...X
|
|
212
|
-
} = r, { getPrefixCls:
|
|
213
|
+
} = r, { getPrefixCls: b, rtl: Q } = ut(mt), rt = 1 / g.length, M = F(), d = F(
|
|
213
214
|
new Array(g.length).fill({
|
|
214
215
|
moving: !1,
|
|
215
216
|
startOffset: 0,
|
|
216
217
|
startPosition: 0
|
|
217
218
|
})
|
|
218
|
-
), D = F([]), N = F(0), T = F([]), [l, k] =
|
|
219
|
+
), D = F([]), N = F(0), T = F([]), [l, k] = st(
|
|
219
220
|
new Array(g.length).fill(rt)
|
|
220
|
-
), [
|
|
221
|
+
), [I, E] = st(!1), [U, tt] = st(
|
|
221
222
|
new Array(g.length).fill(0)
|
|
222
|
-
), [w, O] =
|
|
223
|
+
), [w, O] = st(
|
|
223
224
|
new Array(Math.max(g.length - 1, 0)).fill({ prev: !1, next: !1 })
|
|
224
|
-
), f =
|
|
225
|
+
), f = b("resizebox-split-group"), h = K === ht, V = h && Q, c = !h, H = P(
|
|
225
226
|
f,
|
|
226
|
-
`${f}-${h ? ht :
|
|
227
|
-
{ [`${f}-moving`]:
|
|
227
|
+
`${f}-${h ? ht : Et}`,
|
|
228
|
+
{ [`${f}-moving`]: I },
|
|
228
229
|
{ [`${f}-rtl`]: Q },
|
|
229
230
|
J
|
|
230
231
|
), _ = x, L = () => {
|
|
231
232
|
let t = [];
|
|
232
233
|
g.forEach((s) => {
|
|
233
234
|
const { size: a } = s;
|
|
234
|
-
|
|
235
|
+
Pt(a) ? t.push(void 0) : t.push(G(a));
|
|
235
236
|
});
|
|
236
237
|
const e = t.filter((s) => !s), o = (1 - t.reduce((s, a) => (s || 0) + (a || 0), 0)) / e.length;
|
|
237
|
-
return t = t.map((s) =>
|
|
238
|
-
},
|
|
238
|
+
return t = t.map((s) => Pt(s) ? o : s), t;
|
|
239
|
+
}, B = (t) => {
|
|
239
240
|
const e = U[t - 1] || 0, n = U[t];
|
|
240
241
|
return `calc(${l[t] * 100}% - ${(e + n) / 2}px)`;
|
|
241
242
|
};
|
|
@@ -243,7 +244,7 @@ function Gt(r, ot) {
|
|
|
243
244
|
const e = h ? M.current.offsetWidth : M.current.offsetHeight;
|
|
244
245
|
if (!t || vt(t) && t < 0)
|
|
245
246
|
return 0;
|
|
246
|
-
const n =
|
|
247
|
+
const n = Lt(t) ? parseFloat(t) / e : t;
|
|
247
248
|
return Math.min(n, 1);
|
|
248
249
|
}
|
|
249
250
|
const j = (t) => {
|
|
@@ -258,17 +259,17 @@ function Gt(r, ot) {
|
|
|
258
259
|
nextMax: u
|
|
259
260
|
};
|
|
260
261
|
}, Z = (t, e, n) => {
|
|
261
|
-
const o = N.current, s = o + 1, a = [...l], u = V ? -1 : 1, et = l[o], A = l[s], nt = et + A, { currentMin:
|
|
262
|
+
const o = N.current, s = o + 1, a = [...l], u = V ? -1 : 1, et = l[o], A = l[s], nt = et + A, { currentMin: W, currentMax: C } = j(o);
|
|
262
263
|
let Y = t + G(`${(n - e) * u}px`);
|
|
263
|
-
return Y = Math.max(
|
|
264
|
+
return Y = Math.max(W, Y), Y = Math.min(C, Y), a[o] = Y, a[s] = nt - Y, a;
|
|
264
265
|
};
|
|
265
|
-
function
|
|
266
|
-
const { contentRect: n } = t[0], o = n[
|
|
266
|
+
function ct(t, e) {
|
|
267
|
+
const { contentRect: n } = t[0], o = n[c ? "height" : "width"], s = [...U];
|
|
267
268
|
s[e] = o, tt(s);
|
|
268
269
|
}
|
|
269
|
-
const
|
|
270
|
+
const i = (t) => {
|
|
270
271
|
let e = g[t].collapsible;
|
|
271
|
-
|
|
272
|
+
it(e) || (e = e ? { prev: !0, next: !0 } : {});
|
|
272
273
|
const { prev: n, next: o } = e;
|
|
273
274
|
if (!n && !o)
|
|
274
275
|
return {};
|
|
@@ -281,7 +282,7 @@ function Gt(r, ot) {
|
|
|
281
282
|
var o;
|
|
282
283
|
(o = r.onMovingStart) == null || o.call(r, e), N.current = e;
|
|
283
284
|
const n = d.current[e];
|
|
284
|
-
n.moving = !0, n.startOffset = l[e], n.startPosition = h ? t.pageX : t.pageY, E(!0), y(window, "mousemove", p), y(window, "touchmove", p), y(window, "mouseup", R), y(window, "touchend", R), y(window, "contextmenu", R), document.body.style.cursor =
|
|
285
|
+
n.moving = !0, n.startOffset = l[e], n.startPosition = h ? t.pageX : t.pageY, E(!0), y(window, "mousemove", p), y(window, "touchmove", p), y(window, "mouseup", R), y(window, "touchend", R), y(window, "contextmenu", R), document.body.style.cursor = c ? "row-resize" : "col-resize";
|
|
285
286
|
}
|
|
286
287
|
function p(t) {
|
|
287
288
|
var s;
|
|
@@ -307,12 +308,12 @@ function Gt(r, ot) {
|
|
|
307
308
|
}
|
|
308
309
|
function S(t, e, n, o) {
|
|
309
310
|
var yt, $t;
|
|
310
|
-
const s = e + 1, a = [...l], u = l[e], et = l[s], A = u + et, nt = h ? M.current.offsetWidth : M.current.offsetHeight, { currentMin:
|
|
311
|
+
const s = e + 1, a = [...l], u = l[e], et = l[s], A = u + et, nt = h ? M.current.offsetWidth : M.current.offsetHeight, { currentMin: W, nextMin: C } = j(e);
|
|
311
312
|
let Y = T.current[e], at = T.current[s], gt = w[e][n];
|
|
312
|
-
n === "prev" ? (et !== C || at === C) && (Y =
|
|
313
|
+
n === "prev" ? (et !== C || at === C) && (Y = W, at = A - W, gt = !0) : (u !== W || Y === W) && (Y = A - C, at = C, gt = !0), a[e] = Y, a[s] = at, (yt = r == null ? void 0 : r.onMoving) == null || yt.call(
|
|
313
314
|
r,
|
|
314
315
|
t,
|
|
315
|
-
a.map((
|
|
316
|
+
a.map((Bt) => `${Bt * nt}px`),
|
|
316
317
|
e
|
|
317
318
|
), ($t = r.onMovingEnd) == null || $t.call(r, e), k(a), wt(o) && o(t, e, n, gt);
|
|
318
319
|
}
|
|
@@ -344,13 +345,13 @@ function Gt(r, ot) {
|
|
|
344
345
|
trigger: s,
|
|
345
346
|
resizable: a = !0,
|
|
346
347
|
collapsible: u = {}
|
|
347
|
-
} = t, { hasPrev: et, hasNext: A } =
|
|
348
|
+
} = t, { hasPrev: et, hasNext: A } = i(e), nt = it(u) && it(u.prev) ? u.prev : {}, W = it(u) && it(u.next) ? u.next : {};
|
|
348
349
|
return /* @__PURE__ */ ft(Wt.Fragment, { children: [
|
|
349
350
|
/* @__PURE__ */ m(
|
|
350
351
|
"div",
|
|
351
352
|
{
|
|
352
353
|
className: `${f}-pane`,
|
|
353
|
-
style: { flexBasis:
|
|
354
|
+
style: { flexBasis: B(e) },
|
|
354
355
|
ref: (C) => D.current[e] = C,
|
|
355
356
|
children: n
|
|
356
357
|
}
|
|
@@ -359,9 +360,9 @@ function Gt(r, ot) {
|
|
|
359
360
|
Nt,
|
|
360
361
|
{
|
|
361
362
|
className: `${f}-trigger`,
|
|
362
|
-
direction:
|
|
363
|
+
direction: c ? ht : Et,
|
|
363
364
|
icon: z,
|
|
364
|
-
onResize: (C) =>
|
|
365
|
+
onResize: (C) => ct(C, e),
|
|
365
366
|
onMouseDown: (C) => v(C, e),
|
|
366
367
|
collapsible: {
|
|
367
368
|
prev: et ? {
|
|
@@ -370,8 +371,8 @@ function Gt(r, ot) {
|
|
|
370
371
|
collapsed: w[e].prev
|
|
371
372
|
} : void 0,
|
|
372
373
|
next: A ? {
|
|
373
|
-
onClick: (C) => S(C, e, "next",
|
|
374
|
-
icon:
|
|
374
|
+
onClick: (C) => S(C, e, "next", W.onClick),
|
|
375
|
+
icon: W.icon,
|
|
375
376
|
collapsed: w[e].next
|
|
376
377
|
} : void 0
|
|
377
378
|
},
|
|
@@ -384,19 +385,19 @@ function Gt(r, ot) {
|
|
|
384
385
|
}
|
|
385
386
|
);
|
|
386
387
|
}
|
|
387
|
-
const
|
|
388
|
-
|
|
389
|
-
const
|
|
390
|
-
|
|
388
|
+
const At = Ct(jt);
|
|
389
|
+
At.displayName = "ResizeBoxSplitGroup";
|
|
390
|
+
const Xt = "left", pt = "right", xt = "top", Rt = "bottom", Zt = [
|
|
391
|
+
Xt,
|
|
391
392
|
pt,
|
|
392
393
|
xt,
|
|
393
394
|
Rt
|
|
394
|
-
],
|
|
395
|
+
], qt = {
|
|
395
396
|
component: "div",
|
|
396
397
|
directions: ["right"],
|
|
397
398
|
resizeIcons: {},
|
|
398
399
|
resizeTriggers: {}
|
|
399
|
-
},
|
|
400
|
+
}, Jt = (r) => {
|
|
400
401
|
switch (r) {
|
|
401
402
|
case "left":
|
|
402
403
|
return "right";
|
|
@@ -406,23 +407,23 @@ const At = "left", pt = "right", xt = "top", Rt = "bottom", jt = [
|
|
|
406
407
|
return r;
|
|
407
408
|
}
|
|
408
409
|
};
|
|
409
|
-
function
|
|
410
|
-
const { getPrefixCls: g, componentConfig: q, rtl: J } = ut(mt), x =
|
|
410
|
+
function Kt(r, ot) {
|
|
411
|
+
const { getPrefixCls: g, componentConfig: q, rtl: J } = ut(mt), x = Yt(
|
|
411
412
|
r,
|
|
412
|
-
|
|
413
|
+
qt,
|
|
413
414
|
q == null ? void 0 : q.ResizeBox
|
|
414
415
|
), {
|
|
415
416
|
style: K,
|
|
416
417
|
className: z,
|
|
417
418
|
component: X,
|
|
418
|
-
directions:
|
|
419
|
+
directions: b,
|
|
419
420
|
resizeIcons: Q,
|
|
420
421
|
children: rt,
|
|
421
422
|
resizeTriggers: M,
|
|
422
423
|
width: d,
|
|
423
424
|
height: D,
|
|
424
425
|
...N
|
|
425
|
-
} = x, T = J ?
|
|
426
|
+
} = x, T = J ? b.map((i) => Jt(i)) : b, l = g("resizebox"), k = P(l, { [`${l}-rtl`]: J }, z), [I, E] = st({}), [U, tt] = Tt(void 0, { value: d }), [w, O] = Tt(void 0, { value: D }), f = F({
|
|
426
427
|
startX: 0,
|
|
427
428
|
startY: 0,
|
|
428
429
|
startWidth: 0,
|
|
@@ -437,45 +438,45 @@ function Jt(r, ot) {
|
|
|
437
438
|
}
|
|
438
439
|
}), h = F();
|
|
439
440
|
zt(ot, () => h.current, []);
|
|
440
|
-
function V(
|
|
441
|
-
return [xt, Rt].indexOf(
|
|
441
|
+
function V(i) {
|
|
442
|
+
return [xt, Rt].indexOf(i) > -1;
|
|
442
443
|
}
|
|
443
|
-
function i
|
|
444
|
-
if (
|
|
445
|
-
const p =
|
|
444
|
+
function c(i, v) {
|
|
445
|
+
if (i === 0) return 0;
|
|
446
|
+
const p = i - v;
|
|
446
447
|
return p <= 0 ? 0 : p;
|
|
447
448
|
}
|
|
448
|
-
function H(
|
|
449
|
+
function H(i) {
|
|
449
450
|
const v = "data-pqb-origin-cursor";
|
|
450
|
-
if (
|
|
451
|
-
document.body.setAttribute(v, document.body.style.cursor), document.body.style.cursor =
|
|
451
|
+
if (i)
|
|
452
|
+
document.body.setAttribute(v, document.body.style.cursor), document.body.style.cursor = i;
|
|
452
453
|
else {
|
|
453
454
|
const p = document.body.getAttribute(v);
|
|
454
455
|
document.body.style.cursor = p || "", document.body.removeAttribute(v);
|
|
455
456
|
}
|
|
456
457
|
}
|
|
457
|
-
function _(
|
|
458
|
+
function _(i, v) {
|
|
458
459
|
var e, n, o;
|
|
459
|
-
(e = x.onMovingStart) == null || e.call(x), f.current.moving = !0, f.current.startX = v.pageX, f.current.startY = v.pageY, f.current.direction =
|
|
460
|
+
(e = x.onMovingStart) == null || e.call(x), f.current.moving = !0, f.current.startX = v.pageX, f.current.startY = v.pageY, f.current.direction = i;
|
|
460
461
|
const { top: p, left: R, right: S, bottom: t } = f.current.padding;
|
|
461
|
-
f.current.startWidth =
|
|
462
|
+
f.current.startWidth = c(
|
|
462
463
|
(n = h.current) == null ? void 0 : n.clientWidth,
|
|
463
464
|
R + S
|
|
464
|
-
), f.current.startHeight =
|
|
465
|
+
), f.current.startHeight = c(
|
|
465
466
|
(o = h.current) == null ? void 0 : o.clientHeight,
|
|
466
467
|
p + t
|
|
467
|
-
), y(window, "mousemove", L), y(window, "touchmove", L), y(window, "mouseup",
|
|
468
|
-
V(
|
|
468
|
+
), y(window, "mousemove", L), y(window, "touchmove", L), y(window, "mouseup", B), y(window, "touchend", B), y(window, "contextmenu", B), H(
|
|
469
|
+
V(i) ? "row-resize" : "col-resize"
|
|
469
470
|
);
|
|
470
471
|
}
|
|
471
|
-
function L(
|
|
472
|
+
function L(i) {
|
|
472
473
|
var s;
|
|
473
474
|
if (!f.current.moving) return !1;
|
|
474
475
|
const { startX: v, startY: p, startWidth: R, startHeight: S } = f.current;
|
|
475
476
|
let t = R, e = S;
|
|
476
|
-
const n =
|
|
477
|
+
const n = i.pageX - v, o = i.pageY - p;
|
|
477
478
|
switch (f.current.direction) {
|
|
478
|
-
case
|
|
479
|
+
case Xt:
|
|
479
480
|
t = R - n, tt(t);
|
|
480
481
|
break;
|
|
481
482
|
case pt:
|
|
@@ -488,27 +489,27 @@ function Jt(r, ot) {
|
|
|
488
489
|
e = S + o, O(e);
|
|
489
490
|
break;
|
|
490
491
|
}
|
|
491
|
-
(s = x.onMoving) == null || s.call(x,
|
|
492
|
+
(s = x.onMoving) == null || s.call(x, i, {
|
|
492
493
|
width: t,
|
|
493
494
|
height: e
|
|
494
495
|
});
|
|
495
496
|
}
|
|
496
|
-
function
|
|
497
|
-
var
|
|
498
|
-
f.current.moving = !1, G(), H(), (
|
|
497
|
+
function B() {
|
|
498
|
+
var i;
|
|
499
|
+
f.current.moving = !1, G(), H(), (i = x.onMovingEnd) == null || i.call(x);
|
|
499
500
|
}
|
|
500
501
|
function G() {
|
|
501
|
-
$(window, "mousemove", L), $(window, "touchmove", L), $(window, "mouseup",
|
|
502
|
+
$(window, "mousemove", L), $(window, "touchmove", L), $(window, "mouseup", B), $(window, "touchend", B), $(window, "contextmenu", B);
|
|
502
503
|
}
|
|
503
|
-
function j(
|
|
504
|
-
const p = V(
|
|
505
|
-
f.current.padding[
|
|
504
|
+
function j(i, v) {
|
|
505
|
+
const p = V(i), { contentRect: R } = v[0], S = `${i.slice(0, 1).toUpperCase()}${i.slice(1)}`, t = R[p ? "height" : "width"];
|
|
506
|
+
f.current.padding[i] = t, E((e) => ({
|
|
506
507
|
...e,
|
|
507
508
|
[`padding${S}`]: t
|
|
508
509
|
}));
|
|
509
510
|
}
|
|
510
511
|
const Z = {
|
|
511
|
-
...
|
|
512
|
+
...I,
|
|
512
513
|
...K || {},
|
|
513
514
|
...vt(U) ? { width: U } : {},
|
|
514
515
|
...vt(w) ? { height: w } : {}
|
|
@@ -522,33 +523,35 @@ function Jt(r, ot) {
|
|
|
522
523
|
ref: h,
|
|
523
524
|
children: [
|
|
524
525
|
rt,
|
|
525
|
-
T.map((
|
|
526
|
-
if (
|
|
526
|
+
T.map((i) => {
|
|
527
|
+
if (Zt.indexOf(i) !== -1)
|
|
527
528
|
return /* @__PURE__ */ m(
|
|
528
529
|
Nt,
|
|
529
530
|
{
|
|
530
|
-
className: `${l}-direction-${
|
|
531
|
-
direction: V(
|
|
532
|
-
icon: Q[
|
|
531
|
+
className: `${l}-direction-${i}`,
|
|
532
|
+
direction: V(i) ? "horizontal" : "vertical",
|
|
533
|
+
icon: Q[i],
|
|
533
534
|
onMouseDown: (v) => {
|
|
534
|
-
_(
|
|
535
|
+
_(i, v);
|
|
535
536
|
},
|
|
536
537
|
onResize: (v) => {
|
|
537
|
-
j(
|
|
538
|
+
j(i, v);
|
|
538
539
|
},
|
|
539
|
-
children: M[
|
|
540
|
+
children: M[i]
|
|
540
541
|
},
|
|
541
|
-
|
|
542
|
+
i
|
|
542
543
|
);
|
|
543
544
|
})
|
|
544
545
|
]
|
|
545
546
|
}
|
|
546
547
|
);
|
|
547
548
|
}
|
|
548
|
-
const
|
|
549
|
-
Ot.Split =
|
|
550
|
-
Ot.SplitGroup =
|
|
549
|
+
const Qt = Ct(Kt), Ot = Qt;
|
|
550
|
+
Ot.Split = Ht;
|
|
551
|
+
Ot.SplitGroup = At;
|
|
551
552
|
Ot.displayName = "ResizeBox";
|
|
552
553
|
export {
|
|
554
|
+
Ht as ResizeBoxSplit,
|
|
555
|
+
At as ResizeBoxSplitGroup,
|
|
553
556
|
Ot as default
|
|
554
557
|
};
|
package/Result.js
CHANGED
|
@@ -4,9 +4,9 @@ import p from "@unicom-cloud/icons/IconUiClose";
|
|
|
4
4
|
import u from "@unicom-cloud/icons/IconUiExclamation";
|
|
5
5
|
import M from "@unicom-cloud/icons/IconUiInfo";
|
|
6
6
|
import { forwardRef as Z, useContext as v } from "react";
|
|
7
|
-
import { d as R } from "./chunk/
|
|
7
|
+
import { d as R } from "./chunk/DlLL5JQo.js";
|
|
8
8
|
import { useMergeProps as $ } from "./hooks/useMergeProps.js";
|
|
9
|
-
import { y as m } from "./chunk/
|
|
9
|
+
import { y as m } from "./chunk/BAWsPQBM.js";
|
|
10
10
|
function N() {
|
|
11
11
|
return /* @__PURE__ */ t(
|
|
12
12
|
"svg",
|
package/Select.js
CHANGED
package/SelectView.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as k, Fragment as Xe } from "react/jsx-runtime";
|
|
2
2
|
import Ee, { useRef as ue, useContext as Je, useState as Ie, useEffect as Qe, useImperativeHandle as De, useMemo as Ye, createElement as Ze } from "react";
|
|
3
|
-
import { y as A } from "./chunk/
|
|
3
|
+
import { y as A } from "./chunk/BAWsPQBM.js";
|
|
4
4
|
import "./utils/is.js";
|
|
5
5
|
import { pickDataAttributes as eo } from "./utils/pick.js";
|
|
6
6
|
import oo from "@unicom-cloud/icons/IconUiClose";
|
|
@@ -9,19 +9,19 @@ import ro from "@unicom-cloud/icons/IconUiLoading";
|
|
|
9
9
|
import no from "@unicom-cloud/icons/IconUiSearch";
|
|
10
10
|
import so from "lodash/isFunction";
|
|
11
11
|
import $e from "lodash/isUndefined";
|
|
12
|
-
import { d as ao, I as lo } from "./chunk/
|
|
12
|
+
import { d as ao, I as lo } from "./chunk/DlLL5JQo.js";
|
|
13
13
|
import { useForceUpdate as co } from "./hooks/useForceUpdate.js";
|
|
14
14
|
import { usePersistCallback as io } from "./hooks/usePersistCallback.js";
|
|
15
|
-
import { I as uo } from "./chunk/
|
|
16
|
-
import { I as fo } from "./chunk/
|
|
15
|
+
import { I as uo } from "./chunk/BqufsN8i.js";
|
|
16
|
+
import { I as fo } from "./chunk/Dv_xRzvR.js";
|
|
17
17
|
import po from "./Popover.js";
|
|
18
18
|
import Te from "./Tag.js";
|
|
19
19
|
import ye from "./utils/fillNBSP.js";
|
|
20
20
|
import mo from "./utils/include.js";
|
|
21
21
|
import { E as ho, B as go } from "./chunk/C2lIz2F9.js";
|
|
22
|
-
import "./chunk/
|
|
23
|
-
import T from "lodash/isPlainObject";
|
|
24
|
-
import Se from "lodash/isNumber";
|
|
22
|
+
import "./chunk/CSC_V_25.js";
|
|
23
|
+
import T from "lodash/isPlainObject.js";
|
|
24
|
+
import Se from "lodash/isNumber.js";
|
|
25
25
|
const ie = "__pqb_value_tag_placeholder", $ = {
|
|
26
26
|
BEFORE: 0,
|
|
27
27
|
EDITING: 1,
|
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 { d as j } from "./chunk/
|
|
4
|
+
import { d as j } from "./chunk/DlLL5JQo.js";
|
|
5
5
|
import { useMergeProps as b } from "./hooks/useMergeProps.js";
|
|
6
|
-
import { y as p } from "./chunk/
|
|
6
|
+
import { y as p } from "./chunk/BAWsPQBM.js";
|
|
7
7
|
import { pickDataAttributes as A } from "./utils/pick.js";
|
|
8
8
|
import R from "lodash/isArray";
|
|
9
9
|
function T(s) {
|