@vavt/react-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +137 -0
- package/dist/Alert-BGyLKuv0.js +52 -0
- package/dist/Alert-tPSJmCXK.cjs +1 -0
- package/dist/Anchor-QZROepM_.js +197 -0
- package/dist/Anchor-iriRYxEs.cjs +1 -0
- package/dist/Announcement-D_NccvTm.js +212 -0
- package/dist/Announcement-XjJyJ28N.cjs +1 -0
- package/dist/Button-CwkWSWau.js +96 -0
- package/dist/Button-qURrKHQ0.cjs +1 -0
- package/dist/Card-DlztNV-6.js +48 -0
- package/dist/Card-nILlh9c_.cjs +1 -0
- package/dist/Checkbox-BCXbK1-8.cjs +1 -0
- package/dist/Checkbox-CQZSg9Xu.cjs +1 -0
- package/dist/Checkbox-CQeqLO0S.js +46 -0
- package/dist/Checkbox-cnXHW9Oz.js +61 -0
- package/dist/Col-CZjR94ac.js +55 -0
- package/dist/Col-qcq7T83y.cjs +1 -0
- package/dist/Cron-CoO2Vnnm.cjs +1 -0
- package/dist/Cron-Di7k2FTL.js +1187 -0
- package/dist/DatePicker-DAxv2h-d.cjs +1 -0
- package/dist/DatePicker-M-MwejjV.js +15 -0
- package/dist/DateTimePicker-B3C3v99L.cjs +1 -0
- package/dist/DateTimePicker-BcT3FtN-.js +16 -0
- package/dist/Divider-BfvQ6BVP.cjs +1 -0
- package/dist/Divider-vyftxh3F.js +47 -0
- package/dist/Drawer-D28QbyA3.js +103 -0
- package/dist/Drawer-OmMfdgKN.cjs +1 -0
- package/dist/Dropdown-CYx6RxVv.js +311 -0
- package/dist/Dropdown-swfND4yK.cjs +1 -0
- package/dist/Form-7un_DeDk.cjs +1 -0
- package/dist/Form-CwgaAZWr.js +323 -0
- package/dist/Input-CIB_TY2n.js +113 -0
- package/dist/Input-CoDZggqc.cjs +1 -0
- package/dist/Loading-C2pY-4fA.cjs +1 -0
- package/dist/Loading-CL0wUgYK.js +45 -0
- package/dist/MessageBox-CrIifoig.js +141 -0
- package/dist/MessageBox-Ddn-R2MS.cjs +1 -0
- package/dist/Modal-B_VqN16m.js +201 -0
- package/dist/Modal-Dm48HmGu.cjs +1 -0
- package/dist/NumberInput-CYVj89_s.cjs +1 -0
- package/dist/NumberInput-C_vLULbX.js +134 -0
- package/dist/Pagination-B7a9v6BU.js +167 -0
- package/dist/Pagination-mj-pO6ql.cjs +1 -0
- package/dist/Progress-D2C6LCml.js +40 -0
- package/dist/Progress-DTAjlgwZ.cjs +1 -0
- package/dist/RadioGroup-BRcNi5Oc.js +98 -0
- package/dist/RadioGroup-q2Aa50NV.cjs +1 -0
- package/dist/Row-BJZtEKxG.cjs +1 -0
- package/dist/Row-DpEse7PJ.js +24 -0
- package/dist/Scrollbar-BdMGZrYi.js +235 -0
- package/dist/Scrollbar-CEQT6Ao_.cjs +1 -0
- package/dist/Select-DQLup8Y-.cjs +1 -0
- package/dist/Select-DccM9YpB.js +458 -0
- package/dist/Sidebar-BPXVnP7y.cjs +1 -0
- package/dist/Sidebar-u980T-QB.js +76 -0
- package/dist/Slider-BzlZc0p4.js +256 -0
- package/dist/Slider-DCIUxcBa.cjs +1 -0
- package/dist/Space-DJGRG2rt.cjs +1 -0
- package/dist/Space-gnVH7rEt.js +35 -0
- package/dist/Switch-7yJ-Q_o_.cjs +1 -0
- package/dist/Switch-DOO2tiYR.js +58 -0
- package/dist/Table-C8cSyts5.js +440 -0
- package/dist/Table-JoJ9vpu-.cjs +1 -0
- package/dist/Tabs-BhjvKN84.cjs +1 -0
- package/dist/Tabs-VT6nQ63W.js +106 -0
- package/dist/Tag-Cf9M_HT6.cjs +1 -0
- package/dist/Tag-CkfqoSwA.js +42 -0
- package/dist/Textarea-BEd7ToXv.js +68 -0
- package/dist/Textarea-C2dNYM0F.cjs +1 -0
- package/dist/TimePicker-ClQCHa6M.js +199 -0
- package/dist/TimePicker-DNBo2Rn5.cjs +1 -0
- package/dist/Timeline-ROggEQnD.cjs +1 -0
- package/dist/Timeline-euWvUS4e.js +70 -0
- package/dist/Tooltip-CbPYYr6R.cjs +1 -0
- package/dist/Tooltip-Ds4Odm7K.js +197 -0
- package/dist/Transition-DiO4GsP3.js +125 -0
- package/dist/Transition-X_89ga-e.cjs +1 -0
- package/dist/base.css +1 -0
- package/dist/cjs/Alert.cjs +1 -0
- package/dist/cjs/Anchor.cjs +1 -0
- package/dist/cjs/Announcement.cjs +1 -0
- package/dist/cjs/Button.cjs +1 -0
- package/dist/cjs/Card.cjs +1 -0
- package/dist/cjs/Checkbox.cjs +1 -0
- package/dist/cjs/Col.cjs +1 -0
- package/dist/cjs/Cron.cjs +1 -0
- package/dist/cjs/DatePicker.cjs +1 -0
- package/dist/cjs/DateTimePicker.cjs +1 -0
- package/dist/cjs/Divider.cjs +1 -0
- package/dist/cjs/Drawer.cjs +1 -0
- package/dist/cjs/Dropdown.cjs +1 -0
- package/dist/cjs/Form.cjs +1 -0
- package/dist/cjs/Input.cjs +1 -0
- package/dist/cjs/Loading.cjs +1 -0
- package/dist/cjs/MessageBox.cjs +1 -0
- package/dist/cjs/Modal.cjs +1 -0
- package/dist/cjs/NumberInput.cjs +1 -0
- package/dist/cjs/Pagination.cjs +1 -0
- package/dist/cjs/Progress.cjs +1 -0
- package/dist/cjs/Radio.cjs +1 -0
- package/dist/cjs/Row.cjs +1 -0
- package/dist/cjs/Scrollbar.cjs +1 -0
- package/dist/cjs/Select.cjs +1 -0
- package/dist/cjs/Sidebar.cjs +1 -0
- package/dist/cjs/Slider.cjs +1 -0
- package/dist/cjs/Space.cjs +1 -0
- package/dist/cjs/Switch.cjs +1 -0
- package/dist/cjs/Table.cjs +1 -0
- package/dist/cjs/Tabs.cjs +1 -0
- package/dist/cjs/Tag.cjs +1 -0
- package/dist/cjs/Textarea.cjs +1 -0
- package/dist/cjs/TimePicker.cjs +1 -0
- package/dist/cjs/Timeline.cjs +1 -0
- package/dist/cjs/Tooltip.cjs +1 -0
- package/dist/cjs/Transition.cjs +1 -0
- package/dist/cjs/global.cjs +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/register.cjs +1 -0
- package/dist/client-BkoqeUs3.cjs +1 -0
- package/dist/client-pj_wzx28.js +8 -0
- package/dist/css/Alert.css +1 -0
- package/dist/css/Anchor.css +1 -0
- package/dist/css/Announcement.css +1 -0
- package/dist/css/Button.css +1 -0
- package/dist/css/Card.css +1 -0
- package/dist/css/Checkbox.css +1 -0
- package/dist/css/Col.css +1 -0
- package/dist/css/Cron.css +1 -0
- package/dist/css/DatePicker.css +1 -0
- package/dist/css/DateTimePicker.css +1 -0
- package/dist/css/Divider.css +1 -0
- package/dist/css/Drawer.css +1 -0
- package/dist/css/Dropdown.css +1 -0
- package/dist/css/Form.css +1 -0
- package/dist/css/Input.css +1 -0
- package/dist/css/Loading.css +1 -0
- package/dist/css/MessageBox.css +1 -0
- package/dist/css/Modal.css +1 -0
- package/dist/css/NumberInput.css +1 -0
- package/dist/css/Pagination.css +1 -0
- package/dist/css/Progress.css +1 -0
- package/dist/css/Radio.css +1 -0
- package/dist/css/Row.css +1 -0
- package/dist/css/Scrollbar.css +1 -0
- package/dist/css/Select.css +1 -0
- package/dist/css/Sidebar.css +1 -0
- package/dist/css/Slider.css +1 -0
- package/dist/css/Space.css +1 -0
- package/dist/css/Switch.css +1 -0
- package/dist/css/Table.css +1 -0
- package/dist/css/Tabs.css +1 -0
- package/dist/css/Tag.css +1 -0
- package/dist/css/Textarea.css +1 -0
- package/dist/css/TimePicker.css +1 -0
- package/dist/css/Timeline.css +1 -0
- package/dist/css/Tooltip.css +1 -0
- package/dist/css/Transition.css +0 -0
- package/dist/date-picker-DkRwNu2m.js +584 -0
- package/dist/date-picker-DyGLrw5H.cjs +1 -0
- package/dist/dialog-shell-DT1EoKQG.cjs +1 -0
- package/dist/dialog-shell-DehX3PNh.js +111 -0
- package/dist/effect-BpNxm_06.cjs +1 -0
- package/dist/effect-nifYL_rH.js +5 -0
- package/dist/es/Alert.mjs +3 -0
- package/dist/es/Anchor.mjs +3 -0
- package/dist/es/Announcement.mjs +3 -0
- package/dist/es/Button.mjs +3 -0
- package/dist/es/Card.mjs +3 -0
- package/dist/es/Checkbox.mjs +3 -0
- package/dist/es/Col.mjs +3 -0
- package/dist/es/Cron.mjs +3 -0
- package/dist/es/DatePicker.mjs +3 -0
- package/dist/es/DateTimePicker.mjs +3 -0
- package/dist/es/Divider.mjs +3 -0
- package/dist/es/Drawer.mjs +3 -0
- package/dist/es/Dropdown.mjs +3 -0
- package/dist/es/Form.mjs +3 -0
- package/dist/es/Input.mjs +3 -0
- package/dist/es/Loading.mjs +3 -0
- package/dist/es/MessageBox.mjs +3 -0
- package/dist/es/Modal.mjs +3 -0
- package/dist/es/NumberInput.mjs +3 -0
- package/dist/es/Pagination.mjs +3 -0
- package/dist/es/Progress.mjs +3 -0
- package/dist/es/Radio.mjs +6 -0
- package/dist/es/Row.mjs +6 -0
- package/dist/es/Scrollbar.mjs +3 -0
- package/dist/es/Select.mjs +3 -0
- package/dist/es/Sidebar.mjs +3 -0
- package/dist/es/Slider.mjs +3 -0
- package/dist/es/Space.mjs +3 -0
- package/dist/es/Switch.mjs +3 -0
- package/dist/es/Table.mjs +3 -0
- package/dist/es/Tabs.mjs +3 -0
- package/dist/es/Tag.mjs +3 -0
- package/dist/es/Textarea.mjs +3 -0
- package/dist/es/TimePicker.mjs +3 -0
- package/dist/es/Timeline.mjs +3 -0
- package/dist/es/Tooltip.mjs +3 -0
- package/dist/es/Transition.mjs +3 -0
- package/dist/es/global.mjs +3 -0
- package/dist/es/index.mjs +40 -0
- package/dist/es/register.mjs +7 -0
- package/dist/floating-DBAmeQIq.js +157 -0
- package/dist/floating-DXRnx48N.cjs +1 -0
- package/dist/focus-BDDJyKk3.js +9 -0
- package/dist/focus-D-h8CbGr.cjs +1 -0
- package/dist/icon-Cbvuv4yF.js +25 -0
- package/dist/icon-DRLyKu8p.cjs +1 -0
- package/dist/id-CF0zOP1G.cjs +1 -0
- package/dist/id-CHixuHb7.js +8 -0
- package/dist/index.css +1 -0
- package/dist/number-B7qJF_ZY.cjs +1 -0
- package/dist/number-BN2jHM6Z.js +6 -0
- package/dist/refs-D5IYOBaf.js +14 -0
- package/dist/refs-DCqd87V8.cjs +1 -0
- package/dist/registry-CkiH1x-J.js +79 -0
- package/dist/registry-YCz7D-2R.cjs +1 -0
- package/dist/state-ZBA75xZ_.cjs +1 -0
- package/dist/state-oH-YwB7_.js +15 -0
- package/dist/style/Alert.cjs +7 -0
- package/dist/style/Alert.mjs +7 -0
- package/dist/style/Anchor.cjs +7 -0
- package/dist/style/Anchor.mjs +7 -0
- package/dist/style/Announcement.cjs +7 -0
- package/dist/style/Announcement.mjs +7 -0
- package/dist/style/Button.cjs +7 -0
- package/dist/style/Button.mjs +7 -0
- package/dist/style/Card.cjs +7 -0
- package/dist/style/Card.mjs +7 -0
- package/dist/style/Checkbox.cjs +7 -0
- package/dist/style/Checkbox.mjs +7 -0
- package/dist/style/Col.cjs +7 -0
- package/dist/style/Col.mjs +7 -0
- package/dist/style/Cron.cjs +13 -0
- package/dist/style/Cron.mjs +13 -0
- package/dist/style/DatePicker.cjs +10 -0
- package/dist/style/DatePicker.mjs +10 -0
- package/dist/style/DateTimePicker.cjs +10 -0
- package/dist/style/DateTimePicker.mjs +10 -0
- package/dist/style/Divider.cjs +7 -0
- package/dist/style/Divider.mjs +7 -0
- package/dist/style/Drawer.cjs +8 -0
- package/dist/style/Drawer.mjs +8 -0
- package/dist/style/Dropdown.cjs +8 -0
- package/dist/style/Dropdown.mjs +8 -0
- package/dist/style/Form.cjs +7 -0
- package/dist/style/Form.mjs +7 -0
- package/dist/style/Input.cjs +7 -0
- package/dist/style/Input.mjs +7 -0
- package/dist/style/Loading.cjs +8 -0
- package/dist/style/Loading.mjs +8 -0
- package/dist/style/MessageBox.cjs +9 -0
- package/dist/style/MessageBox.mjs +9 -0
- package/dist/style/Modal.cjs +8 -0
- package/dist/style/Modal.mjs +8 -0
- package/dist/style/NumberInput.cjs +7 -0
- package/dist/style/NumberInput.mjs +7 -0
- package/dist/style/Pagination.cjs +7 -0
- package/dist/style/Pagination.mjs +7 -0
- package/dist/style/Progress.cjs +7 -0
- package/dist/style/Progress.mjs +7 -0
- package/dist/style/Radio.cjs +7 -0
- package/dist/style/Radio.mjs +7 -0
- package/dist/style/Row.cjs +7 -0
- package/dist/style/Row.mjs +7 -0
- package/dist/style/Scrollbar.cjs +7 -0
- package/dist/style/Scrollbar.mjs +7 -0
- package/dist/style/Select.cjs +8 -0
- package/dist/style/Select.mjs +8 -0
- package/dist/style/Sidebar.cjs +7 -0
- package/dist/style/Sidebar.mjs +7 -0
- package/dist/style/Slider.cjs +7 -0
- package/dist/style/Slider.mjs +7 -0
- package/dist/style/Space.cjs +7 -0
- package/dist/style/Space.mjs +7 -0
- package/dist/style/Switch.cjs +7 -0
- package/dist/style/Switch.mjs +7 -0
- package/dist/style/Table.cjs +9 -0
- package/dist/style/Table.mjs +9 -0
- package/dist/style/Tabs.cjs +7 -0
- package/dist/style/Tabs.mjs +7 -0
- package/dist/style/Tag.cjs +7 -0
- package/dist/style/Tag.mjs +7 -0
- package/dist/style/Textarea.cjs +7 -0
- package/dist/style/Textarea.mjs +7 -0
- package/dist/style/TimePicker.cjs +8 -0
- package/dist/style/TimePicker.mjs +8 -0
- package/dist/style/Timeline.cjs +7 -0
- package/dist/style/Timeline.mjs +7 -0
- package/dist/style/Tooltip.cjs +8 -0
- package/dist/style/Tooltip.mjs +8 -0
- package/dist/style/Transition.cjs +6 -0
- package/dist/style/Transition.mjs +6 -0
- package/dist/time-wheel-BaCcA9nk.cjs +1 -0
- package/dist/time-wheel-BtvYZI6H.js +291 -0
- package/dist/types/Alert/Alert.d.cts +3 -0
- package/dist/types/Alert/Alert.d.ts +3 -0
- package/dist/types/Alert/index.d.cts +5 -0
- package/dist/types/Alert/index.d.ts +5 -0
- package/dist/types/Alert/type.d.cts +21 -0
- package/dist/types/Alert/type.d.ts +21 -0
- package/dist/types/Anchor/Anchor.d.cts +3 -0
- package/dist/types/Anchor/Anchor.d.ts +3 -0
- package/dist/types/Anchor/index.d.cts +5 -0
- package/dist/types/Anchor/index.d.ts +5 -0
- package/dist/types/Anchor/type.d.cts +42 -0
- package/dist/types/Anchor/type.d.ts +42 -0
- package/dist/types/Announcement/Announcement.d.cts +3 -0
- package/dist/types/Announcement/Announcement.d.ts +3 -0
- package/dist/types/Announcement/host.d.cts +12 -0
- package/dist/types/Announcement/host.d.ts +12 -0
- package/dist/types/Announcement/index.d.cts +5 -0
- package/dist/types/Announcement/index.d.ts +5 -0
- package/dist/types/Announcement/type.d.cts +63 -0
- package/dist/types/Announcement/type.d.ts +63 -0
- package/dist/types/Button/Button.d.cts +23 -0
- package/dist/types/Button/Button.d.ts +23 -0
- package/dist/types/Button/ButtonGroup.d.cts +14 -0
- package/dist/types/Button/ButtonGroup.d.ts +14 -0
- package/dist/types/Button/context.d.cts +15 -0
- package/dist/types/Button/context.d.ts +15 -0
- package/dist/types/Button/index.d.cts +7 -0
- package/dist/types/Button/index.d.ts +7 -0
- package/dist/types/Button/type.d.cts +66 -0
- package/dist/types/Button/type.d.ts +66 -0
- package/dist/types/Card/Card.d.cts +15 -0
- package/dist/types/Card/Card.d.ts +15 -0
- package/dist/types/Card/index.d.cts +5 -0
- package/dist/types/Card/index.d.ts +5 -0
- package/dist/types/Card/type.d.cts +40 -0
- package/dist/types/Card/type.d.ts +40 -0
- package/dist/types/Checkbox/Checkbox.d.cts +3 -0
- package/dist/types/Checkbox/Checkbox.d.ts +3 -0
- package/dist/types/Checkbox/CheckboxGroup.d.cts +3 -0
- package/dist/types/Checkbox/CheckboxGroup.d.ts +3 -0
- package/dist/types/Checkbox/context.d.cts +19 -0
- package/dist/types/Checkbox/context.d.ts +19 -0
- package/dist/types/Checkbox/index.d.cts +7 -0
- package/dist/types/Checkbox/index.d.ts +7 -0
- package/dist/types/Checkbox/type.d.cts +55 -0
- package/dist/types/Checkbox/type.d.ts +55 -0
- package/dist/types/Col/Col.d.cts +3 -0
- package/dist/types/Col/Col.d.ts +3 -0
- package/dist/types/Col/index.d.cts +5 -0
- package/dist/types/Col/index.d.ts +5 -0
- package/dist/types/Col/type.d.cts +41 -0
- package/dist/types/Col/type.d.ts +41 -0
- package/dist/types/Cron/Cron.d.cts +3 -0
- package/dist/types/Cron/Cron.d.ts +3 -0
- package/dist/types/Cron/CronField.d.cts +14 -0
- package/dist/types/Cron/CronField.d.ts +14 -0
- package/dist/types/Cron/CronPanel.d.cts +27 -0
- package/dist/types/Cron/CronPanel.d.ts +27 -0
- package/dist/types/Cron/describe.d.cts +10 -0
- package/dist/types/Cron/describe.d.ts +10 -0
- package/dist/types/Cron/expression.d.cts +188 -0
- package/dist/types/Cron/expression.d.ts +188 -0
- package/dist/types/Cron/index.d.cts +5 -0
- package/dist/types/Cron/index.d.ts +5 -0
- package/dist/types/Cron/schedule.d.cts +15 -0
- package/dist/types/Cron/schedule.d.ts +15 -0
- package/dist/types/Cron/type.d.cts +65 -0
- package/dist/types/Cron/type.d.ts +65 -0
- package/dist/types/DatePicker/DatePicker.d.cts +3 -0
- package/dist/types/DatePicker/DatePicker.d.ts +3 -0
- package/dist/types/DatePicker/index.d.cts +5 -0
- package/dist/types/DatePicker/index.d.ts +5 -0
- package/dist/types/DatePicker/type.d.cts +89 -0
- package/dist/types/DatePicker/type.d.ts +89 -0
- package/dist/types/DateTimePicker/DateTimePicker.d.cts +3 -0
- package/dist/types/DateTimePicker/DateTimePicker.d.ts +3 -0
- package/dist/types/DateTimePicker/index.d.cts +5 -0
- package/dist/types/DateTimePicker/index.d.ts +5 -0
- package/dist/types/DateTimePicker/type.d.cts +64 -0
- package/dist/types/DateTimePicker/type.d.ts +64 -0
- package/dist/types/Divider/Divider.d.cts +3 -0
- package/dist/types/Divider/Divider.d.ts +3 -0
- package/dist/types/Divider/index.d.cts +5 -0
- package/dist/types/Divider/index.d.ts +5 -0
- package/dist/types/Divider/type.d.cts +20 -0
- package/dist/types/Divider/type.d.ts +20 -0
- package/dist/types/Drawer/Drawer.d.cts +3 -0
- package/dist/types/Drawer/Drawer.d.ts +3 -0
- package/dist/types/Drawer/index.d.cts +5 -0
- package/dist/types/Drawer/index.d.ts +5 -0
- package/dist/types/Drawer/type.d.cts +46 -0
- package/dist/types/Drawer/type.d.ts +46 -0
- package/dist/types/Dropdown/Dropdown.d.cts +3 -0
- package/dist/types/Dropdown/Dropdown.d.ts +3 -0
- package/dist/types/Dropdown/index.d.cts +5 -0
- package/dist/types/Dropdown/index.d.ts +5 -0
- package/dist/types/Dropdown/type.d.cts +67 -0
- package/dist/types/Dropdown/type.d.ts +67 -0
- package/dist/types/Form/Form.d.cts +3 -0
- package/dist/types/Form/Form.d.ts +3 -0
- package/dist/types/Form/FormItem.d.cts +3 -0
- package/dist/types/Form/FormItem.d.ts +3 -0
- package/dist/types/Form/context.d.cts +39 -0
- package/dist/types/Form/context.d.ts +39 -0
- package/dist/types/Form/index.d.cts +8 -0
- package/dist/types/Form/index.d.ts +8 -0
- package/dist/types/Form/type.d.cts +119 -0
- package/dist/types/Form/type.d.ts +119 -0
- package/dist/types/Input/Input.d.cts +3 -0
- package/dist/types/Input/Input.d.ts +3 -0
- package/dist/types/Input/index.d.cts +5 -0
- package/dist/types/Input/index.d.ts +5 -0
- package/dist/types/Input/type.d.cts +43 -0
- package/dist/types/Input/type.d.ts +43 -0
- package/dist/types/Loading/Loading.d.cts +3 -0
- package/dist/types/Loading/Loading.d.ts +3 -0
- package/dist/types/Loading/index.d.cts +5 -0
- package/dist/types/Loading/index.d.ts +5 -0
- package/dist/types/Loading/type.d.cts +18 -0
- package/dist/types/Loading/type.d.ts +18 -0
- package/dist/types/MessageBox/MessageBox.d.cts +3 -0
- package/dist/types/MessageBox/MessageBox.d.ts +3 -0
- package/dist/types/MessageBox/index.d.cts +5 -0
- package/dist/types/MessageBox/index.d.ts +5 -0
- package/dist/types/MessageBox/service.d.cts +12 -0
- package/dist/types/MessageBox/service.d.ts +12 -0
- package/dist/types/MessageBox/type.d.cts +62 -0
- package/dist/types/MessageBox/type.d.ts +62 -0
- package/dist/types/Modal/Modal.d.cts +3 -0
- package/dist/types/Modal/Modal.d.ts +3 -0
- package/dist/types/Modal/index.d.cts +5 -0
- package/dist/types/Modal/index.d.ts +5 -0
- package/dist/types/Modal/type.d.cts +50 -0
- package/dist/types/Modal/type.d.ts +50 -0
- package/dist/types/NumberInput/NumberInput.d.cts +3 -0
- package/dist/types/NumberInput/NumberInput.d.ts +3 -0
- package/dist/types/NumberInput/index.d.cts +5 -0
- package/dist/types/NumberInput/index.d.ts +5 -0
- package/dist/types/NumberInput/type.d.cts +40 -0
- package/dist/types/NumberInput/type.d.ts +40 -0
- package/dist/types/Pagination/Pagination.d.cts +3 -0
- package/dist/types/Pagination/Pagination.d.ts +3 -0
- package/dist/types/Pagination/index.d.cts +5 -0
- package/dist/types/Pagination/index.d.ts +5 -0
- package/dist/types/Pagination/type.d.cts +38 -0
- package/dist/types/Pagination/type.d.ts +38 -0
- package/dist/types/Progress/Progress.d.cts +3 -0
- package/dist/types/Progress/Progress.d.ts +3 -0
- package/dist/types/Progress/index.d.cts +5 -0
- package/dist/types/Progress/index.d.ts +5 -0
- package/dist/types/Progress/type.d.cts +30 -0
- package/dist/types/Progress/type.d.ts +30 -0
- package/dist/types/Radio/Radio.d.cts +3 -0
- package/dist/types/Radio/Radio.d.ts +3 -0
- package/dist/types/Radio/RadioGroup.d.cts +3 -0
- package/dist/types/Radio/RadioGroup.d.ts +3 -0
- package/dist/types/Radio/context.d.cts +19 -0
- package/dist/types/Radio/context.d.ts +19 -0
- package/dist/types/Radio/index.d.cts +7 -0
- package/dist/types/Radio/index.d.ts +7 -0
- package/dist/types/Radio/type.d.cts +53 -0
- package/dist/types/Radio/type.d.ts +53 -0
- package/dist/types/Row/Row.d.cts +8 -0
- package/dist/types/Row/Row.d.ts +8 -0
- package/dist/types/Row/index.d.cts +5 -0
- package/dist/types/Row/index.d.ts +5 -0
- package/dist/types/Row/type.d.cts +20 -0
- package/dist/types/Row/type.d.ts +20 -0
- package/dist/types/Scrollbar/Scrollbar.d.cts +3 -0
- package/dist/types/Scrollbar/Scrollbar.d.ts +3 -0
- package/dist/types/Scrollbar/index.d.cts +5 -0
- package/dist/types/Scrollbar/index.d.ts +5 -0
- package/dist/types/Scrollbar/type.d.cts +60 -0
- package/dist/types/Scrollbar/type.d.ts +60 -0
- package/dist/types/Select/Select.d.cts +3 -0
- package/dist/types/Select/Select.d.ts +3 -0
- package/dist/types/Select/index.d.cts +5 -0
- package/dist/types/Select/index.d.ts +5 -0
- package/dist/types/Select/type.d.cts +91 -0
- package/dist/types/Select/type.d.ts +91 -0
- package/dist/types/Sidebar/Sidebar.d.cts +3 -0
- package/dist/types/Sidebar/Sidebar.d.ts +3 -0
- package/dist/types/Sidebar/index.d.cts +5 -0
- package/dist/types/Sidebar/index.d.ts +5 -0
- package/dist/types/Sidebar/type.d.cts +54 -0
- package/dist/types/Sidebar/type.d.ts +54 -0
- package/dist/types/Slider/Slider.d.cts +3 -0
- package/dist/types/Slider/Slider.d.ts +3 -0
- package/dist/types/Slider/index.d.cts +5 -0
- package/dist/types/Slider/index.d.ts +5 -0
- package/dist/types/Slider/type.d.cts +47 -0
- package/dist/types/Slider/type.d.ts +47 -0
- package/dist/types/Space/Space.d.cts +3 -0
- package/dist/types/Space/Space.d.ts +3 -0
- package/dist/types/Space/index.d.cts +5 -0
- package/dist/types/Space/index.d.ts +5 -0
- package/dist/types/Space/type.d.cts +28 -0
- package/dist/types/Space/type.d.ts +28 -0
- package/dist/types/Switch/Switch.d.cts +3 -0
- package/dist/types/Switch/Switch.d.ts +3 -0
- package/dist/types/Switch/index.d.cts +5 -0
- package/dist/types/Switch/index.d.ts +5 -0
- package/dist/types/Switch/type.d.cts +28 -0
- package/dist/types/Switch/type.d.ts +28 -0
- package/dist/types/Table/Table.d.cts +8 -0
- package/dist/types/Table/Table.d.ts +8 -0
- package/dist/types/Table/index.d.cts +8 -0
- package/dist/types/Table/index.d.ts +8 -0
- package/dist/types/Table/type.d.cts +135 -0
- package/dist/types/Table/type.d.ts +135 -0
- package/dist/types/Tabs/Tabs.d.cts +3 -0
- package/dist/types/Tabs/Tabs.d.ts +3 -0
- package/dist/types/Tabs/index.d.cts +5 -0
- package/dist/types/Tabs/index.d.ts +5 -0
- package/dist/types/Tabs/type.d.cts +45 -0
- package/dist/types/Tabs/type.d.ts +45 -0
- package/dist/types/Tag/Tag.d.cts +3 -0
- package/dist/types/Tag/Tag.d.ts +3 -0
- package/dist/types/Tag/index.d.cts +5 -0
- package/dist/types/Tag/index.d.ts +5 -0
- package/dist/types/Tag/type.d.cts +24 -0
- package/dist/types/Tag/type.d.ts +24 -0
- package/dist/types/Textarea/Textarea.d.cts +3 -0
- package/dist/types/Textarea/Textarea.d.ts +3 -0
- package/dist/types/Textarea/index.d.cts +5 -0
- package/dist/types/Textarea/index.d.ts +5 -0
- package/dist/types/Textarea/type.d.cts +32 -0
- package/dist/types/Textarea/type.d.ts +32 -0
- package/dist/types/TimePicker/TimePicker.d.cts +3 -0
- package/dist/types/TimePicker/TimePicker.d.ts +3 -0
- package/dist/types/TimePicker/index.d.cts +5 -0
- package/dist/types/TimePicker/index.d.ts +5 -0
- package/dist/types/TimePicker/type.d.cts +55 -0
- package/dist/types/TimePicker/type.d.ts +55 -0
- package/dist/types/Timeline/Timeline.d.cts +3 -0
- package/dist/types/Timeline/Timeline.d.ts +3 -0
- package/dist/types/Timeline/index.d.cts +5 -0
- package/dist/types/Timeline/index.d.ts +5 -0
- package/dist/types/Timeline/type.d.cts +49 -0
- package/dist/types/Timeline/type.d.ts +49 -0
- package/dist/types/Tooltip/Tooltip.d.cts +3 -0
- package/dist/types/Tooltip/Tooltip.d.ts +3 -0
- package/dist/types/Tooltip/index.d.cts +5 -0
- package/dist/types/Tooltip/index.d.ts +5 -0
- package/dist/types/Tooltip/type.d.cts +40 -0
- package/dist/types/Tooltip/type.d.ts +40 -0
- package/dist/types/Transition/Transition.d.cts +6 -0
- package/dist/types/Transition/Transition.d.ts +6 -0
- package/dist/types/Transition/index.d.cts +8 -0
- package/dist/types/Transition/index.d.ts +8 -0
- package/dist/types/Transition/type.d.cts +22 -0
- package/dist/types/Transition/type.d.ts +22 -0
- package/dist/types/_shared/client.d.cts +9 -0
- package/dist/types/_shared/client.d.ts +9 -0
- package/dist/types/_shared/date-picker.d.cts +17 -0
- package/dist/types/_shared/date-picker.d.ts +17 -0
- package/dist/types/_shared/date.d.cts +55 -0
- package/dist/types/_shared/date.d.ts +55 -0
- package/dist/types/_shared/dialog-shell.d.cts +59 -0
- package/dist/types/_shared/dialog-shell.d.ts +59 -0
- package/dist/types/_shared/dialog.d.cts +20 -0
- package/dist/types/_shared/dialog.d.ts +20 -0
- package/dist/types/_shared/effect.d.cts +8 -0
- package/dist/types/_shared/effect.d.ts +8 -0
- package/dist/types/_shared/floating.d.cts +88 -0
- package/dist/types/_shared/floating.d.ts +88 -0
- package/dist/types/_shared/focus.d.cts +33 -0
- package/dist/types/_shared/focus.d.ts +33 -0
- package/dist/types/_shared/icon.d.cts +15 -0
- package/dist/types/_shared/icon.d.ts +15 -0
- package/dist/types/_shared/id.d.cts +10 -0
- package/dist/types/_shared/id.d.ts +10 -0
- package/dist/types/_shared/number.d.cts +22 -0
- package/dist/types/_shared/number.d.ts +22 -0
- package/dist/types/_shared/refs.d.cts +18 -0
- package/dist/types/_shared/refs.d.ts +18 -0
- package/dist/types/_shared/state.d.cts +15 -0
- package/dist/types/_shared/state.d.ts +15 -0
- package/dist/types/_shared/time-constraints.d.cts +31 -0
- package/dist/types/_shared/time-constraints.d.ts +31 -0
- package/dist/types/_shared/time-wheel.d.cts +34 -0
- package/dist/types/_shared/time-wheel.d.ts +34 -0
- package/dist/types/_vars.d.cts +7 -0
- package/dist/types/_vars.d.ts +7 -0
- package/dist/types/global.d.cts +86 -0
- package/dist/types/global.d.ts +86 -0
- package/dist/types/index.d.cts +42 -0
- package/dist/types/index.d.ts +42 -0
- package/dist/types/register.d.cts +1 -0
- package/dist/types/register.d.ts +1 -0
- package/dist/types/registry.d.cts +66 -0
- package/dist/types/registry.d.ts +66 -0
- package/dist/types/style.d.cts +7 -0
- package/dist/types/style.d.ts +7 -0
- package/package.json +165 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React ref 的小型互操作层。
|
|
3
|
+
*
|
|
4
|
+
* 组件经常需要同时保留内部 DOM ref 与转发调用方 ref。React 允许 callback ref 和 object ref 两种形态,
|
|
5
|
+
* 并会在卸载时用 null 清理;统一写入可避免各组件遗漏某种形态或忘记传播 null。这里只封装公共语义,
|
|
6
|
+
* 不缓存合并后的函数,调用方若依赖引用稳定性应在组件内使用 useMemo。
|
|
7
|
+
*/
|
|
8
|
+
import type { Ref, RefCallback } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* 统一写入 callback ref 和 object ref。
|
|
11
|
+
* 组件内部需要保留 DOM 引用时,应通过该函数同步外部 ref,避免各组件重复实现并遗漏卸载时的 null。
|
|
12
|
+
*/
|
|
13
|
+
export declare const assignRef: <T>(ref: Ref<T> | undefined, value: T | null) => void;
|
|
14
|
+
/**
|
|
15
|
+
* 将多个 ref 合并为同一个 callback ref,并按声明顺序同步写入相同节点。
|
|
16
|
+
* 返回函数本身不会自动保持引用稳定,组件应根据外部 ref 的变化决定是否 memoize。
|
|
17
|
+
*/
|
|
18
|
+
export declare const mergeRefs: <T>(...refs: Array<Ref<T> | undefined>) => RefCallback<T>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React ref 的小型互操作层。
|
|
3
|
+
*
|
|
4
|
+
* 组件经常需要同时保留内部 DOM ref 与转发调用方 ref。React 允许 callback ref 和 object ref 两种形态,
|
|
5
|
+
* 并会在卸载时用 null 清理;统一写入可避免各组件遗漏某种形态或忘记传播 null。这里只封装公共语义,
|
|
6
|
+
* 不缓存合并后的函数,调用方若依赖引用稳定性应在组件内使用 useMemo。
|
|
7
|
+
*/
|
|
8
|
+
import type { Ref, RefCallback } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* 统一写入 callback ref 和 object ref。
|
|
11
|
+
* 组件内部需要保留 DOM 引用时,应通过该函数同步外部 ref,避免各组件重复实现并遗漏卸载时的 null。
|
|
12
|
+
*/
|
|
13
|
+
export declare const assignRef: <T>(ref: Ref<T> | undefined, value: T | null) => void;
|
|
14
|
+
/**
|
|
15
|
+
* 将多个 ref 合并为同一个 callback ref,并按声明顺序同步写入相同节点。
|
|
16
|
+
* 返回函数本身不会自动保持引用稳定,组件应根据外部 ref 的变化决定是否 memoize。
|
|
17
|
+
*/
|
|
18
|
+
export declare const mergeRefs: <T>(...refs: Array<Ref<T> | undefined>) => RefCallback<T>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export declare const isPropControlled: (props: object, key: PropertyKey) => boolean;
|
|
3
|
+
export interface ControllableStateOptions<T> {
|
|
4
|
+
value: T;
|
|
5
|
+
defaultValue: T;
|
|
6
|
+
controlled: boolean;
|
|
7
|
+
onChange?: (value: T) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 统一组件的受控/非受控状态约定。
|
|
11
|
+
*
|
|
12
|
+
* setter 接受值或函数,与 React setState 的调用形式一致。onChange 只在下一值与当前解析值不同时触发,
|
|
13
|
+
* 避免受控父组件收到无意义的重复通知;非受控模式则在通知前同步安排内部更新。
|
|
14
|
+
*/
|
|
15
|
+
export declare const useControllableState: <T>({ value, defaultValue, controlled, onChange }: ControllableStateOptions<T>) => readonly [T, Dispatch<SetStateAction<T>>];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export declare const isPropControlled: (props: object, key: PropertyKey) => boolean;
|
|
3
|
+
export interface ControllableStateOptions<T> {
|
|
4
|
+
value: T;
|
|
5
|
+
defaultValue: T;
|
|
6
|
+
controlled: boolean;
|
|
7
|
+
onChange?: (value: T) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 统一组件的受控/非受控状态约定。
|
|
11
|
+
*
|
|
12
|
+
* setter 接受值或函数,与 React setState 的调用形式一致。onChange 只在下一值与当前解析值不同时触发,
|
|
13
|
+
* 避免受控父组件收到无意义的重复通知;非受控模式则在通知前同步安排内部更新。
|
|
14
|
+
*/
|
|
15
|
+
export declare const useControllableState: <T>({ value, defaultValue, controlled, onChange }: ControllableStateOptions<T>) => readonly [T, Dispatch<SetStateAction<T>>];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** 时间分量名称:时 (hours) | 分 (minutes) | 秒 (seconds) */
|
|
2
|
+
export type TimeConstraintPart = 'hours' | 'minutes' | 'seconds';
|
|
3
|
+
/** 时间范围与禁用约束选项 */
|
|
4
|
+
export interface TimeConstraintOptions {
|
|
5
|
+
/** 最小允许时间的总秒数(从 00:00:00 起算) */
|
|
6
|
+
minSeconds: number | null;
|
|
7
|
+
/** 最大允许时间的总秒数(从 00:00:00 起算) */
|
|
8
|
+
maxSeconds: number | null;
|
|
9
|
+
/** 自定义判断特定 'HH:mm:ss' 是否禁用的函数 */
|
|
10
|
+
disabledTime?: (time: string) => boolean;
|
|
11
|
+
}
|
|
12
|
+
/** 时分秒结构体数值 */
|
|
13
|
+
export interface TimePartValue {
|
|
14
|
+
hours: number;
|
|
15
|
+
minutes: number;
|
|
16
|
+
seconds: number;
|
|
17
|
+
}
|
|
18
|
+
/** 统一 min/max/disabledTime 的判断顺序,Picker 只需要传入当前约束快照。 */
|
|
19
|
+
export declare const isConstrainedTimeDisabled: (time: string, options: TimeConstraintOptions) => boolean;
|
|
20
|
+
/** 在 min/max 限定的时间段内寻找最近的可用秒数。 */
|
|
21
|
+
export declare const findConstrainedTime: (startSeconds: number, endSeconds: number, preferredSeconds: number, options: TimeConstraintOptions) => number | null;
|
|
22
|
+
/** 根据当前时分秒和用户正在切换的列,计算该列对应的合法秒数区间。 */
|
|
23
|
+
export declare const getTimePartRange: (part: TimeConstraintPart, partValue: number, current: TimePartValue) => {
|
|
24
|
+
start: number;
|
|
25
|
+
end: number;
|
|
26
|
+
preferred: number;
|
|
27
|
+
};
|
|
28
|
+
/** 判断滚轮中的一列选项是否存在至少一个可用的完整时间组合。 */
|
|
29
|
+
export declare const isTimePartDisabled: (part: TimeConstraintPart, partValue: number, current: TimePartValue, findEnabled: (start: number, end: number, preferred: number) => number | null) => boolean;
|
|
30
|
+
/** 将滚轮选择解析为 HH:mm:ss,供两个 Picker 共享相同的边界回落逻辑。 */
|
|
31
|
+
export declare const resolveTimePart: (part: TimeConstraintPart, partValue: number, current: TimePartValue, findEnabled: (start: number, end: number, preferred: number) => number | null) => string | null;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** 时间分量名称:时 (hours) | 分 (minutes) | 秒 (seconds) */
|
|
2
|
+
export type TimeConstraintPart = 'hours' | 'minutes' | 'seconds';
|
|
3
|
+
/** 时间范围与禁用约束选项 */
|
|
4
|
+
export interface TimeConstraintOptions {
|
|
5
|
+
/** 最小允许时间的总秒数(从 00:00:00 起算) */
|
|
6
|
+
minSeconds: number | null;
|
|
7
|
+
/** 最大允许时间的总秒数(从 00:00:00 起算) */
|
|
8
|
+
maxSeconds: number | null;
|
|
9
|
+
/** 自定义判断特定 'HH:mm:ss' 是否禁用的函数 */
|
|
10
|
+
disabledTime?: (time: string) => boolean;
|
|
11
|
+
}
|
|
12
|
+
/** 时分秒结构体数值 */
|
|
13
|
+
export interface TimePartValue {
|
|
14
|
+
hours: number;
|
|
15
|
+
minutes: number;
|
|
16
|
+
seconds: number;
|
|
17
|
+
}
|
|
18
|
+
/** 统一 min/max/disabledTime 的判断顺序,Picker 只需要传入当前约束快照。 */
|
|
19
|
+
export declare const isConstrainedTimeDisabled: (time: string, options: TimeConstraintOptions) => boolean;
|
|
20
|
+
/** 在 min/max 限定的时间段内寻找最近的可用秒数。 */
|
|
21
|
+
export declare const findConstrainedTime: (startSeconds: number, endSeconds: number, preferredSeconds: number, options: TimeConstraintOptions) => number | null;
|
|
22
|
+
/** 根据当前时分秒和用户正在切换的列,计算该列对应的合法秒数区间。 */
|
|
23
|
+
export declare const getTimePartRange: (part: TimeConstraintPart, partValue: number, current: TimePartValue) => {
|
|
24
|
+
start: number;
|
|
25
|
+
end: number;
|
|
26
|
+
preferred: number;
|
|
27
|
+
};
|
|
28
|
+
/** 判断滚轮中的一列选项是否存在至少一个可用的完整时间组合。 */
|
|
29
|
+
export declare const isTimePartDisabled: (part: TimeConstraintPart, partValue: number, current: TimePartValue, findEnabled: (start: number, end: number, preferred: number) => number | null) => boolean;
|
|
30
|
+
/** 将滚轮选择解析为 HH:mm:ss,供两个 Picker 共享相同的边界回落逻辑。 */
|
|
31
|
+
export declare const resolveTimePart: (part: TimeConstraintPart, partValue: number, current: TimePartValue, findEnabled: (start: number, end: number, preferred: number) => number | null) => string | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** 时间滚轮列类型 */
|
|
2
|
+
export type TimeWheelPart = 'hours' | 'minutes' | 'seconds';
|
|
3
|
+
/** 时间滚轮当前选中的时分秒数值对象 */
|
|
4
|
+
interface TimeWheelValue {
|
|
5
|
+
/** 小时 (0-23) */
|
|
6
|
+
hours: number;
|
|
7
|
+
/** 分钟 (0-59) */
|
|
8
|
+
minutes: number;
|
|
9
|
+
/** 秒数 (0-59) */
|
|
10
|
+
seconds: number;
|
|
11
|
+
}
|
|
12
|
+
/** TimeWheel 属性接口 */
|
|
13
|
+
interface TimeWheelProps {
|
|
14
|
+
/** 当前选中的时分秒值 */
|
|
15
|
+
value: TimeWheelValue;
|
|
16
|
+
/** 是否禁用整个时间滚轮组件 */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** 无障碍说明标签 */
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
/** 视口内可见的项目数量(3 或 5,默认为 5) */
|
|
21
|
+
visibleItemCount?: 3 | 5;
|
|
22
|
+
/** 单个选项行高(px,默认为 36) */
|
|
23
|
+
itemHeight?: number;
|
|
24
|
+
/** 判断特定时分秒选项是否被禁用的函数 */
|
|
25
|
+
isOptionDisabled?: (part: TimeWheelPart, value: number) => boolean;
|
|
26
|
+
/** 当某一列的数值发生变更时的回调函数 */
|
|
27
|
+
onChange: (part: TimeWheelPart, value: number) => void;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* iOS 风格的时、分、秒滚轮。原生滚动负责鼠标滚轮和触摸惯性,组件只在滚动
|
|
31
|
+
* 停止后做吸附、禁用项跳过和循环周期归位,避免自定义拖拽破坏浏览器手势体验。
|
|
32
|
+
*/
|
|
33
|
+
declare const TimeWheel: ({ value, disabled, ariaLabel, visibleItemCount, itemHeight, isOptionDisabled, onChange }: TimeWheelProps) => import("react").JSX.Element;
|
|
34
|
+
export default TimeWheel;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** 时间滚轮列类型 */
|
|
2
|
+
export type TimeWheelPart = 'hours' | 'minutes' | 'seconds';
|
|
3
|
+
/** 时间滚轮当前选中的时分秒数值对象 */
|
|
4
|
+
interface TimeWheelValue {
|
|
5
|
+
/** 小时 (0-23) */
|
|
6
|
+
hours: number;
|
|
7
|
+
/** 分钟 (0-59) */
|
|
8
|
+
minutes: number;
|
|
9
|
+
/** 秒数 (0-59) */
|
|
10
|
+
seconds: number;
|
|
11
|
+
}
|
|
12
|
+
/** TimeWheel 属性接口 */
|
|
13
|
+
interface TimeWheelProps {
|
|
14
|
+
/** 当前选中的时分秒值 */
|
|
15
|
+
value: TimeWheelValue;
|
|
16
|
+
/** 是否禁用整个时间滚轮组件 */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** 无障碍说明标签 */
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
/** 视口内可见的项目数量(3 或 5,默认为 5) */
|
|
21
|
+
visibleItemCount?: 3 | 5;
|
|
22
|
+
/** 单个选项行高(px,默认为 36) */
|
|
23
|
+
itemHeight?: number;
|
|
24
|
+
/** 判断特定时分秒选项是否被禁用的函数 */
|
|
25
|
+
isOptionDisabled?: (part: TimeWheelPart, value: number) => boolean;
|
|
26
|
+
/** 当某一列的数值发生变更时的回调函数 */
|
|
27
|
+
onChange: (part: TimeWheelPart, value: number) => void;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* iOS 风格的时、分、秒滚轮。原生滚动负责鼠标滚轮和触摸惯性,组件只在滚动
|
|
31
|
+
* 停止后做吸附、禁用项跳过和循环周期归位,避免自定义拖拽破坏浏览器手势体验。
|
|
32
|
+
*/
|
|
33
|
+
declare const TimeWheel: ({ value, disabled, ariaLabel, visibleItemCount, itemHeight, isOptionDisabled, onChange }: TimeWheelProps) => import("react").JSX.Element;
|
|
34
|
+
export default TimeWheel;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 此文件由 scripts/generate-entries.ts 根据组件目录与 component-manifest.json 自动生成。
|
|
3
|
+
* 请勿手工修改:新增、删除或重命名组件后,应更新源目录/manifest 并运行 react-ui 的 generate 命令。
|
|
4
|
+
*/
|
|
5
|
+
import type { VlAlert as VlAlertComponent } from './Alert/index.cjs';
|
|
6
|
+
import type { VlAnchor as VlAnchorComponent } from './Anchor/index.cjs';
|
|
7
|
+
import type { VlAnnouncement as VlAnnouncementComponent } from './Announcement/index.cjs';
|
|
8
|
+
import type { VlButton as VlButtonComponent } from './Button/index.cjs';
|
|
9
|
+
import type { VlCard as VlCardComponent } from './Card/index.cjs';
|
|
10
|
+
import type { VlCheckbox as VlCheckboxComponent } from './Checkbox/index.cjs';
|
|
11
|
+
import type { VlCol as VlColComponent } from './Col/index.cjs';
|
|
12
|
+
import type { VlCron as VlCronComponent } from './Cron/index.cjs';
|
|
13
|
+
import type { VlDatePicker as VlDatePickerComponent } from './DatePicker/index.cjs';
|
|
14
|
+
import type { VlDateTimePicker as VlDateTimePickerComponent } from './DateTimePicker/index.cjs';
|
|
15
|
+
import type { VlDivider as VlDividerComponent } from './Divider/index.cjs';
|
|
16
|
+
import type { VlDrawer as VlDrawerComponent } from './Drawer/index.cjs';
|
|
17
|
+
import type { VlDropdown as VlDropdownComponent } from './Dropdown/index.cjs';
|
|
18
|
+
import type { VlForm as VlFormComponent } from './Form/index.cjs';
|
|
19
|
+
import type { VlInput as VlInputComponent } from './Input/index.cjs';
|
|
20
|
+
import type { VlLoading as VlLoadingComponent } from './Loading/index.cjs';
|
|
21
|
+
import type { VlMessageBox as VlMessageBoxComponent } from './MessageBox/index.cjs';
|
|
22
|
+
import type { VlModal as VlModalComponent } from './Modal/index.cjs';
|
|
23
|
+
import type { VlNumberInput as VlNumberInputComponent } from './NumberInput/index.cjs';
|
|
24
|
+
import type { VlPagination as VlPaginationComponent } from './Pagination/index.cjs';
|
|
25
|
+
import type { VlProgress as VlProgressComponent } from './Progress/index.cjs';
|
|
26
|
+
import type { VlRadio as VlRadioComponent } from './Radio/index.cjs';
|
|
27
|
+
import type { VlRow as VlRowComponent } from './Row/index.cjs';
|
|
28
|
+
import type { VlScrollbar as VlScrollbarComponent } from './Scrollbar/index.cjs';
|
|
29
|
+
import type { VlSelect as VlSelectComponent } from './Select/index.cjs';
|
|
30
|
+
import type { VlSidebar as VlSidebarComponent } from './Sidebar/index.cjs';
|
|
31
|
+
import type { VlSlider as VlSliderComponent } from './Slider/index.cjs';
|
|
32
|
+
import type { VlSpace as VlSpaceComponent } from './Space/index.cjs';
|
|
33
|
+
import type { VlSwitch as VlSwitchComponent } from './Switch/index.cjs';
|
|
34
|
+
import type { VlTable as VlTableComponent } from './Table/index.cjs';
|
|
35
|
+
import type { VlTabs as VlTabsComponent } from './Tabs/index.cjs';
|
|
36
|
+
import type { VlTag as VlTagComponent } from './Tag/index.cjs';
|
|
37
|
+
import type { VlTextarea as VlTextareaComponent } from './Textarea/index.cjs';
|
|
38
|
+
import type { VlTimeline as VlTimelineComponent } from './Timeline/index.cjs';
|
|
39
|
+
import type { VlTimePicker as VlTimePickerComponent } from './TimePicker/index.cjs';
|
|
40
|
+
import type { VlTooltip as VlTooltipComponent } from './Tooltip/index.cjs';
|
|
41
|
+
import type { VlTransition as VlTransitionComponent } from './Transition/index.cjs';
|
|
42
|
+
export { globalComponents, registerGlobalComponents } from './registry.cjs';
|
|
43
|
+
export type { GlobalComponentName, GlobalComponents } from './registry.cjs';
|
|
44
|
+
/**
|
|
45
|
+
* 为主动导入 @vavt/react-ui/global 的项目声明全局 Vl* 标识符。
|
|
46
|
+
* 这里只提供类型;运行时仍需调用 registerGlobalComponents 或导入 register 入口完成实际注册。
|
|
47
|
+
*/
|
|
48
|
+
declare global {
|
|
49
|
+
const VlAlert: typeof VlAlertComponent;
|
|
50
|
+
const VlAnchor: typeof VlAnchorComponent;
|
|
51
|
+
const VlAnnouncement: typeof VlAnnouncementComponent;
|
|
52
|
+
const VlButton: typeof VlButtonComponent;
|
|
53
|
+
const VlCard: typeof VlCardComponent;
|
|
54
|
+
const VlCheckbox: typeof VlCheckboxComponent;
|
|
55
|
+
const VlCol: typeof VlColComponent;
|
|
56
|
+
const VlCron: typeof VlCronComponent;
|
|
57
|
+
const VlDatePicker: typeof VlDatePickerComponent;
|
|
58
|
+
const VlDateTimePicker: typeof VlDateTimePickerComponent;
|
|
59
|
+
const VlDivider: typeof VlDividerComponent;
|
|
60
|
+
const VlDrawer: typeof VlDrawerComponent;
|
|
61
|
+
const VlDropdown: typeof VlDropdownComponent;
|
|
62
|
+
const VlForm: typeof VlFormComponent;
|
|
63
|
+
const VlInput: typeof VlInputComponent;
|
|
64
|
+
const VlLoading: typeof VlLoadingComponent;
|
|
65
|
+
const VlMessageBox: typeof VlMessageBoxComponent;
|
|
66
|
+
const VlModal: typeof VlModalComponent;
|
|
67
|
+
const VlNumberInput: typeof VlNumberInputComponent;
|
|
68
|
+
const VlPagination: typeof VlPaginationComponent;
|
|
69
|
+
const VlProgress: typeof VlProgressComponent;
|
|
70
|
+
const VlRadio: typeof VlRadioComponent;
|
|
71
|
+
const VlRow: typeof VlRowComponent;
|
|
72
|
+
const VlScrollbar: typeof VlScrollbarComponent;
|
|
73
|
+
const VlSelect: typeof VlSelectComponent;
|
|
74
|
+
const VlSidebar: typeof VlSidebarComponent;
|
|
75
|
+
const VlSlider: typeof VlSliderComponent;
|
|
76
|
+
const VlSpace: typeof VlSpaceComponent;
|
|
77
|
+
const VlSwitch: typeof VlSwitchComponent;
|
|
78
|
+
const VlTable: typeof VlTableComponent;
|
|
79
|
+
const VlTabs: typeof VlTabsComponent;
|
|
80
|
+
const VlTag: typeof VlTagComponent;
|
|
81
|
+
const VlTextarea: typeof VlTextareaComponent;
|
|
82
|
+
const VlTimeline: typeof VlTimelineComponent;
|
|
83
|
+
const VlTimePicker: typeof VlTimePickerComponent;
|
|
84
|
+
const VlTooltip: typeof VlTooltipComponent;
|
|
85
|
+
const VlTransition: typeof VlTransitionComponent;
|
|
86
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 此文件由 scripts/generate-entries.ts 根据组件目录与 component-manifest.json 自动生成。
|
|
3
|
+
* 请勿手工修改:新增、删除或重命名组件后,应更新源目录/manifest 并运行 react-ui 的 generate 命令。
|
|
4
|
+
*/
|
|
5
|
+
import type { VlAlert as VlAlertComponent } from './Alert/index.js';
|
|
6
|
+
import type { VlAnchor as VlAnchorComponent } from './Anchor/index.js';
|
|
7
|
+
import type { VlAnnouncement as VlAnnouncementComponent } from './Announcement/index.js';
|
|
8
|
+
import type { VlButton as VlButtonComponent } from './Button/index.js';
|
|
9
|
+
import type { VlCard as VlCardComponent } from './Card/index.js';
|
|
10
|
+
import type { VlCheckbox as VlCheckboxComponent } from './Checkbox/index.js';
|
|
11
|
+
import type { VlCol as VlColComponent } from './Col/index.js';
|
|
12
|
+
import type { VlCron as VlCronComponent } from './Cron/index.js';
|
|
13
|
+
import type { VlDatePicker as VlDatePickerComponent } from './DatePicker/index.js';
|
|
14
|
+
import type { VlDateTimePicker as VlDateTimePickerComponent } from './DateTimePicker/index.js';
|
|
15
|
+
import type { VlDivider as VlDividerComponent } from './Divider/index.js';
|
|
16
|
+
import type { VlDrawer as VlDrawerComponent } from './Drawer/index.js';
|
|
17
|
+
import type { VlDropdown as VlDropdownComponent } from './Dropdown/index.js';
|
|
18
|
+
import type { VlForm as VlFormComponent } from './Form/index.js';
|
|
19
|
+
import type { VlInput as VlInputComponent } from './Input/index.js';
|
|
20
|
+
import type { VlLoading as VlLoadingComponent } from './Loading/index.js';
|
|
21
|
+
import type { VlMessageBox as VlMessageBoxComponent } from './MessageBox/index.js';
|
|
22
|
+
import type { VlModal as VlModalComponent } from './Modal/index.js';
|
|
23
|
+
import type { VlNumberInput as VlNumberInputComponent } from './NumberInput/index.js';
|
|
24
|
+
import type { VlPagination as VlPaginationComponent } from './Pagination/index.js';
|
|
25
|
+
import type { VlProgress as VlProgressComponent } from './Progress/index.js';
|
|
26
|
+
import type { VlRadio as VlRadioComponent } from './Radio/index.js';
|
|
27
|
+
import type { VlRow as VlRowComponent } from './Row/index.js';
|
|
28
|
+
import type { VlScrollbar as VlScrollbarComponent } from './Scrollbar/index.js';
|
|
29
|
+
import type { VlSelect as VlSelectComponent } from './Select/index.js';
|
|
30
|
+
import type { VlSidebar as VlSidebarComponent } from './Sidebar/index.js';
|
|
31
|
+
import type { VlSlider as VlSliderComponent } from './Slider/index.js';
|
|
32
|
+
import type { VlSpace as VlSpaceComponent } from './Space/index.js';
|
|
33
|
+
import type { VlSwitch as VlSwitchComponent } from './Switch/index.js';
|
|
34
|
+
import type { VlTable as VlTableComponent } from './Table/index.js';
|
|
35
|
+
import type { VlTabs as VlTabsComponent } from './Tabs/index.js';
|
|
36
|
+
import type { VlTag as VlTagComponent } from './Tag/index.js';
|
|
37
|
+
import type { VlTextarea as VlTextareaComponent } from './Textarea/index.js';
|
|
38
|
+
import type { VlTimeline as VlTimelineComponent } from './Timeline/index.js';
|
|
39
|
+
import type { VlTimePicker as VlTimePickerComponent } from './TimePicker/index.js';
|
|
40
|
+
import type { VlTooltip as VlTooltipComponent } from './Tooltip/index.js';
|
|
41
|
+
import type { VlTransition as VlTransitionComponent } from './Transition/index.js';
|
|
42
|
+
export { globalComponents, registerGlobalComponents } from './registry.js';
|
|
43
|
+
export type { GlobalComponentName, GlobalComponents } from './registry.js';
|
|
44
|
+
/**
|
|
45
|
+
* 为主动导入 @vavt/react-ui/global 的项目声明全局 Vl* 标识符。
|
|
46
|
+
* 这里只提供类型;运行时仍需调用 registerGlobalComponents 或导入 register 入口完成实际注册。
|
|
47
|
+
*/
|
|
48
|
+
declare global {
|
|
49
|
+
const VlAlert: typeof VlAlertComponent;
|
|
50
|
+
const VlAnchor: typeof VlAnchorComponent;
|
|
51
|
+
const VlAnnouncement: typeof VlAnnouncementComponent;
|
|
52
|
+
const VlButton: typeof VlButtonComponent;
|
|
53
|
+
const VlCard: typeof VlCardComponent;
|
|
54
|
+
const VlCheckbox: typeof VlCheckboxComponent;
|
|
55
|
+
const VlCol: typeof VlColComponent;
|
|
56
|
+
const VlCron: typeof VlCronComponent;
|
|
57
|
+
const VlDatePicker: typeof VlDatePickerComponent;
|
|
58
|
+
const VlDateTimePicker: typeof VlDateTimePickerComponent;
|
|
59
|
+
const VlDivider: typeof VlDividerComponent;
|
|
60
|
+
const VlDrawer: typeof VlDrawerComponent;
|
|
61
|
+
const VlDropdown: typeof VlDropdownComponent;
|
|
62
|
+
const VlForm: typeof VlFormComponent;
|
|
63
|
+
const VlInput: typeof VlInputComponent;
|
|
64
|
+
const VlLoading: typeof VlLoadingComponent;
|
|
65
|
+
const VlMessageBox: typeof VlMessageBoxComponent;
|
|
66
|
+
const VlModal: typeof VlModalComponent;
|
|
67
|
+
const VlNumberInput: typeof VlNumberInputComponent;
|
|
68
|
+
const VlPagination: typeof VlPaginationComponent;
|
|
69
|
+
const VlProgress: typeof VlProgressComponent;
|
|
70
|
+
const VlRadio: typeof VlRadioComponent;
|
|
71
|
+
const VlRow: typeof VlRowComponent;
|
|
72
|
+
const VlScrollbar: typeof VlScrollbarComponent;
|
|
73
|
+
const VlSelect: typeof VlSelectComponent;
|
|
74
|
+
const VlSidebar: typeof VlSidebarComponent;
|
|
75
|
+
const VlSlider: typeof VlSliderComponent;
|
|
76
|
+
const VlSpace: typeof VlSpaceComponent;
|
|
77
|
+
const VlSwitch: typeof VlSwitchComponent;
|
|
78
|
+
const VlTable: typeof VlTableComponent;
|
|
79
|
+
const VlTabs: typeof VlTabsComponent;
|
|
80
|
+
const VlTag: typeof VlTagComponent;
|
|
81
|
+
const VlTextarea: typeof VlTextareaComponent;
|
|
82
|
+
const VlTimeline: typeof VlTimelineComponent;
|
|
83
|
+
const VlTimePicker: typeof VlTimePickerComponent;
|
|
84
|
+
const VlTooltip: typeof VlTooltipComponent;
|
|
85
|
+
const VlTransition: typeof VlTransitionComponent;
|
|
86
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 此文件由 scripts/generate-entries.ts 根据组件目录与 component-manifest.json 自动生成。
|
|
3
|
+
* 请勿手工修改:新增、删除或重命名组件后,应更新源目录/manifest 并运行 react-ui 的 generate 命令。
|
|
4
|
+
*/
|
|
5
|
+
export * from './registry.cjs';
|
|
6
|
+
export * from './Alert/index.cjs';
|
|
7
|
+
export * from './Anchor/index.cjs';
|
|
8
|
+
export * from './Announcement/index.cjs';
|
|
9
|
+
export * from './Button/index.cjs';
|
|
10
|
+
export * from './Card/index.cjs';
|
|
11
|
+
export * from './Checkbox/index.cjs';
|
|
12
|
+
export * from './Col/index.cjs';
|
|
13
|
+
export * from './Cron/index.cjs';
|
|
14
|
+
export * from './DatePicker/index.cjs';
|
|
15
|
+
export * from './DateTimePicker/index.cjs';
|
|
16
|
+
export * from './Divider/index.cjs';
|
|
17
|
+
export * from './Drawer/index.cjs';
|
|
18
|
+
export * from './Dropdown/index.cjs';
|
|
19
|
+
export * from './Form/index.cjs';
|
|
20
|
+
export * from './Input/index.cjs';
|
|
21
|
+
export * from './Loading/index.cjs';
|
|
22
|
+
export * from './MessageBox/index.cjs';
|
|
23
|
+
export * from './Modal/index.cjs';
|
|
24
|
+
export * from './NumberInput/index.cjs';
|
|
25
|
+
export * from './Pagination/index.cjs';
|
|
26
|
+
export * from './Progress/index.cjs';
|
|
27
|
+
export * from './Radio/index.cjs';
|
|
28
|
+
export * from './Row/index.cjs';
|
|
29
|
+
export * from './Scrollbar/index.cjs';
|
|
30
|
+
export * from './Select/index.cjs';
|
|
31
|
+
export * from './Sidebar/index.cjs';
|
|
32
|
+
export * from './Slider/index.cjs';
|
|
33
|
+
export * from './Space/index.cjs';
|
|
34
|
+
export * from './Switch/index.cjs';
|
|
35
|
+
export * from './Table/index.cjs';
|
|
36
|
+
export * from './Tabs/index.cjs';
|
|
37
|
+
export * from './Tag/index.cjs';
|
|
38
|
+
export * from './Textarea/index.cjs';
|
|
39
|
+
export * from './Timeline/index.cjs';
|
|
40
|
+
export * from './TimePicker/index.cjs';
|
|
41
|
+
export * from './Tooltip/index.cjs';
|
|
42
|
+
export * from './Transition/index.cjs';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 此文件由 scripts/generate-entries.ts 根据组件目录与 component-manifest.json 自动生成。
|
|
3
|
+
* 请勿手工修改:新增、删除或重命名组件后,应更新源目录/manifest 并运行 react-ui 的 generate 命令。
|
|
4
|
+
*/
|
|
5
|
+
export * from './registry.js';
|
|
6
|
+
export * from './Alert/index.js';
|
|
7
|
+
export * from './Anchor/index.js';
|
|
8
|
+
export * from './Announcement/index.js';
|
|
9
|
+
export * from './Button/index.js';
|
|
10
|
+
export * from './Card/index.js';
|
|
11
|
+
export * from './Checkbox/index.js';
|
|
12
|
+
export * from './Col/index.js';
|
|
13
|
+
export * from './Cron/index.js';
|
|
14
|
+
export * from './DatePicker/index.js';
|
|
15
|
+
export * from './DateTimePicker/index.js';
|
|
16
|
+
export * from './Divider/index.js';
|
|
17
|
+
export * from './Drawer/index.js';
|
|
18
|
+
export * from './Dropdown/index.js';
|
|
19
|
+
export * from './Form/index.js';
|
|
20
|
+
export * from './Input/index.js';
|
|
21
|
+
export * from './Loading/index.js';
|
|
22
|
+
export * from './MessageBox/index.js';
|
|
23
|
+
export * from './Modal/index.js';
|
|
24
|
+
export * from './NumberInput/index.js';
|
|
25
|
+
export * from './Pagination/index.js';
|
|
26
|
+
export * from './Progress/index.js';
|
|
27
|
+
export * from './Radio/index.js';
|
|
28
|
+
export * from './Row/index.js';
|
|
29
|
+
export * from './Scrollbar/index.js';
|
|
30
|
+
export * from './Select/index.js';
|
|
31
|
+
export * from './Sidebar/index.js';
|
|
32
|
+
export * from './Slider/index.js';
|
|
33
|
+
export * from './Space/index.js';
|
|
34
|
+
export * from './Switch/index.js';
|
|
35
|
+
export * from './Table/index.js';
|
|
36
|
+
export * from './Tabs/index.js';
|
|
37
|
+
export * from './Tag/index.js';
|
|
38
|
+
export * from './Textarea/index.js';
|
|
39
|
+
export * from './Timeline/index.js';
|
|
40
|
+
export * from './TimePicker/index.js';
|
|
41
|
+
export * from './Tooltip/index.js';
|
|
42
|
+
export * from './Transition/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './global.cjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './global.js';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 此文件由 scripts/generate-entries.ts 根据组件目录与 component-manifest.json 自动生成。
|
|
3
|
+
* 请勿手工修改:新增、删除或重命名组件后,应更新源目录/manifest 并运行 react-ui 的 generate 命令。
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* 全部公共组件的运行时注册表。
|
|
7
|
+
*
|
|
8
|
+
* 键名与组件的 VlXxx 导出保持一致,既作为 registerGlobalComponents 的写入源,
|
|
9
|
+
* 也用于派生 GlobalComponentName,避免运行时名单与类型名单分别维护。
|
|
10
|
+
*/
|
|
11
|
+
export declare const globalComponents: {
|
|
12
|
+
readonly VlAlert: import("react").ForwardRefExoticComponent<import("./Alert/index.cjs").AlertProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
readonly VlAnchor: import("react").ForwardRefExoticComponent<import("./Anchor/index.cjs").AnchorProps & import("react").RefAttributes<import("./Anchor/index.cjs").AnchorRef>>;
|
|
14
|
+
readonly VlAnnouncement: import("react").ForwardRefExoticComponent<import("./Announcement/index.cjs").AnnouncementProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
readonly VlButton: import("react").ForwardRefExoticComponent<import("./Button/index.cjs").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
readonly VlCard: <T extends import("react").ElementType = "div">(props: import("./Card/index.cjs").CardProps<T> & import("react").RefAttributes<import("react").ComponentRef<T>>) => import("react").ReactElement | null;
|
|
17
|
+
readonly VlCheckbox: import("react").ForwardRefExoticComponent<import("./Checkbox/index.cjs").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
18
|
+
readonly VlCol: import("react").ForwardRefExoticComponent<import("./Col/index.cjs").ColProps & import("react").RefAttributes<HTMLElement>>;
|
|
19
|
+
readonly VlCron: import("react").ForwardRefExoticComponent<import("./Cron/index.cjs").CronProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
+
readonly VlDatePicker: import("react").ForwardRefExoticComponent<import("./DatePicker/index.cjs").DatePickerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
|
+
readonly VlDateTimePicker: import("react").ForwardRefExoticComponent<import("./DateTimePicker/index.cjs").DateTimePickerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
22
|
+
readonly VlDivider: import("react").ForwardRefExoticComponent<import("./Divider/index.cjs").DividerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
+
readonly VlDrawer: import("react").ForwardRefExoticComponent<import("./Drawer/index.cjs").DrawerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
readonly VlDropdown: import("react").ForwardRefExoticComponent<import("./Dropdown/index.cjs").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
+
readonly VlForm: import("./Form/index.cjs").FormComponent & {
|
|
26
|
+
Item: import("react").ForwardRefExoticComponent<import("./Form/index.cjs").FormItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
+
};
|
|
28
|
+
readonly VlInput: import("react").ForwardRefExoticComponent<import("./Input/index.cjs").InputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
29
|
+
readonly VlLoading: import("react").ForwardRefExoticComponent<import("./Loading/index.cjs").LoadingProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
|
+
readonly VlMessageBox: import("./MessageBox/index.cjs").MessageBoxComponent;
|
|
31
|
+
readonly VlModal: import("react").ForwardRefExoticComponent<import("./Modal/index.cjs").ModalProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
32
|
+
readonly VlNumberInput: import("react").ForwardRefExoticComponent<import("./NumberInput/index.cjs").NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
33
|
+
readonly VlPagination: import("react").ForwardRefExoticComponent<import("./Pagination/index.cjs").PaginationProps & import("react").RefAttributes<HTMLElement>>;
|
|
34
|
+
readonly VlProgress: import("react").ForwardRefExoticComponent<import("./Progress/index.cjs").ProgressProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
35
|
+
readonly VlRadio: import("react").ForwardRefExoticComponent<import("./Radio/index.cjs").RadioProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
36
|
+
readonly VlRow: import("react").ForwardRefExoticComponent<import("./Row/index.cjs").RowProps & import("react").RefAttributes<HTMLElement>>;
|
|
37
|
+
readonly VlScrollbar: import("react").ForwardRefExoticComponent<import("./Scrollbar/index.cjs").ScrollbarProps & import("react").RefAttributes<import("./Scrollbar/index.cjs").ScrollbarRef>>;
|
|
38
|
+
readonly VlSelect: import("react").ForwardRefExoticComponent<import("./Select/index.cjs").SelectProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
39
|
+
readonly VlSidebar: import("react").ForwardRefExoticComponent<import("./Sidebar/index.cjs").SidebarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
40
|
+
readonly VlSlider: import("react").ForwardRefExoticComponent<import("./Slider/index.cjs").SliderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
41
|
+
readonly VlSpace: import("react").ForwardRefExoticComponent<import("./Space/index.cjs").SpaceProps & import("react").RefAttributes<HTMLElement>>;
|
|
42
|
+
readonly VlSwitch: import("react").ForwardRefExoticComponent<import("./Switch/index.cjs").SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
43
|
+
readonly VlTable: {
|
|
44
|
+
<T extends Record<string, any>>(props: import("./Table/index.cjs").TableProps<T> & import("react").RefAttributes<HTMLDivElement>): import("react").ReactElement | null;
|
|
45
|
+
displayName?: string;
|
|
46
|
+
};
|
|
47
|
+
readonly VlTabs: import("react").ForwardRefExoticComponent<import("./Tabs/index.cjs").TabsProps & import("react").RefAttributes<import("./Tabs/index.cjs").TabsRef>>;
|
|
48
|
+
readonly VlTag: import("react").ForwardRefExoticComponent<import("./Tag/index.cjs").TagProps & import("react").RefAttributes<HTMLElement>>;
|
|
49
|
+
readonly VlTextarea: import("react").ForwardRefExoticComponent<import("./Textarea/index.cjs").TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
50
|
+
readonly VlTimeline: import("react").ForwardRefExoticComponent<import("./Timeline/index.cjs").TimelineProps & import("react").RefAttributes<HTMLOListElement>>;
|
|
51
|
+
readonly VlTimePicker: import("react").ForwardRefExoticComponent<import("./TimePicker/index.cjs").TimePickerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
52
|
+
readonly VlTooltip: import("react").ForwardRefExoticComponent<import("./Tooltip/index.cjs").TooltipProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
53
|
+
readonly VlTransition: {
|
|
54
|
+
({ show, name, unmountOnExit, forceMount, deferEffects, onAfterEnter, onAfterLeave, children }: import("./Transition/index.cjs").TransitionProps): import("react").ReactElement<import("react").RefAttributes<HTMLElement>, string | import("react").JSXElementConstructor<any>> | null;
|
|
55
|
+
displayName: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export type GlobalComponents = typeof globalComponents;
|
|
59
|
+
export type GlobalComponentName = keyof GlobalComponents;
|
|
60
|
+
/**
|
|
61
|
+
* 将全部 Vl* 组件写入指定对象。
|
|
62
|
+
*
|
|
63
|
+
* 默认目标是 globalThis,供显式启用全局组件模式的应用使用;调用方也可以传入隔离对象进行测试
|
|
64
|
+
* 或自定义注册。该函数会覆盖目标对象中的同名键,但不会删除任何其他属性。
|
|
65
|
+
*/
|
|
66
|
+
export declare const registerGlobalComponents: (target?: object) => GlobalComponents;
|