react-kui 3.2.0 → 3.3.0
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/ai/kui-components.json +825 -168
- package/es/_virtual/_rolldown/runtime.js +2 -3
- package/es/affix/index.js +73 -185
- package/es/alert/index.js +3 -4
- package/es/anchor/anchor-context.js +2 -3
- package/es/anchor/anchor-link.js +3 -4
- package/es/anchor/anchor.js +195 -398
- package/es/auto-complete/index.js +160 -561
- package/es/avatar/avatar-group-context.js +2 -3
- package/es/avatar/avatar-group.js +32 -124
- package/es/avatar/avatar.js +58 -159
- package/es/back-top/index.js +66 -201
- package/es/badge/index.js +4 -5
- package/es/base/teleport.js +22 -54
- package/es/base/transition-props.js +2 -3
- package/es/base/transition.js +2 -3
- package/es/breadcrumb/breadcrumb-context.js +2 -3
- package/es/breadcrumb/breadcrumb-item.js +19 -102
- package/es/breadcrumb/breadcrumb.js +10 -59
- package/es/button/button-group-context.js +2 -3
- package/es/button/button-group.js +15 -75
- package/es/button/button.js +4 -5
- package/es/calendar/index.js +4 -5
- package/es/card/index.js +4 -5
- package/es/carousel/carousel-context.js +2 -3
- package/es/carousel/carousel-item.js +3 -4
- package/es/carousel/carousel.js +281 -628
- package/es/carousel/drag.js +2 -3
- package/es/cascader/index.js +7 -8
- package/es/check-card/check-card-group.js +53 -179
- package/es/check-card/check-card.js +100 -293
- package/es/check-card/context.js +2 -3
- package/es/checkbox/checkbox-group-context.js +2 -3
- package/es/checkbox/checkbox-group.js +34 -138
- package/es/checkbox/checkbox.js +4 -5
- package/es/checkbox/index.js +2 -3
- package/es/collapse/collapse-panel.js +84 -206
- package/es/collapse/collapse.js +38 -170
- package/es/color-picker/alpha.js +44 -125
- package/es/color-picker/hue.js +39 -108
- package/es/color-picker/index.js +7 -6
- package/es/color-picker/mode.js +76 -159
- package/es/color-picker/paint.js +66 -163
- package/es/color-picker/presets.js +12 -44
- package/es/components.js +37 -32
- package/es/config/config-context.js +2 -3
- package/es/config/context.js +2 -3
- package/es/config/index.js +3 -4
- package/es/config/popup-host.js +3 -4
- package/es/config/size-context.js +2 -3
- package/es/config/use-config-appearance.js +3 -4
- package/es/const/var.js +2 -3
- package/es/date-picker/index.js +8 -9
- package/es/descriptions/descriptions-item.js +3 -4
- package/es/descriptions/descriptions.js +53 -144
- package/es/divider/index.js +2 -3
- package/es/drawer/index.js +171 -465
- package/es/dropdown/dropdown-button.js +25 -128
- package/es/dropdown/dropdown-context.js +2 -3
- package/es/dropdown/dropdown.js +56 -207
- package/es/dropdown/trigger.js +37 -125
- package/es/empty/index.js +34 -111
- package/es/feature-card/index.js +2 -3
- package/es/feedback-panel/index.js +30 -155
- package/es/flame-wrap/index.js +3 -4
- package/es/flame-wrap/types.js +2 -3
- package/es/flex/index.js +2 -3
- package/es/form/field-context.js +3 -4
- package/es/form/form-context.js +2 -3
- package/es/form/form-item.js +4 -5
- package/es/form/form.js +108 -279
- package/es/form/utils.js +2 -3
- package/es/gradient-picker/corners.js +55 -0
- package/es/gradient-picker/index.js +191 -0
- package/es/gradient-picker/stops.js +219 -0
- package/es/gradient-picker/types.js +147 -0
- package/es/grid/grid-item.js +25 -116
- package/es/grid/grid.js +40 -151
- package/es/grid/useBreakpoint.js +3 -4
- package/es/icon/index.js +24 -126
- package/es/image/group.js +3 -4
- package/es/image/image-group-context.js +2 -3
- package/es/image/image.js +5 -6
- package/es/image/instance.js +2 -3
- package/es/image/preview.js +4 -5
- package/es/image/utils.js +2 -3
- package/es/index.js +5 -4
- package/es/input/index.js +2 -3
- package/es/input/input-base.js +4 -5
- package/es/input/input-box.js +2 -3
- package/es/input/input-group.js +4 -5
- package/es/input/input.js +3 -4
- package/es/input/textarea.js +3 -4
- package/es/input-number/drag.js +63 -0
- package/es/input-number/index.js +41 -11
- package/es/input-otp/index.js +3 -4
- package/es/input-tag/index.js +5 -6
- package/es/kanban/index.js +31 -168
- package/es/layout/index.js +43 -215
- package/es/layout/layout-context.js +2 -3
- package/es/list-panel/index.js +47 -185
- package/es/loading/index.js +2 -3
- package/es/loading/loading-bar.js +54 -114
- package/es/locale/de.js +2 -3
- package/es/locale/el.js +2 -3
- package/es/locale/en.js +2 -3
- package/es/locale/fr.js +2 -3
- package/es/locale/it.js +2 -3
- package/es/locale/ja.js +2 -3
- package/es/locale/ko.js +2 -3
- package/es/locale/ru.js +2 -3
- package/es/locale/th.js +2 -3
- package/es/locale/uk.js +2 -3
- package/es/locale/vi.js +2 -3
- package/es/locale/zh-CN.js +2 -3
- package/es/locale/zh-TW.js +2 -3
- package/es/mentions/index.js +214 -581
- package/es/menu/menu-context.js +2 -3
- package/es/menu/menu-divider.js +3 -4
- package/es/menu/menu-group.js +3 -4
- package/es/menu/menu-item.js +2 -3
- package/es/menu/menu-keyboard.js +2 -3
- package/es/menu/menu.js +184 -442
- package/es/menu/recursive-menu.js +3 -4
- package/es/menu/sub-menu.js +5 -6
- package/es/message/index.js +2 -3
- package/es/modal/api.js +2 -3
- package/es/modal/modal.js +263 -599
- package/es/modal/toast.js +63 -179
- package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +2 -3
- package/es/notice/container.js +2 -3
- package/es/notice/content.js +4 -5
- package/es/notice/index.js +2 -3
- package/es/notice/instance.js +2 -3
- package/es/page/index.js +4 -5
- package/es/page/responsive.js +2 -3
- package/es/page-header/index.js +3 -4
- package/es/popconfirm/index.js +24 -70
- package/es/poptip/index.js +29 -88
- package/es/popup/index.js +8 -6
- package/es/popup/layers.js +2 -3
- package/es/progress/index.js +95 -229
- package/es/qrcode/index.js +3 -4
- package/es/radio/radio-button.js +37 -131
- package/es/radio/radio-group-context.js +2 -3
- package/es/radio/radio-group.js +69 -223
- package/es/radio/radio.js +3 -4
- package/es/rate/index.js +68 -226
- package/es/rate/star.js +38 -129
- package/es/result/index.js +35 -127
- package/es/ripple/index.js +3 -4
- package/es/ripple/types.js +2 -3
- package/es/row-col/col.js +59 -149
- package/es/row-col/row.js +2 -3
- package/es/segmented/index.js +72 -196
- package/es/select/option.js +23 -116
- package/es/select/select.js +9 -10
- package/es/skeleton/skeleton-avatar.js +2 -3
- package/es/skeleton/skeleton-button.js +2 -3
- package/es/skeleton/skeleton-image.js +28 -108
- package/es/skeleton/skeleton-text.js +17 -93
- package/es/skeleton/skeleton.js +46 -133
- package/es/skeleton/use-skeleton-loading.js +3 -4
- package/es/slider/index.js +92 -286
- package/es/slider/thumb.js +43 -133
- package/es/space/index.js +3 -4
- package/es/spin/index.js +2 -3
- package/es/splitter/splitter-panel.js +3 -4
- package/es/splitter/splitter.js +77 -219
- package/es/stat-card/countup.js +46 -141
- package/es/stat-card/rollup.js +27 -105
- package/es/stat-card/stat-card.js +3 -4
- package/es/stat-card/stat-number.js +26 -113
- package/es/stat-card/utils/countup.js +2 -3
- package/es/stat-card/utils/odometer.js +2 -3
- package/es/stat-card/utils/stat-item-key.js +2 -3
- package/es/steps/index.js +45 -123
- package/es/switch/index.js +4 -5
- package/es/table/column-setting.js +43 -139
- package/es/table/index.js +25 -15
- package/es/table/utils.js +3 -5
- package/es/tabs/tab-panel.js +19 -71
- package/es/tabs/tabs.js +6 -7
- package/es/tag/index.js +4 -5
- package/es/time-line/timeline-item.js +3 -4
- package/es/time-line/timeline.js +8 -44
- package/es/tooltip/index.js +41 -142
- package/es/tour/index.js +138 -356
- package/es/transfer/index.js +184 -487
- package/es/tree/index.js +8 -9
- package/es/tree/utils.js +2 -3
- package/es/tree-select/index.js +8 -9
- package/es/typography/index.js +75 -306
- package/es/upload/file-list.js +95 -119
- package/es/upload/index.js +8 -9
- package/es/upload/picture-sort.js +2 -3
- package/es/upload/selector.js +63 -193
- package/es/utils/checked.js +2 -3
- package/es/utils/color.js +2 -3
- package/es/utils/css.js +2 -3
- package/es/utils/focus.js +2 -3
- package/es/utils/number.js +2 -3
- package/es/utils/overlay-order.js +2 -3
- package/es/utils/overlay-stack.js +3 -4
- package/es/utils/placement.js +16 -4
- package/es/utils/popup-arrow.js +45 -0
- package/es/utils/popup.js +2 -3
- package/es/utils/promise.js +2 -3
- package/es/utils/react-node.js +2 -3
- package/es/utils/selection-tags.js +2 -3
- package/es/utils/share.js +2 -3
- package/es/utils/theme.js +2 -3
- package/es/utils/transition.js +2 -3
- package/es/utils/use-value.js +3 -4
- package/es/virtual-list/index.js +49 -187
- package/es/virtual-list/range.js +2 -3
- package/es/watermark/index.js +149 -289
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +24 -24
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/theme.css +1 -1
- package/types/affix/index.d.cts +1 -1
- package/types/affix/index.d.ts +1 -1
- package/types/anchor/anchor-link.d.cts +1 -1
- package/types/anchor/anchor-link.d.ts +1 -1
- package/types/anchor/anchor.d.cts +1 -1
- package/types/anchor/anchor.d.ts +1 -1
- package/types/back-top/index.d.cts +1 -1
- package/types/back-top/index.d.ts +1 -1
- package/types/carousel/carousel-item.d.cts +1 -1
- package/types/carousel/carousel-item.d.ts +1 -1
- package/types/cascader/index.d.cts +1 -1
- package/types/cascader/index.d.ts +1 -1
- package/types/color-picker/alpha.d.cts +1 -1
- package/types/color-picker/alpha.d.ts +1 -1
- package/types/color-picker/hue.d.cts +1 -1
- package/types/color-picker/hue.d.ts +1 -1
- package/types/color-picker/index.d.cts +3 -2
- package/types/color-picker/index.d.ts +3 -2
- package/types/color-picker/mode.d.cts +1 -1
- package/types/color-picker/mode.d.ts +1 -1
- package/types/color-picker/paint.d.cts +1 -1
- package/types/color-picker/paint.d.ts +1 -1
- package/types/color-picker/presets.d.cts +1 -1
- package/types/color-picker/presets.d.ts +1 -1
- package/types/components.d.cts +3 -0
- package/types/components.d.ts +3 -0
- package/types/date-picker/index.d.cts +2 -2
- package/types/date-picker/index.d.ts +2 -2
- package/types/feature-card/index.d.cts +1 -1
- package/types/feature-card/index.d.ts +1 -1
- package/types/feedback-panel/index.d.cts +1 -1
- package/types/feedback-panel/index.d.ts +1 -1
- package/types/flame-wrap/index.d.cts +1 -1
- package/types/flame-wrap/index.d.ts +1 -1
- package/types/form/form-item.d.cts +1 -1
- package/types/form/form-item.d.ts +1 -1
- package/types/gradient-picker/corners.d.cts +8 -0
- package/types/gradient-picker/corners.d.ts +8 -0
- package/types/gradient-picker/index.d.cts +25 -0
- package/types/gradient-picker/index.d.ts +25 -0
- package/types/gradient-picker/stops.d.cts +12 -0
- package/types/gradient-picker/stops.d.ts +12 -0
- package/types/gradient-picker/types.d.cts +34 -0
- package/types/gradient-picker/types.d.ts +34 -0
- package/types/grid/grid-item.d.cts +1 -1
- package/types/grid/grid-item.d.ts +1 -1
- package/types/grid/grid.d.cts +1 -1
- package/types/grid/grid.d.ts +1 -1
- package/types/image/group.d.cts +1 -1
- package/types/image/group.d.ts +1 -1
- package/types/input-number/drag.d.cts +9 -0
- package/types/input-number/drag.d.ts +9 -0
- package/types/input-number/index.d.cts +1 -0
- package/types/input-number/index.d.ts +1 -0
- package/types/kanban/index.d.cts +1 -1
- package/types/kanban/index.d.ts +1 -1
- package/types/list-panel/index.d.cts +1 -1
- package/types/list-panel/index.d.ts +1 -1
- package/types/loading/loading-bar.d.cts +1 -1
- package/types/loading/loading-bar.d.ts +1 -1
- package/types/modal/toast.d.cts +1 -1
- package/types/modal/toast.d.ts +1 -1
- package/types/notice/content.d.cts +2 -2
- package/types/notice/content.d.ts +2 -2
- package/types/page-header/index.d.cts +1 -1
- package/types/page-header/index.d.ts +1 -1
- package/types/popconfirm/index.d.cts +1 -0
- package/types/popconfirm/index.d.ts +1 -0
- package/types/poptip/index.d.cts +1 -0
- package/types/poptip/index.d.ts +1 -0
- package/types/popup/index.d.cts +1 -0
- package/types/popup/index.d.ts +1 -0
- package/types/result/index.d.cts +1 -1
- package/types/result/index.d.ts +1 -1
- package/types/ripple/index.d.cts +1 -1
- package/types/ripple/index.d.ts +1 -1
- package/types/segmented/index.d.cts +2 -1
- package/types/segmented/index.d.ts +2 -1
- package/types/slider/index.d.cts +1 -1
- package/types/slider/index.d.ts +1 -1
- package/types/splitter/splitter-panel.d.cts +1 -1
- package/types/splitter/splitter-panel.d.ts +1 -1
- package/types/splitter/splitter.d.cts +1 -1
- package/types/splitter/splitter.d.ts +1 -1
- package/types/stat-card/countup.d.cts +1 -1
- package/types/stat-card/countup.d.ts +1 -1
- package/types/stat-card/rollup.d.cts +1 -1
- package/types/stat-card/rollup.d.ts +1 -1
- package/types/stat-card/stat-card.d.cts +1 -1
- package/types/stat-card/stat-card.d.ts +1 -1
- package/types/stat-card/stat-number.d.cts +1 -1
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/table/column-setting.d.cts +1 -1
- package/types/table/column-setting.d.ts +1 -1
- package/types/table/index.d.cts +1 -1
- package/types/table/index.d.ts +1 -1
- package/types/time-line/timeline-item.d.cts +1 -1
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.cts +1 -1
- package/types/time-line/timeline.d.ts +1 -1
- package/types/tooltip/index.d.cts +1 -0
- package/types/tooltip/index.d.ts +1 -0
- package/types/transfer/index.d.cts +1 -1
- package/types/transfer/index.d.ts +1 -1
- package/types/tree-select/index.d.cts +1 -1
- package/types/tree-select/index.d.ts +1 -1
- package/types/upload/file-list.d.cts +1 -1
- package/types/upload/file-list.d.ts +1 -1
- package/types/upload/selector.d.cts +1 -1
- package/types/upload/selector.d.ts +1 -1
- package/types/utils/placement.d.cts +2 -1
- package/types/utils/placement.d.ts +2 -1
- package/types/utils/popup-arrow.d.cts +5 -0
- package/types/utils/popup-arrow.d.ts +5 -0
- package/types/utils/selection-tags.d.cts +1 -1
- package/types/utils/selection-tags.d.ts +1 -1
- package/types/watermark/index.d.cts +1 -1
- package/types/watermark/index.d.ts +1 -1
package/es/modal/toast.js
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
10
9
|
import { CircleAlert, CircleCheck, CircleQuestionMark, CircleX, Info } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
11
|
-
import Icon from "../icon/index.js";
|
|
12
10
|
import Button from "../button/button.js";
|
|
11
|
+
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
12
|
+
import Icon from "../icon/index.js";
|
|
13
13
|
import { isPromiseLike } from "../utils/promise.js";
|
|
14
14
|
import Modal from "./modal.js";
|
|
15
|
-
import { c } from "react/compiler-runtime";
|
|
16
15
|
import clsx from "clsx";
|
|
17
16
|
import { useContext, useRef, useState } from "react";
|
|
18
17
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
-
|
|
18
|
+
// components/modal/toast.tsx
|
|
20
19
|
var icons = {
|
|
21
20
|
info: Info,
|
|
22
21
|
error: CircleX,
|
|
@@ -24,189 +23,74 @@ var icons = {
|
|
|
24
23
|
warning: CircleAlert,
|
|
25
24
|
confirm: CircleQuestionMark
|
|
26
25
|
};
|
|
27
|
-
function Toast(
|
|
28
|
-
const $ = c(47);
|
|
29
|
-
const { title, okText, cancelText, content, color, icon, onOk, onCancel, onDestroy, type: t1, open: t2, onOpenChange } = t0;
|
|
30
|
-
const type = t1 === void 0 ? "info" : t1;
|
|
31
|
-
const open = t2 === void 0 ? true : t2;
|
|
26
|
+
function Toast({ title, okText, cancelText, content, color, icon, onOk, onCancel, onDestroy, type = "info", open = true, onOpenChange }) {
|
|
32
27
|
const { locale } = useContext(ConfigContext);
|
|
33
28
|
const messages = (locale ?? DEFAULT_LOCALE)?.k?.common;
|
|
34
29
|
const [loading, setLoading] = useState(false);
|
|
35
30
|
const destroyRequestedRef = useRef(false);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
$[3] = t4;
|
|
54
|
-
} else t4 = $[3];
|
|
55
|
-
const handleClose = t4;
|
|
56
|
-
let t5;
|
|
57
|
-
if ($[4] !== handleClose || $[5] !== onOk) {
|
|
58
|
-
t5 = () => {
|
|
59
|
-
const result = onOk?.();
|
|
60
|
-
if (!isPromiseLike(result)) {
|
|
61
|
-
handleClose();
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
setLoading(true);
|
|
65
|
-
Promise.resolve(result).then(() => {
|
|
66
|
-
setLoading(false);
|
|
67
|
-
handleClose();
|
|
68
|
-
}, () => setLoading(false));
|
|
69
|
-
};
|
|
70
|
-
$[4] = handleClose;
|
|
71
|
-
$[5] = onOk;
|
|
72
|
-
$[6] = t5;
|
|
73
|
-
} else t5 = $[6];
|
|
74
|
-
const ok = t5;
|
|
75
|
-
let t6;
|
|
76
|
-
if ($[7] !== handleClose || $[8] !== onCancel) {
|
|
77
|
-
t6 = () => {
|
|
78
|
-
onCancel?.();
|
|
31
|
+
const requestDestroy = () => {
|
|
32
|
+
if (destroyRequestedRef.current) return;
|
|
33
|
+
destroyRequestedRef.current = true;
|
|
34
|
+
onDestroy?.();
|
|
35
|
+
};
|
|
36
|
+
const handleClose = () => {
|
|
37
|
+
onOpenChange?.(false);
|
|
38
|
+
};
|
|
39
|
+
const ok = () => {
|
|
40
|
+
const result = onOk?.();
|
|
41
|
+
if (!isPromiseLike(result)) {
|
|
42
|
+
handleClose();
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
setLoading(true);
|
|
46
|
+
Promise.resolve(result).then(() => {
|
|
47
|
+
setLoading(false);
|
|
79
48
|
handleClose();
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
if ($[10] !== color || $[11] !== t7) {
|
|
89
|
-
t8 = /* @__PURE__ */ jsx(Icon, {
|
|
90
|
-
className: "k-toast-icon",
|
|
91
|
-
type: t7,
|
|
92
|
-
color
|
|
93
|
-
});
|
|
94
|
-
$[10] = color;
|
|
95
|
-
$[11] = t7;
|
|
96
|
-
$[12] = t8;
|
|
97
|
-
} else t8 = $[12];
|
|
98
|
-
let t9;
|
|
99
|
-
if ($[13] !== title) {
|
|
100
|
-
t9 = /* @__PURE__ */ jsx("div", {
|
|
101
|
-
className: "k-toast-title",
|
|
102
|
-
children: title
|
|
103
|
-
});
|
|
104
|
-
$[13] = title;
|
|
105
|
-
$[14] = t9;
|
|
106
|
-
} else t9 = $[14];
|
|
107
|
-
let t10;
|
|
108
|
-
if ($[15] !== t8 || $[16] !== t9) {
|
|
109
|
-
t10 = /* @__PURE__ */ jsxs("div", {
|
|
49
|
+
}, () => setLoading(false));
|
|
50
|
+
};
|
|
51
|
+
const cancel = () => {
|
|
52
|
+
onCancel?.();
|
|
53
|
+
handleClose();
|
|
54
|
+
};
|
|
55
|
+
const body = /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
56
|
+
/* @__PURE__ */ jsxs("div", {
|
|
110
57
|
className: "k-toast-header",
|
|
111
|
-
children: [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
58
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
59
|
+
className: "k-toast-icon",
|
|
60
|
+
type: icon ?? icons[type],
|
|
61
|
+
color
|
|
62
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
63
|
+
className: "k-toast-title",
|
|
64
|
+
children: title
|
|
65
|
+
})]
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ jsx("div", {
|
|
120
68
|
className: "k-toast-content",
|
|
121
69
|
children: content
|
|
122
|
-
})
|
|
123
|
-
|
|
124
|
-
$[19] = t11;
|
|
125
|
-
} else t11 = $[19];
|
|
126
|
-
let t12;
|
|
127
|
-
if ($[20] !== cancel || $[21] !== cancelText || $[22] !== messages?.cancel || $[23] !== type) {
|
|
128
|
-
t12 = type === "confirm" && /* @__PURE__ */ jsx(Button, {
|
|
129
|
-
onClick: cancel,
|
|
130
|
-
children: cancelText ?? messages?.cancel
|
|
131
|
-
});
|
|
132
|
-
$[20] = cancel;
|
|
133
|
-
$[21] = cancelText;
|
|
134
|
-
$[22] = messages?.cancel;
|
|
135
|
-
$[23] = type;
|
|
136
|
-
$[24] = t12;
|
|
137
|
-
} else t12 = $[24];
|
|
138
|
-
const t13 = okText ?? messages?.ok;
|
|
139
|
-
let t14;
|
|
140
|
-
if ($[25] !== loading || $[26] !== ok || $[27] !== t13) {
|
|
141
|
-
t14 = /* @__PURE__ */ jsx(Button, {
|
|
142
|
-
type: "primary",
|
|
143
|
-
loading,
|
|
144
|
-
onClick: ok,
|
|
145
|
-
children: t13
|
|
146
|
-
});
|
|
147
|
-
$[25] = loading;
|
|
148
|
-
$[26] = ok;
|
|
149
|
-
$[27] = t13;
|
|
150
|
-
$[28] = t14;
|
|
151
|
-
} else t14 = $[28];
|
|
152
|
-
let t15;
|
|
153
|
-
if ($[29] !== t12 || $[30] !== t14) {
|
|
154
|
-
t15 = /* @__PURE__ */ jsxs("div", {
|
|
70
|
+
}),
|
|
71
|
+
/* @__PURE__ */ jsxs("div", {
|
|
155
72
|
className: "k-toast-footer",
|
|
156
|
-
children: [
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
const t17 = `k-toast-${type}`;
|
|
176
|
-
let t18;
|
|
177
|
-
if ($[36] !== t17) {
|
|
178
|
-
t18 = clsx("k-toast", t17);
|
|
179
|
-
$[36] = t17;
|
|
180
|
-
$[37] = t18;
|
|
181
|
-
} else t18 = $[37];
|
|
182
|
-
let t19;
|
|
183
|
-
if ($[38] !== onOpenChange) {
|
|
184
|
-
t19 = (opened) => {
|
|
73
|
+
children: [type === "confirm" && /* @__PURE__ */ jsx(Button, {
|
|
74
|
+
onClick: cancel,
|
|
75
|
+
children: cancelText ?? messages?.cancel
|
|
76
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
77
|
+
type: "primary",
|
|
78
|
+
loading,
|
|
79
|
+
onClick: ok,
|
|
80
|
+
children: okText ?? messages?.ok
|
|
81
|
+
})]
|
|
82
|
+
})
|
|
83
|
+
] });
|
|
84
|
+
return /* @__PURE__ */ jsx(Modal, {
|
|
85
|
+
open,
|
|
86
|
+
className: clsx("k-toast", `k-toast-${type}`),
|
|
87
|
+
maskClosable: false,
|
|
88
|
+
content: body,
|
|
89
|
+
onClose: handleClose,
|
|
90
|
+
onAfterClose: requestDestroy,
|
|
91
|
+
onOpenChange: (opened) => {
|
|
185
92
|
if (!opened) onOpenChange?.(false);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
$[39] = t19;
|
|
189
|
-
} else t19 = $[39];
|
|
190
|
-
let t20;
|
|
191
|
-
if ($[40] !== body || $[41] !== handleClose || $[42] !== open || $[43] !== requestDestroy || $[44] !== t18 || $[45] !== t19) {
|
|
192
|
-
t20 = /* @__PURE__ */ jsx(Modal, {
|
|
193
|
-
open,
|
|
194
|
-
className: t18,
|
|
195
|
-
maskClosable: false,
|
|
196
|
-
content: body,
|
|
197
|
-
onClose: handleClose,
|
|
198
|
-
onAfterClose: requestDestroy,
|
|
199
|
-
onOpenChange: t19
|
|
200
|
-
});
|
|
201
|
-
$[40] = body;
|
|
202
|
-
$[41] = handleClose;
|
|
203
|
-
$[42] = open;
|
|
204
|
-
$[43] = requestDestroy;
|
|
205
|
-
$[44] = t18;
|
|
206
|
-
$[45] = t19;
|
|
207
|
-
$[46] = t20;
|
|
208
|
-
} else t20 = $[46];
|
|
209
|
-
return t20;
|
|
93
|
+
}
|
|
94
|
+
});
|
|
210
95
|
}
|
|
211
|
-
//#endregion
|
|
212
96
|
export { Toast as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js
|
|
10
10
|
/*!
|
|
11
11
|
* kui-icons v5.0.0
|
|
12
12
|
* Copyright 2017-present, kui-icons.
|
|
@@ -185,5 +185,4 @@ var X = [{
|
|
|
185
185
|
d: "M18 6L6 18 M6 6L18 18",
|
|
186
186
|
s: "fill:none;stroke:currentcolor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
|
|
187
187
|
}];
|
|
188
|
-
//#endregion
|
|
189
188
|
export { ArrowDown, ArrowLeft, ArrowRight, ArrowUp, CalendarDays, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsLeft, ChevronsRight, CircleAlert, CircleCheck, CircleMinus, CirclePlus, CircleQuestionMark, CircleX, Clock, Copy, Ellipsis, Eye, EyeOff, FileText, Image, Images, Inbox, Info, LoaderCircle, Loading, Minus, Pencil, Plus, RotateCcw, RotateCcwSquare, RotateCwSquare, Search, Star, Triangle, TriangleAlert, User, X };
|
package/es/notice/container.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
@@ -11,7 +11,7 @@ import { getTransitionProps } from "../base/transition-props.js";
|
|
|
11
11
|
import Content from "./content.js";
|
|
12
12
|
import { createElement, forwardRef, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
|
-
|
|
14
|
+
// components/notice/container.tsx
|
|
15
15
|
var count = 0;
|
|
16
16
|
var Container = forwardRef(function Container({ type }, ref) {
|
|
17
17
|
const [items, setItems] = useState([]);
|
|
@@ -119,5 +119,4 @@ var Container = forwardRef(function Container({ type }, ref) {
|
|
|
119
119
|
}, /* @__PURE__ */ jsx(Content, { ...item_5 })))
|
|
120
120
|
});
|
|
121
121
|
});
|
|
122
|
-
//#endregion
|
|
123
122
|
export { Container as default };
|
package/es/notice/content.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { CircleAlert, CircleCheck, CircleX, Info, Loading, X } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
10
|
-
import Icon from "../icon/index.js";
|
|
11
10
|
import Button from "../button/button.js";
|
|
12
|
-
import
|
|
11
|
+
import Icon from "../icon/index.js";
|
|
13
12
|
import clsx from "clsx";
|
|
14
13
|
import { forwardRef } from "react";
|
|
15
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
|
|
15
|
+
import { c } from "react/compiler-runtime";
|
|
16
|
+
// components/notice/content.tsx
|
|
17
17
|
var icons = {
|
|
18
18
|
info: Info,
|
|
19
19
|
error: CircleX,
|
|
@@ -88,5 +88,4 @@ function NoticePanel(props) {
|
|
|
88
88
|
} else t0 = $[1];
|
|
89
89
|
return t0;
|
|
90
90
|
}
|
|
91
|
-
//#endregion
|
|
92
91
|
export { MessagePanel, NoticePanel, Content as default };
|
package/es/notice/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { createInstance } from "./instance.js";
|
|
10
|
-
|
|
10
|
+
// components/notice/index.ts
|
|
11
11
|
var noticeInstance = null;
|
|
12
12
|
var notice = {
|
|
13
13
|
name: "notice",
|
|
@@ -48,5 +48,4 @@ var notice = {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { notice as default };
|
package/es/notice/instance.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import Container from "./container.js";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
import { createRoot } from "react-dom/client";
|
|
12
|
-
|
|
12
|
+
// components/notice/instance.tsx
|
|
13
13
|
var createInstance = (type) => {
|
|
14
14
|
const container = document.createElement("div");
|
|
15
15
|
container.id = `k-${type}-box`;
|
|
@@ -61,5 +61,4 @@ var createInstance = (type) => {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
//#endregion
|
|
65
64
|
export { createInstance };
|
package/es/page/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
10
9
|
import { resolvePaintedTheme, useConfigAppearance } from "../config/use-config-appearance.js";
|
|
11
10
|
import { ChevronUp, ChevronsLeft, ChevronsRight, Ellipsis } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
11
|
+
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
12
12
|
import Icon from "../icon/index.js";
|
|
13
13
|
import input_number_default from "../input-number/index.js";
|
|
14
|
-
import select_default from "../select/select.js";
|
|
15
14
|
import { bindResponsivePage } from "./responsive.js";
|
|
15
|
+
import select_default from "../select/select.js";
|
|
16
16
|
import clsx from "clsx";
|
|
17
17
|
import { useContext, useLayoutEffect, useRef, useState } from "react";
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
-
|
|
19
|
+
// components/page/index.tsx
|
|
20
20
|
var PAINTED_THEMES = [
|
|
21
21
|
"fill",
|
|
22
22
|
"outline",
|
|
@@ -299,5 +299,4 @@ var Page = ({ simple = false, responsive = true, disabled = false, showSizer = f
|
|
|
299
299
|
]
|
|
300
300
|
});
|
|
301
301
|
};
|
|
302
|
-
//#endregion
|
|
303
302
|
export { Page as default };
|
package/es/page/responsive.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// components/page/responsive.ts
|
|
10
10
|
function showLayout(root, layout) {
|
|
11
11
|
root.dataset.pageLayout = layout;
|
|
12
12
|
root.querySelectorAll("[data-page-pager]").forEach((pager) => {
|
|
@@ -92,5 +92,4 @@ function bindResponsivePage(root) {
|
|
|
92
92
|
delete root.dataset.pageLayout;
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
//#endregion
|
|
96
95
|
export { bindResponsivePage };
|
package/es/page-header/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { c } from "react/compiler-runtime";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
|
|
10
|
+
import { c } from "react/compiler-runtime";
|
|
11
|
+
// components/page-header/index.tsx
|
|
12
12
|
function PageHeader(t0) {
|
|
13
13
|
const $ = c(34);
|
|
14
14
|
let actions;
|
|
@@ -130,5 +130,4 @@ function PageHeader(t0) {
|
|
|
130
130
|
} else t7 = $[33];
|
|
131
131
|
return t7;
|
|
132
132
|
}
|
|
133
|
-
//#endregion
|
|
134
133
|
export { PageHeader as default };
|
package/es/popconfirm/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.
|
|
2
|
+
* react-kui v3.3.0
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
10
9
|
import Popup from "../popup/index.js";
|
|
11
10
|
import { CircleQuestionMark } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
12
|
-
import Icon from "../icon/index.js";
|
|
13
11
|
import Button from "../button/button.js";
|
|
14
|
-
import
|
|
12
|
+
import Icon from "../icon/index.js";
|
|
13
|
+
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
15
14
|
import React from "react";
|
|
16
15
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
|
|
16
|
+
import { c } from "react/compiler-runtime";
|
|
17
|
+
// components/popconfirm/index.tsx
|
|
18
18
|
/** 与 kui-vue 一致:`PopconfirmPanel` 是 `panelOnly` 模式的 `Popconfirm` */
|
|
19
19
|
function PopconfirmPanel(props) {
|
|
20
20
|
const $ = c(2);
|
|
@@ -29,35 +29,25 @@ function PopconfirmPanel(props) {
|
|
|
29
29
|
} else t0 = $[1];
|
|
30
30
|
return t0;
|
|
31
31
|
}
|
|
32
|
-
var Popconfirm = (
|
|
33
|
-
const $ = c(22);
|
|
34
|
-
const { dark: t1, open, show, title, width, okText, cancelText, placement: t2, destroyOnClose: t3, panelOnly: t4, onCancel, onOk, onOpenChange, onShowChange, children } = t0;
|
|
35
|
-
const dark = t1 === void 0 ? false : t1;
|
|
36
|
-
const placement = t2 === void 0 ? "top" : t2;
|
|
37
|
-
const destroyOnClose = t3 === void 0 ? true : t3;
|
|
38
|
-
const panelOnly = t4 === void 0 ? false : t4;
|
|
32
|
+
var Popconfirm = ({ dark = false, open, show, title, width, okText, cancelText, placement = "top", arrowPointAtCenter = false, destroyOnClose = true, panelOnly = false, onCancel, onOk, onOpenChange, onShowChange, children }) => {
|
|
39
33
|
const locale = React.useContext(ConfigContext).locale || DEFAULT_LOCALE;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
34
|
+
return /* @__PURE__ */ jsx(Popup, {
|
|
35
|
+
open: open ?? show,
|
|
36
|
+
trigger: "click",
|
|
37
|
+
placement,
|
|
38
|
+
arrowPointAtCenter,
|
|
39
|
+
panelOnly,
|
|
40
|
+
arrow: true,
|
|
41
|
+
destroyOnClose,
|
|
42
|
+
respectDefaultPrevented: false,
|
|
43
|
+
prefixCls: "k-popconfirm",
|
|
44
|
+
className: dark ? "k-popconfirm-dark" : void 0,
|
|
45
|
+
style: { width },
|
|
46
|
+
onOpenChange: (next) => {
|
|
51
47
|
onOpenChange?.(next);
|
|
52
48
|
onShowChange?.(next);
|
|
53
|
-
}
|
|
54
|
-
$[
|
|
55
|
-
$[3] = onShowChange;
|
|
56
|
-
$[4] = t8;
|
|
57
|
-
} else t8 = $[4];
|
|
58
|
-
let t9;
|
|
59
|
-
if ($[5] !== cancelText || $[6] !== locale || $[7] !== okText || $[8] !== onCancel || $[9] !== onOk || $[10] !== title) {
|
|
60
|
-
t9 = (popup) => /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
49
|
+
},
|
|
50
|
+
overlay: (popup) => /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
61
51
|
className: "k-popconfirm-body",
|
|
62
52
|
children: [/* @__PURE__ */ jsx(Icon, { type: CircleQuestionMark }), /* @__PURE__ */ jsx("div", {
|
|
63
53
|
className: "k-popconfirm-title",
|
|
@@ -81,44 +71,8 @@ var Popconfirm = (t0) => {
|
|
|
81
71
|
},
|
|
82
72
|
children: okText || locale.k.common.ok
|
|
83
73
|
})]
|
|
84
|
-
})] })
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
$[7] = okText;
|
|
88
|
-
$[8] = onCancel;
|
|
89
|
-
$[9] = onOk;
|
|
90
|
-
$[10] = title;
|
|
91
|
-
$[11] = t9;
|
|
92
|
-
} else t9 = $[11];
|
|
93
|
-
let t10;
|
|
94
|
-
if ($[12] !== children || $[13] !== destroyOnClose || $[14] !== panelOnly || $[15] !== placement || $[16] !== t5 || $[17] !== t6 || $[18] !== t7 || $[19] !== t8 || $[20] !== t9) {
|
|
95
|
-
t10 = /* @__PURE__ */ jsx(Popup, {
|
|
96
|
-
open: t5,
|
|
97
|
-
trigger: "click",
|
|
98
|
-
placement,
|
|
99
|
-
panelOnly,
|
|
100
|
-
arrow: true,
|
|
101
|
-
destroyOnClose,
|
|
102
|
-
respectDefaultPrevented: false,
|
|
103
|
-
prefixCls: "k-popconfirm",
|
|
104
|
-
className: t6,
|
|
105
|
-
style: t7,
|
|
106
|
-
onOpenChange: t8,
|
|
107
|
-
overlay: t9,
|
|
108
|
-
children
|
|
109
|
-
});
|
|
110
|
-
$[12] = children;
|
|
111
|
-
$[13] = destroyOnClose;
|
|
112
|
-
$[14] = panelOnly;
|
|
113
|
-
$[15] = placement;
|
|
114
|
-
$[16] = t5;
|
|
115
|
-
$[17] = t6;
|
|
116
|
-
$[18] = t7;
|
|
117
|
-
$[19] = t8;
|
|
118
|
-
$[20] = t9;
|
|
119
|
-
$[21] = t10;
|
|
120
|
-
} else t10 = $[21];
|
|
121
|
-
return t10;
|
|
74
|
+
})] }),
|
|
75
|
+
children
|
|
76
|
+
});
|
|
122
77
|
};
|
|
123
|
-
//#endregion
|
|
124
78
|
export { PopconfirmPanel, Popconfirm as default };
|