react-kui 3.2.1 → 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 +819 -162
- 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 +66 -210
- 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 +8 -9
- package/es/table/utils.js +2 -3
- 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/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/input/input-box.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 clsx from "clsx";
|
|
10
10
|
import "react";
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// components/input/input-box.tsx
|
|
13
13
|
var InputBox = ({ multiple, disabled, size, type, theme, shape, inputType, value, showPassword, inputRef, className = "", onFocus, onBlur, onInput, ...rest }) => {
|
|
14
14
|
let currentType = type;
|
|
15
15
|
if (showPassword === true && currentType === "password") currentType = "text";
|
|
@@ -36,5 +36,4 @@ var InputBox = ({ multiple, disabled, size, type, theme, shape, inputType, value
|
|
|
36
36
|
...rest
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
//#endregion
|
|
40
39
|
export { InputBox as default };
|
package/es/input/input-group.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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 { getChildren } from "../utils/react-node.js";
|
|
10
9
|
import { resolveTheme, useFormAppearance } from "../config/use-config-appearance.js";
|
|
11
|
-
import { SizeContext } from "../config/size-context.js";
|
|
12
10
|
import { markFormFieldWrapper } from "../form/field-context.js";
|
|
11
|
+
import { SizeContext } from "../config/size-context.js";
|
|
12
|
+
import { getChildren } from "../utils/react-node.js";
|
|
13
13
|
import clsx from "clsx";
|
|
14
14
|
import React, { useContext } from "react";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
-
|
|
16
|
+
// components/input/input-group.tsx
|
|
17
17
|
var InputGroup = ({ block = false, compact = true, theme: themeProp, size: sizeProp, children, className = "", style, ...rest }) => {
|
|
18
18
|
const inheritedAppearance = useFormAppearance();
|
|
19
19
|
const theme = resolveTheme(themeProp ?? inheritedAppearance.theme, "fill");
|
|
@@ -62,5 +62,4 @@ var InputGroup = ({ block = false, compact = true, theme: themeProp, size: sizeP
|
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
var input_group_default = markFormFieldWrapper(InputGroup);
|
|
65
|
-
//#endregion
|
|
66
65
|
export { input_group_default as default };
|
package/es/input/input.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
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
import { createFormFieldComponent } from "../form/field-context.js";
|
|
10
10
|
import InputBase from "./input-base.js";
|
|
11
|
-
import { c } from "react/compiler-runtime";
|
|
12
11
|
import React from "react";
|
|
13
12
|
import { jsx } from "react/jsx-runtime";
|
|
14
|
-
|
|
13
|
+
import { c } from "react/compiler-runtime";
|
|
14
|
+
// components/input/input.tsx
|
|
15
15
|
var Input = React.forwardRef((props, ref) => {
|
|
16
16
|
const $ = c(3);
|
|
17
17
|
let t0;
|
|
@@ -30,5 +30,4 @@ var Input = React.forwardRef((props, ref) => {
|
|
|
30
30
|
});
|
|
31
31
|
Input.displayName = "Input";
|
|
32
32
|
var input_default = createFormFieldComponent(Input);
|
|
33
|
-
//#endregion
|
|
34
33
|
export { input_default as default };
|
package/es/input/textarea.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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 { resolveTheme, useFormAppearance } from "../config/use-config-appearance.js";
|
|
10
9
|
import { useValue } from "../utils/use-value.js";
|
|
10
|
+
import { resolveTheme, useFormAppearance } from "../config/use-config-appearance.js";
|
|
11
11
|
import { createFormFieldComponent } from "../form/field-context.js";
|
|
12
12
|
import clsx from "clsx";
|
|
13
13
|
import React from "react";
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
15
|
-
|
|
15
|
+
// components/input/textarea.tsx
|
|
16
16
|
var TextArea = React.forwardRef(({ value, theme: themeProp, shape: shapeProp, size: sizeProp, placeholder, rows = 2, disabled = false, onChange, className = "", ...rest }, ref) => {
|
|
17
17
|
const inheritedAppearance = useFormAppearance();
|
|
18
18
|
const theme = resolveTheme(themeProp ?? inheritedAppearance.theme, "fill");
|
|
@@ -45,5 +45,4 @@ var TextArea = React.forwardRef(({ value, theme: themeProp, shape: shapeProp, si
|
|
|
45
45
|
});
|
|
46
46
|
TextArea.displayName = "TextArea";
|
|
47
47
|
var textarea_default = createFormFieldComponent(TextArea);
|
|
48
|
-
//#endregion
|
|
49
48
|
export { textarea_default as default };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* react-kui v3.3.0
|
|
3
|
+
* Copyright 2017-present, kui-react.
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Homepage: https://react.k-ui.cn
|
|
6
|
+
* Author: Qiu / https://chuchur.com
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import Big from "big.js";
|
|
10
|
+
// components/input-number/drag.ts
|
|
11
|
+
/** Start-relative movement keeps speed independent of pointer-event frequency. */
|
|
12
|
+
function startNumberDrag(event, options) {
|
|
13
|
+
if (event.button !== 0 || event.isPrimary === false || options.blocked()) return () => {};
|
|
14
|
+
event.preventDefault();
|
|
15
|
+
const input = event.currentTarget.parentElement?.querySelector("input");
|
|
16
|
+
const startX = event.clientX;
|
|
17
|
+
const initial = new Big(options.value || 0);
|
|
18
|
+
let step = new Big(1);
|
|
19
|
+
try {
|
|
20
|
+
const candidate = new Big(options.step);
|
|
21
|
+
if (candidate.gt(0)) step = candidate;
|
|
22
|
+
} catch {}
|
|
23
|
+
let moved = false;
|
|
24
|
+
let previous = initial.toFixed();
|
|
25
|
+
const move = (next) => {
|
|
26
|
+
if (next.pointerId !== event.pointerId) return;
|
|
27
|
+
if (options.blocked()) {
|
|
28
|
+
cleanup();
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const delta = next.clientX - startX;
|
|
32
|
+
if (!moved && Math.abs(delta) < 4) return;
|
|
33
|
+
moved = true;
|
|
34
|
+
if (next.cancelable) next.preventDefault();
|
|
35
|
+
const distance = Math.abs(delta);
|
|
36
|
+
const steps = Math.floor(distance / 4 * (1 + Math.min(9, distance / 80)));
|
|
37
|
+
const value = initial.plus(step.times(delta < 0 ? -steps : steps)).toFixed();
|
|
38
|
+
if (value !== previous) {
|
|
39
|
+
previous = value;
|
|
40
|
+
options.update(value);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const up = (next) => {
|
|
44
|
+
if (next.pointerId !== event.pointerId) return;
|
|
45
|
+
cleanup();
|
|
46
|
+
if (!moved && !options.blocked()) input?.focus();
|
|
47
|
+
};
|
|
48
|
+
const cancel = (next) => {
|
|
49
|
+
if (next.pointerId === event.pointerId) cleanup();
|
|
50
|
+
};
|
|
51
|
+
const cleanup = () => {
|
|
52
|
+
document.removeEventListener("pointermove", move);
|
|
53
|
+
document.removeEventListener("pointerup", up);
|
|
54
|
+
document.removeEventListener("pointercancel", cancel);
|
|
55
|
+
window.removeEventListener("blur", cleanup);
|
|
56
|
+
};
|
|
57
|
+
document.addEventListener("pointermove", move, { passive: false });
|
|
58
|
+
document.addEventListener("pointerup", up);
|
|
59
|
+
document.addEventListener("pointercancel", cancel);
|
|
60
|
+
window.addEventListener("blur", cleanup);
|
|
61
|
+
return cleanup;
|
|
62
|
+
}
|
|
63
|
+
export { startNumberDrag };
|
package/es/input-number/index.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
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 { useValue } from "../utils/use-value.js";
|
|
9
10
|
import { resolveTheme, useFormAppearance } from "../config/use-config-appearance.js";
|
|
11
|
+
import { createFormFieldComponent } from "../form/field-context.js";
|
|
10
12
|
import { ChevronDown, ChevronUp } 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
|
-
import { useValue } from "../utils/use-value.js";
|
|
13
13
|
import { SizeContext } from "../config/size-context.js";
|
|
14
|
-
import
|
|
15
|
-
import { isValidBig, normalize } from "../utils/number.js";
|
|
14
|
+
import Icon from "../icon/index.js";
|
|
16
15
|
import InputBase from "../input/input-base.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
16
|
+
import { isValidBig, normalize } from "../utils/number.js";
|
|
17
|
+
import { startNumberDrag } from "./drag.js";
|
|
18
|
+
import { useContext, useEffect, useRef, useState } from "react";
|
|
19
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
19
20
|
import Big from "big.js";
|
|
20
|
-
|
|
21
|
-
var InputNumber = ({ value, min = -Infinity, max = Infinity, step = 1, precision, formatter, parser, disabled = false, readOnly = false, controls = true, keyboard = true, suffix, prefix, addonBefore, addonAfter, theme: themeProp, shape: shapeProp, icon, size: sizeProp, placeholder, onChange, onBlur, onKeyDown, ...rest }) => {
|
|
21
|
+
// components/input-number/index.tsx
|
|
22
|
+
var InputNumber = ({ value, min = -Infinity, max = Infinity, step = 1, precision, formatter, parser, disabled = false, readOnly = false, controls = true, draggable = true, keyboard = true, suffix, prefix, addonBefore, addonAfter, theme: themeProp, shape: shapeProp, icon, size: sizeProp, placeholder, onChange, onBlur, onKeyDown, ...rest }) => {
|
|
22
23
|
const inheritedAppearance = useFormAppearance();
|
|
23
24
|
const theme = resolveTheme(themeProp ?? inheritedAppearance.theme, "fill");
|
|
24
25
|
const shape = shapeProp ?? inheritedAppearance.shape;
|
|
@@ -33,6 +34,15 @@ var InputNumber = ({ value, min = -Infinity, max = Infinity, step = 1, precision
|
|
|
33
34
|
setUserInput(null);
|
|
34
35
|
}
|
|
35
36
|
const currentValue = normalize(innerValue, safePrecision);
|
|
37
|
+
const stopDrag = useRef(() => {});
|
|
38
|
+
useEffect(() => () => stopDrag.current(), []);
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
if (disabled || readOnly || !draggable) stopDrag.current();
|
|
41
|
+
}, [
|
|
42
|
+
disabled,
|
|
43
|
+
readOnly,
|
|
44
|
+
draggable
|
|
45
|
+
]);
|
|
36
46
|
const clamp = (val) => {
|
|
37
47
|
if (!isValidBig(val)) return val === "" ? "" : currentValue;
|
|
38
48
|
try {
|
|
@@ -147,9 +157,29 @@ var InputNumber = ({ value, min = -Infinity, max = Infinity, step = 1, precision
|
|
|
147
157
|
onChange: handleInput,
|
|
148
158
|
onBlur: handleBlur,
|
|
149
159
|
onKeyDown: handleKeyDown,
|
|
150
|
-
controls:
|
|
160
|
+
controls: /* @__PURE__ */ jsxs(Fragment$1, { children: [draggable && !disabled && !readOnly && /* @__PURE__ */ jsx("span", {
|
|
161
|
+
className: "k-input-number-drag",
|
|
162
|
+
"aria-hidden": "true",
|
|
163
|
+
onDoubleClick: (event_0) => event_0.currentTarget.parentElement?.querySelector("input")?.select(),
|
|
164
|
+
onPointerDown: (event_1) => {
|
|
165
|
+
stopDrag.current();
|
|
166
|
+
let previous = currentValue;
|
|
167
|
+
stopDrag.current = startNumberDrag(event_1, {
|
|
168
|
+
value: isValidBig(currentValue) ? currentValue : "0",
|
|
169
|
+
step,
|
|
170
|
+
blocked: () => disabled || readOnly || !draggable,
|
|
171
|
+
update: (value_0) => {
|
|
172
|
+
const next_1 = clamp(value_0);
|
|
173
|
+
if (next_1 === previous) return;
|
|
174
|
+
previous = next_1;
|
|
175
|
+
setInnerValue(next_1);
|
|
176
|
+
setUserInput(null);
|
|
177
|
+
emitValue(Number(next_1));
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}), controlsNode] })
|
|
151
182
|
});
|
|
152
183
|
};
|
|
153
184
|
var input_number_default = createFormFieldComponent(InputNumber);
|
|
154
|
-
//#endregion
|
|
155
185
|
export { input_number_default as default };
|
package/es/input-otp/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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 { resolveTheme, useFormAppearance } from "../config/use-config-appearance.js";
|
|
10
9
|
import { useValue } from "../utils/use-value.js";
|
|
10
|
+
import { resolveTheme, useFormAppearance } from "../config/use-config-appearance.js";
|
|
11
11
|
import { createFormFieldComponent } from "../form/field-context.js";
|
|
12
12
|
import clsx from "clsx";
|
|
13
13
|
import { Fragment, forwardRef, useCallback, useImperativeHandle, useRef } from "react";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
|
|
15
|
+
// components/input-otp/index.tsx
|
|
16
16
|
var InputOTP = forwardRef(function InputOTP({ value, length = 6, type = "number", size: sizeProp, disabled = false, readOnly = false, mask = false, autoFocus = false, separator, validator, theme: themeProp, shape: shapeProp, onChange, onComplete, onFocus, onBlur, className, ...rest }, ref) {
|
|
17
17
|
const inheritedAppearance = useFormAppearance();
|
|
18
18
|
const size = sizeProp ?? inheritedAppearance.size;
|
|
@@ -139,5 +139,4 @@ var InputOTP = forwardRef(function InputOTP({ value, length = 6, type = "number"
|
|
|
139
139
|
});
|
|
140
140
|
});
|
|
141
141
|
var input_otp_default = createFormFieldComponent(InputOTP);
|
|
142
|
-
//#endregion
|
|
143
142
|
export { input_otp_default as default };
|
package/es/input-tag/index.js
CHANGED
|
@@ -1,21 +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 { renderSelectionTags } from "../utils/selection-tags.js";
|
|
10
|
+
import { useValue } from "../utils/use-value.js";
|
|
9
11
|
import { resolveTheme, useFormAppearance } from "../config/use-config-appearance.js";
|
|
12
|
+
import { createFormFieldComponent } from "../form/field-context.js";
|
|
10
13
|
import { CircleX } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
11
14
|
import Icon from "../icon/index.js";
|
|
12
|
-
import { useValue } from "../utils/use-value.js";
|
|
13
|
-
import { createFormFieldComponent } from "../form/field-context.js";
|
|
14
|
-
import { renderSelectionTags } from "../utils/selection-tags.js";
|
|
15
15
|
import clsx from "clsx";
|
|
16
16
|
import { useRef, useState } from "react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
-
|
|
18
|
+
// components/input-tag/index.tsx
|
|
19
19
|
var InputTag = ({ value, placeholder, disabled = false, readOnly = false, clearable = true, block = false, allowDuplicates = false, max, maxTagCount, separators = [","], size: sizeProp, shape: shapeProp, theme: themeProp, onChange, onAdd, onRemove, onClear, className, onClick, ...rest }) => {
|
|
20
20
|
const inheritedAppearance = useFormAppearance();
|
|
21
21
|
const size = sizeProp ?? inheritedAppearance.size ?? "medium";
|
|
@@ -144,5 +144,4 @@ var InputTag = ({ value, placeholder, disabled = false, readOnly = false, cleara
|
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
146
|
var input_tag_default = createFormFieldComponent(InputTag);
|
|
147
|
-
//#endregion
|
|
148
147
|
export { input_tag_default as default };
|
package/es/kanban/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
|
|
@@ -8,11 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
import { resolvePaintedTheme, useConfigAppearance } from "../config/use-config-appearance.js";
|
|
10
10
|
import Empty from "../empty/index.js";
|
|
11
|
-
import { c } from "react/compiler-runtime";
|
|
12
11
|
import clsx from "clsx";
|
|
13
|
-
import { useState } from "react";
|
|
12
|
+
import { useMemo, useState } from "react";
|
|
14
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
|
|
14
|
+
// components/kanban/index.tsx
|
|
16
15
|
var PAINTED_THEMES = [
|
|
17
16
|
"fill",
|
|
18
17
|
"outline",
|
|
@@ -21,150 +20,45 @@ var PAINTED_THEMES = [
|
|
|
21
20
|
"dashed"
|
|
22
21
|
];
|
|
23
22
|
var toRenderKey = (value) => `${typeof value}:${String(value)}`;
|
|
24
|
-
function Kanban(
|
|
25
|
-
const $ = c(59);
|
|
26
|
-
let className;
|
|
27
|
-
let columnTitle;
|
|
28
|
-
let empty;
|
|
29
|
-
let emptyText;
|
|
30
|
-
let footer;
|
|
31
|
-
let item;
|
|
32
|
-
let onItemClick;
|
|
33
|
-
let onMove;
|
|
34
|
-
let rest;
|
|
35
|
-
let style;
|
|
36
|
-
let t1;
|
|
37
|
-
let t2;
|
|
38
|
-
let t3;
|
|
39
|
-
let t4;
|
|
40
|
-
let t5;
|
|
41
|
-
let t6;
|
|
42
|
-
let themeProp;
|
|
43
|
-
if ($[0] !== t0) {
|
|
44
|
-
({columns: t1, data: t2, rowKey: t3, statusKey: t4, draggable: t5, emptyText, minColumnWidth: t6, theme: themeProp, onMove, onItemClick, columnTitle, item, empty, footer, className, style, ...rest} = t0);
|
|
45
|
-
$[0] = t0;
|
|
46
|
-
$[1] = className;
|
|
47
|
-
$[2] = columnTitle;
|
|
48
|
-
$[3] = empty;
|
|
49
|
-
$[4] = emptyText;
|
|
50
|
-
$[5] = footer;
|
|
51
|
-
$[6] = item;
|
|
52
|
-
$[7] = onItemClick;
|
|
53
|
-
$[8] = onMove;
|
|
54
|
-
$[9] = rest;
|
|
55
|
-
$[10] = style;
|
|
56
|
-
$[11] = t1;
|
|
57
|
-
$[12] = t2;
|
|
58
|
-
$[13] = t3;
|
|
59
|
-
$[14] = t4;
|
|
60
|
-
$[15] = t5;
|
|
61
|
-
$[16] = t6;
|
|
62
|
-
$[17] = themeProp;
|
|
63
|
-
} else {
|
|
64
|
-
className = $[1];
|
|
65
|
-
columnTitle = $[2];
|
|
66
|
-
empty = $[3];
|
|
67
|
-
emptyText = $[4];
|
|
68
|
-
footer = $[5];
|
|
69
|
-
item = $[6];
|
|
70
|
-
onItemClick = $[7];
|
|
71
|
-
onMove = $[8];
|
|
72
|
-
rest = $[9];
|
|
73
|
-
style = $[10];
|
|
74
|
-
t1 = $[11];
|
|
75
|
-
t2 = $[12];
|
|
76
|
-
t3 = $[13];
|
|
77
|
-
t4 = $[14];
|
|
78
|
-
t5 = $[15];
|
|
79
|
-
t6 = $[16];
|
|
80
|
-
themeProp = $[17];
|
|
81
|
-
}
|
|
82
|
-
let t7;
|
|
83
|
-
if ($[18] !== t1) {
|
|
84
|
-
t7 = t1 === void 0 ? [] : t1;
|
|
85
|
-
$[18] = t1;
|
|
86
|
-
$[19] = t7;
|
|
87
|
-
} else t7 = $[19];
|
|
88
|
-
const columns = t7;
|
|
89
|
-
let t8;
|
|
90
|
-
if ($[20] !== t2) {
|
|
91
|
-
t8 = t2 === void 0 ? [] : t2;
|
|
92
|
-
$[20] = t2;
|
|
93
|
-
$[21] = t8;
|
|
94
|
-
} else t8 = $[21];
|
|
95
|
-
const data = t8;
|
|
96
|
-
const rowKey = t3 === void 0 ? "id" : t3;
|
|
97
|
-
const statusKey = t4 === void 0 ? "status" : t4;
|
|
98
|
-
const draggable = t5 === void 0 ? true : t5;
|
|
99
|
-
const minColumnWidth = t6 === void 0 ? 250 : t6;
|
|
23
|
+
function Kanban({ columns = [], data = [], rowKey = "id", statusKey = "status", draggable = true, emptyText, minColumnWidth = 250, theme: themeProp, onMove, onItemClick, columnTitle, item, empty, footer, className, style, ...rest }) {
|
|
100
24
|
const [draggingKey, setDraggingKey] = useState();
|
|
101
25
|
const [dragOverKey, setDragOverKey] = useState();
|
|
102
26
|
const inheritedAppearance = useConfigAppearance();
|
|
103
|
-
|
|
104
|
-
if ($[22] !== inheritedAppearance || $[23] !== themeProp) {
|
|
105
|
-
t9 = resolvePaintedTheme(themeProp ?? inheritedAppearance.theme, PAINTED_THEMES) ?? "fill";
|
|
106
|
-
$[22] = inheritedAppearance;
|
|
107
|
-
$[23] = themeProp;
|
|
108
|
-
$[24] = t9;
|
|
109
|
-
} else t9 = $[24];
|
|
110
|
-
const theme = t9;
|
|
27
|
+
const theme = resolvePaintedTheme(themeProp ?? inheritedAppearance.theme, PAINTED_THEMES) ?? "fill";
|
|
111
28
|
const width = typeof minColumnWidth === "number" ? `${minColumnWidth}px` : minColumnWidth;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
groups = /* @__PURE__ */ new Map();
|
|
29
|
+
const grouped = useMemo(() => {
|
|
30
|
+
const groups = /* @__PURE__ */ new Map();
|
|
115
31
|
columns.forEach((column) => groups.set(column.key, []));
|
|
116
32
|
data.forEach((entry) => {
|
|
117
33
|
const status = entry[statusKey];
|
|
118
34
|
if (typeof status !== "string" && typeof status !== "number") return;
|
|
119
35
|
groups.get(status)?.push(entry);
|
|
120
36
|
});
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
$[31] = t10;
|
|
142
|
-
} else t10 = $[31];
|
|
143
|
-
const move = t10;
|
|
144
|
-
const t11 = `k-kanban-${theme}`;
|
|
145
|
-
let t12;
|
|
146
|
-
if ($[32] !== className || $[33] !== t11) {
|
|
147
|
-
t12 = clsx("k-kanban", t11, className);
|
|
148
|
-
$[32] = className;
|
|
149
|
-
$[33] = t11;
|
|
150
|
-
$[34] = t12;
|
|
151
|
-
} else t12 = $[34];
|
|
152
|
-
let t13;
|
|
153
|
-
if ($[35] !== columns.length || $[36] !== style || $[37] !== width) {
|
|
154
|
-
t13 = {
|
|
37
|
+
return groups;
|
|
38
|
+
}, [
|
|
39
|
+
columns,
|
|
40
|
+
data,
|
|
41
|
+
statusKey
|
|
42
|
+
]);
|
|
43
|
+
const move = (entry_0, column_0) => {
|
|
44
|
+
if (!entry_0 || entry_0[statusKey] === column_0.key) return;
|
|
45
|
+
const from = entry_0[statusKey];
|
|
46
|
+
if (typeof from !== "string" && typeof from !== "number") return;
|
|
47
|
+
onMove?.({
|
|
48
|
+
item: entry_0,
|
|
49
|
+
from,
|
|
50
|
+
to: column_0.key
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
return /* @__PURE__ */ jsx("div", {
|
|
54
|
+
...rest,
|
|
55
|
+
className: clsx("k-kanban", `k-kanban-${theme}`, className),
|
|
56
|
+
style: {
|
|
155
57
|
...style,
|
|
156
58
|
"--k-kanban-column-width": width,
|
|
157
59
|
"--k-kanban-columns": columns.length
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
$[36] = style;
|
|
161
|
-
$[37] = width;
|
|
162
|
-
$[38] = t13;
|
|
163
|
-
} else t13 = $[38];
|
|
164
|
-
const t14 = t13;
|
|
165
|
-
let t15;
|
|
166
|
-
if ($[39] !== columnTitle || $[40] !== columns || $[41] !== data || $[42] !== dragOverKey || $[43] !== draggable || $[44] !== draggingKey || $[45] !== empty || $[46] !== emptyText || $[47] !== footer || $[48] !== grouped || $[49] !== item || $[50] !== move || $[51] !== onItemClick || $[52] !== rowKey) {
|
|
167
|
-
t15 = columns.map((column_1, columnIndex) => {
|
|
60
|
+
},
|
|
61
|
+
children: columns.map((column_1, columnIndex) => {
|
|
168
62
|
const items = grouped.get(column_1.key) || [];
|
|
169
63
|
return /* @__PURE__ */ jsxs("section", {
|
|
170
64
|
className: clsx("k-kanban-column", dragOverKey === column_1.key && "k-kanban-column-drag-over"),
|
|
@@ -233,38 +127,7 @@ function Kanban(t0) {
|
|
|
233
127
|
})
|
|
234
128
|
]
|
|
235
129
|
}, toRenderKey(column_1.key));
|
|
236
|
-
})
|
|
237
|
-
|
|
238
|
-
$[40] = columns;
|
|
239
|
-
$[41] = data;
|
|
240
|
-
$[42] = dragOverKey;
|
|
241
|
-
$[43] = draggable;
|
|
242
|
-
$[44] = draggingKey;
|
|
243
|
-
$[45] = empty;
|
|
244
|
-
$[46] = emptyText;
|
|
245
|
-
$[47] = footer;
|
|
246
|
-
$[48] = grouped;
|
|
247
|
-
$[49] = item;
|
|
248
|
-
$[50] = move;
|
|
249
|
-
$[51] = onItemClick;
|
|
250
|
-
$[52] = rowKey;
|
|
251
|
-
$[53] = t15;
|
|
252
|
-
} else t15 = $[53];
|
|
253
|
-
let t16;
|
|
254
|
-
if ($[54] !== rest || $[55] !== t12 || $[56] !== t14 || $[57] !== t15) {
|
|
255
|
-
t16 = /* @__PURE__ */ jsx("div", {
|
|
256
|
-
...rest,
|
|
257
|
-
className: t12,
|
|
258
|
-
style: t14,
|
|
259
|
-
children: t15
|
|
260
|
-
});
|
|
261
|
-
$[54] = rest;
|
|
262
|
-
$[55] = t12;
|
|
263
|
-
$[56] = t14;
|
|
264
|
-
$[57] = t15;
|
|
265
|
-
$[58] = t16;
|
|
266
|
-
} else t16 = $[58];
|
|
267
|
-
return t16;
|
|
130
|
+
})
|
|
131
|
+
});
|
|
268
132
|
}
|
|
269
|
-
//#endregion
|
|
270
133
|
export { Kanban as default };
|