@ioca/react 1.4.78 → 1.4.80
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/lib/cjs/_virtual/_rolldown/runtime.js +23 -0
- package/lib/cjs/components/affix/affix.js +66 -0
- package/lib/cjs/components/affix/affix.js.map +1 -0
- package/lib/cjs/components/affix/index.js +6 -0
- package/lib/cjs/components/affix/index.js.map +1 -0
- package/lib/cjs/components/affix/totop.js +25 -0
- package/lib/cjs/components/affix/totop.js.map +1 -0
- package/lib/cjs/components/badge/badge.js +24 -0
- package/lib/cjs/components/badge/badge.js.map +1 -0
- package/lib/cjs/components/badge/index.js +6 -0
- package/lib/cjs/components/badge/index.js.map +1 -0
- package/lib/cjs/components/button/button.js +64 -0
- package/lib/cjs/components/button/button.js.map +1 -0
- package/lib/cjs/components/button/confirm.js +60 -0
- package/lib/cjs/components/button/confirm.js.map +1 -0
- package/lib/cjs/components/button/group.js +26 -0
- package/lib/cjs/components/button/group.js.map +1 -0
- package/lib/cjs/components/button/index.js +6 -0
- package/lib/cjs/components/button/index.js.map +1 -0
- package/lib/cjs/components/button/toggle.js +46 -0
- package/lib/cjs/components/button/toggle.js.map +1 -0
- package/lib/cjs/components/card/card.js +33 -0
- package/lib/cjs/components/card/card.js.map +1 -0
- package/lib/cjs/components/card/index.js +6 -0
- package/lib/cjs/components/card/index.js.map +1 -0
- package/lib/cjs/components/checkbox/checkbox.js +66 -0
- package/lib/cjs/components/checkbox/checkbox.js.map +1 -0
- package/lib/cjs/components/checkbox/index.js +6 -0
- package/lib/cjs/components/checkbox/index.js.map +1 -0
- package/lib/cjs/components/checkbox/item.js +59 -0
- package/lib/cjs/components/checkbox/item.js.map +1 -0
- package/lib/cjs/components/collapse/collapse.js +84 -0
- package/lib/cjs/components/collapse/collapse.js.map +1 -0
- package/lib/cjs/components/collapse/index.js +6 -0
- package/lib/cjs/components/collapse/index.js.map +1 -0
- package/lib/cjs/components/collapse/item.js +10 -0
- package/lib/cjs/components/collapse/item.js.map +1 -0
- package/lib/cjs/components/datagrid/cell.js +39 -0
- package/lib/cjs/components/datagrid/cell.js.map +1 -0
- package/lib/cjs/components/datagrid/datagrid.js +140 -0
- package/lib/cjs/components/datagrid/datagrid.js.map +1 -0
- package/lib/cjs/components/datagrid/index.js +6 -0
- package/lib/cjs/components/datagrid/index.js.map +1 -0
- package/lib/cjs/components/datagrid/resize.js +42 -0
- package/lib/cjs/components/datagrid/resize.js.map +1 -0
- package/lib/cjs/components/datagrid/row.js +68 -0
- package/lib/cjs/components/datagrid/row.js.map +1 -0
- package/lib/cjs/components/datagrid/sorter.js +28 -0
- package/lib/cjs/components/datagrid/sorter.js.map +1 -0
- package/lib/cjs/components/description/description.js +43 -0
- package/lib/cjs/components/description/description.js.map +1 -0
- package/lib/cjs/components/description/index.js +6 -0
- package/lib/cjs/components/description/index.js.map +1 -0
- package/lib/cjs/components/drawer/drawer.js +84 -0
- package/lib/cjs/components/drawer/drawer.js.map +1 -0
- package/lib/cjs/components/drawer/index.js +6 -0
- package/lib/cjs/components/drawer/index.js.map +1 -0
- package/lib/cjs/components/dropdown/dropdown.js +38 -0
- package/lib/cjs/components/dropdown/dropdown.js.map +1 -0
- package/lib/cjs/components/dropdown/index.js +6 -0
- package/lib/cjs/components/dropdown/index.js.map +1 -0
- package/lib/cjs/components/dropdown/item.js +36 -0
- package/lib/cjs/components/dropdown/item.js.map +1 -0
- package/lib/cjs/components/editor/controls.js +89 -0
- package/lib/cjs/components/editor/controls.js.map +1 -0
- package/lib/cjs/components/editor/editor.js +91 -0
- package/lib/cjs/components/editor/editor.js.map +1 -0
- package/lib/cjs/components/editor/index.js +6 -0
- package/lib/cjs/components/editor/index.js.map +1 -0
- package/lib/cjs/components/flex/flex.js +31 -0
- package/lib/cjs/components/flex/flex.js.map +1 -0
- package/lib/cjs/components/flex/index.js +6 -0
- package/lib/cjs/components/flex/index.js.map +1 -0
- package/lib/cjs/components/form/context.js +7 -0
- package/lib/cjs/components/form/context.js.map +1 -0
- package/lib/cjs/components/form/field.js +71 -0
- package/lib/cjs/components/form/field.js.map +1 -0
- package/lib/cjs/components/form/form.js +64 -0
- package/lib/cjs/components/form/form.js.map +1 -0
- package/lib/cjs/components/form/index.js +6 -0
- package/lib/cjs/components/form/index.js.map +1 -0
- package/lib/cjs/components/form/useConfig.js +45 -0
- package/lib/cjs/components/form/useConfig.js.map +1 -0
- package/lib/cjs/components/form/useForm.js +123 -0
- package/lib/cjs/components/form/useForm.js.map +1 -0
- package/lib/cjs/components/icon/icon.js +24 -0
- package/lib/cjs/components/icon/icon.js.map +1 -0
- package/lib/cjs/components/icon/index.js +6 -0
- package/lib/cjs/components/icon/index.js.map +1 -0
- package/lib/cjs/components/image/image.js +86 -0
- package/lib/cjs/components/image/image.js.map +1 -0
- package/lib/cjs/components/image/index.js +6 -0
- package/lib/cjs/components/image/index.js.map +1 -0
- package/lib/cjs/components/image/list.js +49 -0
- package/lib/cjs/components/image/list.js.map +1 -0
- package/lib/cjs/components/input/container.js +30 -0
- package/lib/cjs/components/input/container.js.map +1 -0
- package/lib/cjs/components/input/index.js +6 -0
- package/lib/cjs/components/input/index.js.map +1 -0
- package/lib/cjs/components/input/input.js +113 -0
- package/lib/cjs/components/input/input.js.map +1 -0
- package/lib/cjs/components/input/number.js +138 -0
- package/lib/cjs/components/input/number.js.map +1 -0
- package/lib/cjs/components/input/range.js +134 -0
- package/lib/cjs/components/input/range.js.map +1 -0
- package/lib/cjs/components/input/textarea.js +61 -0
- package/lib/cjs/components/input/textarea.js.map +1 -0
- package/lib/cjs/components/list/index.js +6 -0
- package/lib/cjs/components/list/index.js.map +1 -0
- package/lib/cjs/components/list/item.js +30 -0
- package/lib/cjs/components/list/item.js.map +1 -0
- package/lib/cjs/components/list/list.js +30 -0
- package/lib/cjs/components/list/list.js.map +1 -0
- package/lib/cjs/components/loading/index.js +6 -0
- package/lib/cjs/components/loading/index.js.map +1 -0
- package/lib/cjs/components/loading/loading.js +39 -0
- package/lib/cjs/components/loading/loading.js.map +1 -0
- package/lib/cjs/components/message/index.js +6 -0
- package/lib/cjs/components/message/index.js.map +1 -0
- package/lib/cjs/components/message/message.js +197 -0
- package/lib/cjs/components/message/message.js.map +1 -0
- package/lib/cjs/components/modal/content.js +57 -0
- package/lib/cjs/components/modal/content.js.map +1 -0
- package/lib/cjs/components/modal/context.js +7 -0
- package/lib/cjs/components/modal/context.js.map +1 -0
- package/lib/cjs/components/modal/hookModal.js +28 -0
- package/lib/cjs/components/modal/hookModal.js.map +1 -0
- package/lib/cjs/components/modal/index.js +6 -0
- package/lib/cjs/components/modal/index.js.map +1 -0
- package/lib/cjs/components/modal/modal.js +117 -0
- package/lib/cjs/components/modal/modal.js.map +1 -0
- package/lib/cjs/components/modal/useModal.js +39 -0
- package/lib/cjs/components/modal/useModal.js.map +1 -0
- package/lib/cjs/components/pagination/index.js +6 -0
- package/lib/cjs/components/pagination/index.js.map +1 -0
- package/lib/cjs/components/pagination/page.js +31 -0
- package/lib/cjs/components/pagination/page.js.map +1 -0
- package/lib/cjs/components/pagination/pagination.js +86 -0
- package/lib/cjs/components/pagination/pagination.js.map +1 -0
- package/lib/cjs/components/picker/colors/footer.js +64 -0
- package/lib/cjs/components/picker/colors/footer.js.map +1 -0
- package/lib/cjs/components/picker/colors/handle.js +25 -0
- package/lib/cjs/components/picker/colors/handle.js.map +1 -0
- package/lib/cjs/components/picker/colors/index.js +81 -0
- package/lib/cjs/components/picker/colors/index.js.map +1 -0
- package/lib/cjs/components/picker/dates/dates.js +68 -0
- package/lib/cjs/components/picker/dates/dates.js.map +1 -0
- package/lib/cjs/components/picker/dates/index.js +97 -0
- package/lib/cjs/components/picker/dates/index.js.map +1 -0
- package/lib/cjs/components/picker/dates/panel.js +151 -0
- package/lib/cjs/components/picker/dates/panel.js.map +1 -0
- package/lib/cjs/components/picker/time/index.js +73 -0
- package/lib/cjs/components/picker/time/index.js.map +1 -0
- package/lib/cjs/components/picker/time/item.js +20 -0
- package/lib/cjs/components/picker/time/item.js.map +1 -0
- package/lib/cjs/components/picker/time/panel.js +144 -0
- package/lib/cjs/components/picker/time/panel.js.map +1 -0
- package/lib/cjs/components/popconfirm/index.js +6 -0
- package/lib/cjs/components/popconfirm/index.js.map +1 -0
- package/lib/cjs/components/popconfirm/popconfirm.js +86 -0
- package/lib/cjs/components/popconfirm/popconfirm.js.map +1 -0
- package/lib/cjs/components/popup/content.js +56 -0
- package/lib/cjs/components/popup/content.js.map +1 -0
- package/lib/cjs/components/popup/index.js +6 -0
- package/lib/cjs/components/popup/index.js.map +1 -0
- package/lib/cjs/components/popup/popup.js +425 -0
- package/lib/cjs/components/popup/popup.js.map +1 -0
- package/lib/cjs/components/progress/circle.js +45 -0
- package/lib/cjs/components/progress/circle.js.map +1 -0
- package/lib/cjs/components/progress/index.js +6 -0
- package/lib/cjs/components/progress/index.js.map +1 -0
- package/lib/cjs/components/progress/line.js +27 -0
- package/lib/cjs/components/progress/line.js.map +1 -0
- package/lib/cjs/components/progress/progress.js +100 -0
- package/lib/cjs/components/progress/progress.js.map +1 -0
- package/lib/cjs/components/radio/index.js +6 -0
- package/lib/cjs/components/radio/index.js.map +1 -0
- package/lib/cjs/components/radio/item.js +34 -0
- package/lib/cjs/components/radio/item.js.map +1 -0
- package/lib/cjs/components/radio/radio.js +62 -0
- package/lib/cjs/components/radio/radio.js.map +1 -0
- package/lib/cjs/components/resizable/index.js +6 -0
- package/lib/cjs/components/resizable/index.js.map +1 -0
- package/lib/cjs/components/resizable/resizable.js +81 -0
- package/lib/cjs/components/resizable/resizable.js.map +1 -0
- package/lib/cjs/components/river/index.js +6 -0
- package/lib/cjs/components/river/index.js.map +1 -0
- package/lib/cjs/components/river/river.js +116 -0
- package/lib/cjs/components/river/river.js.map +1 -0
- package/lib/cjs/components/select/index.js +6 -0
- package/lib/cjs/components/select/index.js.map +1 -0
- package/lib/cjs/components/select/options.js +76 -0
- package/lib/cjs/components/select/options.js.map +1 -0
- package/lib/cjs/components/select/select.js +155 -0
- package/lib/cjs/components/select/select.js.map +1 -0
- package/lib/cjs/components/step/divider.js +10 -0
- package/lib/cjs/components/step/divider.js.map +1 -0
- package/lib/cjs/components/step/index.js +6 -0
- package/lib/cjs/components/step/index.js.map +1 -0
- package/lib/cjs/components/step/item.js +60 -0
- package/lib/cjs/components/step/item.js.map +1 -0
- package/lib/cjs/components/step/step.js +42 -0
- package/lib/cjs/components/step/step.js.map +1 -0
- package/lib/cjs/components/swiper/index.js +6 -0
- package/lib/cjs/components/swiper/index.js.map +1 -0
- package/lib/cjs/components/swiper/item.js +39 -0
- package/lib/cjs/components/swiper/item.js.map +1 -0
- package/lib/cjs/components/swiper/swiper.js +262 -0
- package/lib/cjs/components/swiper/swiper.js.map +1 -0
- package/lib/cjs/components/tabs/index.js +6 -0
- package/lib/cjs/components/tabs/index.js.map +1 -0
- package/lib/cjs/components/tabs/item.js +10 -0
- package/lib/cjs/components/tabs/item.js.map +1 -0
- package/lib/cjs/components/tabs/tabs.js +272 -0
- package/lib/cjs/components/tabs/tabs.js.map +1 -0
- package/lib/cjs/components/tag/index.js +6 -0
- package/lib/cjs/components/tag/index.js.map +1 -0
- package/lib/cjs/components/tag/tag.js +32 -0
- package/lib/cjs/components/tag/tag.js.map +1 -0
- package/lib/cjs/components/text/highlight.js +35 -0
- package/lib/cjs/components/text/highlight.js.map +1 -0
- package/lib/cjs/components/text/index.js +6 -0
- package/lib/cjs/components/text/index.js.map +1 -0
- package/lib/cjs/components/text/number.js +32 -0
- package/lib/cjs/components/text/number.js.map +1 -0
- package/lib/cjs/components/text/text.js +39 -0
- package/lib/cjs/components/text/text.js.map +1 -0
- package/lib/cjs/components/text/time.js +24 -0
- package/lib/cjs/components/text/time.js.map +1 -0
- package/lib/cjs/components/tree/index.js +6 -0
- package/lib/cjs/components/tree/index.js.map +1 -0
- package/lib/cjs/components/tree/item.js +136 -0
- package/lib/cjs/components/tree/item.js.map +1 -0
- package/lib/cjs/components/tree/tree.js +127 -0
- package/lib/cjs/components/tree/tree.js.map +1 -0
- package/lib/cjs/components/upload/index.js +6 -0
- package/lib/cjs/components/upload/index.js.map +1 -0
- package/lib/cjs/components/upload/renderFile.js +99 -0
- package/lib/cjs/components/upload/renderFile.js.map +1 -0
- package/lib/cjs/components/upload/upload.js +165 -0
- package/lib/cjs/components/upload/upload.js.map +1 -0
- package/lib/cjs/components/utils/empty/index.js +17 -0
- package/lib/cjs/components/utils/empty/index.js.map +1 -0
- package/lib/cjs/components/utils/helpericon/helpericon.js +24 -0
- package/lib/cjs/components/utils/helpericon/helpericon.js.map +1 -0
- package/lib/cjs/components/utils/helpericon/index.js +6 -0
- package/lib/cjs/components/utils/helpericon/index.js.map +1 -0
- package/lib/cjs/components/video/index.js +6 -0
- package/lib/cjs/components/video/index.js.map +1 -0
- package/lib/cjs/components/video/video.js +237 -0
- package/lib/cjs/components/video/video.js.map +1 -0
- package/lib/cjs/index.js +83 -0
- package/lib/cjs/js/hooks.js +259 -0
- package/lib/cjs/js/hooks.js.map +1 -0
- package/lib/cjs/js/usePreview/content.js +197 -0
- package/lib/cjs/js/usePreview/content.js.map +1 -0
- package/lib/cjs/js/usePreview/index.js +39 -0
- package/lib/cjs/js/usePreview/index.js.map +1 -0
- package/lib/cjs/js/usePreview/renderFile.js +28 -0
- package/lib/cjs/js/usePreview/renderFile.js.map +1 -0
- package/lib/cjs/js/usePreview/type.js +15 -0
- package/lib/cjs/js/usePreview/type.js.map +1 -0
- package/lib/cjs/js/useRipple/index.js +45 -0
- package/lib/cjs/js/useRipple/index.js.map +1 -0
- package/lib/cjs/js/useTheme/index.js +30 -0
- package/lib/cjs/js/useTheme/index.js.map +1 -0
- package/lib/cjs/js/utils.js +284 -0
- package/lib/cjs/js/utils.js.map +1 -0
- package/lib/es/components/affix/affix.js +1 -1
- package/lib/es/components/affix/affix.js.map +1 -1
- package/lib/es/components/affix/totop.js +1 -1
- package/lib/es/components/affix/totop.js.map +1 -1
- package/lib/es/components/badge/badge.js.map +1 -1
- package/lib/es/components/button/button.js.map +1 -1
- package/lib/es/components/card/card.js.map +1 -1
- package/lib/es/components/checkbox/checkbox.js.map +1 -1
- package/lib/es/components/collapse/collapse.js +1 -2
- package/lib/es/components/collapse/collapse.js.map +1 -1
- package/lib/es/components/datagrid/datagrid.js.map +1 -1
- package/lib/es/components/description/description.js.map +1 -1
- package/lib/es/components/drawer/drawer.js.map +1 -1
- package/lib/es/components/dropdown/dropdown.js.map +1 -1
- package/lib/es/components/editor/controls.js +1 -7
- package/lib/es/components/editor/controls.js.map +1 -1
- package/lib/es/components/editor/editor.js.map +1 -1
- package/lib/es/components/flex/flex.js.map +1 -1
- package/lib/es/components/form/field.js +1 -1
- package/lib/es/components/form/form.js +1 -1
- package/lib/es/components/form/form.js.map +1 -1
- package/lib/es/components/form/useForm.js +2 -2
- package/lib/es/components/icon/icon.js.map +1 -1
- package/lib/es/components/image/image.js.map +1 -1
- package/lib/es/components/input/input.js +1 -2
- package/lib/es/components/input/input.js.map +1 -1
- package/lib/es/components/input/number.js +1 -3
- package/lib/es/components/input/number.js.map +1 -1
- package/lib/es/components/input/range.js +1 -3
- package/lib/es/components/input/range.js.map +1 -1
- package/lib/es/components/input/textarea.js.map +1 -1
- package/lib/es/components/list/list.js.map +1 -1
- package/lib/es/components/loading/loading.js.map +1 -1
- package/lib/es/components/message/message.js +2 -2
- package/lib/es/components/message/message.js.map +1 -1
- package/lib/es/components/modal/content.js.map +1 -1
- package/lib/es/components/modal/modal.js.map +1 -1
- package/lib/es/components/pagination/pagination.js +1 -3
- package/lib/es/components/pagination/pagination.js.map +1 -1
- package/lib/es/components/picker/colors/footer.js +1 -1
- package/lib/es/components/picker/colors/footer.js.map +1 -1
- package/lib/es/components/picker/colors/index.js.map +1 -1
- package/lib/es/components/picker/dates/index.js +2 -2
- package/lib/es/components/picker/dates/index.js.map +1 -1
- package/lib/es/components/picker/dates/panel.js +2 -3
- package/lib/es/components/picker/dates/panel.js.map +1 -1
- package/lib/es/components/picker/time/index.js +1 -1
- package/lib/es/components/picker/time/index.js.map +1 -1
- package/lib/es/components/picker/time/panel.js.map +1 -1
- package/lib/es/components/popconfirm/popconfirm.js +1 -1
- package/lib/es/components/popconfirm/popconfirm.js.map +1 -1
- package/lib/es/components/popup/popup.js +1 -1
- package/lib/es/components/popup/popup.js.map +1 -1
- package/lib/es/components/progress/progress.js.map +1 -1
- package/lib/es/components/radio/radio.js.map +1 -1
- package/lib/es/components/resizable/resizable.js.map +1 -1
- package/lib/es/components/river/river.js.map +1 -1
- package/lib/es/components/select/options.js +1 -2
- package/lib/es/components/select/options.js.map +1 -1
- package/lib/es/components/select/select.js +2 -2
- package/lib/es/components/select/select.js.map +1 -1
- package/lib/es/components/step/divider.js.map +1 -1
- package/lib/es/components/step/item.js +1 -1
- package/lib/es/components/step/item.js.map +1 -1
- package/lib/es/components/step/step.js.map +1 -1
- package/lib/es/components/swiper/swiper.js +1 -2
- package/lib/es/components/swiper/swiper.js.map +1 -1
- package/lib/es/components/tabs/tabs.js +1 -1
- package/lib/es/components/tabs/tabs.js.map +1 -1
- package/lib/es/components/tag/tag.js.map +1 -1
- package/lib/es/components/text/highlight.js +1 -1
- package/lib/es/components/text/text.js.map +1 -1
- package/lib/es/components/tree/item.js +1 -1
- package/lib/es/components/tree/item.js.map +1 -1
- package/lib/es/components/tree/tree.js.map +1 -1
- package/lib/es/components/upload/renderFile.js +2 -2
- package/lib/es/components/upload/renderFile.js.map +1 -1
- package/lib/es/components/upload/upload.js +2 -3
- package/lib/es/components/upload/upload.js.map +1 -1
- package/lib/es/components/utils/empty/index.js +1 -1
- package/lib/es/components/utils/empty/index.js.map +1 -1
- package/lib/es/components/utils/helpericon/helpericon.js +2 -2
- package/lib/es/components/utils/helpericon/helpericon.js.map +1 -1
- package/lib/es/components/video/video.js +2 -8
- package/lib/es/components/video/video.js.map +1 -1
- package/lib/es/js/usePreview/content.js +2 -9
- package/lib/es/js/usePreview/content.js.map +1 -1
- package/lib/es/js/usePreview/index.js.map +1 -1
- package/lib/es/js/usePreview/renderFile.js +1 -1
- package/lib/es/js/usePreview/renderFile.js.map +1 -1
- package/lib/es/js/useRipple/index.js.map +1 -1
- package/lib/es/js/utils.js +1 -1
- package/lib/types/components/affix/affix.js +1 -2
- package/lib/types/components/affix/totop.js +1 -1
- package/lib/types/components/badge/badge.js +0 -1
- package/lib/types/components/button/button.js +0 -1
- package/lib/types/components/card/card.js +0 -1
- package/lib/types/components/checkbox/checkbox.js +0 -2
- package/lib/types/components/collapse/collapse.js +1 -3
- package/lib/types/components/datagrid/datagrid.js +0 -1
- package/lib/types/components/description/description.js +0 -1
- package/lib/types/components/drawer/drawer.js +0 -1
- package/lib/types/components/dropdown/dropdown.js +0 -1
- package/lib/types/components/editor/controls.js +1 -7
- package/lib/types/components/editor/editor.js +0 -1
- package/lib/types/components/flex/flex.js +0 -1
- package/lib/types/components/form/field.js +1 -1
- package/lib/types/components/form/form.js +1 -2
- package/lib/types/components/form/useForm.js +2 -2
- package/lib/types/components/icon/icon.js +0 -1
- package/lib/types/components/image/image.js +0 -1
- package/lib/types/components/input/input.js +1 -3
- package/lib/types/components/input/number.js +1 -4
- package/lib/types/components/input/range.js +1 -4
- package/lib/types/components/input/textarea.js +0 -1
- package/lib/types/components/list/list.js +0 -1
- package/lib/types/components/loading/loading.js +0 -1
- package/lib/types/components/message/message.js +2 -3
- package/lib/types/components/modal/content.js +0 -1
- package/lib/types/components/modal/modal.js +0 -1
- package/lib/types/components/pagination/pagination.js +1 -4
- package/lib/types/components/picker/colors/footer.js +1 -1
- package/lib/types/components/picker/colors/index.js +0 -1
- package/lib/types/components/picker/dates/index.js +2 -3
- package/lib/types/components/picker/dates/panel.js +2 -3
- package/lib/types/components/picker/time/index.js +1 -1
- package/lib/types/components/picker/time/panel.js +0 -1
- package/lib/types/components/popconfirm/popconfirm.js +1 -2
- package/lib/types/components/popup/popup.js +1 -2
- package/lib/types/components/progress/progress.js +0 -2
- package/lib/types/components/radio/radio.js +0 -2
- package/lib/types/components/resizable/resizable.js +0 -1
- package/lib/types/components/river/river.js +0 -1
- package/lib/types/components/select/options.js +1 -2
- package/lib/types/components/select/select.js +2 -4
- package/lib/types/components/step/divider.js +0 -1
- package/lib/types/components/step/item.js +1 -1
- package/lib/types/components/step/step.js +0 -1
- package/lib/types/components/swiper/swiper.js +1 -3
- package/lib/types/components/tabs/tabs.js +1 -2
- package/lib/types/components/tag/tag.js +0 -1
- package/lib/types/components/text/highlight.js +1 -1
- package/lib/types/components/text/text.js +0 -1
- package/lib/types/components/tree/item.js +1 -1
- package/lib/types/components/tree/tree.js +0 -1
- package/lib/types/components/upload/renderFile.js +2 -2
- package/lib/types/components/upload/upload.js +2 -4
- package/lib/types/components/utils/empty/index.js +1 -2
- package/lib/types/components/utils/helpericon/helpericon.js +2 -3
- package/lib/types/components/video/video.js +2 -9
- package/lib/types/index.js +0 -1
- package/lib/types/js/usePreview/content.js +2 -9
- package/lib/types/js/usePreview/index.js +0 -1
- package/lib/types/js/usePreview/renderFile.js +1 -1
- package/lib/types/js/useRipple/index.js +0 -1
- package/lib/types/js/utils.js +1 -1
- package/package.json +8 -3
- package/lib/css/index.css +0 -1
- package/lib/types/components/affix/affix.d.ts +0 -7
- package/lib/types/components/affix/index.d.ts +0 -2
- package/lib/types/components/affix/totop.d.ts +0 -3
- package/lib/types/components/affix/type.d.ts +0 -10
- package/lib/types/components/area/area.d.ts +0 -3
- package/lib/types/components/area/index.d.ts +0 -2
- package/lib/types/components/area/item.d.ts +0 -3
- package/lib/types/components/area/type.d.ts +0 -12
- package/lib/types/components/badge/badge.d.ts +0 -3
- package/lib/types/components/badge/index.d.ts +0 -2
- package/lib/types/components/badge/type.d.ts +0 -12
- package/lib/types/components/button/button.d.ts +0 -3
- package/lib/types/components/button/confirm.d.ts +0 -2
- package/lib/types/components/button/group.d.ts +0 -2
- package/lib/types/components/button/index.d.ts +0 -2
- package/lib/types/components/button/toggle.d.ts +0 -2
- package/lib/types/components/button/type.d.ts +0 -51
- package/lib/types/components/card/card.d.ts +0 -3
- package/lib/types/components/card/index.d.ts +0 -2
- package/lib/types/components/card/type.d.ts +0 -10
- package/lib/types/components/checkbox/checkbox.d.ts +0 -7
- package/lib/types/components/checkbox/index.d.ts +0 -2
- package/lib/types/components/checkbox/item.d.ts +0 -2
- package/lib/types/components/checkbox/type.d.ts +0 -22
- package/lib/types/components/collapse/collapse.d.ts +0 -7
- package/lib/types/components/collapse/index.d.ts +0 -2
- package/lib/types/components/collapse/item.d.ts +0 -2
- package/lib/types/components/collapse/type.d.ts +0 -20
- package/lib/types/components/datagrid/cell.d.ts +0 -13
- package/lib/types/components/datagrid/datagrid.d.ts +0 -3
- package/lib/types/components/datagrid/index.d.ts +0 -2
- package/lib/types/components/datagrid/resize.d.ts +0 -1
- package/lib/types/components/datagrid/row.d.ts +0 -3
- package/lib/types/components/datagrid/sorter.d.ts +0 -1
- package/lib/types/components/datagrid/type.d.ts +0 -61
- package/lib/types/components/description/description.d.ts +0 -3
- package/lib/types/components/description/index.d.ts +0 -2
- package/lib/types/components/description/type.d.ts +0 -23
- package/lib/types/components/drawer/drawer.d.ts +0 -3
- package/lib/types/components/drawer/index.d.ts +0 -2
- package/lib/types/components/drawer/type.d.ts +0 -13
- package/lib/types/components/drawer/useDrawer.d.ts +0 -0
- package/lib/types/components/dropdown/dropdown.d.ts +0 -6
- package/lib/types/components/dropdown/index.d.ts +0 -2
- package/lib/types/components/dropdown/item.d.ts +0 -3
- package/lib/types/components/dropdown/type.d.ts +0 -11
- package/lib/types/components/editor/controls.d.ts +0 -5
- package/lib/types/components/editor/editor.d.ts +0 -3
- package/lib/types/components/editor/index.d.ts +0 -2
- package/lib/types/components/editor/type.d.ts +0 -17
- package/lib/types/components/flex/flex.d.ts +0 -3
- package/lib/types/components/flex/index.d.ts +0 -2
- package/lib/types/components/flex/type.d.ts +0 -10
- package/lib/types/components/form/context.d.ts +0 -3
- package/lib/types/components/form/field.d.ts +0 -3
- package/lib/types/components/form/form.d.ts +0 -11
- package/lib/types/components/form/index.d.ts +0 -2
- package/lib/types/components/form/type.d.ts +0 -40
- package/lib/types/components/form/useConfig.d.ts +0 -5
- package/lib/types/components/form/useForm.d.ts +0 -14
- package/lib/types/components/icon/icon.d.ts +0 -3
- package/lib/types/components/icon/index.d.ts +0 -2
- package/lib/types/components/icon/type.d.ts +0 -9
- package/lib/types/components/image/image.d.ts +0 -3
- package/lib/types/components/image/index.d.ts +0 -2
- package/lib/types/components/image/list.d.ts +0 -2
- package/lib/types/components/image/type.d.ts +0 -30
- package/lib/types/components/input/container.d.ts +0 -2
- package/lib/types/components/input/index.d.ts +0 -2
- package/lib/types/components/input/input.d.ts +0 -3
- package/lib/types/components/input/number.d.ts +0 -3
- package/lib/types/components/input/range.d.ts +0 -3
- package/lib/types/components/input/textarea.d.ts +0 -3
- package/lib/types/components/input/type.d.ts +0 -61
- package/lib/types/components/list/index.d.ts +0 -2
- package/lib/types/components/list/item.d.ts +0 -3
- package/lib/types/components/list/list.d.ts +0 -6
- package/lib/types/components/list/type.d.ts +0 -13
- package/lib/types/components/loading/index.d.ts +0 -2
- package/lib/types/components/loading/loading.d.ts +0 -3
- package/lib/types/components/loading/type.d.ts +0 -7
- package/lib/types/components/message/index.d.ts +0 -2
- package/lib/types/components/message/message.d.ts +0 -27
- package/lib/types/components/message/type.d.ts +0 -29
- package/lib/types/components/modal/content.d.ts +0 -2
- package/lib/types/components/modal/context.d.ts +0 -2
- package/lib/types/components/modal/hookModal.d.ts +0 -6
- package/lib/types/components/modal/index.d.ts +0 -2
- package/lib/types/components/modal/modal.d.ts +0 -3
- package/lib/types/components/modal/type.d.ts +0 -34
- package/lib/types/components/modal/useModal.d.ts +0 -6
- package/lib/types/components/pagination/index.d.ts +0 -2
- package/lib/types/components/pagination/page.d.ts +0 -3
- package/lib/types/components/pagination/pagination.d.ts +0 -3
- package/lib/types/components/pagination/type.d.ts +0 -20
- package/lib/types/components/picker/colors/footer.d.ts +0 -6
- package/lib/types/components/picker/colors/handle.d.ts +0 -2
- package/lib/types/components/picker/colors/index.d.ts +0 -2
- package/lib/types/components/picker/dates/dates.d.ts +0 -5
- package/lib/types/components/picker/dates/index.d.ts +0 -3
- package/lib/types/components/picker/dates/panel.d.ts +0 -3
- package/lib/types/components/picker/index.d.ts +0 -10
- package/lib/types/components/picker/time/index.d.ts +0 -2
- package/lib/types/components/picker/time/item.d.ts +0 -1
- package/lib/types/components/picker/time/panel.d.ts +0 -1
- package/lib/types/components/picker/type.d.ts +0 -38
- package/lib/types/components/popconfirm/index.d.ts +0 -2
- package/lib/types/components/popconfirm/popconfirm.d.ts +0 -3
- package/lib/types/components/popconfirm/type.d.ts +0 -11
- package/lib/types/components/popup/content.d.ts +0 -3
- package/lib/types/components/popup/index.d.ts +0 -2
- package/lib/types/components/popup/popup.d.ts +0 -2
- package/lib/types/components/popup/type.d.ts +0 -25
- package/lib/types/components/progress/circle.d.ts +0 -2
- package/lib/types/components/progress/index.d.ts +0 -2
- package/lib/types/components/progress/line.d.ts +0 -9
- package/lib/types/components/progress/progress.d.ts +0 -3
- package/lib/types/components/progress/type.d.ts +0 -20
- package/lib/types/components/radio/index.d.ts +0 -2
- package/lib/types/components/radio/item.d.ts +0 -2
- package/lib/types/components/radio/radio.d.ts +0 -7
- package/lib/types/components/radio/type.d.ts +0 -18
- package/lib/types/components/resizable/index.d.ts +0 -2
- package/lib/types/components/resizable/resizable.d.ts +0 -3
- package/lib/types/components/resizable/type.d.ts +0 -16
- package/lib/types/components/river/index.d.ts +0 -2
- package/lib/types/components/river/river.d.ts +0 -3
- package/lib/types/components/river/type.d.ts +0 -5
- package/lib/types/components/select/index.d.ts +0 -2
- package/lib/types/components/select/options.d.ts +0 -5
- package/lib/types/components/select/select.d.ts +0 -3
- package/lib/types/components/select/type.d.ts +0 -24
- package/lib/types/components/step/divider.d.ts +0 -1
- package/lib/types/components/step/index.d.ts +0 -2
- package/lib/types/components/step/item.d.ts +0 -3
- package/lib/types/components/step/step.d.ts +0 -7
- package/lib/types/components/step/type.d.ts +0 -16
- package/lib/types/components/swiper/index.d.ts +0 -2
- package/lib/types/components/swiper/item.d.ts +0 -3
- package/lib/types/components/swiper/swiper.d.ts +0 -3
- package/lib/types/components/swiper/type.d.ts +0 -49
- package/lib/types/components/tabs/index.d.ts +0 -2
- package/lib/types/components/tabs/item.d.ts +0 -3
- package/lib/types/components/tabs/tabs.d.ts +0 -3
- package/lib/types/components/tabs/type.d.ts +0 -41
- package/lib/types/components/tag/index.d.ts +0 -2
- package/lib/types/components/tag/tag.d.ts +0 -3
- package/lib/types/components/tag/type.d.ts +0 -11
- package/lib/types/components/text/highlight.d.ts +0 -2
- package/lib/types/components/text/index.d.ts +0 -2
- package/lib/types/components/text/number.d.ts +0 -2
- package/lib/types/components/text/text.d.ts +0 -3
- package/lib/types/components/text/time.d.ts +0 -2
- package/lib/types/components/text/type.d.ts +0 -40
- package/lib/types/components/tree/index.d.ts +0 -2
- package/lib/types/components/tree/item.d.ts +0 -11
- package/lib/types/components/tree/tree.d.ts +0 -3
- package/lib/types/components/tree/type.d.ts +0 -60
- package/lib/types/components/upload/index.d.ts +0 -2
- package/lib/types/components/upload/renderFile.d.ts +0 -7
- package/lib/types/components/upload/type.d.ts +0 -41
- package/lib/types/components/upload/upload.d.ts +0 -3
- package/lib/types/components/utils/empty/index.d.ts +0 -1
- package/lib/types/components/utils/helpericon/helpericon.d.ts +0 -3
- package/lib/types/components/utils/helpericon/index.d.ts +0 -2
- package/lib/types/components/utils/helpericon/type.d.ts +0 -11
- package/lib/types/components/video/index.d.ts +0 -2
- package/lib/types/components/video/type.d.ts +0 -24
- package/lib/types/components/video/video.d.ts +0 -3
- package/lib/types/index.d.ts +0 -40
- package/lib/types/js/hooks.d.ts +0 -36
- package/lib/types/js/usePreview/content.d.ts +0 -2
- package/lib/types/js/usePreview/index.d.ts +0 -2
- package/lib/types/js/usePreview/renderFile.d.ts +0 -2
- package/lib/types/js/usePreview/type.d.ts +0 -36
- package/lib/types/js/useRipple/index.d.ts +0 -2
- package/lib/types/js/useTheme/index.d.ts +0 -6
- package/lib/types/js/useTheme/type.d.ts +0 -9
- package/lib/types/js/utils.d.ts +0 -36
- package/lib/types/type/index.d.ts +0 -34
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import classNames from "classnames";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import "./index.css";
|
|
5
4
|
//#region packages/components/flex/flex.tsx
|
|
6
5
|
const Flex = (props) => {
|
|
7
6
|
const { as: Component = "div", align, justify, direction, wrap, gap, columns, className, style, ...restProps } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Context from "./context.js";
|
|
2
2
|
import { Children, cloneElement, isValidElement, useContext, useEffect, useMemo, useState } from "react";
|
|
3
|
-
import PubSub from "pubsub-js";
|
|
3
|
+
import PubSub from "/Users/iann/codes/ioca-react/node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js";
|
|
4
4
|
//#region packages/components/form/field.tsx
|
|
5
5
|
function Field(props) {
|
|
6
6
|
const { name, required, children } = props;
|
|
@@ -5,8 +5,7 @@ import useConfig from "./useConfig.js";
|
|
|
5
5
|
import classNames from "classnames";
|
|
6
6
|
import { useEffect, useMemo } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import PubSub from "pubsub-js";
|
|
9
|
-
import "./index.css";
|
|
8
|
+
import PubSub from "/Users/iann/codes/ioca-react/node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js";
|
|
10
9
|
//#region packages/components/form/form.tsx
|
|
11
10
|
const Form = (props) => {
|
|
12
11
|
const { form = {}, rules, initialValues, style, className, width, columns, itemMaxWidth, gap = "1em", labelInline, labelWidth, labelRight, children, onKeyDown, onEnter, onChange, ...restProps } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { uid } from "radash";
|
|
1
|
+
import { uid } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
2
2
|
import { useRef } from "react";
|
|
3
|
-
import PubSub from "pubsub-js";
|
|
3
|
+
import PubSub from "/Users/iann/codes/ioca-react/node_modules/.pnpm/pubsub-js@1.9.5/node_modules/pubsub-js/src/pubsub.js";
|
|
4
4
|
//#region packages/components/form/useForm.ts
|
|
5
5
|
var IFormInstance = class {
|
|
6
6
|
id;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import classNames from "classnames";
|
|
2
2
|
import { cloneElement, isValidElement } from "react";
|
|
3
|
-
import "./index.css";
|
|
4
3
|
//#region packages/components/icon/icon.tsx
|
|
5
4
|
const Icon = (props) => {
|
|
6
5
|
const { ref, icon, size = "1.425em", rotate, style, className, ...restProps } = props;
|
|
@@ -5,7 +5,6 @@ import List from "./list.js";
|
|
|
5
5
|
import classNames from "classnames";
|
|
6
6
|
import { useEffect, useRef } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import "./index.css";
|
|
9
8
|
//#region packages/components/image/image.tsx
|
|
10
9
|
const Image = (props) => {
|
|
11
10
|
const { src, thumb, round, size, height, width, ratio, initSize, lazyload, fallback, fit, style, className, cover, coverClass, usePreview: previewable, onLoad, onError, onClick, ...restProps } = props;
|
|
@@ -5,10 +5,8 @@ import Range from "./range.js";
|
|
|
5
5
|
import Textarea from "./textarea.js";
|
|
6
6
|
import classNames from "classnames";
|
|
7
7
|
import { useEffect, useMemo, useState } from "react";
|
|
8
|
+
import { VisibilityOffRound, VisibilityRound } from "@ricons/material";
|
|
8
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import "../../css/input.css";
|
|
10
|
-
import VisibilityOffRound from "@ricons/material/es/VisibilityOffRound.js";
|
|
11
|
-
import VisibilityRound from "@ricons/material/es/VisibilityRound.js";
|
|
12
10
|
//#region packages/components/input/input.tsx
|
|
13
11
|
const Input = ((props) => {
|
|
14
12
|
const { ref, type = "text", label, name, value = "", prepend, append, labelInline, className, status = "normal", message, tip, clear, width, hideVisible, border, underline, required, maxLength, onChange, onEnter, onClear, style, ...restProps } = props;
|
|
@@ -3,11 +3,8 @@ import helpericon_default from "../utils/helpericon/index.js";
|
|
|
3
3
|
import InputContainer from "./container.js";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
+
import { KeyboardDoubleArrowUpRound, MinusRound, PlusRound } from "@ricons/material";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "../../css/input.css";
|
|
8
|
-
import MinusRound from "@ricons/material/es/MinusRound.js";
|
|
9
|
-
import PlusRound from "@ricons/material/es/PlusRound.js";
|
|
10
|
-
import KeyboardDoubleArrowUpRound from "@ricons/material/es/KeyboardDoubleArrowUpRound.js";
|
|
11
8
|
//#region packages/components/input/number.tsx
|
|
12
9
|
const Number = (props) => {
|
|
13
10
|
const { ref, label, name, value = "", labelInline, step = 1, min = -Infinity, max = Infinity, thousand, precision, type, className, width, status = "normal", append, border, prepend, disabled, message, tip, hideControl, showMax, style, onChange, onEnter, onInput, onBlur, ...restProps } = props;
|
|
@@ -3,11 +3,8 @@ import helpericon_default from "../utils/helpericon/index.js";
|
|
|
3
3
|
import InputContainer from "./container.js";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
+
import { MinusRound, PlusRound, SyncAltRound } from "@ricons/material";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "../../css/input.css";
|
|
8
|
-
import MinusRound from "@ricons/material/es/MinusRound.js";
|
|
9
|
-
import PlusRound from "@ricons/material/es/PlusRound.js";
|
|
10
|
-
import SyncAltRound from "@ricons/material/es/SyncAltRound.js";
|
|
11
8
|
//#region packages/components/input/range.tsx
|
|
12
9
|
const Range = (props) => {
|
|
13
10
|
const { label, name, value, labelInline, min = -Infinity, max = Infinity, type, className, status = "normal", message, tip, append, prepend, step = 1, width, thousand, precision, hideControl, placeholder, border, autoSwitch, onChange, onBlur, style, ...restProps } = props;
|
|
@@ -2,7 +2,6 @@ import InputContainer from "./container.js";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import "../../css/input.css";
|
|
6
5
|
//#region packages/components/input/textarea.tsx
|
|
7
6
|
const Textarea = (props) => {
|
|
8
7
|
const { ref, label, name, value = "", labelInline, className, status = "normal", message, tip, autoSize, border, width, style, onChange, onEnter, ...restProps } = props;
|
|
@@ -2,7 +2,6 @@ import Item from "./item.js";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { Children, cloneElement } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import "./index.css";
|
|
6
5
|
//#region packages/components/list/list.tsx
|
|
7
6
|
const List = (props) => {
|
|
8
7
|
const { label, type, border, className, children, ...restProps } = props;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { useReactive } from "../../js/hooks.js";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { uid } from "radash";
|
|
3
|
+
import { uid } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
4
4
|
import { isValidElement, useEffect, useRef } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { createRoot } from "react-dom/client";
|
|
7
|
-
import "./index.css";
|
|
6
|
+
import { createRoot } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js";
|
|
8
7
|
//#region packages/components/message/message.tsx
|
|
9
8
|
const AlignMap = {
|
|
10
9
|
left: "flex-start",
|
|
@@ -2,7 +2,6 @@ import button_default from "../button/index.js";
|
|
|
2
2
|
import helpericon_default from "../utils/helpericon/index.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import "./index.css";
|
|
6
5
|
//#region packages/components/modal/content.tsx
|
|
7
6
|
function Content(props) {
|
|
8
7
|
const { title, footer, hideCloseButton, footerLeft, okButtonProps, cancelButtonProps, children, onOk, onClose } = props;
|
|
@@ -6,7 +6,6 @@ import classNames from "classnames";
|
|
|
6
6
|
import { useEffect, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { createPortal } from "react-dom";
|
|
9
|
-
import "./index.css";
|
|
10
9
|
//#region packages/components/modal/modal.tsx
|
|
11
10
|
function Modal(props) {
|
|
12
11
|
const { visible, title, footer, okButtonProps, cancelButtonProps, closable = true, hideBackdrop, backdropClosable = true, hideCloseButton, disableEsc, width, height, customized, fixed, hideShadow, children, style, className, keepDOM, footerLeft, onClick, onVisibleChange, onClose, onOk, ...restProps } = props;
|
|
@@ -2,11 +2,8 @@ import icon_default from "../icon/index.js";
|
|
|
2
2
|
import Page from "./page.js";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { useEffect, useMemo, useState } from "react";
|
|
5
|
+
import { KeyboardArrowLeftRound, KeyboardArrowRightRound, MoreHorizRound } from "@ricons/material";
|
|
5
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import KeyboardArrowLeftRound from "@ricons/material/es/KeyboardArrowLeftRound.js";
|
|
7
|
-
import KeyboardArrowRightRound from "@ricons/material/es/KeyboardArrowRightRound.js";
|
|
8
|
-
import MoreHorizRound from "@ricons/material/es/MoreHorizRound.js";
|
|
9
|
-
import "./index.css";
|
|
10
7
|
//#region packages/components/pagination/pagination.tsx
|
|
11
8
|
const Pagination = (props) => {
|
|
12
9
|
const { page: defaultPage = 1, size = 10, total = 0, sibling = 2, prev = /* @__PURE__ */ jsx(icon_default, { icon: /* @__PURE__ */ jsx(KeyboardArrowLeftRound, {}) }), next = /* @__PURE__ */ jsx(icon_default, { icon: /* @__PURE__ */ jsx(KeyboardArrowRightRound, {}) }), simple, jumper, className, renderEllipsis = () => /* @__PURE__ */ jsx(icon_default, {
|
|
@@ -3,8 +3,8 @@ import icon_default from "../../icon/index.js";
|
|
|
3
3
|
import input_default from "../../input/index.js";
|
|
4
4
|
import select_default from "../../select/index.js";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
+
import { CheckRound } from "@ricons/material";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import CheckRound from "@ricons/material/es/CheckRound.js";
|
|
8
8
|
//#region packages/components/picker/colors/footer.tsx
|
|
9
9
|
const ColorMethods = {
|
|
10
10
|
HEX: "toHexString",
|
|
@@ -4,7 +4,6 @@ import Handle from "./handle.js";
|
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import ColorsPanel from "@rc-component/color-picker";
|
|
7
|
-
import "./index.css";
|
|
8
7
|
//#region packages/components/picker/colors/index.tsx
|
|
9
8
|
function ColorPicker(props) {
|
|
10
9
|
const { value, type = "HEX", disabledAlpha, children, usePanel, handle = "both", placeholder = "Colors", popupProps, onChange } = props;
|
|
@@ -4,11 +4,10 @@ import input_default from "../../input/index.js";
|
|
|
4
4
|
import Panel from "./panel.js";
|
|
5
5
|
import classNames from "classnames";
|
|
6
6
|
import { useEffect, useMemo, useState } from "react";
|
|
7
|
+
import { CalendarMonthTwotone } from "@ricons/material";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import CalendarMonthTwotone from "@ricons/material/es/CalendarMonthTwotone.js";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
|
-
import customParseFormat from "dayjs/plugin/customParseFormat.js";
|
|
11
|
-
import "./index.css";
|
|
10
|
+
import customParseFormat from "/Users/iann/codes/ioca-react/node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/plugin/customParseFormat.js";
|
|
12
11
|
//#region packages/components/picker/dates/index.tsx
|
|
13
12
|
dayjs.extend(customParseFormat);
|
|
14
13
|
const FORMATTYPES = [
|
|
@@ -2,11 +2,10 @@ import icon_default from "../../icon/index.js";
|
|
|
2
2
|
import helpericon_default from "../../utils/helpericon/index.js";
|
|
3
3
|
import Dates from "./dates.js";
|
|
4
4
|
import classNames from "classnames";
|
|
5
|
-
import { throttle } from "radash";
|
|
5
|
+
import { throttle } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
6
6
|
import { useEffect, useRef, useState } from "react";
|
|
7
|
+
import { KeyboardArrowLeftRound, KeyboardArrowRightRound } from "@ricons/material";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import KeyboardArrowLeftRound from "@ricons/material/es/KeyboardArrowLeftRound.js";
|
|
9
|
-
import KeyboardArrowRightRound from "@ricons/material/es/KeyboardArrowRightRound.js";
|
|
10
9
|
import dayjs from "dayjs";
|
|
11
10
|
//#region packages/components/picker/dates/panel.tsx
|
|
12
11
|
const MONTHS = [
|
|
@@ -4,8 +4,8 @@ import input_default from "../../input/index.js";
|
|
|
4
4
|
import Panel from "./panel.js";
|
|
5
5
|
import classNames from "classnames";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
|
+
import { AccessTimeRound } from "@ricons/material";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import AccessTimeRound from "@ricons/material/es/AccessTimeRound.js";
|
|
9
9
|
//#region packages/components/picker/time/index.tsx
|
|
10
10
|
const FORMAT = "hh:mm:ss";
|
|
11
11
|
function TimePicker(props) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Items from "./item.js";
|
|
2
2
|
import { useEffect, useMemo, useState } from "react";
|
|
3
3
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import "./index.css";
|
|
5
4
|
//#region packages/components/picker/time/panel.tsx
|
|
6
5
|
const UnitMaps = {
|
|
7
6
|
h: "hour",
|
|
@@ -3,9 +3,8 @@ import button_default from "../button/index.js";
|
|
|
3
3
|
import icon_default from "../icon/index.js";
|
|
4
4
|
import popup_default from "../popup/index.js";
|
|
5
5
|
import flex_default from "../flex/index.js";
|
|
6
|
+
import { InfoOutlined } from "@ricons/material";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import InfoOutlined from "@ricons/material/es/InfoOutlined.js";
|
|
8
|
-
import "./index.css";
|
|
9
8
|
//#region packages/components/popconfirm/popconfirm.tsx
|
|
10
9
|
const defaultOk = { children: "确定" };
|
|
11
10
|
const defaultCancel = {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { useMouseUp, useResizeObserver } from "../../js/hooks.js";
|
|
2
2
|
import { getPointPosition, getPosition } from "../../js/utils.js";
|
|
3
3
|
import Content from "./content.js";
|
|
4
|
-
import { debounce } from "radash";
|
|
4
|
+
import { debounce } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
5
5
|
import { Children, cloneElement, isValidElement, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "./index.css";
|
|
8
7
|
//#region packages/components/popup/popup.tsx
|
|
9
8
|
function Popup(props) {
|
|
10
9
|
const { visible = false, content, trigger = "hover", gap = 12, offset = 8, position = "top", showDelay = 16, hideDelay = 12, touchable, arrow = true, align = "center", fitSize, disabled, style, className, children, onVisibleChange } = props;
|
|
@@ -4,8 +4,6 @@ import Line from "./line.js";
|
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { useEffect, useRef } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "../../css/input.css";
|
|
8
|
-
import "./index.css";
|
|
9
7
|
//#region packages/components/progress/progress.tsx
|
|
10
8
|
const Progress = (props) => {
|
|
11
9
|
const { value = 0, lineWidth = 8, circleSize = 40, precision = 0, style, draggable = true, type = "line", barClass, vertical, label, labelInline, className, renderCursor, onChange, onDraggingChange } = props;
|
|
@@ -3,8 +3,6 @@ import RadioItem from "./item.js";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { useEffect, useMemo, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import "../../css/input.css";
|
|
7
|
-
import "./index.css";
|
|
8
6
|
//#region packages/components/radio/radio.tsx
|
|
9
7
|
function Radio(props) {
|
|
10
8
|
const { label, name, options, value, type = "default", status = "normal", message, optionInline = true, labelInline, disabled, required, className, renderItem, onChange } = props;
|
|
@@ -2,7 +2,6 @@ import { useMouseMove, useMouseUp, useReactive } from "../../js/hooks.js";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import "./index.css";
|
|
6
5
|
//#region packages/components/resizable/resizable.tsx
|
|
7
6
|
const Resizable = (props) => {
|
|
8
7
|
const { other, children, vertical, height, size = "auto", minSize = 0, maxSize = "100%", style, line, className, asPercent, onResize, onResizeComplete } = props;
|
|
@@ -2,7 +2,6 @@ import { useReactive } from "../../js/hooks.js";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { Children, useLayoutEffect, useMemo, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import "./index.css";
|
|
6
5
|
//#region packages/components/river/river.tsx
|
|
7
6
|
const River = (props) => {
|
|
8
7
|
const { children, className, speed = 1, pauseOnHover, ...restProps } = props;
|
|
@@ -3,9 +3,8 @@ import Empty from "../utils/empty/index.js";
|
|
|
3
3
|
import list_default from "../list/index.js";
|
|
4
4
|
import tag_default from "../tag/index.js";
|
|
5
5
|
import classNames from "classnames";
|
|
6
|
+
import { CheckRound, SearchRound } from "@ricons/material";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import CheckRound from "@ricons/material/es/CheckRound.js";
|
|
8
|
-
import SearchRound from "@ricons/material/es/SearchRound.js";
|
|
9
8
|
//#region packages/components/select/options.tsx
|
|
10
9
|
const Options = (props) => {
|
|
11
10
|
const { value: val, options, filter, filterPlaceholder, multiple, empty = /* @__PURE__ */ jsx(Empty, {}), onSelect, onFilter } = props;
|
|
@@ -3,12 +3,10 @@ import helpericon_default from "../utils/helpericon/index.js";
|
|
|
3
3
|
import popup_default from "../popup/index.js";
|
|
4
4
|
import { Options, displayValue } from "./options.js";
|
|
5
5
|
import classNames from "classnames";
|
|
6
|
-
import { debounce } from "radash";
|
|
6
|
+
import { debounce } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
7
7
|
import { useEffect, useMemo, useState } from "react";
|
|
8
|
+
import { UnfoldMoreRound } from "@ricons/material";
|
|
8
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import "../../css/input.css";
|
|
10
|
-
import UnfoldMoreRound from "@ricons/material/es/UnfoldMoreRound.js";
|
|
11
|
-
import "./index.css";
|
|
12
10
|
//#region packages/components/select/select.tsx
|
|
13
11
|
const Select = (props) => {
|
|
14
12
|
const { ref, type = "text", name, label, value = "", placeholder, options = [], multiple, prepend, append, labelInline, style, className, message, status = "normal", hideClear, hideArrow, maxDisplay, border, filter, tip, filterPlaceholder = "...", popupProps, onSelect, onChange, ...restProps } = props;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Divider from "./divider.js";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
+
import { CheckRound } from "@ricons/material";
|
|
3
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import CheckRound from "@ricons/material/es/CheckRound.js";
|
|
5
5
|
//#region packages/components/step/item.tsx
|
|
6
6
|
const STATUS = [
|
|
7
7
|
"finished",
|
|
@@ -2,7 +2,6 @@ import Item from "./item.js";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { Children, useMemo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import "./index.css";
|
|
6
5
|
//#region packages/components/step/step.tsx
|
|
7
6
|
const Step = (props) => {
|
|
8
7
|
const { active = 0, vertical, renderIcon, line, style, asList, className, children, onClick } = props;
|
|
@@ -4,10 +4,8 @@ import { clamp } from "../../js/utils.js";
|
|
|
4
4
|
import Item from "./item.js";
|
|
5
5
|
import classNames from "classnames";
|
|
6
6
|
import { Children, useEffect, useImperativeHandle, useMemo, useRef } from "react";
|
|
7
|
+
import { KeyboardArrowLeftRound, KeyboardArrowRightRound } from "@ricons/material";
|
|
7
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import KeyboardArrowLeftRound from "@ricons/material/es/KeyboardArrowLeftRound.js";
|
|
9
|
-
import KeyboardArrowRightRound from "@ricons/material/es/KeyboardArrowRightRound.js";
|
|
10
|
-
import "./index.css";
|
|
11
9
|
//#region packages/components/swiper/swiper.tsx
|
|
12
10
|
const Swiper = ((props) => {
|
|
13
11
|
const { ref, type = "normal", initial = 0, display = 1, scroll = 1, loop = true, vertical, prev = /* @__PURE__ */ jsx(icon_default, {
|
|
@@ -6,9 +6,8 @@ import popup_default from "../popup/index.js";
|
|
|
6
6
|
import Item from "./item.js";
|
|
7
7
|
import classNames from "classnames";
|
|
8
8
|
import { Children, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
9
|
+
import { MoreHorizRound } from "@ricons/material";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import MoreHorizRound from "@ricons/material/es/MoreHorizRound.js";
|
|
11
|
-
import "./index.css";
|
|
12
11
|
//#region packages/components/tabs/tabs.tsx
|
|
13
12
|
const Tabs = ((props) => {
|
|
14
13
|
const { ref, active, tabs: items, type = "default", prepend, append, children, className, vertical, toggable, navsJustify = "start", bar = true, hideMore, barClass, renderMore = () => /* @__PURE__ */ jsx(button_default, {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import helpericon_default from "../utils/helpericon/index.js";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import "./index.css";
|
|
5
4
|
//#region packages/components/tag/tag.tsx
|
|
6
5
|
const Tag = (props) => {
|
|
7
6
|
const { dot, dotClass, outline, round, size = "normal", hoverShowClose, className, children, onClose, onClick, ...restProps } = props;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Text from "./text.js";
|
|
2
2
|
import { Fragment, useMemo } from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { findAll } from "highlight-words-core";
|
|
4
|
+
import { findAll } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/highlight-words-core@1.2.3/node_modules/highlight-words-core/dist/index.js";
|
|
5
5
|
//#region packages/components/text/highlight.tsx
|
|
6
6
|
function HighLight(props) {
|
|
7
7
|
const { keyword, text, escape, caseSensitive, renderWord = (word) => /* @__PURE__ */ jsx("mark", { children: word }), ...restProps } = props;
|
|
@@ -4,7 +4,6 @@ import Number$1 from "./time.js";
|
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import "./index.css";
|
|
8
7
|
//#region packages/components/text/text.tsx
|
|
9
8
|
const Text = (props) => {
|
|
10
9
|
const { as: Tag = "span", size, weight, decoration, gradient, wave, style, className, children } = props;
|
|
@@ -2,8 +2,8 @@ import icon_default from "../icon/index.js";
|
|
|
2
2
|
import checkbox_default from "../checkbox/index.js";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { useState } from "react";
|
|
5
|
+
import { KeyboardArrowDownRound } from "@ricons/material";
|
|
5
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import KeyboardArrowDownRound from "@ricons/material/es/KeyboardArrowDownRound.js";
|
|
7
7
|
//#region packages/components/tree/item.tsx
|
|
8
8
|
function TreeList(props) {
|
|
9
9
|
const { data = [], depth = 0, round, style, className, parent, nodeProps, ...restProps } = props;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TreeList } from "./item.js";
|
|
2
2
|
import { useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import "./index.css";
|
|
5
4
|
//#region packages/components/tree/tree.tsx
|
|
6
5
|
const defaultNodeProps = {
|
|
7
6
|
key: "key",
|
|
@@ -3,10 +3,10 @@ import { formatBytes, getFileType } from "../../js/utils.js";
|
|
|
3
3
|
import helpericon_default from "../utils/helpericon/index.js";
|
|
4
4
|
import { TFileType } from "../../js/usePreview/type.js";
|
|
5
5
|
import image_default from "../image/index.js";
|
|
6
|
-
import { title } from "radash";
|
|
6
|
+
import { title } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
7
|
+
import { ListAltRound } from "@ricons/material";
|
|
7
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import SortableContainer from "react-easy-sort";
|
|
9
|
-
import ListAltRound from "@ricons/material/es/ListAltRound.js";
|
|
10
10
|
//#region packages/components/upload/renderFile.tsx
|
|
11
11
|
const ListContainer = (props) => {
|
|
12
12
|
const { sortable, onSortEnd, itemProps, ...restProps } = props;
|
|
@@ -5,13 +5,11 @@ import usePreview from "../../js/usePreview/index.js";
|
|
|
5
5
|
import InputContainer from "../input/container.js";
|
|
6
6
|
import FileListItem, { ListContainer } from "./renderFile.js";
|
|
7
7
|
import classNames from "classnames";
|
|
8
|
-
import { uid } from "radash";
|
|
8
|
+
import { uid } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
9
9
|
import { useEffect, useImperativeHandle, useMemo, useRef, useState } from "react";
|
|
10
|
+
import { DriveFolderUploadOutlined, PlusSharp } from "@ricons/material";
|
|
10
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import DriveFolderUploadOutlined from "@ricons/material/es/DriveFolderUploadOutlined.js";
|
|
12
|
-
import PlusSharp from "@ricons/material/es/PlusSharp.js";
|
|
13
12
|
import { SortableItem } from "react-easy-sort";
|
|
14
|
-
import "./index.css";
|
|
15
13
|
//#region packages/components/upload/upload.tsx
|
|
16
14
|
const Upload = (props) => {
|
|
17
15
|
const { ref, label, labelInline, value, files = [], initialFiles, placeholder, status = "normal", message, className, style, children, defaultButtonProps, mode = "default", cardSize = "4em", disabled, sortable, limit = props.multiple ? Infinity : 1, multiple, renderItem, shouldUpload = () => true, uploader, onChange, onFilesChange, onUpload, ...restProps } = props;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import classNames from "classnames";
|
|
2
|
+
import { InboxTwotone } from "@ricons/material";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import InboxTwotone from "@ricons/material/es/InboxTwotone.js";
|
|
4
|
-
import "./index.css";
|
|
5
4
|
//#region packages/components/utils/empty/index.tsx
|
|
6
5
|
function Empty(props) {
|
|
7
6
|
const { className, ...restProps } = props;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import icon_default from "../../icon/index.js";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { uid } from "radash";
|
|
3
|
+
import { uid } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
4
4
|
import { createElement } from "react";
|
|
5
|
+
import { CloseRound } from "@ricons/material";
|
|
5
6
|
import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
|
|
6
|
-
import CloseRound from "@ricons/material/es/CloseRound.js";
|
|
7
|
-
import "./index.css";
|
|
8
7
|
//#region packages/components/utils/helpericon/helpericon.tsx
|
|
9
8
|
const Helpericon = (props) => {
|
|
10
9
|
const { as = "a", active, className, icon = /* @__PURE__ */ jsx(CloseRound, {}), ...restProps } = props;
|
|
@@ -5,17 +5,10 @@ import { exitFullScreen, fullScreen } from "../../js/utils.js";
|
|
|
5
5
|
import text_default from "../text/index.js";
|
|
6
6
|
import progress_default from "../progress/index.js";
|
|
7
7
|
import classNames from "classnames";
|
|
8
|
-
import { throttle } from "radash";
|
|
8
|
+
import { throttle } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
9
9
|
import { useEffect, useImperativeHandle, useRef } from "react";
|
|
10
|
+
import { FullscreenExitRound, FullscreenRound, PauseRound, PlayArrowRound, StopRound, VolumeDownRound, VolumeOffRound } from "@ricons/material";
|
|
10
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import FullscreenExitRound from "@ricons/material/es/FullscreenExitRound.js";
|
|
12
|
-
import FullscreenRound from "@ricons/material/es/FullscreenRound.js";
|
|
13
|
-
import PauseRound from "@ricons/material/es/PauseRound.js";
|
|
14
|
-
import PlayArrowRound from "@ricons/material/es/PlayArrowRound.js";
|
|
15
|
-
import StopRound from "@ricons/material/es/StopRound.js";
|
|
16
|
-
import VolumeDownRound from "@ricons/material/es/VolumeDownRound.js";
|
|
17
|
-
import VolumeOffRound from "@ricons/material/es/VolumeOffRound.js";
|
|
18
|
-
import "./index.css";
|
|
19
12
|
//#region packages/components/video/video.tsx
|
|
20
13
|
const Video = (props) => {
|
|
21
14
|
const { ref, style, hideControls, autoplay, muted, volume = 50, height, width, useOriginControls, timeProgressProps = { barClass: "bg-blue" }, volumeProgressProps = { barClass: "bg-blue" }, className, onFullScreenChange, ...restProps } = props;
|
package/lib/types/index.js
CHANGED
|
@@ -39,5 +39,4 @@ import tabs_default from "./components/tabs/index.js";
|
|
|
39
39
|
import tree_default from "./components/tree/index.js";
|
|
40
40
|
import upload_default from "./components/upload/index.js";
|
|
41
41
|
import useTheme from "./js/useTheme/index.js";
|
|
42
|
-
import "./css/index.scss";
|
|
43
42
|
export { affix_default as Affix, badge_default as Badge, button_default as Button, card_default as Card, checkbox_default as Checkbox, collapse_default as Collapse, ColorPicker, datagrid_default as Datagrid, Datepicker as DatePicker, description_default as Description, drawer_default as Drawer, dropdown_default as Dropdown, editor_default as Editor, flex_default as Flex, form_default as Form, icon_default as Icon, image_default as Image, input_default as Input, list_default as List, loading_default as Loading, message_default as Message, modal_default as Modal, pagination_default as Pagination, popconfirm_default as Popconfirm, popup_default as Popup, progress_default as Progress, radio_default as Radio, resizable_default as Resizable, river_default as River, select_default as Select, step_default as Step, swiper_default as Swiper, tabs_default as Tabs, tag_default as Tag, text_default as Text, TimePicker, tree_default as Tree, upload_default as Upload, video_default as Video, usePreview, useTheme };
|
|
@@ -5,17 +5,10 @@ import { getFileType, getSuffixByUrl } from "../utils.js";
|
|
|
5
5
|
import { TFileType } from "./type.js";
|
|
6
6
|
import renderFile from "./renderFile.js";
|
|
7
7
|
import classNames from "classnames";
|
|
8
|
-
import { throttle } from "radash";
|
|
8
|
+
import { throttle } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1.1/node_modules/radash/dist/esm/index.mjs";
|
|
9
9
|
import { useEffect, useMemo, useRef } from "react";
|
|
10
|
+
import { AspectRatioRound, CloseRound, FileDownloadOutlined, KeyboardArrowLeftRound, KeyboardArrowRightRound, OpenInNewRound, RotateLeftRound, RotateRightRound } from "@ricons/material";
|
|
10
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import CloseRound from "@ricons/material/es/CloseRound.js";
|
|
12
|
-
import AspectRatioRound from "@ricons/material/es/AspectRatioRound.js";
|
|
13
|
-
import FileDownloadOutlined from "@ricons/material/es/FileDownloadOutlined.js";
|
|
14
|
-
import KeyboardArrowLeftRound from "@ricons/material/es/KeyboardArrowLeftRound.js";
|
|
15
|
-
import KeyboardArrowRightRound from "@ricons/material/es/KeyboardArrowRightRound.js";
|
|
16
|
-
import OpenInNewRound from "@ricons/material/es/OpenInNewRound.js";
|
|
17
|
-
import RotateLeftRound from "@ricons/material/es/RotateLeftRound.js";
|
|
18
|
-
import RotateRightRound from "@ricons/material/es/RotateRightRound.js";
|
|
19
12
|
//#region packages/js/usePreview/content.tsx
|
|
20
13
|
function Content(props) {
|
|
21
14
|
const { items = [], initial = 0, renderFile: renderFile$1 = renderFile, onRotate, onChange, onClose, onZoom } = props;
|
|
@@ -3,7 +3,6 @@ import HookModal from "../../components/modal/hookModal.js";
|
|
|
3
3
|
import Content from "./content.js";
|
|
4
4
|
import { useRef } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import "./index.css";
|
|
7
6
|
//#region packages/js/usePreview/index.tsx
|
|
8
7
|
function usePreview() {
|
|
9
8
|
const ref = useRef(null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import icon_default from "../../components/icon/index.js";
|
|
2
2
|
import video_default from "../../components/video/index.js";
|
|
3
3
|
import { TFileType } from "./type.js";
|
|
4
|
+
import { FeedOutlined } from "@ricons/material";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import FeedOutlined from "@ricons/material/es/FeedOutlined.js";
|
|
6
6
|
//#region packages/js/usePreview/renderFile.tsx
|
|
7
7
|
function renderFile(props) {
|
|
8
8
|
const { name, suffix, type } = props;
|
package/lib/types/js/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import { createRoot } from "react-dom/client";
|
|
2
|
+
import { createRoot } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js";
|
|
3
3
|
//#region packages/js/utils.ts
|
|
4
4
|
function getPosition($source, $popup, options = {}) {
|
|
5
5
|
const { refWindow, gap = 0, offset = 0, position = "top", align } = options;
|