@ioca/react 1.4.77 → 1.4.79
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.cjs +23 -0
- package/lib/cjs/components/affix/affix.cjs +66 -0
- package/lib/cjs/components/affix/affix.cjs.map +1 -0
- package/lib/cjs/components/affix/index.cjs +6 -0
- package/lib/cjs/components/affix/index.cjs.map +1 -0
- package/lib/cjs/components/affix/totop.cjs +25 -0
- package/lib/cjs/components/affix/totop.cjs.map +1 -0
- package/lib/cjs/components/badge/badge.cjs +24 -0
- package/lib/cjs/components/badge/badge.cjs.map +1 -0
- package/lib/cjs/components/badge/index.cjs +6 -0
- package/lib/cjs/components/badge/index.cjs.map +1 -0
- package/lib/cjs/components/button/button.cjs +64 -0
- package/lib/cjs/components/button/button.cjs.map +1 -0
- package/lib/cjs/components/button/confirm.cjs +60 -0
- package/lib/cjs/components/button/confirm.cjs.map +1 -0
- package/lib/cjs/components/button/group.cjs +26 -0
- package/lib/cjs/components/button/group.cjs.map +1 -0
- package/lib/cjs/components/button/index.cjs +6 -0
- package/lib/cjs/components/button/index.cjs.map +1 -0
- package/lib/cjs/components/button/toggle.cjs +46 -0
- package/lib/cjs/components/button/toggle.cjs.map +1 -0
- package/lib/cjs/components/card/card.cjs +33 -0
- package/lib/cjs/components/card/card.cjs.map +1 -0
- package/lib/cjs/components/card/index.cjs +6 -0
- package/lib/cjs/components/card/index.cjs.map +1 -0
- package/lib/cjs/components/checkbox/checkbox.cjs +66 -0
- package/lib/cjs/components/checkbox/checkbox.cjs.map +1 -0
- package/lib/cjs/components/checkbox/index.cjs +6 -0
- package/lib/cjs/components/checkbox/index.cjs.map +1 -0
- package/lib/cjs/components/checkbox/item.cjs +59 -0
- package/lib/cjs/components/checkbox/item.cjs.map +1 -0
- package/lib/cjs/components/collapse/collapse.cjs +84 -0
- package/lib/cjs/components/collapse/collapse.cjs.map +1 -0
- package/lib/cjs/components/collapse/index.cjs +6 -0
- package/lib/cjs/components/collapse/index.cjs.map +1 -0
- package/lib/cjs/components/collapse/item.cjs +10 -0
- package/lib/cjs/components/collapse/item.cjs.map +1 -0
- package/lib/cjs/components/datagrid/cell.cjs +39 -0
- package/lib/cjs/components/datagrid/cell.cjs.map +1 -0
- package/lib/cjs/components/datagrid/datagrid.cjs +140 -0
- package/lib/cjs/components/datagrid/datagrid.cjs.map +1 -0
- package/lib/cjs/components/datagrid/index.cjs +6 -0
- package/lib/cjs/components/datagrid/index.cjs.map +1 -0
- package/lib/cjs/components/datagrid/resize.cjs +42 -0
- package/lib/cjs/components/datagrid/resize.cjs.map +1 -0
- package/lib/cjs/components/datagrid/row.cjs +68 -0
- package/lib/cjs/components/datagrid/row.cjs.map +1 -0
- package/lib/cjs/components/datagrid/sorter.cjs +28 -0
- package/lib/cjs/components/datagrid/sorter.cjs.map +1 -0
- package/lib/cjs/components/description/description.cjs +43 -0
- package/lib/cjs/components/description/description.cjs.map +1 -0
- package/lib/cjs/components/description/index.cjs +6 -0
- package/lib/cjs/components/description/index.cjs.map +1 -0
- package/lib/cjs/components/drawer/drawer.cjs +84 -0
- package/lib/cjs/components/drawer/drawer.cjs.map +1 -0
- package/lib/cjs/components/drawer/index.cjs +6 -0
- package/lib/cjs/components/drawer/index.cjs.map +1 -0
- package/lib/cjs/components/dropdown/dropdown.cjs +38 -0
- package/lib/cjs/components/dropdown/dropdown.cjs.map +1 -0
- package/lib/cjs/components/dropdown/index.cjs +6 -0
- package/lib/cjs/components/dropdown/index.cjs.map +1 -0
- package/lib/cjs/components/dropdown/item.cjs +36 -0
- package/lib/cjs/components/dropdown/item.cjs.map +1 -0
- package/lib/cjs/components/editor/controls.cjs +89 -0
- package/lib/cjs/components/editor/controls.cjs.map +1 -0
- package/lib/cjs/components/editor/editor.cjs +91 -0
- package/lib/cjs/components/editor/editor.cjs.map +1 -0
- package/lib/cjs/components/editor/index.cjs +6 -0
- package/lib/cjs/components/editor/index.cjs.map +1 -0
- package/lib/cjs/components/flex/flex.cjs +31 -0
- package/lib/cjs/components/flex/flex.cjs.map +1 -0
- package/lib/cjs/components/flex/index.cjs +6 -0
- package/lib/cjs/components/flex/index.cjs.map +1 -0
- package/lib/cjs/components/form/context.cjs +7 -0
- package/lib/cjs/components/form/context.cjs.map +1 -0
- package/lib/cjs/components/form/field.cjs +71 -0
- package/lib/cjs/components/form/field.cjs.map +1 -0
- package/lib/cjs/components/form/form.cjs +64 -0
- package/lib/cjs/components/form/form.cjs.map +1 -0
- package/lib/cjs/components/form/index.cjs +6 -0
- package/lib/cjs/components/form/index.cjs.map +1 -0
- package/lib/cjs/components/form/useConfig.cjs +45 -0
- package/lib/cjs/components/form/useConfig.cjs.map +1 -0
- package/lib/cjs/components/form/useForm.cjs +123 -0
- package/lib/cjs/components/form/useForm.cjs.map +1 -0
- package/lib/cjs/components/icon/icon.cjs +24 -0
- package/lib/cjs/components/icon/icon.cjs.map +1 -0
- package/lib/cjs/components/icon/index.cjs +6 -0
- package/lib/cjs/components/icon/index.cjs.map +1 -0
- package/lib/cjs/components/image/image.cjs +86 -0
- package/lib/cjs/components/image/image.cjs.map +1 -0
- package/lib/cjs/components/image/index.cjs +6 -0
- package/lib/cjs/components/image/index.cjs.map +1 -0
- package/lib/cjs/components/image/list.cjs +49 -0
- package/lib/cjs/components/image/list.cjs.map +1 -0
- package/lib/cjs/components/input/container.cjs +30 -0
- package/lib/cjs/components/input/container.cjs.map +1 -0
- package/lib/cjs/components/input/index.cjs +6 -0
- package/lib/cjs/components/input/index.cjs.map +1 -0
- package/lib/cjs/components/input/input.cjs +113 -0
- package/lib/cjs/components/input/input.cjs.map +1 -0
- package/lib/cjs/components/input/number.cjs +138 -0
- package/lib/cjs/components/input/number.cjs.map +1 -0
- package/lib/cjs/components/input/range.cjs +134 -0
- package/lib/cjs/components/input/range.cjs.map +1 -0
- package/lib/cjs/components/input/textarea.cjs +61 -0
- package/lib/cjs/components/input/textarea.cjs.map +1 -0
- package/lib/cjs/components/list/index.cjs +6 -0
- package/lib/cjs/components/list/index.cjs.map +1 -0
- package/lib/cjs/components/list/item.cjs +30 -0
- package/lib/cjs/components/list/item.cjs.map +1 -0
- package/lib/cjs/components/list/list.cjs +30 -0
- package/lib/cjs/components/list/list.cjs.map +1 -0
- package/lib/cjs/components/loading/index.cjs +6 -0
- package/lib/cjs/components/loading/index.cjs.map +1 -0
- package/lib/cjs/components/loading/loading.cjs +39 -0
- package/lib/cjs/components/loading/loading.cjs.map +1 -0
- package/lib/cjs/components/message/index.cjs +6 -0
- package/lib/cjs/components/message/index.cjs.map +1 -0
- package/lib/cjs/components/message/message.cjs +197 -0
- package/lib/cjs/components/message/message.cjs.map +1 -0
- package/lib/cjs/components/modal/content.cjs +57 -0
- package/lib/cjs/components/modal/content.cjs.map +1 -0
- package/lib/cjs/components/modal/context.cjs +7 -0
- package/lib/cjs/components/modal/context.cjs.map +1 -0
- package/lib/cjs/components/modal/hookModal.cjs +28 -0
- package/lib/cjs/components/modal/hookModal.cjs.map +1 -0
- package/lib/cjs/components/modal/index.cjs +6 -0
- package/lib/cjs/components/modal/index.cjs.map +1 -0
- package/lib/cjs/components/modal/modal.cjs +117 -0
- package/lib/cjs/components/modal/modal.cjs.map +1 -0
- package/lib/cjs/components/modal/useModal.cjs +39 -0
- package/lib/cjs/components/modal/useModal.cjs.map +1 -0
- package/lib/cjs/components/pagination/index.cjs +6 -0
- package/lib/cjs/components/pagination/index.cjs.map +1 -0
- package/lib/cjs/components/pagination/page.cjs +31 -0
- package/lib/cjs/components/pagination/page.cjs.map +1 -0
- package/lib/cjs/components/pagination/pagination.cjs +86 -0
- package/lib/cjs/components/pagination/pagination.cjs.map +1 -0
- package/lib/cjs/components/picker/colors/footer.cjs +64 -0
- package/lib/cjs/components/picker/colors/footer.cjs.map +1 -0
- package/lib/cjs/components/picker/colors/handle.cjs +25 -0
- package/lib/cjs/components/picker/colors/handle.cjs.map +1 -0
- package/lib/cjs/components/picker/colors/index.cjs +81 -0
- package/lib/cjs/components/picker/colors/index.cjs.map +1 -0
- package/lib/cjs/components/picker/dates/dates.cjs +68 -0
- package/lib/cjs/components/picker/dates/dates.cjs.map +1 -0
- package/lib/cjs/components/picker/dates/index.cjs +97 -0
- package/lib/cjs/components/picker/dates/index.cjs.map +1 -0
- package/lib/cjs/components/picker/dates/panel.cjs +151 -0
- package/lib/cjs/components/picker/dates/panel.cjs.map +1 -0
- package/lib/cjs/components/picker/time/index.cjs +73 -0
- package/lib/cjs/components/picker/time/index.cjs.map +1 -0
- package/lib/cjs/components/picker/time/item.cjs +20 -0
- package/lib/cjs/components/picker/time/item.cjs.map +1 -0
- package/lib/cjs/components/picker/time/panel.cjs +144 -0
- package/lib/cjs/components/picker/time/panel.cjs.map +1 -0
- package/lib/cjs/components/popconfirm/index.cjs +6 -0
- package/lib/cjs/components/popconfirm/index.cjs.map +1 -0
- package/lib/cjs/components/popconfirm/popconfirm.cjs +86 -0
- package/lib/cjs/components/popconfirm/popconfirm.cjs.map +1 -0
- package/lib/cjs/components/popup/content.cjs +56 -0
- package/lib/cjs/components/popup/content.cjs.map +1 -0
- package/lib/cjs/components/popup/index.cjs +6 -0
- package/lib/cjs/components/popup/index.cjs.map +1 -0
- package/lib/cjs/components/popup/popup.cjs +425 -0
- package/lib/cjs/components/popup/popup.cjs.map +1 -0
- package/lib/cjs/components/progress/circle.cjs +45 -0
- package/lib/cjs/components/progress/circle.cjs.map +1 -0
- package/lib/cjs/components/progress/index.cjs +6 -0
- package/lib/cjs/components/progress/index.cjs.map +1 -0
- package/lib/cjs/components/progress/line.cjs +27 -0
- package/lib/cjs/components/progress/line.cjs.map +1 -0
- package/lib/cjs/components/progress/progress.cjs +100 -0
- package/lib/cjs/components/progress/progress.cjs.map +1 -0
- package/lib/cjs/components/radio/index.cjs +6 -0
- package/lib/cjs/components/radio/index.cjs.map +1 -0
- package/lib/cjs/components/radio/item.cjs +34 -0
- package/lib/cjs/components/radio/item.cjs.map +1 -0
- package/lib/cjs/components/radio/radio.cjs +62 -0
- package/lib/cjs/components/radio/radio.cjs.map +1 -0
- package/lib/cjs/components/resizable/index.cjs +6 -0
- package/lib/cjs/components/resizable/index.cjs.map +1 -0
- package/lib/cjs/components/resizable/resizable.cjs +81 -0
- package/lib/cjs/components/resizable/resizable.cjs.map +1 -0
- package/lib/cjs/components/river/index.cjs +6 -0
- package/lib/cjs/components/river/index.cjs.map +1 -0
- package/lib/cjs/components/river/river.cjs +116 -0
- package/lib/cjs/components/river/river.cjs.map +1 -0
- package/lib/cjs/components/select/index.cjs +6 -0
- package/lib/cjs/components/select/index.cjs.map +1 -0
- package/lib/cjs/components/select/options.cjs +76 -0
- package/lib/cjs/components/select/options.cjs.map +1 -0
- package/lib/cjs/components/select/select.cjs +155 -0
- package/lib/cjs/components/select/select.cjs.map +1 -0
- package/lib/cjs/components/step/divider.cjs +10 -0
- package/lib/cjs/components/step/divider.cjs.map +1 -0
- package/lib/cjs/components/step/index.cjs +6 -0
- package/lib/cjs/components/step/index.cjs.map +1 -0
- package/lib/cjs/components/step/item.cjs +60 -0
- package/lib/cjs/components/step/item.cjs.map +1 -0
- package/lib/cjs/components/step/step.cjs +42 -0
- package/lib/cjs/components/step/step.cjs.map +1 -0
- package/lib/cjs/components/swiper/index.cjs +6 -0
- package/lib/cjs/components/swiper/index.cjs.map +1 -0
- package/lib/cjs/components/swiper/item.cjs +39 -0
- package/lib/cjs/components/swiper/item.cjs.map +1 -0
- package/lib/cjs/components/swiper/swiper.cjs +262 -0
- package/lib/cjs/components/swiper/swiper.cjs.map +1 -0
- package/lib/cjs/components/tabs/index.cjs +6 -0
- package/lib/cjs/components/tabs/index.cjs.map +1 -0
- package/lib/cjs/components/tabs/item.cjs +10 -0
- package/lib/cjs/components/tabs/item.cjs.map +1 -0
- package/lib/cjs/components/tabs/tabs.cjs +272 -0
- package/lib/cjs/components/tabs/tabs.cjs.map +1 -0
- package/lib/cjs/components/tag/index.cjs +6 -0
- package/lib/cjs/components/tag/index.cjs.map +1 -0
- package/lib/cjs/components/tag/tag.cjs +32 -0
- package/lib/cjs/components/tag/tag.cjs.map +1 -0
- package/lib/cjs/components/text/highlight.cjs +35 -0
- package/lib/cjs/components/text/highlight.cjs.map +1 -0
- package/lib/cjs/components/text/index.cjs +6 -0
- package/lib/cjs/components/text/index.cjs.map +1 -0
- package/lib/cjs/components/text/number.cjs +32 -0
- package/lib/cjs/components/text/number.cjs.map +1 -0
- package/lib/cjs/components/text/text.cjs +39 -0
- package/lib/cjs/components/text/text.cjs.map +1 -0
- package/lib/cjs/components/text/time.cjs +24 -0
- package/lib/cjs/components/text/time.cjs.map +1 -0
- package/lib/cjs/components/tree/index.cjs +6 -0
- package/lib/cjs/components/tree/index.cjs.map +1 -0
- package/lib/cjs/components/tree/item.cjs +136 -0
- package/lib/cjs/components/tree/item.cjs.map +1 -0
- package/lib/cjs/components/tree/tree.cjs +127 -0
- package/lib/cjs/components/tree/tree.cjs.map +1 -0
- package/lib/cjs/components/upload/index.cjs +6 -0
- package/lib/cjs/components/upload/index.cjs.map +1 -0
- package/lib/cjs/components/upload/renderFile.cjs +99 -0
- package/lib/cjs/components/upload/renderFile.cjs.map +1 -0
- package/lib/cjs/components/upload/upload.cjs +165 -0
- package/lib/cjs/components/upload/upload.cjs.map +1 -0
- package/lib/cjs/components/utils/empty/index.cjs +17 -0
- package/lib/cjs/components/utils/empty/index.cjs.map +1 -0
- package/lib/cjs/components/utils/helpericon/helpericon.cjs +24 -0
- package/lib/cjs/components/utils/helpericon/helpericon.cjs.map +1 -0
- package/lib/cjs/components/utils/helpericon/index.cjs +6 -0
- package/lib/cjs/components/utils/helpericon/index.cjs.map +1 -0
- package/lib/cjs/components/video/index.cjs +6 -0
- package/lib/cjs/components/video/index.cjs.map +1 -0
- package/lib/cjs/components/video/video.cjs +237 -0
- package/lib/cjs/components/video/video.cjs.map +1 -0
- package/lib/cjs/index.cjs +83 -0
- package/lib/cjs/js/hooks.cjs +259 -0
- package/lib/cjs/js/hooks.cjs.map +1 -0
- package/lib/cjs/js/usePreview/content.cjs +197 -0
- package/lib/cjs/js/usePreview/content.cjs.map +1 -0
- package/lib/cjs/js/usePreview/index.cjs +39 -0
- package/lib/cjs/js/usePreview/index.cjs.map +1 -0
- package/lib/cjs/js/usePreview/renderFile.cjs +28 -0
- package/lib/cjs/js/usePreview/renderFile.cjs.map +1 -0
- package/lib/cjs/js/usePreview/type.cjs +15 -0
- package/lib/cjs/js/usePreview/type.cjs.map +1 -0
- package/lib/cjs/js/useRipple/index.cjs +45 -0
- package/lib/cjs/js/useRipple/index.cjs.map +1 -0
- package/lib/cjs/js/useTheme/index.cjs +30 -0
- package/lib/cjs/js/useTheme/index.cjs.map +1 -0
- package/lib/cjs/js/utils.cjs +284 -0
- package/lib/cjs/js/utils.cjs.map +1 -0
- package/lib/es/components/affix/affix.js.map +1 -1
- package/lib/es/components/affix/totop.js +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 -1
- 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 -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/form.js.map +1 -1
- 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 -1
- package/lib/es/components/input/input.js.map +1 -1
- package/lib/es/components/input/number.js +1 -1
- package/lib/es/components/input/number.js.map +1 -1
- package/lib/es/components/input/range.js +1 -1
- 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.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 -1
- 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/index.js.map +1 -1
- package/lib/es/components/picker/dates/index.js +1 -1
- package/lib/es/components/picker/dates/index.js.map +1 -1
- package/lib/es/components/picker/dates/panel.js +1 -1
- package/lib/es/components/picker/time/index.js +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.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 -1
- package/lib/es/components/select/select.js +1 -1
- 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/step.js.map +1 -1
- package/lib/es/components/swiper/swiper.js +1 -1
- 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/text.js.map +1 -1
- package/lib/es/components/tree/item.js +1 -1
- package/lib/es/components/tree/tree.js.map +1 -1
- package/lib/es/components/upload/renderFile.js +1 -1
- package/lib/es/components/upload/upload.js +1 -1
- 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 +1 -1
- package/lib/es/components/utils/helpericon/helpericon.js.map +1 -1
- package/lib/es/components/video/video.js +1 -1
- package/lib/es/components/video/video.js.map +1 -1
- package/lib/es/js/usePreview/content.js +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/useRipple/index.js.map +1 -1
- package/lib/types/components/affix/affix.js +0 -1
- 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 -2
- 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 -1
- package/lib/types/components/editor/editor.js +0 -1
- package/lib/types/components/flex/flex.js +0 -1
- package/lib/types/components/form/form.js +0 -1
- 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 -2
- package/lib/types/components/input/number.js +1 -2
- package/lib/types/components/input/range.js +1 -2
- 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 +0 -1
- 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 -2
- 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 +1 -2
- package/lib/types/components/picker/dates/panel.js +1 -1
- 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 +0 -1
- 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 -1
- package/lib/types/components/select/select.js +1 -3
- 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 -2
- package/lib/types/components/tabs/tabs.js +1 -2
- package/lib/types/components/tag/tag.js +0 -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 +1 -1
- package/lib/types/components/upload/upload.js +1 -2
- package/lib/types/components/utils/empty/index.js +1 -2
- package/lib/types/components/utils/helpericon/helpericon.js +1 -2
- package/lib/types/components/video/video.js +1 -2
- package/lib/types/index.js +0 -1
- package/lib/types/js/usePreview/content.js +1 -1
- 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/package.json +6 -3
|
@@ -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,9 +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 "
|
|
8
|
+
import { VisibilityOffRound, VisibilityRound } from "@ricons/material";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import "../../css/input.css";
|
|
11
10
|
//#region packages/components/input/input.tsx
|
|
12
11
|
const Input = ((props) => {
|
|
13
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,9 +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 "
|
|
6
|
+
import { KeyboardDoubleArrowUpRound, MinusRound, PlusRound } from "@ricons/material";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import "../../css/input.css";
|
|
9
8
|
//#region packages/components/input/number.tsx
|
|
10
9
|
const Number = (props) => {
|
|
11
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,9 +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 "
|
|
6
|
+
import { MinusRound, PlusRound, SyncAltRound } from "@ricons/material";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import "../../css/input.css";
|
|
9
8
|
//#region packages/components/input/range.tsx
|
|
10
9
|
const Range = (props) => {
|
|
11
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;
|
|
@@ -4,7 +4,6 @@ import { uid } from "/Users/iann/codes/ioca-react/node_modules/.pnpm/radash@12.1
|
|
|
4
4
|
import { isValidElement, useEffect, useRef } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
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";
|
|
7
|
-
import "./index.css";
|
|
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,9 +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 "
|
|
5
|
+
import { KeyboardArrowLeftRound, KeyboardArrowRightRound, MoreHorizRound } from "@ricons/material";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "./index.css";
|
|
8
7
|
//#region packages/components/pagination/pagination.tsx
|
|
9
8
|
const Pagination = (props) => {
|
|
10
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,7 +3,7 @@ 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 "
|
|
6
|
+
import { CheckRound } from "@ricons/material";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region packages/components/picker/colors/footer.tsx
|
|
9
9
|
const ColorMethods = {
|
|
@@ -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 "
|
|
7
|
+
import { CalendarMonthTwotone } from "@ricons/material";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
import customParseFormat from "/Users/iann/codes/ioca-react/node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/plugin/customParseFormat.js";
|
|
11
|
-
import "./index.css";
|
|
12
11
|
//#region packages/components/picker/dates/index.tsx
|
|
13
12
|
dayjs.extend(customParseFormat);
|
|
14
13
|
const FORMATTYPES = [
|
|
@@ -4,7 +4,7 @@ import Dates from "./dates.js";
|
|
|
4
4
|
import classNames from "classnames";
|
|
5
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 "
|
|
7
|
+
import { KeyboardArrowLeftRound, KeyboardArrowRightRound } from "@ricons/material";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
//#region packages/components/picker/dates/panel.tsx
|
|
@@ -4,7 +4,7 @@ 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 "
|
|
7
|
+
import { AccessTimeRound } from "@ricons/material";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region packages/components/picker/time/index.tsx
|
|
10
10
|
const FORMAT = "hh:mm:ss";
|
|
@@ -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 "
|
|
6
|
+
import { InfoOutlined } from "@ricons/material";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import "./index.css";
|
|
9
8
|
//#region packages/components/popconfirm/popconfirm.tsx
|
|
10
9
|
const defaultOk = { children: "确定" };
|
|
11
10
|
const defaultCancel = {
|
|
@@ -4,7 +4,6 @@ import Content from "./content.js";
|
|
|
4
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,7 +3,7 @@ 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 "
|
|
6
|
+
import { CheckRound, SearchRound } from "@ricons/material";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region packages/components/select/options.tsx
|
|
9
9
|
const Options = (props) => {
|
|
@@ -5,10 +5,8 @@ import { Options, displayValue } from "./options.js";
|
|
|
5
5
|
import classNames from "classnames";
|
|
6
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 "
|
|
8
|
+
import { UnfoldMoreRound } from "@ricons/material";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import "../../css/input.css";
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import Divider from "./divider.js";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { CheckRound } from "
|
|
3
|
+
import { CheckRound } from "@ricons/material";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region packages/components/step/item.tsx
|
|
6
6
|
const STATUS = [
|
|
@@ -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,9 +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 "
|
|
7
|
+
import { KeyboardArrowLeftRound, KeyboardArrowRightRound } from "@ricons/material";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import "./index.css";
|
|
10
9
|
//#region packages/components/swiper/swiper.tsx
|
|
11
10
|
const Swiper = ((props) => {
|
|
12
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 "
|
|
9
|
+
import { MoreHorizRound } from "@ricons/material";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
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;
|
|
@@ -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,7 +2,7 @@ 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 "
|
|
5
|
+
import { KeyboardArrowDownRound } from "@ricons/material";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region packages/components/tree/item.tsx
|
|
8
8
|
function TreeList(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",
|
|
@@ -4,7 +4,7 @@ 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
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 "
|
|
7
|
+
import { ListAltRound } from "@ricons/material";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import SortableContainer from "react-easy-sort";
|
|
10
10
|
//#region packages/components/upload/renderFile.tsx
|
|
@@ -7,10 +7,9 @@ import FileListItem, { ListContainer } from "./renderFile.js";
|
|
|
7
7
|
import classNames from "classnames";
|
|
8
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 "
|
|
10
|
+
import { DriveFolderUploadOutlined, PlusSharp } from "@ricons/material";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { SortableItem } from "react-easy-sort";
|
|
13
|
-
import "./index.css";
|
|
14
13
|
//#region packages/components/upload/upload.tsx
|
|
15
14
|
const Upload = (props) => {
|
|
16
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 "
|
|
2
|
+
import { InboxTwotone } from "@ricons/material";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import "./index.css";
|
|
5
4
|
//#region packages/components/utils/empty/index.tsx
|
|
6
5
|
function Empty(props) {
|
|
7
6
|
const { className, ...restProps } = props;
|
|
@@ -2,9 +2,8 @@ import icon_default from "../../icon/index.js";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
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 "
|
|
5
|
+
import { CloseRound } from "@ricons/material";
|
|
6
6
|
import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
|
|
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;
|
|
@@ -7,9 +7,8 @@ import progress_default from "../progress/index.js";
|
|
|
7
7
|
import classNames from "classnames";
|
|
8
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 "
|
|
10
|
+
import { FullscreenExitRound, FullscreenRound, PauseRound, PlayArrowRound, StopRound, VolumeDownRound, VolumeOffRound } from "@ricons/material";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import "./index.css";
|
|
13
12
|
//#region packages/components/video/video.tsx
|
|
14
13
|
const Video = (props) => {
|
|
15
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 };
|
|
@@ -7,7 +7,7 @@ import renderFile from "./renderFile.js";
|
|
|
7
7
|
import classNames from "classnames";
|
|
8
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 "
|
|
10
|
+
import { AspectRatioRound, CloseRound, FileDownloadOutlined, KeyboardArrowLeftRound, KeyboardArrowRightRound, OpenInNewRound, RotateLeftRound, RotateRightRound } from "@ricons/material";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region packages/js/usePreview/content.tsx
|
|
13
13
|
function Content(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,7 +1,7 @@
|
|
|
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 "
|
|
4
|
+
import { FeedOutlined } from "@ricons/material";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region packages/js/usePreview/renderFile.tsx
|
|
7
7
|
function renderFile(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ioca/react",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.79",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -46,17 +46,20 @@
|
|
|
46
46
|
"react": ">=16.8.0",
|
|
47
47
|
"react-dom": ">=16.8.0"
|
|
48
48
|
},
|
|
49
|
+
"main": "lib/cjs/index.cjs",
|
|
49
50
|
"module": "lib/es/index.js",
|
|
50
51
|
"types": "lib/types/index.d.ts",
|
|
51
52
|
"exports": {
|
|
52
53
|
".": {
|
|
53
54
|
"types": "./lib/types/index.d.ts",
|
|
54
|
-
"import": "./lib/es/index.js"
|
|
55
|
+
"import": "./lib/es/index.js",
|
|
56
|
+
"require": "./lib/cjs/index.cjs"
|
|
55
57
|
},
|
|
56
58
|
"./index.css": "./lib/css/index.css",
|
|
57
59
|
"./*": {
|
|
58
60
|
"types": "./lib/types/*.d.ts",
|
|
59
|
-
"import": "./lib/es/*.js"
|
|
61
|
+
"import": "./lib/es/*.js",
|
|
62
|
+
"require": "./lib/cjs/*.cjs"
|
|
60
63
|
}
|
|
61
64
|
},
|
|
62
65
|
"files": [
|