react-kui 2.0.0 → 3.0.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.en-US.md +23 -0
- package/AI.md +76 -0
- package/LICENSE +21 -21
- package/README.zh-CN.md +142 -0
- package/ai/behaviors.json +16 -0
- package/ai/cli.mjs +27 -0
- package/ai/evals/README.md +59 -0
- package/ai/evals/cases.json +207 -0
- package/ai/evals/config.json +4 -0
- package/ai/evals/evaluate.mjs +267 -0
- package/ai/evals/run.mjs +118 -0
- package/ai/kui-components.json +58292 -0
- package/ai/kui-components.schema.json +143 -0
- package/ai/mcp.mjs +290 -0
- package/ai/skills/react-kui/SKILL.md +16 -0
- package/ai/skills/react-kui/references/components.md +9 -0
- package/ai/skills/react-kui/references/mcp.md +14 -0
- package/ai/templates/form.tsx +69 -0
- package/ai/templates/index.json +23 -0
- package/ai/templates/modal-editor.tsx +80 -0
- package/ai/templates/table.tsx +85 -0
- package/ai/validate.d.mts +16 -0
- package/ai/validate.mjs +184 -0
- package/es/_virtual/_rolldown/runtime.js +21 -0
- package/es/affix/index.js +222 -0
- package/es/alert/index.js +71 -0
- package/es/anchor/anchor-context.js +13 -0
- package/es/anchor/anchor-link.js +121 -0
- package/es/anchor/anchor.js +431 -0
- package/es/auto-complete/index.js +692 -0
- package/es/avatar/avatar-group-context.js +13 -0
- package/es/avatar/avatar-group.js +145 -0
- package/es/avatar/avatar.js +204 -0
- package/es/back-top/index.js +224 -0
- package/es/badge/index.js +66 -0
- package/es/base/teleport.js +83 -0
- package/es/base/transition-props.js +56 -0
- package/es/base/transition.js +108 -0
- package/es/breadcrumb/breadcrumb-context.js +13 -0
- package/es/breadcrumb/breadcrumb-item.js +128 -0
- package/es/breadcrumb/breadcrumb.js +75 -0
- package/es/button/button-group-context.js +13 -0
- package/es/button/button-group.js +100 -0
- package/es/button/button.js +99 -0
- package/es/calendar/index.js +271 -0
- package/es/card/index.js +157 -0
- package/es/carousel/carousel-context.js +17 -0
- package/es/carousel/carousel-item.js +71 -0
- package/es/carousel/carousel.js +453 -0
- package/es/cascader/index.js +435 -0
- package/es/check-card/check-card-group.js +211 -0
- package/es/check-card/check-card.js +326 -0
- package/es/check-card/context.js +13 -0
- package/es/checkbox/checkbox-group-context.js +13 -0
- package/es/checkbox/checkbox-group.js +168 -0
- package/es/checkbox/checkbox.js +270 -0
- package/es/checkbox/index.js +14 -0
- package/es/collapse/collapse-panel.js +233 -0
- package/es/collapse/collapse.js +186 -0
- package/es/color-picker/alpha.js +131 -0
- package/es/color-picker/hue.js +111 -0
- package/es/color-picker/index.js +329 -0
- package/es/color-picker/mode.js +178 -0
- package/es/color-picker/paint.js +175 -0
- package/es/color-picker/presets.js +80 -0
- package/es/components.js +260 -0
- package/es/config/config-context.js +13 -0
- package/es/config/context.js +26 -0
- package/es/config/index.js +52 -0
- package/es/config/size-context.js +13 -0
- package/es/config/use-config-appearance.js +39 -0
- package/es/const/var.js +31 -0
- package/es/date-picker/index.js +1257 -0
- package/es/descriptions/descriptions-item.js +25 -0
- package/es/descriptions/descriptions.js +285 -0
- package/es/divider/index.js +38 -0
- package/es/drawer/index.js +432 -0
- package/es/dropdown/dropdown-button.js +139 -0
- package/es/dropdown/dropdown-context.js +16 -0
- package/es/dropdown/dropdown.js +351 -0
- package/es/dropdown/trigger.js +88 -0
- package/es/empty/index.js +133 -0
- package/es/feature-card/index.js +74 -0
- package/es/feedback-panel/index.js +179 -0
- package/es/flame-wrap/index.js +262 -0
- package/es/flame-wrap/types.js +593 -0
- package/es/flex/index.js +46 -0
- package/es/form/field-context.js +102 -0
- package/es/form/form-context.js +13 -0
- package/es/form/form-item.js +327 -0
- package/es/form/form.js +303 -0
- package/es/form/utils.js +44 -0
- package/es/grid/grid-item.js +130 -0
- package/es/grid/grid.js +177 -0
- package/es/grid/useBreakpoint.js +64 -0
- package/es/icon/index.js +161 -0
- package/es/image/group.js +121 -0
- package/es/image/image-group-context.js +13 -0
- package/es/image/image.js +314 -0
- package/es/image/instance.js +47 -0
- package/es/image/preview.js +383 -0
- package/es/image/utils.js +39 -0
- package/es/index.js +129 -0
- package/es/input/index.js +15 -0
- package/es/input/input-box.js +40 -0
- package/es/input/input-group.js +150 -0
- package/es/input/input.js +203 -0
- package/es/input/textarea.js +135 -0
- package/es/input-number/index.js +153 -0
- package/es/input-otp/index.js +142 -0
- package/es/input-tag/index.js +178 -0
- package/es/kanban/index.js +254 -0
- package/es/layout/index.js +256 -0
- package/es/layout/layout-context.js +13 -0
- package/es/list-panel/index.js +194 -0
- package/es/loading/index.js +69 -0
- package/es/loading/loading-bar.js +133 -0
- package/es/locale/de.js +69 -0
- package/es/locale/el.js +69 -0
- package/es/locale/en.js +69 -0
- package/es/locale/fr.js +69 -0
- package/es/locale/it.js +69 -0
- package/es/locale/ja.js +69 -0
- package/es/locale/ko.js +69 -0
- package/es/locale/ru.js +69 -0
- package/es/locale/th.js +69 -0
- package/es/locale/uk.js +69 -0
- package/es/locale/vi.js +69 -0
- package/es/locale/zh-CN.js +69 -0
- package/es/locale/zh-TW.js +69 -0
- package/es/mentions/index.js +710 -0
- package/es/menu/menu-context.js +20 -0
- package/es/menu/menu-divider.js +29 -0
- package/es/menu/menu-group.js +49 -0
- package/es/menu/menu-item.js +79 -0
- package/es/menu/menu-keyboard.js +35 -0
- package/es/menu/menu.js +484 -0
- package/es/menu/recursive-menu.js +68 -0
- package/es/menu/sub-menu.js +256 -0
- package/es/message/index.js +67 -0
- package/es/modal/api.js +62 -0
- package/es/modal/modal.js +589 -0
- package/es/modal/toast.js +99 -0
- package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +189 -0
- package/es/notice/container.js +123 -0
- package/es/notice/content.js +92 -0
- package/es/notice/index.js +52 -0
- package/es/notice/instance.js +65 -0
- package/es/page/index.js +275 -0
- package/es/page-header/index.js +134 -0
- package/es/popconfirm/index.js +275 -0
- package/es/poptip/index.js +270 -0
- package/es/progress/index.js +253 -0
- package/es/qrcode/index.js +204 -0
- package/es/radio/radio-button.js +158 -0
- package/es/radio/radio-group-context.js +13 -0
- package/es/radio/radio-group.js +264 -0
- package/es/radio/radio.js +232 -0
- package/es/rate/index.js +253 -0
- package/es/rate/star.js +150 -0
- package/es/result/index.js +147 -0
- package/es/ripple/index.js +245 -0
- package/es/ripple/types.js +433 -0
- package/es/row-col/col.js +163 -0
- package/es/row-col/row.js +37 -0
- package/es/segmented/index.js +240 -0
- package/es/select/option.js +124 -0
- package/es/select/select.js +655 -0
- package/es/skeleton/skeleton-avatar.js +44 -0
- package/es/skeleton/skeleton-button.js +43 -0
- package/es/skeleton/skeleton-image.js +131 -0
- package/es/skeleton/skeleton-text.js +113 -0
- package/es/skeleton/skeleton.js +148 -0
- package/es/skeleton/use-skeleton-loading.js +53 -0
- package/es/slider/index.js +484 -0
- package/es/slider/thumb.js +158 -0
- package/es/space/index.js +94 -0
- package/es/spin/index.js +61 -0
- package/es/splitter/splitter-panel.js +50 -0
- package/es/splitter/splitter.js +310 -0
- package/es/stat-card/countup.js +157 -0
- package/es/stat-card/stat-card.js +63 -0
- package/es/stat-card/stat-number.js +125 -0
- package/es/stat-card/utils/countup.js +291 -0
- package/es/stat-card/utils/odometer.js +129 -0
- package/es/steps/index.js +139 -0
- package/es/switch/index.js +72 -0
- package/es/table/column-setting.js +179 -0
- package/es/table/index.js +506 -0
- package/es/table/utils.js +34 -0
- package/es/tabs/tab-panel.js +86 -0
- package/es/tabs/tabs.js +263 -0
- package/es/tag/index.js +74 -0
- package/es/time-line/timeline-item.js +133 -0
- package/es/time-line/timeline.js +55 -0
- package/es/tooltip/index.js +278 -0
- package/es/tour/index.js +379 -0
- package/es/transfer/index.js +511 -0
- package/es/tree/index.js +488 -0
- package/es/tree/utils.js +101 -0
- package/es/tree-select/index.js +938 -0
- package/es/typography/index.js +359 -0
- package/es/upload/file-list.js +143 -0
- package/es/upload/index.js +434 -0
- package/es/upload/picture-sort.js +142 -0
- package/es/upload/selector.js +207 -0
- package/es/utils/checked.js +24 -0
- package/es/utils/color.js +15 -0
- package/es/utils/number.js +74 -0
- package/es/utils/placement.js +151 -0
- package/es/utils/react-node.js +63 -0
- package/es/utils/share.js +12 -0
- package/es/utils/theme.js +57 -0
- package/es/utils/transition.js +58 -0
- package/es/utils/use-value.js +60 -0
- package/es/virtual-list/index.js +252 -0
- package/es/virtual-list/range.js +27 -0
- package/es/watermark/index.js +313 -0
- package/lib/index.cjs +9 -0
- package/lib/locale/de.cjs +9 -0
- package/lib/locale/el.cjs +9 -0
- package/lib/locale/en.cjs +9 -0
- package/lib/locale/fr.cjs +9 -0
- package/lib/locale/it.cjs +9 -0
- package/lib/locale/ja.cjs +9 -0
- package/lib/locale/ko.cjs +9 -0
- package/lib/locale/ru.cjs +9 -0
- package/lib/locale/th.cjs +9 -0
- package/lib/locale/uk.cjs +9 -0
- package/lib/locale/vi.cjs +9 -0
- package/lib/locale/zh-CN.cjs +9 -0
- package/lib/locale/zh-TW.cjs +9 -0
- package/package.json +175 -94
- package/readme.md +142 -82
- package/style/base.css +9 -0
- package/style/components.css +9 -0
- package/style/index.css +9 -0
- package/style/theme.css +9 -0
- package/types/affix/index.d.cts +9 -0
- package/types/affix/index.d.ts +9 -0
- package/types/alert/index.d.cts +18 -0
- package/types/alert/index.d.ts +18 -0
- package/types/anchor/anchor-context.d.cts +7 -0
- package/types/anchor/anchor-context.d.ts +7 -0
- package/types/anchor/anchor-link.d.cts +6 -0
- package/types/anchor/anchor-link.d.ts +6 -0
- package/types/anchor/anchor.d.cts +10 -0
- package/types/anchor/anchor.d.ts +10 -0
- package/types/anchor/index.d.cts +5 -0
- package/types/anchor/index.d.ts +5 -0
- package/types/auto-complete/index.d.cts +28 -0
- package/types/auto-complete/index.d.ts +28 -0
- package/types/avatar/avatar-group-context.d.cts +7 -0
- package/types/avatar/avatar-group-context.d.ts +7 -0
- package/types/avatar/avatar-group.d.cts +11 -0
- package/types/avatar/avatar-group.d.ts +11 -0
- package/types/avatar/avatar.d.cts +14 -0
- package/types/avatar/avatar.d.ts +14 -0
- package/types/avatar/index.d.cts +5 -0
- package/types/avatar/index.d.ts +5 -0
- package/types/back-top/index.d.cts +11 -0
- package/types/back-top/index.d.ts +11 -0
- package/types/badge/index.d.cts +15 -0
- package/types/badge/index.d.ts +15 -0
- package/types/base/teleport.d.cts +13 -0
- package/types/base/teleport.d.ts +13 -0
- package/types/base/transition-props.d.cts +4 -0
- package/types/base/transition-props.d.ts +4 -0
- package/types/base/transition.d.cts +27 -0
- package/types/base/transition.d.ts +27 -0
- package/types/breadcrumb/breadcrumb-context.d.cts +2 -0
- package/types/breadcrumb/breadcrumb-context.d.ts +2 -0
- package/types/breadcrumb/breadcrumb-item.d.cts +11 -0
- package/types/breadcrumb/breadcrumb-item.d.ts +11 -0
- package/types/breadcrumb/breadcrumb.d.cts +7 -0
- package/types/breadcrumb/breadcrumb.d.ts +7 -0
- package/types/breadcrumb/index.d.cts +5 -0
- package/types/breadcrumb/index.d.ts +5 -0
- package/types/button/button-group-context.d.cts +6 -0
- package/types/button/button-group-context.d.ts +6 -0
- package/types/button/button-group.d.cts +9 -0
- package/types/button/button-group.d.ts +9 -0
- package/types/button/button.d.cts +20 -0
- package/types/button/button.d.ts +20 -0
- package/types/button/index.d.cts +5 -0
- package/types/button/index.d.ts +5 -0
- package/types/calendar/index.d.cts +36 -0
- package/types/calendar/index.d.ts +36 -0
- package/types/card/index.d.cts +22 -0
- package/types/card/index.d.ts +22 -0
- package/types/carousel/carousel-context.d.cts +6 -0
- package/types/carousel/carousel-context.d.ts +6 -0
- package/types/carousel/carousel-item.d.cts +3 -0
- package/types/carousel/carousel-item.d.ts +3 -0
- package/types/carousel/carousel.d.cts +18 -0
- package/types/carousel/carousel.d.ts +18 -0
- package/types/carousel/index.d.cts +5 -0
- package/types/carousel/index.d.ts +5 -0
- package/types/cascader/index.d.cts +5 -0
- package/types/cascader/index.d.ts +5 -0
- package/types/cascader/types.d.cts +38 -0
- package/types/cascader/types.d.ts +38 -0
- package/types/check-card/check-card-group.d.cts +4 -0
- package/types/check-card/check-card-group.d.ts +4 -0
- package/types/check-card/check-card.d.cts +4 -0
- package/types/check-card/check-card.d.ts +4 -0
- package/types/check-card/context.d.cts +14 -0
- package/types/check-card/context.d.ts +14 -0
- package/types/check-card/index.d.cts +4 -0
- package/types/check-card/index.d.ts +4 -0
- package/types/check-card/types.d.cts +46 -0
- package/types/check-card/types.d.ts +46 -0
- package/types/checkbox/checkbox-group-context.d.cts +11 -0
- package/types/checkbox/checkbox-group-context.d.ts +11 -0
- package/types/checkbox/checkbox-group.d.cts +22 -0
- package/types/checkbox/checkbox-group.d.ts +22 -0
- package/types/checkbox/checkbox.d.cts +23 -0
- package/types/checkbox/checkbox.d.ts +23 -0
- package/types/checkbox/index.d.cts +6 -0
- package/types/checkbox/index.d.ts +6 -0
- package/types/collapse/collapse-panel.d.cts +12 -0
- package/types/collapse/collapse-panel.d.ts +12 -0
- package/types/collapse/collapse.d.cts +15 -0
- package/types/collapse/collapse.d.ts +15 -0
- package/types/collapse/index.d.cts +6 -0
- package/types/collapse/index.d.ts +6 -0
- package/types/color-picker/alpha.d.cts +6 -0
- package/types/color-picker/alpha.d.ts +6 -0
- package/types/color-picker/hue.d.cts +5 -0
- package/types/color-picker/hue.d.ts +5 -0
- package/types/color-picker/index.d.cts +30 -0
- package/types/color-picker/index.d.ts +30 -0
- package/types/color-picker/mode.d.cts +10 -0
- package/types/color-picker/mode.d.ts +10 -0
- package/types/color-picker/paint.d.cts +7 -0
- package/types/color-picker/paint.d.ts +7 -0
- package/types/color-picker/presets.d.cts +7 -0
- package/types/color-picker/presets.d.ts +7 -0
- package/types/components.d.cts +165 -0
- package/types/components.d.ts +165 -0
- package/types/config/config-context.d.cts +11 -0
- package/types/config/config-context.d.ts +11 -0
- package/types/config/context.d.cts +7 -0
- package/types/config/context.d.ts +7 -0
- package/types/config/index.d.cts +14 -0
- package/types/config/index.d.ts +14 -0
- package/types/config/size-context.d.cts +3 -0
- package/types/config/size-context.d.ts +3 -0
- package/types/config/use-config-appearance.d.cts +7 -0
- package/types/config/use-config-appearance.d.ts +7 -0
- package/types/const/types.d.cts +22 -0
- package/types/const/types.d.ts +22 -0
- package/types/const/var.d.cts +1 -0
- package/types/const/var.d.ts +1 -0
- package/types/date-picker/index.d.cts +54 -0
- package/types/date-picker/index.d.ts +54 -0
- package/types/descriptions/descriptions-item.d.cts +5 -0
- package/types/descriptions/descriptions-item.d.ts +5 -0
- package/types/descriptions/descriptions.d.cts +21 -0
- package/types/descriptions/descriptions.d.ts +21 -0
- package/types/descriptions/index.d.cts +4 -0
- package/types/descriptions/index.d.ts +4 -0
- package/types/directives/outsiteclick.d.cts +3 -0
- package/types/directives/outsiteclick.d.ts +3 -0
- package/types/directives/resize.d.cts +3 -0
- package/types/directives/resize.d.ts +3 -0
- package/types/directives/scroll.d.cts +3 -0
- package/types/directives/scroll.d.ts +3 -0
- package/types/directives/transfer.d.cts +2 -0
- package/types/directives/transfer.d.ts +2 -0
- package/types/divider/index.d.cts +14 -0
- package/types/divider/index.d.ts +14 -0
- package/types/drawer/index.d.cts +27 -0
- package/types/drawer/index.d.ts +27 -0
- package/types/dropdown/dropdown-button.d.cts +17 -0
- package/types/dropdown/dropdown-button.d.ts +17 -0
- package/types/dropdown/dropdown-context.d.cts +11 -0
- package/types/dropdown/dropdown-context.d.ts +11 -0
- package/types/dropdown/dropdown.d.cts +18 -0
- package/types/dropdown/dropdown.d.ts +18 -0
- package/types/dropdown/index.d.cts +4 -0
- package/types/dropdown/index.d.ts +4 -0
- package/types/dropdown/trigger.d.cts +9 -0
- package/types/dropdown/trigger.d.ts +9 -0
- package/types/empty/index.d.cts +9 -0
- package/types/empty/index.d.ts +9 -0
- package/types/feature-card/index.d.cts +20 -0
- package/types/feature-card/index.d.ts +20 -0
- package/types/feedback-panel/index.d.cts +15 -0
- package/types/feedback-panel/index.d.ts +15 -0
- package/types/flame-wrap/index.d.cts +3 -0
- package/types/flame-wrap/index.d.ts +3 -0
- package/types/flame-wrap/types.d.cts +71 -0
- package/types/flame-wrap/types.d.ts +71 -0
- package/types/flex/index.d.cts +15 -0
- package/types/flex/index.d.ts +15 -0
- package/types/form/field-context.d.cts +39 -0
- package/types/form/field-context.d.ts +39 -0
- package/types/form/form-context.d.cts +22 -0
- package/types/form/form-context.d.ts +22 -0
- package/types/form/form-item.d.cts +12 -0
- package/types/form/form-item.d.ts +12 -0
- package/types/form/form.d.cts +40 -0
- package/types/form/form.d.ts +40 -0
- package/types/form/index.d.cts +7 -0
- package/types/form/index.d.ts +7 -0
- package/types/form/types.d.cts +20 -0
- package/types/form/types.d.ts +20 -0
- package/types/form/utils.d.cts +6 -0
- package/types/form/utils.d.ts +6 -0
- package/types/grid/grid-item.d.cts +10 -0
- package/types/grid/grid-item.d.ts +10 -0
- package/types/grid/grid.d.cts +17 -0
- package/types/grid/grid.d.ts +17 -0
- package/types/grid/index.d.cts +6 -0
- package/types/grid/index.d.ts +6 -0
- package/types/grid/useBreakpoint.d.cts +11 -0
- package/types/grid/useBreakpoint.d.ts +11 -0
- package/types/icon/index.d.cts +15 -0
- package/types/icon/index.d.ts +15 -0
- package/types/image/group.d.cts +5 -0
- package/types/image/group.d.ts +5 -0
- package/types/image/image-group-context.d.cts +8 -0
- package/types/image/image-group-context.d.ts +8 -0
- package/types/image/image.d.cts +28 -0
- package/types/image/image.d.ts +28 -0
- package/types/image/index.d.cts +6 -0
- package/types/image/index.d.ts +6 -0
- package/types/image/instance.d.cts +5 -0
- package/types/image/instance.d.ts +5 -0
- package/types/image/preview.d.cts +19 -0
- package/types/image/preview.d.ts +19 -0
- package/types/image/utils.d.cts +6 -0
- package/types/image/utils.d.ts +6 -0
- package/types/index.d.cts +8 -0
- package/types/index.d.ts +8 -0
- package/types/input/index.d.cts +8 -0
- package/types/input/index.d.ts +8 -0
- package/types/input/input-box.d.cts +14 -0
- package/types/input/input-box.d.ts +14 -0
- package/types/input/input-group.d.cts +11 -0
- package/types/input/input-group.d.ts +11 -0
- package/types/input/input.d.cts +28 -0
- package/types/input/input.d.ts +28 -0
- package/types/input/textarea.d.cts +11 -0
- package/types/input/textarea.d.ts +11 -0
- package/types/input-number/index.d.cts +27 -0
- package/types/input-number/index.d.ts +27 -0
- package/types/input-otp/index.d.cts +27 -0
- package/types/input-otp/index.d.ts +27 -0
- package/types/input-tag/index.d.cts +23 -0
- package/types/input-tag/index.d.ts +23 -0
- package/types/kanban/index.d.cts +31 -0
- package/types/kanban/index.d.ts +31 -0
- package/types/layout/index.d.cts +29 -0
- package/types/layout/index.d.ts +29 -0
- package/types/layout/layout-context.d.cts +1 -0
- package/types/layout/layout-context.d.ts +1 -0
- package/types/list-panel/index.d.cts +16 -0
- package/types/list-panel/index.d.ts +16 -0
- package/types/loading/index.d.cts +10 -0
- package/types/loading/index.d.ts +10 -0
- package/types/loading/loading-bar.d.cts +12 -0
- package/types/loading/loading-bar.d.ts +12 -0
- package/types/locale/de.d.cts +65 -0
- package/types/locale/de.d.ts +65 -0
- package/types/locale/el.d.cts +65 -0
- package/types/locale/el.d.ts +65 -0
- package/types/locale/en.d.cts +65 -0
- package/types/locale/en.d.ts +65 -0
- package/types/locale/fr.d.cts +65 -0
- package/types/locale/fr.d.ts +65 -0
- package/types/locale/it.d.cts +65 -0
- package/types/locale/it.d.ts +65 -0
- package/types/locale/ja.d.cts +65 -0
- package/types/locale/ja.d.ts +65 -0
- package/types/locale/ko.d.cts +65 -0
- package/types/locale/ko.d.ts +65 -0
- package/types/locale/ru.d.cts +65 -0
- package/types/locale/ru.d.ts +65 -0
- package/types/locale/th.d.cts +65 -0
- package/types/locale/th.d.ts +65 -0
- package/types/locale/uk.d.cts +65 -0
- package/types/locale/uk.d.ts +65 -0
- package/types/locale/vi.d.cts +65 -0
- package/types/locale/vi.d.ts +65 -0
- package/types/locale/zh-CN.d.cts +65 -0
- package/types/locale/zh-CN.d.ts +65 -0
- package/types/locale/zh-TW.d.cts +65 -0
- package/types/locale/zh-TW.d.ts +65 -0
- package/types/mentions/index.d.cts +28 -0
- package/types/mentions/index.d.ts +28 -0
- package/types/menu/index.d.cts +7 -0
- package/types/menu/index.d.ts +7 -0
- package/types/menu/menu-context.d.cts +24 -0
- package/types/menu/menu-context.d.ts +24 -0
- package/types/menu/menu-divider.d.cts +3 -0
- package/types/menu/menu-divider.d.ts +3 -0
- package/types/menu/menu-group.d.cts +7 -0
- package/types/menu/menu-group.d.ts +7 -0
- package/types/menu/menu-item.d.cts +15 -0
- package/types/menu/menu-item.d.ts +15 -0
- package/types/menu/menu-keyboard.d.cts +7 -0
- package/types/menu/menu-keyboard.d.ts +7 -0
- package/types/menu/menu.d.cts +33 -0
- package/types/menu/menu.d.ts +33 -0
- package/types/menu/recursive-menu.d.cts +7 -0
- package/types/menu/recursive-menu.d.ts +7 -0
- package/types/menu/sub-menu.d.cts +12 -0
- package/types/menu/sub-menu.d.ts +12 -0
- package/types/message/index.d.cts +24 -0
- package/types/message/index.d.ts +24 -0
- package/types/modal/api.d.cts +26 -0
- package/types/modal/api.d.ts +26 -0
- package/types/modal/index.d.cts +4 -0
- package/types/modal/index.d.ts +4 -0
- package/types/modal/modal.d.cts +32 -0
- package/types/modal/modal.d.ts +32 -0
- package/types/modal/toast.d.cts +15 -0
- package/types/modal/toast.d.ts +15 -0
- package/types/notice/container.d.cts +9 -0
- package/types/notice/container.d.ts +9 -0
- package/types/notice/content.d.cts +22 -0
- package/types/notice/content.d.ts +22 -0
- package/types/notice/index.d.cts +24 -0
- package/types/notice/index.d.ts +24 -0
- package/types/notice/instance.d.cts +7 -0
- package/types/notice/instance.d.ts +7 -0
- package/types/page/index.d.cts +19 -0
- package/types/page/index.d.ts +19 -0
- package/types/page-header/index.d.cts +10 -0
- package/types/page-header/index.d.ts +10 -0
- package/types/popconfirm/index.d.cts +27 -0
- package/types/popconfirm/index.d.ts +27 -0
- package/types/poptip/index.d.cts +25 -0
- package/types/poptip/index.d.ts +25 -0
- package/types/progress/index.d.cts +21 -0
- package/types/progress/index.d.ts +21 -0
- package/types/qrcode/index.d.cts +28 -0
- package/types/qrcode/index.d.ts +28 -0
- package/types/radio/index.d.cts +7 -0
- package/types/radio/index.d.ts +7 -0
- package/types/radio/radio-button.d.cts +20 -0
- package/types/radio/radio-button.d.ts +20 -0
- package/types/radio/radio-group-context.d.cts +13 -0
- package/types/radio/radio-group-context.d.ts +13 -0
- package/types/radio/radio-group.d.cts +26 -0
- package/types/radio/radio-group.d.ts +26 -0
- package/types/radio/radio.d.cts +17 -0
- package/types/radio/radio.d.ts +17 -0
- package/types/radio/types.d.cts +5 -0
- package/types/radio/types.d.ts +5 -0
- package/types/rate/index.d.cts +22 -0
- package/types/rate/index.d.ts +22 -0
- package/types/rate/star.d.cts +19 -0
- package/types/rate/star.d.ts +19 -0
- package/types/result/index.d.cts +12 -0
- package/types/result/index.d.ts +12 -0
- package/types/ripple/index.d.cts +10 -0
- package/types/ripple/index.d.ts +10 -0
- package/types/ripple/types.d.cts +48 -0
- package/types/ripple/types.d.ts +48 -0
- package/types/row-col/col.d.cts +26 -0
- package/types/row-col/col.d.ts +26 -0
- package/types/row-col/index.d.cts +5 -0
- package/types/row-col/index.d.ts +5 -0
- package/types/row-col/row.d.cts +9 -0
- package/types/row-col/row.d.ts +9 -0
- package/types/segmented/index.d.cts +25 -0
- package/types/segmented/index.d.ts +25 -0
- package/types/select/index.d.cts +5 -0
- package/types/select/index.d.ts +5 -0
- package/types/select/option.d.cts +17 -0
- package/types/select/option.d.ts +17 -0
- package/types/select/select.d.cts +51 -0
- package/types/select/select.d.ts +51 -0
- package/types/skeleton/index.d.cts +11 -0
- package/types/skeleton/index.d.ts +11 -0
- package/types/skeleton/skeleton-avatar.d.cts +13 -0
- package/types/skeleton/skeleton-avatar.d.ts +13 -0
- package/types/skeleton/skeleton-button.d.cts +14 -0
- package/types/skeleton/skeleton-button.d.ts +14 -0
- package/types/skeleton/skeleton-image.d.cts +11 -0
- package/types/skeleton/skeleton-image.d.ts +11 -0
- package/types/skeleton/skeleton-text.d.cts +12 -0
- package/types/skeleton/skeleton-text.d.ts +12 -0
- package/types/skeleton/skeleton.d.cts +19 -0
- package/types/skeleton/skeleton.d.ts +19 -0
- package/types/skeleton/use-skeleton-loading.d.cts +1 -0
- package/types/skeleton/use-skeleton-loading.d.ts +1 -0
- package/types/slider/index.d.cts +21 -0
- package/types/slider/index.d.ts +21 -0
- package/types/slider/thumb.d.cts +17 -0
- package/types/slider/thumb.d.ts +17 -0
- package/types/space/index.d.cts +15 -0
- package/types/space/index.d.ts +15 -0
- package/types/spin/index.d.cts +11 -0
- package/types/spin/index.d.ts +11 -0
- package/types/splitter/index.d.cts +4 -0
- package/types/splitter/index.d.ts +4 -0
- package/types/splitter/splitter-panel.d.cts +7 -0
- package/types/splitter/splitter-panel.d.ts +7 -0
- package/types/splitter/splitter.d.cts +9 -0
- package/types/splitter/splitter.d.ts +9 -0
- package/types/stat-card/countup.d.cts +11 -0
- package/types/stat-card/countup.d.ts +11 -0
- package/types/stat-card/index.d.cts +5 -0
- package/types/stat-card/index.d.ts +5 -0
- package/types/stat-card/rollup.d.cts +7 -0
- package/types/stat-card/rollup.d.ts +7 -0
- package/types/stat-card/stat-card.d.cts +31 -0
- package/types/stat-card/stat-card.d.ts +31 -0
- package/types/stat-card/stat-number.d.cts +13 -0
- package/types/stat-card/stat-number.d.ts +13 -0
- package/types/stat-card/utils/countup.d.cts +128 -0
- package/types/stat-card/utils/countup.d.ts +128 -0
- package/types/stat-card/utils/odometer.d.cts +14 -0
- package/types/stat-card/utils/odometer.d.ts +14 -0
- package/types/steps/index.d.cts +20 -0
- package/types/steps/index.d.ts +20 -0
- package/types/switch/index.d.cts +21 -0
- package/types/switch/index.d.ts +21 -0
- package/types/table/column-setting.d.cts +28 -0
- package/types/table/column-setting.d.ts +28 -0
- package/types/table/index.d.cts +5 -0
- package/types/table/index.d.ts +5 -0
- package/types/table/types.d.cts +66 -0
- package/types/table/types.d.ts +66 -0
- package/types/table/utils.d.cts +14 -0
- package/types/table/utils.d.ts +14 -0
- package/types/tabs/index.d.cts +5 -0
- package/types/tabs/index.d.ts +5 -0
- package/types/tabs/tab-panel.d.cts +17 -0
- package/types/tabs/tab-panel.d.ts +17 -0
- package/types/tabs/tabs.d.cts +16 -0
- package/types/tabs/tabs.d.ts +16 -0
- package/types/tabs/types.d.cts +16 -0
- package/types/tabs/types.d.ts +16 -0
- package/types/tag/index.d.cts +16 -0
- package/types/tag/index.d.ts +16 -0
- package/types/time-line/index.d.cts +5 -0
- package/types/time-line/index.d.ts +5 -0
- package/types/time-line/timeline-item.d.cts +10 -0
- package/types/time-line/timeline-item.d.ts +10 -0
- package/types/time-line/timeline.d.cts +6 -0
- package/types/time-line/timeline.d.ts +6 -0
- package/types/tooltip/index.d.cts +23 -0
- package/types/tooltip/index.d.ts +23 -0
- package/types/tour/index.d.cts +22 -0
- package/types/tour/index.d.ts +22 -0
- package/types/transfer/index.d.cts +33 -0
- package/types/transfer/index.d.ts +33 -0
- package/types/tree/index.d.cts +51 -0
- package/types/tree/index.d.ts +51 -0
- package/types/tree/types.d.cts +27 -0
- package/types/tree/types.d.ts +27 -0
- package/types/tree/utils.d.cts +33 -0
- package/types/tree/utils.d.ts +33 -0
- package/types/tree-select/index.d.cts +60 -0
- package/types/tree-select/index.d.ts +60 -0
- package/types/typography/index.d.cts +40 -0
- package/types/typography/index.d.ts +40 -0
- package/types/upload/file-list.d.cts +19 -0
- package/types/upload/file-list.d.ts +19 -0
- package/types/upload/index.d.cts +90 -0
- package/types/upload/index.d.ts +90 -0
- package/types/upload/picture-sort.d.cts +2 -0
- package/types/upload/picture-sort.d.ts +2 -0
- package/types/upload/selector.d.cts +21 -0
- package/types/upload/selector.d.ts +21 -0
- package/types/utils/checked.d.cts +2 -0
- package/types/utils/checked.d.ts +2 -0
- package/types/utils/color.d.cts +1 -0
- package/types/utils/color.d.ts +1 -0
- package/types/utils/element.d.cts +2 -0
- package/types/utils/element.d.ts +2 -0
- package/types/utils/mouse.d.cts +1 -0
- package/types/utils/mouse.d.ts +1 -0
- package/types/utils/number.d.cts +6 -0
- package/types/utils/number.d.ts +6 -0
- package/types/utils/placement.d.cts +16 -0
- package/types/utils/placement.d.ts +16 -0
- package/types/utils/react-node.d.cts +5 -0
- package/types/utils/react-node.d.ts +5 -0
- package/types/utils/share.d.cts +12 -0
- package/types/utils/share.d.ts +12 -0
- package/types/utils/theme.d.cts +5 -0
- package/types/utils/theme.d.ts +5 -0
- package/types/utils/transition.d.cts +3 -0
- package/types/utils/transition.d.ts +3 -0
- package/types/utils/use-value.d.cts +2 -0
- package/types/utils/use-value.d.ts +2 -0
- package/types/virtual-list/index.d.cts +17 -0
- package/types/virtual-list/index.d.ts +17 -0
- package/types/virtual-list/range.d.cts +15 -0
- package/types/virtual-list/range.d.ts +15 -0
- package/types/watermark/index.d.cts +27 -0
- package/types/watermark/index.d.ts +27 -0
- package/dist/k-ui.css +0 -7
- package/dist/k-ui.js +0 -13
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* react-kui v3.0.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 input_default from "../input/input.js";
|
|
10
|
+
import input_number_default from "../input-number/index.js";
|
|
11
|
+
import { isColor } from "../utils/color.js";
|
|
12
|
+
import select_default from "../select/select.js";
|
|
13
|
+
import { c } from "react/compiler-runtime";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import Color from "color";
|
|
16
|
+
//#region components/color-picker/mode.tsx
|
|
17
|
+
function Mode(t0) {
|
|
18
|
+
const $ = c(26);
|
|
19
|
+
const { value, mode: t1, disabledAlpha, onUpdateMode, onUpdateColorValue } = t0;
|
|
20
|
+
const mode = t1 === void 0 ? "hex" : t1;
|
|
21
|
+
let alpha;
|
|
22
|
+
let change;
|
|
23
|
+
let t2;
|
|
24
|
+
if ($[0] !== mode || $[1] !== onUpdateColorValue || $[2] !== value) {
|
|
25
|
+
const color = Color(value);
|
|
26
|
+
alpha = color.alpha();
|
|
27
|
+
let t3;
|
|
28
|
+
if ($[6] !== onUpdateColorValue || $[7] !== value) {
|
|
29
|
+
t3 = (number, channel) => {
|
|
30
|
+
if (number == null) return;
|
|
31
|
+
let next = Color(value);
|
|
32
|
+
if (channel === "r") next = next.red(number);
|
|
33
|
+
else if (channel === "g") next = next.green(number);
|
|
34
|
+
else if (channel === "b") next = next.blue(number);
|
|
35
|
+
else if (channel === "a") next = next.alpha(number / 100);
|
|
36
|
+
else if (channel === "h") next = next.hue(number);
|
|
37
|
+
else if (channel === "s") next = next.saturationl(number);
|
|
38
|
+
else next = next.lightness(number);
|
|
39
|
+
onUpdateColorValue?.(next);
|
|
40
|
+
};
|
|
41
|
+
$[6] = onUpdateColorValue;
|
|
42
|
+
$[7] = value;
|
|
43
|
+
$[8] = t3;
|
|
44
|
+
} else t3 = $[8];
|
|
45
|
+
change = t3;
|
|
46
|
+
t2 = mode === "hex" ? /* @__PURE__ */ jsx(input_default, {
|
|
47
|
+
prefix: "#",
|
|
48
|
+
size: "small",
|
|
49
|
+
value: color.hex().slice(1),
|
|
50
|
+
onChange: (hex) => isColor(`#${hex}`) && onUpdateColorValue?.(Color(`#${hex}`).alpha(alpha))
|
|
51
|
+
}) : mode === "rgb" ? color.rgb().array().slice(0, 3).map((item, index) => /* @__PURE__ */ jsx(input_number_default, {
|
|
52
|
+
size: "small",
|
|
53
|
+
min: 0,
|
|
54
|
+
max: 255,
|
|
55
|
+
value: Math.round(item),
|
|
56
|
+
onChange: (number_0) => change(number_0, [
|
|
57
|
+
"r",
|
|
58
|
+
"g",
|
|
59
|
+
"b"
|
|
60
|
+
][index])
|
|
61
|
+
}, index)) : color.hsl().array().slice(0, 3).map((item_0, index_0) => /* @__PURE__ */ jsx(input_number_default, {
|
|
62
|
+
size: "small",
|
|
63
|
+
min: 0,
|
|
64
|
+
max: index_0 ? 100 : 359,
|
|
65
|
+
value: Math.round(item_0),
|
|
66
|
+
formatter: index_0 ? _temp : void 0,
|
|
67
|
+
parser: index_0 ? _temp2 : void 0,
|
|
68
|
+
onChange: (number_2) => change(number_2, [
|
|
69
|
+
"h",
|
|
70
|
+
"s",
|
|
71
|
+
"l"
|
|
72
|
+
][index_0])
|
|
73
|
+
}, index_0));
|
|
74
|
+
$[0] = mode;
|
|
75
|
+
$[1] = onUpdateColorValue;
|
|
76
|
+
$[2] = value;
|
|
77
|
+
$[3] = alpha;
|
|
78
|
+
$[4] = change;
|
|
79
|
+
$[5] = t2;
|
|
80
|
+
} else {
|
|
81
|
+
alpha = $[3];
|
|
82
|
+
change = $[4];
|
|
83
|
+
t2 = $[5];
|
|
84
|
+
}
|
|
85
|
+
const inputs = t2;
|
|
86
|
+
const t3 = `k-color-picker-mode k-color-picker-${mode}`;
|
|
87
|
+
let t4;
|
|
88
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
89
|
+
t4 = [
|
|
90
|
+
{
|
|
91
|
+
label: "HEX",
|
|
92
|
+
value: "hex"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "RGB",
|
|
96
|
+
value: "rgb"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
label: "HSL",
|
|
100
|
+
value: "hsl"
|
|
101
|
+
}
|
|
102
|
+
];
|
|
103
|
+
$[9] = t4;
|
|
104
|
+
} else t4 = $[9];
|
|
105
|
+
let t5;
|
|
106
|
+
if ($[10] !== onUpdateMode) {
|
|
107
|
+
t5 = (next_0) => onUpdateMode?.(next_0);
|
|
108
|
+
$[10] = onUpdateMode;
|
|
109
|
+
$[11] = t5;
|
|
110
|
+
} else t5 = $[11];
|
|
111
|
+
let t6;
|
|
112
|
+
if ($[12] !== mode || $[13] !== t5) {
|
|
113
|
+
t6 = /* @__PURE__ */ jsx(select_default, {
|
|
114
|
+
clearable: false,
|
|
115
|
+
bordered: false,
|
|
116
|
+
size: "small",
|
|
117
|
+
value: mode,
|
|
118
|
+
options: t4,
|
|
119
|
+
onChange: t5
|
|
120
|
+
});
|
|
121
|
+
$[12] = mode;
|
|
122
|
+
$[13] = t5;
|
|
123
|
+
$[14] = t6;
|
|
124
|
+
} else t6 = $[14];
|
|
125
|
+
let t7;
|
|
126
|
+
if ($[15] !== alpha || $[16] !== change || $[17] !== disabledAlpha) {
|
|
127
|
+
t7 = !disabledAlpha && /* @__PURE__ */ jsx(input_number_default, {
|
|
128
|
+
className: "k-color-picker-alpha-input",
|
|
129
|
+
value: Math.round(alpha * 100),
|
|
130
|
+
size: "small",
|
|
131
|
+
min: 0,
|
|
132
|
+
max: 100,
|
|
133
|
+
formatter: _temp3,
|
|
134
|
+
parser: _temp4,
|
|
135
|
+
onChange: (number_4) => change(number_4, "a")
|
|
136
|
+
});
|
|
137
|
+
$[15] = alpha;
|
|
138
|
+
$[16] = change;
|
|
139
|
+
$[17] = disabledAlpha;
|
|
140
|
+
$[18] = t7;
|
|
141
|
+
} else t7 = $[18];
|
|
142
|
+
let t8;
|
|
143
|
+
if ($[19] !== inputs || $[20] !== t7) {
|
|
144
|
+
t8 = /* @__PURE__ */ jsxs("div", {
|
|
145
|
+
className: "k-color-picker-val",
|
|
146
|
+
children: [inputs, t7]
|
|
147
|
+
});
|
|
148
|
+
$[19] = inputs;
|
|
149
|
+
$[20] = t7;
|
|
150
|
+
$[21] = t8;
|
|
151
|
+
} else t8 = $[21];
|
|
152
|
+
let t9;
|
|
153
|
+
if ($[22] !== t3 || $[23] !== t6 || $[24] !== t8) {
|
|
154
|
+
t9 = /* @__PURE__ */ jsxs("div", {
|
|
155
|
+
className: t3,
|
|
156
|
+
children: [t6, t8]
|
|
157
|
+
});
|
|
158
|
+
$[22] = t3;
|
|
159
|
+
$[23] = t6;
|
|
160
|
+
$[24] = t8;
|
|
161
|
+
$[25] = t9;
|
|
162
|
+
} else t9 = $[25];
|
|
163
|
+
return t9;
|
|
164
|
+
}
|
|
165
|
+
function _temp4(text_0) {
|
|
166
|
+
return text_0.replace("%", "");
|
|
167
|
+
}
|
|
168
|
+
function _temp3(number_3) {
|
|
169
|
+
return `${number_3}%`;
|
|
170
|
+
}
|
|
171
|
+
function _temp2(text) {
|
|
172
|
+
return text.replace("%", "");
|
|
173
|
+
}
|
|
174
|
+
function _temp(number_1) {
|
|
175
|
+
return `${number_1}%`;
|
|
176
|
+
}
|
|
177
|
+
//#endregion
|
|
178
|
+
export { Mode as default };
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* react-kui v3.0.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 { clamp } from "../utils/share.js";
|
|
10
|
+
import { c } from "react/compiler-runtime";
|
|
11
|
+
import { useEffect, useRef, useState } from "react";
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
import Color from "color";
|
|
14
|
+
//#region components/color-picker/paint.tsx
|
|
15
|
+
function Paint(t0) {
|
|
16
|
+
const $ = c(25);
|
|
17
|
+
const { hue: t1, value, onUpdateRGB } = t0;
|
|
18
|
+
const hue = t1 === void 0 ? 0 : t1;
|
|
19
|
+
const canvasRef = useRef(null);
|
|
20
|
+
const dragCleanupRef = useRef(_temp);
|
|
21
|
+
const draggingRef = useRef(false);
|
|
22
|
+
let t2;
|
|
23
|
+
if ($[0] !== value) {
|
|
24
|
+
t2 = Color(value).hsv().object();
|
|
25
|
+
$[0] = value;
|
|
26
|
+
$[1] = t2;
|
|
27
|
+
} else t2 = $[1];
|
|
28
|
+
const hsv = t2;
|
|
29
|
+
let t3;
|
|
30
|
+
if ($[2] !== hsv.s || $[3] !== hsv.v) {
|
|
31
|
+
t3 = () => ({
|
|
32
|
+
x: hsv.s / 100 * 234 - 7,
|
|
33
|
+
y: (1 - hsv.v / 100) * 136 - 7
|
|
34
|
+
});
|
|
35
|
+
$[2] = hsv.s;
|
|
36
|
+
$[3] = hsv.v;
|
|
37
|
+
$[4] = t3;
|
|
38
|
+
} else t3 = $[4];
|
|
39
|
+
const [dotPosition, setDotPosition] = useState(t3);
|
|
40
|
+
let t4;
|
|
41
|
+
let t5;
|
|
42
|
+
if ($[5] !== hue) {
|
|
43
|
+
t4 = () => {
|
|
44
|
+
const canvas = canvasRef.current;
|
|
45
|
+
const context = canvas?.getContext("2d");
|
|
46
|
+
if (!canvas || !context) return;
|
|
47
|
+
context.fillStyle = `hsl(${hue},100%,50%)`;
|
|
48
|
+
context.fillRect(0, 0, canvas.width, canvas.height);
|
|
49
|
+
const white = context.createLinearGradient(0, 0, canvas.width, 0);
|
|
50
|
+
white.addColorStop(0, "#fff");
|
|
51
|
+
white.addColorStop(1, "rgba(255,255,255,0)");
|
|
52
|
+
context.fillStyle = white;
|
|
53
|
+
context.fillRect(0, 0, canvas.width, canvas.height);
|
|
54
|
+
const black = context.createLinearGradient(0, 0, 0, canvas.height);
|
|
55
|
+
black.addColorStop(0, "rgba(0,0,0,0)");
|
|
56
|
+
black.addColorStop(1, "#000");
|
|
57
|
+
context.fillStyle = black;
|
|
58
|
+
context.fillRect(0, 0, canvas.width, canvas.height);
|
|
59
|
+
};
|
|
60
|
+
t5 = [hue];
|
|
61
|
+
$[5] = hue;
|
|
62
|
+
$[6] = t4;
|
|
63
|
+
$[7] = t5;
|
|
64
|
+
} else {
|
|
65
|
+
t4 = $[6];
|
|
66
|
+
t5 = $[7];
|
|
67
|
+
}
|
|
68
|
+
useEffect(t4, t5);
|
|
69
|
+
let t6;
|
|
70
|
+
let t7;
|
|
71
|
+
if ($[8] !== hsv.s || $[9] !== hsv.v) {
|
|
72
|
+
t6 = () => {
|
|
73
|
+
if (draggingRef.current) return;
|
|
74
|
+
const rect = canvasRef.current?.getBoundingClientRect();
|
|
75
|
+
if (!rect) return;
|
|
76
|
+
setDotPosition({
|
|
77
|
+
x: hsv.s / 100 * rect.width - 7,
|
|
78
|
+
y: (1 - hsv.v / 100) * rect.height - 7
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
t7 = [hsv.s, hsv.v];
|
|
82
|
+
$[8] = hsv.s;
|
|
83
|
+
$[9] = hsv.v;
|
|
84
|
+
$[10] = t6;
|
|
85
|
+
$[11] = t7;
|
|
86
|
+
} else {
|
|
87
|
+
t6 = $[10];
|
|
88
|
+
t7 = $[11];
|
|
89
|
+
}
|
|
90
|
+
useEffect(t6, t7);
|
|
91
|
+
let t8;
|
|
92
|
+
let t9;
|
|
93
|
+
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
94
|
+
t8 = () => () => dragCleanupRef.current();
|
|
95
|
+
t9 = [];
|
|
96
|
+
$[12] = t8;
|
|
97
|
+
$[13] = t9;
|
|
98
|
+
} else {
|
|
99
|
+
t8 = $[12];
|
|
100
|
+
t9 = $[13];
|
|
101
|
+
}
|
|
102
|
+
useEffect(t8, t9);
|
|
103
|
+
let t10;
|
|
104
|
+
if ($[14] !== hue || $[15] !== onUpdateRGB) {
|
|
105
|
+
t10 = (event) => {
|
|
106
|
+
draggingRef.current = true;
|
|
107
|
+
const move = (x, y) => {
|
|
108
|
+
const rect_0 = canvasRef.current.getBoundingClientRect();
|
|
109
|
+
const localX = clamp(x - rect_0.left, 0, rect_0.width);
|
|
110
|
+
const localY = clamp(y - rect_0.top, 0, rect_0.height);
|
|
111
|
+
const saturation = localX / rect_0.width * 100;
|
|
112
|
+
const brightness = (1 - localY / rect_0.height) * 100;
|
|
113
|
+
setDotPosition({
|
|
114
|
+
x: localX - 7,
|
|
115
|
+
y: localY - 7
|
|
116
|
+
});
|
|
117
|
+
onUpdateRGB?.(Color().hsv(hue, saturation, brightness).rgb().object());
|
|
118
|
+
};
|
|
119
|
+
move(event.clientX, event.clientY);
|
|
120
|
+
const mousemove = (item) => move(item.clientX, item.clientY);
|
|
121
|
+
dragCleanupRef.current();
|
|
122
|
+
const up = () => {
|
|
123
|
+
draggingRef.current = false;
|
|
124
|
+
document.removeEventListener("mousemove", mousemove);
|
|
125
|
+
document.removeEventListener("mouseup", up);
|
|
126
|
+
};
|
|
127
|
+
dragCleanupRef.current = up;
|
|
128
|
+
document.addEventListener("mousemove", mousemove);
|
|
129
|
+
document.addEventListener("mouseup", up);
|
|
130
|
+
};
|
|
131
|
+
$[14] = hue;
|
|
132
|
+
$[15] = onUpdateRGB;
|
|
133
|
+
$[16] = t10;
|
|
134
|
+
} else t10 = $[16];
|
|
135
|
+
const start = t10;
|
|
136
|
+
let t11;
|
|
137
|
+
if ($[17] !== start) {
|
|
138
|
+
t11 = /* @__PURE__ */ jsx("canvas", {
|
|
139
|
+
className: "k-color-picker-paint",
|
|
140
|
+
width: 234,
|
|
141
|
+
height: 136,
|
|
142
|
+
ref: canvasRef,
|
|
143
|
+
onMouseDown: start
|
|
144
|
+
});
|
|
145
|
+
$[17] = start;
|
|
146
|
+
$[18] = t11;
|
|
147
|
+
} else t11 = $[18];
|
|
148
|
+
let t12;
|
|
149
|
+
if ($[19] !== dotPosition.x || $[20] !== dotPosition.y) {
|
|
150
|
+
t12 = /* @__PURE__ */ jsx("span", {
|
|
151
|
+
className: "k-color-picker-paint-dot",
|
|
152
|
+
style: {
|
|
153
|
+
left: dotPosition.x,
|
|
154
|
+
top: dotPosition.y
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
$[19] = dotPosition.x;
|
|
158
|
+
$[20] = dotPosition.y;
|
|
159
|
+
$[21] = t12;
|
|
160
|
+
} else t12 = $[21];
|
|
161
|
+
let t13;
|
|
162
|
+
if ($[22] !== t11 || $[23] !== t12) {
|
|
163
|
+
t13 = /* @__PURE__ */ jsxs("div", {
|
|
164
|
+
className: "k-color-picker-paint-container",
|
|
165
|
+
children: [t11, t12]
|
|
166
|
+
});
|
|
167
|
+
$[22] = t11;
|
|
168
|
+
$[23] = t12;
|
|
169
|
+
$[24] = t13;
|
|
170
|
+
} else t13 = $[24];
|
|
171
|
+
return t13;
|
|
172
|
+
}
|
|
173
|
+
function _temp() {}
|
|
174
|
+
//#endregion
|
|
175
|
+
export { Paint as default };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* react-kui v3.0.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 { Check } 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
|
+
import { c } from "react/compiler-runtime";
|
|
12
|
+
import { jsx } from "react/jsx-runtime";
|
|
13
|
+
import Color from "color";
|
|
14
|
+
//#region components/color-picker/presets.tsx
|
|
15
|
+
var defaults = [
|
|
16
|
+
"#f44336",
|
|
17
|
+
"#e91e63",
|
|
18
|
+
"#9c27b0",
|
|
19
|
+
"#673ab7",
|
|
20
|
+
"#3f51b5",
|
|
21
|
+
"#2196f3",
|
|
22
|
+
"#03a9f4",
|
|
23
|
+
"#00bcd4",
|
|
24
|
+
"#009688",
|
|
25
|
+
"#4caf50",
|
|
26
|
+
"#8bc34a",
|
|
27
|
+
"#cddc39",
|
|
28
|
+
"#ffeb3b",
|
|
29
|
+
"#ffc107",
|
|
30
|
+
"#ff9800",
|
|
31
|
+
"#ff5722",
|
|
32
|
+
"#795548",
|
|
33
|
+
"#9e9e9e",
|
|
34
|
+
"#607d8b",
|
|
35
|
+
"#000"
|
|
36
|
+
];
|
|
37
|
+
function Presets(t0) {
|
|
38
|
+
const $ = c(11);
|
|
39
|
+
const { color, presets: t1, onUpdateColor } = t0;
|
|
40
|
+
const presets = t1 === void 0 ? defaults : t1;
|
|
41
|
+
if (!presets.length) return null;
|
|
42
|
+
let t2;
|
|
43
|
+
if ($[0] !== color) {
|
|
44
|
+
t2 = Color(color).hex();
|
|
45
|
+
$[0] = color;
|
|
46
|
+
$[1] = t2;
|
|
47
|
+
} else t2 = $[1];
|
|
48
|
+
const active = t2;
|
|
49
|
+
let t3;
|
|
50
|
+
if ($[2] !== active || $[3] !== onUpdateColor || $[4] !== presets) {
|
|
51
|
+
let t4;
|
|
52
|
+
if ($[6] !== active || $[7] !== onUpdateColor) {
|
|
53
|
+
t4 = (hex) => /* @__PURE__ */ jsx("span", {
|
|
54
|
+
style: { backgroundColor: hex },
|
|
55
|
+
onClick: () => onUpdateColor?.(Color(hex)),
|
|
56
|
+
children: active === Color(hex).hex() && /* @__PURE__ */ jsx(Icon, { type: Check })
|
|
57
|
+
}, hex);
|
|
58
|
+
$[6] = active;
|
|
59
|
+
$[7] = onUpdateColor;
|
|
60
|
+
$[8] = t4;
|
|
61
|
+
} else t4 = $[8];
|
|
62
|
+
t3 = presets.map(t4);
|
|
63
|
+
$[2] = active;
|
|
64
|
+
$[3] = onUpdateColor;
|
|
65
|
+
$[4] = presets;
|
|
66
|
+
$[5] = t3;
|
|
67
|
+
} else t3 = $[5];
|
|
68
|
+
let t4;
|
|
69
|
+
if ($[9] !== t3) {
|
|
70
|
+
t4 = /* @__PURE__ */ jsx("div", {
|
|
71
|
+
className: "k-color-picker-presets",
|
|
72
|
+
children: t3
|
|
73
|
+
});
|
|
74
|
+
$[9] = t3;
|
|
75
|
+
$[10] = t4;
|
|
76
|
+
} else t4 = $[10];
|
|
77
|
+
return t4;
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
export { Presets as default };
|
package/es/components.js
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* react-kui v3.0.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 { __exportAll } from "./_virtual/_rolldown/runtime.js";
|
|
10
|
+
import Affix from "./affix/index.js";
|
|
11
|
+
import Icon from "./icon/index.js";
|
|
12
|
+
import Alert from "./alert/index.js";
|
|
13
|
+
import Button from "./button/button.js";
|
|
14
|
+
import ButtonGroup from "./button/button-group.js";
|
|
15
|
+
import Calendar from "./calendar/index.js";
|
|
16
|
+
import Empty from "./empty/index.js";
|
|
17
|
+
import Kanban from "./kanban/index.js";
|
|
18
|
+
import Avatar from "./avatar/avatar.js";
|
|
19
|
+
import AvatarGroup from "./avatar/avatar-group.js";
|
|
20
|
+
import Card, { CardMeta } from "./card/index.js";
|
|
21
|
+
import ListPanel from "./list-panel/index.js";
|
|
22
|
+
import InputGroup from "./input/input-group.js";
|
|
23
|
+
import input_default from "./input/input.js";
|
|
24
|
+
import textarea_default from "./input/textarea.js";
|
|
25
|
+
import auto_complete_default from "./auto-complete/index.js";
|
|
26
|
+
import Anchor from "./anchor/anchor.js";
|
|
27
|
+
import AnchorLink from "./anchor/anchor-link.js";
|
|
28
|
+
import Breadcrumb from "./breadcrumb/breadcrumb.js";
|
|
29
|
+
import BreadcrumbItem from "./breadcrumb/breadcrumb-item.js";
|
|
30
|
+
import BackTop from "./back-top/index.js";
|
|
31
|
+
import Badge from "./badge/index.js";
|
|
32
|
+
import Carousel from "./carousel/carousel.js";
|
|
33
|
+
import CarouselItem from "./carousel/carousel-item.js";
|
|
34
|
+
import checkbox_default from "./checkbox/checkbox.js";
|
|
35
|
+
import checkbox_group_default from "./checkbox/checkbox-group.js";
|
|
36
|
+
import check_card_default from "./check-card/check-card.js";
|
|
37
|
+
import check_card_group_default from "./check-card/check-card-group.js";
|
|
38
|
+
import Collapse from "./collapse/collapse.js";
|
|
39
|
+
import CollapsePanel from "./collapse/collapse-panel.js";
|
|
40
|
+
import input_number_default from "./input-number/index.js";
|
|
41
|
+
import Option from "./select/option.js";
|
|
42
|
+
import Space from "./space/index.js";
|
|
43
|
+
import Tag from "./tag/index.js";
|
|
44
|
+
import Tooltip, { TooltipPanel } from "./tooltip/index.js";
|
|
45
|
+
import { getVirtualRange } from "./virtual-list/range.js";
|
|
46
|
+
import VirtualList from "./virtual-list/index.js";
|
|
47
|
+
import select_default from "./select/select.js";
|
|
48
|
+
import color_picker_default, { ColorPickerPanel } from "./color-picker/index.js";
|
|
49
|
+
import date_picker_default, { DatePickerPanel } from "./date-picker/index.js";
|
|
50
|
+
import Descriptions from "./descriptions/descriptions.js";
|
|
51
|
+
import DescriptionsItem from "./descriptions/descriptions-item.js";
|
|
52
|
+
import Drawer from "./drawer/index.js";
|
|
53
|
+
import Dropdown from "./dropdown/dropdown.js";
|
|
54
|
+
import DropdownButton from "./dropdown/dropdown-button.js";
|
|
55
|
+
import Divider from "./divider/index.js";
|
|
56
|
+
import Form from "./form/form.js";
|
|
57
|
+
import Col from "./row-col/col.js";
|
|
58
|
+
import Row from "./row-col/row.js";
|
|
59
|
+
import FormItem from "./form/form-item.js";
|
|
60
|
+
import Flex from "./flex/index.js";
|
|
61
|
+
import FeatureCard from "./feature-card/index.js";
|
|
62
|
+
import { FlameWrap } from "./flame-wrap/index.js";
|
|
63
|
+
import FeedbackPanel from "./feedback-panel/index.js";
|
|
64
|
+
import Grid from "./grid/grid.js";
|
|
65
|
+
import GridItem from "./grid/grid-item.js";
|
|
66
|
+
import slider_default from "./slider/index.js";
|
|
67
|
+
import ImageGroup from "./image/group.js";
|
|
68
|
+
import KImage from "./image/image.js";
|
|
69
|
+
import input_tag_default from "./input-tag/index.js";
|
|
70
|
+
import input_otp_default from "./input-otp/index.js";
|
|
71
|
+
import { Content, Footer, Header, Layout, Sider } from "./layout/index.js";
|
|
72
|
+
import loading from "./loading/index.js";
|
|
73
|
+
import { MenuItem } from "./menu/menu-item.js";
|
|
74
|
+
import { SubMenu } from "./menu/sub-menu.js";
|
|
75
|
+
import { Menu } from "./menu/menu.js";
|
|
76
|
+
import { MenuDivider } from "./menu/menu-divider.js";
|
|
77
|
+
import { MenuGroup } from "./menu/menu-group.js";
|
|
78
|
+
import { MessagePanel, NoticePanel } from "./notice/content.js";
|
|
79
|
+
import message from "./message/index.js";
|
|
80
|
+
import mentions_default from "./mentions/index.js";
|
|
81
|
+
import Modal, { ModalPanel } from "./modal/modal.js";
|
|
82
|
+
import { modal } from "./modal/api.js";
|
|
83
|
+
import notice from "./notice/index.js";
|
|
84
|
+
import Page from "./page/index.js";
|
|
85
|
+
import PageHeader from "./page-header/index.js";
|
|
86
|
+
import Poptip, { PoptipPanel } from "./poptip/index.js";
|
|
87
|
+
import Popconfirm, { PopconfirmPanel } from "./popconfirm/index.js";
|
|
88
|
+
import Progress from "./progress/index.js";
|
|
89
|
+
import { Ripple } from "./ripple/index.js";
|
|
90
|
+
import Spin from "./spin/index.js";
|
|
91
|
+
import QRCode from "./qrcode/index.js";
|
|
92
|
+
import radio_default from "./radio/radio.js";
|
|
93
|
+
import radio_button_default from "./radio/radio-button.js";
|
|
94
|
+
import radio_group_default from "./radio/radio-group.js";
|
|
95
|
+
import segmented_default from "./segmented/index.js";
|
|
96
|
+
import rate_default from "./rate/index.js";
|
|
97
|
+
import Result from "./result/index.js";
|
|
98
|
+
import ConfigProvider from "./config/index.js";
|
|
99
|
+
import Skeleton from "./skeleton/skeleton.js";
|
|
100
|
+
import SkeletonAvatar from "./skeleton/skeleton-avatar.js";
|
|
101
|
+
import SkeletonButton from "./skeleton/skeleton-button.js";
|
|
102
|
+
import SkeletonImage from "./skeleton/skeleton-image.js";
|
|
103
|
+
import SkeletonText from "./skeleton/skeleton-text.js";
|
|
104
|
+
import StatNumber from "./stat-card/stat-number.js";
|
|
105
|
+
import StatCard from "./stat-card/stat-card.js";
|
|
106
|
+
import Steps, { Step } from "./steps/index.js";
|
|
107
|
+
import switch_default from "./switch/index.js";
|
|
108
|
+
import { Splitter } from "./splitter/splitter.js";
|
|
109
|
+
import { SplitterPanel } from "./splitter/splitter-panel.js";
|
|
110
|
+
import { TableColumnSetting } from "./table/column-setting.js";
|
|
111
|
+
import Table from "./table/index.js";
|
|
112
|
+
import Tour from "./tour/index.js";
|
|
113
|
+
import TabPanel from "./tabs/tab-panel.js";
|
|
114
|
+
import Tabs from "./tabs/tabs.js";
|
|
115
|
+
import TimeLine from "./time-line/timeline.js";
|
|
116
|
+
import TimeLineItem from "./time-line/timeline-item.js";
|
|
117
|
+
import Tree from "./tree/index.js";
|
|
118
|
+
import tree_select_default from "./tree-select/index.js";
|
|
119
|
+
import cascader_default from "./cascader/index.js";
|
|
120
|
+
import upload_default from "./upload/index.js";
|
|
121
|
+
import Watermark from "./watermark/index.js";
|
|
122
|
+
import Theme from "./utils/theme.js";
|
|
123
|
+
import transfer_default from "./transfer/index.js";
|
|
124
|
+
import Typography, { TypographyParagraph, TypographyText, TypographyTitle } from "./typography/index.js";
|
|
125
|
+
//#region components/components.ts
|
|
126
|
+
var components_exports = /* @__PURE__ */ __exportAll({
|
|
127
|
+
Affix: () => Affix,
|
|
128
|
+
Alert: () => Alert,
|
|
129
|
+
Anchor: () => Anchor,
|
|
130
|
+
AnchorLink: () => AnchorLink,
|
|
131
|
+
AutoComplete: () => auto_complete_default,
|
|
132
|
+
Avatar: () => Avatar,
|
|
133
|
+
AvatarGroup: () => AvatarGroup,
|
|
134
|
+
BackTop: () => BackTop,
|
|
135
|
+
Badge: () => Badge,
|
|
136
|
+
Breadcrumb: () => Breadcrumb,
|
|
137
|
+
BreadcrumbItem: () => BreadcrumbItem,
|
|
138
|
+
Button: () => Button,
|
|
139
|
+
ButtonGroup: () => ButtonGroup,
|
|
140
|
+
Calendar: () => Calendar,
|
|
141
|
+
Card: () => Card,
|
|
142
|
+
CardMeta: () => CardMeta,
|
|
143
|
+
Carousel: () => Carousel,
|
|
144
|
+
CarouselItem: () => CarouselItem,
|
|
145
|
+
Cascader: () => cascader_default,
|
|
146
|
+
CheckCard: () => check_card_default,
|
|
147
|
+
CheckCardGroup: () => check_card_group_default,
|
|
148
|
+
Checkbox: () => checkbox_default,
|
|
149
|
+
CheckboxGroup: () => checkbox_group_default,
|
|
150
|
+
Col: () => Col,
|
|
151
|
+
Collapse: () => Collapse,
|
|
152
|
+
CollapsePanel: () => CollapsePanel,
|
|
153
|
+
ColorPicker: () => color_picker_default,
|
|
154
|
+
ColorPickerPanel: () => ColorPickerPanel,
|
|
155
|
+
ConfigProvider: () => ConfigProvider,
|
|
156
|
+
Content: () => Content,
|
|
157
|
+
DatePicker: () => date_picker_default,
|
|
158
|
+
DatePickerPanel: () => DatePickerPanel,
|
|
159
|
+
Descriptions: () => Descriptions,
|
|
160
|
+
DescriptionsItem: () => DescriptionsItem,
|
|
161
|
+
Divider: () => Divider,
|
|
162
|
+
Drawer: () => Drawer,
|
|
163
|
+
Dropdown: () => Dropdown,
|
|
164
|
+
DropdownButton: () => DropdownButton,
|
|
165
|
+
Empty: () => Empty,
|
|
166
|
+
FeatureCard: () => FeatureCard,
|
|
167
|
+
FeedbackPanel: () => FeedbackPanel,
|
|
168
|
+
FlameWrap: () => FlameWrap,
|
|
169
|
+
Flex: () => Flex,
|
|
170
|
+
Footer: () => Footer,
|
|
171
|
+
Form: () => Form,
|
|
172
|
+
FormItem: () => FormItem,
|
|
173
|
+
Grid: () => Grid,
|
|
174
|
+
GridItem: () => GridItem,
|
|
175
|
+
Header: () => Header,
|
|
176
|
+
Icon: () => Icon,
|
|
177
|
+
ImageGroup: () => ImageGroup,
|
|
178
|
+
Input: () => input_default,
|
|
179
|
+
InputGroup: () => InputGroup,
|
|
180
|
+
InputNumber: () => input_number_default,
|
|
181
|
+
InputOTP: () => input_otp_default,
|
|
182
|
+
InputTag: () => input_tag_default,
|
|
183
|
+
KImage: () => KImage,
|
|
184
|
+
Kanban: () => Kanban,
|
|
185
|
+
Layout: () => Layout,
|
|
186
|
+
ListPanel: () => ListPanel,
|
|
187
|
+
Mentions: () => mentions_default,
|
|
188
|
+
Menu: () => Menu,
|
|
189
|
+
MenuDivider: () => MenuDivider,
|
|
190
|
+
MenuGroup: () => MenuGroup,
|
|
191
|
+
MenuItem: () => MenuItem,
|
|
192
|
+
MessagePanel: () => MessagePanel,
|
|
193
|
+
Modal: () => Modal,
|
|
194
|
+
ModalPanel: () => ModalPanel,
|
|
195
|
+
NoticePanel: () => NoticePanel,
|
|
196
|
+
Option: () => Option,
|
|
197
|
+
Page: () => Page,
|
|
198
|
+
PageHeader: () => PageHeader,
|
|
199
|
+
Popconfirm: () => Popconfirm,
|
|
200
|
+
PopconfirmPanel: () => PopconfirmPanel,
|
|
201
|
+
Poptip: () => Poptip,
|
|
202
|
+
PoptipPanel: () => PoptipPanel,
|
|
203
|
+
Progress: () => Progress,
|
|
204
|
+
QRCode: () => QRCode,
|
|
205
|
+
Radio: () => radio_default,
|
|
206
|
+
RadioButton: () => radio_button_default,
|
|
207
|
+
RadioGroup: () => radio_group_default,
|
|
208
|
+
Rate: () => rate_default,
|
|
209
|
+
Result: () => Result,
|
|
210
|
+
Ripple: () => Ripple,
|
|
211
|
+
Row: () => Row,
|
|
212
|
+
Segmented: () => segmented_default,
|
|
213
|
+
Select: () => select_default,
|
|
214
|
+
Sider: () => Sider,
|
|
215
|
+
Skeleton: () => Skeleton,
|
|
216
|
+
SkeletonAvatar: () => SkeletonAvatar,
|
|
217
|
+
SkeletonButton: () => SkeletonButton,
|
|
218
|
+
SkeletonImage: () => SkeletonImage,
|
|
219
|
+
SkeletonText: () => SkeletonText,
|
|
220
|
+
Slider: () => slider_default,
|
|
221
|
+
Space: () => Space,
|
|
222
|
+
Spin: () => Spin,
|
|
223
|
+
Splitter: () => Splitter,
|
|
224
|
+
SplitterPanel: () => SplitterPanel,
|
|
225
|
+
StatCard: () => StatCard,
|
|
226
|
+
StatNumber: () => StatNumber,
|
|
227
|
+
Step: () => Step,
|
|
228
|
+
Steps: () => Steps,
|
|
229
|
+
SubMenu: () => SubMenu,
|
|
230
|
+
Switch: () => switch_default,
|
|
231
|
+
TabPanel: () => TabPanel,
|
|
232
|
+
Table: () => Table,
|
|
233
|
+
TableColumnSetting: () => TableColumnSetting,
|
|
234
|
+
Tabs: () => Tabs,
|
|
235
|
+
Tag: () => Tag,
|
|
236
|
+
TextArea: () => textarea_default,
|
|
237
|
+
TimeLine: () => TimeLine,
|
|
238
|
+
TimeLineItem: () => TimeLineItem,
|
|
239
|
+
Tooltip: () => Tooltip,
|
|
240
|
+
TooltipPanel: () => TooltipPanel,
|
|
241
|
+
Tour: () => Tour,
|
|
242
|
+
Transfer: () => transfer_default,
|
|
243
|
+
Tree: () => Tree,
|
|
244
|
+
TreeSelect: () => tree_select_default,
|
|
245
|
+
Typography: () => Typography,
|
|
246
|
+
TypographyParagraph: () => TypographyParagraph,
|
|
247
|
+
TypographyText: () => TypographyText,
|
|
248
|
+
TypographyTitle: () => TypographyTitle,
|
|
249
|
+
Upload: () => upload_default,
|
|
250
|
+
VirtualList: () => VirtualList,
|
|
251
|
+
Watermark: () => Watermark,
|
|
252
|
+
getVirtualRange: () => getVirtualRange,
|
|
253
|
+
loading: () => loading,
|
|
254
|
+
message: () => message,
|
|
255
|
+
modal: () => modal,
|
|
256
|
+
notice: () => notice,
|
|
257
|
+
theme: () => Theme
|
|
258
|
+
});
|
|
259
|
+
//#endregion
|
|
260
|
+
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, 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, getVirtualRange, loading, message, modal, notice, Theme as theme };
|