react-kui 3.1.2 → 3.2.1
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/README.zh-CN.md +3 -1
- package/ai/kui-components.json +918 -324
- package/es/_virtual/_rolldown/runtime.js +1 -1
- package/es/affix/index.js +1 -1
- package/es/alert/index.js +11 -4
- package/es/anchor/anchor-context.js +1 -1
- package/es/anchor/anchor-link.js +1 -1
- package/es/anchor/anchor.js +1 -1
- package/es/auto-complete/index.js +371 -347
- package/es/avatar/avatar-group-context.js +1 -1
- package/es/avatar/avatar-group.js +1 -1
- package/es/avatar/avatar.js +1 -1
- package/es/back-top/index.js +1 -1
- package/es/badge/index.js +10 -8
- package/es/base/teleport.js +1 -1
- package/es/base/transition-props.js +1 -1
- package/es/base/transition.js +1 -1
- package/es/breadcrumb/breadcrumb-context.js +1 -1
- package/es/breadcrumb/breadcrumb-item.js +1 -1
- package/es/breadcrumb/breadcrumb.js +1 -1
- package/es/button/button-group-context.js +1 -1
- package/es/button/button-group.js +1 -1
- package/es/button/button.js +13 -6
- package/es/calendar/index.js +20 -6
- package/es/card/index.js +11 -4
- package/es/carousel/carousel-context.js +1 -1
- package/es/carousel/carousel-item.js +1 -1
- package/es/carousel/carousel.js +1 -1
- package/es/carousel/drag.js +1 -1
- package/es/cascader/index.js +13 -10
- package/es/check-card/check-card-group.js +3 -3
- package/es/check-card/check-card.js +155 -141
- package/es/check-card/context.js +1 -1
- package/es/checkbox/checkbox-group-context.js +1 -1
- package/es/checkbox/checkbox-group.js +3 -3
- package/es/checkbox/checkbox.js +64 -244
- package/es/checkbox/index.js +1 -1
- package/es/collapse/collapse-panel.js +1 -1
- package/es/collapse/collapse.js +96 -82
- package/es/color-picker/alpha.js +1 -1
- package/es/color-picker/hue.js +1 -1
- package/es/color-picker/index.js +7 -7
- package/es/color-picker/mode.js +2 -2
- package/es/color-picker/paint.js +1 -1
- package/es/color-picker/presets.js +1 -1
- package/es/components.js +4 -4
- package/es/config/config-context.js +16 -3
- package/es/config/context.js +29 -2
- package/es/config/index.js +31 -12
- package/es/config/popup-host.js +106 -0
- package/es/config/size-context.js +1 -1
- package/es/config/use-config-appearance.js +62 -2
- package/es/const/var.js +6 -2
- package/es/date-picker/index.js +404 -885
- package/es/descriptions/descriptions-item.js +1 -1
- package/es/descriptions/descriptions.js +1 -1
- package/es/divider/index.js +1 -1
- package/es/drawer/index.js +328 -240
- package/es/dropdown/dropdown-button.js +69 -51
- package/es/dropdown/dropdown-context.js +1 -1
- package/es/dropdown/dropdown.js +137 -93
- package/es/dropdown/trigger.js +85 -33
- package/es/empty/index.js +3 -4
- package/es/feature-card/index.js +15 -4
- package/es/feedback-panel/index.js +95 -81
- package/es/flame-wrap/index.js +116 -109
- package/es/flame-wrap/types.js +54 -6
- package/es/flex/index.js +1 -1
- package/es/form/field-context.js +16 -2
- package/es/form/form-context.js +1 -1
- package/es/form/form-item.js +7 -6
- package/es/form/form.js +1 -1
- package/es/form/utils.js +1 -1
- package/es/grid/grid-item.js +1 -1
- package/es/grid/grid.js +1 -1
- package/es/grid/useBreakpoint.js +1 -1
- package/es/icon/index.js +1 -1
- package/es/image/group.js +1 -1
- package/es/image/image-group-context.js +1 -1
- package/es/image/image.js +137 -123
- package/es/image/instance.js +1 -1
- package/es/image/preview.js +1 -1
- package/es/image/utils.js +1 -1
- package/es/index.js +3 -3
- package/es/input/index.js +3 -3
- package/es/input/input-base.js +7 -7
- package/es/input/input-box.js +2 -2
- package/es/input/input-group.js +43 -127
- package/es/input/input.js +1 -1
- package/es/input/textarea.js +28 -114
- package/es/input-number/index.js +7 -5
- package/es/input-otp/index.js +5 -5
- package/es/input-tag/index.js +5 -5
- package/es/kanban/index.js +79 -63
- package/es/layout/index.js +1 -1
- package/es/layout/layout-context.js +1 -1
- package/es/list-panel/index.js +96 -83
- package/es/loading/index.js +1 -1
- package/es/loading/loading-bar.js +1 -1
- package/es/locale/de.js +10 -2
- package/es/locale/el.js +10 -2
- package/es/locale/en.js +10 -2
- package/es/locale/fr.js +10 -2
- package/es/locale/it.js +10 -2
- package/es/locale/ja.js +10 -2
- package/es/locale/ko.js +10 -2
- package/es/locale/ru.js +10 -2
- package/es/locale/th.js +10 -2
- package/es/locale/uk.js +10 -2
- package/es/locale/vi.js +10 -2
- package/es/locale/zh-CN.js +10 -2
- package/es/locale/zh-TW.js +10 -2
- package/es/mentions/index.js +291 -286
- package/es/menu/menu-context.js +1 -1
- package/es/menu/menu-divider.js +1 -1
- package/es/menu/menu-group.js +1 -1
- package/es/menu/menu-item.js +1 -1
- package/es/menu/menu-keyboard.js +41 -2
- package/es/menu/menu.js +268 -222
- package/es/menu/recursive-menu.js +1 -1
- package/es/menu/sub-menu.js +81 -23
- package/es/message/index.js +1 -1
- package/es/modal/api.js +46 -12
- package/es/modal/modal.js +441 -345
- package/es/modal/toast.js +177 -64
- package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +1 -1
- package/es/notice/container.js +1 -1
- package/es/notice/content.js +1 -1
- package/es/notice/index.js +1 -1
- package/es/notice/instance.js +1 -1
- package/es/page/index.js +13 -8
- package/es/page/responsive.js +1 -1
- package/es/page-header/index.js +1 -1
- package/es/popconfirm/index.js +36 -35
- package/es/poptip/index.js +47 -45
- package/es/popup/index.js +5 -2
- package/es/popup/layers.js +11 -2
- package/es/progress/index.js +1 -1
- package/es/qrcode/index.js +13 -7
- package/es/radio/radio-button.js +51 -44
- package/es/radio/radio-group-context.js +1 -1
- package/es/radio/radio-group.js +49 -52
- package/es/radio/radio.js +46 -197
- package/es/rate/index.js +1 -1
- package/es/rate/star.js +1 -1
- package/es/result/index.js +1 -1
- package/es/ripple/index.js +104 -97
- package/es/ripple/types.js +71 -18
- package/es/row-col/col.js +1 -1
- package/es/row-col/row.js +1 -1
- package/es/segmented/index.js +112 -92
- package/es/select/option.js +1 -1
- package/es/select/select.js +29 -29
- package/es/skeleton/skeleton-avatar.js +1 -1
- package/es/skeleton/skeleton-button.js +1 -1
- package/es/skeleton/skeleton-image.js +1 -1
- package/es/skeleton/skeleton-text.js +1 -1
- package/es/skeleton/skeleton.js +1 -1
- package/es/skeleton/use-skeleton-loading.js +1 -1
- package/es/slider/index.js +1 -1
- package/es/slider/thumb.js +1 -1
- package/es/space/index.js +1 -1
- package/es/spin/index.js +1 -1
- package/es/splitter/splitter-panel.js +1 -1
- package/es/splitter/splitter.js +1 -1
- package/es/stat-card/countup.js +2 -2
- package/es/stat-card/rollup.js +1 -1
- package/es/stat-card/stat-card.js +16 -7
- package/es/stat-card/stat-number.js +4 -3
- package/es/stat-card/utils/countup.js +1 -1
- package/es/stat-card/utils/odometer.js +1 -1
- package/es/stat-card/utils/stat-item-key.js +22 -0
- package/es/steps/index.js +1 -1
- package/es/switch/index.js +3 -3
- package/es/table/column-setting.js +104 -115
- package/es/table/index.js +556 -207
- package/es/table/utils.js +140 -3
- package/es/tabs/tab-panel.js +1 -1
- package/es/tabs/tabs.js +1 -1
- package/es/tag/index.js +12 -5
- package/es/time-line/timeline-item.js +1 -1
- package/es/time-line/timeline.js +1 -1
- package/es/tooltip/index.js +114 -94
- package/es/tour/index.js +1 -1
- package/es/transfer/index.js +190 -172
- package/es/tree/index.js +55 -44
- package/es/tree/utils.js +1 -1
- package/es/tree-select/index.js +259 -781
- package/es/typography/index.js +1 -1
- package/es/upload/file-list.js +1 -1
- package/es/upload/index.js +5 -6
- package/es/upload/picture-sort.js +1 -1
- package/es/upload/selector.js +1 -1
- package/es/utils/checked.js +1 -1
- package/es/utils/color.js +25 -2
- package/es/utils/css.js +19 -0
- package/es/utils/focus.js +63 -0
- package/es/utils/number.js +1 -1
- package/es/utils/overlay-order.js +18 -0
- package/es/utils/overlay-stack.js +33 -0
- package/es/utils/placement.js +1 -1
- package/es/utils/popup.js +1 -1
- package/es/utils/promise.js +18 -0
- package/es/utils/react-node.js +55 -30
- package/es/utils/selection-tags.js +6 -4
- package/es/utils/share.js +5 -2
- package/es/utils/theme.js +1 -1
- package/es/utils/transition.js +1 -1
- package/es/utils/use-value.js +1 -1
- package/es/virtual-list/index.js +1 -1
- package/es/virtual-list/range.js +3 -2
- package/es/watermark/index.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +2 -2
- package/lib/locale/el.cjs +2 -2
- package/lib/locale/en.cjs +2 -2
- package/lib/locale/fr.cjs +2 -2
- package/lib/locale/it.cjs +2 -2
- package/lib/locale/ja.cjs +2 -2
- package/lib/locale/ko.cjs +2 -2
- package/lib/locale/ru.cjs +2 -2
- package/lib/locale/th.cjs +2 -2
- package/lib/locale/uk.cjs +2 -2
- package/lib/locale/vi.cjs +2 -2
- package/lib/locale/zh-CN.cjs +2 -2
- package/lib/locale/zh-TW.cjs +2 -2
- package/package.json +4 -3
- package/readme.md +3 -1
- package/style/base.css +2 -2
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/theme.css +2 -2
- package/types/alert/index.d.cts +2 -2
- package/types/alert/index.d.ts +2 -2
- package/types/auto-complete/index.d.cts +7 -1
- package/types/auto-complete/index.d.ts +7 -1
- package/types/badge/index.d.cts +2 -1
- package/types/badge/index.d.ts +2 -1
- package/types/button/button.d.cts +2 -2
- package/types/button/button.d.ts +2 -2
- package/types/card/index.d.cts +3 -3
- package/types/card/index.d.ts +3 -3
- package/types/cascader/index.d.cts +1 -1
- package/types/cascader/index.d.ts +1 -1
- package/types/cascader/types.d.cts +2 -0
- package/types/cascader/types.d.ts +2 -0
- package/types/check-card/context.d.cts +4 -3
- package/types/check-card/context.d.ts +4 -3
- package/types/check-card/index.d.cts +1 -1
- package/types/check-card/index.d.ts +1 -1
- package/types/check-card/types.d.cts +3 -4
- package/types/check-card/types.d.ts +3 -4
- package/types/checkbox/checkbox-group.d.cts +2 -2
- package/types/checkbox/checkbox-group.d.ts +2 -2
- package/types/checkbox/checkbox.d.cts +2 -2
- package/types/checkbox/checkbox.d.ts +2 -2
- package/types/collapse/collapse.d.cts +3 -3
- package/types/collapse/collapse.d.ts +3 -3
- package/types/color-picker/index.d.cts +3 -1
- package/types/color-picker/index.d.ts +3 -1
- package/types/components.d.cts +2 -2
- package/types/components.d.ts +2 -2
- package/types/config/config-context.d.cts +15 -2
- package/types/config/config-context.d.ts +15 -2
- package/types/config/context.d.cts +6 -0
- package/types/config/context.d.ts +6 -0
- package/types/config/popup-host.d.cts +16 -0
- package/types/config/popup-host.d.ts +16 -0
- package/types/config/use-config-appearance.d.cts +41 -2
- package/types/config/use-config-appearance.d.ts +41 -2
- package/types/const/types.d.cts +30 -1
- package/types/const/types.d.ts +30 -1
- package/types/const/var.d.cts +6 -1
- package/types/const/var.d.ts +6 -1
- package/types/date-picker/index.d.cts +3 -1
- package/types/date-picker/index.d.ts +3 -1
- package/types/descriptions/descriptions.d.cts +2 -2
- package/types/descriptions/descriptions.d.ts +2 -2
- package/types/drawer/index.d.cts +1 -0
- package/types/drawer/index.d.ts +1 -0
- package/types/dropdown/dropdown-button.d.cts +5 -2
- package/types/dropdown/dropdown-button.d.ts +5 -2
- package/types/dropdown/dropdown-context.d.cts +6 -0
- package/types/dropdown/dropdown-context.d.ts +6 -0
- package/types/dropdown/dropdown.d.cts +2 -0
- package/types/dropdown/dropdown.d.ts +2 -0
- package/types/feature-card/index.d.cts +3 -3
- package/types/feature-card/index.d.ts +3 -3
- package/types/feedback-panel/index.d.cts +3 -3
- package/types/feedback-panel/index.d.ts +3 -3
- package/types/flame-wrap/types.d.cts +18 -0
- package/types/flame-wrap/types.d.ts +18 -0
- package/types/form/field-context.d.cts +2 -0
- package/types/form/field-context.d.ts +2 -0
- package/types/image/image.d.cts +2 -2
- package/types/image/image.d.ts +2 -2
- package/types/input/input-group.d.cts +2 -2
- package/types/input/input-group.d.ts +2 -2
- package/types/input-number/index.d.cts +2 -0
- package/types/input-number/index.d.ts +2 -0
- package/types/kanban/index.d.cts +3 -2
- package/types/kanban/index.d.ts +3 -2
- package/types/list-panel/index.d.cts +3 -3
- package/types/list-panel/index.d.ts +3 -3
- package/types/locale/de.d.cts +6 -0
- package/types/locale/de.d.ts +6 -0
- package/types/locale/el.d.cts +6 -0
- package/types/locale/el.d.ts +6 -0
- package/types/locale/en.d.cts +6 -0
- package/types/locale/en.d.ts +6 -0
- package/types/locale/fr.d.cts +6 -0
- package/types/locale/fr.d.ts +6 -0
- package/types/locale/it.d.cts +6 -0
- package/types/locale/it.d.ts +6 -0
- package/types/locale/ja.d.cts +6 -0
- package/types/locale/ja.d.ts +6 -0
- package/types/locale/ko.d.cts +6 -0
- package/types/locale/ko.d.ts +6 -0
- package/types/locale/ru.d.cts +6 -0
- package/types/locale/ru.d.ts +6 -0
- package/types/locale/th.d.cts +6 -0
- package/types/locale/th.d.ts +6 -0
- package/types/locale/uk.d.cts +6 -0
- package/types/locale/uk.d.ts +6 -0
- package/types/locale/vi.d.cts +6 -0
- package/types/locale/vi.d.ts +6 -0
- package/types/locale/zh-CN.d.cts +6 -0
- package/types/locale/zh-CN.d.ts +6 -0
- package/types/locale/zh-TW.d.cts +6 -0
- package/types/locale/zh-TW.d.ts +6 -0
- package/types/mentions/index.d.cts +2 -0
- package/types/mentions/index.d.ts +2 -0
- package/types/menu/menu-keyboard.d.cts +23 -0
- package/types/menu/menu-keyboard.d.ts +23 -0
- package/types/modal/api.d.cts +6 -1
- package/types/modal/api.d.ts +6 -1
- package/types/modal/modal.d.cts +1 -0
- package/types/modal/modal.d.ts +1 -0
- package/types/modal/toast.d.cts +8 -2
- package/types/modal/toast.d.ts +8 -2
- package/types/page/index.d.cts +2 -2
- package/types/page/index.d.ts +2 -2
- package/types/popconfirm/index.d.cts +2 -0
- package/types/popconfirm/index.d.ts +2 -0
- package/types/poptip/index.d.cts +2 -0
- package/types/poptip/index.d.ts +2 -0
- package/types/popup/layers.d.cts +2 -0
- package/types/popup/layers.d.ts +2 -0
- package/types/qrcode/index.d.cts +2 -2
- package/types/qrcode/index.d.ts +2 -2
- package/types/radio/radio-button.d.cts +2 -2
- package/types/radio/radio-button.d.ts +2 -2
- package/types/radio/radio-group.d.cts +2 -2
- package/types/radio/radio-group.d.ts +2 -2
- package/types/radio/radio.d.cts +2 -2
- package/types/radio/radio.d.ts +2 -2
- package/types/ripple/types.d.cts +18 -0
- package/types/ripple/types.d.ts +18 -0
- package/types/segmented/index.d.cts +2 -1
- package/types/segmented/index.d.ts +2 -1
- package/types/select/select.d.cts +2 -0
- package/types/select/select.d.ts +2 -0
- package/types/stat-card/stat-card.d.cts +3 -3
- package/types/stat-card/stat-card.d.ts +3 -3
- package/types/stat-card/utils/stat-item-key.d.cts +11 -0
- package/types/stat-card/utils/stat-item-key.d.ts +11 -0
- package/types/table/column-setting.d.cts +4 -4
- package/types/table/column-setting.d.ts +4 -4
- package/types/table/index.d.cts +2 -2
- package/types/table/index.d.ts +2 -2
- package/types/table/types.d.cts +21 -2
- package/types/table/types.d.ts +21 -2
- package/types/table/utils.d.cts +75 -0
- package/types/table/utils.d.ts +75 -0
- package/types/tag/index.d.cts +2 -2
- package/types/tag/index.d.ts +2 -2
- package/types/tooltip/index.d.cts +2 -0
- package/types/tooltip/index.d.ts +2 -0
- package/types/transfer/index.d.cts +3 -2
- package/types/transfer/index.d.ts +3 -2
- package/types/tree-select/index.d.cts +3 -1
- package/types/tree-select/index.d.ts +3 -1
- package/types/utils/checked.d.cts +1 -1
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/color.d.cts +13 -0
- package/types/utils/color.d.ts +13 -0
- package/types/utils/css.d.cts +2 -0
- package/types/utils/css.d.ts +2 -0
- package/types/utils/focus.d.cts +5 -0
- package/types/utils/focus.d.ts +5 -0
- package/types/utils/overlay-order.d.cts +6 -0
- package/types/utils/overlay-order.d.ts +6 -0
- package/types/utils/overlay-stack.d.cts +13 -0
- package/types/utils/overlay-stack.d.ts +13 -0
- package/types/utils/promise.d.cts +5 -0
- package/types/utils/promise.d.ts +5 -0
- package/types/utils/react-node.d.cts +10 -0
- package/types/utils/react-node.d.ts +10 -0
package/es/flame-wrap/types.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
@@ -34,6 +34,27 @@ var DEFAULTS = {
|
|
|
34
34
|
ember: 2,
|
|
35
35
|
scorch: 0
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* Chrome 156 renames the experimental boolean `layoutsubtree` to the
|
|
39
|
+
* standardized `content="drawable"`, and the element handed to
|
|
40
|
+
* `drawElementImage()` now declares itself with its own `drawable` attribute
|
|
41
|
+
* (WICG html-in-canvas issue #169). Browsers advertise the new spelling with a
|
|
42
|
+
* reflected `content` IDL attribute, so the shape is read off the prototype
|
|
43
|
+
* rather than sniffed from a version string: every release only ever sees the
|
|
44
|
+
* attribute it understands.
|
|
45
|
+
*/
|
|
46
|
+
function htmlInCanvasMarkup() {
|
|
47
|
+
const legacy = {
|
|
48
|
+
canvas: { layoutsubtree: "true" },
|
|
49
|
+
element: {}
|
|
50
|
+
};
|
|
51
|
+
if (typeof document === "undefined") return legacy;
|
|
52
|
+
if (!("content" in HTMLCanvasElement.prototype)) return legacy;
|
|
53
|
+
return {
|
|
54
|
+
canvas: { content: "drawable" },
|
|
55
|
+
element: { drawable: "" }
|
|
56
|
+
};
|
|
57
|
+
}
|
|
37
58
|
var VERT = `#version 300 es
|
|
38
59
|
precision highp float;
|
|
39
60
|
layout(location = 0) in vec2 aPos;
|
|
@@ -367,17 +388,43 @@ function createFlameWrap(elements, options = {}) {
|
|
|
367
388
|
const htmlInCanvas = Boolean(sourceCtx && typeof sourceCtx.drawElementImage === "function" && typeof paintable.requestPaint === "function");
|
|
368
389
|
let contentDirty = false;
|
|
369
390
|
let wake = () => {};
|
|
370
|
-
|
|
391
|
+
let usesPaintEvent = false;
|
|
392
|
+
/**
|
|
393
|
+
* Keep the live DOM copy lined up with the pixels drawn from it, so pointer
|
|
394
|
+
* input, focus rings and screen reader bounds land where the user sees them.
|
|
395
|
+
* Which half of that job the browser does changed twice, so the branch keys
|
|
396
|
+
* off what the draw call actually hands back instead of a version number.
|
|
397
|
+
*/
|
|
398
|
+
function syncGeometry(transform) {
|
|
399
|
+
if (transform && typeof transform.toString === "function") {
|
|
400
|
+
if (paintable.updateElementGeometry) paintable.updateElementGeometry(content, { canvasTransform: transform });
|
|
401
|
+
else content.style.transform = transform.toString();
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
if (content.style.transform) content.style.transform = "";
|
|
405
|
+
}
|
|
406
|
+
function onPaint() {
|
|
371
407
|
try {
|
|
372
408
|
sourceCtx.reset();
|
|
373
409
|
const transform = sourceCtx.drawElementImage(content, 0, 0);
|
|
374
|
-
if (transform) content.style.transform = transform.toString();
|
|
375
410
|
contentDirty = true;
|
|
411
|
+
try {
|
|
412
|
+
syncGeometry(transform);
|
|
413
|
+
} catch (error) {
|
|
414
|
+
console.error("FlameWrap failed to align its HTML content:", error);
|
|
415
|
+
}
|
|
376
416
|
wake();
|
|
377
417
|
} catch (error) {
|
|
378
418
|
console.error("FlameWrap failed to capture its HTML content:", error);
|
|
379
419
|
}
|
|
380
|
-
}
|
|
420
|
+
}
|
|
421
|
+
if (htmlInCanvas) {
|
|
422
|
+
if ("onpaint" in paintable) paintable.onpaint = onPaint;
|
|
423
|
+
else {
|
|
424
|
+
usesPaintEvent = true;
|
|
425
|
+
source.addEventListener("paint", onPaint);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
381
428
|
function compile(type, text) {
|
|
382
429
|
const shader = gl.createShader(type);
|
|
383
430
|
gl.shaderSource(shader, text);
|
|
@@ -583,11 +630,12 @@ function createFlameWrap(elements, options = {}) {
|
|
|
583
630
|
gl.deleteShader(fragmentShader);
|
|
584
631
|
gl.deleteBuffer(quad);
|
|
585
632
|
if (htmlInCanvas) {
|
|
586
|
-
|
|
633
|
+
if (usesPaintEvent) source.removeEventListener("paint", onPaint);
|
|
634
|
+
else paintable.onpaint = null;
|
|
587
635
|
content.style.removeProperty("transform");
|
|
588
636
|
}
|
|
589
637
|
}
|
|
590
638
|
};
|
|
591
639
|
}
|
|
592
640
|
//#endregion
|
|
593
|
-
export { createFlameWrap, supportsHtmlInCanvas };
|
|
641
|
+
export { createFlameWrap, htmlInCanvasMarkup, supportsHtmlInCanvas };
|
package/es/flex/index.js
CHANGED
package/es/form/field-context.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
@@ -20,6 +20,20 @@ var resolveFormControlAttrs = (props, field) => ({
|
|
|
20
20
|
"aria-required": props["aria-required"] ?? (field?.required || void 0)
|
|
21
21
|
});
|
|
22
22
|
var isFormFieldComponent = (component) => (typeof component === "object" || typeof component === "function") && component !== null && formFieldComponents.has(component);
|
|
23
|
+
/**
|
|
24
|
+
* A layout wrapper that owns no value of its own but carries the field down to the control nested inside it —
|
|
25
|
+
* `InputGroup` around an `Input`. `FormItem` only sees the children handed to its own slot, so without this the
|
|
26
|
+
* shape `<FormItem><InputGroup><Input/></InputGroup></FormItem>` has no control: the label points at an id
|
|
27
|
+
* nothing carries and the model never reaches the input.
|
|
28
|
+
* These get the field context rather than cloned props, exactly like a control, and only when nothing sitting
|
|
29
|
+
* directly in the slot claims the field first — a real control keeps its precedence.
|
|
30
|
+
*/
|
|
31
|
+
var formFieldWrappers = /* @__PURE__ */ new WeakSet();
|
|
32
|
+
var markFormFieldWrapper = (component) => {
|
|
33
|
+
formFieldWrappers.add(component);
|
|
34
|
+
return component;
|
|
35
|
+
};
|
|
36
|
+
var isFormFieldWrapper = (component) => (typeof component === "object" || typeof component === "function") && component !== null && formFieldWrappers.has(component);
|
|
23
37
|
function createFormFieldComponent(Component, adapter = {}) {
|
|
24
38
|
const Control = Component;
|
|
25
39
|
const FormFieldComponent = (props) => {
|
|
@@ -99,4 +113,4 @@ function FormFieldProvider({ value, children }) {
|
|
|
99
113
|
return createElement(FormFieldContext.Provider, { value }, children);
|
|
100
114
|
}
|
|
101
115
|
//#endregion
|
|
102
|
-
export { FormFieldContext, FormFieldProvider, createFormFieldComponent, isFormFieldComponent, resolveFormControlAttrs };
|
|
116
|
+
export { FormFieldContext, FormFieldProvider, createFormFieldComponent, isFormFieldComponent, isFormFieldWrapper, markFormFieldWrapper, resolveFormControlAttrs };
|
package/es/form/form-context.js
CHANGED
package/es/form/form-item.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
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
|
|
10
|
-
import { ConfigContext } from "../config/config-context.js";
|
|
9
|
+
import { ConfigContext, DEFAULT_LOCALE } from "../config/config-context.js";
|
|
11
10
|
import { Transition } from "../base/transition.js";
|
|
12
11
|
import { FormContext } from "./form-context.js";
|
|
13
|
-
import { FormFieldProvider, isFormFieldComponent } from "./field-context.js";
|
|
12
|
+
import { FormFieldProvider, isFormFieldComponent, isFormFieldWrapper } from "./field-context.js";
|
|
14
13
|
import Col from "../row-col/col.js";
|
|
15
14
|
import Row from "../row-col/row.js";
|
|
16
15
|
import clsx from "clsx";
|
|
@@ -28,10 +27,11 @@ var matchesTrigger = (rule, trigger) => {
|
|
|
28
27
|
};
|
|
29
28
|
var isEmptyValue = (value) => value === null || value === void 0 || value === "" || Array.isArray(value) && value.length === 0;
|
|
30
29
|
var isFormControlElement = (child) => isValidElement(child) && isFormFieldComponent(child.type);
|
|
30
|
+
var isFieldWrapperElement = (child) => isValidElement(child) && isFormFieldWrapper(child.type);
|
|
31
31
|
function FormItem({ label, prop, labelCol, wrapperCol, rules, colon, children }) {
|
|
32
32
|
const form = useContext(FormContext);
|
|
33
33
|
const { locale } = useContext(ConfigContext);
|
|
34
|
-
const messages = (locale ??
|
|
34
|
+
const messages = (locale ?? DEFAULT_LOCALE)?.k?.form;
|
|
35
35
|
const [valid, setValid] = useState(true);
|
|
36
36
|
const [message, setMessage] = useState();
|
|
37
37
|
const generatedId = `form_${useId().replace(/:/g, "")}`;
|
|
@@ -226,6 +226,7 @@ function FormItem({ label, prop, labelCol, wrapperCol, rules, colon, children })
|
|
|
226
226
|
};
|
|
227
227
|
const childArray = Children.toArray(children);
|
|
228
228
|
const controlIndex = childArray.findIndex(isFormControlElement);
|
|
229
|
+
const fieldIndex = controlIndex === -1 ? childArray.findIndex(isFieldWrapperElement) : controlIndex;
|
|
229
230
|
const childNodes = [];
|
|
230
231
|
for (let index_0 = 0; index_0 < childArray.length; index_0++) {
|
|
231
232
|
const child = childArray[index_0];
|
|
@@ -265,7 +266,7 @@ function FormItem({ label, prop, labelCol, wrapperCol, rules, colon, children })
|
|
|
265
266
|
}));
|
|
266
267
|
continue;
|
|
267
268
|
}
|
|
268
|
-
if (index_0 !==
|
|
269
|
+
if (index_0 !== fieldIndex) {
|
|
269
270
|
childNodes.push(child);
|
|
270
271
|
continue;
|
|
271
272
|
}
|
package/es/form/form.js
CHANGED
package/es/form/utils.js
CHANGED
package/es/grid/grid-item.js
CHANGED
package/es/grid/grid.js
CHANGED
package/es/grid/useBreakpoint.js
CHANGED
package/es/icon/index.js
CHANGED
package/es/image/group.js
CHANGED
package/es/image/image.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
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 { useConfigAppearance } from "../config/use-config-appearance.js";
|
|
9
|
+
import { resolvePaintedTheme, useConfigAppearance } from "../config/use-config-appearance.js";
|
|
10
10
|
import { Image, Loading } from "../node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js";
|
|
11
11
|
import Icon from "../icon/index.js";
|
|
12
12
|
import { loadImage } from "./utils.js";
|
|
@@ -17,8 +17,15 @@ import clsx from "clsx";
|
|
|
17
17
|
import { forwardRef, useContext, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
18
18
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
//#region components/image/image.tsx
|
|
20
|
+
var PAINTED_THEMES = [
|
|
21
|
+
"fill",
|
|
22
|
+
"outline",
|
|
23
|
+
"plain",
|
|
24
|
+
"solid",
|
|
25
|
+
"dashed"
|
|
26
|
+
];
|
|
20
27
|
var KImage = forwardRef(function KImage(t0, ref) {
|
|
21
|
-
const $ = c(
|
|
28
|
+
const $ = c(78);
|
|
22
29
|
let alt;
|
|
23
30
|
let children;
|
|
24
31
|
let className;
|
|
@@ -88,7 +95,14 @@ var KImage = forwardRef(function KImage(t0, ref) {
|
|
|
88
95
|
width = $[21];
|
|
89
96
|
}
|
|
90
97
|
const inheritedAppearance = useConfigAppearance();
|
|
91
|
-
|
|
98
|
+
let t1;
|
|
99
|
+
if ($[22] !== inheritedAppearance || $[23] !== themeProp) {
|
|
100
|
+
t1 = resolvePaintedTheme(themeProp ?? inheritedAppearance.theme, PAINTED_THEMES) ?? "plain";
|
|
101
|
+
$[22] = inheritedAppearance;
|
|
102
|
+
$[23] = themeProp;
|
|
103
|
+
$[24] = t1;
|
|
104
|
+
} else t1 = $[24];
|
|
105
|
+
const theme = t1;
|
|
92
106
|
const shape = shapeProp ?? inheritedAppearance.shape ?? "round";
|
|
93
107
|
const group = useContext(ImageGroupContext);
|
|
94
108
|
const previewRef = useRef(null);
|
|
@@ -96,10 +110,10 @@ var KImage = forwardRef(function KImage(t0, ref) {
|
|
|
96
110
|
const [failed, setFailed] = useState(false);
|
|
97
111
|
const [imageUrl, setImageUrl] = useState();
|
|
98
112
|
const previewSource = origin || src;
|
|
99
|
-
let t1;
|
|
100
113
|
let t2;
|
|
101
|
-
|
|
102
|
-
|
|
114
|
+
let t3;
|
|
115
|
+
if ($[25] !== placeholder || $[26] !== src) {
|
|
116
|
+
t2 = () => {
|
|
103
117
|
let active = true;
|
|
104
118
|
if (!src) {
|
|
105
119
|
setLoading(false);
|
|
@@ -126,50 +140,50 @@ var KImage = forwardRef(function KImage(t0, ref) {
|
|
|
126
140
|
cancelLoad();
|
|
127
141
|
};
|
|
128
142
|
};
|
|
129
|
-
|
|
130
|
-
$[
|
|
131
|
-
$[
|
|
132
|
-
$[
|
|
133
|
-
$[
|
|
143
|
+
t3 = [placeholder, src];
|
|
144
|
+
$[25] = placeholder;
|
|
145
|
+
$[26] = src;
|
|
146
|
+
$[27] = t2;
|
|
147
|
+
$[28] = t3;
|
|
134
148
|
} else {
|
|
135
|
-
|
|
136
|
-
|
|
149
|
+
t2 = $[27];
|
|
150
|
+
t3 = $[28];
|
|
137
151
|
}
|
|
138
|
-
useEffect(
|
|
139
|
-
let t3;
|
|
152
|
+
useEffect(t2, t3);
|
|
140
153
|
let t4;
|
|
141
|
-
|
|
142
|
-
|
|
154
|
+
let t5;
|
|
155
|
+
if ($[29] !== group || $[30] !== previewSource) {
|
|
156
|
+
t4 = () => {
|
|
143
157
|
if (!previewSource) return;
|
|
144
158
|
group?.register(previewSource);
|
|
145
159
|
return () => group?.unregister(previewSource);
|
|
146
160
|
};
|
|
147
|
-
|
|
148
|
-
$[
|
|
149
|
-
$[
|
|
150
|
-
$[
|
|
151
|
-
$[
|
|
161
|
+
t5 = [group, previewSource];
|
|
162
|
+
$[29] = group;
|
|
163
|
+
$[30] = previewSource;
|
|
164
|
+
$[31] = t4;
|
|
165
|
+
$[32] = t5;
|
|
152
166
|
} else {
|
|
153
|
-
|
|
154
|
-
|
|
167
|
+
t4 = $[31];
|
|
168
|
+
t5 = $[32];
|
|
155
169
|
}
|
|
156
|
-
useEffect(
|
|
157
|
-
let t5;
|
|
170
|
+
useEffect(t4, t5);
|
|
158
171
|
let t6;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
t6 =
|
|
162
|
-
|
|
163
|
-
$[
|
|
172
|
+
let t7;
|
|
173
|
+
if ($[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
174
|
+
t6 = () => () => previewRef.current?.destroy();
|
|
175
|
+
t7 = [];
|
|
176
|
+
$[33] = t6;
|
|
177
|
+
$[34] = t7;
|
|
164
178
|
} else {
|
|
165
|
-
|
|
166
|
-
|
|
179
|
+
t6 = $[33];
|
|
180
|
+
t7 = $[34];
|
|
167
181
|
}
|
|
168
|
-
useEffect(
|
|
169
|
-
let
|
|
170
|
-
if ($[
|
|
171
|
-
|
|
172
|
-
const options =
|
|
182
|
+
useEffect(t6, t7);
|
|
183
|
+
let t8;
|
|
184
|
+
if ($[35] !== data || $[36] !== failed || $[37] !== group || $[38] !== loading || $[39] !== onClose || $[40] !== onSwitch || $[41] !== panel || $[42] !== previewSource || $[43] !== showPanel || $[44] !== tools || $[45] !== type) {
|
|
185
|
+
t8 = (t9) => {
|
|
186
|
+
const options = t9 === void 0 ? {} : t9;
|
|
173
187
|
if (!previewSource || failed || loading) return;
|
|
174
188
|
const previewProps = {
|
|
175
189
|
src: previewSource,
|
|
@@ -188,23 +202,23 @@ var KImage = forwardRef(function KImage(t0, ref) {
|
|
|
188
202
|
previewRef.current.show(previewProps);
|
|
189
203
|
}
|
|
190
204
|
};
|
|
191
|
-
$[
|
|
192
|
-
$[
|
|
193
|
-
$[
|
|
194
|
-
$[
|
|
195
|
-
$[
|
|
196
|
-
$[
|
|
197
|
-
$[
|
|
198
|
-
$[
|
|
199
|
-
$[
|
|
200
|
-
$[
|
|
201
|
-
$[
|
|
202
|
-
$[
|
|
203
|
-
} else
|
|
204
|
-
const show =
|
|
205
|
-
let
|
|
206
|
-
if ($[
|
|
207
|
-
|
|
205
|
+
$[35] = data;
|
|
206
|
+
$[36] = failed;
|
|
207
|
+
$[37] = group;
|
|
208
|
+
$[38] = loading;
|
|
209
|
+
$[39] = onClose;
|
|
210
|
+
$[40] = onSwitch;
|
|
211
|
+
$[41] = panel;
|
|
212
|
+
$[42] = previewSource;
|
|
213
|
+
$[43] = showPanel;
|
|
214
|
+
$[44] = tools;
|
|
215
|
+
$[45] = type;
|
|
216
|
+
$[46] = t8;
|
|
217
|
+
} else t8 = $[46];
|
|
218
|
+
const show = t8;
|
|
219
|
+
let t9;
|
|
220
|
+
if ($[47] !== group || $[48] !== show) {
|
|
221
|
+
t9 = () => ({
|
|
208
222
|
show,
|
|
209
223
|
destroy: () => {
|
|
210
224
|
previewRef.current?.destroy();
|
|
@@ -212,60 +226,60 @@ var KImage = forwardRef(function KImage(t0, ref) {
|
|
|
212
226
|
},
|
|
213
227
|
togglePanel: () => group?.togglePanel() ?? previewRef.current?.togglePanel()
|
|
214
228
|
});
|
|
215
|
-
$[
|
|
216
|
-
$[
|
|
217
|
-
$[
|
|
218
|
-
} else
|
|
219
|
-
useImperativeHandle(ref,
|
|
229
|
+
$[47] = group;
|
|
230
|
+
$[48] = show;
|
|
231
|
+
$[49] = t9;
|
|
232
|
+
} else t9 = $[49];
|
|
233
|
+
useImperativeHandle(ref, t9);
|
|
220
234
|
const dimension = _temp;
|
|
221
|
-
let
|
|
222
|
-
if ($[
|
|
223
|
-
|
|
235
|
+
let t10;
|
|
236
|
+
if ($[50] !== onClick || $[51] !== show) {
|
|
237
|
+
t10 = (event) => {
|
|
224
238
|
onClick?.(event);
|
|
225
239
|
if (!event.defaultPrevented) show();
|
|
226
240
|
};
|
|
227
|
-
$[
|
|
228
|
-
$[
|
|
229
|
-
$[
|
|
230
|
-
} else
|
|
231
|
-
const handleClick =
|
|
232
|
-
const
|
|
233
|
-
const
|
|
234
|
-
let t12;
|
|
235
|
-
if ($[50] !== className || $[51] !== t10 || $[52] !== t11) {
|
|
236
|
-
t12 = clsx("k-image", t10, t11, className);
|
|
237
|
-
$[50] = className;
|
|
238
|
-
$[51] = t10;
|
|
239
|
-
$[52] = t11;
|
|
240
|
-
$[53] = t12;
|
|
241
|
-
} else t12 = $[53];
|
|
241
|
+
$[50] = onClick;
|
|
242
|
+
$[51] = show;
|
|
243
|
+
$[52] = t10;
|
|
244
|
+
} else t10 = $[52];
|
|
245
|
+
const handleClick = t10;
|
|
246
|
+
const t11 = `k-image-${theme}`;
|
|
247
|
+
const t12 = `k-image-${shape}`;
|
|
242
248
|
let t13;
|
|
243
|
-
if ($[54] !==
|
|
244
|
-
t13 =
|
|
245
|
-
$[
|
|
246
|
-
$[
|
|
247
|
-
|
|
249
|
+
if ($[53] !== className || $[54] !== t11 || $[55] !== t12) {
|
|
250
|
+
t13 = clsx("k-image", t11, t12, className);
|
|
251
|
+
$[53] = className;
|
|
252
|
+
$[54] = t11;
|
|
253
|
+
$[55] = t12;
|
|
254
|
+
$[56] = t13;
|
|
255
|
+
} else t13 = $[56];
|
|
248
256
|
let t14;
|
|
249
|
-
if ($[
|
|
250
|
-
t14 = dimension(
|
|
251
|
-
$[
|
|
252
|
-
$[
|
|
253
|
-
} else t14 = $[
|
|
257
|
+
if ($[57] !== width) {
|
|
258
|
+
t14 = dimension(width);
|
|
259
|
+
$[57] = width;
|
|
260
|
+
$[58] = t14;
|
|
261
|
+
} else t14 = $[58];
|
|
254
262
|
let t15;
|
|
255
|
-
if ($[
|
|
256
|
-
t15 =
|
|
263
|
+
if ($[59] !== height) {
|
|
264
|
+
t15 = dimension(height);
|
|
265
|
+
$[59] = height;
|
|
266
|
+
$[60] = t15;
|
|
267
|
+
} else t15 = $[60];
|
|
268
|
+
let t16;
|
|
269
|
+
if ($[61] !== style || $[62] !== t14 || $[63] !== t15) {
|
|
270
|
+
t16 = {
|
|
257
271
|
...style,
|
|
258
|
-
width:
|
|
259
|
-
height:
|
|
272
|
+
width: t14,
|
|
273
|
+
height: t15
|
|
260
274
|
};
|
|
261
|
-
$[
|
|
262
|
-
$[
|
|
263
|
-
$[
|
|
264
|
-
$[
|
|
265
|
-
} else
|
|
266
|
-
let
|
|
267
|
-
if ($[
|
|
268
|
-
|
|
275
|
+
$[61] = style;
|
|
276
|
+
$[62] = t14;
|
|
277
|
+
$[63] = t15;
|
|
278
|
+
$[64] = t16;
|
|
279
|
+
} else t16 = $[64];
|
|
280
|
+
let t17;
|
|
281
|
+
if ($[65] !== alt || $[66] !== failed || $[67] !== imageUrl || $[68] !== imgStyle || $[69] !== loading) {
|
|
282
|
+
t17 = loading ? /* @__PURE__ */ jsx("div", {
|
|
269
283
|
className: "k-image-loading",
|
|
270
284
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
271
285
|
type: Loading,
|
|
@@ -281,31 +295,31 @@ var KImage = forwardRef(function KImage(t0, ref) {
|
|
|
281
295
|
src: imageUrl,
|
|
282
296
|
style: imgStyle
|
|
283
297
|
});
|
|
284
|
-
$[
|
|
285
|
-
$[
|
|
286
|
-
$[
|
|
287
|
-
$[
|
|
288
|
-
$[
|
|
289
|
-
$[
|
|
290
|
-
} else
|
|
291
|
-
let
|
|
292
|
-
if ($[
|
|
293
|
-
|
|
298
|
+
$[65] = alt;
|
|
299
|
+
$[66] = failed;
|
|
300
|
+
$[67] = imageUrl;
|
|
301
|
+
$[68] = imgStyle;
|
|
302
|
+
$[69] = loading;
|
|
303
|
+
$[70] = t17;
|
|
304
|
+
} else t17 = $[70];
|
|
305
|
+
let t18;
|
|
306
|
+
if ($[71] !== children || $[72] !== handleClick || $[73] !== rest || $[74] !== t13 || $[75] !== t16 || $[76] !== t17) {
|
|
307
|
+
t18 = /* @__PURE__ */ jsxs("div", {
|
|
294
308
|
...rest,
|
|
295
|
-
className:
|
|
296
|
-
style:
|
|
309
|
+
className: t13,
|
|
310
|
+
style: t16,
|
|
297
311
|
onClick: handleClick,
|
|
298
|
-
children: [
|
|
312
|
+
children: [t17, children]
|
|
299
313
|
});
|
|
300
|
-
$[
|
|
301
|
-
$[
|
|
302
|
-
$[
|
|
303
|
-
$[
|
|
304
|
-
$[
|
|
305
|
-
$[
|
|
306
|
-
$[
|
|
307
|
-
} else
|
|
308
|
-
return
|
|
314
|
+
$[71] = children;
|
|
315
|
+
$[72] = handleClick;
|
|
316
|
+
$[73] = rest;
|
|
317
|
+
$[74] = t13;
|
|
318
|
+
$[75] = t16;
|
|
319
|
+
$[76] = t17;
|
|
320
|
+
$[77] = t18;
|
|
321
|
+
} else t18 = $[77];
|
|
322
|
+
return t18;
|
|
309
323
|
});
|
|
310
324
|
function _temp(value) {
|
|
311
325
|
return typeof value === "number" ? `${value}px` : value;
|
package/es/image/instance.js
CHANGED
package/es/image/preview.js
CHANGED
package/es/image/utils.js
CHANGED
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* react-kui v3.1
|
|
2
|
+
* react-kui v3.2.1
|
|
3
3
|
* Copyright 2017-present, kui-react.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://react.k-ui.cn
|
|
@@ -19,7 +19,7 @@ import Avatar from "./avatar/avatar.js";
|
|
|
19
19
|
import AvatarGroup from "./avatar/avatar-group.js";
|
|
20
20
|
import Card, { CardMeta } from "./card/index.js";
|
|
21
21
|
import ListPanel from "./list-panel/index.js";
|
|
22
|
-
import
|
|
22
|
+
import input_group_default from "./input/input-group.js";
|
|
23
23
|
import input_default from "./input/input.js";
|
|
24
24
|
import textarea_default from "./input/textarea.js";
|
|
25
25
|
import auto_complete_default from "./auto-complete/index.js";
|
|
@@ -127,4 +127,4 @@ import { components_exports } from "./components.js";
|
|
|
127
127
|
var version = void 0;
|
|
128
128
|
var components_default = { version: void 0 };
|
|
129
129
|
//#endregion
|
|
130
|
-
export { Affix, Alert, Anchor, AnchorLink, auto_complete_default as AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Calendar, Card, CardMeta, Carousel, CarouselItem, cascader_default as Cascader, check_card_default as CheckCard, check_card_group_default as CheckCardGroup, checkbox_default as Checkbox, checkbox_group_default as CheckboxGroup, Col, Collapse, CollapsePanel, color_picker_default as ColorPicker, ColorPickerPanel, ConfigProvider, Content, date_picker_default as DatePicker, DatePickerPanel, Descriptions, DescriptionsItem, Divider, Drawer, Dropdown, DropdownButton, Empty, FeatureCard, FeedbackPanel, FlameWrap, Flex, Footer, Form, FormItem, Grid, GridItem, Header, Icon, ImageGroup, input_default as Input, InputGroup, input_number_default as InputNumber, input_otp_default as InputOTP, input_tag_default as InputTag, KImage, Kanban, Layout, ListPanel, mentions_default as Mentions, Menu, MenuDivider, MenuGroup, MenuItem, MessagePanel, Modal, ModalPanel, NoticePanel, Option, Page, PageHeader, Popconfirm, PopconfirmPanel, Poptip, PoptipPanel, Popup, Progress, QRCode, radio_default as Radio, radio_button_default as RadioButton, radio_group_default as RadioGroup, rate_default as Rate, Result, Ripple, Row, segmented_default as Segmented, select_default as Select, Sider, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText, slider_default as Slider, Space, Spin, Splitter, SplitterPanel, StatCard, StatNumber, Step, Steps, SubMenu, switch_default as Switch, TabPanel, Table, TableColumnSetting, Tabs, Tag, textarea_default as TextArea, TimeLine, TimeLineItem, Tooltip, TooltipPanel, Tour, transfer_default as Transfer, Tree, tree_select_default as TreeSelect, Typography, TypographyParagraph, TypographyText, TypographyTitle, upload_default as Upload, VirtualList, Watermark, components_exports as components, components_default as default, getVirtualRange, loading, message, modal, notice, Theme as theme, version };
|
|
130
|
+
export { Affix, Alert, Anchor, AnchorLink, auto_complete_default as AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Calendar, Card, CardMeta, Carousel, CarouselItem, cascader_default as Cascader, check_card_default as CheckCard, check_card_group_default as CheckCardGroup, checkbox_default as Checkbox, checkbox_group_default as CheckboxGroup, Col, Collapse, CollapsePanel, color_picker_default as ColorPicker, ColorPickerPanel, ConfigProvider, Content, date_picker_default as DatePicker, DatePickerPanel, Descriptions, DescriptionsItem, Divider, Drawer, Dropdown, DropdownButton, Empty, FeatureCard, FeedbackPanel, FlameWrap, Flex, Footer, Form, FormItem, Grid, GridItem, Header, Icon, ImageGroup, input_default as Input, input_group_default as InputGroup, input_number_default as InputNumber, input_otp_default as InputOTP, input_tag_default as InputTag, KImage, Kanban, Layout, ListPanel, mentions_default as Mentions, Menu, MenuDivider, MenuGroup, MenuItem, MessagePanel, Modal, ModalPanel, NoticePanel, Option, Page, PageHeader, Popconfirm, PopconfirmPanel, Poptip, PoptipPanel, Popup, Progress, QRCode, radio_default as Radio, radio_button_default as RadioButton, radio_group_default as RadioGroup, rate_default as Rate, Result, Ripple, Row, segmented_default as Segmented, select_default as Select, Sider, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText, slider_default as Slider, Space, Spin, Splitter, SplitterPanel, StatCard, StatNumber, Step, Steps, SubMenu, switch_default as Switch, TabPanel, Table, TableColumnSetting, Tabs, Tag, textarea_default as TextArea, TimeLine, TimeLineItem, Tooltip, TooltipPanel, Tour, transfer_default as Transfer, Tree, tree_select_default as TreeSelect, Typography, TypographyParagraph, TypographyText, TypographyTitle, upload_default as Upload, VirtualList, Watermark, components_exports as components, components_default as default, getVirtualRange, loading, message, modal, notice, Theme as theme, version };
|